* builtins.def (BUILT_IN_SETJMP): Revert latest change.
[official-gcc.git] / libstdc++-v3 / configure
blob836a6d5a8f12838e286ae84487c9682a264e3dfc
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 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18394 #include <math.h>
18395 #undef isnan
18396 namespace std {
18397 using ::isnan;
18398 bool isnan(float);
18399 bool isnan(long double);
18401 using std::isnan;
18402 bool b = isnan(0.0);
18404 _ACEOF
18405 if ac_fn_cxx_try_compile "$LINENO"; then :
18406 glibcxx_cv_obsolete_isnan=yes
18407 else
18408 glibcxx_cv_obsolete_isnan=no
18411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18415 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18416 if test $glibcxx_cv_obsolete_isnan = yes; then
18418 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18422 esac
18424 CXXFLAGS="$ac_save_CXXFLAGS"
18425 ac_ext=c
18426 ac_cpp='$CPP $CPPFLAGS'
18427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18435 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18436 if test "${glibcxx_cv_system_error1+set}" = set; then :
18437 $as_echo_n "(cached) " >&6
18438 else
18440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18441 /* end confdefs.h. */
18442 #include <errno.h>
18444 main ()
18446 int i = EOWNERDEAD;
18448 return 0;
18450 _ACEOF
18451 if ac_fn_c_try_compile "$LINENO"; then :
18452 glibcxx_cv_system_error1=yes
18453 else
18454 glibcxx_cv_system_error1=no
18456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18461 $as_echo "$glibcxx_cv_system_error1" >&6; }
18462 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18464 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18468 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18469 if test "${glibcxx_cv_system_error2+set}" = set; then :
18470 $as_echo_n "(cached) " >&6
18471 else
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18475 #include <errno.h>
18477 main ()
18479 int i = ENOTRECOVERABLE;
18481 return 0;
18483 _ACEOF
18484 if ac_fn_c_try_compile "$LINENO"; then :
18485 glibcxx_cv_system_error2=yes
18486 else
18487 glibcxx_cv_system_error2=no
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18494 $as_echo "$glibcxx_cv_system_error2" >&6; }
18495 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18497 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18501 $as_echo_n "checking for ENOLINK... " >&6; }
18502 if test "${glibcxx_cv_system_error3+set}" = set; then :
18503 $as_echo_n "(cached) " >&6
18504 else
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508 #include <errno.h>
18510 main ()
18512 int i = ENOLINK;
18514 return 0;
18516 _ACEOF
18517 if ac_fn_c_try_compile "$LINENO"; then :
18518 glibcxx_cv_system_error3=yes
18519 else
18520 glibcxx_cv_system_error3=no
18522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18527 $as_echo "$glibcxx_cv_system_error3" >&6; }
18528 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18530 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18534 $as_echo_n "checking for EPROTO... " >&6; }
18535 if test "${glibcxx_cv_system_error4+set}" = set; then :
18536 $as_echo_n "(cached) " >&6
18537 else
18539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18540 /* end confdefs.h. */
18541 #include <errno.h>
18543 main ()
18545 int i = EPROTO;
18547 return 0;
18549 _ACEOF
18550 if ac_fn_c_try_compile "$LINENO"; then :
18551 glibcxx_cv_system_error4=yes
18552 else
18553 glibcxx_cv_system_error4=no
18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18560 $as_echo "$glibcxx_cv_system_error4" >&6; }
18561 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18563 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18567 $as_echo_n "checking for ENODATA... " >&6; }
18568 if test "${glibcxx_cv_system_error5+set}" = set; then :
18569 $as_echo_n "(cached) " >&6
18570 else
18572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573 /* end confdefs.h. */
18574 #include <errno.h>
18576 main ()
18578 int i = ENODATA;
18580 return 0;
18582 _ACEOF
18583 if ac_fn_c_try_compile "$LINENO"; then :
18584 glibcxx_cv_system_error5=yes
18585 else
18586 glibcxx_cv_system_error5=no
18588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18593 $as_echo "$glibcxx_cv_system_error5" >&6; }
18594 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18596 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18600 $as_echo_n "checking for ENOSR... " >&6; }
18601 if test "${glibcxx_cv_system_error6+set}" = set; then :
18602 $as_echo_n "(cached) " >&6
18603 else
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 #include <errno.h>
18609 main ()
18611 int i = ENOSR;
18613 return 0;
18615 _ACEOF
18616 if ac_fn_c_try_compile "$LINENO"; then :
18617 glibcxx_cv_system_error6=yes
18618 else
18619 glibcxx_cv_system_error6=no
18621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18626 $as_echo "$glibcxx_cv_system_error6" >&6; }
18627 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18629 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18633 $as_echo_n "checking for ENOSTR... " >&6; }
18634 if test "${glibcxx_cv_system_error7+set}" = set; then :
18635 $as_echo_n "(cached) " >&6
18636 else
18638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640 #include <errno.h>
18642 main ()
18644 int i = ENOSTR;
18646 return 0;
18648 _ACEOF
18649 if ac_fn_c_try_compile "$LINENO"; then :
18650 glibcxx_cv_system_error7=yes
18651 else
18652 glibcxx_cv_system_error7=no
18654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18659 $as_echo "$glibcxx_cv_system_error7" >&6; }
18660 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18662 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18666 $as_echo_n "checking for ETIME... " >&6; }
18667 if test "${glibcxx_cv_system_error8+set}" = set; then :
18668 $as_echo_n "(cached) " >&6
18669 else
18671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18672 /* end confdefs.h. */
18673 #include <errno.h>
18675 main ()
18677 int i = ETIME;
18679 return 0;
18681 _ACEOF
18682 if ac_fn_c_try_compile "$LINENO"; then :
18683 glibcxx_cv_system_error8=yes
18684 else
18685 glibcxx_cv_system_error8=no
18687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18692 $as_echo "$glibcxx_cv_system_error8" >&6; }
18693 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18695 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18699 $as_echo_n "checking for EBADMSG... " >&6; }
18700 if test "${glibcxx_cv_system_error9+set}" = set; then :
18701 $as_echo_n "(cached) " >&6
18702 else
18704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18705 /* end confdefs.h. */
18706 #include <errno.h>
18708 main ()
18710 int i = EBADMSG;
18712 return 0;
18714 _ACEOF
18715 if ac_fn_c_try_compile "$LINENO"; then :
18716 glibcxx_cv_system_error9=yes
18717 else
18718 glibcxx_cv_system_error9=no
18720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18725 $as_echo "$glibcxx_cv_system_error9" >&6; }
18726 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18728 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18732 $as_echo_n "checking for ECANCELED... " >&6; }
18733 if test "${glibcxx_cv_system_error10+set}" = set; then :
18734 $as_echo_n "(cached) " >&6
18735 else
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18739 #include <errno.h>
18741 main ()
18743 int i = ECANCELED;
18745 return 0;
18747 _ACEOF
18748 if ac_fn_c_try_compile "$LINENO"; then :
18749 glibcxx_cv_system_error10=yes
18750 else
18751 glibcxx_cv_system_error10=no
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18758 $as_echo "$glibcxx_cv_system_error10" >&6; }
18759 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18761 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18765 $as_echo_n "checking for EOVERFLOW... " >&6; }
18766 if test "${glibcxx_cv_system_error11+set}" = set; then :
18767 $as_echo_n "(cached) " >&6
18768 else
18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18772 #include <errno.h>
18774 main ()
18776 int i = EOVERFLOW;
18778 return 0;
18780 _ACEOF
18781 if ac_fn_c_try_compile "$LINENO"; then :
18782 glibcxx_cv_system_error11=yes
18783 else
18784 glibcxx_cv_system_error11=no
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18791 $as_echo "$glibcxx_cv_system_error11" >&6; }
18792 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18794 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18798 $as_echo_n "checking for ENOTSUP... " >&6; }
18799 if test "${glibcxx_cv_system_error12+set}" = set; then :
18800 $as_echo_n "(cached) " >&6
18801 else
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805 #include <errno.h>
18807 main ()
18809 int i = ENOTSUP;
18811 return 0;
18813 _ACEOF
18814 if ac_fn_c_try_compile "$LINENO"; then :
18815 glibcxx_cv_system_error12=yes
18816 else
18817 glibcxx_cv_system_error12=no
18819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18824 $as_echo "$glibcxx_cv_system_error12" >&6; }
18825 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18827 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18831 $as_echo_n "checking for EIDRM... " >&6; }
18832 if test "${glibcxx_cv_system_error13+set}" = set; then :
18833 $as_echo_n "(cached) " >&6
18834 else
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 #include <errno.h>
18840 main ()
18842 int i = EIDRM;
18844 return 0;
18846 _ACEOF
18847 if ac_fn_c_try_compile "$LINENO"; then :
18848 glibcxx_cv_system_error13=yes
18849 else
18850 glibcxx_cv_system_error13=no
18852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18857 $as_echo "$glibcxx_cv_system_error13" >&6; }
18858 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18860 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18864 $as_echo_n "checking for ETXTBSY... " >&6; }
18865 if test "${glibcxx_cv_system_error14+set}" = set; then :
18866 $as_echo_n "(cached) " >&6
18867 else
18869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 #include <errno.h>
18873 main ()
18875 int i = ETXTBSY;
18877 return 0;
18879 _ACEOF
18880 if ac_fn_c_try_compile "$LINENO"; then :
18881 glibcxx_cv_system_error14=yes
18882 else
18883 glibcxx_cv_system_error14=no
18885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18890 $as_echo "$glibcxx_cv_system_error14" >&6; }
18891 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18893 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18897 $as_echo_n "checking for ECHILD... " >&6; }
18898 if test "${glibcxx_cv_system_error15+set}" = set; then :
18899 $as_echo_n "(cached) " >&6
18900 else
18902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18903 /* end confdefs.h. */
18904 #include <errno.h>
18906 main ()
18908 int i = ECHILD;
18910 return 0;
18912 _ACEOF
18913 if ac_fn_c_try_compile "$LINENO"; then :
18914 glibcxx_cv_system_error15=yes
18915 else
18916 glibcxx_cv_system_error15=no
18918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18923 $as_echo "$glibcxx_cv_system_error15" >&6; }
18924 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18926 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18930 $as_echo_n "checking for ENOSPC... " >&6; }
18931 if test "${glibcxx_cv_system_error16+set}" = set; then :
18932 $as_echo_n "(cached) " >&6
18933 else
18935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h. */
18937 #include <errno.h>
18939 main ()
18941 int i = ENOSPC;
18943 return 0;
18945 _ACEOF
18946 if ac_fn_c_try_compile "$LINENO"; then :
18947 glibcxx_cv_system_error16=yes
18948 else
18949 glibcxx_cv_system_error16=no
18951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18956 $as_echo "$glibcxx_cv_system_error16" >&6; }
18957 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18959 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18963 $as_echo_n "checking for EPERM... " >&6; }
18964 if test "${glibcxx_cv_system_error17+set}" = set; then :
18965 $as_echo_n "(cached) " >&6
18966 else
18968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 #include <errno.h>
18972 main ()
18974 int i = EPERM;
18976 return 0;
18978 _ACEOF
18979 if ac_fn_c_try_compile "$LINENO"; then :
18980 glibcxx_cv_system_error17=yes
18981 else
18982 glibcxx_cv_system_error17=no
18984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18989 $as_echo "$glibcxx_cv_system_error17" >&6; }
18990 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18992 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18996 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18997 if test "${glibcxx_cv_system_error18+set}" = set; then :
18998 $as_echo_n "(cached) " >&6
18999 else
19001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19002 /* end confdefs.h. */
19003 #include <errno.h>
19005 main ()
19007 int i = ETIMEDOUT;
19009 return 0;
19011 _ACEOF
19012 if ac_fn_c_try_compile "$LINENO"; then :
19013 glibcxx_cv_system_error18=yes
19014 else
19015 glibcxx_cv_system_error18=no
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19022 $as_echo "$glibcxx_cv_system_error18" >&6; }
19023 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19025 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19029 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19030 if test "${glibcxx_cv_system_error19+set}" = set; then :
19031 $as_echo_n "(cached) " >&6
19032 else
19034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19036 #include <errno.h>
19038 main ()
19040 int i = EWOULDBLOCK;
19042 return 0;
19044 _ACEOF
19045 if ac_fn_c_try_compile "$LINENO"; then :
19046 glibcxx_cv_system_error19=yes
19047 else
19048 glibcxx_cv_system_error19=no
19050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19055 $as_echo "$glibcxx_cv_system_error19" >&6; }
19056 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19058 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19065 # Test uchar.h.
19066 for ac_header in uchar.h
19067 do :
19068 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19069 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_UCHAR_H 1
19072 _ACEOF
19073 ac_has_uchar_h=yes
19074 else
19075 ac_has_uchar_h=no
19078 done
19082 ac_ext=cpp
19083 ac_cpp='$CXXCPP $CPPFLAGS'
19084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19088 ac_save_CXXFLAGS="$CXXFLAGS"
19089 CXXFLAGS="$CXXFLAGS -std=c++11"
19091 if test x"$ac_has_uchar_h" = x"yes"; then
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19093 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19095 /* end confdefs.h. */
19096 #include <uchar.h>
19097 #ifdef __STDC_UTF_16__
19098 long i = __STDC_UTF_16__;
19099 #endif
19100 #ifdef __STDC_UTF_32__
19101 long j = __STDC_UTF_32__;
19102 #endif
19103 namespace test
19105 using ::c16rtomb;
19106 using ::c32rtomb;
19107 using ::mbrtoc16;
19108 using ::mbrtoc32;
19112 main ()
19116 return 0;
19118 _ACEOF
19119 if ac_fn_cxx_try_compile "$LINENO"; then :
19120 ac_c11_uchar_cxx11=yes
19121 else
19122 ac_c11_uchar_cxx11=no
19124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19125 else
19126 ac_c11_uchar_cxx11=no
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19129 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19130 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19132 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19136 CXXFLAGS="$ac_save_CXXFLAGS"
19137 ac_ext=c
19138 ac_cpp='$CPP $CPPFLAGS'
19139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19145 # For the streamoff typedef.
19149 ac_ext=cpp
19150 ac_cpp='$CXXCPP $CPPFLAGS'
19151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19157 $as_echo_n "checking for int64_t... " >&6; }
19158 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19159 $as_echo_n "(cached) " >&6
19160 else
19162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19163 /* end confdefs.h. */
19164 #include <stdint.h>
19166 main ()
19168 int64_t var;
19170 return 0;
19172 _ACEOF
19173 if ac_fn_cxx_try_compile "$LINENO"; then :
19174 glibcxx_cv_INT64_T=yes
19175 else
19176 glibcxx_cv_INT64_T=no
19178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19183 if test $glibcxx_cv_INT64_T = yes; then
19185 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19188 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19191 $as_echo_n "checking for int64_t as long... " >&6; }
19192 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19193 $as_echo_n "(cached) " >&6
19194 else
19196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19197 /* end confdefs.h. */
19198 #include <stdint.h>
19199 template<typename, typename> struct same { enum { value = -1 }; };
19200 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19201 int array[same<int64_t, long>::value];
19203 main ()
19207 return 0;
19209 _ACEOF
19210 if ac_fn_cxx_try_compile "$LINENO"; then :
19211 glibcxx_cv_int64_t_long=yes
19212 else
19213 glibcxx_cv_int64_t_long=no
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 if test $glibcxx_cv_int64_t_long = yes; then
19222 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19225 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19229 $as_echo_n "checking for int64_t as long long... " >&6; }
19230 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19231 $as_echo_n "(cached) " >&6
19232 else
19234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19235 /* end confdefs.h. */
19236 #include <stdint.h>
19237 template<typename, typename> struct same { enum { value = -1 }; };
19238 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19239 int array[same<int64_t, long long>::value];
19241 main ()
19245 return 0;
19247 _ACEOF
19248 if ac_fn_cxx_try_compile "$LINENO"; then :
19249 glibcxx_cv_int64_t_long_long=yes
19250 else
19251 glibcxx_cv_int64_t_long_long=no
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 if test $glibcxx_cv_int64_t_long_long = yes; then
19260 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19263 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19267 ac_ext=c
19268 ac_cpp='$CPP $CPPFLAGS'
19269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19275 # For LFS support.
19278 ac_ext=cpp
19279 ac_cpp='$CXXCPP $CPPFLAGS'
19280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19284 ac_save_CXXFLAGS="$CXXFLAGS"
19285 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19287 $as_echo_n "checking for LFS support... " >&6; }
19288 if test "${glibcxx_cv_LFS+set}" = set; then :
19289 $as_echo_n "(cached) " >&6
19290 else
19292 if test x$gcc_no_link = xyes; then
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 #include <unistd.h>
19296 #include <stdio.h>
19297 #include <sys/stat.h>
19300 main ()
19302 FILE* fp;
19303 fopen64("t", "w");
19304 fseeko64(fp, 0, SEEK_CUR);
19305 ftello64(fp);
19306 lseek64(1, 0, SEEK_CUR);
19307 struct stat64 buf;
19308 fstat64(1, &buf);
19310 return 0;
19312 _ACEOF
19313 if ac_fn_cxx_try_compile "$LINENO"; then :
19314 glibcxx_cv_LFS=yes
19315 else
19316 glibcxx_cv_LFS=no
19318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19319 else
19320 if test x$gcc_no_link = xyes; then
19321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19325 #include <unistd.h>
19326 #include <stdio.h>
19327 #include <sys/stat.h>
19330 main ()
19332 FILE* fp;
19333 fopen64("t", "w");
19334 fseeko64(fp, 0, SEEK_CUR);
19335 ftello64(fp);
19336 lseek64(1, 0, SEEK_CUR);
19337 struct stat64 buf;
19338 fstat64(1, &buf);
19340 return 0;
19342 _ACEOF
19343 if ac_fn_cxx_try_link "$LINENO"; then :
19344 glibcxx_cv_LFS=yes
19345 else
19346 glibcxx_cv_LFS=no
19348 rm -f core conftest.err conftest.$ac_objext \
19349 conftest$ac_exeext conftest.$ac_ext
19354 if test $glibcxx_cv_LFS = yes; then
19356 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19360 $as_echo "$glibcxx_cv_LFS" >&6; }
19361 CXXFLAGS="$ac_save_CXXFLAGS"
19362 ac_ext=c
19363 ac_cpp='$CPP $CPPFLAGS'
19364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19370 # For showmanyc_helper().
19371 for ac_header in sys/ioctl.h sys/filio.h
19372 do :
19373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19374 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19375 eval as_val=\$$as_ac_Header
19376 if test "x$as_val" = x""yes; then :
19377 cat >>confdefs.h <<_ACEOF
19378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19379 _ACEOF
19383 done
19388 ac_ext=cpp
19389 ac_cpp='$CXXCPP $CPPFLAGS'
19390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19394 ac_save_CXXFLAGS="$CXXFLAGS"
19395 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19398 $as_echo_n "checking for poll... " >&6; }
19399 if test "${glibcxx_cv_POLL+set}" = set; then :
19400 $as_echo_n "(cached) " >&6
19401 else
19403 if test x$gcc_no_link = xyes; then
19404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19406 #include <poll.h>
19408 main ()
19410 struct pollfd pfd[1];
19411 pfd[0].events = POLLIN;
19412 poll(pfd, 1, 0);
19414 return 0;
19416 _ACEOF
19417 if ac_fn_cxx_try_compile "$LINENO"; then :
19418 glibcxx_cv_POLL=yes
19419 else
19420 glibcxx_cv_POLL=no
19422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19423 else
19424 if test x$gcc_no_link = xyes; then
19425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429 #include <poll.h>
19431 main ()
19433 struct pollfd pfd[1];
19434 pfd[0].events = POLLIN;
19435 poll(pfd, 1, 0);
19437 return 0;
19439 _ACEOF
19440 if ac_fn_cxx_try_link "$LINENO"; then :
19441 glibcxx_cv_POLL=yes
19442 else
19443 glibcxx_cv_POLL=no
19445 rm -f core conftest.err conftest.$ac_objext \
19446 conftest$ac_exeext conftest.$ac_ext
19451 if test $glibcxx_cv_POLL = yes; then
19453 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19457 $as_echo "$glibcxx_cv_POLL" >&6; }
19459 CXXFLAGS="$ac_save_CXXFLAGS"
19460 ac_ext=c
19461 ac_cpp='$CPP $CPPFLAGS'
19462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19470 ac_ext=cpp
19471 ac_cpp='$CXXCPP $CPPFLAGS'
19472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19476 ac_save_CXXFLAGS="$CXXFLAGS"
19477 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19480 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19481 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19482 $as_echo_n "(cached) " >&6
19483 else
19485 if test x$gcc_no_link = xyes; then
19486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19488 #include <sys/stat.h>
19490 main ()
19492 struct stat buffer;
19493 fstat(0, &buffer);
19494 S_ISREG(buffer.st_mode);
19496 return 0;
19498 _ACEOF
19499 if ac_fn_cxx_try_compile "$LINENO"; then :
19500 glibcxx_cv_S_ISREG=yes
19501 else
19502 glibcxx_cv_S_ISREG=no
19504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19505 else
19506 if test x$gcc_no_link = xyes; then
19507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19511 #include <sys/stat.h>
19513 main ()
19515 struct stat buffer;
19516 fstat(0, &buffer);
19517 S_ISREG(buffer.st_mode);
19519 return 0;
19521 _ACEOF
19522 if ac_fn_cxx_try_link "$LINENO"; then :
19523 glibcxx_cv_S_ISREG=yes
19524 else
19525 glibcxx_cv_S_ISREG=no
19527 rm -f core conftest.err conftest.$ac_objext \
19528 conftest$ac_exeext conftest.$ac_ext
19533 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19534 $as_echo_n "(cached) " >&6
19535 else
19537 if test x$gcc_no_link = xyes; then
19538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h. */
19540 #include <sys/stat.h>
19542 main ()
19544 struct stat buffer;
19545 fstat(0, &buffer);
19546 S_IFREG & buffer.st_mode;
19548 return 0;
19550 _ACEOF
19551 if ac_fn_cxx_try_compile "$LINENO"; then :
19552 glibcxx_cv_S_IFREG=yes
19553 else
19554 glibcxx_cv_S_IFREG=no
19556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19557 else
19558 if test x$gcc_no_link = xyes; then
19559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19563 #include <sys/stat.h>
19565 main ()
19567 struct stat buffer;
19568 fstat(0, &buffer);
19569 S_IFREG & buffer.st_mode;
19571 return 0;
19573 _ACEOF
19574 if ac_fn_cxx_try_link "$LINENO"; then :
19575 glibcxx_cv_S_IFREG=yes
19576 else
19577 glibcxx_cv_S_IFREG=no
19579 rm -f core conftest.err conftest.$ac_objext \
19580 conftest$ac_exeext conftest.$ac_ext
19585 res=no
19586 if test $glibcxx_cv_S_ISREG = yes; then
19588 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19590 res=S_ISREG
19591 elif test $glibcxx_cv_S_IFREG = yes; then
19593 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19595 res=S_IFREG
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19598 $as_echo "$res" >&6; }
19600 CXXFLAGS="$ac_save_CXXFLAGS"
19601 ac_ext=c
19602 ac_cpp='$CPP $CPPFLAGS'
19603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19609 # For xsputn_2().
19610 for ac_header in sys/uio.h
19611 do :
19612 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19613 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19614 cat >>confdefs.h <<_ACEOF
19615 #define HAVE_SYS_UIO_H 1
19616 _ACEOF
19620 done
19625 ac_ext=cpp
19626 ac_cpp='$CXXCPP $CPPFLAGS'
19627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19631 ac_save_CXXFLAGS="$CXXFLAGS"
19632 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19635 $as_echo_n "checking for writev... " >&6; }
19636 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19637 $as_echo_n "(cached) " >&6
19638 else
19640 if test x$gcc_no_link = xyes; then
19641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19642 /* end confdefs.h. */
19643 #include <sys/uio.h>
19645 main ()
19647 struct iovec iov[2];
19648 writev(0, iov, 0);
19650 return 0;
19652 _ACEOF
19653 if ac_fn_cxx_try_compile "$LINENO"; then :
19654 glibcxx_cv_WRITEV=yes
19655 else
19656 glibcxx_cv_WRITEV=no
19658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19659 else
19660 if test x$gcc_no_link = xyes; then
19661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19665 #include <sys/uio.h>
19667 main ()
19669 struct iovec iov[2];
19670 writev(0, iov, 0);
19672 return 0;
19674 _ACEOF
19675 if ac_fn_cxx_try_link "$LINENO"; then :
19676 glibcxx_cv_WRITEV=yes
19677 else
19678 glibcxx_cv_WRITEV=no
19680 rm -f core conftest.err conftest.$ac_objext \
19681 conftest$ac_exeext conftest.$ac_ext
19686 if test $glibcxx_cv_WRITEV = yes; then
19688 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19692 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19694 CXXFLAGS="$ac_save_CXXFLAGS"
19695 ac_ext=c
19696 ac_cpp='$CPP $CPPFLAGS'
19697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19703 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19704 # so that the check is done with the C compiler (not C++).
19705 # Checking with C++ can break a canadian cross build if either
19706 # file does not exist in C but does in C++.
19707 for ac_header in fenv.h complex.h
19708 do :
19709 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19710 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19711 eval as_val=\$$as_ac_Header
19712 if test "x$as_val" = x""yes; then :
19713 cat >>confdefs.h <<_ACEOF
19714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19715 _ACEOF
19719 done
19722 # For C99 support to TR1.
19726 ac_ext=cpp
19727 ac_cpp='$CXXCPP $CPPFLAGS'
19728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19733 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19734 # undefined and fake C99 facilities may be spuriously enabled.
19735 ac_save_CXXFLAGS="$CXXFLAGS"
19736 CXXFLAGS="$CXXFLAGS -std=c++98"
19738 # Check for the existence of <complex.h> complex math functions used
19739 # by tr1/complex.
19740 for ac_header in complex.h
19741 do :
19742 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19743 if test "x$ac_cv_header_complex_h" = x""yes; then :
19744 cat >>confdefs.h <<_ACEOF
19745 #define HAVE_COMPLEX_H 1
19746 _ACEOF
19747 ac_has_complex_h=yes
19748 else
19749 ac_has_complex_h=no
19752 done
19754 ac_c99_complex_tr1=no;
19755 if test x"$ac_has_complex_h" = x"yes"; then
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19757 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19760 #include <complex.h>
19762 main ()
19764 typedef __complex__ float float_type; float_type tmpf;
19765 cacosf(tmpf);
19766 casinf(tmpf);
19767 catanf(tmpf);
19768 cacoshf(tmpf);
19769 casinhf(tmpf);
19770 catanhf(tmpf);
19771 typedef __complex__ double double_type; double_type tmpd;
19772 cacos(tmpd);
19773 casin(tmpd);
19774 catan(tmpd);
19775 cacosh(tmpd);
19776 casinh(tmpd);
19777 catanh(tmpd);
19778 typedef __complex__ long double ld_type; ld_type tmpld;
19779 cacosl(tmpld);
19780 casinl(tmpld);
19781 catanl(tmpld);
19782 cacoshl(tmpld);
19783 casinhl(tmpld);
19784 catanhl(tmpld);
19787 return 0;
19789 _ACEOF
19790 if ac_fn_cxx_try_compile "$LINENO"; then :
19791 ac_c99_complex_tr1=yes
19792 else
19793 ac_c99_complex_tr1=no
19795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19798 $as_echo "$ac_c99_complex_tr1" >&6; }
19799 if test x"$ac_c99_complex_tr1" = x"yes"; then
19801 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19805 # Check for the existence of <ctype.h> functions.
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19807 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19808 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19809 $as_echo_n "(cached) " >&6
19810 else
19812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19814 #include <ctype.h>
19816 main ()
19818 int ch;
19819 int ret;
19820 ret = isblank(ch);
19823 return 0;
19825 _ACEOF
19826 if ac_fn_cxx_try_compile "$LINENO"; then :
19827 glibcxx_cv_c99_ctype_tr1=yes
19828 else
19829 glibcxx_cv_c99_ctype_tr1=no
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19836 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19837 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19839 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19843 # Check for the existence of <fenv.h> functions.
19844 for ac_header in fenv.h
19845 do :
19846 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19847 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19848 cat >>confdefs.h <<_ACEOF
19849 #define HAVE_FENV_H 1
19850 _ACEOF
19851 ac_has_fenv_h=yes
19852 else
19853 ac_has_fenv_h=no
19856 done
19858 ac_c99_fenv_tr1=no;
19859 if test x"$ac_has_fenv_h" = x"yes"; then
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19861 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19864 #include <fenv.h>
19866 main ()
19868 int except, mode;
19869 fexcept_t* pflag;
19870 fenv_t* penv;
19871 int ret;
19872 ret = feclearexcept(except);
19873 ret = fegetexceptflag(pflag, except);
19874 ret = feraiseexcept(except);
19875 ret = fesetexceptflag(pflag, except);
19876 ret = fetestexcept(except);
19877 ret = fegetround();
19878 ret = fesetround(mode);
19879 ret = fegetenv(penv);
19880 ret = feholdexcept(penv);
19881 ret = fesetenv(penv);
19882 ret = feupdateenv(penv);
19885 return 0;
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 ac_c99_fenv_tr1=yes
19890 else
19891 ac_c99_fenv_tr1=no
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19896 $as_echo "$ac_c99_fenv_tr1" >&6; }
19897 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19899 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19903 # Check for the existence of <stdint.h> types.
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19905 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19906 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19907 $as_echo_n "(cached) " >&6
19908 else
19910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19911 /* end confdefs.h. */
19912 #define __STDC_LIMIT_MACROS
19913 #define __STDC_CONSTANT_MACROS
19914 #include <stdint.h>
19916 main ()
19918 typedef int8_t my_int8_t;
19919 my_int8_t i8 = INT8_MIN;
19920 i8 = INT8_MAX;
19921 typedef int16_t my_int16_t;
19922 my_int16_t i16 = INT16_MIN;
19923 i16 = INT16_MAX;
19924 typedef int32_t my_int32_t;
19925 my_int32_t i32 = INT32_MIN;
19926 i32 = INT32_MAX;
19927 typedef int64_t my_int64_t;
19928 my_int64_t i64 = INT64_MIN;
19929 i64 = INT64_MAX;
19930 typedef int_fast8_t my_int_fast8_t;
19931 my_int_fast8_t if8 = INT_FAST8_MIN;
19932 if8 = INT_FAST8_MAX;
19933 typedef int_fast16_t my_int_fast16_t;
19934 my_int_fast16_t if16 = INT_FAST16_MIN;
19935 if16 = INT_FAST16_MAX;
19936 typedef int_fast32_t my_int_fast32_t;
19937 my_int_fast32_t if32 = INT_FAST32_MIN;
19938 if32 = INT_FAST32_MAX;
19939 typedef int_fast64_t my_int_fast64_t;
19940 my_int_fast64_t if64 = INT_FAST64_MIN;
19941 if64 = INT_FAST64_MAX;
19942 typedef int_least8_t my_int_least8_t;
19943 my_int_least8_t il8 = INT_LEAST8_MIN;
19944 il8 = INT_LEAST8_MAX;
19945 typedef int_least16_t my_int_least16_t;
19946 my_int_least16_t il16 = INT_LEAST16_MIN;
19947 il16 = INT_LEAST16_MAX;
19948 typedef int_least32_t my_int_least32_t;
19949 my_int_least32_t il32 = INT_LEAST32_MIN;
19950 il32 = INT_LEAST32_MAX;
19951 typedef int_least64_t my_int_least64_t;
19952 my_int_least64_t il64 = INT_LEAST64_MIN;
19953 il64 = INT_LEAST64_MAX;
19954 typedef intmax_t my_intmax_t;
19955 my_intmax_t im = INTMAX_MAX;
19956 im = INTMAX_MIN;
19957 typedef intptr_t my_intptr_t;
19958 my_intptr_t ip = INTPTR_MAX;
19959 ip = INTPTR_MIN;
19960 typedef uint8_t my_uint8_t;
19961 my_uint8_t ui8 = UINT8_MAX;
19962 ui8 = UINT8_MAX;
19963 typedef uint16_t my_uint16_t;
19964 my_uint16_t ui16 = UINT16_MAX;
19965 ui16 = UINT16_MAX;
19966 typedef uint32_t my_uint32_t;
19967 my_uint32_t ui32 = UINT32_MAX;
19968 ui32 = UINT32_MAX;
19969 typedef uint64_t my_uint64_t;
19970 my_uint64_t ui64 = UINT64_MAX;
19971 ui64 = UINT64_MAX;
19972 typedef uint_fast8_t my_uint_fast8_t;
19973 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19974 uif8 = UINT_FAST8_MAX;
19975 typedef uint_fast16_t my_uint_fast16_t;
19976 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19977 uif16 = UINT_FAST16_MAX;
19978 typedef uint_fast32_t my_uint_fast32_t;
19979 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19980 uif32 = UINT_FAST32_MAX;
19981 typedef uint_fast64_t my_uint_fast64_t;
19982 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19983 uif64 = UINT_FAST64_MAX;
19984 typedef uint_least8_t my_uint_least8_t;
19985 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19986 uil8 = UINT_LEAST8_MAX;
19987 typedef uint_least16_t my_uint_least16_t;
19988 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19989 uil16 = UINT_LEAST16_MAX;
19990 typedef uint_least32_t my_uint_least32_t;
19991 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19992 uil32 = UINT_LEAST32_MAX;
19993 typedef uint_least64_t my_uint_least64_t;
19994 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19995 uil64 = UINT_LEAST64_MAX;
19996 typedef uintmax_t my_uintmax_t;
19997 my_uintmax_t uim = UINTMAX_MAX;
19998 uim = UINTMAX_MAX;
19999 typedef uintptr_t my_uintptr_t;
20000 my_uintptr_t uip = UINTPTR_MAX;
20001 uip = UINTPTR_MAX;
20004 return 0;
20006 _ACEOF
20007 if ac_fn_cxx_try_compile "$LINENO"; then :
20008 glibcxx_cv_c99_stdint_tr1=yes
20009 else
20010 glibcxx_cv_c99_stdint_tr1=no
20012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20017 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20018 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20020 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20024 # Check for the existence of <math.h> functions.
20025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20026 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20027 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20028 $as_echo_n "(cached) " >&6
20029 else
20031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20033 #include <math.h>
20035 main ()
20037 typedef double_t my_double_t;
20038 typedef float_t my_float_t;
20039 acosh(0.0);
20040 acoshf(0.0f);
20041 acoshl(0.0l);
20042 asinh(0.0);
20043 asinhf(0.0f);
20044 asinhl(0.0l);
20045 atanh(0.0);
20046 atanhf(0.0f);
20047 atanhl(0.0l);
20048 cbrt(0.0);
20049 cbrtf(0.0f);
20050 cbrtl(0.0l);
20051 copysign(0.0, 0.0);
20052 copysignf(0.0f, 0.0f);
20053 copysignl(0.0l, 0.0l);
20054 erf(0.0);
20055 erff(0.0f);
20056 erfl(0.0l);
20057 erfc(0.0);
20058 erfcf(0.0f);
20059 erfcl(0.0l);
20060 exp2(0.0);
20061 exp2f(0.0f);
20062 exp2l(0.0l);
20063 expm1(0.0);
20064 expm1f(0.0f);
20065 expm1l(0.0l);
20066 fdim(0.0, 0.0);
20067 fdimf(0.0f, 0.0f);
20068 fdiml(0.0l, 0.0l);
20069 fma(0.0, 0.0, 0.0);
20070 fmaf(0.0f, 0.0f, 0.0f);
20071 fmal(0.0l, 0.0l, 0.0l);
20072 fmax(0.0, 0.0);
20073 fmaxf(0.0f, 0.0f);
20074 fmaxl(0.0l, 0.0l);
20075 fmin(0.0, 0.0);
20076 fminf(0.0f, 0.0f);
20077 fminl(0.0l, 0.0l);
20078 hypot(0.0, 0.0);
20079 hypotf(0.0f, 0.0f);
20080 hypotl(0.0l, 0.0l);
20081 ilogb(0.0);
20082 ilogbf(0.0f);
20083 ilogbl(0.0l);
20084 lgamma(0.0);
20085 lgammaf(0.0f);
20086 lgammal(0.0l);
20087 #ifndef __APPLE__ /* see below */
20088 llrint(0.0);
20089 llrintf(0.0f);
20090 llrintl(0.0l);
20091 llround(0.0);
20092 llroundf(0.0f);
20093 llroundl(0.0l);
20094 #endif
20095 log1p(0.0);
20096 log1pf(0.0f);
20097 log1pl(0.0l);
20098 log2(0.0);
20099 log2f(0.0f);
20100 log2l(0.0l);
20101 logb(0.0);
20102 logbf(0.0f);
20103 logbl(0.0l);
20104 lrint(0.0);
20105 lrintf(0.0f);
20106 lrintl(0.0l);
20107 lround(0.0);
20108 lroundf(0.0f);
20109 lroundl(0.0l);
20110 nan(0);
20111 nanf(0);
20112 nanl(0);
20113 nearbyint(0.0);
20114 nearbyintf(0.0f);
20115 nearbyintl(0.0l);
20116 nextafter(0.0, 0.0);
20117 nextafterf(0.0f, 0.0f);
20118 nextafterl(0.0l, 0.0l);
20119 nexttoward(0.0, 0.0);
20120 nexttowardf(0.0f, 0.0f);
20121 nexttowardl(0.0l, 0.0l);
20122 remainder(0.0, 0.0);
20123 remainderf(0.0f, 0.0f);
20124 remainderl(0.0l, 0.0l);
20125 remquo(0.0, 0.0, 0);
20126 remquof(0.0f, 0.0f, 0);
20127 remquol(0.0l, 0.0l, 0);
20128 rint(0.0);
20129 rintf(0.0f);
20130 rintl(0.0l);
20131 round(0.0);
20132 roundf(0.0f);
20133 roundl(0.0l);
20134 scalbln(0.0, 0l);
20135 scalblnf(0.0f, 0l);
20136 scalblnl(0.0l, 0l);
20137 scalbn(0.0, 0);
20138 scalbnf(0.0f, 0);
20139 scalbnl(0.0l, 0);
20140 tgamma(0.0);
20141 tgammaf(0.0f);
20142 tgammal(0.0l);
20143 trunc(0.0);
20144 truncf(0.0f);
20145 truncl(0.0l);
20148 return 0;
20150 _ACEOF
20151 if ac_fn_cxx_try_compile "$LINENO"; then :
20152 glibcxx_cv_c99_math_tr1=yes
20153 else
20154 glibcxx_cv_c99_math_tr1=no
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20161 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20162 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20164 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20167 case "${target_os}" in
20168 darwin*)
20169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20170 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20171 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20172 $as_echo_n "(cached) " >&6
20173 else
20175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20177 #include <math.h>
20179 main ()
20181 llrint(0.0);
20182 llrintf(0.0f);
20183 llrintl(0.0l);
20184 llround(0.0);
20185 llroundf(0.0f);
20186 llroundl(0.0l);
20189 return 0;
20191 _ACEOF
20192 if ac_fn_cxx_try_compile "$LINENO"; then :
20193 glibcxx_cv_c99_math_llround=yes
20194 else
20195 glibcxx_cv_c99_math_llround=no
20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20202 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20204 esac
20205 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20207 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20212 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20213 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20214 ac_c99_inttypes_tr1=no;
20215 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20217 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20219 /* end confdefs.h. */
20220 #include <inttypes.h>
20222 main ()
20224 intmax_t i, numer, denom, base;
20225 const char* s;
20226 char** endptr;
20227 intmax_t ret = imaxabs(i);
20228 imaxdiv_t dret = imaxdiv(numer, denom);
20229 ret = strtoimax(s, endptr, base);
20230 uintmax_t uret = strtoumax(s, endptr, base);
20233 return 0;
20235 _ACEOF
20236 if ac_fn_cxx_try_compile "$LINENO"; then :
20237 ac_c99_inttypes_tr1=yes
20238 else
20239 ac_c99_inttypes_tr1=no
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20244 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20245 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20247 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20251 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20252 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20253 ac_c99_inttypes_wchar_t_tr1=no;
20254 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20256 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20259 #include <inttypes.h>
20261 main ()
20263 intmax_t base;
20264 const wchar_t* s;
20265 wchar_t** endptr;
20266 intmax_t ret = wcstoimax(s, endptr, base);
20267 uintmax_t uret = wcstoumax(s, endptr, base);
20270 return 0;
20272 _ACEOF
20273 if ac_fn_cxx_try_compile "$LINENO"; then :
20274 ac_c99_inttypes_wchar_t_tr1=yes
20275 else
20276 ac_c99_inttypes_wchar_t_tr1=no
20278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20281 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20282 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20284 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20288 # Check for the existence of the <stdbool.h> header.
20289 for ac_header in stdbool.h
20290 do :
20291 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20292 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20293 cat >>confdefs.h <<_ACEOF
20294 #define HAVE_STDBOOL_H 1
20295 _ACEOF
20299 done
20302 # Check for the existence of the <stdalign.h> header.
20303 for ac_header in stdalign.h
20304 do :
20305 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20306 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20307 cat >>confdefs.h <<_ACEOF
20308 #define HAVE_STDALIGN_H 1
20309 _ACEOF
20313 done
20316 CXXFLAGS="$ac_save_CXXFLAGS"
20317 ac_ext=c
20318 ac_cpp='$CPP $CPPFLAGS'
20319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20325 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20329 $as_echo_n "checking for the value of EOF... " >&6; }
20330 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20331 $as_echo_n "(cached) " >&6
20332 else
20334 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20336 else
20337 as_fn_error "computing EOF failed" "$LINENO" 5
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20343 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20345 cat >>confdefs.h <<_ACEOF
20346 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20347 _ACEOF
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20351 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20352 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20353 $as_echo_n "(cached) " >&6
20354 else
20356 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20358 else
20359 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20365 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20367 cat >>confdefs.h <<_ACEOF
20368 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20369 _ACEOF
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20373 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20374 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20375 $as_echo_n "(cached) " >&6
20376 else
20378 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20380 else
20381 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20387 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20389 cat >>confdefs.h <<_ACEOF
20390 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20391 _ACEOF
20395 # For gettimeofday support.
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20399 $as_echo_n "checking for gettimeofday... " >&6; }
20402 ac_ext=cpp
20403 ac_cpp='$CXXCPP $CPPFLAGS'
20404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20408 ac_save_CXXFLAGS="$CXXFLAGS"
20409 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20411 ac_has_gettimeofday=no;
20412 for ac_header in sys/time.h
20413 do :
20414 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20415 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20416 cat >>confdefs.h <<_ACEOF
20417 #define HAVE_SYS_TIME_H 1
20418 _ACEOF
20419 ac_has_sys_time_h=yes
20420 else
20421 ac_has_sys_time_h=no
20424 done
20426 if test x"$ac_has_sys_time_h" = x"yes"; then
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20428 $as_echo_n "checking for gettimeofday... " >&6; }
20429 if test x$gcc_no_link = xyes; then
20430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20431 /* end confdefs.h. */
20432 #include <sys/time.h>
20434 main ()
20436 timeval tv; gettimeofday(&tv, 0);
20438 return 0;
20440 _ACEOF
20441 if ac_fn_cxx_try_compile "$LINENO"; then :
20442 ac_has_gettimeofday=yes
20443 else
20444 ac_has_gettimeofday=no
20446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20447 else
20448 if test x$gcc_no_link = xyes; then
20449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20452 /* end confdefs.h. */
20453 #include <sys/time.h>
20455 main ()
20457 timeval tv; gettimeofday(&tv, 0);
20459 return 0;
20461 _ACEOF
20462 if ac_fn_cxx_try_link "$LINENO"; then :
20463 ac_has_gettimeofday=yes
20464 else
20465 ac_has_gettimeofday=no
20467 rm -f core conftest.err conftest.$ac_objext \
20468 conftest$ac_exeext conftest.$ac_ext
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20472 $as_echo "$ac_has_gettimeofday" >&6; }
20475 if test x"$ac_has_gettimeofday" = x"yes"; then
20477 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20481 CXXFLAGS="$ac_save_CXXFLAGS"
20482 ac_ext=c
20483 ac_cpp='$CPP $CPPFLAGS'
20484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20490 # For clock_gettime, nanosleep and sched_yield support.
20493 # Check whether --enable-libstdcxx-time was given.
20494 if test "${enable_libstdcxx_time+set}" = set; then :
20495 enableval=$enable_libstdcxx_time;
20496 case "$enableval" in
20497 yes|no|rt) ;;
20498 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20499 esac
20501 else
20502 enable_libstdcxx_time=auto
20508 ac_ext=cpp
20509 ac_cpp='$CXXCPP $CPPFLAGS'
20510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20514 ac_save_CXXFLAGS="$CXXFLAGS"
20515 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20516 ac_save_LIBS="$LIBS"
20518 ac_has_clock_monotonic=no
20519 ac_has_clock_realtime=no
20520 ac_has_nanosleep=no
20521 ac_has_sched_yield=no
20523 if test x"$enable_libstdcxx_time" = x"auto"; then
20525 case "${target_os}" in
20526 cygwin*)
20527 ac_has_nanosleep=yes
20529 darwin*)
20530 ac_has_nanosleep=yes
20531 ac_has_sched_yield=yes
20533 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20535 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20537 /* end confdefs.h. */
20538 #include <features.h>
20540 main ()
20543 #if ! __GLIBC_PREREQ(2, 17)
20544 #error
20545 #endif
20548 return 0;
20550 _ACEOF
20551 if ac_fn_cxx_try_compile "$LINENO"; then :
20552 glibcxx_glibc217=yes
20553 else
20554 glibcxx_glibc217=no
20556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20558 $as_echo "$glibcxx_glibc217" >&6; }
20560 if test x"$glibcxx_glibc217" = x"yes"; then
20561 ac_has_clock_monotonic=yes
20562 ac_has_clock_realtime=yes
20564 ac_has_nanosleep=yes
20565 ac_has_sched_yield=yes
20567 freebsd*|netbsd*|dragonfly*)
20568 ac_has_clock_monotonic=yes
20569 ac_has_clock_realtime=yes
20570 ac_has_nanosleep=yes
20571 ac_has_sched_yield=yes
20573 openbsd*)
20574 ac_has_clock_monotonic=yes
20575 ac_has_clock_realtime=yes
20576 ac_has_nanosleep=yes
20578 solaris*)
20579 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20580 ac_has_clock_monotonic=yes
20581 ac_has_clock_realtime=yes
20582 ac_has_nanosleep=yes
20583 ac_has_sched_yield=yes
20585 esac
20587 elif test x"$enable_libstdcxx_time" != x"no"; then
20589 if test x"$enable_libstdcxx_time" = x"rt"; then
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20591 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20592 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20593 $as_echo_n "(cached) " >&6
20594 else
20595 ac_func_search_save_LIBS=$LIBS
20596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20597 /* end confdefs.h. */
20599 /* Override any GCC internal prototype to avoid an error.
20600 Use char because int might match the return type of a GCC
20601 builtin and then its argument prototype would still apply. */
20602 #ifdef __cplusplus
20603 extern "C"
20604 #endif
20605 char clock_gettime ();
20607 main ()
20609 return clock_gettime ();
20611 return 0;
20613 _ACEOF
20614 for ac_lib in '' rt posix4; do
20615 if test -z "$ac_lib"; then
20616 ac_res="none required"
20617 else
20618 ac_res=-l$ac_lib
20619 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20621 if test x$gcc_no_link = xyes; then
20622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20624 if ac_fn_cxx_try_link "$LINENO"; then :
20625 ac_cv_search_clock_gettime=$ac_res
20627 rm -f core conftest.err conftest.$ac_objext \
20628 conftest$ac_exeext
20629 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20630 break
20632 done
20633 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20635 else
20636 ac_cv_search_clock_gettime=no
20638 rm conftest.$ac_ext
20639 LIBS=$ac_func_search_save_LIBS
20641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20642 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20643 ac_res=$ac_cv_search_clock_gettime
20644 if test "$ac_res" != no; then :
20645 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20650 $as_echo_n "checking for library containing nanosleep... " >&6; }
20651 if test "${ac_cv_search_nanosleep+set}" = set; then :
20652 $as_echo_n "(cached) " >&6
20653 else
20654 ac_func_search_save_LIBS=$LIBS
20655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20658 /* Override any GCC internal prototype to avoid an error.
20659 Use char because int might match the return type of a GCC
20660 builtin and then its argument prototype would still apply. */
20661 #ifdef __cplusplus
20662 extern "C"
20663 #endif
20664 char nanosleep ();
20666 main ()
20668 return nanosleep ();
20670 return 0;
20672 _ACEOF
20673 for ac_lib in '' rt posix4; do
20674 if test -z "$ac_lib"; then
20675 ac_res="none required"
20676 else
20677 ac_res=-l$ac_lib
20678 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20680 if test x$gcc_no_link = xyes; then
20681 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20683 if ac_fn_cxx_try_link "$LINENO"; then :
20684 ac_cv_search_nanosleep=$ac_res
20686 rm -f core conftest.err conftest.$ac_objext \
20687 conftest$ac_exeext
20688 if test "${ac_cv_search_nanosleep+set}" = set; then :
20689 break
20691 done
20692 if test "${ac_cv_search_nanosleep+set}" = set; then :
20694 else
20695 ac_cv_search_nanosleep=no
20697 rm conftest.$ac_ext
20698 LIBS=$ac_func_search_save_LIBS
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20701 $as_echo "$ac_cv_search_nanosleep" >&6; }
20702 ac_res=$ac_cv_search_nanosleep
20703 if test "$ac_res" != no; then :
20704 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20708 else
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20710 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20711 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20712 $as_echo_n "(cached) " >&6
20713 else
20714 ac_func_search_save_LIBS=$LIBS
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20718 /* Override any GCC internal prototype to avoid an error.
20719 Use char because int might match the return type of a GCC
20720 builtin and then its argument prototype would still apply. */
20721 #ifdef __cplusplus
20722 extern "C"
20723 #endif
20724 char clock_gettime ();
20726 main ()
20728 return clock_gettime ();
20730 return 0;
20732 _ACEOF
20733 for ac_lib in '' posix4; do
20734 if test -z "$ac_lib"; then
20735 ac_res="none required"
20736 else
20737 ac_res=-l$ac_lib
20738 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20740 if test x$gcc_no_link = xyes; then
20741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20743 if ac_fn_cxx_try_link "$LINENO"; then :
20744 ac_cv_search_clock_gettime=$ac_res
20746 rm -f core conftest.err conftest.$ac_objext \
20747 conftest$ac_exeext
20748 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20749 break
20751 done
20752 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20754 else
20755 ac_cv_search_clock_gettime=no
20757 rm conftest.$ac_ext
20758 LIBS=$ac_func_search_save_LIBS
20760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20761 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20762 ac_res=$ac_cv_search_clock_gettime
20763 if test "$ac_res" != no; then :
20764 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20769 $as_echo_n "checking for library containing nanosleep... " >&6; }
20770 if test "${ac_cv_search_nanosleep+set}" = set; then :
20771 $as_echo_n "(cached) " >&6
20772 else
20773 ac_func_search_save_LIBS=$LIBS
20774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20775 /* end confdefs.h. */
20777 /* Override any GCC internal prototype to avoid an error.
20778 Use char because int might match the return type of a GCC
20779 builtin and then its argument prototype would still apply. */
20780 #ifdef __cplusplus
20781 extern "C"
20782 #endif
20783 char nanosleep ();
20785 main ()
20787 return nanosleep ();
20789 return 0;
20791 _ACEOF
20792 for ac_lib in '' posix4; do
20793 if test -z "$ac_lib"; then
20794 ac_res="none required"
20795 else
20796 ac_res=-l$ac_lib
20797 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20799 if test x$gcc_no_link = xyes; then
20800 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20802 if ac_fn_cxx_try_link "$LINENO"; then :
20803 ac_cv_search_nanosleep=$ac_res
20805 rm -f core conftest.err conftest.$ac_objext \
20806 conftest$ac_exeext
20807 if test "${ac_cv_search_nanosleep+set}" = set; then :
20808 break
20810 done
20811 if test "${ac_cv_search_nanosleep+set}" = set; then :
20813 else
20814 ac_cv_search_nanosleep=no
20816 rm conftest.$ac_ext
20817 LIBS=$ac_func_search_save_LIBS
20819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20820 $as_echo "$ac_cv_search_nanosleep" >&6; }
20821 ac_res=$ac_cv_search_nanosleep
20822 if test "$ac_res" != no; then :
20823 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20829 case "$ac_cv_search_clock_gettime" in
20830 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20832 esac
20833 case "$ac_cv_search_nanosleep" in
20834 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20836 esac
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20839 $as_echo_n "checking for library containing sched_yield... " >&6; }
20840 if test "${ac_cv_search_sched_yield+set}" = set; then :
20841 $as_echo_n "(cached) " >&6
20842 else
20843 ac_func_search_save_LIBS=$LIBS
20844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20845 /* end confdefs.h. */
20847 /* Override any GCC internal prototype to avoid an error.
20848 Use char because int might match the return type of a GCC
20849 builtin and then its argument prototype would still apply. */
20850 #ifdef __cplusplus
20851 extern "C"
20852 #endif
20853 char sched_yield ();
20855 main ()
20857 return sched_yield ();
20859 return 0;
20861 _ACEOF
20862 for ac_lib in '' rt posix4; do
20863 if test -z "$ac_lib"; then
20864 ac_res="none required"
20865 else
20866 ac_res=-l$ac_lib
20867 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20869 if test x$gcc_no_link = xyes; then
20870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20872 if ac_fn_cxx_try_link "$LINENO"; then :
20873 ac_cv_search_sched_yield=$ac_res
20875 rm -f core conftest.err conftest.$ac_objext \
20876 conftest$ac_exeext
20877 if test "${ac_cv_search_sched_yield+set}" = set; then :
20878 break
20880 done
20881 if test "${ac_cv_search_sched_yield+set}" = set; then :
20883 else
20884 ac_cv_search_sched_yield=no
20886 rm conftest.$ac_ext
20887 LIBS=$ac_func_search_save_LIBS
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20890 $as_echo "$ac_cv_search_sched_yield" >&6; }
20891 ac_res=$ac_cv_search_sched_yield
20892 if test "$ac_res" != no; then :
20893 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20898 case "$ac_cv_search_sched_yield" in
20899 -lposix4*)
20900 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20901 ac_has_sched_yield=yes
20903 -lrt*)
20904 if test x"$enable_libstdcxx_time" = x"rt"; then
20905 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20906 ac_has_sched_yield=yes
20910 ac_has_sched_yield=yes
20912 esac
20914 for ac_header in unistd.h
20915 do :
20916 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20917 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20918 cat >>confdefs.h <<_ACEOF
20919 #define HAVE_UNISTD_H 1
20920 _ACEOF
20921 ac_has_unistd_h=yes
20922 else
20923 ac_has_unistd_h=no
20926 done
20929 if test x"$ac_has_unistd_h" = x"yes"; then
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20931 $as_echo_n "checking for monotonic clock... " >&6; }
20932 if test x$gcc_no_link = xyes; then
20933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20936 /* end confdefs.h. */
20937 #include <unistd.h>
20938 #include <time.h>
20941 main ()
20943 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20944 timespec tp;
20945 #endif
20946 clock_gettime(CLOCK_MONOTONIC, &tp);
20949 return 0;
20951 _ACEOF
20952 if ac_fn_cxx_try_link "$LINENO"; then :
20953 ac_has_clock_monotonic=yes
20954 else
20955 ac_has_clock_monotonic=no
20957 rm -f core conftest.err conftest.$ac_objext \
20958 conftest$ac_exeext conftest.$ac_ext
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20961 $as_echo "$ac_has_clock_monotonic" >&6; }
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20964 $as_echo_n "checking for realtime clock... " >&6; }
20965 if test x$gcc_no_link = xyes; then
20966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20970 #include <unistd.h>
20971 #include <time.h>
20974 main ()
20976 #if _POSIX_TIMERS > 0
20977 timespec tp;
20978 #endif
20979 clock_gettime(CLOCK_REALTIME, &tp);
20982 return 0;
20984 _ACEOF
20985 if ac_fn_cxx_try_link "$LINENO"; then :
20986 ac_has_clock_realtime=yes
20987 else
20988 ac_has_clock_realtime=no
20990 rm -f core conftest.err conftest.$ac_objext \
20991 conftest$ac_exeext conftest.$ac_ext
20993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20994 $as_echo "$ac_has_clock_realtime" >&6; }
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20997 $as_echo_n "checking for nanosleep... " >&6; }
20998 if test x$gcc_no_link = xyes; then
20999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21003 #include <unistd.h>
21004 #include <time.h>
21007 main ()
21009 #if _POSIX_TIMERS > 0
21010 timespec tp;
21011 #endif
21012 nanosleep(&tp, 0);
21015 return 0;
21017 _ACEOF
21018 if ac_fn_cxx_try_link "$LINENO"; then :
21019 ac_has_nanosleep=yes
21020 else
21021 ac_has_nanosleep=no
21023 rm -f core conftest.err conftest.$ac_objext \
21024 conftest$ac_exeext conftest.$ac_ext
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21027 $as_echo "$ac_has_nanosleep" >&6; }
21031 if test x"$ac_has_clock_monotonic" != x"yes"; then
21032 case ${target_os} in
21033 linux*)
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21035 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21037 /* end confdefs.h. */
21038 #include <unistd.h>
21039 #include <time.h>
21040 #include <sys/syscall.h>
21043 main ()
21045 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21046 timespec tp;
21047 #endif
21048 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21049 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21052 return 0;
21054 _ACEOF
21055 if ac_fn_cxx_try_compile "$LINENO"; then :
21056 ac_has_clock_monotonic_syscall=yes
21057 else
21058 ac_has_clock_monotonic_syscall=no
21060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21062 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21063 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21065 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21067 ac_has_clock_monotonic=yes
21068 ac_has_clock_realtime=yes
21069 fi;;
21070 esac
21073 if test x"$ac_has_clock_monotonic" = x"yes"; then
21075 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21079 if test x"$ac_has_clock_realtime" = x"yes"; then
21081 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21085 if test x"$ac_has_sched_yield" = x"yes"; then
21087 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21091 if test x"$ac_has_nanosleep" = x"yes"; then
21093 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21095 else
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21097 $as_echo_n "checking for sleep... " >&6; }
21098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21100 #include <unistd.h>
21102 main ()
21104 sleep(1)
21106 return 0;
21108 _ACEOF
21109 if ac_fn_cxx_try_compile "$LINENO"; then :
21110 ac_has_sleep=yes
21111 else
21112 ac_has_sleep=no
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 if test x"$ac_has_sleep" = x"yes"; then
21117 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21121 $as_echo "$ac_has_sleep" >&6; }
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21123 $as_echo_n "checking for usleep... " >&6; }
21124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21125 /* end confdefs.h. */
21126 #include <unistd.h>
21128 main ()
21130 sleep(1);
21131 usleep(100);
21133 return 0;
21135 _ACEOF
21136 if ac_fn_cxx_try_compile "$LINENO"; then :
21137 ac_has_usleep=yes
21138 else
21139 ac_has_usleep=no
21141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21142 if test x"$ac_has_usleep" = x"yes"; then
21144 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21148 $as_echo "$ac_has_usleep" >&6; }
21151 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21153 $as_echo_n "checking for Sleep... " >&6; }
21154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21155 /* end confdefs.h. */
21156 #include <windows.h>
21158 main ()
21160 Sleep(1)
21162 return 0;
21164 _ACEOF
21165 if ac_fn_cxx_try_compile "$LINENO"; then :
21166 ac_has_win32_sleep=yes
21167 else
21168 ac_has_win32_sleep=no
21170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21171 if test x"$ac_has_win32_sleep" = x"yes"; then
21173 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21177 $as_echo "$ac_has_win32_sleep" >&6; }
21182 CXXFLAGS="$ac_save_CXXFLAGS"
21183 LIBS="$ac_save_LIBS"
21184 ac_ext=c
21185 ac_cpp='$CPP $CPPFLAGS'
21186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21192 # Check for tmpnam which is obsolescent in POSIX.1-2008
21194 ac_ext=cpp
21195 ac_cpp='$CXXCPP $CPPFLAGS'
21196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21200 ac_save_CXXFLAGS="$CXXFLAGS"
21201 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21203 $as_echo_n "checking for tmpnam... " >&6; }
21204 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21205 $as_echo_n "(cached) " >&6
21206 else
21207 if test x$gcc_no_link = xyes; then
21208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21209 /* end confdefs.h. */
21210 #include <stdio.h>
21212 main ()
21214 char *tmp = tmpnam(NULL);
21216 return 0;
21218 _ACEOF
21219 if ac_fn_cxx_try_compile "$LINENO"; then :
21220 glibcxx_cv_TMPNAM=yes
21221 else
21222 glibcxx_cv_TMPNAM=no
21224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21225 else
21226 if test x$gcc_no_link = xyes; then
21227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21230 /* end confdefs.h. */
21231 #include <stdio.h>
21233 main ()
21235 char *tmp = tmpnam(NULL);
21237 return 0;
21239 _ACEOF
21240 if ac_fn_cxx_try_link "$LINENO"; then :
21241 glibcxx_cv_TMPNAM=yes
21242 else
21243 glibcxx_cv_TMPNAM=no
21245 rm -f core conftest.err conftest.$ac_objext \
21246 conftest$ac_exeext conftest.$ac_ext
21251 if test $glibcxx_cv_TMPNAM = yes; then
21253 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21257 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21258 CXXFLAGS="$ac_save_CXXFLAGS"
21259 ac_ext=c
21260 ac_cpp='$CPP $CPPFLAGS'
21261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21268 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21269 if test "x$ac_cv_header_locale_h" = x""yes; then :
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21272 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21273 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21274 $as_echo_n "(cached) " >&6
21275 else
21276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21277 /* end confdefs.h. */
21278 #include <locale.h>
21280 main ()
21282 return LC_MESSAGES
21284 return 0;
21286 _ACEOF
21287 if ac_fn_c_try_compile "$LINENO"; then :
21288 ac_cv_val_LC_MESSAGES=yes
21289 else
21290 ac_cv_val_LC_MESSAGES=no
21292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21295 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21296 if test $ac_cv_val_LC_MESSAGES = yes; then
21298 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21307 # For hardware_concurrency
21308 for ac_header in sys/sysinfo.h
21309 do :
21310 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21311 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21312 cat >>confdefs.h <<_ACEOF
21313 #define HAVE_SYS_SYSINFO_H 1
21314 _ACEOF
21318 done
21323 ac_ext=cpp
21324 ac_cpp='$CXXCPP $CPPFLAGS'
21325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21329 ac_save_CXXFLAGS="$CXXFLAGS"
21330 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21333 $as_echo_n "checking for get_nprocs... " >&6; }
21334 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21335 $as_echo_n "(cached) " >&6
21336 else
21338 if test x$gcc_no_link = xyes; then
21339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21340 /* end confdefs.h. */
21341 #include <sys/sysinfo.h>
21343 main ()
21345 int n = get_nprocs();
21347 return 0;
21349 _ACEOF
21350 if ac_fn_cxx_try_compile "$LINENO"; then :
21351 glibcxx_cv_GET_NPROCS=yes
21352 else
21353 glibcxx_cv_GET_NPROCS=no
21355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21356 else
21357 if test x$gcc_no_link = xyes; then
21358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21361 /* end confdefs.h. */
21362 #include <sys/sysinfo.h>
21364 main ()
21366 int n = get_nprocs();
21368 return 0;
21370 _ACEOF
21371 if ac_fn_cxx_try_link "$LINENO"; then :
21372 glibcxx_cv_GET_NPROCS=yes
21373 else
21374 glibcxx_cv_GET_NPROCS=no
21376 rm -f core conftest.err conftest.$ac_objext \
21377 conftest$ac_exeext conftest.$ac_ext
21382 if test $glibcxx_cv_GET_NPROCS = yes; then
21384 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21388 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21390 CXXFLAGS="$ac_save_CXXFLAGS"
21391 ac_ext=c
21392 ac_cpp='$CPP $CPPFLAGS'
21393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21398 for ac_header in unistd.h
21399 do :
21400 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21401 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21402 cat >>confdefs.h <<_ACEOF
21403 #define HAVE_UNISTD_H 1
21404 _ACEOF
21408 done
21413 ac_ext=cpp
21414 ac_cpp='$CXXCPP $CPPFLAGS'
21415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21419 ac_save_CXXFLAGS="$CXXFLAGS"
21420 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21423 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21424 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21425 $as_echo_n "(cached) " >&6
21426 else
21428 if test x$gcc_no_link = xyes; then
21429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21430 /* end confdefs.h. */
21431 #include <unistd.h>
21433 main ()
21435 int n = sysconf(_SC_NPROCESSORS_ONLN);
21437 return 0;
21439 _ACEOF
21440 if ac_fn_cxx_try_compile "$LINENO"; then :
21441 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21442 else
21443 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446 else
21447 if test x$gcc_no_link = xyes; then
21448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21451 /* end confdefs.h. */
21452 #include <unistd.h>
21454 main ()
21456 int n = sysconf(_SC_NPROCESSORS_ONLN);
21458 return 0;
21460 _ACEOF
21461 if ac_fn_cxx_try_link "$LINENO"; then :
21462 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21463 else
21464 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21466 rm -f core conftest.err conftest.$ac_objext \
21467 conftest$ac_exeext conftest.$ac_ext
21472 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21474 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21478 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21480 CXXFLAGS="$ac_save_CXXFLAGS"
21481 ac_ext=c
21482 ac_cpp='$CPP $CPPFLAGS'
21483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21491 ac_ext=cpp
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21497 ac_save_CXXFLAGS="$CXXFLAGS"
21498 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21501 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21502 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21503 $as_echo_n "(cached) " >&6
21504 else
21506 if test x$gcc_no_link = xyes; then
21507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21508 /* end confdefs.h. */
21509 #include <unistd.h>
21511 main ()
21513 int n = sysconf(_SC_NPROC_ONLN);
21515 return 0;
21517 _ACEOF
21518 if ac_fn_cxx_try_compile "$LINENO"; then :
21519 glibcxx_cv_SC_NPROC_ONLN=yes
21520 else
21521 glibcxx_cv_SC_NPROC_ONLN=no
21523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21524 else
21525 if test x$gcc_no_link = xyes; then
21526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21529 /* end confdefs.h. */
21530 #include <unistd.h>
21532 main ()
21534 int n = sysconf(_SC_NPROC_ONLN);
21536 return 0;
21538 _ACEOF
21539 if ac_fn_cxx_try_link "$LINENO"; then :
21540 glibcxx_cv_SC_NPROC_ONLN=yes
21541 else
21542 glibcxx_cv_SC_NPROC_ONLN=no
21544 rm -f core conftest.err conftest.$ac_objext \
21545 conftest$ac_exeext conftest.$ac_ext
21550 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21552 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21556 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21558 CXXFLAGS="$ac_save_CXXFLAGS"
21559 ac_ext=c
21560 ac_cpp='$CPP $CPPFLAGS'
21561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21569 ac_ext=cpp
21570 ac_cpp='$CXXCPP $CPPFLAGS'
21571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21575 ac_save_CXXFLAGS="$CXXFLAGS"
21576 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21579 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21580 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21581 $as_echo_n "(cached) " >&6
21582 else
21584 if test x$gcc_no_link = xyes; then
21585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21586 /* end confdefs.h. */
21587 #include <pthread.h>
21589 main ()
21591 int n = pthread_num_processors_np();
21593 return 0;
21595 _ACEOF
21596 if ac_fn_cxx_try_compile "$LINENO"; then :
21597 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21598 else
21599 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 else
21603 if test x$gcc_no_link = xyes; then
21604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <pthread.h>
21610 main ()
21612 int n = pthread_num_processors_np();
21614 return 0;
21616 _ACEOF
21617 if ac_fn_cxx_try_link "$LINENO"; then :
21618 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21619 else
21620 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21622 rm -f core conftest.err conftest.$ac_objext \
21623 conftest$ac_exeext conftest.$ac_ext
21628 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21630 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21634 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21636 CXXFLAGS="$ac_save_CXXFLAGS"
21637 ac_ext=c
21638 ac_cpp='$CPP $CPPFLAGS'
21639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21647 ac_ext=cpp
21648 ac_cpp='$CXXCPP $CPPFLAGS'
21649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21653 ac_save_CXXFLAGS="$CXXFLAGS"
21654 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21657 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21658 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21659 $as_echo_n "(cached) " >&6
21660 else
21662 if test x$gcc_no_link = xyes; then
21663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21666 #include <stddef.h>
21667 #include <sys/sysctl.h>
21670 main ()
21673 int count;
21674 size_t size = sizeof(count);
21675 int mib[] = { CTL_HW, HW_NCPU };
21676 sysctl(mib, 2, &count, &size, NULL, 0);
21679 return 0;
21681 _ACEOF
21682 if ac_fn_cxx_try_compile "$LINENO"; then :
21683 glibcxx_cv_SYSCTL_HW_NCPU=yes
21684 else
21685 glibcxx_cv_SYSCTL_HW_NCPU=no
21687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688 else
21689 if test x$gcc_no_link = xyes; then
21690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21695 #include <stddef.h>
21696 #include <sys/sysctl.h>
21699 main ()
21702 int count;
21703 size_t size = sizeof(count);
21704 int mib[] = { CTL_HW, HW_NCPU };
21705 sysctl(mib, 2, &count, &size, NULL, 0);
21708 return 0;
21710 _ACEOF
21711 if ac_fn_cxx_try_link "$LINENO"; then :
21712 glibcxx_cv_SYSCTL_HW_NCPU=yes
21713 else
21714 glibcxx_cv_SYSCTL_HW_NCPU=no
21716 rm -f core conftest.err conftest.$ac_objext \
21717 conftest$ac_exeext conftest.$ac_ext
21722 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21724 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21728 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21730 CXXFLAGS="$ac_save_CXXFLAGS"
21731 ac_ext=c
21732 ac_cpp='$CPP $CPPFLAGS'
21733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21740 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21741 # Note that this test has to be run with the C language.
21742 # Otherwise, sdt.h will try to include some headers from
21743 # libstdc++ itself.
21745 ac_ext=c
21746 ac_cpp='$CPP $CPPFLAGS'
21747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21751 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21752 $as_echo_n "(cached) " >&6
21753 else
21755 # Because we have to run the test in C, we use grep rather
21756 # than the compiler to check for the bug. The bug is that
21757 # were strings without trailing whitespace, causing g++
21758 # to look for operator"". The pattern searches for the fixed
21759 # output.
21760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 /* end confdefs.h. */
21763 #include <sys/sdt.h>
21764 int f() { STAP_PROBE(hi, bob); }
21766 _ACEOF
21767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21768 $EGREP " \",\" " >/dev/null 2>&1; then :
21769 glibcxx_cv_sys_sdt_h=yes
21770 else
21771 glibcxx_cv_sys_sdt_h=no
21773 rm -f conftest*
21778 ac_ext=c
21779 ac_cpp='$CPP $CPPFLAGS'
21780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21784 if test $glibcxx_cv_sys_sdt_h = yes; then
21786 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21790 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21793 # Check for available headers.
21794 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21795 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21796 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21797 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21798 wchar.h wctype.h linux/random.h
21799 do :
21800 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21801 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21802 eval as_val=\$$as_ac_Header
21803 if test "x$as_val" = x""yes; then :
21804 cat >>confdefs.h <<_ACEOF
21805 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21806 _ACEOF
21810 done
21813 # Only do link tests if native. Else, hardcode.
21814 if $GLIBCXX_IS_NATIVE; then
21816 # We can do more elaborate tests that assume a working linker.
21817 CANADIAN=no
21821 # Check whether --with-gnu-ld was given.
21822 if test "${with_gnu_ld+set}" = set; then :
21823 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21824 else
21825 with_gnu_ld=no
21828 ac_prog=ld
21829 if test "$GCC" = yes; then
21830 # Check if gcc -print-prog-name=ld gives a path.
21831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21832 $as_echo_n "checking for ld used by $CC... " >&6; }
21833 case $host in
21834 *-*-mingw*)
21835 # gcc leaves a trailing carriage return which upsets mingw
21836 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21838 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21839 esac
21840 case $ac_prog in
21841 # Accept absolute paths.
21842 [\\/]* | ?:[\\/]*)
21843 re_direlt='/[^/][^/]*/\.\./'
21844 # Canonicalize the pathname of ld
21845 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21846 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21847 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21848 done
21849 test -z "$LD" && LD="$ac_prog"
21852 # If it fails, then pretend we aren't using GCC.
21853 ac_prog=ld
21856 # If it is relative, then search for the first ld in PATH.
21857 with_gnu_ld=unknown
21859 esac
21860 elif test "$with_gnu_ld" = yes; then
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21862 $as_echo_n "checking for GNU ld... " >&6; }
21863 else
21864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21865 $as_echo_n "checking for non-GNU ld... " >&6; }
21867 if test "${lt_cv_path_LD+set}" = set; then :
21868 $as_echo_n "(cached) " >&6
21869 else
21870 if test -z "$LD"; then
21871 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21872 for ac_dir in $PATH; do
21873 IFS="$lt_save_ifs"
21874 test -z "$ac_dir" && ac_dir=.
21875 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21876 lt_cv_path_LD="$ac_dir/$ac_prog"
21877 # Check to see if the program is GNU ld. I'd rather use --version,
21878 # but apparently some variants of GNU ld only accept -v.
21879 # Break only if it was the GNU/non-GNU ld that we prefer.
21880 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21881 *GNU* | *'with BFD'*)
21882 test "$with_gnu_ld" != no && break
21885 test "$with_gnu_ld" != yes && break
21887 esac
21889 done
21890 IFS="$lt_save_ifs"
21891 else
21892 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21896 LD="$lt_cv_path_LD"
21897 if test -n "$LD"; then
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21899 $as_echo "$LD" >&6; }
21900 else
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21902 $as_echo "no" >&6; }
21904 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21906 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21907 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21908 $as_echo_n "(cached) " >&6
21909 else
21910 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21911 case `$LD -v 2>&1 </dev/null` in
21912 *GNU* | *'with BFD'*)
21913 lt_cv_prog_gnu_ld=yes
21916 lt_cv_prog_gnu_ld=no
21918 esac
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21921 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21922 with_gnu_ld=$lt_cv_prog_gnu_ld
21930 # If we're not using GNU ld, then there's no point in even trying these
21931 # tests. Check for that first. We should have already tested for gld
21932 # by now (in libtool), but require it now just to be safe...
21933 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21934 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21938 # The name set by libtool depends on the version of libtool. Shame on us
21939 # for depending on an impl detail, but c'est la vie. Older versions used
21940 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21941 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21942 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21943 # set (hence we're using an older libtool), then set it.
21944 if test x${with_gnu_ld+set} != xset; then
21945 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21946 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21947 with_gnu_ld=no
21948 else
21949 with_gnu_ld=$ac_cv_prog_gnu_ld
21953 # Start by getting the version number. I think the libtool test already
21954 # does some of this, but throws away the result.
21955 glibcxx_ld_is_gold=no
21956 if test x"$with_gnu_ld" = x"yes"; then
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21958 $as_echo_n "checking for ld version... " >&6; }
21960 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21961 glibcxx_ld_is_gold=yes
21963 ldver=`$LD --version 2>/dev/null |
21964 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'`
21966 glibcxx_gnu_ld_version=`echo $ldver | \
21967 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21969 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21972 # Set --gc-sections.
21973 glibcxx_have_gc_sections=no
21974 if test "$glibcxx_ld_is_gold" = "yes"; then
21975 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21976 glibcxx_have_gc_sections=yes
21978 else
21979 glibcxx_gcsections_min_ld=21602
21980 if test x"$with_gnu_ld" = x"yes" &&
21981 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21982 glibcxx_have_gc_sections=yes
21985 if test "$glibcxx_have_gc_sections" = "yes"; then
21986 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21987 # NB: This flag only works reliably after 2.16.1. Configure tests
21988 # for this are difficult, so hard wire a value that should work.
21990 ac_test_CFLAGS="${CFLAGS+set}"
21991 ac_save_CFLAGS="$CFLAGS"
21992 CFLAGS='-Wl,--gc-sections'
21994 # Check for -Wl,--gc-sections
21995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21996 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21997 if test x$gcc_no_link = xyes; then
21998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22001 /* end confdefs.h. */
22002 int one(void) { return 1; }
22003 int two(void) { return 2; }
22006 main ()
22008 two();
22010 return 0;
22012 _ACEOF
22013 if ac_fn_c_try_link "$LINENO"; then :
22014 ac_gcsections=yes
22015 else
22016 ac_gcsections=no
22018 rm -f core conftest.err conftest.$ac_objext \
22019 conftest$ac_exeext conftest.$ac_ext
22020 if test "$ac_gcsections" = "yes"; then
22021 rm -f conftest.c
22022 touch conftest.c
22023 if $CC -c conftest.c; then
22024 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22025 grep "Warning: gc-sections option ignored" > /dev/null; then
22026 ac_gcsections=no
22029 rm -f conftest.c conftest.o conftest
22031 if test "$ac_gcsections" = "yes"; then
22032 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22035 $as_echo "$ac_gcsections" >&6; }
22037 if test "$ac_test_CFLAGS" = set; then
22038 CFLAGS="$ac_save_CFLAGS"
22039 else
22040 # this is the suspicious part
22041 CFLAGS=''
22045 # Set -z,relro.
22046 # Note this is only for shared objects.
22047 ac_ld_relro=no
22048 if test x"$with_gnu_ld" = x"yes"; then
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22050 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22051 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22052 if test -n "$cxx_z_relo"; then
22053 OPT_LDFLAGS="-Wl,-z,relro"
22054 ac_ld_relro=yes
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22057 $as_echo "$ac_ld_relro" >&6; }
22060 # Set linker optimization flags.
22061 if test x"$with_gnu_ld" = x"yes"; then
22062 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22069 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22070 ac_save_CXXFLAGS="$CXXFLAGS"
22071 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22074 $as_echo_n "checking for sin in -lm... " >&6; }
22075 if test "${ac_cv_lib_m_sin+set}" = set; then :
22076 $as_echo_n "(cached) " >&6
22077 else
22078 ac_check_lib_save_LIBS=$LIBS
22079 LIBS="-lm $LIBS"
22080 if test x$gcc_no_link = xyes; then
22081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22084 /* end confdefs.h. */
22086 /* Override any GCC internal prototype to avoid an error.
22087 Use char because int might match the return type of a GCC
22088 builtin and then its argument prototype would still apply. */
22089 #ifdef __cplusplus
22090 extern "C"
22091 #endif
22092 char sin ();
22094 main ()
22096 return sin ();
22098 return 0;
22100 _ACEOF
22101 if ac_fn_c_try_link "$LINENO"; then :
22102 ac_cv_lib_m_sin=yes
22103 else
22104 ac_cv_lib_m_sin=no
22106 rm -f core conftest.err conftest.$ac_objext \
22107 conftest$ac_exeext conftest.$ac_ext
22108 LIBS=$ac_check_lib_save_LIBS
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22111 $as_echo "$ac_cv_lib_m_sin" >&6; }
22112 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22113 libm="-lm"
22116 ac_save_LIBS="$LIBS"
22117 LIBS="$LIBS $libm"
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22122 $as_echo_n "checking for isinf declaration... " >&6; }
22123 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22124 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22125 $as_echo_n "(cached) " >&6
22126 else
22129 ac_ext=cpp
22130 ac_cpp='$CXXCPP $CPPFLAGS'
22131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22136 /* end confdefs.h. */
22137 #include <math.h>
22138 #ifdef HAVE_IEEEFP_H
22139 #include <ieeefp.h>
22140 #endif
22143 main ()
22145 isinf(0);
22147 return 0;
22149 _ACEOF
22150 if ac_fn_cxx_try_compile "$LINENO"; then :
22151 glibcxx_cv_func_isinf_use=yes
22152 else
22153 glibcxx_cv_func_isinf_use=no
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22156 ac_ext=c
22157 ac_cpp='$CPP $CPPFLAGS'
22158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22167 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22169 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22170 for ac_func in isinf
22171 do :
22172 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22173 if test "x$ac_cv_func_isinf" = x""yes; then :
22174 cat >>confdefs.h <<_ACEOF
22175 #define HAVE_ISINF 1
22176 _ACEOF
22179 done
22181 else
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22184 $as_echo_n "checking for _isinf declaration... " >&6; }
22185 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22186 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22187 $as_echo_n "(cached) " >&6
22188 else
22191 ac_ext=cpp
22192 ac_cpp='$CXXCPP $CPPFLAGS'
22193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22198 /* end confdefs.h. */
22199 #include <math.h>
22200 #ifdef HAVE_IEEEFP_H
22201 #include <ieeefp.h>
22202 #endif
22205 main ()
22207 _isinf(0);
22209 return 0;
22211 _ACEOF
22212 if ac_fn_cxx_try_compile "$LINENO"; then :
22213 glibcxx_cv_func__isinf_use=yes
22214 else
22215 glibcxx_cv_func__isinf_use=no
22217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22218 ac_ext=c
22219 ac_cpp='$CPP $CPPFLAGS'
22220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22229 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22231 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22232 for ac_func in _isinf
22233 do :
22234 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22235 if test "x$ac_cv_func__isinf" = x""yes; then :
22236 cat >>confdefs.h <<_ACEOF
22237 #define HAVE__ISINF 1
22238 _ACEOF
22241 done
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22251 $as_echo_n "checking for isnan declaration... " >&6; }
22252 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22253 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22254 $as_echo_n "(cached) " >&6
22255 else
22258 ac_ext=cpp
22259 ac_cpp='$CXXCPP $CPPFLAGS'
22260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22266 #include <math.h>
22267 #ifdef HAVE_IEEEFP_H
22268 #include <ieeefp.h>
22269 #endif
22272 main ()
22274 isnan(0);
22276 return 0;
22278 _ACEOF
22279 if ac_fn_cxx_try_compile "$LINENO"; then :
22280 glibcxx_cv_func_isnan_use=yes
22281 else
22282 glibcxx_cv_func_isnan_use=no
22284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22285 ac_ext=c
22286 ac_cpp='$CPP $CPPFLAGS'
22287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22296 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22298 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22299 for ac_func in isnan
22300 do :
22301 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22302 if test "x$ac_cv_func_isnan" = x""yes; then :
22303 cat >>confdefs.h <<_ACEOF
22304 #define HAVE_ISNAN 1
22305 _ACEOF
22308 done
22310 else
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22313 $as_echo_n "checking for _isnan declaration... " >&6; }
22314 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22315 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22316 $as_echo_n "(cached) " >&6
22317 else
22320 ac_ext=cpp
22321 ac_cpp='$CXXCPP $CPPFLAGS'
22322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22327 /* end confdefs.h. */
22328 #include <math.h>
22329 #ifdef HAVE_IEEEFP_H
22330 #include <ieeefp.h>
22331 #endif
22334 main ()
22336 _isnan(0);
22338 return 0;
22340 _ACEOF
22341 if ac_fn_cxx_try_compile "$LINENO"; then :
22342 glibcxx_cv_func__isnan_use=yes
22343 else
22344 glibcxx_cv_func__isnan_use=no
22346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22347 ac_ext=c
22348 ac_cpp='$CPP $CPPFLAGS'
22349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22358 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22360 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22361 for ac_func in _isnan
22362 do :
22363 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22364 if test "x$ac_cv_func__isnan" = x""yes; then :
22365 cat >>confdefs.h <<_ACEOF
22366 #define HAVE__ISNAN 1
22367 _ACEOF
22370 done
22379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22380 $as_echo_n "checking for finite declaration... " >&6; }
22381 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22382 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22383 $as_echo_n "(cached) " >&6
22384 else
22387 ac_ext=cpp
22388 ac_cpp='$CXXCPP $CPPFLAGS'
22389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22394 /* end confdefs.h. */
22395 #include <math.h>
22396 #ifdef HAVE_IEEEFP_H
22397 #include <ieeefp.h>
22398 #endif
22401 main ()
22403 finite(0);
22405 return 0;
22407 _ACEOF
22408 if ac_fn_cxx_try_compile "$LINENO"; then :
22409 glibcxx_cv_func_finite_use=yes
22410 else
22411 glibcxx_cv_func_finite_use=no
22413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22414 ac_ext=c
22415 ac_cpp='$CPP $CPPFLAGS'
22416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22425 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22427 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22428 for ac_func in finite
22429 do :
22430 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22431 if test "x$ac_cv_func_finite" = x""yes; then :
22432 cat >>confdefs.h <<_ACEOF
22433 #define HAVE_FINITE 1
22434 _ACEOF
22437 done
22439 else
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22442 $as_echo_n "checking for _finite declaration... " >&6; }
22443 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22444 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22445 $as_echo_n "(cached) " >&6
22446 else
22449 ac_ext=cpp
22450 ac_cpp='$CXXCPP $CPPFLAGS'
22451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22456 /* end confdefs.h. */
22457 #include <math.h>
22458 #ifdef HAVE_IEEEFP_H
22459 #include <ieeefp.h>
22460 #endif
22463 main ()
22465 _finite(0);
22467 return 0;
22469 _ACEOF
22470 if ac_fn_cxx_try_compile "$LINENO"; then :
22471 glibcxx_cv_func__finite_use=yes
22472 else
22473 glibcxx_cv_func__finite_use=no
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 ac_ext=c
22477 ac_cpp='$CPP $CPPFLAGS'
22478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22487 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22489 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22490 for ac_func in _finite
22491 do :
22492 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22493 if test "x$ac_cv_func__finite" = x""yes; then :
22494 cat >>confdefs.h <<_ACEOF
22495 #define HAVE__FINITE 1
22496 _ACEOF
22499 done
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22509 $as_echo_n "checking for sincos declaration... " >&6; }
22510 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22511 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22512 $as_echo_n "(cached) " >&6
22513 else
22516 ac_ext=cpp
22517 ac_cpp='$CXXCPP $CPPFLAGS'
22518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22523 /* end confdefs.h. */
22524 #include <math.h>
22526 main ()
22528 sincos(0, 0, 0);
22530 return 0;
22532 _ACEOF
22533 if ac_fn_cxx_try_compile "$LINENO"; then :
22534 glibcxx_cv_func_sincos_use=yes
22535 else
22536 glibcxx_cv_func_sincos_use=no
22538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22539 ac_ext=c
22540 ac_cpp='$CPP $CPPFLAGS'
22541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22550 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22552 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22553 for ac_func in sincos
22554 do :
22555 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22556 if test "x$ac_cv_func_sincos" = x""yes; then :
22557 cat >>confdefs.h <<_ACEOF
22558 #define HAVE_SINCOS 1
22559 _ACEOF
22562 done
22564 else
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22567 $as_echo_n "checking for _sincos declaration... " >&6; }
22568 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22569 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22570 $as_echo_n "(cached) " >&6
22571 else
22574 ac_ext=cpp
22575 ac_cpp='$CXXCPP $CPPFLAGS'
22576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22581 /* end confdefs.h. */
22582 #include <math.h>
22584 main ()
22586 _sincos(0, 0, 0);
22588 return 0;
22590 _ACEOF
22591 if ac_fn_cxx_try_compile "$LINENO"; then :
22592 glibcxx_cv_func__sincos_use=yes
22593 else
22594 glibcxx_cv_func__sincos_use=no
22596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22597 ac_ext=c
22598 ac_cpp='$CPP $CPPFLAGS'
22599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22608 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22610 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22611 for ac_func in _sincos
22612 do :
22613 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22614 if test "x$ac_cv_func__sincos" = x""yes; then :
22615 cat >>confdefs.h <<_ACEOF
22616 #define HAVE__SINCOS 1
22617 _ACEOF
22620 done
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22630 $as_echo_n "checking for fpclass declaration... " >&6; }
22631 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22632 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22633 $as_echo_n "(cached) " >&6
22634 else
22637 ac_ext=cpp
22638 ac_cpp='$CXXCPP $CPPFLAGS'
22639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22644 /* end confdefs.h. */
22645 #include <math.h>
22646 #ifdef HAVE_IEEEFP_H
22647 #include <ieeefp.h>
22648 #endif
22651 main ()
22653 fpclass(0);
22655 return 0;
22657 _ACEOF
22658 if ac_fn_cxx_try_compile "$LINENO"; then :
22659 glibcxx_cv_func_fpclass_use=yes
22660 else
22661 glibcxx_cv_func_fpclass_use=no
22663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22664 ac_ext=c
22665 ac_cpp='$CPP $CPPFLAGS'
22666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22675 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22677 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22678 for ac_func in fpclass
22679 do :
22680 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22681 if test "x$ac_cv_func_fpclass" = x""yes; then :
22682 cat >>confdefs.h <<_ACEOF
22683 #define HAVE_FPCLASS 1
22684 _ACEOF
22687 done
22689 else
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22692 $as_echo_n "checking for _fpclass declaration... " >&6; }
22693 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22694 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22695 $as_echo_n "(cached) " >&6
22696 else
22699 ac_ext=cpp
22700 ac_cpp='$CXXCPP $CPPFLAGS'
22701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22706 /* end confdefs.h. */
22707 #include <math.h>
22708 #ifdef HAVE_IEEEFP_H
22709 #include <ieeefp.h>
22710 #endif
22713 main ()
22715 _fpclass(0);
22717 return 0;
22719 _ACEOF
22720 if ac_fn_cxx_try_compile "$LINENO"; then :
22721 glibcxx_cv_func__fpclass_use=yes
22722 else
22723 glibcxx_cv_func__fpclass_use=no
22725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22726 ac_ext=c
22727 ac_cpp='$CPP $CPPFLAGS'
22728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22737 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22739 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22740 for ac_func in _fpclass
22741 do :
22742 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22743 if test "x$ac_cv_func__fpclass" = x""yes; then :
22744 cat >>confdefs.h <<_ACEOF
22745 #define HAVE__FPCLASS 1
22746 _ACEOF
22749 done
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22759 $as_echo_n "checking for qfpclass declaration... " >&6; }
22760 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22761 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22762 $as_echo_n "(cached) " >&6
22763 else
22766 ac_ext=cpp
22767 ac_cpp='$CXXCPP $CPPFLAGS'
22768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22773 /* end confdefs.h. */
22774 #include <math.h>
22775 #ifdef HAVE_IEEEFP_H
22776 #include <ieeefp.h>
22777 #endif
22780 main ()
22782 qfpclass(0);
22784 return 0;
22786 _ACEOF
22787 if ac_fn_cxx_try_compile "$LINENO"; then :
22788 glibcxx_cv_func_qfpclass_use=yes
22789 else
22790 glibcxx_cv_func_qfpclass_use=no
22792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22793 ac_ext=c
22794 ac_cpp='$CPP $CPPFLAGS'
22795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22804 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22806 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22807 for ac_func in qfpclass
22808 do :
22809 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22810 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22811 cat >>confdefs.h <<_ACEOF
22812 #define HAVE_QFPCLASS 1
22813 _ACEOF
22816 done
22818 else
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22821 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22822 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22823 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22824 $as_echo_n "(cached) " >&6
22825 else
22828 ac_ext=cpp
22829 ac_cpp='$CXXCPP $CPPFLAGS'
22830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22835 /* end confdefs.h. */
22836 #include <math.h>
22837 #ifdef HAVE_IEEEFP_H
22838 #include <ieeefp.h>
22839 #endif
22842 main ()
22844 _qfpclass(0);
22846 return 0;
22848 _ACEOF
22849 if ac_fn_cxx_try_compile "$LINENO"; then :
22850 glibcxx_cv_func__qfpclass_use=yes
22851 else
22852 glibcxx_cv_func__qfpclass_use=no
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 ac_ext=c
22856 ac_cpp='$CPP $CPPFLAGS'
22857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22866 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22868 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22869 for ac_func in _qfpclass
22870 do :
22871 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22872 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22873 cat >>confdefs.h <<_ACEOF
22874 #define HAVE__QFPCLASS 1
22875 _ACEOF
22878 done
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22888 $as_echo_n "checking for hypot declaration... " >&6; }
22889 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22890 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22891 $as_echo_n "(cached) " >&6
22892 else
22895 ac_ext=cpp
22896 ac_cpp='$CXXCPP $CPPFLAGS'
22897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22902 /* end confdefs.h. */
22903 #include <math.h>
22905 main ()
22907 hypot(0, 0);
22909 return 0;
22911 _ACEOF
22912 if ac_fn_cxx_try_compile "$LINENO"; then :
22913 glibcxx_cv_func_hypot_use=yes
22914 else
22915 glibcxx_cv_func_hypot_use=no
22917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918 ac_ext=c
22919 ac_cpp='$CPP $CPPFLAGS'
22920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22929 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22931 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22932 for ac_func in hypot
22933 do :
22934 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22935 if test "x$ac_cv_func_hypot" = x""yes; then :
22936 cat >>confdefs.h <<_ACEOF
22937 #define HAVE_HYPOT 1
22938 _ACEOF
22941 done
22943 else
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22946 $as_echo_n "checking for _hypot declaration... " >&6; }
22947 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22948 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22949 $as_echo_n "(cached) " >&6
22950 else
22953 ac_ext=cpp
22954 ac_cpp='$CXXCPP $CPPFLAGS'
22955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h. */
22961 #include <math.h>
22963 main ()
22965 _hypot(0, 0);
22967 return 0;
22969 _ACEOF
22970 if ac_fn_cxx_try_compile "$LINENO"; then :
22971 glibcxx_cv_func__hypot_use=yes
22972 else
22973 glibcxx_cv_func__hypot_use=no
22975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22976 ac_ext=c
22977 ac_cpp='$CPP $CPPFLAGS'
22978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22987 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22989 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22990 for ac_func in _hypot
22991 do :
22992 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22993 if test "x$ac_cv_func__hypot" = x""yes; then :
22994 cat >>confdefs.h <<_ACEOF
22995 #define HAVE__HYPOT 1
22996 _ACEOF
22999 done
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23009 $as_echo_n "checking for float trig functions... " >&6; }
23010 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23011 $as_echo_n "(cached) " >&6
23012 else
23015 ac_ext=cpp
23016 ac_cpp='$CXXCPP $CPPFLAGS'
23017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23022 /* end confdefs.h. */
23023 #include <math.h>
23025 main ()
23027 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23029 return 0;
23031 _ACEOF
23032 if ac_fn_cxx_try_compile "$LINENO"; then :
23033 glibcxx_cv_func_float_trig_use=yes
23034 else
23035 glibcxx_cv_func_float_trig_use=no
23037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23038 ac_ext=c
23039 ac_cpp='$CPP $CPPFLAGS'
23040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23047 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23048 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23049 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23050 do :
23051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23053 eval as_val=\$$as_ac_var
23054 if test "x$as_val" = x""yes; then :
23055 cat >>confdefs.h <<_ACEOF
23056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23057 _ACEOF
23060 done
23062 else
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23064 $as_echo_n "checking for _float trig functions... " >&6; }
23065 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23066 $as_echo_n "(cached) " >&6
23067 else
23070 ac_ext=cpp
23071 ac_cpp='$CXXCPP $CPPFLAGS'
23072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23077 /* end confdefs.h. */
23078 #include <math.h>
23080 main ()
23082 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23084 return 0;
23086 _ACEOF
23087 if ac_fn_cxx_try_compile "$LINENO"; then :
23088 glibcxx_cv_func__float_trig_use=yes
23089 else
23090 glibcxx_cv_func__float_trig_use=no
23092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23093 ac_ext=c
23094 ac_cpp='$CPP $CPPFLAGS'
23095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23102 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23103 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23104 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23105 do :
23106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23108 eval as_val=\$$as_ac_var
23109 if test "x$as_val" = x""yes; then :
23110 cat >>confdefs.h <<_ACEOF
23111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23112 _ACEOF
23115 done
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23125 $as_echo_n "checking for float round functions... " >&6; }
23126 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23127 $as_echo_n "(cached) " >&6
23128 else
23131 ac_ext=cpp
23132 ac_cpp='$CXXCPP $CPPFLAGS'
23133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23138 /* end confdefs.h. */
23139 #include <math.h>
23141 main ()
23143 ceilf (0); floorf (0);
23145 return 0;
23147 _ACEOF
23148 if ac_fn_cxx_try_compile "$LINENO"; then :
23149 glibcxx_cv_func_float_round_use=yes
23150 else
23151 glibcxx_cv_func_float_round_use=no
23153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23154 ac_ext=c
23155 ac_cpp='$CPP $CPPFLAGS'
23156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23163 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23164 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23165 for ac_func in ceilf floorf
23166 do :
23167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23169 eval as_val=\$$as_ac_var
23170 if test "x$as_val" = x""yes; then :
23171 cat >>confdefs.h <<_ACEOF
23172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23173 _ACEOF
23176 done
23178 else
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23180 $as_echo_n "checking for _float round functions... " >&6; }
23181 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23182 $as_echo_n "(cached) " >&6
23183 else
23186 ac_ext=cpp
23187 ac_cpp='$CXXCPP $CPPFLAGS'
23188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23193 /* end confdefs.h. */
23194 #include <math.h>
23196 main ()
23198 _ceilf (0); _floorf (0);
23200 return 0;
23202 _ACEOF
23203 if ac_fn_cxx_try_compile "$LINENO"; then :
23204 glibcxx_cv_func__float_round_use=yes
23205 else
23206 glibcxx_cv_func__float_round_use=no
23208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23209 ac_ext=c
23210 ac_cpp='$CPP $CPPFLAGS'
23211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23218 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23219 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23220 for ac_func in _ceilf _floorf
23221 do :
23222 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23223 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23224 eval as_val=\$$as_ac_var
23225 if test "x$as_val" = x""yes; then :
23226 cat >>confdefs.h <<_ACEOF
23227 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23228 _ACEOF
23231 done
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23242 $as_echo_n "checking for expf declaration... " >&6; }
23243 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23244 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23245 $as_echo_n "(cached) " >&6
23246 else
23249 ac_ext=cpp
23250 ac_cpp='$CXXCPP $CPPFLAGS'
23251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23256 /* end confdefs.h. */
23257 #include <math.h>
23258 #ifdef HAVE_IEEEFP_H
23259 #include <ieeefp.h>
23260 #endif
23263 main ()
23265 expf(0);
23267 return 0;
23269 _ACEOF
23270 if ac_fn_cxx_try_compile "$LINENO"; then :
23271 glibcxx_cv_func_expf_use=yes
23272 else
23273 glibcxx_cv_func_expf_use=no
23275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23276 ac_ext=c
23277 ac_cpp='$CPP $CPPFLAGS'
23278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23287 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23289 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23290 for ac_func in expf
23291 do :
23292 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23293 if test "x$ac_cv_func_expf" = x""yes; then :
23294 cat >>confdefs.h <<_ACEOF
23295 #define HAVE_EXPF 1
23296 _ACEOF
23299 done
23301 else
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23304 $as_echo_n "checking for _expf declaration... " >&6; }
23305 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23306 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23307 $as_echo_n "(cached) " >&6
23308 else
23311 ac_ext=cpp
23312 ac_cpp='$CXXCPP $CPPFLAGS'
23313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23318 /* end confdefs.h. */
23319 #include <math.h>
23320 #ifdef HAVE_IEEEFP_H
23321 #include <ieeefp.h>
23322 #endif
23325 main ()
23327 _expf(0);
23329 return 0;
23331 _ACEOF
23332 if ac_fn_cxx_try_compile "$LINENO"; then :
23333 glibcxx_cv_func__expf_use=yes
23334 else
23335 glibcxx_cv_func__expf_use=no
23337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23338 ac_ext=c
23339 ac_cpp='$CPP $CPPFLAGS'
23340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23349 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23351 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23352 for ac_func in _expf
23353 do :
23354 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23355 if test "x$ac_cv_func__expf" = x""yes; then :
23356 cat >>confdefs.h <<_ACEOF
23357 #define HAVE__EXPF 1
23358 _ACEOF
23361 done
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23371 $as_echo_n "checking for isnanf declaration... " >&6; }
23372 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23373 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23374 $as_echo_n "(cached) " >&6
23375 else
23378 ac_ext=cpp
23379 ac_cpp='$CXXCPP $CPPFLAGS'
23380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23385 /* end confdefs.h. */
23386 #include <math.h>
23387 #ifdef HAVE_IEEEFP_H
23388 #include <ieeefp.h>
23389 #endif
23392 main ()
23394 isnanf(0);
23396 return 0;
23398 _ACEOF
23399 if ac_fn_cxx_try_compile "$LINENO"; then :
23400 glibcxx_cv_func_isnanf_use=yes
23401 else
23402 glibcxx_cv_func_isnanf_use=no
23404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23405 ac_ext=c
23406 ac_cpp='$CPP $CPPFLAGS'
23407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23416 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23418 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23419 for ac_func in isnanf
23420 do :
23421 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23422 if test "x$ac_cv_func_isnanf" = x""yes; then :
23423 cat >>confdefs.h <<_ACEOF
23424 #define HAVE_ISNANF 1
23425 _ACEOF
23428 done
23430 else
23432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23433 $as_echo_n "checking for _isnanf declaration... " >&6; }
23434 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23435 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23436 $as_echo_n "(cached) " >&6
23437 else
23440 ac_ext=cpp
23441 ac_cpp='$CXXCPP $CPPFLAGS'
23442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23447 /* end confdefs.h. */
23448 #include <math.h>
23449 #ifdef HAVE_IEEEFP_H
23450 #include <ieeefp.h>
23451 #endif
23454 main ()
23456 _isnanf(0);
23458 return 0;
23460 _ACEOF
23461 if ac_fn_cxx_try_compile "$LINENO"; then :
23462 glibcxx_cv_func__isnanf_use=yes
23463 else
23464 glibcxx_cv_func__isnanf_use=no
23466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23467 ac_ext=c
23468 ac_cpp='$CPP $CPPFLAGS'
23469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23478 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23480 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23481 for ac_func in _isnanf
23482 do :
23483 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23484 if test "x$ac_cv_func__isnanf" = x""yes; then :
23485 cat >>confdefs.h <<_ACEOF
23486 #define HAVE__ISNANF 1
23487 _ACEOF
23490 done
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23500 $as_echo_n "checking for isinff declaration... " >&6; }
23501 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23502 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23503 $as_echo_n "(cached) " >&6
23504 else
23507 ac_ext=cpp
23508 ac_cpp='$CXXCPP $CPPFLAGS'
23509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23514 /* end confdefs.h. */
23515 #include <math.h>
23516 #ifdef HAVE_IEEEFP_H
23517 #include <ieeefp.h>
23518 #endif
23521 main ()
23523 isinff(0);
23525 return 0;
23527 _ACEOF
23528 if ac_fn_cxx_try_compile "$LINENO"; then :
23529 glibcxx_cv_func_isinff_use=yes
23530 else
23531 glibcxx_cv_func_isinff_use=no
23533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23534 ac_ext=c
23535 ac_cpp='$CPP $CPPFLAGS'
23536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23545 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23547 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23548 for ac_func in isinff
23549 do :
23550 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23551 if test "x$ac_cv_func_isinff" = x""yes; then :
23552 cat >>confdefs.h <<_ACEOF
23553 #define HAVE_ISINFF 1
23554 _ACEOF
23557 done
23559 else
23561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23562 $as_echo_n "checking for _isinff declaration... " >&6; }
23563 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23564 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23565 $as_echo_n "(cached) " >&6
23566 else
23569 ac_ext=cpp
23570 ac_cpp='$CXXCPP $CPPFLAGS'
23571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23576 /* end confdefs.h. */
23577 #include <math.h>
23578 #ifdef HAVE_IEEEFP_H
23579 #include <ieeefp.h>
23580 #endif
23583 main ()
23585 _isinff(0);
23587 return 0;
23589 _ACEOF
23590 if ac_fn_cxx_try_compile "$LINENO"; then :
23591 glibcxx_cv_func__isinff_use=yes
23592 else
23593 glibcxx_cv_func__isinff_use=no
23595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23596 ac_ext=c
23597 ac_cpp='$CPP $CPPFLAGS'
23598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23607 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23609 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23610 for ac_func in _isinff
23611 do :
23612 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23613 if test "x$ac_cv_func__isinff" = x""yes; then :
23614 cat >>confdefs.h <<_ACEOF
23615 #define HAVE__ISINFF 1
23616 _ACEOF
23619 done
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23629 $as_echo_n "checking for atan2f declaration... " >&6; }
23630 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23631 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23632 $as_echo_n "(cached) " >&6
23633 else
23636 ac_ext=cpp
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23644 #include <math.h>
23646 main ()
23648 atan2f(0, 0);
23650 return 0;
23652 _ACEOF
23653 if ac_fn_cxx_try_compile "$LINENO"; then :
23654 glibcxx_cv_func_atan2f_use=yes
23655 else
23656 glibcxx_cv_func_atan2f_use=no
23658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659 ac_ext=c
23660 ac_cpp='$CPP $CPPFLAGS'
23661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23670 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23672 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23673 for ac_func in atan2f
23674 do :
23675 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23676 if test "x$ac_cv_func_atan2f" = x""yes; then :
23677 cat >>confdefs.h <<_ACEOF
23678 #define HAVE_ATAN2F 1
23679 _ACEOF
23682 done
23684 else
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23687 $as_echo_n "checking for _atan2f declaration... " >&6; }
23688 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23689 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23690 $as_echo_n "(cached) " >&6
23691 else
23694 ac_ext=cpp
23695 ac_cpp='$CXXCPP $CPPFLAGS'
23696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23701 /* end confdefs.h. */
23702 #include <math.h>
23704 main ()
23706 _atan2f(0, 0);
23708 return 0;
23710 _ACEOF
23711 if ac_fn_cxx_try_compile "$LINENO"; then :
23712 glibcxx_cv_func__atan2f_use=yes
23713 else
23714 glibcxx_cv_func__atan2f_use=no
23716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23717 ac_ext=c
23718 ac_cpp='$CPP $CPPFLAGS'
23719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23728 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23730 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23731 for ac_func in _atan2f
23732 do :
23733 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23734 if test "x$ac_cv_func__atan2f" = x""yes; then :
23735 cat >>confdefs.h <<_ACEOF
23736 #define HAVE__ATAN2F 1
23737 _ACEOF
23740 done
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23750 $as_echo_n "checking for fabsf declaration... " >&6; }
23751 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23752 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23753 $as_echo_n "(cached) " >&6
23754 else
23757 ac_ext=cpp
23758 ac_cpp='$CXXCPP $CPPFLAGS'
23759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23764 /* end confdefs.h. */
23765 #include <math.h>
23766 #ifdef HAVE_IEEEFP_H
23767 #include <ieeefp.h>
23768 #endif
23771 main ()
23773 fabsf(0);
23775 return 0;
23777 _ACEOF
23778 if ac_fn_cxx_try_compile "$LINENO"; then :
23779 glibcxx_cv_func_fabsf_use=yes
23780 else
23781 glibcxx_cv_func_fabsf_use=no
23783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23784 ac_ext=c
23785 ac_cpp='$CPP $CPPFLAGS'
23786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23795 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23797 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23798 for ac_func in fabsf
23799 do :
23800 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23801 if test "x$ac_cv_func_fabsf" = x""yes; then :
23802 cat >>confdefs.h <<_ACEOF
23803 #define HAVE_FABSF 1
23804 _ACEOF
23807 done
23809 else
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23812 $as_echo_n "checking for _fabsf declaration... " >&6; }
23813 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23814 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23815 $as_echo_n "(cached) " >&6
23816 else
23819 ac_ext=cpp
23820 ac_cpp='$CXXCPP $CPPFLAGS'
23821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23826 /* end confdefs.h. */
23827 #include <math.h>
23828 #ifdef HAVE_IEEEFP_H
23829 #include <ieeefp.h>
23830 #endif
23833 main ()
23835 _fabsf(0);
23837 return 0;
23839 _ACEOF
23840 if ac_fn_cxx_try_compile "$LINENO"; then :
23841 glibcxx_cv_func__fabsf_use=yes
23842 else
23843 glibcxx_cv_func__fabsf_use=no
23845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23846 ac_ext=c
23847 ac_cpp='$CPP $CPPFLAGS'
23848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23857 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23859 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23860 for ac_func in _fabsf
23861 do :
23862 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23863 if test "x$ac_cv_func__fabsf" = x""yes; then :
23864 cat >>confdefs.h <<_ACEOF
23865 #define HAVE__FABSF 1
23866 _ACEOF
23869 done
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23879 $as_echo_n "checking for fmodf declaration... " >&6; }
23880 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23881 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23882 $as_echo_n "(cached) " >&6
23883 else
23886 ac_ext=cpp
23887 ac_cpp='$CXXCPP $CPPFLAGS'
23888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23893 /* end confdefs.h. */
23894 #include <math.h>
23896 main ()
23898 fmodf(0, 0);
23900 return 0;
23902 _ACEOF
23903 if ac_fn_cxx_try_compile "$LINENO"; then :
23904 glibcxx_cv_func_fmodf_use=yes
23905 else
23906 glibcxx_cv_func_fmodf_use=no
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 ac_ext=c
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23920 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23922 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23923 for ac_func in fmodf
23924 do :
23925 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23926 if test "x$ac_cv_func_fmodf" = x""yes; then :
23927 cat >>confdefs.h <<_ACEOF
23928 #define HAVE_FMODF 1
23929 _ACEOF
23932 done
23934 else
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23937 $as_echo_n "checking for _fmodf declaration... " >&6; }
23938 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23939 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23940 $as_echo_n "(cached) " >&6
23941 else
23944 ac_ext=cpp
23945 ac_cpp='$CXXCPP $CPPFLAGS'
23946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23951 /* end confdefs.h. */
23952 #include <math.h>
23954 main ()
23956 _fmodf(0, 0);
23958 return 0;
23960 _ACEOF
23961 if ac_fn_cxx_try_compile "$LINENO"; then :
23962 glibcxx_cv_func__fmodf_use=yes
23963 else
23964 glibcxx_cv_func__fmodf_use=no
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 ac_ext=c
23968 ac_cpp='$CPP $CPPFLAGS'
23969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23978 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23980 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23981 for ac_func in _fmodf
23982 do :
23983 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23984 if test "x$ac_cv_func__fmodf" = x""yes; then :
23985 cat >>confdefs.h <<_ACEOF
23986 #define HAVE__FMODF 1
23987 _ACEOF
23990 done
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24000 $as_echo_n "checking for frexpf declaration... " >&6; }
24001 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24002 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24003 $as_echo_n "(cached) " >&6
24004 else
24007 ac_ext=cpp
24008 ac_cpp='$CXXCPP $CPPFLAGS'
24009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24014 /* end confdefs.h. */
24015 #include <math.h>
24017 main ()
24019 frexpf(0, 0);
24021 return 0;
24023 _ACEOF
24024 if ac_fn_cxx_try_compile "$LINENO"; then :
24025 glibcxx_cv_func_frexpf_use=yes
24026 else
24027 glibcxx_cv_func_frexpf_use=no
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 ac_ext=c
24031 ac_cpp='$CPP $CPPFLAGS'
24032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24041 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24043 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24044 for ac_func in frexpf
24045 do :
24046 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24047 if test "x$ac_cv_func_frexpf" = x""yes; then :
24048 cat >>confdefs.h <<_ACEOF
24049 #define HAVE_FREXPF 1
24050 _ACEOF
24053 done
24055 else
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24058 $as_echo_n "checking for _frexpf declaration... " >&6; }
24059 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24060 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24061 $as_echo_n "(cached) " >&6
24062 else
24065 ac_ext=cpp
24066 ac_cpp='$CXXCPP $CPPFLAGS'
24067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24072 /* end confdefs.h. */
24073 #include <math.h>
24075 main ()
24077 _frexpf(0, 0);
24079 return 0;
24081 _ACEOF
24082 if ac_fn_cxx_try_compile "$LINENO"; then :
24083 glibcxx_cv_func__frexpf_use=yes
24084 else
24085 glibcxx_cv_func__frexpf_use=no
24087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088 ac_ext=c
24089 ac_cpp='$CPP $CPPFLAGS'
24090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24099 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24101 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24102 for ac_func in _frexpf
24103 do :
24104 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24105 if test "x$ac_cv_func__frexpf" = x""yes; then :
24106 cat >>confdefs.h <<_ACEOF
24107 #define HAVE__FREXPF 1
24108 _ACEOF
24111 done
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24121 $as_echo_n "checking for hypotf declaration... " >&6; }
24122 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24123 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24124 $as_echo_n "(cached) " >&6
24125 else
24128 ac_ext=cpp
24129 ac_cpp='$CXXCPP $CPPFLAGS'
24130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24135 /* end confdefs.h. */
24136 #include <math.h>
24138 main ()
24140 hypotf(0, 0);
24142 return 0;
24144 _ACEOF
24145 if ac_fn_cxx_try_compile "$LINENO"; then :
24146 glibcxx_cv_func_hypotf_use=yes
24147 else
24148 glibcxx_cv_func_hypotf_use=no
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24151 ac_ext=c
24152 ac_cpp='$CPP $CPPFLAGS'
24153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24162 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24164 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24165 for ac_func in hypotf
24166 do :
24167 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24168 if test "x$ac_cv_func_hypotf" = x""yes; then :
24169 cat >>confdefs.h <<_ACEOF
24170 #define HAVE_HYPOTF 1
24171 _ACEOF
24174 done
24176 else
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24179 $as_echo_n "checking for _hypotf declaration... " >&6; }
24180 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24181 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24182 $as_echo_n "(cached) " >&6
24183 else
24186 ac_ext=cpp
24187 ac_cpp='$CXXCPP $CPPFLAGS'
24188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24193 /* end confdefs.h. */
24194 #include <math.h>
24196 main ()
24198 _hypotf(0, 0);
24200 return 0;
24202 _ACEOF
24203 if ac_fn_cxx_try_compile "$LINENO"; then :
24204 glibcxx_cv_func__hypotf_use=yes
24205 else
24206 glibcxx_cv_func__hypotf_use=no
24208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24209 ac_ext=c
24210 ac_cpp='$CPP $CPPFLAGS'
24211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24220 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24222 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24223 for ac_func in _hypotf
24224 do :
24225 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24226 if test "x$ac_cv_func__hypotf" = x""yes; then :
24227 cat >>confdefs.h <<_ACEOF
24228 #define HAVE__HYPOTF 1
24229 _ACEOF
24232 done
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24242 $as_echo_n "checking for ldexpf declaration... " >&6; }
24243 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24244 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24245 $as_echo_n "(cached) " >&6
24246 else
24249 ac_ext=cpp
24250 ac_cpp='$CXXCPP $CPPFLAGS'
24251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24256 /* end confdefs.h. */
24257 #include <math.h>
24259 main ()
24261 ldexpf(0, 0);
24263 return 0;
24265 _ACEOF
24266 if ac_fn_cxx_try_compile "$LINENO"; then :
24267 glibcxx_cv_func_ldexpf_use=yes
24268 else
24269 glibcxx_cv_func_ldexpf_use=no
24271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24272 ac_ext=c
24273 ac_cpp='$CPP $CPPFLAGS'
24274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24283 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24285 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24286 for ac_func in ldexpf
24287 do :
24288 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24289 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24290 cat >>confdefs.h <<_ACEOF
24291 #define HAVE_LDEXPF 1
24292 _ACEOF
24295 done
24297 else
24299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24300 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24301 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24302 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24303 $as_echo_n "(cached) " >&6
24304 else
24307 ac_ext=cpp
24308 ac_cpp='$CXXCPP $CPPFLAGS'
24309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24314 /* end confdefs.h. */
24315 #include <math.h>
24317 main ()
24319 _ldexpf(0, 0);
24321 return 0;
24323 _ACEOF
24324 if ac_fn_cxx_try_compile "$LINENO"; then :
24325 glibcxx_cv_func__ldexpf_use=yes
24326 else
24327 glibcxx_cv_func__ldexpf_use=no
24329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24330 ac_ext=c
24331 ac_cpp='$CPP $CPPFLAGS'
24332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24341 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24343 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24344 for ac_func in _ldexpf
24345 do :
24346 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24347 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24348 cat >>confdefs.h <<_ACEOF
24349 #define HAVE__LDEXPF 1
24350 _ACEOF
24353 done
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24363 $as_echo_n "checking for logf declaration... " >&6; }
24364 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24365 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24366 $as_echo_n "(cached) " >&6
24367 else
24370 ac_ext=cpp
24371 ac_cpp='$CXXCPP $CPPFLAGS'
24372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24377 /* end confdefs.h. */
24378 #include <math.h>
24379 #ifdef HAVE_IEEEFP_H
24380 #include <ieeefp.h>
24381 #endif
24384 main ()
24386 logf(0);
24388 return 0;
24390 _ACEOF
24391 if ac_fn_cxx_try_compile "$LINENO"; then :
24392 glibcxx_cv_func_logf_use=yes
24393 else
24394 glibcxx_cv_func_logf_use=no
24396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24397 ac_ext=c
24398 ac_cpp='$CPP $CPPFLAGS'
24399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24408 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24410 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24411 for ac_func in logf
24412 do :
24413 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24414 if test "x$ac_cv_func_logf" = x""yes; then :
24415 cat >>confdefs.h <<_ACEOF
24416 #define HAVE_LOGF 1
24417 _ACEOF
24420 done
24422 else
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24425 $as_echo_n "checking for _logf declaration... " >&6; }
24426 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24427 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24428 $as_echo_n "(cached) " >&6
24429 else
24432 ac_ext=cpp
24433 ac_cpp='$CXXCPP $CPPFLAGS'
24434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24439 /* end confdefs.h. */
24440 #include <math.h>
24441 #ifdef HAVE_IEEEFP_H
24442 #include <ieeefp.h>
24443 #endif
24446 main ()
24448 _logf(0);
24450 return 0;
24452 _ACEOF
24453 if ac_fn_cxx_try_compile "$LINENO"; then :
24454 glibcxx_cv_func__logf_use=yes
24455 else
24456 glibcxx_cv_func__logf_use=no
24458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24459 ac_ext=c
24460 ac_cpp='$CPP $CPPFLAGS'
24461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24470 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24472 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24473 for ac_func in _logf
24474 do :
24475 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24476 if test "x$ac_cv_func__logf" = x""yes; then :
24477 cat >>confdefs.h <<_ACEOF
24478 #define HAVE__LOGF 1
24479 _ACEOF
24482 done
24491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24492 $as_echo_n "checking for log10f declaration... " >&6; }
24493 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24494 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24495 $as_echo_n "(cached) " >&6
24496 else
24499 ac_ext=cpp
24500 ac_cpp='$CXXCPP $CPPFLAGS'
24501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24506 /* end confdefs.h. */
24507 #include <math.h>
24508 #ifdef HAVE_IEEEFP_H
24509 #include <ieeefp.h>
24510 #endif
24513 main ()
24515 log10f(0);
24517 return 0;
24519 _ACEOF
24520 if ac_fn_cxx_try_compile "$LINENO"; then :
24521 glibcxx_cv_func_log10f_use=yes
24522 else
24523 glibcxx_cv_func_log10f_use=no
24525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24526 ac_ext=c
24527 ac_cpp='$CPP $CPPFLAGS'
24528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24537 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24539 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24540 for ac_func in log10f
24541 do :
24542 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24543 if test "x$ac_cv_func_log10f" = x""yes; then :
24544 cat >>confdefs.h <<_ACEOF
24545 #define HAVE_LOG10F 1
24546 _ACEOF
24549 done
24551 else
24553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24554 $as_echo_n "checking for _log10f declaration... " >&6; }
24555 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24556 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24557 $as_echo_n "(cached) " >&6
24558 else
24561 ac_ext=cpp
24562 ac_cpp='$CXXCPP $CPPFLAGS'
24563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24568 /* end confdefs.h. */
24569 #include <math.h>
24570 #ifdef HAVE_IEEEFP_H
24571 #include <ieeefp.h>
24572 #endif
24575 main ()
24577 _log10f(0);
24579 return 0;
24581 _ACEOF
24582 if ac_fn_cxx_try_compile "$LINENO"; then :
24583 glibcxx_cv_func__log10f_use=yes
24584 else
24585 glibcxx_cv_func__log10f_use=no
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588 ac_ext=c
24589 ac_cpp='$CPP $CPPFLAGS'
24590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24599 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24601 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24602 for ac_func in _log10f
24603 do :
24604 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24605 if test "x$ac_cv_func__log10f" = x""yes; then :
24606 cat >>confdefs.h <<_ACEOF
24607 #define HAVE__LOG10F 1
24608 _ACEOF
24611 done
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24621 $as_echo_n "checking for modff declaration... " >&6; }
24622 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24623 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24624 $as_echo_n "(cached) " >&6
24625 else
24628 ac_ext=cpp
24629 ac_cpp='$CXXCPP $CPPFLAGS'
24630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24635 /* end confdefs.h. */
24636 #include <math.h>
24638 main ()
24640 modff(0, 0);
24642 return 0;
24644 _ACEOF
24645 if ac_fn_cxx_try_compile "$LINENO"; then :
24646 glibcxx_cv_func_modff_use=yes
24647 else
24648 glibcxx_cv_func_modff_use=no
24650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 ac_ext=c
24652 ac_cpp='$CPP $CPPFLAGS'
24653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24662 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24664 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24665 for ac_func in modff
24666 do :
24667 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24668 if test "x$ac_cv_func_modff" = x""yes; then :
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_MODFF 1
24671 _ACEOF
24674 done
24676 else
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24679 $as_echo_n "checking for _modff declaration... " >&6; }
24680 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24681 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24682 $as_echo_n "(cached) " >&6
24683 else
24686 ac_ext=cpp
24687 ac_cpp='$CXXCPP $CPPFLAGS'
24688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24693 /* end confdefs.h. */
24694 #include <math.h>
24696 main ()
24698 _modff(0, 0);
24700 return 0;
24702 _ACEOF
24703 if ac_fn_cxx_try_compile "$LINENO"; then :
24704 glibcxx_cv_func__modff_use=yes
24705 else
24706 glibcxx_cv_func__modff_use=no
24708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24709 ac_ext=c
24710 ac_cpp='$CPP $CPPFLAGS'
24711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24720 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24722 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24723 for ac_func in _modff
24724 do :
24725 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24726 if test "x$ac_cv_func__modff" = x""yes; then :
24727 cat >>confdefs.h <<_ACEOF
24728 #define HAVE__MODFF 1
24729 _ACEOF
24732 done
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24742 $as_echo_n "checking for modf declaration... " >&6; }
24743 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24744 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24745 $as_echo_n "(cached) " >&6
24746 else
24749 ac_ext=cpp
24750 ac_cpp='$CXXCPP $CPPFLAGS'
24751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24756 /* end confdefs.h. */
24757 #include <math.h>
24759 main ()
24761 modf(0, 0);
24763 return 0;
24765 _ACEOF
24766 if ac_fn_cxx_try_compile "$LINENO"; then :
24767 glibcxx_cv_func_modf_use=yes
24768 else
24769 glibcxx_cv_func_modf_use=no
24771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24772 ac_ext=c
24773 ac_cpp='$CPP $CPPFLAGS'
24774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24783 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24785 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24786 for ac_func in modf
24787 do :
24788 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24789 if test "x$ac_cv_func_modf" = x""yes; then :
24790 cat >>confdefs.h <<_ACEOF
24791 #define HAVE_MODF 1
24792 _ACEOF
24795 done
24797 else
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24800 $as_echo_n "checking for _modf declaration... " >&6; }
24801 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24802 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24803 $as_echo_n "(cached) " >&6
24804 else
24807 ac_ext=cpp
24808 ac_cpp='$CXXCPP $CPPFLAGS'
24809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24814 /* end confdefs.h. */
24815 #include <math.h>
24817 main ()
24819 _modf(0, 0);
24821 return 0;
24823 _ACEOF
24824 if ac_fn_cxx_try_compile "$LINENO"; then :
24825 glibcxx_cv_func__modf_use=yes
24826 else
24827 glibcxx_cv_func__modf_use=no
24829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24830 ac_ext=c
24831 ac_cpp='$CPP $CPPFLAGS'
24832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24841 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24843 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24844 for ac_func in _modf
24845 do :
24846 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24847 if test "x$ac_cv_func__modf" = x""yes; then :
24848 cat >>confdefs.h <<_ACEOF
24849 #define HAVE__MODF 1
24850 _ACEOF
24853 done
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24863 $as_echo_n "checking for powf declaration... " >&6; }
24864 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24865 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24866 $as_echo_n "(cached) " >&6
24867 else
24870 ac_ext=cpp
24871 ac_cpp='$CXXCPP $CPPFLAGS'
24872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24877 /* end confdefs.h. */
24878 #include <math.h>
24880 main ()
24882 powf(0, 0);
24884 return 0;
24886 _ACEOF
24887 if ac_fn_cxx_try_compile "$LINENO"; then :
24888 glibcxx_cv_func_powf_use=yes
24889 else
24890 glibcxx_cv_func_powf_use=no
24892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24893 ac_ext=c
24894 ac_cpp='$CPP $CPPFLAGS'
24895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24904 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24906 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24907 for ac_func in powf
24908 do :
24909 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24910 if test "x$ac_cv_func_powf" = x""yes; then :
24911 cat >>confdefs.h <<_ACEOF
24912 #define HAVE_POWF 1
24913 _ACEOF
24916 done
24918 else
24920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24921 $as_echo_n "checking for _powf declaration... " >&6; }
24922 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24923 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24924 $as_echo_n "(cached) " >&6
24925 else
24928 ac_ext=cpp
24929 ac_cpp='$CXXCPP $CPPFLAGS'
24930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24935 /* end confdefs.h. */
24936 #include <math.h>
24938 main ()
24940 _powf(0, 0);
24942 return 0;
24944 _ACEOF
24945 if ac_fn_cxx_try_compile "$LINENO"; then :
24946 glibcxx_cv_func__powf_use=yes
24947 else
24948 glibcxx_cv_func__powf_use=no
24950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24951 ac_ext=c
24952 ac_cpp='$CPP $CPPFLAGS'
24953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24962 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24964 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24965 for ac_func in _powf
24966 do :
24967 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24968 if test "x$ac_cv_func__powf" = x""yes; then :
24969 cat >>confdefs.h <<_ACEOF
24970 #define HAVE__POWF 1
24971 _ACEOF
24974 done
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24984 $as_echo_n "checking for sqrtf declaration... " >&6; }
24985 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24986 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24987 $as_echo_n "(cached) " >&6
24988 else
24991 ac_ext=cpp
24992 ac_cpp='$CXXCPP $CPPFLAGS'
24993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
24999 #include <math.h>
25000 #ifdef HAVE_IEEEFP_H
25001 #include <ieeefp.h>
25002 #endif
25005 main ()
25007 sqrtf(0);
25009 return 0;
25011 _ACEOF
25012 if ac_fn_cxx_try_compile "$LINENO"; then :
25013 glibcxx_cv_func_sqrtf_use=yes
25014 else
25015 glibcxx_cv_func_sqrtf_use=no
25017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25018 ac_ext=c
25019 ac_cpp='$CPP $CPPFLAGS'
25020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25029 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25031 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25032 for ac_func in sqrtf
25033 do :
25034 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25035 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25036 cat >>confdefs.h <<_ACEOF
25037 #define HAVE_SQRTF 1
25038 _ACEOF
25041 done
25043 else
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25046 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25047 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25048 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25049 $as_echo_n "(cached) " >&6
25050 else
25053 ac_ext=cpp
25054 ac_cpp='$CXXCPP $CPPFLAGS'
25055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25060 /* end confdefs.h. */
25061 #include <math.h>
25062 #ifdef HAVE_IEEEFP_H
25063 #include <ieeefp.h>
25064 #endif
25067 main ()
25069 _sqrtf(0);
25071 return 0;
25073 _ACEOF
25074 if ac_fn_cxx_try_compile "$LINENO"; then :
25075 glibcxx_cv_func__sqrtf_use=yes
25076 else
25077 glibcxx_cv_func__sqrtf_use=no
25079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25080 ac_ext=c
25081 ac_cpp='$CPP $CPPFLAGS'
25082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25091 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25093 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25094 for ac_func in _sqrtf
25095 do :
25096 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25097 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25098 cat >>confdefs.h <<_ACEOF
25099 #define HAVE__SQRTF 1
25100 _ACEOF
25103 done
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25113 $as_echo_n "checking for sincosf declaration... " >&6; }
25114 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25115 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25116 $as_echo_n "(cached) " >&6
25117 else
25120 ac_ext=cpp
25121 ac_cpp='$CXXCPP $CPPFLAGS'
25122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25127 /* end confdefs.h. */
25128 #include <math.h>
25130 main ()
25132 sincosf(0, 0, 0);
25134 return 0;
25136 _ACEOF
25137 if ac_fn_cxx_try_compile "$LINENO"; then :
25138 glibcxx_cv_func_sincosf_use=yes
25139 else
25140 glibcxx_cv_func_sincosf_use=no
25142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25143 ac_ext=c
25144 ac_cpp='$CPP $CPPFLAGS'
25145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25154 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25156 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25157 for ac_func in sincosf
25158 do :
25159 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25160 if test "x$ac_cv_func_sincosf" = x""yes; then :
25161 cat >>confdefs.h <<_ACEOF
25162 #define HAVE_SINCOSF 1
25163 _ACEOF
25166 done
25168 else
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25171 $as_echo_n "checking for _sincosf declaration... " >&6; }
25172 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25173 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25174 $as_echo_n "(cached) " >&6
25175 else
25178 ac_ext=cpp
25179 ac_cpp='$CXXCPP $CPPFLAGS'
25180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25185 /* end confdefs.h. */
25186 #include <math.h>
25188 main ()
25190 _sincosf(0, 0, 0);
25192 return 0;
25194 _ACEOF
25195 if ac_fn_cxx_try_compile "$LINENO"; then :
25196 glibcxx_cv_func__sincosf_use=yes
25197 else
25198 glibcxx_cv_func__sincosf_use=no
25200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25201 ac_ext=c
25202 ac_cpp='$CPP $CPPFLAGS'
25203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25212 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25214 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25215 for ac_func in _sincosf
25216 do :
25217 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25218 if test "x$ac_cv_func__sincosf" = x""yes; then :
25219 cat >>confdefs.h <<_ACEOF
25220 #define HAVE__SINCOSF 1
25221 _ACEOF
25224 done
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25234 $as_echo_n "checking for finitef declaration... " >&6; }
25235 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25236 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25237 $as_echo_n "(cached) " >&6
25238 else
25241 ac_ext=cpp
25242 ac_cpp='$CXXCPP $CPPFLAGS'
25243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25248 /* end confdefs.h. */
25249 #include <math.h>
25250 #ifdef HAVE_IEEEFP_H
25251 #include <ieeefp.h>
25252 #endif
25255 main ()
25257 finitef(0);
25259 return 0;
25261 _ACEOF
25262 if ac_fn_cxx_try_compile "$LINENO"; then :
25263 glibcxx_cv_func_finitef_use=yes
25264 else
25265 glibcxx_cv_func_finitef_use=no
25267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25268 ac_ext=c
25269 ac_cpp='$CPP $CPPFLAGS'
25270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25279 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25281 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25282 for ac_func in finitef
25283 do :
25284 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25285 if test "x$ac_cv_func_finitef" = x""yes; then :
25286 cat >>confdefs.h <<_ACEOF
25287 #define HAVE_FINITEF 1
25288 _ACEOF
25291 done
25293 else
25295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25296 $as_echo_n "checking for _finitef declaration... " >&6; }
25297 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25298 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25299 $as_echo_n "(cached) " >&6
25300 else
25303 ac_ext=cpp
25304 ac_cpp='$CXXCPP $CPPFLAGS'
25305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25310 /* end confdefs.h. */
25311 #include <math.h>
25312 #ifdef HAVE_IEEEFP_H
25313 #include <ieeefp.h>
25314 #endif
25317 main ()
25319 _finitef(0);
25321 return 0;
25323 _ACEOF
25324 if ac_fn_cxx_try_compile "$LINENO"; then :
25325 glibcxx_cv_func__finitef_use=yes
25326 else
25327 glibcxx_cv_func__finitef_use=no
25329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25330 ac_ext=c
25331 ac_cpp='$CPP $CPPFLAGS'
25332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25341 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25343 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25344 for ac_func in _finitef
25345 do :
25346 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25347 if test "x$ac_cv_func__finitef" = x""yes; then :
25348 cat >>confdefs.h <<_ACEOF
25349 #define HAVE__FINITEF 1
25350 _ACEOF
25353 done
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25363 $as_echo_n "checking for long double trig functions... " >&6; }
25364 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25365 $as_echo_n "(cached) " >&6
25366 else
25369 ac_ext=cpp
25370 ac_cpp='$CXXCPP $CPPFLAGS'
25371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25376 /* end confdefs.h. */
25377 #include <math.h>
25379 main ()
25381 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25383 return 0;
25385 _ACEOF
25386 if ac_fn_cxx_try_compile "$LINENO"; then :
25387 glibcxx_cv_func_long_double_trig_use=yes
25388 else
25389 glibcxx_cv_func_long_double_trig_use=no
25391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25392 ac_ext=c
25393 ac_cpp='$CPP $CPPFLAGS'
25394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25401 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25402 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25403 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25404 do :
25405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25407 eval as_val=\$$as_ac_var
25408 if test "x$as_val" = x""yes; then :
25409 cat >>confdefs.h <<_ACEOF
25410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25411 _ACEOF
25414 done
25416 else
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25418 $as_echo_n "checking for _long double trig functions... " >&6; }
25419 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25420 $as_echo_n "(cached) " >&6
25421 else
25424 ac_ext=cpp
25425 ac_cpp='$CXXCPP $CPPFLAGS'
25426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25431 /* end confdefs.h. */
25432 #include <math.h>
25434 main ()
25436 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25438 return 0;
25440 _ACEOF
25441 if ac_fn_cxx_try_compile "$LINENO"; then :
25442 glibcxx_cv_func__long_double_trig_use=yes
25443 else
25444 glibcxx_cv_func__long_double_trig_use=no
25446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25447 ac_ext=c
25448 ac_cpp='$CPP $CPPFLAGS'
25449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25456 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25457 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25458 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25459 do :
25460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25462 eval as_val=\$$as_ac_var
25463 if test "x$as_val" = x""yes; then :
25464 cat >>confdefs.h <<_ACEOF
25465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25466 _ACEOF
25469 done
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25479 $as_echo_n "checking for long double round functions... " >&6; }
25480 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25481 $as_echo_n "(cached) " >&6
25482 else
25485 ac_ext=cpp
25486 ac_cpp='$CXXCPP $CPPFLAGS'
25487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25492 /* end confdefs.h. */
25493 #include <math.h>
25495 main ()
25497 ceill (0); floorl (0);
25499 return 0;
25501 _ACEOF
25502 if ac_fn_cxx_try_compile "$LINENO"; then :
25503 glibcxx_cv_func_long_double_round_use=yes
25504 else
25505 glibcxx_cv_func_long_double_round_use=no
25507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25508 ac_ext=c
25509 ac_cpp='$CPP $CPPFLAGS'
25510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25517 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25518 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25519 for ac_func in ceill floorl
25520 do :
25521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25523 eval as_val=\$$as_ac_var
25524 if test "x$as_val" = x""yes; then :
25525 cat >>confdefs.h <<_ACEOF
25526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25527 _ACEOF
25530 done
25532 else
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25534 $as_echo_n "checking for _long double round functions... " >&6; }
25535 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25536 $as_echo_n "(cached) " >&6
25537 else
25540 ac_ext=cpp
25541 ac_cpp='$CXXCPP $CPPFLAGS'
25542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25547 /* end confdefs.h. */
25548 #include <math.h>
25550 main ()
25552 _ceill (0); _floorl (0);
25554 return 0;
25556 _ACEOF
25557 if ac_fn_cxx_try_compile "$LINENO"; then :
25558 glibcxx_cv_func__long_double_round_use=yes
25559 else
25560 glibcxx_cv_func__long_double_round_use=no
25562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25563 ac_ext=c
25564 ac_cpp='$CPP $CPPFLAGS'
25565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25572 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25573 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25574 for ac_func in _ceill _floorl
25575 do :
25576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25578 eval as_val=\$$as_ac_var
25579 if test "x$as_val" = x""yes; then :
25580 cat >>confdefs.h <<_ACEOF
25581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25582 _ACEOF
25585 done
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25596 $as_echo_n "checking for isnanl declaration... " >&6; }
25597 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25598 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25599 $as_echo_n "(cached) " >&6
25600 else
25603 ac_ext=cpp
25604 ac_cpp='$CXXCPP $CPPFLAGS'
25605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25610 /* end confdefs.h. */
25611 #include <math.h>
25612 #ifdef HAVE_IEEEFP_H
25613 #include <ieeefp.h>
25614 #endif
25617 main ()
25619 isnanl(0);
25621 return 0;
25623 _ACEOF
25624 if ac_fn_cxx_try_compile "$LINENO"; then :
25625 glibcxx_cv_func_isnanl_use=yes
25626 else
25627 glibcxx_cv_func_isnanl_use=no
25629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25630 ac_ext=c
25631 ac_cpp='$CPP $CPPFLAGS'
25632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25641 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25643 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25644 for ac_func in isnanl
25645 do :
25646 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25647 if test "x$ac_cv_func_isnanl" = x""yes; then :
25648 cat >>confdefs.h <<_ACEOF
25649 #define HAVE_ISNANL 1
25650 _ACEOF
25653 done
25655 else
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25658 $as_echo_n "checking for _isnanl declaration... " >&6; }
25659 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25660 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25661 $as_echo_n "(cached) " >&6
25662 else
25665 ac_ext=cpp
25666 ac_cpp='$CXXCPP $CPPFLAGS'
25667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25672 /* end confdefs.h. */
25673 #include <math.h>
25674 #ifdef HAVE_IEEEFP_H
25675 #include <ieeefp.h>
25676 #endif
25679 main ()
25681 _isnanl(0);
25683 return 0;
25685 _ACEOF
25686 if ac_fn_cxx_try_compile "$LINENO"; then :
25687 glibcxx_cv_func__isnanl_use=yes
25688 else
25689 glibcxx_cv_func__isnanl_use=no
25691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25692 ac_ext=c
25693 ac_cpp='$CPP $CPPFLAGS'
25694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25703 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25705 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25706 for ac_func in _isnanl
25707 do :
25708 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25709 if test "x$ac_cv_func__isnanl" = x""yes; then :
25710 cat >>confdefs.h <<_ACEOF
25711 #define HAVE__ISNANL 1
25712 _ACEOF
25715 done
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25725 $as_echo_n "checking for isinfl declaration... " >&6; }
25726 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25727 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25728 $as_echo_n "(cached) " >&6
25729 else
25732 ac_ext=cpp
25733 ac_cpp='$CXXCPP $CPPFLAGS'
25734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25739 /* end confdefs.h. */
25740 #include <math.h>
25741 #ifdef HAVE_IEEEFP_H
25742 #include <ieeefp.h>
25743 #endif
25746 main ()
25748 isinfl(0);
25750 return 0;
25752 _ACEOF
25753 if ac_fn_cxx_try_compile "$LINENO"; then :
25754 glibcxx_cv_func_isinfl_use=yes
25755 else
25756 glibcxx_cv_func_isinfl_use=no
25758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25759 ac_ext=c
25760 ac_cpp='$CPP $CPPFLAGS'
25761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25770 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25772 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25773 for ac_func in isinfl
25774 do :
25775 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25776 if test "x$ac_cv_func_isinfl" = x""yes; then :
25777 cat >>confdefs.h <<_ACEOF
25778 #define HAVE_ISINFL 1
25779 _ACEOF
25782 done
25784 else
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25787 $as_echo_n "checking for _isinfl declaration... " >&6; }
25788 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25789 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25790 $as_echo_n "(cached) " >&6
25791 else
25794 ac_ext=cpp
25795 ac_cpp='$CXXCPP $CPPFLAGS'
25796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25801 /* end confdefs.h. */
25802 #include <math.h>
25803 #ifdef HAVE_IEEEFP_H
25804 #include <ieeefp.h>
25805 #endif
25808 main ()
25810 _isinfl(0);
25812 return 0;
25814 _ACEOF
25815 if ac_fn_cxx_try_compile "$LINENO"; then :
25816 glibcxx_cv_func__isinfl_use=yes
25817 else
25818 glibcxx_cv_func__isinfl_use=no
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 ac_ext=c
25822 ac_cpp='$CPP $CPPFLAGS'
25823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25832 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25834 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25835 for ac_func in _isinfl
25836 do :
25837 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25838 if test "x$ac_cv_func__isinfl" = x""yes; then :
25839 cat >>confdefs.h <<_ACEOF
25840 #define HAVE__ISINFL 1
25841 _ACEOF
25844 done
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25854 $as_echo_n "checking for atan2l declaration... " >&6; }
25855 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25856 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25857 $as_echo_n "(cached) " >&6
25858 else
25861 ac_ext=cpp
25862 ac_cpp='$CXXCPP $CPPFLAGS'
25863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25868 /* end confdefs.h. */
25869 #include <math.h>
25871 main ()
25873 atan2l(0, 0);
25875 return 0;
25877 _ACEOF
25878 if ac_fn_cxx_try_compile "$LINENO"; then :
25879 glibcxx_cv_func_atan2l_use=yes
25880 else
25881 glibcxx_cv_func_atan2l_use=no
25883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25884 ac_ext=c
25885 ac_cpp='$CPP $CPPFLAGS'
25886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25895 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25897 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25898 for ac_func in atan2l
25899 do :
25900 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25901 if test "x$ac_cv_func_atan2l" = x""yes; then :
25902 cat >>confdefs.h <<_ACEOF
25903 #define HAVE_ATAN2L 1
25904 _ACEOF
25907 done
25909 else
25911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25912 $as_echo_n "checking for _atan2l declaration... " >&6; }
25913 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25914 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25915 $as_echo_n "(cached) " >&6
25916 else
25919 ac_ext=cpp
25920 ac_cpp='$CXXCPP $CPPFLAGS'
25921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25926 /* end confdefs.h. */
25927 #include <math.h>
25929 main ()
25931 _atan2l(0, 0);
25933 return 0;
25935 _ACEOF
25936 if ac_fn_cxx_try_compile "$LINENO"; then :
25937 glibcxx_cv_func__atan2l_use=yes
25938 else
25939 glibcxx_cv_func__atan2l_use=no
25941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25942 ac_ext=c
25943 ac_cpp='$CPP $CPPFLAGS'
25944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25953 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25955 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25956 for ac_func in _atan2l
25957 do :
25958 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25959 if test "x$ac_cv_func__atan2l" = x""yes; then :
25960 cat >>confdefs.h <<_ACEOF
25961 #define HAVE__ATAN2L 1
25962 _ACEOF
25965 done
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25975 $as_echo_n "checking for expl declaration... " >&6; }
25976 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25977 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25978 $as_echo_n "(cached) " >&6
25979 else
25982 ac_ext=cpp
25983 ac_cpp='$CXXCPP $CPPFLAGS'
25984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25989 /* end confdefs.h. */
25990 #include <math.h>
25991 #ifdef HAVE_IEEEFP_H
25992 #include <ieeefp.h>
25993 #endif
25996 main ()
25998 expl(0);
26000 return 0;
26002 _ACEOF
26003 if ac_fn_cxx_try_compile "$LINENO"; then :
26004 glibcxx_cv_func_expl_use=yes
26005 else
26006 glibcxx_cv_func_expl_use=no
26008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26009 ac_ext=c
26010 ac_cpp='$CPP $CPPFLAGS'
26011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26020 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26022 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26023 for ac_func in expl
26024 do :
26025 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26026 if test "x$ac_cv_func_expl" = x""yes; then :
26027 cat >>confdefs.h <<_ACEOF
26028 #define HAVE_EXPL 1
26029 _ACEOF
26032 done
26034 else
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26037 $as_echo_n "checking for _expl declaration... " >&6; }
26038 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26039 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26040 $as_echo_n "(cached) " >&6
26041 else
26044 ac_ext=cpp
26045 ac_cpp='$CXXCPP $CPPFLAGS'
26046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26051 /* end confdefs.h. */
26052 #include <math.h>
26053 #ifdef HAVE_IEEEFP_H
26054 #include <ieeefp.h>
26055 #endif
26058 main ()
26060 _expl(0);
26062 return 0;
26064 _ACEOF
26065 if ac_fn_cxx_try_compile "$LINENO"; then :
26066 glibcxx_cv_func__expl_use=yes
26067 else
26068 glibcxx_cv_func__expl_use=no
26070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26071 ac_ext=c
26072 ac_cpp='$CPP $CPPFLAGS'
26073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26082 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26084 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26085 for ac_func in _expl
26086 do :
26087 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26088 if test "x$ac_cv_func__expl" = x""yes; then :
26089 cat >>confdefs.h <<_ACEOF
26090 #define HAVE__EXPL 1
26091 _ACEOF
26094 done
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26104 $as_echo_n "checking for fabsl declaration... " >&6; }
26105 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26106 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26107 $as_echo_n "(cached) " >&6
26108 else
26111 ac_ext=cpp
26112 ac_cpp='$CXXCPP $CPPFLAGS'
26113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26118 /* end confdefs.h. */
26119 #include <math.h>
26120 #ifdef HAVE_IEEEFP_H
26121 #include <ieeefp.h>
26122 #endif
26125 main ()
26127 fabsl(0);
26129 return 0;
26131 _ACEOF
26132 if ac_fn_cxx_try_compile "$LINENO"; then :
26133 glibcxx_cv_func_fabsl_use=yes
26134 else
26135 glibcxx_cv_func_fabsl_use=no
26137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26138 ac_ext=c
26139 ac_cpp='$CPP $CPPFLAGS'
26140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26149 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26151 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26152 for ac_func in fabsl
26153 do :
26154 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26155 if test "x$ac_cv_func_fabsl" = x""yes; then :
26156 cat >>confdefs.h <<_ACEOF
26157 #define HAVE_FABSL 1
26158 _ACEOF
26161 done
26163 else
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26166 $as_echo_n "checking for _fabsl declaration... " >&6; }
26167 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26168 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26169 $as_echo_n "(cached) " >&6
26170 else
26173 ac_ext=cpp
26174 ac_cpp='$CXXCPP $CPPFLAGS'
26175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26180 /* end confdefs.h. */
26181 #include <math.h>
26182 #ifdef HAVE_IEEEFP_H
26183 #include <ieeefp.h>
26184 #endif
26187 main ()
26189 _fabsl(0);
26191 return 0;
26193 _ACEOF
26194 if ac_fn_cxx_try_compile "$LINENO"; then :
26195 glibcxx_cv_func__fabsl_use=yes
26196 else
26197 glibcxx_cv_func__fabsl_use=no
26199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26200 ac_ext=c
26201 ac_cpp='$CPP $CPPFLAGS'
26202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26211 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26213 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26214 for ac_func in _fabsl
26215 do :
26216 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26217 if test "x$ac_cv_func__fabsl" = x""yes; then :
26218 cat >>confdefs.h <<_ACEOF
26219 #define HAVE__FABSL 1
26220 _ACEOF
26223 done
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26233 $as_echo_n "checking for fmodl declaration... " >&6; }
26234 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26235 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26236 $as_echo_n "(cached) " >&6
26237 else
26240 ac_ext=cpp
26241 ac_cpp='$CXXCPP $CPPFLAGS'
26242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247 /* end confdefs.h. */
26248 #include <math.h>
26250 main ()
26252 fmodl(0, 0);
26254 return 0;
26256 _ACEOF
26257 if ac_fn_cxx_try_compile "$LINENO"; then :
26258 glibcxx_cv_func_fmodl_use=yes
26259 else
26260 glibcxx_cv_func_fmodl_use=no
26262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26263 ac_ext=c
26264 ac_cpp='$CPP $CPPFLAGS'
26265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26274 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26276 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26277 for ac_func in fmodl
26278 do :
26279 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26280 if test "x$ac_cv_func_fmodl" = x""yes; then :
26281 cat >>confdefs.h <<_ACEOF
26282 #define HAVE_FMODL 1
26283 _ACEOF
26286 done
26288 else
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26291 $as_echo_n "checking for _fmodl declaration... " >&6; }
26292 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26293 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26295 else
26298 ac_ext=cpp
26299 ac_cpp='$CXXCPP $CPPFLAGS'
26300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26305 /* end confdefs.h. */
26306 #include <math.h>
26308 main ()
26310 _fmodl(0, 0);
26312 return 0;
26314 _ACEOF
26315 if ac_fn_cxx_try_compile "$LINENO"; then :
26316 glibcxx_cv_func__fmodl_use=yes
26317 else
26318 glibcxx_cv_func__fmodl_use=no
26320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26321 ac_ext=c
26322 ac_cpp='$CPP $CPPFLAGS'
26323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26332 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26334 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26335 for ac_func in _fmodl
26336 do :
26337 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26338 if test "x$ac_cv_func__fmodl" = x""yes; then :
26339 cat >>confdefs.h <<_ACEOF
26340 #define HAVE__FMODL 1
26341 _ACEOF
26344 done
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26354 $as_echo_n "checking for frexpl declaration... " >&6; }
26355 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26356 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26357 $as_echo_n "(cached) " >&6
26358 else
26361 ac_ext=cpp
26362 ac_cpp='$CXXCPP $CPPFLAGS'
26363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26368 /* end confdefs.h. */
26369 #include <math.h>
26371 main ()
26373 frexpl(0, 0);
26375 return 0;
26377 _ACEOF
26378 if ac_fn_cxx_try_compile "$LINENO"; then :
26379 glibcxx_cv_func_frexpl_use=yes
26380 else
26381 glibcxx_cv_func_frexpl_use=no
26383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26384 ac_ext=c
26385 ac_cpp='$CPP $CPPFLAGS'
26386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26395 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26397 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26398 for ac_func in frexpl
26399 do :
26400 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26401 if test "x$ac_cv_func_frexpl" = x""yes; then :
26402 cat >>confdefs.h <<_ACEOF
26403 #define HAVE_FREXPL 1
26404 _ACEOF
26407 done
26409 else
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26412 $as_echo_n "checking for _frexpl declaration... " >&6; }
26413 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26414 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26415 $as_echo_n "(cached) " >&6
26416 else
26419 ac_ext=cpp
26420 ac_cpp='$CXXCPP $CPPFLAGS'
26421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26426 /* end confdefs.h. */
26427 #include <math.h>
26429 main ()
26431 _frexpl(0, 0);
26433 return 0;
26435 _ACEOF
26436 if ac_fn_cxx_try_compile "$LINENO"; then :
26437 glibcxx_cv_func__frexpl_use=yes
26438 else
26439 glibcxx_cv_func__frexpl_use=no
26441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26442 ac_ext=c
26443 ac_cpp='$CPP $CPPFLAGS'
26444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26453 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26455 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26456 for ac_func in _frexpl
26457 do :
26458 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26459 if test "x$ac_cv_func__frexpl" = x""yes; then :
26460 cat >>confdefs.h <<_ACEOF
26461 #define HAVE__FREXPL 1
26462 _ACEOF
26465 done
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26475 $as_echo_n "checking for hypotl declaration... " >&6; }
26476 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26477 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26478 $as_echo_n "(cached) " >&6
26479 else
26482 ac_ext=cpp
26483 ac_cpp='$CXXCPP $CPPFLAGS'
26484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26489 /* end confdefs.h. */
26490 #include <math.h>
26492 main ()
26494 hypotl(0, 0);
26496 return 0;
26498 _ACEOF
26499 if ac_fn_cxx_try_compile "$LINENO"; then :
26500 glibcxx_cv_func_hypotl_use=yes
26501 else
26502 glibcxx_cv_func_hypotl_use=no
26504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26505 ac_ext=c
26506 ac_cpp='$CPP $CPPFLAGS'
26507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26516 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26518 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26519 for ac_func in hypotl
26520 do :
26521 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26522 if test "x$ac_cv_func_hypotl" = x""yes; then :
26523 cat >>confdefs.h <<_ACEOF
26524 #define HAVE_HYPOTL 1
26525 _ACEOF
26528 done
26530 else
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26533 $as_echo_n "checking for _hypotl declaration... " >&6; }
26534 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26535 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26536 $as_echo_n "(cached) " >&6
26537 else
26540 ac_ext=cpp
26541 ac_cpp='$CXXCPP $CPPFLAGS'
26542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26547 /* end confdefs.h. */
26548 #include <math.h>
26550 main ()
26552 _hypotl(0, 0);
26554 return 0;
26556 _ACEOF
26557 if ac_fn_cxx_try_compile "$LINENO"; then :
26558 glibcxx_cv_func__hypotl_use=yes
26559 else
26560 glibcxx_cv_func__hypotl_use=no
26562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26563 ac_ext=c
26564 ac_cpp='$CPP $CPPFLAGS'
26565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26574 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26576 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26577 for ac_func in _hypotl
26578 do :
26579 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26580 if test "x$ac_cv_func__hypotl" = x""yes; then :
26581 cat >>confdefs.h <<_ACEOF
26582 #define HAVE__HYPOTL 1
26583 _ACEOF
26586 done
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26596 $as_echo_n "checking for ldexpl declaration... " >&6; }
26597 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26598 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26599 $as_echo_n "(cached) " >&6
26600 else
26603 ac_ext=cpp
26604 ac_cpp='$CXXCPP $CPPFLAGS'
26605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26610 /* end confdefs.h. */
26611 #include <math.h>
26613 main ()
26615 ldexpl(0, 0);
26617 return 0;
26619 _ACEOF
26620 if ac_fn_cxx_try_compile "$LINENO"; then :
26621 glibcxx_cv_func_ldexpl_use=yes
26622 else
26623 glibcxx_cv_func_ldexpl_use=no
26625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26626 ac_ext=c
26627 ac_cpp='$CPP $CPPFLAGS'
26628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26637 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26639 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26640 for ac_func in ldexpl
26641 do :
26642 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26643 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26644 cat >>confdefs.h <<_ACEOF
26645 #define HAVE_LDEXPL 1
26646 _ACEOF
26649 done
26651 else
26653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26654 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26655 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26656 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26657 $as_echo_n "(cached) " >&6
26658 else
26661 ac_ext=cpp
26662 ac_cpp='$CXXCPP $CPPFLAGS'
26663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26668 /* end confdefs.h. */
26669 #include <math.h>
26671 main ()
26673 _ldexpl(0, 0);
26675 return 0;
26677 _ACEOF
26678 if ac_fn_cxx_try_compile "$LINENO"; then :
26679 glibcxx_cv_func__ldexpl_use=yes
26680 else
26681 glibcxx_cv_func__ldexpl_use=no
26683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26684 ac_ext=c
26685 ac_cpp='$CPP $CPPFLAGS'
26686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26695 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26697 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26698 for ac_func in _ldexpl
26699 do :
26700 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26701 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26702 cat >>confdefs.h <<_ACEOF
26703 #define HAVE__LDEXPL 1
26704 _ACEOF
26707 done
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26717 $as_echo_n "checking for logl declaration... " >&6; }
26718 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26719 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26720 $as_echo_n "(cached) " >&6
26721 else
26724 ac_ext=cpp
26725 ac_cpp='$CXXCPP $CPPFLAGS'
26726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26731 /* end confdefs.h. */
26732 #include <math.h>
26733 #ifdef HAVE_IEEEFP_H
26734 #include <ieeefp.h>
26735 #endif
26738 main ()
26740 logl(0);
26742 return 0;
26744 _ACEOF
26745 if ac_fn_cxx_try_compile "$LINENO"; then :
26746 glibcxx_cv_func_logl_use=yes
26747 else
26748 glibcxx_cv_func_logl_use=no
26750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26751 ac_ext=c
26752 ac_cpp='$CPP $CPPFLAGS'
26753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26762 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26764 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26765 for ac_func in logl
26766 do :
26767 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26768 if test "x$ac_cv_func_logl" = x""yes; then :
26769 cat >>confdefs.h <<_ACEOF
26770 #define HAVE_LOGL 1
26771 _ACEOF
26774 done
26776 else
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26779 $as_echo_n "checking for _logl declaration... " >&6; }
26780 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26781 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26782 $as_echo_n "(cached) " >&6
26783 else
26786 ac_ext=cpp
26787 ac_cpp='$CXXCPP $CPPFLAGS'
26788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26793 /* end confdefs.h. */
26794 #include <math.h>
26795 #ifdef HAVE_IEEEFP_H
26796 #include <ieeefp.h>
26797 #endif
26800 main ()
26802 _logl(0);
26804 return 0;
26806 _ACEOF
26807 if ac_fn_cxx_try_compile "$LINENO"; then :
26808 glibcxx_cv_func__logl_use=yes
26809 else
26810 glibcxx_cv_func__logl_use=no
26812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26813 ac_ext=c
26814 ac_cpp='$CPP $CPPFLAGS'
26815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26824 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26826 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26827 for ac_func in _logl
26828 do :
26829 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26830 if test "x$ac_cv_func__logl" = x""yes; then :
26831 cat >>confdefs.h <<_ACEOF
26832 #define HAVE__LOGL 1
26833 _ACEOF
26836 done
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26846 $as_echo_n "checking for log10l declaration... " >&6; }
26847 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26848 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26849 $as_echo_n "(cached) " >&6
26850 else
26853 ac_ext=cpp
26854 ac_cpp='$CXXCPP $CPPFLAGS'
26855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26860 /* end confdefs.h. */
26861 #include <math.h>
26862 #ifdef HAVE_IEEEFP_H
26863 #include <ieeefp.h>
26864 #endif
26867 main ()
26869 log10l(0);
26871 return 0;
26873 _ACEOF
26874 if ac_fn_cxx_try_compile "$LINENO"; then :
26875 glibcxx_cv_func_log10l_use=yes
26876 else
26877 glibcxx_cv_func_log10l_use=no
26879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26880 ac_ext=c
26881 ac_cpp='$CPP $CPPFLAGS'
26882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26891 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26893 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26894 for ac_func in log10l
26895 do :
26896 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26897 if test "x$ac_cv_func_log10l" = x""yes; then :
26898 cat >>confdefs.h <<_ACEOF
26899 #define HAVE_LOG10L 1
26900 _ACEOF
26903 done
26905 else
26907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26908 $as_echo_n "checking for _log10l declaration... " >&6; }
26909 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26910 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26911 $as_echo_n "(cached) " >&6
26912 else
26915 ac_ext=cpp
26916 ac_cpp='$CXXCPP $CPPFLAGS'
26917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26922 /* end confdefs.h. */
26923 #include <math.h>
26924 #ifdef HAVE_IEEEFP_H
26925 #include <ieeefp.h>
26926 #endif
26929 main ()
26931 _log10l(0);
26933 return 0;
26935 _ACEOF
26936 if ac_fn_cxx_try_compile "$LINENO"; then :
26937 glibcxx_cv_func__log10l_use=yes
26938 else
26939 glibcxx_cv_func__log10l_use=no
26941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26942 ac_ext=c
26943 ac_cpp='$CPP $CPPFLAGS'
26944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26953 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26955 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26956 for ac_func in _log10l
26957 do :
26958 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26959 if test "x$ac_cv_func__log10l" = x""yes; then :
26960 cat >>confdefs.h <<_ACEOF
26961 #define HAVE__LOG10L 1
26962 _ACEOF
26965 done
26974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26975 $as_echo_n "checking for modfl declaration... " >&6; }
26976 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26977 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26978 $as_echo_n "(cached) " >&6
26979 else
26982 ac_ext=cpp
26983 ac_cpp='$CXXCPP $CPPFLAGS'
26984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26989 /* end confdefs.h. */
26990 #include <math.h>
26992 main ()
26994 modfl(0, 0);
26996 return 0;
26998 _ACEOF
26999 if ac_fn_cxx_try_compile "$LINENO"; then :
27000 glibcxx_cv_func_modfl_use=yes
27001 else
27002 glibcxx_cv_func_modfl_use=no
27004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27005 ac_ext=c
27006 ac_cpp='$CPP $CPPFLAGS'
27007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27016 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27018 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27019 for ac_func in modfl
27020 do :
27021 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27022 if test "x$ac_cv_func_modfl" = x""yes; then :
27023 cat >>confdefs.h <<_ACEOF
27024 #define HAVE_MODFL 1
27025 _ACEOF
27028 done
27030 else
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27033 $as_echo_n "checking for _modfl declaration... " >&6; }
27034 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27035 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27036 $as_echo_n "(cached) " >&6
27037 else
27040 ac_ext=cpp
27041 ac_cpp='$CXXCPP $CPPFLAGS'
27042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27047 /* end confdefs.h. */
27048 #include <math.h>
27050 main ()
27052 _modfl(0, 0);
27054 return 0;
27056 _ACEOF
27057 if ac_fn_cxx_try_compile "$LINENO"; then :
27058 glibcxx_cv_func__modfl_use=yes
27059 else
27060 glibcxx_cv_func__modfl_use=no
27062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27063 ac_ext=c
27064 ac_cpp='$CPP $CPPFLAGS'
27065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27074 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27076 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27077 for ac_func in _modfl
27078 do :
27079 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27080 if test "x$ac_cv_func__modfl" = x""yes; then :
27081 cat >>confdefs.h <<_ACEOF
27082 #define HAVE__MODFL 1
27083 _ACEOF
27086 done
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27096 $as_echo_n "checking for powl declaration... " >&6; }
27097 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27098 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27099 $as_echo_n "(cached) " >&6
27100 else
27103 ac_ext=cpp
27104 ac_cpp='$CXXCPP $CPPFLAGS'
27105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27110 /* end confdefs.h. */
27111 #include <math.h>
27113 main ()
27115 powl(0, 0);
27117 return 0;
27119 _ACEOF
27120 if ac_fn_cxx_try_compile "$LINENO"; then :
27121 glibcxx_cv_func_powl_use=yes
27122 else
27123 glibcxx_cv_func_powl_use=no
27125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27126 ac_ext=c
27127 ac_cpp='$CPP $CPPFLAGS'
27128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27137 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27139 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27140 for ac_func in powl
27141 do :
27142 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27143 if test "x$ac_cv_func_powl" = x""yes; then :
27144 cat >>confdefs.h <<_ACEOF
27145 #define HAVE_POWL 1
27146 _ACEOF
27149 done
27151 else
27153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27154 $as_echo_n "checking for _powl declaration... " >&6; }
27155 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27156 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27157 $as_echo_n "(cached) " >&6
27158 else
27161 ac_ext=cpp
27162 ac_cpp='$CXXCPP $CPPFLAGS'
27163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27168 /* end confdefs.h. */
27169 #include <math.h>
27171 main ()
27173 _powl(0, 0);
27175 return 0;
27177 _ACEOF
27178 if ac_fn_cxx_try_compile "$LINENO"; then :
27179 glibcxx_cv_func__powl_use=yes
27180 else
27181 glibcxx_cv_func__powl_use=no
27183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27184 ac_ext=c
27185 ac_cpp='$CPP $CPPFLAGS'
27186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27195 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27197 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27198 for ac_func in _powl
27199 do :
27200 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27201 if test "x$ac_cv_func__powl" = x""yes; then :
27202 cat >>confdefs.h <<_ACEOF
27203 #define HAVE__POWL 1
27204 _ACEOF
27207 done
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27217 $as_echo_n "checking for sqrtl declaration... " >&6; }
27218 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27219 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27220 $as_echo_n "(cached) " >&6
27221 else
27224 ac_ext=cpp
27225 ac_cpp='$CXXCPP $CPPFLAGS'
27226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27231 /* end confdefs.h. */
27232 #include <math.h>
27233 #ifdef HAVE_IEEEFP_H
27234 #include <ieeefp.h>
27235 #endif
27238 main ()
27240 sqrtl(0);
27242 return 0;
27244 _ACEOF
27245 if ac_fn_cxx_try_compile "$LINENO"; then :
27246 glibcxx_cv_func_sqrtl_use=yes
27247 else
27248 glibcxx_cv_func_sqrtl_use=no
27250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27251 ac_ext=c
27252 ac_cpp='$CPP $CPPFLAGS'
27253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27262 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27264 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27265 for ac_func in sqrtl
27266 do :
27267 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27268 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27269 cat >>confdefs.h <<_ACEOF
27270 #define HAVE_SQRTL 1
27271 _ACEOF
27274 done
27276 else
27278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27279 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27280 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27281 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27282 $as_echo_n "(cached) " >&6
27283 else
27286 ac_ext=cpp
27287 ac_cpp='$CXXCPP $CPPFLAGS'
27288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27293 /* end confdefs.h. */
27294 #include <math.h>
27295 #ifdef HAVE_IEEEFP_H
27296 #include <ieeefp.h>
27297 #endif
27300 main ()
27302 _sqrtl(0);
27304 return 0;
27306 _ACEOF
27307 if ac_fn_cxx_try_compile "$LINENO"; then :
27308 glibcxx_cv_func__sqrtl_use=yes
27309 else
27310 glibcxx_cv_func__sqrtl_use=no
27312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27313 ac_ext=c
27314 ac_cpp='$CPP $CPPFLAGS'
27315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27324 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27326 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27327 for ac_func in _sqrtl
27328 do :
27329 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27330 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27331 cat >>confdefs.h <<_ACEOF
27332 #define HAVE__SQRTL 1
27333 _ACEOF
27336 done
27345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27346 $as_echo_n "checking for sincosl declaration... " >&6; }
27347 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27348 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27349 $as_echo_n "(cached) " >&6
27350 else
27353 ac_ext=cpp
27354 ac_cpp='$CXXCPP $CPPFLAGS'
27355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27360 /* end confdefs.h. */
27361 #include <math.h>
27363 main ()
27365 sincosl(0, 0, 0);
27367 return 0;
27369 _ACEOF
27370 if ac_fn_cxx_try_compile "$LINENO"; then :
27371 glibcxx_cv_func_sincosl_use=yes
27372 else
27373 glibcxx_cv_func_sincosl_use=no
27375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27376 ac_ext=c
27377 ac_cpp='$CPP $CPPFLAGS'
27378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27387 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27389 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27390 for ac_func in sincosl
27391 do :
27392 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27393 if test "x$ac_cv_func_sincosl" = x""yes; then :
27394 cat >>confdefs.h <<_ACEOF
27395 #define HAVE_SINCOSL 1
27396 _ACEOF
27399 done
27401 else
27403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27404 $as_echo_n "checking for _sincosl declaration... " >&6; }
27405 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27406 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27407 $as_echo_n "(cached) " >&6
27408 else
27411 ac_ext=cpp
27412 ac_cpp='$CXXCPP $CPPFLAGS'
27413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27418 /* end confdefs.h. */
27419 #include <math.h>
27421 main ()
27423 _sincosl(0, 0, 0);
27425 return 0;
27427 _ACEOF
27428 if ac_fn_cxx_try_compile "$LINENO"; then :
27429 glibcxx_cv_func__sincosl_use=yes
27430 else
27431 glibcxx_cv_func__sincosl_use=no
27433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27434 ac_ext=c
27435 ac_cpp='$CPP $CPPFLAGS'
27436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27445 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27447 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27448 for ac_func in _sincosl
27449 do :
27450 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27451 if test "x$ac_cv_func__sincosl" = x""yes; then :
27452 cat >>confdefs.h <<_ACEOF
27453 #define HAVE__SINCOSL 1
27454 _ACEOF
27457 done
27466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27467 $as_echo_n "checking for finitel declaration... " >&6; }
27468 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27469 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27470 $as_echo_n "(cached) " >&6
27471 else
27474 ac_ext=cpp
27475 ac_cpp='$CXXCPP $CPPFLAGS'
27476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27481 /* end confdefs.h. */
27482 #include <math.h>
27483 #ifdef HAVE_IEEEFP_H
27484 #include <ieeefp.h>
27485 #endif
27488 main ()
27490 finitel(0);
27492 return 0;
27494 _ACEOF
27495 if ac_fn_cxx_try_compile "$LINENO"; then :
27496 glibcxx_cv_func_finitel_use=yes
27497 else
27498 glibcxx_cv_func_finitel_use=no
27500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27501 ac_ext=c
27502 ac_cpp='$CPP $CPPFLAGS'
27503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27512 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27514 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27515 for ac_func in finitel
27516 do :
27517 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27518 if test "x$ac_cv_func_finitel" = x""yes; then :
27519 cat >>confdefs.h <<_ACEOF
27520 #define HAVE_FINITEL 1
27521 _ACEOF
27524 done
27526 else
27528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27529 $as_echo_n "checking for _finitel declaration... " >&6; }
27530 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27531 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27532 $as_echo_n "(cached) " >&6
27533 else
27536 ac_ext=cpp
27537 ac_cpp='$CXXCPP $CPPFLAGS'
27538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27543 /* end confdefs.h. */
27544 #include <math.h>
27545 #ifdef HAVE_IEEEFP_H
27546 #include <ieeefp.h>
27547 #endif
27550 main ()
27552 _finitel(0);
27554 return 0;
27556 _ACEOF
27557 if ac_fn_cxx_try_compile "$LINENO"; then :
27558 glibcxx_cv_func__finitel_use=yes
27559 else
27560 glibcxx_cv_func__finitel_use=no
27562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27563 ac_ext=c
27564 ac_cpp='$CPP $CPPFLAGS'
27565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27574 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27576 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27577 for ac_func in _finitel
27578 do :
27579 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27580 if test "x$ac_cv_func__finitel" = x""yes; then :
27581 cat >>confdefs.h <<_ACEOF
27582 #define HAVE__FINITEL 1
27583 _ACEOF
27586 done
27594 LIBS="$ac_save_LIBS"
27595 CXXFLAGS="$ac_save_CXXFLAGS"
27598 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27599 ac_save_CXXFLAGS="$CXXFLAGS"
27600 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27604 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27605 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27606 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27607 $as_echo_n "(cached) " >&6
27608 else
27611 ac_ext=cpp
27612 ac_cpp='$CXXCPP $CPPFLAGS'
27613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 /* end confdefs.h. */
27619 #include <stdlib.h>
27621 main ()
27623 at_quick_exit(0);
27625 return 0;
27627 _ACEOF
27628 if ac_fn_cxx_try_compile "$LINENO"; then :
27629 glibcxx_cv_func_at_quick_exit_use=yes
27630 else
27631 glibcxx_cv_func_at_quick_exit_use=no
27633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27634 ac_ext=c
27635 ac_cpp='$CPP $CPPFLAGS'
27636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27645 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27646 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27647 for ac_func in at_quick_exit
27648 do :
27649 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27650 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27651 cat >>confdefs.h <<_ACEOF
27652 #define HAVE_AT_QUICK_EXIT 1
27653 _ACEOF
27656 done
27661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27662 $as_echo_n "checking for quick_exit declaration... " >&6; }
27663 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27664 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27665 $as_echo_n "(cached) " >&6
27666 else
27669 ac_ext=cpp
27670 ac_cpp='$CXXCPP $CPPFLAGS'
27671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27676 /* end confdefs.h. */
27677 #include <stdlib.h>
27679 main ()
27681 quick_exit(0);
27683 return 0;
27685 _ACEOF
27686 if ac_fn_cxx_try_compile "$LINENO"; then :
27687 glibcxx_cv_func_quick_exit_use=yes
27688 else
27689 glibcxx_cv_func_quick_exit_use=no
27691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27692 ac_ext=c
27693 ac_cpp='$CPP $CPPFLAGS'
27694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27703 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27704 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27705 for ac_func in quick_exit
27706 do :
27707 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27708 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27709 cat >>confdefs.h <<_ACEOF
27710 #define HAVE_QUICK_EXIT 1
27711 _ACEOF
27714 done
27719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27720 $as_echo_n "checking for strtold declaration... " >&6; }
27721 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27722 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27723 $as_echo_n "(cached) " >&6
27724 else
27727 ac_ext=cpp
27728 ac_cpp='$CXXCPP $CPPFLAGS'
27729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27734 /* end confdefs.h. */
27735 #include <stdlib.h>
27737 main ()
27739 strtold(0, 0);
27741 return 0;
27743 _ACEOF
27744 if ac_fn_cxx_try_compile "$LINENO"; then :
27745 glibcxx_cv_func_strtold_use=yes
27746 else
27747 glibcxx_cv_func_strtold_use=no
27749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27750 ac_ext=c
27751 ac_cpp='$CPP $CPPFLAGS'
27752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27761 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27762 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27763 for ac_func in strtold
27764 do :
27765 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27766 if test "x$ac_cv_func_strtold" = x""yes; then :
27767 cat >>confdefs.h <<_ACEOF
27768 #define HAVE_STRTOLD 1
27769 _ACEOF
27772 done
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27780 $as_echo_n "checking for strtof declaration... " >&6; }
27781 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27782 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27783 $as_echo_n "(cached) " >&6
27784 else
27787 ac_ext=cpp
27788 ac_cpp='$CXXCPP $CPPFLAGS'
27789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27794 /* end confdefs.h. */
27795 #include <stdlib.h>
27797 main ()
27799 strtof(0, 0);
27801 return 0;
27803 _ACEOF
27804 if ac_fn_cxx_try_compile "$LINENO"; then :
27805 glibcxx_cv_func_strtof_use=yes
27806 else
27807 glibcxx_cv_func_strtof_use=no
27809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27810 ac_ext=c
27811 ac_cpp='$CPP $CPPFLAGS'
27812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27821 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27822 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27823 for ac_func in strtof
27824 do :
27825 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27826 if test "x$ac_cv_func_strtof" = x""yes; then :
27827 cat >>confdefs.h <<_ACEOF
27828 #define HAVE_STRTOF 1
27829 _ACEOF
27832 done
27839 CXXFLAGS="$ac_save_CXXFLAGS"
27842 # For /dev/random and /dev/urandom for TR1.
27845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27846 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27847 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27848 $as_echo_n "(cached) " >&6
27849 else
27851 if test -r /dev/random && test -r /dev/urandom; then
27852 ## For MSys environment the test above is detect as false-positive
27853 ## on mingw-targets. So disable it explicit for them.
27854 case ${target_os} in
27855 *mingw*) glibcxx_cv_random_tr1=no ;;
27856 *) glibcxx_cv_random_tr1=yes ;;
27857 esac
27858 else
27859 glibcxx_cv_random_tr1=no;
27864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27865 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27867 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27869 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27875 # For TLS support.
27878 # Check whether --enable-tls was given.
27879 if test "${enable_tls+set}" = set; then :
27880 enableval=$enable_tls;
27881 case "$enableval" in
27882 yes|no) ;;
27883 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27884 esac
27886 else
27887 enable_tls=yes
27891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27892 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27893 if test "${gcc_cv_have_tls+set}" = set; then :
27894 $as_echo_n "(cached) " >&6
27895 else
27897 if test "$cross_compiling" = yes; then :
27898 if test x$gcc_no_link = xyes; then
27899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27902 /* end confdefs.h. */
27903 __thread int a; int b; int main() { return a = b; }
27904 _ACEOF
27905 if ac_fn_c_try_link "$LINENO"; then :
27906 chktls_save_LDFLAGS="$LDFLAGS"
27907 case $host in
27908 *-*-linux*)
27909 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27911 esac
27912 chktls_save_CFLAGS="$CFLAGS"
27913 CFLAGS="-fPIC $CFLAGS"
27914 if test x$gcc_no_link = xyes; then
27915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27918 /* end confdefs.h. */
27919 int f() { return 0; }
27920 _ACEOF
27921 if ac_fn_c_try_link "$LINENO"; then :
27922 if test x$gcc_no_link = xyes; then
27923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27926 /* end confdefs.h. */
27927 __thread int a; int b; int f() { return a = b; }
27928 _ACEOF
27929 if ac_fn_c_try_link "$LINENO"; then :
27930 gcc_cv_have_tls=yes
27931 else
27932 gcc_cv_have_tls=no
27934 rm -f core conftest.err conftest.$ac_objext \
27935 conftest$ac_exeext conftest.$ac_ext
27936 else
27937 gcc_cv_have_tls=yes
27939 rm -f core conftest.err conftest.$ac_objext \
27940 conftest$ac_exeext conftest.$ac_ext
27941 CFLAGS="$chktls_save_CFLAGS"
27942 LDFLAGS="$chktls_save_LDFLAGS"
27943 else
27944 gcc_cv_have_tls=no
27946 rm -f core conftest.err conftest.$ac_objext \
27947 conftest$ac_exeext conftest.$ac_ext
27950 else
27951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27952 /* end confdefs.h. */
27953 __thread int a; int b; int main() { return a = b; }
27954 _ACEOF
27955 if ac_fn_c_try_run "$LINENO"; then :
27956 chktls_save_LDFLAGS="$LDFLAGS"
27957 LDFLAGS="-static $LDFLAGS"
27958 if test x$gcc_no_link = xyes; then
27959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27962 /* end confdefs.h. */
27963 int main() { return 0; }
27964 _ACEOF
27965 if ac_fn_c_try_link "$LINENO"; then :
27966 if test "$cross_compiling" = yes; then :
27967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27969 as_fn_error "cannot run test program while cross compiling
27970 See \`config.log' for more details." "$LINENO" 5; }
27971 else
27972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27973 /* end confdefs.h. */
27974 __thread int a; int b; int main() { return a = b; }
27975 _ACEOF
27976 if ac_fn_c_try_run "$LINENO"; then :
27977 gcc_cv_have_tls=yes
27978 else
27979 gcc_cv_have_tls=no
27981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27982 conftest.$ac_objext conftest.beam conftest.$ac_ext
27985 else
27986 gcc_cv_have_tls=yes
27988 rm -f core conftest.err conftest.$ac_objext \
27989 conftest$ac_exeext conftest.$ac_ext
27990 LDFLAGS="$chktls_save_LDFLAGS"
27991 if test $gcc_cv_have_tls = yes; then
27992 chktls_save_CFLAGS="$CFLAGS"
27993 thread_CFLAGS=failed
27994 for flag in '' '-pthread' '-lpthread'; do
27995 CFLAGS="$flag $chktls_save_CFLAGS"
27996 if test x$gcc_no_link = xyes; then
27997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28000 /* end confdefs.h. */
28001 #include <pthread.h>
28002 void *g(void *d) { return NULL; }
28004 main ()
28006 pthread_t t; pthread_create(&t,NULL,g,NULL);
28008 return 0;
28010 _ACEOF
28011 if ac_fn_c_try_link "$LINENO"; then :
28012 thread_CFLAGS="$flag"
28014 rm -f core conftest.err conftest.$ac_objext \
28015 conftest$ac_exeext conftest.$ac_ext
28016 if test "X$thread_CFLAGS" != Xfailed; then
28017 break
28019 done
28020 CFLAGS="$chktls_save_CFLAGS"
28021 if test "X$thread_CFLAGS" != Xfailed; then
28022 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28023 if test "$cross_compiling" = yes; then :
28024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28026 as_fn_error "cannot run test program while cross compiling
28027 See \`config.log' for more details." "$LINENO" 5; }
28028 else
28029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28030 /* end confdefs.h. */
28031 #include <pthread.h>
28032 __thread int a;
28033 static int *volatile a_in_other_thread;
28034 static void *
28035 thread_func (void *arg)
28037 a_in_other_thread = &a;
28038 return (void *)0;
28041 main ()
28043 pthread_t thread;
28044 void *thread_retval;
28045 int *volatile a_in_main_thread;
28046 a_in_main_thread = &a;
28047 if (pthread_create (&thread, (pthread_attr_t *)0,
28048 thread_func, (void *)0))
28049 return 0;
28050 if (pthread_join (thread, &thread_retval))
28051 return 0;
28052 return (a_in_other_thread == a_in_main_thread);
28054 return 0;
28056 _ACEOF
28057 if ac_fn_c_try_run "$LINENO"; then :
28058 gcc_cv_have_tls=yes
28059 else
28060 gcc_cv_have_tls=no
28062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28063 conftest.$ac_objext conftest.beam conftest.$ac_ext
28066 CFLAGS="$chktls_save_CFLAGS"
28069 else
28070 gcc_cv_have_tls=no
28072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28073 conftest.$ac_objext conftest.beam conftest.$ac_ext
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28078 $as_echo "$gcc_cv_have_tls" >&6; }
28079 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28081 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28085 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28086 do :
28087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28089 eval as_val=\$$as_ac_var
28090 if test "x$as_val" = x""yes; then :
28091 cat >>confdefs.h <<_ACEOF
28092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28093 _ACEOF
28096 done
28098 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28099 do :
28100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28102 eval as_val=\$$as_ac_var
28103 if test "x$as_val" = x""yes; then :
28104 cat >>confdefs.h <<_ACEOF
28105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28106 _ACEOF
28109 done
28112 # For iconv support.
28114 if test "X$prefix" = "XNONE"; then
28115 acl_final_prefix="$ac_default_prefix"
28116 else
28117 acl_final_prefix="$prefix"
28119 if test "X$exec_prefix" = "XNONE"; then
28120 acl_final_exec_prefix='${prefix}'
28121 else
28122 acl_final_exec_prefix="$exec_prefix"
28124 acl_save_prefix="$prefix"
28125 prefix="$acl_final_prefix"
28126 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28127 prefix="$acl_save_prefix"
28130 # Check whether --with-gnu-ld was given.
28131 if test "${with_gnu_ld+set}" = set; then :
28132 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28133 else
28134 with_gnu_ld=no
28137 # Prepare PATH_SEPARATOR.
28138 # The user is always right.
28139 if test "${PATH_SEPARATOR+set}" != set; then
28140 echo "#! /bin/sh" >conf$$.sh
28141 echo "exit 0" >>conf$$.sh
28142 chmod +x conf$$.sh
28143 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28144 PATH_SEPARATOR=';'
28145 else
28146 PATH_SEPARATOR=:
28148 rm -f conf$$.sh
28150 ac_prog=ld
28151 if test "$GCC" = yes; then
28152 # Check if gcc -print-prog-name=ld gives a path.
28153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28154 $as_echo_n "checking for ld used by GCC... " >&6; }
28155 case $host in
28156 *-*-mingw*)
28157 # gcc leaves a trailing carriage return which upsets mingw
28158 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28160 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28161 esac
28162 case $ac_prog in
28163 # Accept absolute paths.
28164 [\\/]* | [A-Za-z]:[\\/]*)
28165 re_direlt='/[^/][^/]*/\.\./'
28166 # Canonicalize the path of ld
28167 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28168 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28169 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28170 done
28171 test -z "$LD" && LD="$ac_prog"
28174 # If it fails, then pretend we aren't using GCC.
28175 ac_prog=ld
28178 # If it is relative, then search for the first ld in PATH.
28179 with_gnu_ld=unknown
28181 esac
28182 elif test "$with_gnu_ld" = yes; then
28183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28184 $as_echo_n "checking for GNU ld... " >&6; }
28185 else
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28187 $as_echo_n "checking for non-GNU ld... " >&6; }
28189 if test "${acl_cv_path_LD+set}" = set; then :
28190 $as_echo_n "(cached) " >&6
28191 else
28192 if test -z "$LD"; then
28193 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28194 for ac_dir in $PATH; do
28195 test -z "$ac_dir" && ac_dir=.
28196 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28197 acl_cv_path_LD="$ac_dir/$ac_prog"
28198 # Check to see if the program is GNU ld. I'd rather use --version,
28199 # but apparently some GNU ld's only accept -v.
28200 # Break only if it was the GNU/non-GNU ld that we prefer.
28201 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28202 test "$with_gnu_ld" != no && break
28203 else
28204 test "$with_gnu_ld" != yes && break
28207 done
28208 IFS="$ac_save_ifs"
28209 else
28210 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28214 LD="$acl_cv_path_LD"
28215 if test -n "$LD"; then
28216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28217 $as_echo "$LD" >&6; }
28218 else
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28220 $as_echo "no" >&6; }
28222 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28224 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28225 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28226 $as_echo_n "(cached) " >&6
28227 else
28228 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28229 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28230 acl_cv_prog_gnu_ld=yes
28231 else
28232 acl_cv_prog_gnu_ld=no
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28236 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28237 with_gnu_ld=$acl_cv_prog_gnu_ld
28241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28242 $as_echo_n "checking for shared library run path origin... " >&6; }
28243 if test "${acl_cv_rpath+set}" = set; then :
28244 $as_echo_n "(cached) " >&6
28245 else
28247 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28248 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28249 . ./conftest.sh
28250 rm -f ./conftest.sh
28251 acl_cv_rpath=done
28254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28255 $as_echo "$acl_cv_rpath" >&6; }
28256 wl="$acl_cv_wl"
28257 libext="$acl_cv_libext"
28258 shlibext="$acl_cv_shlibext"
28259 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28260 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28261 hardcode_direct="$acl_cv_hardcode_direct"
28262 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28263 # Check whether --enable-rpath was given.
28264 if test "${enable_rpath+set}" = set; then :
28265 enableval=$enable_rpath; :
28266 else
28267 enable_rpath=yes
28277 use_additional=yes
28279 acl_save_prefix="$prefix"
28280 prefix="$acl_final_prefix"
28281 acl_save_exec_prefix="$exec_prefix"
28282 exec_prefix="$acl_final_exec_prefix"
28284 eval additional_includedir=\"$includedir\"
28285 eval additional_libdir=\"$libdir\"
28287 exec_prefix="$acl_save_exec_prefix"
28288 prefix="$acl_save_prefix"
28291 # Check whether --with-libiconv-prefix was given.
28292 if test "${with_libiconv_prefix+set}" = set; then :
28293 withval=$with_libiconv_prefix;
28294 if test "X$withval" = "Xno"; then
28295 use_additional=no
28296 else
28297 if test "X$withval" = "X"; then
28299 acl_save_prefix="$prefix"
28300 prefix="$acl_final_prefix"
28301 acl_save_exec_prefix="$exec_prefix"
28302 exec_prefix="$acl_final_exec_prefix"
28304 eval additional_includedir=\"$includedir\"
28305 eval additional_libdir=\"$libdir\"
28307 exec_prefix="$acl_save_exec_prefix"
28308 prefix="$acl_save_prefix"
28310 else
28311 additional_includedir="$withval/include"
28312 additional_libdir="$withval/lib"
28318 LIBICONV=
28319 LTLIBICONV=
28320 INCICONV=
28321 rpathdirs=
28322 ltrpathdirs=
28323 names_already_handled=
28324 names_next_round='iconv '
28325 while test -n "$names_next_round"; do
28326 names_this_round="$names_next_round"
28327 names_next_round=
28328 for name in $names_this_round; do
28329 already_handled=
28330 for n in $names_already_handled; do
28331 if test "$n" = "$name"; then
28332 already_handled=yes
28333 break
28335 done
28336 if test -z "$already_handled"; then
28337 names_already_handled="$names_already_handled $name"
28338 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28339 eval value=\"\$HAVE_LIB$uppername\"
28340 if test -n "$value"; then
28341 if test "$value" = yes; then
28342 eval value=\"\$LIB$uppername\"
28343 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28344 eval value=\"\$LTLIB$uppername\"
28345 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28346 else
28349 else
28350 found_dir=
28351 found_la=
28352 found_so=
28353 found_a=
28354 if test $use_additional = yes; then
28355 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28356 found_dir="$additional_libdir"
28357 found_so="$additional_libdir/lib$name.$shlibext"
28358 if test -f "$additional_libdir/lib$name.la"; then
28359 found_la="$additional_libdir/lib$name.la"
28361 else
28362 if test -f "$additional_libdir/lib$name.$libext"; then
28363 found_dir="$additional_libdir"
28364 found_a="$additional_libdir/lib$name.$libext"
28365 if test -f "$additional_libdir/lib$name.la"; then
28366 found_la="$additional_libdir/lib$name.la"
28371 if test "X$found_dir" = "X"; then
28372 for x in $LDFLAGS $LTLIBICONV; do
28374 acl_save_prefix="$prefix"
28375 prefix="$acl_final_prefix"
28376 acl_save_exec_prefix="$exec_prefix"
28377 exec_prefix="$acl_final_exec_prefix"
28378 eval x=\"$x\"
28379 exec_prefix="$acl_save_exec_prefix"
28380 prefix="$acl_save_prefix"
28382 case "$x" in
28383 -L*)
28384 dir=`echo "X$x" | sed -e 's/^X-L//'`
28385 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28386 found_dir="$dir"
28387 found_so="$dir/lib$name.$shlibext"
28388 if test -f "$dir/lib$name.la"; then
28389 found_la="$dir/lib$name.la"
28391 else
28392 if test -f "$dir/lib$name.$libext"; then
28393 found_dir="$dir"
28394 found_a="$dir/lib$name.$libext"
28395 if test -f "$dir/lib$name.la"; then
28396 found_la="$dir/lib$name.la"
28401 esac
28402 if test "X$found_dir" != "X"; then
28403 break
28405 done
28407 if test "X$found_dir" != "X"; then
28408 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28409 if test "X$found_so" != "X"; then
28410 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28411 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28412 else
28413 haveit=
28414 for x in $ltrpathdirs; do
28415 if test "X$x" = "X$found_dir"; then
28416 haveit=yes
28417 break
28419 done
28420 if test -z "$haveit"; then
28421 ltrpathdirs="$ltrpathdirs $found_dir"
28423 if test "$hardcode_direct" = yes; then
28424 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28425 else
28426 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28427 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28428 haveit=
28429 for x in $rpathdirs; do
28430 if test "X$x" = "X$found_dir"; then
28431 haveit=yes
28432 break
28434 done
28435 if test -z "$haveit"; then
28436 rpathdirs="$rpathdirs $found_dir"
28438 else
28439 haveit=
28440 for x in $LDFLAGS $LIBICONV; do
28442 acl_save_prefix="$prefix"
28443 prefix="$acl_final_prefix"
28444 acl_save_exec_prefix="$exec_prefix"
28445 exec_prefix="$acl_final_exec_prefix"
28446 eval x=\"$x\"
28447 exec_prefix="$acl_save_exec_prefix"
28448 prefix="$acl_save_prefix"
28450 if test "X$x" = "X-L$found_dir"; then
28451 haveit=yes
28452 break
28454 done
28455 if test -z "$haveit"; then
28456 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28458 if test "$hardcode_minus_L" != no; then
28459 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28460 else
28461 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28466 else
28467 if test "X$found_a" != "X"; then
28468 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28469 else
28470 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28473 additional_includedir=
28474 case "$found_dir" in
28475 */lib | */lib/)
28476 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28477 additional_includedir="$basedir/include"
28479 esac
28480 if test "X$additional_includedir" != "X"; then
28481 if test "X$additional_includedir" != "X/usr/include"; then
28482 haveit=
28483 if test "X$additional_includedir" = "X/usr/local/include"; then
28484 if test -n "$GCC"; then
28485 case $host_os in
28486 linux*) haveit=yes;;
28487 esac
28490 if test -z "$haveit"; then
28491 for x in $CPPFLAGS $INCICONV; do
28493 acl_save_prefix="$prefix"
28494 prefix="$acl_final_prefix"
28495 acl_save_exec_prefix="$exec_prefix"
28496 exec_prefix="$acl_final_exec_prefix"
28497 eval x=\"$x\"
28498 exec_prefix="$acl_save_exec_prefix"
28499 prefix="$acl_save_prefix"
28501 if test "X$x" = "X-I$additional_includedir"; then
28502 haveit=yes
28503 break
28505 done
28506 if test -z "$haveit"; then
28507 if test -d "$additional_includedir"; then
28508 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28514 if test -n "$found_la"; then
28515 save_libdir="$libdir"
28516 case "$found_la" in
28517 */* | *\\*) . "$found_la" ;;
28518 *) . "./$found_la" ;;
28519 esac
28520 libdir="$save_libdir"
28521 for dep in $dependency_libs; do
28522 case "$dep" in
28523 -L*)
28524 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28525 if test "X$additional_libdir" != "X/usr/lib"; then
28526 haveit=
28527 if test "X$additional_libdir" = "X/usr/local/lib"; then
28528 if test -n "$GCC"; then
28529 case $host_os in
28530 linux*) haveit=yes;;
28531 esac
28534 if test -z "$haveit"; then
28535 haveit=
28536 for x in $LDFLAGS $LIBICONV; do
28538 acl_save_prefix="$prefix"
28539 prefix="$acl_final_prefix"
28540 acl_save_exec_prefix="$exec_prefix"
28541 exec_prefix="$acl_final_exec_prefix"
28542 eval x=\"$x\"
28543 exec_prefix="$acl_save_exec_prefix"
28544 prefix="$acl_save_prefix"
28546 if test "X$x" = "X-L$additional_libdir"; then
28547 haveit=yes
28548 break
28550 done
28551 if test -z "$haveit"; then
28552 if test -d "$additional_libdir"; then
28553 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28556 haveit=
28557 for x in $LDFLAGS $LTLIBICONV; do
28559 acl_save_prefix="$prefix"
28560 prefix="$acl_final_prefix"
28561 acl_save_exec_prefix="$exec_prefix"
28562 exec_prefix="$acl_final_exec_prefix"
28563 eval x=\"$x\"
28564 exec_prefix="$acl_save_exec_prefix"
28565 prefix="$acl_save_prefix"
28567 if test "X$x" = "X-L$additional_libdir"; then
28568 haveit=yes
28569 break
28571 done
28572 if test -z "$haveit"; then
28573 if test -d "$additional_libdir"; then
28574 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28580 -R*)
28581 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28582 if test "$enable_rpath" != no; then
28583 haveit=
28584 for x in $rpathdirs; do
28585 if test "X$x" = "X$dir"; then
28586 haveit=yes
28587 break
28589 done
28590 if test -z "$haveit"; then
28591 rpathdirs="$rpathdirs $dir"
28593 haveit=
28594 for x in $ltrpathdirs; do
28595 if test "X$x" = "X$dir"; then
28596 haveit=yes
28597 break
28599 done
28600 if test -z "$haveit"; then
28601 ltrpathdirs="$ltrpathdirs $dir"
28605 -l*)
28606 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28608 *.la)
28609 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28612 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28613 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28615 esac
28616 done
28618 else
28619 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28620 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28624 done
28625 done
28626 if test "X$rpathdirs" != "X"; then
28627 if test -n "$hardcode_libdir_separator"; then
28628 alldirs=
28629 for found_dir in $rpathdirs; do
28630 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28631 done
28632 acl_save_libdir="$libdir"
28633 libdir="$alldirs"
28634 eval flag=\"$hardcode_libdir_flag_spec\"
28635 libdir="$acl_save_libdir"
28636 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28637 else
28638 for found_dir in $rpathdirs; do
28639 acl_save_libdir="$libdir"
28640 libdir="$found_dir"
28641 eval flag=\"$hardcode_libdir_flag_spec\"
28642 libdir="$acl_save_libdir"
28643 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28644 done
28647 if test "X$ltrpathdirs" != "X"; then
28648 for found_dir in $ltrpathdirs; do
28649 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28650 done
28659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28660 $as_echo_n "checking for iconv... " >&6; }
28661 if test "${am_cv_func_iconv+set}" = set; then :
28662 $as_echo_n "(cached) " >&6
28663 else
28665 am_cv_func_iconv="no, consider installing GNU libiconv"
28666 am_cv_lib_iconv=no
28667 am_save_CPPFLAGS="$CPPFLAGS"
28668 CPPFLAGS="$CPPFLAGS $INCICONV"
28669 if test x$gcc_no_link = xyes; then
28670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28673 /* end confdefs.h. */
28674 #include <stdlib.h>
28675 #include <iconv.h>
28677 main ()
28679 iconv_t cd = iconv_open("","");
28680 iconv(cd,NULL,NULL,NULL,NULL);
28681 iconv_close(cd);
28683 return 0;
28685 _ACEOF
28686 if ac_fn_c_try_link "$LINENO"; then :
28687 am_cv_func_iconv=yes
28689 rm -f core conftest.err conftest.$ac_objext \
28690 conftest$ac_exeext conftest.$ac_ext
28691 CPPFLAGS="$am_save_CPPFLAGS"
28693 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28694 for _libs in .libs _libs; do
28695 am_save_CPPFLAGS="$CPPFLAGS"
28696 am_save_LIBS="$LIBS"
28697 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28698 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28699 if test x$gcc_no_link = xyes; then
28700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28703 /* end confdefs.h. */
28704 #include <stdlib.h>
28705 #include <iconv.h>
28707 main ()
28709 iconv_t cd = iconv_open("","");
28710 iconv(cd,NULL,NULL,NULL,NULL);
28711 iconv_close(cd);
28713 return 0;
28715 _ACEOF
28716 if ac_fn_c_try_link "$LINENO"; then :
28717 INCICONV="-I../libiconv/include"
28718 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28719 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28720 am_cv_lib_iconv=yes
28721 am_cv_func_iconv=yes
28723 rm -f core conftest.err conftest.$ac_objext \
28724 conftest$ac_exeext conftest.$ac_ext
28725 CPPFLAGS="$am_save_CPPFLAGS"
28726 LIBS="$am_save_LIBS"
28727 if test "$am_cv_func_iconv" = "yes"; then
28728 break
28730 done
28733 if test "$am_cv_func_iconv" != yes; then
28734 am_save_CPPFLAGS="$CPPFLAGS"
28735 am_save_LIBS="$LIBS"
28736 CPPFLAGS="$LIBS $INCICONV"
28737 LIBS="$LIBS $LIBICONV"
28738 if test x$gcc_no_link = xyes; then
28739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28742 /* end confdefs.h. */
28743 #include <stdlib.h>
28744 #include <iconv.h>
28746 main ()
28748 iconv_t cd = iconv_open("","");
28749 iconv(cd,NULL,NULL,NULL,NULL);
28750 iconv_close(cd);
28752 return 0;
28754 _ACEOF
28755 if ac_fn_c_try_link "$LINENO"; then :
28756 am_cv_lib_iconv=yes
28757 am_cv_func_iconv=yes
28759 rm -f core conftest.err conftest.$ac_objext \
28760 conftest$ac_exeext conftest.$ac_ext
28761 CPPFLAGS="$am_save_CPPFLAGS"
28762 LIBS="$am_save_LIBS"
28766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28767 $as_echo "$am_cv_func_iconv" >&6; }
28768 if test "$am_cv_func_iconv" = yes; then
28770 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28773 if test "$am_cv_lib_iconv" = yes; then
28775 for element in $INCICONV; do
28776 haveit=
28777 for x in $CPPFLAGS; do
28779 acl_save_prefix="$prefix"
28780 prefix="$acl_final_prefix"
28781 acl_save_exec_prefix="$exec_prefix"
28782 exec_prefix="$acl_final_exec_prefix"
28783 eval x=\"$x\"
28784 exec_prefix="$acl_save_exec_prefix"
28785 prefix="$acl_save_prefix"
28787 if test "X$x" = "X$element"; then
28788 haveit=yes
28789 break
28791 done
28792 if test -z "$haveit"; then
28793 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28795 done
28797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28798 $as_echo_n "checking how to link with libiconv... " >&6; }
28799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28800 $as_echo "$LIBICONV" >&6; }
28801 else
28802 LIBICONV=
28803 LTLIBICONV=
28808 if test "$am_cv_func_iconv" = yes; then
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28810 $as_echo_n "checking for iconv declaration... " >&6; }
28811 if test "${am_cv_proto_iconv+set}" = set; then :
28812 $as_echo_n "(cached) " >&6
28813 else
28815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28816 /* end confdefs.h. */
28818 #include <stdlib.h>
28819 #include <iconv.h>
28820 extern
28821 #ifdef __cplusplus
28823 #endif
28824 #if defined(__STDC__) || defined(__cplusplus)
28825 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28826 #else
28827 size_t iconv();
28828 #endif
28831 main ()
28835 return 0;
28837 _ACEOF
28838 if ac_fn_c_try_compile "$LINENO"; then :
28839 am_cv_proto_iconv_arg1=""
28840 else
28841 am_cv_proto_iconv_arg1="const"
28843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28844 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);"
28847 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28849 }$am_cv_proto_iconv" >&5
28850 $as_echo "${ac_t:-
28851 }$am_cv_proto_iconv" >&6; }
28853 cat >>confdefs.h <<_ACEOF
28854 #define ICONV_CONST $am_cv_proto_iconv_arg1
28855 _ACEOF
28860 else
28862 # This lets us hard-code the functionality we know we'll have in the cross
28863 # target environment. "Let" is a sugar-coated word placed on an especially
28864 # dull and tedious hack, actually.
28866 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28867 # that involve linking, can't be used:
28868 # "cannot open sim-crt0.o"
28869 # "cannot open crt0.o"
28870 # etc. All this is because there currently exists no unified, consistent
28871 # way for top level CC information to be passed down to target directories:
28872 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28873 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28874 # crosses can be removed.
28876 # If Canadian cross, then don't pick up tools from the build directory.
28877 # Used only in GLIBCXX_EXPORT_INCLUDES.
28878 if test -n "$with_cross_host" &&
28879 test x"$build_alias" != x"$with_cross_host" &&
28880 test x"$build" != x"$target";
28881 then
28882 CANADIAN=yes
28883 else
28884 CANADIAN=no
28887 # Construct crosses by hand, eliminating bits that need ld...
28888 # GLIBCXX_CHECK_MATH_SUPPORT
28890 # First, test for "known" system libraries. We may be using newlib even
28891 # on a hosted environment.
28892 if test "x${with_newlib}" = "xyes"; then
28893 os_include_dir="os/newlib"
28894 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28897 # GLIBCXX_CHECK_STDLIB_SUPPORT
28898 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28901 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28903 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28905 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28907 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28909 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28911 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28913 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28915 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28917 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28919 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28921 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28923 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28925 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28927 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28929 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28931 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28933 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28935 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28937 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28939 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28941 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28943 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28946 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28948 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28950 else
28952 # Base decisions on target environment.
28953 case "${host}" in
28954 arm*-*-symbianelf*)
28955 # This is a freestanding configuration; there is nothing to do here.
28958 avr*-*-*)
28959 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28961 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28963 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28965 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28967 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28969 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28971 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28973 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28975 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28977 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28979 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28981 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28983 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28985 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
28987 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28989 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28991 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28993 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28995 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28997 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28999 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29001 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29003 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29007 mips*-sde-elf*)
29008 # These definitions are for the SDE C library rather than newlib.
29009 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29012 # All these tests are for C++; save the language and the compiler flags.
29013 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29014 # found in GLIBCXX_CONFIGURE.
29016 ac_ext=cpp
29017 ac_cpp='$CXXCPP $CPPFLAGS'
29018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29022 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29023 ac_save_CXXFLAGS="$CXXFLAGS"
29025 # Check for maintainer-mode bits.
29026 if test x"$USE_MAINTAINER_MODE" = xno; then
29027 WERROR=''
29028 else
29029 WERROR='-Werror'
29032 # Check for -ffunction-sections -fdata-sections
29033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29034 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29035 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29037 /* end confdefs.h. */
29038 int foo; void bar() { };
29040 main ()
29044 return 0;
29046 _ACEOF
29047 if ac_fn_cxx_try_compile "$LINENO"; then :
29048 ac_fdsections=yes
29049 else
29050 ac_fdsections=no
29052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29053 if test "$ac_test_CXXFLAGS" = set; then
29054 CXXFLAGS="$ac_save_CXXFLAGS"
29055 else
29056 # this is the suspicious part
29057 CXXFLAGS=''
29059 if test x"$ac_fdsections" = x"yes"; then
29060 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29063 $as_echo "$ac_fdsections" >&6; }
29065 ac_ext=c
29066 ac_cpp='$CPP $CPPFLAGS'
29067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29075 # If we're not using GNU ld, then there's no point in even trying these
29076 # tests. Check for that first. We should have already tested for gld
29077 # by now (in libtool), but require it now just to be safe...
29078 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29079 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29083 # The name set by libtool depends on the version of libtool. Shame on us
29084 # for depending on an impl detail, but c'est la vie. Older versions used
29085 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29086 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29087 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29088 # set (hence we're using an older libtool), then set it.
29089 if test x${with_gnu_ld+set} != xset; then
29090 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29091 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29092 with_gnu_ld=no
29093 else
29094 with_gnu_ld=$ac_cv_prog_gnu_ld
29098 # Start by getting the version number. I think the libtool test already
29099 # does some of this, but throws away the result.
29100 glibcxx_ld_is_gold=no
29101 if test x"$with_gnu_ld" = x"yes"; then
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29103 $as_echo_n "checking for ld version... " >&6; }
29105 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29106 glibcxx_ld_is_gold=yes
29108 ldver=`$LD --version 2>/dev/null |
29109 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'`
29111 glibcxx_gnu_ld_version=`echo $ldver | \
29112 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29114 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29117 # Set --gc-sections.
29118 glibcxx_have_gc_sections=no
29119 if test "$glibcxx_ld_is_gold" = "yes"; then
29120 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29121 glibcxx_have_gc_sections=yes
29123 else
29124 glibcxx_gcsections_min_ld=21602
29125 if test x"$with_gnu_ld" = x"yes" &&
29126 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29127 glibcxx_have_gc_sections=yes
29130 if test "$glibcxx_have_gc_sections" = "yes"; then
29131 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29132 # NB: This flag only works reliably after 2.16.1. Configure tests
29133 # for this are difficult, so hard wire a value that should work.
29135 ac_test_CFLAGS="${CFLAGS+set}"
29136 ac_save_CFLAGS="$CFLAGS"
29137 CFLAGS='-Wl,--gc-sections'
29139 # Check for -Wl,--gc-sections
29140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29141 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29142 if test x$gcc_no_link = xyes; then
29143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29146 /* end confdefs.h. */
29147 int one(void) { return 1; }
29148 int two(void) { return 2; }
29151 main ()
29153 two();
29155 return 0;
29157 _ACEOF
29158 if ac_fn_c_try_link "$LINENO"; then :
29159 ac_gcsections=yes
29160 else
29161 ac_gcsections=no
29163 rm -f core conftest.err conftest.$ac_objext \
29164 conftest$ac_exeext conftest.$ac_ext
29165 if test "$ac_gcsections" = "yes"; then
29166 rm -f conftest.c
29167 touch conftest.c
29168 if $CC -c conftest.c; then
29169 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29170 grep "Warning: gc-sections option ignored" > /dev/null; then
29171 ac_gcsections=no
29174 rm -f conftest.c conftest.o conftest
29176 if test "$ac_gcsections" = "yes"; then
29177 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29180 $as_echo "$ac_gcsections" >&6; }
29182 if test "$ac_test_CFLAGS" = set; then
29183 CFLAGS="$ac_save_CFLAGS"
29184 else
29185 # this is the suspicious part
29186 CFLAGS=''
29190 # Set -z,relro.
29191 # Note this is only for shared objects.
29192 ac_ld_relro=no
29193 if test x"$with_gnu_ld" = x"yes"; then
29194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29195 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29196 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29197 if test -n "$cxx_z_relo"; then
29198 OPT_LDFLAGS="-Wl,-z,relro"
29199 ac_ld_relro=yes
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29202 $as_echo "$ac_ld_relro" >&6; }
29205 # Set linker optimization flags.
29206 if test x"$with_gnu_ld" = x"yes"; then
29207 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29214 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29215 ac_save_CXXFLAGS="$CXXFLAGS"
29216 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29219 $as_echo_n "checking for sin in -lm... " >&6; }
29220 if test "${ac_cv_lib_m_sin+set}" = set; then :
29221 $as_echo_n "(cached) " >&6
29222 else
29223 ac_check_lib_save_LIBS=$LIBS
29224 LIBS="-lm $LIBS"
29225 if test x$gcc_no_link = xyes; then
29226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29229 /* end confdefs.h. */
29231 /* Override any GCC internal prototype to avoid an error.
29232 Use char because int might match the return type of a GCC
29233 builtin and then its argument prototype would still apply. */
29234 #ifdef __cplusplus
29235 extern "C"
29236 #endif
29237 char sin ();
29239 main ()
29241 return sin ();
29243 return 0;
29245 _ACEOF
29246 if ac_fn_c_try_link "$LINENO"; then :
29247 ac_cv_lib_m_sin=yes
29248 else
29249 ac_cv_lib_m_sin=no
29251 rm -f core conftest.err conftest.$ac_objext \
29252 conftest$ac_exeext conftest.$ac_ext
29253 LIBS=$ac_check_lib_save_LIBS
29255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29256 $as_echo "$ac_cv_lib_m_sin" >&6; }
29257 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29258 libm="-lm"
29261 ac_save_LIBS="$LIBS"
29262 LIBS="$LIBS $libm"
29266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29267 $as_echo_n "checking for isinf declaration... " >&6; }
29268 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29269 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29270 $as_echo_n "(cached) " >&6
29271 else
29274 ac_ext=cpp
29275 ac_cpp='$CXXCPP $CPPFLAGS'
29276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29281 /* end confdefs.h. */
29282 #include <math.h>
29283 #ifdef HAVE_IEEEFP_H
29284 #include <ieeefp.h>
29285 #endif
29288 main ()
29290 isinf(0);
29292 return 0;
29294 _ACEOF
29295 if ac_fn_cxx_try_compile "$LINENO"; then :
29296 glibcxx_cv_func_isinf_use=yes
29297 else
29298 glibcxx_cv_func_isinf_use=no
29300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29301 ac_ext=c
29302 ac_cpp='$CPP $CPPFLAGS'
29303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29312 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29314 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29315 for ac_func in isinf
29316 do :
29317 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29318 if test "x$ac_cv_func_isinf" = x""yes; then :
29319 cat >>confdefs.h <<_ACEOF
29320 #define HAVE_ISINF 1
29321 _ACEOF
29324 done
29326 else
29328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29329 $as_echo_n "checking for _isinf declaration... " >&6; }
29330 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29331 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29332 $as_echo_n "(cached) " >&6
29333 else
29336 ac_ext=cpp
29337 ac_cpp='$CXXCPP $CPPFLAGS'
29338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29343 /* end confdefs.h. */
29344 #include <math.h>
29345 #ifdef HAVE_IEEEFP_H
29346 #include <ieeefp.h>
29347 #endif
29350 main ()
29352 _isinf(0);
29354 return 0;
29356 _ACEOF
29357 if ac_fn_cxx_try_compile "$LINENO"; then :
29358 glibcxx_cv_func__isinf_use=yes
29359 else
29360 glibcxx_cv_func__isinf_use=no
29362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29363 ac_ext=c
29364 ac_cpp='$CPP $CPPFLAGS'
29365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29374 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29376 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29377 for ac_func in _isinf
29378 do :
29379 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29380 if test "x$ac_cv_func__isinf" = x""yes; then :
29381 cat >>confdefs.h <<_ACEOF
29382 #define HAVE__ISINF 1
29383 _ACEOF
29386 done
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29396 $as_echo_n "checking for isnan declaration... " >&6; }
29397 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29398 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29399 $as_echo_n "(cached) " >&6
29400 else
29403 ac_ext=cpp
29404 ac_cpp='$CXXCPP $CPPFLAGS'
29405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29410 /* end confdefs.h. */
29411 #include <math.h>
29412 #ifdef HAVE_IEEEFP_H
29413 #include <ieeefp.h>
29414 #endif
29417 main ()
29419 isnan(0);
29421 return 0;
29423 _ACEOF
29424 if ac_fn_cxx_try_compile "$LINENO"; then :
29425 glibcxx_cv_func_isnan_use=yes
29426 else
29427 glibcxx_cv_func_isnan_use=no
29429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29430 ac_ext=c
29431 ac_cpp='$CPP $CPPFLAGS'
29432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29441 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29443 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29444 for ac_func in isnan
29445 do :
29446 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29447 if test "x$ac_cv_func_isnan" = x""yes; then :
29448 cat >>confdefs.h <<_ACEOF
29449 #define HAVE_ISNAN 1
29450 _ACEOF
29453 done
29455 else
29457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29458 $as_echo_n "checking for _isnan declaration... " >&6; }
29459 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29460 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29461 $as_echo_n "(cached) " >&6
29462 else
29465 ac_ext=cpp
29466 ac_cpp='$CXXCPP $CPPFLAGS'
29467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29472 /* end confdefs.h. */
29473 #include <math.h>
29474 #ifdef HAVE_IEEEFP_H
29475 #include <ieeefp.h>
29476 #endif
29479 main ()
29481 _isnan(0);
29483 return 0;
29485 _ACEOF
29486 if ac_fn_cxx_try_compile "$LINENO"; then :
29487 glibcxx_cv_func__isnan_use=yes
29488 else
29489 glibcxx_cv_func__isnan_use=no
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492 ac_ext=c
29493 ac_cpp='$CPP $CPPFLAGS'
29494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29503 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29505 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29506 for ac_func in _isnan
29507 do :
29508 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29509 if test "x$ac_cv_func__isnan" = x""yes; then :
29510 cat >>confdefs.h <<_ACEOF
29511 #define HAVE__ISNAN 1
29512 _ACEOF
29515 done
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29525 $as_echo_n "checking for finite declaration... " >&6; }
29526 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29527 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29528 $as_echo_n "(cached) " >&6
29529 else
29532 ac_ext=cpp
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539 /* end confdefs.h. */
29540 #include <math.h>
29541 #ifdef HAVE_IEEEFP_H
29542 #include <ieeefp.h>
29543 #endif
29546 main ()
29548 finite(0);
29550 return 0;
29552 _ACEOF
29553 if ac_fn_cxx_try_compile "$LINENO"; then :
29554 glibcxx_cv_func_finite_use=yes
29555 else
29556 glibcxx_cv_func_finite_use=no
29558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29559 ac_ext=c
29560 ac_cpp='$CPP $CPPFLAGS'
29561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29570 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29572 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29573 for ac_func in finite
29574 do :
29575 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29576 if test "x$ac_cv_func_finite" = x""yes; then :
29577 cat >>confdefs.h <<_ACEOF
29578 #define HAVE_FINITE 1
29579 _ACEOF
29582 done
29584 else
29586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29587 $as_echo_n "checking for _finite declaration... " >&6; }
29588 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29589 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29590 $as_echo_n "(cached) " >&6
29591 else
29594 ac_ext=cpp
29595 ac_cpp='$CXXCPP $CPPFLAGS'
29596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601 /* end confdefs.h. */
29602 #include <math.h>
29603 #ifdef HAVE_IEEEFP_H
29604 #include <ieeefp.h>
29605 #endif
29608 main ()
29610 _finite(0);
29612 return 0;
29614 _ACEOF
29615 if ac_fn_cxx_try_compile "$LINENO"; then :
29616 glibcxx_cv_func__finite_use=yes
29617 else
29618 glibcxx_cv_func__finite_use=no
29620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29621 ac_ext=c
29622 ac_cpp='$CPP $CPPFLAGS'
29623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29632 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29634 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29635 for ac_func in _finite
29636 do :
29637 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29638 if test "x$ac_cv_func__finite" = x""yes; then :
29639 cat >>confdefs.h <<_ACEOF
29640 #define HAVE__FINITE 1
29641 _ACEOF
29644 done
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29654 $as_echo_n "checking for sincos declaration... " >&6; }
29655 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29656 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29657 $as_echo_n "(cached) " >&6
29658 else
29661 ac_ext=cpp
29662 ac_cpp='$CXXCPP $CPPFLAGS'
29663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h. */
29669 #include <math.h>
29671 main ()
29673 sincos(0, 0, 0);
29675 return 0;
29677 _ACEOF
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679 glibcxx_cv_func_sincos_use=yes
29680 else
29681 glibcxx_cv_func_sincos_use=no
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684 ac_ext=c
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29695 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29697 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29698 for ac_func in sincos
29699 do :
29700 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29701 if test "x$ac_cv_func_sincos" = x""yes; then :
29702 cat >>confdefs.h <<_ACEOF
29703 #define HAVE_SINCOS 1
29704 _ACEOF
29707 done
29709 else
29711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29712 $as_echo_n "checking for _sincos declaration... " >&6; }
29713 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29714 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29715 $as_echo_n "(cached) " >&6
29716 else
29719 ac_ext=cpp
29720 ac_cpp='$CXXCPP $CPPFLAGS'
29721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29726 /* end confdefs.h. */
29727 #include <math.h>
29729 main ()
29731 _sincos(0, 0, 0);
29733 return 0;
29735 _ACEOF
29736 if ac_fn_cxx_try_compile "$LINENO"; then :
29737 glibcxx_cv_func__sincos_use=yes
29738 else
29739 glibcxx_cv_func__sincos_use=no
29741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29742 ac_ext=c
29743 ac_cpp='$CPP $CPPFLAGS'
29744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29753 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29755 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29756 for ac_func in _sincos
29757 do :
29758 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29759 if test "x$ac_cv_func__sincos" = x""yes; then :
29760 cat >>confdefs.h <<_ACEOF
29761 #define HAVE__SINCOS 1
29762 _ACEOF
29765 done
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29775 $as_echo_n "checking for fpclass declaration... " >&6; }
29776 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29777 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29778 $as_echo_n "(cached) " >&6
29779 else
29782 ac_ext=cpp
29783 ac_cpp='$CXXCPP $CPPFLAGS'
29784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29789 /* end confdefs.h. */
29790 #include <math.h>
29791 #ifdef HAVE_IEEEFP_H
29792 #include <ieeefp.h>
29793 #endif
29796 main ()
29798 fpclass(0);
29800 return 0;
29802 _ACEOF
29803 if ac_fn_cxx_try_compile "$LINENO"; then :
29804 glibcxx_cv_func_fpclass_use=yes
29805 else
29806 glibcxx_cv_func_fpclass_use=no
29808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29809 ac_ext=c
29810 ac_cpp='$CPP $CPPFLAGS'
29811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29820 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29822 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29823 for ac_func in fpclass
29824 do :
29825 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29826 if test "x$ac_cv_func_fpclass" = x""yes; then :
29827 cat >>confdefs.h <<_ACEOF
29828 #define HAVE_FPCLASS 1
29829 _ACEOF
29832 done
29834 else
29836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29837 $as_echo_n "checking for _fpclass declaration... " >&6; }
29838 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29839 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29840 $as_echo_n "(cached) " >&6
29841 else
29844 ac_ext=cpp
29845 ac_cpp='$CXXCPP $CPPFLAGS'
29846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29851 /* end confdefs.h. */
29852 #include <math.h>
29853 #ifdef HAVE_IEEEFP_H
29854 #include <ieeefp.h>
29855 #endif
29858 main ()
29860 _fpclass(0);
29862 return 0;
29864 _ACEOF
29865 if ac_fn_cxx_try_compile "$LINENO"; then :
29866 glibcxx_cv_func__fpclass_use=yes
29867 else
29868 glibcxx_cv_func__fpclass_use=no
29870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29871 ac_ext=c
29872 ac_cpp='$CPP $CPPFLAGS'
29873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29882 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29884 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29885 for ac_func in _fpclass
29886 do :
29887 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29888 if test "x$ac_cv_func__fpclass" = x""yes; then :
29889 cat >>confdefs.h <<_ACEOF
29890 #define HAVE__FPCLASS 1
29891 _ACEOF
29894 done
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29904 $as_echo_n "checking for qfpclass declaration... " >&6; }
29905 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29906 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29907 $as_echo_n "(cached) " >&6
29908 else
29911 ac_ext=cpp
29912 ac_cpp='$CXXCPP $CPPFLAGS'
29913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29918 /* end confdefs.h. */
29919 #include <math.h>
29920 #ifdef HAVE_IEEEFP_H
29921 #include <ieeefp.h>
29922 #endif
29925 main ()
29927 qfpclass(0);
29929 return 0;
29931 _ACEOF
29932 if ac_fn_cxx_try_compile "$LINENO"; then :
29933 glibcxx_cv_func_qfpclass_use=yes
29934 else
29935 glibcxx_cv_func_qfpclass_use=no
29937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29938 ac_ext=c
29939 ac_cpp='$CPP $CPPFLAGS'
29940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29949 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29951 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29952 for ac_func in qfpclass
29953 do :
29954 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29955 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29956 cat >>confdefs.h <<_ACEOF
29957 #define HAVE_QFPCLASS 1
29958 _ACEOF
29961 done
29963 else
29965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29966 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29967 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29968 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29969 $as_echo_n "(cached) " >&6
29970 else
29973 ac_ext=cpp
29974 ac_cpp='$CXXCPP $CPPFLAGS'
29975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29980 /* end confdefs.h. */
29981 #include <math.h>
29982 #ifdef HAVE_IEEEFP_H
29983 #include <ieeefp.h>
29984 #endif
29987 main ()
29989 _qfpclass(0);
29991 return 0;
29993 _ACEOF
29994 if ac_fn_cxx_try_compile "$LINENO"; then :
29995 glibcxx_cv_func__qfpclass_use=yes
29996 else
29997 glibcxx_cv_func__qfpclass_use=no
29999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30000 ac_ext=c
30001 ac_cpp='$CPP $CPPFLAGS'
30002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30011 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30013 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30014 for ac_func in _qfpclass
30015 do :
30016 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30017 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30018 cat >>confdefs.h <<_ACEOF
30019 #define HAVE__QFPCLASS 1
30020 _ACEOF
30023 done
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30033 $as_echo_n "checking for hypot declaration... " >&6; }
30034 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30035 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30036 $as_echo_n "(cached) " >&6
30037 else
30040 ac_ext=cpp
30041 ac_cpp='$CXXCPP $CPPFLAGS'
30042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30047 /* end confdefs.h. */
30048 #include <math.h>
30050 main ()
30052 hypot(0, 0);
30054 return 0;
30056 _ACEOF
30057 if ac_fn_cxx_try_compile "$LINENO"; then :
30058 glibcxx_cv_func_hypot_use=yes
30059 else
30060 glibcxx_cv_func_hypot_use=no
30062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30063 ac_ext=c
30064 ac_cpp='$CPP $CPPFLAGS'
30065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30074 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30076 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30077 for ac_func in hypot
30078 do :
30079 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30080 if test "x$ac_cv_func_hypot" = x""yes; then :
30081 cat >>confdefs.h <<_ACEOF
30082 #define HAVE_HYPOT 1
30083 _ACEOF
30086 done
30088 else
30090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30091 $as_echo_n "checking for _hypot declaration... " >&6; }
30092 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30093 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30094 $as_echo_n "(cached) " >&6
30095 else
30098 ac_ext=cpp
30099 ac_cpp='$CXXCPP $CPPFLAGS'
30100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30105 /* end confdefs.h. */
30106 #include <math.h>
30108 main ()
30110 _hypot(0, 0);
30112 return 0;
30114 _ACEOF
30115 if ac_fn_cxx_try_compile "$LINENO"; then :
30116 glibcxx_cv_func__hypot_use=yes
30117 else
30118 glibcxx_cv_func__hypot_use=no
30120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30121 ac_ext=c
30122 ac_cpp='$CPP $CPPFLAGS'
30123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30132 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30134 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30135 for ac_func in _hypot
30136 do :
30137 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30138 if test "x$ac_cv_func__hypot" = x""yes; then :
30139 cat >>confdefs.h <<_ACEOF
30140 #define HAVE__HYPOT 1
30141 _ACEOF
30144 done
30153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30154 $as_echo_n "checking for float trig functions... " >&6; }
30155 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30156 $as_echo_n "(cached) " >&6
30157 else
30160 ac_ext=cpp
30161 ac_cpp='$CXXCPP $CPPFLAGS'
30162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30167 /* end confdefs.h. */
30168 #include <math.h>
30170 main ()
30172 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30174 return 0;
30176 _ACEOF
30177 if ac_fn_cxx_try_compile "$LINENO"; then :
30178 glibcxx_cv_func_float_trig_use=yes
30179 else
30180 glibcxx_cv_func_float_trig_use=no
30182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30183 ac_ext=c
30184 ac_cpp='$CPP $CPPFLAGS'
30185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30192 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30193 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30194 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30195 do :
30196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30198 eval as_val=\$$as_ac_var
30199 if test "x$as_val" = x""yes; then :
30200 cat >>confdefs.h <<_ACEOF
30201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30202 _ACEOF
30205 done
30207 else
30208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30209 $as_echo_n "checking for _float trig functions... " >&6; }
30210 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30211 $as_echo_n "(cached) " >&6
30212 else
30215 ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h. */
30223 #include <math.h>
30225 main ()
30227 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30229 return 0;
30231 _ACEOF
30232 if ac_fn_cxx_try_compile "$LINENO"; then :
30233 glibcxx_cv_func__float_trig_use=yes
30234 else
30235 glibcxx_cv_func__float_trig_use=no
30237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30238 ac_ext=c
30239 ac_cpp='$CPP $CPPFLAGS'
30240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30247 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30248 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30249 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30250 do :
30251 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30253 eval as_val=\$$as_ac_var
30254 if test "x$as_val" = x""yes; then :
30255 cat >>confdefs.h <<_ACEOF
30256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30257 _ACEOF
30260 done
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30270 $as_echo_n "checking for float round functions... " >&6; }
30271 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30272 $as_echo_n "(cached) " >&6
30273 else
30276 ac_ext=cpp
30277 ac_cpp='$CXXCPP $CPPFLAGS'
30278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30283 /* end confdefs.h. */
30284 #include <math.h>
30286 main ()
30288 ceilf (0); floorf (0);
30290 return 0;
30292 _ACEOF
30293 if ac_fn_cxx_try_compile "$LINENO"; then :
30294 glibcxx_cv_func_float_round_use=yes
30295 else
30296 glibcxx_cv_func_float_round_use=no
30298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30299 ac_ext=c
30300 ac_cpp='$CPP $CPPFLAGS'
30301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30308 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30309 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30310 for ac_func in ceilf floorf
30311 do :
30312 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30313 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30314 eval as_val=\$$as_ac_var
30315 if test "x$as_val" = x""yes; then :
30316 cat >>confdefs.h <<_ACEOF
30317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30318 _ACEOF
30321 done
30323 else
30324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30325 $as_echo_n "checking for _float round functions... " >&6; }
30326 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30327 $as_echo_n "(cached) " >&6
30328 else
30331 ac_ext=cpp
30332 ac_cpp='$CXXCPP $CPPFLAGS'
30333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30338 /* end confdefs.h. */
30339 #include <math.h>
30341 main ()
30343 _ceilf (0); _floorf (0);
30345 return 0;
30347 _ACEOF
30348 if ac_fn_cxx_try_compile "$LINENO"; then :
30349 glibcxx_cv_func__float_round_use=yes
30350 else
30351 glibcxx_cv_func__float_round_use=no
30353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30354 ac_ext=c
30355 ac_cpp='$CPP $CPPFLAGS'
30356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30363 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30364 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30365 for ac_func in _ceilf _floorf
30366 do :
30367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30369 eval as_val=\$$as_ac_var
30370 if test "x$as_val" = x""yes; then :
30371 cat >>confdefs.h <<_ACEOF
30372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30373 _ACEOF
30376 done
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30387 $as_echo_n "checking for expf declaration... " >&6; }
30388 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30389 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30390 $as_echo_n "(cached) " >&6
30391 else
30394 ac_ext=cpp
30395 ac_cpp='$CXXCPP $CPPFLAGS'
30396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30401 /* end confdefs.h. */
30402 #include <math.h>
30403 #ifdef HAVE_IEEEFP_H
30404 #include <ieeefp.h>
30405 #endif
30408 main ()
30410 expf(0);
30412 return 0;
30414 _ACEOF
30415 if ac_fn_cxx_try_compile "$LINENO"; then :
30416 glibcxx_cv_func_expf_use=yes
30417 else
30418 glibcxx_cv_func_expf_use=no
30420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30421 ac_ext=c
30422 ac_cpp='$CPP $CPPFLAGS'
30423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30432 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30434 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30435 for ac_func in expf
30436 do :
30437 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30438 if test "x$ac_cv_func_expf" = x""yes; then :
30439 cat >>confdefs.h <<_ACEOF
30440 #define HAVE_EXPF 1
30441 _ACEOF
30444 done
30446 else
30448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30449 $as_echo_n "checking for _expf declaration... " >&6; }
30450 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30451 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30452 $as_echo_n "(cached) " >&6
30453 else
30456 ac_ext=cpp
30457 ac_cpp='$CXXCPP $CPPFLAGS'
30458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30463 /* end confdefs.h. */
30464 #include <math.h>
30465 #ifdef HAVE_IEEEFP_H
30466 #include <ieeefp.h>
30467 #endif
30470 main ()
30472 _expf(0);
30474 return 0;
30476 _ACEOF
30477 if ac_fn_cxx_try_compile "$LINENO"; then :
30478 glibcxx_cv_func__expf_use=yes
30479 else
30480 glibcxx_cv_func__expf_use=no
30482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30483 ac_ext=c
30484 ac_cpp='$CPP $CPPFLAGS'
30485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30494 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30496 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30497 for ac_func in _expf
30498 do :
30499 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30500 if test "x$ac_cv_func__expf" = x""yes; then :
30501 cat >>confdefs.h <<_ACEOF
30502 #define HAVE__EXPF 1
30503 _ACEOF
30506 done
30515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30516 $as_echo_n "checking for isnanf declaration... " >&6; }
30517 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30518 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30519 $as_echo_n "(cached) " >&6
30520 else
30523 ac_ext=cpp
30524 ac_cpp='$CXXCPP $CPPFLAGS'
30525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30530 /* end confdefs.h. */
30531 #include <math.h>
30532 #ifdef HAVE_IEEEFP_H
30533 #include <ieeefp.h>
30534 #endif
30537 main ()
30539 isnanf(0);
30541 return 0;
30543 _ACEOF
30544 if ac_fn_cxx_try_compile "$LINENO"; then :
30545 glibcxx_cv_func_isnanf_use=yes
30546 else
30547 glibcxx_cv_func_isnanf_use=no
30549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30550 ac_ext=c
30551 ac_cpp='$CPP $CPPFLAGS'
30552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30561 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30563 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30564 for ac_func in isnanf
30565 do :
30566 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30567 if test "x$ac_cv_func_isnanf" = x""yes; then :
30568 cat >>confdefs.h <<_ACEOF
30569 #define HAVE_ISNANF 1
30570 _ACEOF
30573 done
30575 else
30577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30578 $as_echo_n "checking for _isnanf declaration... " >&6; }
30579 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30580 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30581 $as_echo_n "(cached) " >&6
30582 else
30585 ac_ext=cpp
30586 ac_cpp='$CXXCPP $CPPFLAGS'
30587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30592 /* end confdefs.h. */
30593 #include <math.h>
30594 #ifdef HAVE_IEEEFP_H
30595 #include <ieeefp.h>
30596 #endif
30599 main ()
30601 _isnanf(0);
30603 return 0;
30605 _ACEOF
30606 if ac_fn_cxx_try_compile "$LINENO"; then :
30607 glibcxx_cv_func__isnanf_use=yes
30608 else
30609 glibcxx_cv_func__isnanf_use=no
30611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30612 ac_ext=c
30613 ac_cpp='$CPP $CPPFLAGS'
30614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30623 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30625 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30626 for ac_func in _isnanf
30627 do :
30628 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30629 if test "x$ac_cv_func__isnanf" = x""yes; then :
30630 cat >>confdefs.h <<_ACEOF
30631 #define HAVE__ISNANF 1
30632 _ACEOF
30635 done
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30645 $as_echo_n "checking for isinff declaration... " >&6; }
30646 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30647 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30648 $as_echo_n "(cached) " >&6
30649 else
30652 ac_ext=cpp
30653 ac_cpp='$CXXCPP $CPPFLAGS'
30654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30659 /* end confdefs.h. */
30660 #include <math.h>
30661 #ifdef HAVE_IEEEFP_H
30662 #include <ieeefp.h>
30663 #endif
30666 main ()
30668 isinff(0);
30670 return 0;
30672 _ACEOF
30673 if ac_fn_cxx_try_compile "$LINENO"; then :
30674 glibcxx_cv_func_isinff_use=yes
30675 else
30676 glibcxx_cv_func_isinff_use=no
30678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30679 ac_ext=c
30680 ac_cpp='$CPP $CPPFLAGS'
30681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30690 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30692 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30693 for ac_func in isinff
30694 do :
30695 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30696 if test "x$ac_cv_func_isinff" = x""yes; then :
30697 cat >>confdefs.h <<_ACEOF
30698 #define HAVE_ISINFF 1
30699 _ACEOF
30702 done
30704 else
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30707 $as_echo_n "checking for _isinff declaration... " >&6; }
30708 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30709 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30710 $as_echo_n "(cached) " >&6
30711 else
30714 ac_ext=cpp
30715 ac_cpp='$CXXCPP $CPPFLAGS'
30716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30721 /* end confdefs.h. */
30722 #include <math.h>
30723 #ifdef HAVE_IEEEFP_H
30724 #include <ieeefp.h>
30725 #endif
30728 main ()
30730 _isinff(0);
30732 return 0;
30734 _ACEOF
30735 if ac_fn_cxx_try_compile "$LINENO"; then :
30736 glibcxx_cv_func__isinff_use=yes
30737 else
30738 glibcxx_cv_func__isinff_use=no
30740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30741 ac_ext=c
30742 ac_cpp='$CPP $CPPFLAGS'
30743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30752 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30754 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30755 for ac_func in _isinff
30756 do :
30757 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30758 if test "x$ac_cv_func__isinff" = x""yes; then :
30759 cat >>confdefs.h <<_ACEOF
30760 #define HAVE__ISINFF 1
30761 _ACEOF
30764 done
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30774 $as_echo_n "checking for atan2f declaration... " >&6; }
30775 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30776 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30777 $as_echo_n "(cached) " >&6
30778 else
30781 ac_ext=cpp
30782 ac_cpp='$CXXCPP $CPPFLAGS'
30783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30788 /* end confdefs.h. */
30789 #include <math.h>
30791 main ()
30793 atan2f(0, 0);
30795 return 0;
30797 _ACEOF
30798 if ac_fn_cxx_try_compile "$LINENO"; then :
30799 glibcxx_cv_func_atan2f_use=yes
30800 else
30801 glibcxx_cv_func_atan2f_use=no
30803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30804 ac_ext=c
30805 ac_cpp='$CPP $CPPFLAGS'
30806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30815 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30817 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30818 for ac_func in atan2f
30819 do :
30820 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30821 if test "x$ac_cv_func_atan2f" = x""yes; then :
30822 cat >>confdefs.h <<_ACEOF
30823 #define HAVE_ATAN2F 1
30824 _ACEOF
30827 done
30829 else
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30832 $as_echo_n "checking for _atan2f declaration... " >&6; }
30833 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30834 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30835 $as_echo_n "(cached) " >&6
30836 else
30839 ac_ext=cpp
30840 ac_cpp='$CXXCPP $CPPFLAGS'
30841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30846 /* end confdefs.h. */
30847 #include <math.h>
30849 main ()
30851 _atan2f(0, 0);
30853 return 0;
30855 _ACEOF
30856 if ac_fn_cxx_try_compile "$LINENO"; then :
30857 glibcxx_cv_func__atan2f_use=yes
30858 else
30859 glibcxx_cv_func__atan2f_use=no
30861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30862 ac_ext=c
30863 ac_cpp='$CPP $CPPFLAGS'
30864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30873 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30875 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30876 for ac_func in _atan2f
30877 do :
30878 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30879 if test "x$ac_cv_func__atan2f" = x""yes; then :
30880 cat >>confdefs.h <<_ACEOF
30881 #define HAVE__ATAN2F 1
30882 _ACEOF
30885 done
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30895 $as_echo_n "checking for fabsf declaration... " >&6; }
30896 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30897 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30898 $as_echo_n "(cached) " >&6
30899 else
30902 ac_ext=cpp
30903 ac_cpp='$CXXCPP $CPPFLAGS'
30904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h. */
30910 #include <math.h>
30911 #ifdef HAVE_IEEEFP_H
30912 #include <ieeefp.h>
30913 #endif
30916 main ()
30918 fabsf(0);
30920 return 0;
30922 _ACEOF
30923 if ac_fn_cxx_try_compile "$LINENO"; then :
30924 glibcxx_cv_func_fabsf_use=yes
30925 else
30926 glibcxx_cv_func_fabsf_use=no
30928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30929 ac_ext=c
30930 ac_cpp='$CPP $CPPFLAGS'
30931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30940 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30942 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30943 for ac_func in fabsf
30944 do :
30945 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30946 if test "x$ac_cv_func_fabsf" = x""yes; then :
30947 cat >>confdefs.h <<_ACEOF
30948 #define HAVE_FABSF 1
30949 _ACEOF
30952 done
30954 else
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30957 $as_echo_n "checking for _fabsf declaration... " >&6; }
30958 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30959 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30960 $as_echo_n "(cached) " >&6
30961 else
30964 ac_ext=cpp
30965 ac_cpp='$CXXCPP $CPPFLAGS'
30966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30971 /* end confdefs.h. */
30972 #include <math.h>
30973 #ifdef HAVE_IEEEFP_H
30974 #include <ieeefp.h>
30975 #endif
30978 main ()
30980 _fabsf(0);
30982 return 0;
30984 _ACEOF
30985 if ac_fn_cxx_try_compile "$LINENO"; then :
30986 glibcxx_cv_func__fabsf_use=yes
30987 else
30988 glibcxx_cv_func__fabsf_use=no
30990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30991 ac_ext=c
30992 ac_cpp='$CPP $CPPFLAGS'
30993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31002 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31004 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31005 for ac_func in _fabsf
31006 do :
31007 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31008 if test "x$ac_cv_func__fabsf" = x""yes; then :
31009 cat >>confdefs.h <<_ACEOF
31010 #define HAVE__FABSF 1
31011 _ACEOF
31014 done
31023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31024 $as_echo_n "checking for fmodf declaration... " >&6; }
31025 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31026 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31027 $as_echo_n "(cached) " >&6
31028 else
31031 ac_ext=cpp
31032 ac_cpp='$CXXCPP $CPPFLAGS'
31033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31038 /* end confdefs.h. */
31039 #include <math.h>
31041 main ()
31043 fmodf(0, 0);
31045 return 0;
31047 _ACEOF
31048 if ac_fn_cxx_try_compile "$LINENO"; then :
31049 glibcxx_cv_func_fmodf_use=yes
31050 else
31051 glibcxx_cv_func_fmodf_use=no
31053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31054 ac_ext=c
31055 ac_cpp='$CPP $CPPFLAGS'
31056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31065 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31067 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31068 for ac_func in fmodf
31069 do :
31070 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31071 if test "x$ac_cv_func_fmodf" = x""yes; then :
31072 cat >>confdefs.h <<_ACEOF
31073 #define HAVE_FMODF 1
31074 _ACEOF
31077 done
31079 else
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31082 $as_echo_n "checking for _fmodf declaration... " >&6; }
31083 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31084 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31085 $as_echo_n "(cached) " >&6
31086 else
31089 ac_ext=cpp
31090 ac_cpp='$CXXCPP $CPPFLAGS'
31091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31096 /* end confdefs.h. */
31097 #include <math.h>
31099 main ()
31101 _fmodf(0, 0);
31103 return 0;
31105 _ACEOF
31106 if ac_fn_cxx_try_compile "$LINENO"; then :
31107 glibcxx_cv_func__fmodf_use=yes
31108 else
31109 glibcxx_cv_func__fmodf_use=no
31111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31112 ac_ext=c
31113 ac_cpp='$CPP $CPPFLAGS'
31114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31123 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31125 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31126 for ac_func in _fmodf
31127 do :
31128 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31129 if test "x$ac_cv_func__fmodf" = x""yes; then :
31130 cat >>confdefs.h <<_ACEOF
31131 #define HAVE__FMODF 1
31132 _ACEOF
31135 done
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31145 $as_echo_n "checking for frexpf declaration... " >&6; }
31146 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31147 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31148 $as_echo_n "(cached) " >&6
31149 else
31152 ac_ext=cpp
31153 ac_cpp='$CXXCPP $CPPFLAGS'
31154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31159 /* end confdefs.h. */
31160 #include <math.h>
31162 main ()
31164 frexpf(0, 0);
31166 return 0;
31168 _ACEOF
31169 if ac_fn_cxx_try_compile "$LINENO"; then :
31170 glibcxx_cv_func_frexpf_use=yes
31171 else
31172 glibcxx_cv_func_frexpf_use=no
31174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31175 ac_ext=c
31176 ac_cpp='$CPP $CPPFLAGS'
31177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31186 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31188 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31189 for ac_func in frexpf
31190 do :
31191 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31192 if test "x$ac_cv_func_frexpf" = x""yes; then :
31193 cat >>confdefs.h <<_ACEOF
31194 #define HAVE_FREXPF 1
31195 _ACEOF
31198 done
31200 else
31202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31203 $as_echo_n "checking for _frexpf declaration... " >&6; }
31204 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31205 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31206 $as_echo_n "(cached) " >&6
31207 else
31210 ac_ext=cpp
31211 ac_cpp='$CXXCPP $CPPFLAGS'
31212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31217 /* end confdefs.h. */
31218 #include <math.h>
31220 main ()
31222 _frexpf(0, 0);
31224 return 0;
31226 _ACEOF
31227 if ac_fn_cxx_try_compile "$LINENO"; then :
31228 glibcxx_cv_func__frexpf_use=yes
31229 else
31230 glibcxx_cv_func__frexpf_use=no
31232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31233 ac_ext=c
31234 ac_cpp='$CPP $CPPFLAGS'
31235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31244 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31246 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31247 for ac_func in _frexpf
31248 do :
31249 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31250 if test "x$ac_cv_func__frexpf" = x""yes; then :
31251 cat >>confdefs.h <<_ACEOF
31252 #define HAVE__FREXPF 1
31253 _ACEOF
31256 done
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31266 $as_echo_n "checking for hypotf declaration... " >&6; }
31267 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31268 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31269 $as_echo_n "(cached) " >&6
31270 else
31273 ac_ext=cpp
31274 ac_cpp='$CXXCPP $CPPFLAGS'
31275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31280 /* end confdefs.h. */
31281 #include <math.h>
31283 main ()
31285 hypotf(0, 0);
31287 return 0;
31289 _ACEOF
31290 if ac_fn_cxx_try_compile "$LINENO"; then :
31291 glibcxx_cv_func_hypotf_use=yes
31292 else
31293 glibcxx_cv_func_hypotf_use=no
31295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31296 ac_ext=c
31297 ac_cpp='$CPP $CPPFLAGS'
31298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31307 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31309 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31310 for ac_func in hypotf
31311 do :
31312 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31313 if test "x$ac_cv_func_hypotf" = x""yes; then :
31314 cat >>confdefs.h <<_ACEOF
31315 #define HAVE_HYPOTF 1
31316 _ACEOF
31319 done
31321 else
31323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31324 $as_echo_n "checking for _hypotf declaration... " >&6; }
31325 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31326 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31327 $as_echo_n "(cached) " >&6
31328 else
31331 ac_ext=cpp
31332 ac_cpp='$CXXCPP $CPPFLAGS'
31333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31338 /* end confdefs.h. */
31339 #include <math.h>
31341 main ()
31343 _hypotf(0, 0);
31345 return 0;
31347 _ACEOF
31348 if ac_fn_cxx_try_compile "$LINENO"; then :
31349 glibcxx_cv_func__hypotf_use=yes
31350 else
31351 glibcxx_cv_func__hypotf_use=no
31353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31354 ac_ext=c
31355 ac_cpp='$CPP $CPPFLAGS'
31356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31365 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31367 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31368 for ac_func in _hypotf
31369 do :
31370 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31371 if test "x$ac_cv_func__hypotf" = x""yes; then :
31372 cat >>confdefs.h <<_ACEOF
31373 #define HAVE__HYPOTF 1
31374 _ACEOF
31377 done
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31387 $as_echo_n "checking for ldexpf declaration... " >&6; }
31388 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31389 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31390 $as_echo_n "(cached) " >&6
31391 else
31394 ac_ext=cpp
31395 ac_cpp='$CXXCPP $CPPFLAGS'
31396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31401 /* end confdefs.h. */
31402 #include <math.h>
31404 main ()
31406 ldexpf(0, 0);
31408 return 0;
31410 _ACEOF
31411 if ac_fn_cxx_try_compile "$LINENO"; then :
31412 glibcxx_cv_func_ldexpf_use=yes
31413 else
31414 glibcxx_cv_func_ldexpf_use=no
31416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31417 ac_ext=c
31418 ac_cpp='$CPP $CPPFLAGS'
31419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31428 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31430 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31431 for ac_func in ldexpf
31432 do :
31433 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31434 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31435 cat >>confdefs.h <<_ACEOF
31436 #define HAVE_LDEXPF 1
31437 _ACEOF
31440 done
31442 else
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31445 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31446 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31447 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31448 $as_echo_n "(cached) " >&6
31449 else
31452 ac_ext=cpp
31453 ac_cpp='$CXXCPP $CPPFLAGS'
31454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31459 /* end confdefs.h. */
31460 #include <math.h>
31462 main ()
31464 _ldexpf(0, 0);
31466 return 0;
31468 _ACEOF
31469 if ac_fn_cxx_try_compile "$LINENO"; then :
31470 glibcxx_cv_func__ldexpf_use=yes
31471 else
31472 glibcxx_cv_func__ldexpf_use=no
31474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31475 ac_ext=c
31476 ac_cpp='$CPP $CPPFLAGS'
31477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31486 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31488 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31489 for ac_func in _ldexpf
31490 do :
31491 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31492 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31493 cat >>confdefs.h <<_ACEOF
31494 #define HAVE__LDEXPF 1
31495 _ACEOF
31498 done
31507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31508 $as_echo_n "checking for logf declaration... " >&6; }
31509 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31510 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31511 $as_echo_n "(cached) " >&6
31512 else
31515 ac_ext=cpp
31516 ac_cpp='$CXXCPP $CPPFLAGS'
31517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31522 /* end confdefs.h. */
31523 #include <math.h>
31524 #ifdef HAVE_IEEEFP_H
31525 #include <ieeefp.h>
31526 #endif
31529 main ()
31531 logf(0);
31533 return 0;
31535 _ACEOF
31536 if ac_fn_cxx_try_compile "$LINENO"; then :
31537 glibcxx_cv_func_logf_use=yes
31538 else
31539 glibcxx_cv_func_logf_use=no
31541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31542 ac_ext=c
31543 ac_cpp='$CPP $CPPFLAGS'
31544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31553 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31555 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31556 for ac_func in logf
31557 do :
31558 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31559 if test "x$ac_cv_func_logf" = x""yes; then :
31560 cat >>confdefs.h <<_ACEOF
31561 #define HAVE_LOGF 1
31562 _ACEOF
31565 done
31567 else
31569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31570 $as_echo_n "checking for _logf declaration... " >&6; }
31571 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31572 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31573 $as_echo_n "(cached) " >&6
31574 else
31577 ac_ext=cpp
31578 ac_cpp='$CXXCPP $CPPFLAGS'
31579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31584 /* end confdefs.h. */
31585 #include <math.h>
31586 #ifdef HAVE_IEEEFP_H
31587 #include <ieeefp.h>
31588 #endif
31591 main ()
31593 _logf(0);
31595 return 0;
31597 _ACEOF
31598 if ac_fn_cxx_try_compile "$LINENO"; then :
31599 glibcxx_cv_func__logf_use=yes
31600 else
31601 glibcxx_cv_func__logf_use=no
31603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31604 ac_ext=c
31605 ac_cpp='$CPP $CPPFLAGS'
31606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31615 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31617 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31618 for ac_func in _logf
31619 do :
31620 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31621 if test "x$ac_cv_func__logf" = x""yes; then :
31622 cat >>confdefs.h <<_ACEOF
31623 #define HAVE__LOGF 1
31624 _ACEOF
31627 done
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31637 $as_echo_n "checking for log10f declaration... " >&6; }
31638 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31639 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31640 $as_echo_n "(cached) " >&6
31641 else
31644 ac_ext=cpp
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h. */
31652 #include <math.h>
31653 #ifdef HAVE_IEEEFP_H
31654 #include <ieeefp.h>
31655 #endif
31658 main ()
31660 log10f(0);
31662 return 0;
31664 _ACEOF
31665 if ac_fn_cxx_try_compile "$LINENO"; then :
31666 glibcxx_cv_func_log10f_use=yes
31667 else
31668 glibcxx_cv_func_log10f_use=no
31670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31671 ac_ext=c
31672 ac_cpp='$CPP $CPPFLAGS'
31673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31682 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31684 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31685 for ac_func in log10f
31686 do :
31687 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31688 if test "x$ac_cv_func_log10f" = x""yes; then :
31689 cat >>confdefs.h <<_ACEOF
31690 #define HAVE_LOG10F 1
31691 _ACEOF
31694 done
31696 else
31698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31699 $as_echo_n "checking for _log10f declaration... " >&6; }
31700 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31701 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31702 $as_echo_n "(cached) " >&6
31703 else
31706 ac_ext=cpp
31707 ac_cpp='$CXXCPP $CPPFLAGS'
31708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31713 /* end confdefs.h. */
31714 #include <math.h>
31715 #ifdef HAVE_IEEEFP_H
31716 #include <ieeefp.h>
31717 #endif
31720 main ()
31722 _log10f(0);
31724 return 0;
31726 _ACEOF
31727 if ac_fn_cxx_try_compile "$LINENO"; then :
31728 glibcxx_cv_func__log10f_use=yes
31729 else
31730 glibcxx_cv_func__log10f_use=no
31732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31733 ac_ext=c
31734 ac_cpp='$CPP $CPPFLAGS'
31735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31744 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31746 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31747 for ac_func in _log10f
31748 do :
31749 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31750 if test "x$ac_cv_func__log10f" = x""yes; then :
31751 cat >>confdefs.h <<_ACEOF
31752 #define HAVE__LOG10F 1
31753 _ACEOF
31756 done
31765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31766 $as_echo_n "checking for modff declaration... " >&6; }
31767 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31768 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31769 $as_echo_n "(cached) " >&6
31770 else
31773 ac_ext=cpp
31774 ac_cpp='$CXXCPP $CPPFLAGS'
31775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31780 /* end confdefs.h. */
31781 #include <math.h>
31783 main ()
31785 modff(0, 0);
31787 return 0;
31789 _ACEOF
31790 if ac_fn_cxx_try_compile "$LINENO"; then :
31791 glibcxx_cv_func_modff_use=yes
31792 else
31793 glibcxx_cv_func_modff_use=no
31795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31796 ac_ext=c
31797 ac_cpp='$CPP $CPPFLAGS'
31798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31807 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31809 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31810 for ac_func in modff
31811 do :
31812 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31813 if test "x$ac_cv_func_modff" = x""yes; then :
31814 cat >>confdefs.h <<_ACEOF
31815 #define HAVE_MODFF 1
31816 _ACEOF
31819 done
31821 else
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31824 $as_echo_n "checking for _modff declaration... " >&6; }
31825 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31826 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31827 $as_echo_n "(cached) " >&6
31828 else
31831 ac_ext=cpp
31832 ac_cpp='$CXXCPP $CPPFLAGS'
31833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31838 /* end confdefs.h. */
31839 #include <math.h>
31841 main ()
31843 _modff(0, 0);
31845 return 0;
31847 _ACEOF
31848 if ac_fn_cxx_try_compile "$LINENO"; then :
31849 glibcxx_cv_func__modff_use=yes
31850 else
31851 glibcxx_cv_func__modff_use=no
31853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31854 ac_ext=c
31855 ac_cpp='$CPP $CPPFLAGS'
31856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31865 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31867 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31868 for ac_func in _modff
31869 do :
31870 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31871 if test "x$ac_cv_func__modff" = x""yes; then :
31872 cat >>confdefs.h <<_ACEOF
31873 #define HAVE__MODFF 1
31874 _ACEOF
31877 done
31886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31887 $as_echo_n "checking for modf declaration... " >&6; }
31888 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31889 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31890 $as_echo_n "(cached) " >&6
31891 else
31894 ac_ext=cpp
31895 ac_cpp='$CXXCPP $CPPFLAGS'
31896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31901 /* end confdefs.h. */
31902 #include <math.h>
31904 main ()
31906 modf(0, 0);
31908 return 0;
31910 _ACEOF
31911 if ac_fn_cxx_try_compile "$LINENO"; then :
31912 glibcxx_cv_func_modf_use=yes
31913 else
31914 glibcxx_cv_func_modf_use=no
31916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31917 ac_ext=c
31918 ac_cpp='$CPP $CPPFLAGS'
31919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31928 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31930 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31931 for ac_func in modf
31932 do :
31933 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31934 if test "x$ac_cv_func_modf" = x""yes; then :
31935 cat >>confdefs.h <<_ACEOF
31936 #define HAVE_MODF 1
31937 _ACEOF
31940 done
31942 else
31944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31945 $as_echo_n "checking for _modf declaration... " >&6; }
31946 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31947 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31948 $as_echo_n "(cached) " >&6
31949 else
31952 ac_ext=cpp
31953 ac_cpp='$CXXCPP $CPPFLAGS'
31954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31959 /* end confdefs.h. */
31960 #include <math.h>
31962 main ()
31964 _modf(0, 0);
31966 return 0;
31968 _ACEOF
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970 glibcxx_cv_func__modf_use=yes
31971 else
31972 glibcxx_cv_func__modf_use=no
31974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31975 ac_ext=c
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31986 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31988 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31989 for ac_func in _modf
31990 do :
31991 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31992 if test "x$ac_cv_func__modf" = x""yes; then :
31993 cat >>confdefs.h <<_ACEOF
31994 #define HAVE__MODF 1
31995 _ACEOF
31998 done
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32008 $as_echo_n "checking for powf declaration... " >&6; }
32009 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32010 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32011 $as_echo_n "(cached) " >&6
32012 else
32015 ac_ext=cpp
32016 ac_cpp='$CXXCPP $CPPFLAGS'
32017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32022 /* end confdefs.h. */
32023 #include <math.h>
32025 main ()
32027 powf(0, 0);
32029 return 0;
32031 _ACEOF
32032 if ac_fn_cxx_try_compile "$LINENO"; then :
32033 glibcxx_cv_func_powf_use=yes
32034 else
32035 glibcxx_cv_func_powf_use=no
32037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32038 ac_ext=c
32039 ac_cpp='$CPP $CPPFLAGS'
32040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32049 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32051 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32052 for ac_func in powf
32053 do :
32054 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32055 if test "x$ac_cv_func_powf" = x""yes; then :
32056 cat >>confdefs.h <<_ACEOF
32057 #define HAVE_POWF 1
32058 _ACEOF
32061 done
32063 else
32065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32066 $as_echo_n "checking for _powf declaration... " >&6; }
32067 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32068 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32069 $as_echo_n "(cached) " >&6
32070 else
32073 ac_ext=cpp
32074 ac_cpp='$CXXCPP $CPPFLAGS'
32075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32080 /* end confdefs.h. */
32081 #include <math.h>
32083 main ()
32085 _powf(0, 0);
32087 return 0;
32089 _ACEOF
32090 if ac_fn_cxx_try_compile "$LINENO"; then :
32091 glibcxx_cv_func__powf_use=yes
32092 else
32093 glibcxx_cv_func__powf_use=no
32095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32096 ac_ext=c
32097 ac_cpp='$CPP $CPPFLAGS'
32098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32107 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32109 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32110 for ac_func in _powf
32111 do :
32112 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32113 if test "x$ac_cv_func__powf" = x""yes; then :
32114 cat >>confdefs.h <<_ACEOF
32115 #define HAVE__POWF 1
32116 _ACEOF
32119 done
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32129 $as_echo_n "checking for sqrtf declaration... " >&6; }
32130 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32131 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32132 $as_echo_n "(cached) " >&6
32133 else
32136 ac_ext=cpp
32137 ac_cpp='$CXXCPP $CPPFLAGS'
32138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32143 /* end confdefs.h. */
32144 #include <math.h>
32145 #ifdef HAVE_IEEEFP_H
32146 #include <ieeefp.h>
32147 #endif
32150 main ()
32152 sqrtf(0);
32154 return 0;
32156 _ACEOF
32157 if ac_fn_cxx_try_compile "$LINENO"; then :
32158 glibcxx_cv_func_sqrtf_use=yes
32159 else
32160 glibcxx_cv_func_sqrtf_use=no
32162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32163 ac_ext=c
32164 ac_cpp='$CPP $CPPFLAGS'
32165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32174 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32176 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32177 for ac_func in sqrtf
32178 do :
32179 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32180 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32181 cat >>confdefs.h <<_ACEOF
32182 #define HAVE_SQRTF 1
32183 _ACEOF
32186 done
32188 else
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32191 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32192 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32193 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32194 $as_echo_n "(cached) " >&6
32195 else
32198 ac_ext=cpp
32199 ac_cpp='$CXXCPP $CPPFLAGS'
32200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32205 /* end confdefs.h. */
32206 #include <math.h>
32207 #ifdef HAVE_IEEEFP_H
32208 #include <ieeefp.h>
32209 #endif
32212 main ()
32214 _sqrtf(0);
32216 return 0;
32218 _ACEOF
32219 if ac_fn_cxx_try_compile "$LINENO"; then :
32220 glibcxx_cv_func__sqrtf_use=yes
32221 else
32222 glibcxx_cv_func__sqrtf_use=no
32224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32225 ac_ext=c
32226 ac_cpp='$CPP $CPPFLAGS'
32227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32236 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32238 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32239 for ac_func in _sqrtf
32240 do :
32241 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32242 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32243 cat >>confdefs.h <<_ACEOF
32244 #define HAVE__SQRTF 1
32245 _ACEOF
32248 done
32257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32258 $as_echo_n "checking for sincosf declaration... " >&6; }
32259 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32260 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32261 $as_echo_n "(cached) " >&6
32262 else
32265 ac_ext=cpp
32266 ac_cpp='$CXXCPP $CPPFLAGS'
32267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32272 /* end confdefs.h. */
32273 #include <math.h>
32275 main ()
32277 sincosf(0, 0, 0);
32279 return 0;
32281 _ACEOF
32282 if ac_fn_cxx_try_compile "$LINENO"; then :
32283 glibcxx_cv_func_sincosf_use=yes
32284 else
32285 glibcxx_cv_func_sincosf_use=no
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288 ac_ext=c
32289 ac_cpp='$CPP $CPPFLAGS'
32290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32299 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32301 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32302 for ac_func in sincosf
32303 do :
32304 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32305 if test "x$ac_cv_func_sincosf" = x""yes; then :
32306 cat >>confdefs.h <<_ACEOF
32307 #define HAVE_SINCOSF 1
32308 _ACEOF
32311 done
32313 else
32315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32316 $as_echo_n "checking for _sincosf declaration... " >&6; }
32317 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32318 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32319 $as_echo_n "(cached) " >&6
32320 else
32323 ac_ext=cpp
32324 ac_cpp='$CXXCPP $CPPFLAGS'
32325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32330 /* end confdefs.h. */
32331 #include <math.h>
32333 main ()
32335 _sincosf(0, 0, 0);
32337 return 0;
32339 _ACEOF
32340 if ac_fn_cxx_try_compile "$LINENO"; then :
32341 glibcxx_cv_func__sincosf_use=yes
32342 else
32343 glibcxx_cv_func__sincosf_use=no
32345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32346 ac_ext=c
32347 ac_cpp='$CPP $CPPFLAGS'
32348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32357 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32359 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32360 for ac_func in _sincosf
32361 do :
32362 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32363 if test "x$ac_cv_func__sincosf" = x""yes; then :
32364 cat >>confdefs.h <<_ACEOF
32365 #define HAVE__SINCOSF 1
32366 _ACEOF
32369 done
32378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32379 $as_echo_n "checking for finitef declaration... " >&6; }
32380 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32381 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32382 $as_echo_n "(cached) " >&6
32383 else
32386 ac_ext=cpp
32387 ac_cpp='$CXXCPP $CPPFLAGS'
32388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32393 /* end confdefs.h. */
32394 #include <math.h>
32395 #ifdef HAVE_IEEEFP_H
32396 #include <ieeefp.h>
32397 #endif
32400 main ()
32402 finitef(0);
32404 return 0;
32406 _ACEOF
32407 if ac_fn_cxx_try_compile "$LINENO"; then :
32408 glibcxx_cv_func_finitef_use=yes
32409 else
32410 glibcxx_cv_func_finitef_use=no
32412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32413 ac_ext=c
32414 ac_cpp='$CPP $CPPFLAGS'
32415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32424 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32426 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32427 for ac_func in finitef
32428 do :
32429 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32430 if test "x$ac_cv_func_finitef" = x""yes; then :
32431 cat >>confdefs.h <<_ACEOF
32432 #define HAVE_FINITEF 1
32433 _ACEOF
32436 done
32438 else
32440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32441 $as_echo_n "checking for _finitef declaration... " >&6; }
32442 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32443 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32444 $as_echo_n "(cached) " >&6
32445 else
32448 ac_ext=cpp
32449 ac_cpp='$CXXCPP $CPPFLAGS'
32450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32455 /* end confdefs.h. */
32456 #include <math.h>
32457 #ifdef HAVE_IEEEFP_H
32458 #include <ieeefp.h>
32459 #endif
32462 main ()
32464 _finitef(0);
32466 return 0;
32468 _ACEOF
32469 if ac_fn_cxx_try_compile "$LINENO"; then :
32470 glibcxx_cv_func__finitef_use=yes
32471 else
32472 glibcxx_cv_func__finitef_use=no
32474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32475 ac_ext=c
32476 ac_cpp='$CPP $CPPFLAGS'
32477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32486 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32488 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32489 for ac_func in _finitef
32490 do :
32491 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32492 if test "x$ac_cv_func__finitef" = x""yes; then :
32493 cat >>confdefs.h <<_ACEOF
32494 #define HAVE__FINITEF 1
32495 _ACEOF
32498 done
32507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32508 $as_echo_n "checking for long double trig functions... " >&6; }
32509 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32510 $as_echo_n "(cached) " >&6
32511 else
32514 ac_ext=cpp
32515 ac_cpp='$CXXCPP $CPPFLAGS'
32516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32521 /* end confdefs.h. */
32522 #include <math.h>
32524 main ()
32526 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32528 return 0;
32530 _ACEOF
32531 if ac_fn_cxx_try_compile "$LINENO"; then :
32532 glibcxx_cv_func_long_double_trig_use=yes
32533 else
32534 glibcxx_cv_func_long_double_trig_use=no
32536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32537 ac_ext=c
32538 ac_cpp='$CPP $CPPFLAGS'
32539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32546 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32547 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32548 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32549 do :
32550 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32551 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32552 eval as_val=\$$as_ac_var
32553 if test "x$as_val" = x""yes; then :
32554 cat >>confdefs.h <<_ACEOF
32555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32556 _ACEOF
32559 done
32561 else
32562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32563 $as_echo_n "checking for _long double trig functions... " >&6; }
32564 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32565 $as_echo_n "(cached) " >&6
32566 else
32569 ac_ext=cpp
32570 ac_cpp='$CXXCPP $CPPFLAGS'
32571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32576 /* end confdefs.h. */
32577 #include <math.h>
32579 main ()
32581 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32583 return 0;
32585 _ACEOF
32586 if ac_fn_cxx_try_compile "$LINENO"; then :
32587 glibcxx_cv_func__long_double_trig_use=yes
32588 else
32589 glibcxx_cv_func__long_double_trig_use=no
32591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32592 ac_ext=c
32593 ac_cpp='$CPP $CPPFLAGS'
32594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32601 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32602 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32603 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32604 do :
32605 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32606 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32607 eval as_val=\$$as_ac_var
32608 if test "x$as_val" = x""yes; then :
32609 cat >>confdefs.h <<_ACEOF
32610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32611 _ACEOF
32614 done
32623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32624 $as_echo_n "checking for long double round functions... " >&6; }
32625 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32626 $as_echo_n "(cached) " >&6
32627 else
32630 ac_ext=cpp
32631 ac_cpp='$CXXCPP $CPPFLAGS'
32632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32637 /* end confdefs.h. */
32638 #include <math.h>
32640 main ()
32642 ceill (0); floorl (0);
32644 return 0;
32646 _ACEOF
32647 if ac_fn_cxx_try_compile "$LINENO"; then :
32648 glibcxx_cv_func_long_double_round_use=yes
32649 else
32650 glibcxx_cv_func_long_double_round_use=no
32652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32653 ac_ext=c
32654 ac_cpp='$CPP $CPPFLAGS'
32655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32662 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32663 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32664 for ac_func in ceill floorl
32665 do :
32666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32668 eval as_val=\$$as_ac_var
32669 if test "x$as_val" = x""yes; then :
32670 cat >>confdefs.h <<_ACEOF
32671 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32672 _ACEOF
32675 done
32677 else
32678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32679 $as_echo_n "checking for _long double round functions... " >&6; }
32680 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32681 $as_echo_n "(cached) " >&6
32682 else
32685 ac_ext=cpp
32686 ac_cpp='$CXXCPP $CPPFLAGS'
32687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32692 /* end confdefs.h. */
32693 #include <math.h>
32695 main ()
32697 _ceill (0); _floorl (0);
32699 return 0;
32701 _ACEOF
32702 if ac_fn_cxx_try_compile "$LINENO"; then :
32703 glibcxx_cv_func__long_double_round_use=yes
32704 else
32705 glibcxx_cv_func__long_double_round_use=no
32707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32708 ac_ext=c
32709 ac_cpp='$CPP $CPPFLAGS'
32710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32717 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32718 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32719 for ac_func in _ceill _floorl
32720 do :
32721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32723 eval as_val=\$$as_ac_var
32724 if test "x$as_val" = x""yes; then :
32725 cat >>confdefs.h <<_ACEOF
32726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32727 _ACEOF
32730 done
32740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32741 $as_echo_n "checking for isnanl declaration... " >&6; }
32742 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32743 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32744 $as_echo_n "(cached) " >&6
32745 else
32748 ac_ext=cpp
32749 ac_cpp='$CXXCPP $CPPFLAGS'
32750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32755 /* end confdefs.h. */
32756 #include <math.h>
32757 #ifdef HAVE_IEEEFP_H
32758 #include <ieeefp.h>
32759 #endif
32762 main ()
32764 isnanl(0);
32766 return 0;
32768 _ACEOF
32769 if ac_fn_cxx_try_compile "$LINENO"; then :
32770 glibcxx_cv_func_isnanl_use=yes
32771 else
32772 glibcxx_cv_func_isnanl_use=no
32774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32775 ac_ext=c
32776 ac_cpp='$CPP $CPPFLAGS'
32777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32786 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32788 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32789 for ac_func in isnanl
32790 do :
32791 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32792 if test "x$ac_cv_func_isnanl" = x""yes; then :
32793 cat >>confdefs.h <<_ACEOF
32794 #define HAVE_ISNANL 1
32795 _ACEOF
32798 done
32800 else
32802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32803 $as_echo_n "checking for _isnanl declaration... " >&6; }
32804 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32805 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32806 $as_echo_n "(cached) " >&6
32807 else
32810 ac_ext=cpp
32811 ac_cpp='$CXXCPP $CPPFLAGS'
32812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32817 /* end confdefs.h. */
32818 #include <math.h>
32819 #ifdef HAVE_IEEEFP_H
32820 #include <ieeefp.h>
32821 #endif
32824 main ()
32826 _isnanl(0);
32828 return 0;
32830 _ACEOF
32831 if ac_fn_cxx_try_compile "$LINENO"; then :
32832 glibcxx_cv_func__isnanl_use=yes
32833 else
32834 glibcxx_cv_func__isnanl_use=no
32836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32837 ac_ext=c
32838 ac_cpp='$CPP $CPPFLAGS'
32839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32848 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32850 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32851 for ac_func in _isnanl
32852 do :
32853 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32854 if test "x$ac_cv_func__isnanl" = x""yes; then :
32855 cat >>confdefs.h <<_ACEOF
32856 #define HAVE__ISNANL 1
32857 _ACEOF
32860 done
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32870 $as_echo_n "checking for isinfl declaration... " >&6; }
32871 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32872 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32873 $as_echo_n "(cached) " >&6
32874 else
32877 ac_ext=cpp
32878 ac_cpp='$CXXCPP $CPPFLAGS'
32879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32884 /* end confdefs.h. */
32885 #include <math.h>
32886 #ifdef HAVE_IEEEFP_H
32887 #include <ieeefp.h>
32888 #endif
32891 main ()
32893 isinfl(0);
32895 return 0;
32897 _ACEOF
32898 if ac_fn_cxx_try_compile "$LINENO"; then :
32899 glibcxx_cv_func_isinfl_use=yes
32900 else
32901 glibcxx_cv_func_isinfl_use=no
32903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32904 ac_ext=c
32905 ac_cpp='$CPP $CPPFLAGS'
32906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32915 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32917 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32918 for ac_func in isinfl
32919 do :
32920 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32921 if test "x$ac_cv_func_isinfl" = x""yes; then :
32922 cat >>confdefs.h <<_ACEOF
32923 #define HAVE_ISINFL 1
32924 _ACEOF
32927 done
32929 else
32931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32932 $as_echo_n "checking for _isinfl declaration... " >&6; }
32933 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32934 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32935 $as_echo_n "(cached) " >&6
32936 else
32939 ac_ext=cpp
32940 ac_cpp='$CXXCPP $CPPFLAGS'
32941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32946 /* end confdefs.h. */
32947 #include <math.h>
32948 #ifdef HAVE_IEEEFP_H
32949 #include <ieeefp.h>
32950 #endif
32953 main ()
32955 _isinfl(0);
32957 return 0;
32959 _ACEOF
32960 if ac_fn_cxx_try_compile "$LINENO"; then :
32961 glibcxx_cv_func__isinfl_use=yes
32962 else
32963 glibcxx_cv_func__isinfl_use=no
32965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32966 ac_ext=c
32967 ac_cpp='$CPP $CPPFLAGS'
32968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32977 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32979 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32980 for ac_func in _isinfl
32981 do :
32982 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32983 if test "x$ac_cv_func__isinfl" = x""yes; then :
32984 cat >>confdefs.h <<_ACEOF
32985 #define HAVE__ISINFL 1
32986 _ACEOF
32989 done
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32999 $as_echo_n "checking for atan2l declaration... " >&6; }
33000 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33001 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33002 $as_echo_n "(cached) " >&6
33003 else
33006 ac_ext=cpp
33007 ac_cpp='$CXXCPP $CPPFLAGS'
33008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33013 /* end confdefs.h. */
33014 #include <math.h>
33016 main ()
33018 atan2l(0, 0);
33020 return 0;
33022 _ACEOF
33023 if ac_fn_cxx_try_compile "$LINENO"; then :
33024 glibcxx_cv_func_atan2l_use=yes
33025 else
33026 glibcxx_cv_func_atan2l_use=no
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33029 ac_ext=c
33030 ac_cpp='$CPP $CPPFLAGS'
33031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33040 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33042 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33043 for ac_func in atan2l
33044 do :
33045 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33046 if test "x$ac_cv_func_atan2l" = x""yes; then :
33047 cat >>confdefs.h <<_ACEOF
33048 #define HAVE_ATAN2L 1
33049 _ACEOF
33052 done
33054 else
33056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33057 $as_echo_n "checking for _atan2l declaration... " >&6; }
33058 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33059 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33060 $as_echo_n "(cached) " >&6
33061 else
33064 ac_ext=cpp
33065 ac_cpp='$CXXCPP $CPPFLAGS'
33066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33071 /* end confdefs.h. */
33072 #include <math.h>
33074 main ()
33076 _atan2l(0, 0);
33078 return 0;
33080 _ACEOF
33081 if ac_fn_cxx_try_compile "$LINENO"; then :
33082 glibcxx_cv_func__atan2l_use=yes
33083 else
33084 glibcxx_cv_func__atan2l_use=no
33086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33087 ac_ext=c
33088 ac_cpp='$CPP $CPPFLAGS'
33089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33098 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33100 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33101 for ac_func in _atan2l
33102 do :
33103 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33104 if test "x$ac_cv_func__atan2l" = x""yes; then :
33105 cat >>confdefs.h <<_ACEOF
33106 #define HAVE__ATAN2L 1
33107 _ACEOF
33110 done
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33120 $as_echo_n "checking for expl declaration... " >&6; }
33121 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33122 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33123 $as_echo_n "(cached) " >&6
33124 else
33127 ac_ext=cpp
33128 ac_cpp='$CXXCPP $CPPFLAGS'
33129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33134 /* end confdefs.h. */
33135 #include <math.h>
33136 #ifdef HAVE_IEEEFP_H
33137 #include <ieeefp.h>
33138 #endif
33141 main ()
33143 expl(0);
33145 return 0;
33147 _ACEOF
33148 if ac_fn_cxx_try_compile "$LINENO"; then :
33149 glibcxx_cv_func_expl_use=yes
33150 else
33151 glibcxx_cv_func_expl_use=no
33153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33154 ac_ext=c
33155 ac_cpp='$CPP $CPPFLAGS'
33156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33165 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33167 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33168 for ac_func in expl
33169 do :
33170 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33171 if test "x$ac_cv_func_expl" = x""yes; then :
33172 cat >>confdefs.h <<_ACEOF
33173 #define HAVE_EXPL 1
33174 _ACEOF
33177 done
33179 else
33181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33182 $as_echo_n "checking for _expl declaration... " >&6; }
33183 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33184 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33185 $as_echo_n "(cached) " >&6
33186 else
33189 ac_ext=cpp
33190 ac_cpp='$CXXCPP $CPPFLAGS'
33191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33196 /* end confdefs.h. */
33197 #include <math.h>
33198 #ifdef HAVE_IEEEFP_H
33199 #include <ieeefp.h>
33200 #endif
33203 main ()
33205 _expl(0);
33207 return 0;
33209 _ACEOF
33210 if ac_fn_cxx_try_compile "$LINENO"; then :
33211 glibcxx_cv_func__expl_use=yes
33212 else
33213 glibcxx_cv_func__expl_use=no
33215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33216 ac_ext=c
33217 ac_cpp='$CPP $CPPFLAGS'
33218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33227 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33229 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33230 for ac_func in _expl
33231 do :
33232 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33233 if test "x$ac_cv_func__expl" = x""yes; then :
33234 cat >>confdefs.h <<_ACEOF
33235 #define HAVE__EXPL 1
33236 _ACEOF
33239 done
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33249 $as_echo_n "checking for fabsl declaration... " >&6; }
33250 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33251 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33252 $as_echo_n "(cached) " >&6
33253 else
33256 ac_ext=cpp
33257 ac_cpp='$CXXCPP $CPPFLAGS'
33258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33263 /* end confdefs.h. */
33264 #include <math.h>
33265 #ifdef HAVE_IEEEFP_H
33266 #include <ieeefp.h>
33267 #endif
33270 main ()
33272 fabsl(0);
33274 return 0;
33276 _ACEOF
33277 if ac_fn_cxx_try_compile "$LINENO"; then :
33278 glibcxx_cv_func_fabsl_use=yes
33279 else
33280 glibcxx_cv_func_fabsl_use=no
33282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33283 ac_ext=c
33284 ac_cpp='$CPP $CPPFLAGS'
33285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33294 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33296 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33297 for ac_func in fabsl
33298 do :
33299 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33300 if test "x$ac_cv_func_fabsl" = x""yes; then :
33301 cat >>confdefs.h <<_ACEOF
33302 #define HAVE_FABSL 1
33303 _ACEOF
33306 done
33308 else
33310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33311 $as_echo_n "checking for _fabsl declaration... " >&6; }
33312 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33313 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33314 $as_echo_n "(cached) " >&6
33315 else
33318 ac_ext=cpp
33319 ac_cpp='$CXXCPP $CPPFLAGS'
33320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33325 /* end confdefs.h. */
33326 #include <math.h>
33327 #ifdef HAVE_IEEEFP_H
33328 #include <ieeefp.h>
33329 #endif
33332 main ()
33334 _fabsl(0);
33336 return 0;
33338 _ACEOF
33339 if ac_fn_cxx_try_compile "$LINENO"; then :
33340 glibcxx_cv_func__fabsl_use=yes
33341 else
33342 glibcxx_cv_func__fabsl_use=no
33344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33345 ac_ext=c
33346 ac_cpp='$CPP $CPPFLAGS'
33347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33356 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33358 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33359 for ac_func in _fabsl
33360 do :
33361 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33362 if test "x$ac_cv_func__fabsl" = x""yes; then :
33363 cat >>confdefs.h <<_ACEOF
33364 #define HAVE__FABSL 1
33365 _ACEOF
33368 done
33377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33378 $as_echo_n "checking for fmodl declaration... " >&6; }
33379 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33380 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33381 $as_echo_n "(cached) " >&6
33382 else
33385 ac_ext=cpp
33386 ac_cpp='$CXXCPP $CPPFLAGS'
33387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33392 /* end confdefs.h. */
33393 #include <math.h>
33395 main ()
33397 fmodl(0, 0);
33399 return 0;
33401 _ACEOF
33402 if ac_fn_cxx_try_compile "$LINENO"; then :
33403 glibcxx_cv_func_fmodl_use=yes
33404 else
33405 glibcxx_cv_func_fmodl_use=no
33407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33408 ac_ext=c
33409 ac_cpp='$CPP $CPPFLAGS'
33410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33419 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33421 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33422 for ac_func in fmodl
33423 do :
33424 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33425 if test "x$ac_cv_func_fmodl" = x""yes; then :
33426 cat >>confdefs.h <<_ACEOF
33427 #define HAVE_FMODL 1
33428 _ACEOF
33431 done
33433 else
33435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33436 $as_echo_n "checking for _fmodl declaration... " >&6; }
33437 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33438 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33439 $as_echo_n "(cached) " >&6
33440 else
33443 ac_ext=cpp
33444 ac_cpp='$CXXCPP $CPPFLAGS'
33445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33450 /* end confdefs.h. */
33451 #include <math.h>
33453 main ()
33455 _fmodl(0, 0);
33457 return 0;
33459 _ACEOF
33460 if ac_fn_cxx_try_compile "$LINENO"; then :
33461 glibcxx_cv_func__fmodl_use=yes
33462 else
33463 glibcxx_cv_func__fmodl_use=no
33465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33466 ac_ext=c
33467 ac_cpp='$CPP $CPPFLAGS'
33468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33477 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33479 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33480 for ac_func in _fmodl
33481 do :
33482 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33483 if test "x$ac_cv_func__fmodl" = x""yes; then :
33484 cat >>confdefs.h <<_ACEOF
33485 #define HAVE__FMODL 1
33486 _ACEOF
33489 done
33498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33499 $as_echo_n "checking for frexpl declaration... " >&6; }
33500 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33501 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33502 $as_echo_n "(cached) " >&6
33503 else
33506 ac_ext=cpp
33507 ac_cpp='$CXXCPP $CPPFLAGS'
33508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33513 /* end confdefs.h. */
33514 #include <math.h>
33516 main ()
33518 frexpl(0, 0);
33520 return 0;
33522 _ACEOF
33523 if ac_fn_cxx_try_compile "$LINENO"; then :
33524 glibcxx_cv_func_frexpl_use=yes
33525 else
33526 glibcxx_cv_func_frexpl_use=no
33528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33529 ac_ext=c
33530 ac_cpp='$CPP $CPPFLAGS'
33531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33540 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33542 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33543 for ac_func in frexpl
33544 do :
33545 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33546 if test "x$ac_cv_func_frexpl" = x""yes; then :
33547 cat >>confdefs.h <<_ACEOF
33548 #define HAVE_FREXPL 1
33549 _ACEOF
33552 done
33554 else
33556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33557 $as_echo_n "checking for _frexpl declaration... " >&6; }
33558 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33559 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33560 $as_echo_n "(cached) " >&6
33561 else
33564 ac_ext=cpp
33565 ac_cpp='$CXXCPP $CPPFLAGS'
33566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33571 /* end confdefs.h. */
33572 #include <math.h>
33574 main ()
33576 _frexpl(0, 0);
33578 return 0;
33580 _ACEOF
33581 if ac_fn_cxx_try_compile "$LINENO"; then :
33582 glibcxx_cv_func__frexpl_use=yes
33583 else
33584 glibcxx_cv_func__frexpl_use=no
33586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33587 ac_ext=c
33588 ac_cpp='$CPP $CPPFLAGS'
33589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33598 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33600 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33601 for ac_func in _frexpl
33602 do :
33603 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33604 if test "x$ac_cv_func__frexpl" = x""yes; then :
33605 cat >>confdefs.h <<_ACEOF
33606 #define HAVE__FREXPL 1
33607 _ACEOF
33610 done
33619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33620 $as_echo_n "checking for hypotl declaration... " >&6; }
33621 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33622 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33623 $as_echo_n "(cached) " >&6
33624 else
33627 ac_ext=cpp
33628 ac_cpp='$CXXCPP $CPPFLAGS'
33629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33634 /* end confdefs.h. */
33635 #include <math.h>
33637 main ()
33639 hypotl(0, 0);
33641 return 0;
33643 _ACEOF
33644 if ac_fn_cxx_try_compile "$LINENO"; then :
33645 glibcxx_cv_func_hypotl_use=yes
33646 else
33647 glibcxx_cv_func_hypotl_use=no
33649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33650 ac_ext=c
33651 ac_cpp='$CPP $CPPFLAGS'
33652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33661 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33663 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33664 for ac_func in hypotl
33665 do :
33666 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33667 if test "x$ac_cv_func_hypotl" = x""yes; then :
33668 cat >>confdefs.h <<_ACEOF
33669 #define HAVE_HYPOTL 1
33670 _ACEOF
33673 done
33675 else
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33678 $as_echo_n "checking for _hypotl declaration... " >&6; }
33679 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33680 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33681 $as_echo_n "(cached) " >&6
33682 else
33685 ac_ext=cpp
33686 ac_cpp='$CXXCPP $CPPFLAGS'
33687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33692 /* end confdefs.h. */
33693 #include <math.h>
33695 main ()
33697 _hypotl(0, 0);
33699 return 0;
33701 _ACEOF
33702 if ac_fn_cxx_try_compile "$LINENO"; then :
33703 glibcxx_cv_func__hypotl_use=yes
33704 else
33705 glibcxx_cv_func__hypotl_use=no
33707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33708 ac_ext=c
33709 ac_cpp='$CPP $CPPFLAGS'
33710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33719 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33721 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33722 for ac_func in _hypotl
33723 do :
33724 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33725 if test "x$ac_cv_func__hypotl" = x""yes; then :
33726 cat >>confdefs.h <<_ACEOF
33727 #define HAVE__HYPOTL 1
33728 _ACEOF
33731 done
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33741 $as_echo_n "checking for ldexpl declaration... " >&6; }
33742 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33743 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33744 $as_echo_n "(cached) " >&6
33745 else
33748 ac_ext=cpp
33749 ac_cpp='$CXXCPP $CPPFLAGS'
33750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33755 /* end confdefs.h. */
33756 #include <math.h>
33758 main ()
33760 ldexpl(0, 0);
33762 return 0;
33764 _ACEOF
33765 if ac_fn_cxx_try_compile "$LINENO"; then :
33766 glibcxx_cv_func_ldexpl_use=yes
33767 else
33768 glibcxx_cv_func_ldexpl_use=no
33770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33771 ac_ext=c
33772 ac_cpp='$CPP $CPPFLAGS'
33773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33782 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33784 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33785 for ac_func in ldexpl
33786 do :
33787 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33788 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33789 cat >>confdefs.h <<_ACEOF
33790 #define HAVE_LDEXPL 1
33791 _ACEOF
33794 done
33796 else
33798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33799 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33800 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33801 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33802 $as_echo_n "(cached) " >&6
33803 else
33806 ac_ext=cpp
33807 ac_cpp='$CXXCPP $CPPFLAGS'
33808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33813 /* end confdefs.h. */
33814 #include <math.h>
33816 main ()
33818 _ldexpl(0, 0);
33820 return 0;
33822 _ACEOF
33823 if ac_fn_cxx_try_compile "$LINENO"; then :
33824 glibcxx_cv_func__ldexpl_use=yes
33825 else
33826 glibcxx_cv_func__ldexpl_use=no
33828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33829 ac_ext=c
33830 ac_cpp='$CPP $CPPFLAGS'
33831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33840 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33842 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33843 for ac_func in _ldexpl
33844 do :
33845 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33846 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33847 cat >>confdefs.h <<_ACEOF
33848 #define HAVE__LDEXPL 1
33849 _ACEOF
33852 done
33861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33862 $as_echo_n "checking for logl declaration... " >&6; }
33863 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33864 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33865 $as_echo_n "(cached) " >&6
33866 else
33869 ac_ext=cpp
33870 ac_cpp='$CXXCPP $CPPFLAGS'
33871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33876 /* end confdefs.h. */
33877 #include <math.h>
33878 #ifdef HAVE_IEEEFP_H
33879 #include <ieeefp.h>
33880 #endif
33883 main ()
33885 logl(0);
33887 return 0;
33889 _ACEOF
33890 if ac_fn_cxx_try_compile "$LINENO"; then :
33891 glibcxx_cv_func_logl_use=yes
33892 else
33893 glibcxx_cv_func_logl_use=no
33895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33896 ac_ext=c
33897 ac_cpp='$CPP $CPPFLAGS'
33898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33907 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33909 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33910 for ac_func in logl
33911 do :
33912 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33913 if test "x$ac_cv_func_logl" = x""yes; then :
33914 cat >>confdefs.h <<_ACEOF
33915 #define HAVE_LOGL 1
33916 _ACEOF
33919 done
33921 else
33923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33924 $as_echo_n "checking for _logl declaration... " >&6; }
33925 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33926 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33927 $as_echo_n "(cached) " >&6
33928 else
33931 ac_ext=cpp
33932 ac_cpp='$CXXCPP $CPPFLAGS'
33933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33938 /* end confdefs.h. */
33939 #include <math.h>
33940 #ifdef HAVE_IEEEFP_H
33941 #include <ieeefp.h>
33942 #endif
33945 main ()
33947 _logl(0);
33949 return 0;
33951 _ACEOF
33952 if ac_fn_cxx_try_compile "$LINENO"; then :
33953 glibcxx_cv_func__logl_use=yes
33954 else
33955 glibcxx_cv_func__logl_use=no
33957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33958 ac_ext=c
33959 ac_cpp='$CPP $CPPFLAGS'
33960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33969 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33971 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33972 for ac_func in _logl
33973 do :
33974 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33975 if test "x$ac_cv_func__logl" = x""yes; then :
33976 cat >>confdefs.h <<_ACEOF
33977 #define HAVE__LOGL 1
33978 _ACEOF
33981 done
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33991 $as_echo_n "checking for log10l declaration... " >&6; }
33992 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33993 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33994 $as_echo_n "(cached) " >&6
33995 else
33998 ac_ext=cpp
33999 ac_cpp='$CXXCPP $CPPFLAGS'
34000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34005 /* end confdefs.h. */
34006 #include <math.h>
34007 #ifdef HAVE_IEEEFP_H
34008 #include <ieeefp.h>
34009 #endif
34012 main ()
34014 log10l(0);
34016 return 0;
34018 _ACEOF
34019 if ac_fn_cxx_try_compile "$LINENO"; then :
34020 glibcxx_cv_func_log10l_use=yes
34021 else
34022 glibcxx_cv_func_log10l_use=no
34024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34025 ac_ext=c
34026 ac_cpp='$CPP $CPPFLAGS'
34027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34036 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34038 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34039 for ac_func in log10l
34040 do :
34041 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34042 if test "x$ac_cv_func_log10l" = x""yes; then :
34043 cat >>confdefs.h <<_ACEOF
34044 #define HAVE_LOG10L 1
34045 _ACEOF
34048 done
34050 else
34052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34053 $as_echo_n "checking for _log10l declaration... " >&6; }
34054 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34055 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34056 $as_echo_n "(cached) " >&6
34057 else
34060 ac_ext=cpp
34061 ac_cpp='$CXXCPP $CPPFLAGS'
34062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34067 /* end confdefs.h. */
34068 #include <math.h>
34069 #ifdef HAVE_IEEEFP_H
34070 #include <ieeefp.h>
34071 #endif
34074 main ()
34076 _log10l(0);
34078 return 0;
34080 _ACEOF
34081 if ac_fn_cxx_try_compile "$LINENO"; then :
34082 glibcxx_cv_func__log10l_use=yes
34083 else
34084 glibcxx_cv_func__log10l_use=no
34086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34087 ac_ext=c
34088 ac_cpp='$CPP $CPPFLAGS'
34089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34098 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34100 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34101 for ac_func in _log10l
34102 do :
34103 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34104 if test "x$ac_cv_func__log10l" = x""yes; then :
34105 cat >>confdefs.h <<_ACEOF
34106 #define HAVE__LOG10L 1
34107 _ACEOF
34110 done
34119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34120 $as_echo_n "checking for modfl declaration... " >&6; }
34121 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34122 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34123 $as_echo_n "(cached) " >&6
34124 else
34127 ac_ext=cpp
34128 ac_cpp='$CXXCPP $CPPFLAGS'
34129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34134 /* end confdefs.h. */
34135 #include <math.h>
34137 main ()
34139 modfl(0, 0);
34141 return 0;
34143 _ACEOF
34144 if ac_fn_cxx_try_compile "$LINENO"; then :
34145 glibcxx_cv_func_modfl_use=yes
34146 else
34147 glibcxx_cv_func_modfl_use=no
34149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34150 ac_ext=c
34151 ac_cpp='$CPP $CPPFLAGS'
34152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34161 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34163 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34164 for ac_func in modfl
34165 do :
34166 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34167 if test "x$ac_cv_func_modfl" = x""yes; then :
34168 cat >>confdefs.h <<_ACEOF
34169 #define HAVE_MODFL 1
34170 _ACEOF
34173 done
34175 else
34177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34178 $as_echo_n "checking for _modfl declaration... " >&6; }
34179 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34180 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34181 $as_echo_n "(cached) " >&6
34182 else
34185 ac_ext=cpp
34186 ac_cpp='$CXXCPP $CPPFLAGS'
34187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34192 /* end confdefs.h. */
34193 #include <math.h>
34195 main ()
34197 _modfl(0, 0);
34199 return 0;
34201 _ACEOF
34202 if ac_fn_cxx_try_compile "$LINENO"; then :
34203 glibcxx_cv_func__modfl_use=yes
34204 else
34205 glibcxx_cv_func__modfl_use=no
34207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34208 ac_ext=c
34209 ac_cpp='$CPP $CPPFLAGS'
34210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34219 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34221 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34222 for ac_func in _modfl
34223 do :
34224 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34225 if test "x$ac_cv_func__modfl" = x""yes; then :
34226 cat >>confdefs.h <<_ACEOF
34227 #define HAVE__MODFL 1
34228 _ACEOF
34231 done
34240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34241 $as_echo_n "checking for powl declaration... " >&6; }
34242 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34243 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34244 $as_echo_n "(cached) " >&6
34245 else
34248 ac_ext=cpp
34249 ac_cpp='$CXXCPP $CPPFLAGS'
34250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34255 /* end confdefs.h. */
34256 #include <math.h>
34258 main ()
34260 powl(0, 0);
34262 return 0;
34264 _ACEOF
34265 if ac_fn_cxx_try_compile "$LINENO"; then :
34266 glibcxx_cv_func_powl_use=yes
34267 else
34268 glibcxx_cv_func_powl_use=no
34270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34271 ac_ext=c
34272 ac_cpp='$CPP $CPPFLAGS'
34273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34282 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34284 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34285 for ac_func in powl
34286 do :
34287 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34288 if test "x$ac_cv_func_powl" = x""yes; then :
34289 cat >>confdefs.h <<_ACEOF
34290 #define HAVE_POWL 1
34291 _ACEOF
34294 done
34296 else
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34299 $as_echo_n "checking for _powl declaration... " >&6; }
34300 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34301 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34302 $as_echo_n "(cached) " >&6
34303 else
34306 ac_ext=cpp
34307 ac_cpp='$CXXCPP $CPPFLAGS'
34308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34313 /* end confdefs.h. */
34314 #include <math.h>
34316 main ()
34318 _powl(0, 0);
34320 return 0;
34322 _ACEOF
34323 if ac_fn_cxx_try_compile "$LINENO"; then :
34324 glibcxx_cv_func__powl_use=yes
34325 else
34326 glibcxx_cv_func__powl_use=no
34328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34329 ac_ext=c
34330 ac_cpp='$CPP $CPPFLAGS'
34331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34340 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34342 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34343 for ac_func in _powl
34344 do :
34345 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34346 if test "x$ac_cv_func__powl" = x""yes; then :
34347 cat >>confdefs.h <<_ACEOF
34348 #define HAVE__POWL 1
34349 _ACEOF
34352 done
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34362 $as_echo_n "checking for sqrtl declaration... " >&6; }
34363 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34364 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34365 $as_echo_n "(cached) " >&6
34366 else
34369 ac_ext=cpp
34370 ac_cpp='$CXXCPP $CPPFLAGS'
34371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34376 /* end confdefs.h. */
34377 #include <math.h>
34378 #ifdef HAVE_IEEEFP_H
34379 #include <ieeefp.h>
34380 #endif
34383 main ()
34385 sqrtl(0);
34387 return 0;
34389 _ACEOF
34390 if ac_fn_cxx_try_compile "$LINENO"; then :
34391 glibcxx_cv_func_sqrtl_use=yes
34392 else
34393 glibcxx_cv_func_sqrtl_use=no
34395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34396 ac_ext=c
34397 ac_cpp='$CPP $CPPFLAGS'
34398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34407 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34409 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34410 for ac_func in sqrtl
34411 do :
34412 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34413 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34414 cat >>confdefs.h <<_ACEOF
34415 #define HAVE_SQRTL 1
34416 _ACEOF
34419 done
34421 else
34423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34424 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34425 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34426 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34427 $as_echo_n "(cached) " >&6
34428 else
34431 ac_ext=cpp
34432 ac_cpp='$CXXCPP $CPPFLAGS'
34433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34438 /* end confdefs.h. */
34439 #include <math.h>
34440 #ifdef HAVE_IEEEFP_H
34441 #include <ieeefp.h>
34442 #endif
34445 main ()
34447 _sqrtl(0);
34449 return 0;
34451 _ACEOF
34452 if ac_fn_cxx_try_compile "$LINENO"; then :
34453 glibcxx_cv_func__sqrtl_use=yes
34454 else
34455 glibcxx_cv_func__sqrtl_use=no
34457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34458 ac_ext=c
34459 ac_cpp='$CPP $CPPFLAGS'
34460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34469 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34471 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34472 for ac_func in _sqrtl
34473 do :
34474 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34475 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34476 cat >>confdefs.h <<_ACEOF
34477 #define HAVE__SQRTL 1
34478 _ACEOF
34481 done
34490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34491 $as_echo_n "checking for sincosl declaration... " >&6; }
34492 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34493 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34494 $as_echo_n "(cached) " >&6
34495 else
34498 ac_ext=cpp
34499 ac_cpp='$CXXCPP $CPPFLAGS'
34500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34505 /* end confdefs.h. */
34506 #include <math.h>
34508 main ()
34510 sincosl(0, 0, 0);
34512 return 0;
34514 _ACEOF
34515 if ac_fn_cxx_try_compile "$LINENO"; then :
34516 glibcxx_cv_func_sincosl_use=yes
34517 else
34518 glibcxx_cv_func_sincosl_use=no
34520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521 ac_ext=c
34522 ac_cpp='$CPP $CPPFLAGS'
34523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34532 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34534 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34535 for ac_func in sincosl
34536 do :
34537 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34538 if test "x$ac_cv_func_sincosl" = x""yes; then :
34539 cat >>confdefs.h <<_ACEOF
34540 #define HAVE_SINCOSL 1
34541 _ACEOF
34544 done
34546 else
34548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34549 $as_echo_n "checking for _sincosl declaration... " >&6; }
34550 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34551 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34552 $as_echo_n "(cached) " >&6
34553 else
34556 ac_ext=cpp
34557 ac_cpp='$CXXCPP $CPPFLAGS'
34558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34563 /* end confdefs.h. */
34564 #include <math.h>
34566 main ()
34568 _sincosl(0, 0, 0);
34570 return 0;
34572 _ACEOF
34573 if ac_fn_cxx_try_compile "$LINENO"; then :
34574 glibcxx_cv_func__sincosl_use=yes
34575 else
34576 glibcxx_cv_func__sincosl_use=no
34578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34579 ac_ext=c
34580 ac_cpp='$CPP $CPPFLAGS'
34581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34590 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34592 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34593 for ac_func in _sincosl
34594 do :
34595 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34596 if test "x$ac_cv_func__sincosl" = x""yes; then :
34597 cat >>confdefs.h <<_ACEOF
34598 #define HAVE__SINCOSL 1
34599 _ACEOF
34602 done
34611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34612 $as_echo_n "checking for finitel declaration... " >&6; }
34613 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34614 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34615 $as_echo_n "(cached) " >&6
34616 else
34619 ac_ext=cpp
34620 ac_cpp='$CXXCPP $CPPFLAGS'
34621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34626 /* end confdefs.h. */
34627 #include <math.h>
34628 #ifdef HAVE_IEEEFP_H
34629 #include <ieeefp.h>
34630 #endif
34633 main ()
34635 finitel(0);
34637 return 0;
34639 _ACEOF
34640 if ac_fn_cxx_try_compile "$LINENO"; then :
34641 glibcxx_cv_func_finitel_use=yes
34642 else
34643 glibcxx_cv_func_finitel_use=no
34645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34646 ac_ext=c
34647 ac_cpp='$CPP $CPPFLAGS'
34648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34657 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34659 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34660 for ac_func in finitel
34661 do :
34662 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34663 if test "x$ac_cv_func_finitel" = x""yes; then :
34664 cat >>confdefs.h <<_ACEOF
34665 #define HAVE_FINITEL 1
34666 _ACEOF
34669 done
34671 else
34673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34674 $as_echo_n "checking for _finitel declaration... " >&6; }
34675 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34676 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34677 $as_echo_n "(cached) " >&6
34678 else
34681 ac_ext=cpp
34682 ac_cpp='$CXXCPP $CPPFLAGS'
34683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34688 /* end confdefs.h. */
34689 #include <math.h>
34690 #ifdef HAVE_IEEEFP_H
34691 #include <ieeefp.h>
34692 #endif
34695 main ()
34697 _finitel(0);
34699 return 0;
34701 _ACEOF
34702 if ac_fn_cxx_try_compile "$LINENO"; then :
34703 glibcxx_cv_func__finitel_use=yes
34704 else
34705 glibcxx_cv_func__finitel_use=no
34707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708 ac_ext=c
34709 ac_cpp='$CPP $CPPFLAGS'
34710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34719 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34721 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34722 for ac_func in _finitel
34723 do :
34724 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34725 if test "x$ac_cv_func__finitel" = x""yes; then :
34726 cat >>confdefs.h <<_ACEOF
34727 #define HAVE__FINITEL 1
34728 _ACEOF
34731 done
34739 LIBS="$ac_save_LIBS"
34740 CXXFLAGS="$ac_save_CXXFLAGS"
34743 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34744 ac_save_CXXFLAGS="$CXXFLAGS"
34745 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34749 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34750 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34751 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34752 $as_echo_n "(cached) " >&6
34753 else
34756 ac_ext=cpp
34757 ac_cpp='$CXXCPP $CPPFLAGS'
34758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34763 /* end confdefs.h. */
34764 #include <stdlib.h>
34766 main ()
34768 at_quick_exit(0);
34770 return 0;
34772 _ACEOF
34773 if ac_fn_cxx_try_compile "$LINENO"; then :
34774 glibcxx_cv_func_at_quick_exit_use=yes
34775 else
34776 glibcxx_cv_func_at_quick_exit_use=no
34778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_ext=c
34780 ac_cpp='$CPP $CPPFLAGS'
34781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34790 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34791 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34792 for ac_func in at_quick_exit
34793 do :
34794 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34795 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34796 cat >>confdefs.h <<_ACEOF
34797 #define HAVE_AT_QUICK_EXIT 1
34798 _ACEOF
34801 done
34806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34807 $as_echo_n "checking for quick_exit declaration... " >&6; }
34808 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34809 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34810 $as_echo_n "(cached) " >&6
34811 else
34814 ac_ext=cpp
34815 ac_cpp='$CXXCPP $CPPFLAGS'
34816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34821 /* end confdefs.h. */
34822 #include <stdlib.h>
34824 main ()
34826 quick_exit(0);
34828 return 0;
34830 _ACEOF
34831 if ac_fn_cxx_try_compile "$LINENO"; then :
34832 glibcxx_cv_func_quick_exit_use=yes
34833 else
34834 glibcxx_cv_func_quick_exit_use=no
34836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34837 ac_ext=c
34838 ac_cpp='$CPP $CPPFLAGS'
34839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34848 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34849 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34850 for ac_func in quick_exit
34851 do :
34852 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34853 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34854 cat >>confdefs.h <<_ACEOF
34855 #define HAVE_QUICK_EXIT 1
34856 _ACEOF
34859 done
34864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34865 $as_echo_n "checking for strtold declaration... " >&6; }
34866 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34867 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34868 $as_echo_n "(cached) " >&6
34869 else
34872 ac_ext=cpp
34873 ac_cpp='$CXXCPP $CPPFLAGS'
34874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34879 /* end confdefs.h. */
34880 #include <stdlib.h>
34882 main ()
34884 strtold(0, 0);
34886 return 0;
34888 _ACEOF
34889 if ac_fn_cxx_try_compile "$LINENO"; then :
34890 glibcxx_cv_func_strtold_use=yes
34891 else
34892 glibcxx_cv_func_strtold_use=no
34894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34895 ac_ext=c
34896 ac_cpp='$CPP $CPPFLAGS'
34897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34906 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34907 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34908 for ac_func in strtold
34909 do :
34910 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34911 if test "x$ac_cv_func_strtold" = x""yes; then :
34912 cat >>confdefs.h <<_ACEOF
34913 #define HAVE_STRTOLD 1
34914 _ACEOF
34917 done
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34925 $as_echo_n "checking for strtof declaration... " >&6; }
34926 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34927 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34928 $as_echo_n "(cached) " >&6
34929 else
34932 ac_ext=cpp
34933 ac_cpp='$CXXCPP $CPPFLAGS'
34934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34939 /* end confdefs.h. */
34940 #include <stdlib.h>
34942 main ()
34944 strtof(0, 0);
34946 return 0;
34948 _ACEOF
34949 if ac_fn_cxx_try_compile "$LINENO"; then :
34950 glibcxx_cv_func_strtof_use=yes
34951 else
34952 glibcxx_cv_func_strtof_use=no
34954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34955 ac_ext=c
34956 ac_cpp='$CPP $CPPFLAGS'
34957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34966 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34967 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34968 for ac_func in strtof
34969 do :
34970 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34971 if test "x$ac_cv_func_strtof" = x""yes; then :
34972 cat >>confdefs.h <<_ACEOF
34973 #define HAVE_STRTOF 1
34974 _ACEOF
34977 done
34984 CXXFLAGS="$ac_save_CXXFLAGS"
34987 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34989 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34991 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34993 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34996 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34998 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35000 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35004 spu-*-elf*)
35006 # All these tests are for C++; save the language and the compiler flags.
35007 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35008 # found in GLIBCXX_CONFIGURE.
35010 ac_ext=cpp
35011 ac_cpp='$CXXCPP $CPPFLAGS'
35012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35016 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35017 ac_save_CXXFLAGS="$CXXFLAGS"
35019 # Check for maintainer-mode bits.
35020 if test x"$USE_MAINTAINER_MODE" = xno; then
35021 WERROR=''
35022 else
35023 WERROR='-Werror'
35026 # Check for -ffunction-sections -fdata-sections
35027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35028 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35029 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35031 /* end confdefs.h. */
35032 int foo; void bar() { };
35034 main ()
35038 return 0;
35040 _ACEOF
35041 if ac_fn_cxx_try_compile "$LINENO"; then :
35042 ac_fdsections=yes
35043 else
35044 ac_fdsections=no
35046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35047 if test "$ac_test_CXXFLAGS" = set; then
35048 CXXFLAGS="$ac_save_CXXFLAGS"
35049 else
35050 # this is the suspicious part
35051 CXXFLAGS=''
35053 if test x"$ac_fdsections" = x"yes"; then
35054 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35057 $as_echo "$ac_fdsections" >&6; }
35059 ac_ext=c
35060 ac_cpp='$CPP $CPPFLAGS'
35061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35069 # If we're not using GNU ld, then there's no point in even trying these
35070 # tests. Check for that first. We should have already tested for gld
35071 # by now (in libtool), but require it now just to be safe...
35072 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35073 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35077 # The name set by libtool depends on the version of libtool. Shame on us
35078 # for depending on an impl detail, but c'est la vie. Older versions used
35079 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35080 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35081 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35082 # set (hence we're using an older libtool), then set it.
35083 if test x${with_gnu_ld+set} != xset; then
35084 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35085 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35086 with_gnu_ld=no
35087 else
35088 with_gnu_ld=$ac_cv_prog_gnu_ld
35092 # Start by getting the version number. I think the libtool test already
35093 # does some of this, but throws away the result.
35094 glibcxx_ld_is_gold=no
35095 if test x"$with_gnu_ld" = x"yes"; then
35096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35097 $as_echo_n "checking for ld version... " >&6; }
35099 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35100 glibcxx_ld_is_gold=yes
35102 ldver=`$LD --version 2>/dev/null |
35103 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'`
35105 glibcxx_gnu_ld_version=`echo $ldver | \
35106 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35108 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35111 # Set --gc-sections.
35112 glibcxx_have_gc_sections=no
35113 if test "$glibcxx_ld_is_gold" = "yes"; then
35114 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35115 glibcxx_have_gc_sections=yes
35117 else
35118 glibcxx_gcsections_min_ld=21602
35119 if test x"$with_gnu_ld" = x"yes" &&
35120 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35121 glibcxx_have_gc_sections=yes
35124 if test "$glibcxx_have_gc_sections" = "yes"; then
35125 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35126 # NB: This flag only works reliably after 2.16.1. Configure tests
35127 # for this are difficult, so hard wire a value that should work.
35129 ac_test_CFLAGS="${CFLAGS+set}"
35130 ac_save_CFLAGS="$CFLAGS"
35131 CFLAGS='-Wl,--gc-sections'
35133 # Check for -Wl,--gc-sections
35134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35135 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35136 if test x$gcc_no_link = xyes; then
35137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35140 /* end confdefs.h. */
35141 int one(void) { return 1; }
35142 int two(void) { return 2; }
35145 main ()
35147 two();
35149 return 0;
35151 _ACEOF
35152 if ac_fn_c_try_link "$LINENO"; then :
35153 ac_gcsections=yes
35154 else
35155 ac_gcsections=no
35157 rm -f core conftest.err conftest.$ac_objext \
35158 conftest$ac_exeext conftest.$ac_ext
35159 if test "$ac_gcsections" = "yes"; then
35160 rm -f conftest.c
35161 touch conftest.c
35162 if $CC -c conftest.c; then
35163 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35164 grep "Warning: gc-sections option ignored" > /dev/null; then
35165 ac_gcsections=no
35168 rm -f conftest.c conftest.o conftest
35170 if test "$ac_gcsections" = "yes"; then
35171 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35174 $as_echo "$ac_gcsections" >&6; }
35176 if test "$ac_test_CFLAGS" = set; then
35177 CFLAGS="$ac_save_CFLAGS"
35178 else
35179 # this is the suspicious part
35180 CFLAGS=''
35184 # Set -z,relro.
35185 # Note this is only for shared objects.
35186 ac_ld_relro=no
35187 if test x"$with_gnu_ld" = x"yes"; then
35188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35189 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35190 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35191 if test -n "$cxx_z_relo"; then
35192 OPT_LDFLAGS="-Wl,-z,relro"
35193 ac_ld_relro=yes
35195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35196 $as_echo "$ac_ld_relro" >&6; }
35199 # Set linker optimization flags.
35200 if test x"$with_gnu_ld" = x"yes"; then
35201 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35208 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35209 ac_save_CXXFLAGS="$CXXFLAGS"
35210 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35213 $as_echo_n "checking for sin in -lm... " >&6; }
35214 if test "${ac_cv_lib_m_sin+set}" = set; then :
35215 $as_echo_n "(cached) " >&6
35216 else
35217 ac_check_lib_save_LIBS=$LIBS
35218 LIBS="-lm $LIBS"
35219 if test x$gcc_no_link = xyes; then
35220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35223 /* end confdefs.h. */
35225 /* Override any GCC internal prototype to avoid an error.
35226 Use char because int might match the return type of a GCC
35227 builtin and then its argument prototype would still apply. */
35228 #ifdef __cplusplus
35229 extern "C"
35230 #endif
35231 char sin ();
35233 main ()
35235 return sin ();
35237 return 0;
35239 _ACEOF
35240 if ac_fn_c_try_link "$LINENO"; then :
35241 ac_cv_lib_m_sin=yes
35242 else
35243 ac_cv_lib_m_sin=no
35245 rm -f core conftest.err conftest.$ac_objext \
35246 conftest$ac_exeext conftest.$ac_ext
35247 LIBS=$ac_check_lib_save_LIBS
35249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35250 $as_echo "$ac_cv_lib_m_sin" >&6; }
35251 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35252 libm="-lm"
35255 ac_save_LIBS="$LIBS"
35256 LIBS="$LIBS $libm"
35260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35261 $as_echo_n "checking for isinf declaration... " >&6; }
35262 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35263 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35264 $as_echo_n "(cached) " >&6
35265 else
35268 ac_ext=cpp
35269 ac_cpp='$CXXCPP $CPPFLAGS'
35270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35275 /* end confdefs.h. */
35276 #include <math.h>
35277 #ifdef HAVE_IEEEFP_H
35278 #include <ieeefp.h>
35279 #endif
35282 main ()
35284 isinf(0);
35286 return 0;
35288 _ACEOF
35289 if ac_fn_cxx_try_compile "$LINENO"; then :
35290 glibcxx_cv_func_isinf_use=yes
35291 else
35292 glibcxx_cv_func_isinf_use=no
35294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35295 ac_ext=c
35296 ac_cpp='$CPP $CPPFLAGS'
35297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35306 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35308 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35309 for ac_func in isinf
35310 do :
35311 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35312 if test "x$ac_cv_func_isinf" = x""yes; then :
35313 cat >>confdefs.h <<_ACEOF
35314 #define HAVE_ISINF 1
35315 _ACEOF
35318 done
35320 else
35322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35323 $as_echo_n "checking for _isinf declaration... " >&6; }
35324 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35325 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35326 $as_echo_n "(cached) " >&6
35327 else
35330 ac_ext=cpp
35331 ac_cpp='$CXXCPP $CPPFLAGS'
35332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35337 /* end confdefs.h. */
35338 #include <math.h>
35339 #ifdef HAVE_IEEEFP_H
35340 #include <ieeefp.h>
35341 #endif
35344 main ()
35346 _isinf(0);
35348 return 0;
35350 _ACEOF
35351 if ac_fn_cxx_try_compile "$LINENO"; then :
35352 glibcxx_cv_func__isinf_use=yes
35353 else
35354 glibcxx_cv_func__isinf_use=no
35356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35357 ac_ext=c
35358 ac_cpp='$CPP $CPPFLAGS'
35359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35368 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35370 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35371 for ac_func in _isinf
35372 do :
35373 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35374 if test "x$ac_cv_func__isinf" = x""yes; then :
35375 cat >>confdefs.h <<_ACEOF
35376 #define HAVE__ISINF 1
35377 _ACEOF
35380 done
35389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35390 $as_echo_n "checking for isnan declaration... " >&6; }
35391 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35392 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35393 $as_echo_n "(cached) " >&6
35394 else
35397 ac_ext=cpp
35398 ac_cpp='$CXXCPP $CPPFLAGS'
35399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35404 /* end confdefs.h. */
35405 #include <math.h>
35406 #ifdef HAVE_IEEEFP_H
35407 #include <ieeefp.h>
35408 #endif
35411 main ()
35413 isnan(0);
35415 return 0;
35417 _ACEOF
35418 if ac_fn_cxx_try_compile "$LINENO"; then :
35419 glibcxx_cv_func_isnan_use=yes
35420 else
35421 glibcxx_cv_func_isnan_use=no
35423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35424 ac_ext=c
35425 ac_cpp='$CPP $CPPFLAGS'
35426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35435 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35437 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35438 for ac_func in isnan
35439 do :
35440 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35441 if test "x$ac_cv_func_isnan" = x""yes; then :
35442 cat >>confdefs.h <<_ACEOF
35443 #define HAVE_ISNAN 1
35444 _ACEOF
35447 done
35449 else
35451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35452 $as_echo_n "checking for _isnan declaration... " >&6; }
35453 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35454 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35455 $as_echo_n "(cached) " >&6
35456 else
35459 ac_ext=cpp
35460 ac_cpp='$CXXCPP $CPPFLAGS'
35461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35466 /* end confdefs.h. */
35467 #include <math.h>
35468 #ifdef HAVE_IEEEFP_H
35469 #include <ieeefp.h>
35470 #endif
35473 main ()
35475 _isnan(0);
35477 return 0;
35479 _ACEOF
35480 if ac_fn_cxx_try_compile "$LINENO"; then :
35481 glibcxx_cv_func__isnan_use=yes
35482 else
35483 glibcxx_cv_func__isnan_use=no
35485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35486 ac_ext=c
35487 ac_cpp='$CPP $CPPFLAGS'
35488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35497 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35499 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35500 for ac_func in _isnan
35501 do :
35502 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35503 if test "x$ac_cv_func__isnan" = x""yes; then :
35504 cat >>confdefs.h <<_ACEOF
35505 #define HAVE__ISNAN 1
35506 _ACEOF
35509 done
35518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35519 $as_echo_n "checking for finite declaration... " >&6; }
35520 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35521 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35522 $as_echo_n "(cached) " >&6
35523 else
35526 ac_ext=cpp
35527 ac_cpp='$CXXCPP $CPPFLAGS'
35528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35533 /* end confdefs.h. */
35534 #include <math.h>
35535 #ifdef HAVE_IEEEFP_H
35536 #include <ieeefp.h>
35537 #endif
35540 main ()
35542 finite(0);
35544 return 0;
35546 _ACEOF
35547 if ac_fn_cxx_try_compile "$LINENO"; then :
35548 glibcxx_cv_func_finite_use=yes
35549 else
35550 glibcxx_cv_func_finite_use=no
35552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35553 ac_ext=c
35554 ac_cpp='$CPP $CPPFLAGS'
35555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35564 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35566 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35567 for ac_func in finite
35568 do :
35569 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35570 if test "x$ac_cv_func_finite" = x""yes; then :
35571 cat >>confdefs.h <<_ACEOF
35572 #define HAVE_FINITE 1
35573 _ACEOF
35576 done
35578 else
35580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35581 $as_echo_n "checking for _finite declaration... " >&6; }
35582 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35583 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35584 $as_echo_n "(cached) " >&6
35585 else
35588 ac_ext=cpp
35589 ac_cpp='$CXXCPP $CPPFLAGS'
35590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35595 /* end confdefs.h. */
35596 #include <math.h>
35597 #ifdef HAVE_IEEEFP_H
35598 #include <ieeefp.h>
35599 #endif
35602 main ()
35604 _finite(0);
35606 return 0;
35608 _ACEOF
35609 if ac_fn_cxx_try_compile "$LINENO"; then :
35610 glibcxx_cv_func__finite_use=yes
35611 else
35612 glibcxx_cv_func__finite_use=no
35614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35615 ac_ext=c
35616 ac_cpp='$CPP $CPPFLAGS'
35617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35626 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35628 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35629 for ac_func in _finite
35630 do :
35631 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35632 if test "x$ac_cv_func__finite" = x""yes; then :
35633 cat >>confdefs.h <<_ACEOF
35634 #define HAVE__FINITE 1
35635 _ACEOF
35638 done
35647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35648 $as_echo_n "checking for sincos declaration... " >&6; }
35649 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35650 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35651 $as_echo_n "(cached) " >&6
35652 else
35655 ac_ext=cpp
35656 ac_cpp='$CXXCPP $CPPFLAGS'
35657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35662 /* end confdefs.h. */
35663 #include <math.h>
35665 main ()
35667 sincos(0, 0, 0);
35669 return 0;
35671 _ACEOF
35672 if ac_fn_cxx_try_compile "$LINENO"; then :
35673 glibcxx_cv_func_sincos_use=yes
35674 else
35675 glibcxx_cv_func_sincos_use=no
35677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35678 ac_ext=c
35679 ac_cpp='$CPP $CPPFLAGS'
35680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35689 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35691 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35692 for ac_func in sincos
35693 do :
35694 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35695 if test "x$ac_cv_func_sincos" = x""yes; then :
35696 cat >>confdefs.h <<_ACEOF
35697 #define HAVE_SINCOS 1
35698 _ACEOF
35701 done
35703 else
35705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35706 $as_echo_n "checking for _sincos declaration... " >&6; }
35707 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35708 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35709 $as_echo_n "(cached) " >&6
35710 else
35713 ac_ext=cpp
35714 ac_cpp='$CXXCPP $CPPFLAGS'
35715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35720 /* end confdefs.h. */
35721 #include <math.h>
35723 main ()
35725 _sincos(0, 0, 0);
35727 return 0;
35729 _ACEOF
35730 if ac_fn_cxx_try_compile "$LINENO"; then :
35731 glibcxx_cv_func__sincos_use=yes
35732 else
35733 glibcxx_cv_func__sincos_use=no
35735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35736 ac_ext=c
35737 ac_cpp='$CPP $CPPFLAGS'
35738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35747 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35749 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35750 for ac_func in _sincos
35751 do :
35752 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35753 if test "x$ac_cv_func__sincos" = x""yes; then :
35754 cat >>confdefs.h <<_ACEOF
35755 #define HAVE__SINCOS 1
35756 _ACEOF
35759 done
35768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35769 $as_echo_n "checking for fpclass declaration... " >&6; }
35770 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35771 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35772 $as_echo_n "(cached) " >&6
35773 else
35776 ac_ext=cpp
35777 ac_cpp='$CXXCPP $CPPFLAGS'
35778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35783 /* end confdefs.h. */
35784 #include <math.h>
35785 #ifdef HAVE_IEEEFP_H
35786 #include <ieeefp.h>
35787 #endif
35790 main ()
35792 fpclass(0);
35794 return 0;
35796 _ACEOF
35797 if ac_fn_cxx_try_compile "$LINENO"; then :
35798 glibcxx_cv_func_fpclass_use=yes
35799 else
35800 glibcxx_cv_func_fpclass_use=no
35802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35803 ac_ext=c
35804 ac_cpp='$CPP $CPPFLAGS'
35805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35814 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35816 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35817 for ac_func in fpclass
35818 do :
35819 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35820 if test "x$ac_cv_func_fpclass" = x""yes; then :
35821 cat >>confdefs.h <<_ACEOF
35822 #define HAVE_FPCLASS 1
35823 _ACEOF
35826 done
35828 else
35830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35831 $as_echo_n "checking for _fpclass declaration... " >&6; }
35832 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35833 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35834 $as_echo_n "(cached) " >&6
35835 else
35838 ac_ext=cpp
35839 ac_cpp='$CXXCPP $CPPFLAGS'
35840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35845 /* end confdefs.h. */
35846 #include <math.h>
35847 #ifdef HAVE_IEEEFP_H
35848 #include <ieeefp.h>
35849 #endif
35852 main ()
35854 _fpclass(0);
35856 return 0;
35858 _ACEOF
35859 if ac_fn_cxx_try_compile "$LINENO"; then :
35860 glibcxx_cv_func__fpclass_use=yes
35861 else
35862 glibcxx_cv_func__fpclass_use=no
35864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35865 ac_ext=c
35866 ac_cpp='$CPP $CPPFLAGS'
35867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35876 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35878 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35879 for ac_func in _fpclass
35880 do :
35881 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35882 if test "x$ac_cv_func__fpclass" = x""yes; then :
35883 cat >>confdefs.h <<_ACEOF
35884 #define HAVE__FPCLASS 1
35885 _ACEOF
35888 done
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35898 $as_echo_n "checking for qfpclass declaration... " >&6; }
35899 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35900 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35901 $as_echo_n "(cached) " >&6
35902 else
35905 ac_ext=cpp
35906 ac_cpp='$CXXCPP $CPPFLAGS'
35907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35912 /* end confdefs.h. */
35913 #include <math.h>
35914 #ifdef HAVE_IEEEFP_H
35915 #include <ieeefp.h>
35916 #endif
35919 main ()
35921 qfpclass(0);
35923 return 0;
35925 _ACEOF
35926 if ac_fn_cxx_try_compile "$LINENO"; then :
35927 glibcxx_cv_func_qfpclass_use=yes
35928 else
35929 glibcxx_cv_func_qfpclass_use=no
35931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35932 ac_ext=c
35933 ac_cpp='$CPP $CPPFLAGS'
35934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35943 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35945 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35946 for ac_func in qfpclass
35947 do :
35948 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35949 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35950 cat >>confdefs.h <<_ACEOF
35951 #define HAVE_QFPCLASS 1
35952 _ACEOF
35955 done
35957 else
35959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35960 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35961 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35962 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35963 $as_echo_n "(cached) " >&6
35964 else
35967 ac_ext=cpp
35968 ac_cpp='$CXXCPP $CPPFLAGS'
35969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35974 /* end confdefs.h. */
35975 #include <math.h>
35976 #ifdef HAVE_IEEEFP_H
35977 #include <ieeefp.h>
35978 #endif
35981 main ()
35983 _qfpclass(0);
35985 return 0;
35987 _ACEOF
35988 if ac_fn_cxx_try_compile "$LINENO"; then :
35989 glibcxx_cv_func__qfpclass_use=yes
35990 else
35991 glibcxx_cv_func__qfpclass_use=no
35993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35994 ac_ext=c
35995 ac_cpp='$CPP $CPPFLAGS'
35996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36005 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36007 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36008 for ac_func in _qfpclass
36009 do :
36010 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36011 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36012 cat >>confdefs.h <<_ACEOF
36013 #define HAVE__QFPCLASS 1
36014 _ACEOF
36017 done
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36027 $as_echo_n "checking for hypot declaration... " >&6; }
36028 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36029 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36030 $as_echo_n "(cached) " >&6
36031 else
36034 ac_ext=cpp
36035 ac_cpp='$CXXCPP $CPPFLAGS'
36036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36041 /* end confdefs.h. */
36042 #include <math.h>
36044 main ()
36046 hypot(0, 0);
36048 return 0;
36050 _ACEOF
36051 if ac_fn_cxx_try_compile "$LINENO"; then :
36052 glibcxx_cv_func_hypot_use=yes
36053 else
36054 glibcxx_cv_func_hypot_use=no
36056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36057 ac_ext=c
36058 ac_cpp='$CPP $CPPFLAGS'
36059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36068 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36070 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36071 for ac_func in hypot
36072 do :
36073 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36074 if test "x$ac_cv_func_hypot" = x""yes; then :
36075 cat >>confdefs.h <<_ACEOF
36076 #define HAVE_HYPOT 1
36077 _ACEOF
36080 done
36082 else
36084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36085 $as_echo_n "checking for _hypot declaration... " >&6; }
36086 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36087 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36088 $as_echo_n "(cached) " >&6
36089 else
36092 ac_ext=cpp
36093 ac_cpp='$CXXCPP $CPPFLAGS'
36094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36099 /* end confdefs.h. */
36100 #include <math.h>
36102 main ()
36104 _hypot(0, 0);
36106 return 0;
36108 _ACEOF
36109 if ac_fn_cxx_try_compile "$LINENO"; then :
36110 glibcxx_cv_func__hypot_use=yes
36111 else
36112 glibcxx_cv_func__hypot_use=no
36114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36115 ac_ext=c
36116 ac_cpp='$CPP $CPPFLAGS'
36117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36126 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36128 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36129 for ac_func in _hypot
36130 do :
36131 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36132 if test "x$ac_cv_func__hypot" = x""yes; then :
36133 cat >>confdefs.h <<_ACEOF
36134 #define HAVE__HYPOT 1
36135 _ACEOF
36138 done
36147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36148 $as_echo_n "checking for float trig functions... " >&6; }
36149 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36150 $as_echo_n "(cached) " >&6
36151 else
36154 ac_ext=cpp
36155 ac_cpp='$CXXCPP $CPPFLAGS'
36156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36161 /* end confdefs.h. */
36162 #include <math.h>
36164 main ()
36166 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36168 return 0;
36170 _ACEOF
36171 if ac_fn_cxx_try_compile "$LINENO"; then :
36172 glibcxx_cv_func_float_trig_use=yes
36173 else
36174 glibcxx_cv_func_float_trig_use=no
36176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36177 ac_ext=c
36178 ac_cpp='$CPP $CPPFLAGS'
36179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36186 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36187 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36188 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36189 do :
36190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36192 eval as_val=\$$as_ac_var
36193 if test "x$as_val" = x""yes; then :
36194 cat >>confdefs.h <<_ACEOF
36195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36196 _ACEOF
36199 done
36201 else
36202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36203 $as_echo_n "checking for _float trig functions... " >&6; }
36204 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36205 $as_echo_n "(cached) " >&6
36206 else
36209 ac_ext=cpp
36210 ac_cpp='$CXXCPP $CPPFLAGS'
36211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36216 /* end confdefs.h. */
36217 #include <math.h>
36219 main ()
36221 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36223 return 0;
36225 _ACEOF
36226 if ac_fn_cxx_try_compile "$LINENO"; then :
36227 glibcxx_cv_func__float_trig_use=yes
36228 else
36229 glibcxx_cv_func__float_trig_use=no
36231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36232 ac_ext=c
36233 ac_cpp='$CPP $CPPFLAGS'
36234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36241 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36242 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36243 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36244 do :
36245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36247 eval as_val=\$$as_ac_var
36248 if test "x$as_val" = x""yes; then :
36249 cat >>confdefs.h <<_ACEOF
36250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36251 _ACEOF
36254 done
36263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36264 $as_echo_n "checking for float round functions... " >&6; }
36265 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36266 $as_echo_n "(cached) " >&6
36267 else
36270 ac_ext=cpp
36271 ac_cpp='$CXXCPP $CPPFLAGS'
36272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36277 /* end confdefs.h. */
36278 #include <math.h>
36280 main ()
36282 ceilf (0); floorf (0);
36284 return 0;
36286 _ACEOF
36287 if ac_fn_cxx_try_compile "$LINENO"; then :
36288 glibcxx_cv_func_float_round_use=yes
36289 else
36290 glibcxx_cv_func_float_round_use=no
36292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36293 ac_ext=c
36294 ac_cpp='$CPP $CPPFLAGS'
36295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36302 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36303 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36304 for ac_func in ceilf floorf
36305 do :
36306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36308 eval as_val=\$$as_ac_var
36309 if test "x$as_val" = x""yes; then :
36310 cat >>confdefs.h <<_ACEOF
36311 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36312 _ACEOF
36315 done
36317 else
36318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36319 $as_echo_n "checking for _float round functions... " >&6; }
36320 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36321 $as_echo_n "(cached) " >&6
36322 else
36325 ac_ext=cpp
36326 ac_cpp='$CXXCPP $CPPFLAGS'
36327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36332 /* end confdefs.h. */
36333 #include <math.h>
36335 main ()
36337 _ceilf (0); _floorf (0);
36339 return 0;
36341 _ACEOF
36342 if ac_fn_cxx_try_compile "$LINENO"; then :
36343 glibcxx_cv_func__float_round_use=yes
36344 else
36345 glibcxx_cv_func__float_round_use=no
36347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36348 ac_ext=c
36349 ac_cpp='$CPP $CPPFLAGS'
36350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36357 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36358 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36359 for ac_func in _ceilf _floorf
36360 do :
36361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36363 eval as_val=\$$as_ac_var
36364 if test "x$as_val" = x""yes; then :
36365 cat >>confdefs.h <<_ACEOF
36366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36367 _ACEOF
36370 done
36380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36381 $as_echo_n "checking for expf declaration... " >&6; }
36382 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36383 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36384 $as_echo_n "(cached) " >&6
36385 else
36388 ac_ext=cpp
36389 ac_cpp='$CXXCPP $CPPFLAGS'
36390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36395 /* end confdefs.h. */
36396 #include <math.h>
36397 #ifdef HAVE_IEEEFP_H
36398 #include <ieeefp.h>
36399 #endif
36402 main ()
36404 expf(0);
36406 return 0;
36408 _ACEOF
36409 if ac_fn_cxx_try_compile "$LINENO"; then :
36410 glibcxx_cv_func_expf_use=yes
36411 else
36412 glibcxx_cv_func_expf_use=no
36414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36415 ac_ext=c
36416 ac_cpp='$CPP $CPPFLAGS'
36417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36426 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36428 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36429 for ac_func in expf
36430 do :
36431 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36432 if test "x$ac_cv_func_expf" = x""yes; then :
36433 cat >>confdefs.h <<_ACEOF
36434 #define HAVE_EXPF 1
36435 _ACEOF
36438 done
36440 else
36442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36443 $as_echo_n "checking for _expf declaration... " >&6; }
36444 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36445 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36446 $as_echo_n "(cached) " >&6
36447 else
36450 ac_ext=cpp
36451 ac_cpp='$CXXCPP $CPPFLAGS'
36452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36457 /* end confdefs.h. */
36458 #include <math.h>
36459 #ifdef HAVE_IEEEFP_H
36460 #include <ieeefp.h>
36461 #endif
36464 main ()
36466 _expf(0);
36468 return 0;
36470 _ACEOF
36471 if ac_fn_cxx_try_compile "$LINENO"; then :
36472 glibcxx_cv_func__expf_use=yes
36473 else
36474 glibcxx_cv_func__expf_use=no
36476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36477 ac_ext=c
36478 ac_cpp='$CPP $CPPFLAGS'
36479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36488 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36490 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36491 for ac_func in _expf
36492 do :
36493 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36494 if test "x$ac_cv_func__expf" = x""yes; then :
36495 cat >>confdefs.h <<_ACEOF
36496 #define HAVE__EXPF 1
36497 _ACEOF
36500 done
36509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36510 $as_echo_n "checking for isnanf declaration... " >&6; }
36511 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36512 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36513 $as_echo_n "(cached) " >&6
36514 else
36517 ac_ext=cpp
36518 ac_cpp='$CXXCPP $CPPFLAGS'
36519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36524 /* end confdefs.h. */
36525 #include <math.h>
36526 #ifdef HAVE_IEEEFP_H
36527 #include <ieeefp.h>
36528 #endif
36531 main ()
36533 isnanf(0);
36535 return 0;
36537 _ACEOF
36538 if ac_fn_cxx_try_compile "$LINENO"; then :
36539 glibcxx_cv_func_isnanf_use=yes
36540 else
36541 glibcxx_cv_func_isnanf_use=no
36543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36544 ac_ext=c
36545 ac_cpp='$CPP $CPPFLAGS'
36546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36555 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36557 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36558 for ac_func in isnanf
36559 do :
36560 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36561 if test "x$ac_cv_func_isnanf" = x""yes; then :
36562 cat >>confdefs.h <<_ACEOF
36563 #define HAVE_ISNANF 1
36564 _ACEOF
36567 done
36569 else
36571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36572 $as_echo_n "checking for _isnanf declaration... " >&6; }
36573 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36574 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36575 $as_echo_n "(cached) " >&6
36576 else
36579 ac_ext=cpp
36580 ac_cpp='$CXXCPP $CPPFLAGS'
36581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36586 /* end confdefs.h. */
36587 #include <math.h>
36588 #ifdef HAVE_IEEEFP_H
36589 #include <ieeefp.h>
36590 #endif
36593 main ()
36595 _isnanf(0);
36597 return 0;
36599 _ACEOF
36600 if ac_fn_cxx_try_compile "$LINENO"; then :
36601 glibcxx_cv_func__isnanf_use=yes
36602 else
36603 glibcxx_cv_func__isnanf_use=no
36605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36606 ac_ext=c
36607 ac_cpp='$CPP $CPPFLAGS'
36608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36617 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36619 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36620 for ac_func in _isnanf
36621 do :
36622 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36623 if test "x$ac_cv_func__isnanf" = x""yes; then :
36624 cat >>confdefs.h <<_ACEOF
36625 #define HAVE__ISNANF 1
36626 _ACEOF
36629 done
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36639 $as_echo_n "checking for isinff declaration... " >&6; }
36640 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36641 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36642 $as_echo_n "(cached) " >&6
36643 else
36646 ac_ext=cpp
36647 ac_cpp='$CXXCPP $CPPFLAGS'
36648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36653 /* end confdefs.h. */
36654 #include <math.h>
36655 #ifdef HAVE_IEEEFP_H
36656 #include <ieeefp.h>
36657 #endif
36660 main ()
36662 isinff(0);
36664 return 0;
36666 _ACEOF
36667 if ac_fn_cxx_try_compile "$LINENO"; then :
36668 glibcxx_cv_func_isinff_use=yes
36669 else
36670 glibcxx_cv_func_isinff_use=no
36672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36673 ac_ext=c
36674 ac_cpp='$CPP $CPPFLAGS'
36675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36684 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36686 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36687 for ac_func in isinff
36688 do :
36689 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36690 if test "x$ac_cv_func_isinff" = x""yes; then :
36691 cat >>confdefs.h <<_ACEOF
36692 #define HAVE_ISINFF 1
36693 _ACEOF
36696 done
36698 else
36700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36701 $as_echo_n "checking for _isinff declaration... " >&6; }
36702 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36703 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36704 $as_echo_n "(cached) " >&6
36705 else
36708 ac_ext=cpp
36709 ac_cpp='$CXXCPP $CPPFLAGS'
36710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36715 /* end confdefs.h. */
36716 #include <math.h>
36717 #ifdef HAVE_IEEEFP_H
36718 #include <ieeefp.h>
36719 #endif
36722 main ()
36724 _isinff(0);
36726 return 0;
36728 _ACEOF
36729 if ac_fn_cxx_try_compile "$LINENO"; then :
36730 glibcxx_cv_func__isinff_use=yes
36731 else
36732 glibcxx_cv_func__isinff_use=no
36734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36735 ac_ext=c
36736 ac_cpp='$CPP $CPPFLAGS'
36737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36746 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36748 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36749 for ac_func in _isinff
36750 do :
36751 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36752 if test "x$ac_cv_func__isinff" = x""yes; then :
36753 cat >>confdefs.h <<_ACEOF
36754 #define HAVE__ISINFF 1
36755 _ACEOF
36758 done
36767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36768 $as_echo_n "checking for atan2f declaration... " >&6; }
36769 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36770 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36771 $as_echo_n "(cached) " >&6
36772 else
36775 ac_ext=cpp
36776 ac_cpp='$CXXCPP $CPPFLAGS'
36777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36782 /* end confdefs.h. */
36783 #include <math.h>
36785 main ()
36787 atan2f(0, 0);
36789 return 0;
36791 _ACEOF
36792 if ac_fn_cxx_try_compile "$LINENO"; then :
36793 glibcxx_cv_func_atan2f_use=yes
36794 else
36795 glibcxx_cv_func_atan2f_use=no
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798 ac_ext=c
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36809 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36811 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36812 for ac_func in atan2f
36813 do :
36814 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36815 if test "x$ac_cv_func_atan2f" = x""yes; then :
36816 cat >>confdefs.h <<_ACEOF
36817 #define HAVE_ATAN2F 1
36818 _ACEOF
36821 done
36823 else
36825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36826 $as_echo_n "checking for _atan2f declaration... " >&6; }
36827 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36828 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36829 $as_echo_n "(cached) " >&6
36830 else
36833 ac_ext=cpp
36834 ac_cpp='$CXXCPP $CPPFLAGS'
36835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36840 /* end confdefs.h. */
36841 #include <math.h>
36843 main ()
36845 _atan2f(0, 0);
36847 return 0;
36849 _ACEOF
36850 if ac_fn_cxx_try_compile "$LINENO"; then :
36851 glibcxx_cv_func__atan2f_use=yes
36852 else
36853 glibcxx_cv_func__atan2f_use=no
36855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36856 ac_ext=c
36857 ac_cpp='$CPP $CPPFLAGS'
36858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36867 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36869 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36870 for ac_func in _atan2f
36871 do :
36872 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36873 if test "x$ac_cv_func__atan2f" = x""yes; then :
36874 cat >>confdefs.h <<_ACEOF
36875 #define HAVE__ATAN2F 1
36876 _ACEOF
36879 done
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36889 $as_echo_n "checking for fabsf declaration... " >&6; }
36890 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36891 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36892 $as_echo_n "(cached) " >&6
36893 else
36896 ac_ext=cpp
36897 ac_cpp='$CXXCPP $CPPFLAGS'
36898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36903 /* end confdefs.h. */
36904 #include <math.h>
36905 #ifdef HAVE_IEEEFP_H
36906 #include <ieeefp.h>
36907 #endif
36910 main ()
36912 fabsf(0);
36914 return 0;
36916 _ACEOF
36917 if ac_fn_cxx_try_compile "$LINENO"; then :
36918 glibcxx_cv_func_fabsf_use=yes
36919 else
36920 glibcxx_cv_func_fabsf_use=no
36922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36923 ac_ext=c
36924 ac_cpp='$CPP $CPPFLAGS'
36925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36934 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36936 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36937 for ac_func in fabsf
36938 do :
36939 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36940 if test "x$ac_cv_func_fabsf" = x""yes; then :
36941 cat >>confdefs.h <<_ACEOF
36942 #define HAVE_FABSF 1
36943 _ACEOF
36946 done
36948 else
36950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36951 $as_echo_n "checking for _fabsf declaration... " >&6; }
36952 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36953 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36954 $as_echo_n "(cached) " >&6
36955 else
36958 ac_ext=cpp
36959 ac_cpp='$CXXCPP $CPPFLAGS'
36960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36965 /* end confdefs.h. */
36966 #include <math.h>
36967 #ifdef HAVE_IEEEFP_H
36968 #include <ieeefp.h>
36969 #endif
36972 main ()
36974 _fabsf(0);
36976 return 0;
36978 _ACEOF
36979 if ac_fn_cxx_try_compile "$LINENO"; then :
36980 glibcxx_cv_func__fabsf_use=yes
36981 else
36982 glibcxx_cv_func__fabsf_use=no
36984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36985 ac_ext=c
36986 ac_cpp='$CPP $CPPFLAGS'
36987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36996 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36998 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36999 for ac_func in _fabsf
37000 do :
37001 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37002 if test "x$ac_cv_func__fabsf" = x""yes; then :
37003 cat >>confdefs.h <<_ACEOF
37004 #define HAVE__FABSF 1
37005 _ACEOF
37008 done
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37018 $as_echo_n "checking for fmodf declaration... " >&6; }
37019 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37020 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37021 $as_echo_n "(cached) " >&6
37022 else
37025 ac_ext=cpp
37026 ac_cpp='$CXXCPP $CPPFLAGS'
37027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37032 /* end confdefs.h. */
37033 #include <math.h>
37035 main ()
37037 fmodf(0, 0);
37039 return 0;
37041 _ACEOF
37042 if ac_fn_cxx_try_compile "$LINENO"; then :
37043 glibcxx_cv_func_fmodf_use=yes
37044 else
37045 glibcxx_cv_func_fmodf_use=no
37047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37048 ac_ext=c
37049 ac_cpp='$CPP $CPPFLAGS'
37050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37059 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37061 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37062 for ac_func in fmodf
37063 do :
37064 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37065 if test "x$ac_cv_func_fmodf" = x""yes; then :
37066 cat >>confdefs.h <<_ACEOF
37067 #define HAVE_FMODF 1
37068 _ACEOF
37071 done
37073 else
37075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37076 $as_echo_n "checking for _fmodf declaration... " >&6; }
37077 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37078 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37079 $as_echo_n "(cached) " >&6
37080 else
37083 ac_ext=cpp
37084 ac_cpp='$CXXCPP $CPPFLAGS'
37085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37090 /* end confdefs.h. */
37091 #include <math.h>
37093 main ()
37095 _fmodf(0, 0);
37097 return 0;
37099 _ACEOF
37100 if ac_fn_cxx_try_compile "$LINENO"; then :
37101 glibcxx_cv_func__fmodf_use=yes
37102 else
37103 glibcxx_cv_func__fmodf_use=no
37105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37106 ac_ext=c
37107 ac_cpp='$CPP $CPPFLAGS'
37108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37117 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37119 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37120 for ac_func in _fmodf
37121 do :
37122 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37123 if test "x$ac_cv_func__fmodf" = x""yes; then :
37124 cat >>confdefs.h <<_ACEOF
37125 #define HAVE__FMODF 1
37126 _ACEOF
37129 done
37138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37139 $as_echo_n "checking for frexpf declaration... " >&6; }
37140 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37141 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37142 $as_echo_n "(cached) " >&6
37143 else
37146 ac_ext=cpp
37147 ac_cpp='$CXXCPP $CPPFLAGS'
37148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37153 /* end confdefs.h. */
37154 #include <math.h>
37156 main ()
37158 frexpf(0, 0);
37160 return 0;
37162 _ACEOF
37163 if ac_fn_cxx_try_compile "$LINENO"; then :
37164 glibcxx_cv_func_frexpf_use=yes
37165 else
37166 glibcxx_cv_func_frexpf_use=no
37168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37169 ac_ext=c
37170 ac_cpp='$CPP $CPPFLAGS'
37171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37180 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37182 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37183 for ac_func in frexpf
37184 do :
37185 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37186 if test "x$ac_cv_func_frexpf" = x""yes; then :
37187 cat >>confdefs.h <<_ACEOF
37188 #define HAVE_FREXPF 1
37189 _ACEOF
37192 done
37194 else
37196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37197 $as_echo_n "checking for _frexpf declaration... " >&6; }
37198 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37199 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37200 $as_echo_n "(cached) " >&6
37201 else
37204 ac_ext=cpp
37205 ac_cpp='$CXXCPP $CPPFLAGS'
37206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37211 /* end confdefs.h. */
37212 #include <math.h>
37214 main ()
37216 _frexpf(0, 0);
37218 return 0;
37220 _ACEOF
37221 if ac_fn_cxx_try_compile "$LINENO"; then :
37222 glibcxx_cv_func__frexpf_use=yes
37223 else
37224 glibcxx_cv_func__frexpf_use=no
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37227 ac_ext=c
37228 ac_cpp='$CPP $CPPFLAGS'
37229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37238 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37240 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37241 for ac_func in _frexpf
37242 do :
37243 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37244 if test "x$ac_cv_func__frexpf" = x""yes; then :
37245 cat >>confdefs.h <<_ACEOF
37246 #define HAVE__FREXPF 1
37247 _ACEOF
37250 done
37259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37260 $as_echo_n "checking for hypotf declaration... " >&6; }
37261 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37262 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37263 $as_echo_n "(cached) " >&6
37264 else
37267 ac_ext=cpp
37268 ac_cpp='$CXXCPP $CPPFLAGS'
37269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37274 /* end confdefs.h. */
37275 #include <math.h>
37277 main ()
37279 hypotf(0, 0);
37281 return 0;
37283 _ACEOF
37284 if ac_fn_cxx_try_compile "$LINENO"; then :
37285 glibcxx_cv_func_hypotf_use=yes
37286 else
37287 glibcxx_cv_func_hypotf_use=no
37289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37290 ac_ext=c
37291 ac_cpp='$CPP $CPPFLAGS'
37292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37301 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37303 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37304 for ac_func in hypotf
37305 do :
37306 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37307 if test "x$ac_cv_func_hypotf" = x""yes; then :
37308 cat >>confdefs.h <<_ACEOF
37309 #define HAVE_HYPOTF 1
37310 _ACEOF
37313 done
37315 else
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37318 $as_echo_n "checking for _hypotf declaration... " >&6; }
37319 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37320 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37321 $as_echo_n "(cached) " >&6
37322 else
37325 ac_ext=cpp
37326 ac_cpp='$CXXCPP $CPPFLAGS'
37327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37332 /* end confdefs.h. */
37333 #include <math.h>
37335 main ()
37337 _hypotf(0, 0);
37339 return 0;
37341 _ACEOF
37342 if ac_fn_cxx_try_compile "$LINENO"; then :
37343 glibcxx_cv_func__hypotf_use=yes
37344 else
37345 glibcxx_cv_func__hypotf_use=no
37347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37348 ac_ext=c
37349 ac_cpp='$CPP $CPPFLAGS'
37350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37359 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37361 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37362 for ac_func in _hypotf
37363 do :
37364 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37365 if test "x$ac_cv_func__hypotf" = x""yes; then :
37366 cat >>confdefs.h <<_ACEOF
37367 #define HAVE__HYPOTF 1
37368 _ACEOF
37371 done
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37381 $as_echo_n "checking for ldexpf declaration... " >&6; }
37382 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37383 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37384 $as_echo_n "(cached) " >&6
37385 else
37388 ac_ext=cpp
37389 ac_cpp='$CXXCPP $CPPFLAGS'
37390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37395 /* end confdefs.h. */
37396 #include <math.h>
37398 main ()
37400 ldexpf(0, 0);
37402 return 0;
37404 _ACEOF
37405 if ac_fn_cxx_try_compile "$LINENO"; then :
37406 glibcxx_cv_func_ldexpf_use=yes
37407 else
37408 glibcxx_cv_func_ldexpf_use=no
37410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37411 ac_ext=c
37412 ac_cpp='$CPP $CPPFLAGS'
37413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37422 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37424 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37425 for ac_func in ldexpf
37426 do :
37427 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37428 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37429 cat >>confdefs.h <<_ACEOF
37430 #define HAVE_LDEXPF 1
37431 _ACEOF
37434 done
37436 else
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37439 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37440 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37441 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37442 $as_echo_n "(cached) " >&6
37443 else
37446 ac_ext=cpp
37447 ac_cpp='$CXXCPP $CPPFLAGS'
37448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37453 /* end confdefs.h. */
37454 #include <math.h>
37456 main ()
37458 _ldexpf(0, 0);
37460 return 0;
37462 _ACEOF
37463 if ac_fn_cxx_try_compile "$LINENO"; then :
37464 glibcxx_cv_func__ldexpf_use=yes
37465 else
37466 glibcxx_cv_func__ldexpf_use=no
37468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37469 ac_ext=c
37470 ac_cpp='$CPP $CPPFLAGS'
37471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37480 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37482 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37483 for ac_func in _ldexpf
37484 do :
37485 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37486 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37487 cat >>confdefs.h <<_ACEOF
37488 #define HAVE__LDEXPF 1
37489 _ACEOF
37492 done
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37502 $as_echo_n "checking for logf declaration... " >&6; }
37503 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37504 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37505 $as_echo_n "(cached) " >&6
37506 else
37509 ac_ext=cpp
37510 ac_cpp='$CXXCPP $CPPFLAGS'
37511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37516 /* end confdefs.h. */
37517 #include <math.h>
37518 #ifdef HAVE_IEEEFP_H
37519 #include <ieeefp.h>
37520 #endif
37523 main ()
37525 logf(0);
37527 return 0;
37529 _ACEOF
37530 if ac_fn_cxx_try_compile "$LINENO"; then :
37531 glibcxx_cv_func_logf_use=yes
37532 else
37533 glibcxx_cv_func_logf_use=no
37535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37536 ac_ext=c
37537 ac_cpp='$CPP $CPPFLAGS'
37538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37547 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37549 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37550 for ac_func in logf
37551 do :
37552 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37553 if test "x$ac_cv_func_logf" = x""yes; then :
37554 cat >>confdefs.h <<_ACEOF
37555 #define HAVE_LOGF 1
37556 _ACEOF
37559 done
37561 else
37563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37564 $as_echo_n "checking for _logf declaration... " >&6; }
37565 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37566 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37567 $as_echo_n "(cached) " >&6
37568 else
37571 ac_ext=cpp
37572 ac_cpp='$CXXCPP $CPPFLAGS'
37573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37578 /* end confdefs.h. */
37579 #include <math.h>
37580 #ifdef HAVE_IEEEFP_H
37581 #include <ieeefp.h>
37582 #endif
37585 main ()
37587 _logf(0);
37589 return 0;
37591 _ACEOF
37592 if ac_fn_cxx_try_compile "$LINENO"; then :
37593 glibcxx_cv_func__logf_use=yes
37594 else
37595 glibcxx_cv_func__logf_use=no
37597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37598 ac_ext=c
37599 ac_cpp='$CPP $CPPFLAGS'
37600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37609 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37611 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37612 for ac_func in _logf
37613 do :
37614 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37615 if test "x$ac_cv_func__logf" = x""yes; then :
37616 cat >>confdefs.h <<_ACEOF
37617 #define HAVE__LOGF 1
37618 _ACEOF
37621 done
37630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37631 $as_echo_n "checking for log10f declaration... " >&6; }
37632 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37633 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37634 $as_echo_n "(cached) " >&6
37635 else
37638 ac_ext=cpp
37639 ac_cpp='$CXXCPP $CPPFLAGS'
37640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37645 /* end confdefs.h. */
37646 #include <math.h>
37647 #ifdef HAVE_IEEEFP_H
37648 #include <ieeefp.h>
37649 #endif
37652 main ()
37654 log10f(0);
37656 return 0;
37658 _ACEOF
37659 if ac_fn_cxx_try_compile "$LINENO"; then :
37660 glibcxx_cv_func_log10f_use=yes
37661 else
37662 glibcxx_cv_func_log10f_use=no
37664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37665 ac_ext=c
37666 ac_cpp='$CPP $CPPFLAGS'
37667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37676 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37678 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37679 for ac_func in log10f
37680 do :
37681 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37682 if test "x$ac_cv_func_log10f" = x""yes; then :
37683 cat >>confdefs.h <<_ACEOF
37684 #define HAVE_LOG10F 1
37685 _ACEOF
37688 done
37690 else
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37693 $as_echo_n "checking for _log10f declaration... " >&6; }
37694 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37695 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37696 $as_echo_n "(cached) " >&6
37697 else
37700 ac_ext=cpp
37701 ac_cpp='$CXXCPP $CPPFLAGS'
37702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37707 /* end confdefs.h. */
37708 #include <math.h>
37709 #ifdef HAVE_IEEEFP_H
37710 #include <ieeefp.h>
37711 #endif
37714 main ()
37716 _log10f(0);
37718 return 0;
37720 _ACEOF
37721 if ac_fn_cxx_try_compile "$LINENO"; then :
37722 glibcxx_cv_func__log10f_use=yes
37723 else
37724 glibcxx_cv_func__log10f_use=no
37726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37727 ac_ext=c
37728 ac_cpp='$CPP $CPPFLAGS'
37729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37738 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37740 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37741 for ac_func in _log10f
37742 do :
37743 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37744 if test "x$ac_cv_func__log10f" = x""yes; then :
37745 cat >>confdefs.h <<_ACEOF
37746 #define HAVE__LOG10F 1
37747 _ACEOF
37750 done
37759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37760 $as_echo_n "checking for modff declaration... " >&6; }
37761 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37762 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37763 $as_echo_n "(cached) " >&6
37764 else
37767 ac_ext=cpp
37768 ac_cpp='$CXXCPP $CPPFLAGS'
37769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37774 /* end confdefs.h. */
37775 #include <math.h>
37777 main ()
37779 modff(0, 0);
37781 return 0;
37783 _ACEOF
37784 if ac_fn_cxx_try_compile "$LINENO"; then :
37785 glibcxx_cv_func_modff_use=yes
37786 else
37787 glibcxx_cv_func_modff_use=no
37789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37790 ac_ext=c
37791 ac_cpp='$CPP $CPPFLAGS'
37792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37801 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37803 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37804 for ac_func in modff
37805 do :
37806 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37807 if test "x$ac_cv_func_modff" = x""yes; then :
37808 cat >>confdefs.h <<_ACEOF
37809 #define HAVE_MODFF 1
37810 _ACEOF
37813 done
37815 else
37817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37818 $as_echo_n "checking for _modff declaration... " >&6; }
37819 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37820 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37821 $as_echo_n "(cached) " >&6
37822 else
37825 ac_ext=cpp
37826 ac_cpp='$CXXCPP $CPPFLAGS'
37827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37832 /* end confdefs.h. */
37833 #include <math.h>
37835 main ()
37837 _modff(0, 0);
37839 return 0;
37841 _ACEOF
37842 if ac_fn_cxx_try_compile "$LINENO"; then :
37843 glibcxx_cv_func__modff_use=yes
37844 else
37845 glibcxx_cv_func__modff_use=no
37847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37848 ac_ext=c
37849 ac_cpp='$CPP $CPPFLAGS'
37850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37859 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37861 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37862 for ac_func in _modff
37863 do :
37864 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37865 if test "x$ac_cv_func__modff" = x""yes; then :
37866 cat >>confdefs.h <<_ACEOF
37867 #define HAVE__MODFF 1
37868 _ACEOF
37871 done
37880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37881 $as_echo_n "checking for modf declaration... " >&6; }
37882 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37883 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37884 $as_echo_n "(cached) " >&6
37885 else
37888 ac_ext=cpp
37889 ac_cpp='$CXXCPP $CPPFLAGS'
37890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37895 /* end confdefs.h. */
37896 #include <math.h>
37898 main ()
37900 modf(0, 0);
37902 return 0;
37904 _ACEOF
37905 if ac_fn_cxx_try_compile "$LINENO"; then :
37906 glibcxx_cv_func_modf_use=yes
37907 else
37908 glibcxx_cv_func_modf_use=no
37910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37911 ac_ext=c
37912 ac_cpp='$CPP $CPPFLAGS'
37913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37922 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37924 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37925 for ac_func in modf
37926 do :
37927 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37928 if test "x$ac_cv_func_modf" = x""yes; then :
37929 cat >>confdefs.h <<_ACEOF
37930 #define HAVE_MODF 1
37931 _ACEOF
37934 done
37936 else
37938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37939 $as_echo_n "checking for _modf declaration... " >&6; }
37940 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37941 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37942 $as_echo_n "(cached) " >&6
37943 else
37946 ac_ext=cpp
37947 ac_cpp='$CXXCPP $CPPFLAGS'
37948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37953 /* end confdefs.h. */
37954 #include <math.h>
37956 main ()
37958 _modf(0, 0);
37960 return 0;
37962 _ACEOF
37963 if ac_fn_cxx_try_compile "$LINENO"; then :
37964 glibcxx_cv_func__modf_use=yes
37965 else
37966 glibcxx_cv_func__modf_use=no
37968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37969 ac_ext=c
37970 ac_cpp='$CPP $CPPFLAGS'
37971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37980 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37982 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37983 for ac_func in _modf
37984 do :
37985 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37986 if test "x$ac_cv_func__modf" = x""yes; then :
37987 cat >>confdefs.h <<_ACEOF
37988 #define HAVE__MODF 1
37989 _ACEOF
37992 done
38001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38002 $as_echo_n "checking for powf declaration... " >&6; }
38003 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38004 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38005 $as_echo_n "(cached) " >&6
38006 else
38009 ac_ext=cpp
38010 ac_cpp='$CXXCPP $CPPFLAGS'
38011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38016 /* end confdefs.h. */
38017 #include <math.h>
38019 main ()
38021 powf(0, 0);
38023 return 0;
38025 _ACEOF
38026 if ac_fn_cxx_try_compile "$LINENO"; then :
38027 glibcxx_cv_func_powf_use=yes
38028 else
38029 glibcxx_cv_func_powf_use=no
38031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38032 ac_ext=c
38033 ac_cpp='$CPP $CPPFLAGS'
38034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38043 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38045 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38046 for ac_func in powf
38047 do :
38048 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38049 if test "x$ac_cv_func_powf" = x""yes; then :
38050 cat >>confdefs.h <<_ACEOF
38051 #define HAVE_POWF 1
38052 _ACEOF
38055 done
38057 else
38059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38060 $as_echo_n "checking for _powf declaration... " >&6; }
38061 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38062 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38063 $as_echo_n "(cached) " >&6
38064 else
38067 ac_ext=cpp
38068 ac_cpp='$CXXCPP $CPPFLAGS'
38069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38074 /* end confdefs.h. */
38075 #include <math.h>
38077 main ()
38079 _powf(0, 0);
38081 return 0;
38083 _ACEOF
38084 if ac_fn_cxx_try_compile "$LINENO"; then :
38085 glibcxx_cv_func__powf_use=yes
38086 else
38087 glibcxx_cv_func__powf_use=no
38089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38090 ac_ext=c
38091 ac_cpp='$CPP $CPPFLAGS'
38092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38101 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38103 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38104 for ac_func in _powf
38105 do :
38106 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38107 if test "x$ac_cv_func__powf" = x""yes; then :
38108 cat >>confdefs.h <<_ACEOF
38109 #define HAVE__POWF 1
38110 _ACEOF
38113 done
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38123 $as_echo_n "checking for sqrtf declaration... " >&6; }
38124 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38125 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38126 $as_echo_n "(cached) " >&6
38127 else
38130 ac_ext=cpp
38131 ac_cpp='$CXXCPP $CPPFLAGS'
38132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38137 /* end confdefs.h. */
38138 #include <math.h>
38139 #ifdef HAVE_IEEEFP_H
38140 #include <ieeefp.h>
38141 #endif
38144 main ()
38146 sqrtf(0);
38148 return 0;
38150 _ACEOF
38151 if ac_fn_cxx_try_compile "$LINENO"; then :
38152 glibcxx_cv_func_sqrtf_use=yes
38153 else
38154 glibcxx_cv_func_sqrtf_use=no
38156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38157 ac_ext=c
38158 ac_cpp='$CPP $CPPFLAGS'
38159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38168 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38170 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38171 for ac_func in sqrtf
38172 do :
38173 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38174 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38175 cat >>confdefs.h <<_ACEOF
38176 #define HAVE_SQRTF 1
38177 _ACEOF
38180 done
38182 else
38184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38185 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38186 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38187 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38188 $as_echo_n "(cached) " >&6
38189 else
38192 ac_ext=cpp
38193 ac_cpp='$CXXCPP $CPPFLAGS'
38194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38199 /* end confdefs.h. */
38200 #include <math.h>
38201 #ifdef HAVE_IEEEFP_H
38202 #include <ieeefp.h>
38203 #endif
38206 main ()
38208 _sqrtf(0);
38210 return 0;
38212 _ACEOF
38213 if ac_fn_cxx_try_compile "$LINENO"; then :
38214 glibcxx_cv_func__sqrtf_use=yes
38215 else
38216 glibcxx_cv_func__sqrtf_use=no
38218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38219 ac_ext=c
38220 ac_cpp='$CPP $CPPFLAGS'
38221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38230 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38232 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38233 for ac_func in _sqrtf
38234 do :
38235 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38236 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38237 cat >>confdefs.h <<_ACEOF
38238 #define HAVE__SQRTF 1
38239 _ACEOF
38242 done
38251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38252 $as_echo_n "checking for sincosf declaration... " >&6; }
38253 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38254 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38255 $as_echo_n "(cached) " >&6
38256 else
38259 ac_ext=cpp
38260 ac_cpp='$CXXCPP $CPPFLAGS'
38261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38266 /* end confdefs.h. */
38267 #include <math.h>
38269 main ()
38271 sincosf(0, 0, 0);
38273 return 0;
38275 _ACEOF
38276 if ac_fn_cxx_try_compile "$LINENO"; then :
38277 glibcxx_cv_func_sincosf_use=yes
38278 else
38279 glibcxx_cv_func_sincosf_use=no
38281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38282 ac_ext=c
38283 ac_cpp='$CPP $CPPFLAGS'
38284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38293 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38295 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38296 for ac_func in sincosf
38297 do :
38298 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38299 if test "x$ac_cv_func_sincosf" = x""yes; then :
38300 cat >>confdefs.h <<_ACEOF
38301 #define HAVE_SINCOSF 1
38302 _ACEOF
38305 done
38307 else
38309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38310 $as_echo_n "checking for _sincosf declaration... " >&6; }
38311 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38312 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38313 $as_echo_n "(cached) " >&6
38314 else
38317 ac_ext=cpp
38318 ac_cpp='$CXXCPP $CPPFLAGS'
38319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38324 /* end confdefs.h. */
38325 #include <math.h>
38327 main ()
38329 _sincosf(0, 0, 0);
38331 return 0;
38333 _ACEOF
38334 if ac_fn_cxx_try_compile "$LINENO"; then :
38335 glibcxx_cv_func__sincosf_use=yes
38336 else
38337 glibcxx_cv_func__sincosf_use=no
38339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38340 ac_ext=c
38341 ac_cpp='$CPP $CPPFLAGS'
38342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38351 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38353 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38354 for ac_func in _sincosf
38355 do :
38356 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38357 if test "x$ac_cv_func__sincosf" = x""yes; then :
38358 cat >>confdefs.h <<_ACEOF
38359 #define HAVE__SINCOSF 1
38360 _ACEOF
38363 done
38372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38373 $as_echo_n "checking for finitef declaration... " >&6; }
38374 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38375 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38376 $as_echo_n "(cached) " >&6
38377 else
38380 ac_ext=cpp
38381 ac_cpp='$CXXCPP $CPPFLAGS'
38382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38387 /* end confdefs.h. */
38388 #include <math.h>
38389 #ifdef HAVE_IEEEFP_H
38390 #include <ieeefp.h>
38391 #endif
38394 main ()
38396 finitef(0);
38398 return 0;
38400 _ACEOF
38401 if ac_fn_cxx_try_compile "$LINENO"; then :
38402 glibcxx_cv_func_finitef_use=yes
38403 else
38404 glibcxx_cv_func_finitef_use=no
38406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38407 ac_ext=c
38408 ac_cpp='$CPP $CPPFLAGS'
38409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38418 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38420 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38421 for ac_func in finitef
38422 do :
38423 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38424 if test "x$ac_cv_func_finitef" = x""yes; then :
38425 cat >>confdefs.h <<_ACEOF
38426 #define HAVE_FINITEF 1
38427 _ACEOF
38430 done
38432 else
38434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38435 $as_echo_n "checking for _finitef declaration... " >&6; }
38436 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38437 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38438 $as_echo_n "(cached) " >&6
38439 else
38442 ac_ext=cpp
38443 ac_cpp='$CXXCPP $CPPFLAGS'
38444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38449 /* end confdefs.h. */
38450 #include <math.h>
38451 #ifdef HAVE_IEEEFP_H
38452 #include <ieeefp.h>
38453 #endif
38456 main ()
38458 _finitef(0);
38460 return 0;
38462 _ACEOF
38463 if ac_fn_cxx_try_compile "$LINENO"; then :
38464 glibcxx_cv_func__finitef_use=yes
38465 else
38466 glibcxx_cv_func__finitef_use=no
38468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38469 ac_ext=c
38470 ac_cpp='$CPP $CPPFLAGS'
38471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38480 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38482 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38483 for ac_func in _finitef
38484 do :
38485 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38486 if test "x$ac_cv_func__finitef" = x""yes; then :
38487 cat >>confdefs.h <<_ACEOF
38488 #define HAVE__FINITEF 1
38489 _ACEOF
38492 done
38501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38502 $as_echo_n "checking for long double trig functions... " >&6; }
38503 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38504 $as_echo_n "(cached) " >&6
38505 else
38508 ac_ext=cpp
38509 ac_cpp='$CXXCPP $CPPFLAGS'
38510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38515 /* end confdefs.h. */
38516 #include <math.h>
38518 main ()
38520 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38522 return 0;
38524 _ACEOF
38525 if ac_fn_cxx_try_compile "$LINENO"; then :
38526 glibcxx_cv_func_long_double_trig_use=yes
38527 else
38528 glibcxx_cv_func_long_double_trig_use=no
38530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38531 ac_ext=c
38532 ac_cpp='$CPP $CPPFLAGS'
38533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38540 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38541 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38542 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38543 do :
38544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38546 eval as_val=\$$as_ac_var
38547 if test "x$as_val" = x""yes; then :
38548 cat >>confdefs.h <<_ACEOF
38549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38550 _ACEOF
38553 done
38555 else
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38557 $as_echo_n "checking for _long double trig functions... " >&6; }
38558 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38559 $as_echo_n "(cached) " >&6
38560 else
38563 ac_ext=cpp
38564 ac_cpp='$CXXCPP $CPPFLAGS'
38565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38570 /* end confdefs.h. */
38571 #include <math.h>
38573 main ()
38575 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38577 return 0;
38579 _ACEOF
38580 if ac_fn_cxx_try_compile "$LINENO"; then :
38581 glibcxx_cv_func__long_double_trig_use=yes
38582 else
38583 glibcxx_cv_func__long_double_trig_use=no
38585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38586 ac_ext=c
38587 ac_cpp='$CPP $CPPFLAGS'
38588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38595 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38596 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38597 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38598 do :
38599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38601 eval as_val=\$$as_ac_var
38602 if test "x$as_val" = x""yes; then :
38603 cat >>confdefs.h <<_ACEOF
38604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38605 _ACEOF
38608 done
38617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38618 $as_echo_n "checking for long double round functions... " >&6; }
38619 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38620 $as_echo_n "(cached) " >&6
38621 else
38624 ac_ext=cpp
38625 ac_cpp='$CXXCPP $CPPFLAGS'
38626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38631 /* end confdefs.h. */
38632 #include <math.h>
38634 main ()
38636 ceill (0); floorl (0);
38638 return 0;
38640 _ACEOF
38641 if ac_fn_cxx_try_compile "$LINENO"; then :
38642 glibcxx_cv_func_long_double_round_use=yes
38643 else
38644 glibcxx_cv_func_long_double_round_use=no
38646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38647 ac_ext=c
38648 ac_cpp='$CPP $CPPFLAGS'
38649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38656 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38657 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38658 for ac_func in ceill floorl
38659 do :
38660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38662 eval as_val=\$$as_ac_var
38663 if test "x$as_val" = x""yes; then :
38664 cat >>confdefs.h <<_ACEOF
38665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38666 _ACEOF
38669 done
38671 else
38672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38673 $as_echo_n "checking for _long double round functions... " >&6; }
38674 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38675 $as_echo_n "(cached) " >&6
38676 else
38679 ac_ext=cpp
38680 ac_cpp='$CXXCPP $CPPFLAGS'
38681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38686 /* end confdefs.h. */
38687 #include <math.h>
38689 main ()
38691 _ceill (0); _floorl (0);
38693 return 0;
38695 _ACEOF
38696 if ac_fn_cxx_try_compile "$LINENO"; then :
38697 glibcxx_cv_func__long_double_round_use=yes
38698 else
38699 glibcxx_cv_func__long_double_round_use=no
38701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38702 ac_ext=c
38703 ac_cpp='$CPP $CPPFLAGS'
38704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38711 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38712 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38713 for ac_func in _ceill _floorl
38714 do :
38715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38717 eval as_val=\$$as_ac_var
38718 if test "x$as_val" = x""yes; then :
38719 cat >>confdefs.h <<_ACEOF
38720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38721 _ACEOF
38724 done
38734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38735 $as_echo_n "checking for isnanl declaration... " >&6; }
38736 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38737 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38738 $as_echo_n "(cached) " >&6
38739 else
38742 ac_ext=cpp
38743 ac_cpp='$CXXCPP $CPPFLAGS'
38744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38749 /* end confdefs.h. */
38750 #include <math.h>
38751 #ifdef HAVE_IEEEFP_H
38752 #include <ieeefp.h>
38753 #endif
38756 main ()
38758 isnanl(0);
38760 return 0;
38762 _ACEOF
38763 if ac_fn_cxx_try_compile "$LINENO"; then :
38764 glibcxx_cv_func_isnanl_use=yes
38765 else
38766 glibcxx_cv_func_isnanl_use=no
38768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38769 ac_ext=c
38770 ac_cpp='$CPP $CPPFLAGS'
38771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38780 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38782 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38783 for ac_func in isnanl
38784 do :
38785 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38786 if test "x$ac_cv_func_isnanl" = x""yes; then :
38787 cat >>confdefs.h <<_ACEOF
38788 #define HAVE_ISNANL 1
38789 _ACEOF
38792 done
38794 else
38796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38797 $as_echo_n "checking for _isnanl declaration... " >&6; }
38798 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38799 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38800 $as_echo_n "(cached) " >&6
38801 else
38804 ac_ext=cpp
38805 ac_cpp='$CXXCPP $CPPFLAGS'
38806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38811 /* end confdefs.h. */
38812 #include <math.h>
38813 #ifdef HAVE_IEEEFP_H
38814 #include <ieeefp.h>
38815 #endif
38818 main ()
38820 _isnanl(0);
38822 return 0;
38824 _ACEOF
38825 if ac_fn_cxx_try_compile "$LINENO"; then :
38826 glibcxx_cv_func__isnanl_use=yes
38827 else
38828 glibcxx_cv_func__isnanl_use=no
38830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38831 ac_ext=c
38832 ac_cpp='$CPP $CPPFLAGS'
38833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38842 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38844 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38845 for ac_func in _isnanl
38846 do :
38847 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38848 if test "x$ac_cv_func__isnanl" = x""yes; then :
38849 cat >>confdefs.h <<_ACEOF
38850 #define HAVE__ISNANL 1
38851 _ACEOF
38854 done
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38864 $as_echo_n "checking for isinfl declaration... " >&6; }
38865 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38866 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38867 $as_echo_n "(cached) " >&6
38868 else
38871 ac_ext=cpp
38872 ac_cpp='$CXXCPP $CPPFLAGS'
38873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38878 /* end confdefs.h. */
38879 #include <math.h>
38880 #ifdef HAVE_IEEEFP_H
38881 #include <ieeefp.h>
38882 #endif
38885 main ()
38887 isinfl(0);
38889 return 0;
38891 _ACEOF
38892 if ac_fn_cxx_try_compile "$LINENO"; then :
38893 glibcxx_cv_func_isinfl_use=yes
38894 else
38895 glibcxx_cv_func_isinfl_use=no
38897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38898 ac_ext=c
38899 ac_cpp='$CPP $CPPFLAGS'
38900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38909 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38911 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38912 for ac_func in isinfl
38913 do :
38914 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38915 if test "x$ac_cv_func_isinfl" = x""yes; then :
38916 cat >>confdefs.h <<_ACEOF
38917 #define HAVE_ISINFL 1
38918 _ACEOF
38921 done
38923 else
38925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38926 $as_echo_n "checking for _isinfl declaration... " >&6; }
38927 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38928 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38929 $as_echo_n "(cached) " >&6
38930 else
38933 ac_ext=cpp
38934 ac_cpp='$CXXCPP $CPPFLAGS'
38935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38940 /* end confdefs.h. */
38941 #include <math.h>
38942 #ifdef HAVE_IEEEFP_H
38943 #include <ieeefp.h>
38944 #endif
38947 main ()
38949 _isinfl(0);
38951 return 0;
38953 _ACEOF
38954 if ac_fn_cxx_try_compile "$LINENO"; then :
38955 glibcxx_cv_func__isinfl_use=yes
38956 else
38957 glibcxx_cv_func__isinfl_use=no
38959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38960 ac_ext=c
38961 ac_cpp='$CPP $CPPFLAGS'
38962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38971 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38973 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38974 for ac_func in _isinfl
38975 do :
38976 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38977 if test "x$ac_cv_func__isinfl" = x""yes; then :
38978 cat >>confdefs.h <<_ACEOF
38979 #define HAVE__ISINFL 1
38980 _ACEOF
38983 done
38992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38993 $as_echo_n "checking for atan2l declaration... " >&6; }
38994 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38995 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38996 $as_echo_n "(cached) " >&6
38997 else
39000 ac_ext=cpp
39001 ac_cpp='$CXXCPP $CPPFLAGS'
39002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39007 /* end confdefs.h. */
39008 #include <math.h>
39010 main ()
39012 atan2l(0, 0);
39014 return 0;
39016 _ACEOF
39017 if ac_fn_cxx_try_compile "$LINENO"; then :
39018 glibcxx_cv_func_atan2l_use=yes
39019 else
39020 glibcxx_cv_func_atan2l_use=no
39022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39023 ac_ext=c
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39034 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39036 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39037 for ac_func in atan2l
39038 do :
39039 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39040 if test "x$ac_cv_func_atan2l" = x""yes; then :
39041 cat >>confdefs.h <<_ACEOF
39042 #define HAVE_ATAN2L 1
39043 _ACEOF
39046 done
39048 else
39050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39051 $as_echo_n "checking for _atan2l declaration... " >&6; }
39052 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39053 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39054 $as_echo_n "(cached) " >&6
39055 else
39058 ac_ext=cpp
39059 ac_cpp='$CXXCPP $CPPFLAGS'
39060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39065 /* end confdefs.h. */
39066 #include <math.h>
39068 main ()
39070 _atan2l(0, 0);
39072 return 0;
39074 _ACEOF
39075 if ac_fn_cxx_try_compile "$LINENO"; then :
39076 glibcxx_cv_func__atan2l_use=yes
39077 else
39078 glibcxx_cv_func__atan2l_use=no
39080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39081 ac_ext=c
39082 ac_cpp='$CPP $CPPFLAGS'
39083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39092 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39094 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39095 for ac_func in _atan2l
39096 do :
39097 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39098 if test "x$ac_cv_func__atan2l" = x""yes; then :
39099 cat >>confdefs.h <<_ACEOF
39100 #define HAVE__ATAN2L 1
39101 _ACEOF
39104 done
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39114 $as_echo_n "checking for expl declaration... " >&6; }
39115 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39116 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39117 $as_echo_n "(cached) " >&6
39118 else
39121 ac_ext=cpp
39122 ac_cpp='$CXXCPP $CPPFLAGS'
39123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39128 /* end confdefs.h. */
39129 #include <math.h>
39130 #ifdef HAVE_IEEEFP_H
39131 #include <ieeefp.h>
39132 #endif
39135 main ()
39137 expl(0);
39139 return 0;
39141 _ACEOF
39142 if ac_fn_cxx_try_compile "$LINENO"; then :
39143 glibcxx_cv_func_expl_use=yes
39144 else
39145 glibcxx_cv_func_expl_use=no
39147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39148 ac_ext=c
39149 ac_cpp='$CPP $CPPFLAGS'
39150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39159 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39161 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39162 for ac_func in expl
39163 do :
39164 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39165 if test "x$ac_cv_func_expl" = x""yes; then :
39166 cat >>confdefs.h <<_ACEOF
39167 #define HAVE_EXPL 1
39168 _ACEOF
39171 done
39173 else
39175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39176 $as_echo_n "checking for _expl declaration... " >&6; }
39177 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39178 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39179 $as_echo_n "(cached) " >&6
39180 else
39183 ac_ext=cpp
39184 ac_cpp='$CXXCPP $CPPFLAGS'
39185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39190 /* end confdefs.h. */
39191 #include <math.h>
39192 #ifdef HAVE_IEEEFP_H
39193 #include <ieeefp.h>
39194 #endif
39197 main ()
39199 _expl(0);
39201 return 0;
39203 _ACEOF
39204 if ac_fn_cxx_try_compile "$LINENO"; then :
39205 glibcxx_cv_func__expl_use=yes
39206 else
39207 glibcxx_cv_func__expl_use=no
39209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39210 ac_ext=c
39211 ac_cpp='$CPP $CPPFLAGS'
39212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39221 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39223 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39224 for ac_func in _expl
39225 do :
39226 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39227 if test "x$ac_cv_func__expl" = x""yes; then :
39228 cat >>confdefs.h <<_ACEOF
39229 #define HAVE__EXPL 1
39230 _ACEOF
39233 done
39242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39243 $as_echo_n "checking for fabsl declaration... " >&6; }
39244 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39245 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39246 $as_echo_n "(cached) " >&6
39247 else
39250 ac_ext=cpp
39251 ac_cpp='$CXXCPP $CPPFLAGS'
39252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39257 /* end confdefs.h. */
39258 #include <math.h>
39259 #ifdef HAVE_IEEEFP_H
39260 #include <ieeefp.h>
39261 #endif
39264 main ()
39266 fabsl(0);
39268 return 0;
39270 _ACEOF
39271 if ac_fn_cxx_try_compile "$LINENO"; then :
39272 glibcxx_cv_func_fabsl_use=yes
39273 else
39274 glibcxx_cv_func_fabsl_use=no
39276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39277 ac_ext=c
39278 ac_cpp='$CPP $CPPFLAGS'
39279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39288 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39290 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39291 for ac_func in fabsl
39292 do :
39293 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39294 if test "x$ac_cv_func_fabsl" = x""yes; then :
39295 cat >>confdefs.h <<_ACEOF
39296 #define HAVE_FABSL 1
39297 _ACEOF
39300 done
39302 else
39304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39305 $as_echo_n "checking for _fabsl declaration... " >&6; }
39306 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39307 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39308 $as_echo_n "(cached) " >&6
39309 else
39312 ac_ext=cpp
39313 ac_cpp='$CXXCPP $CPPFLAGS'
39314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39319 /* end confdefs.h. */
39320 #include <math.h>
39321 #ifdef HAVE_IEEEFP_H
39322 #include <ieeefp.h>
39323 #endif
39326 main ()
39328 _fabsl(0);
39330 return 0;
39332 _ACEOF
39333 if ac_fn_cxx_try_compile "$LINENO"; then :
39334 glibcxx_cv_func__fabsl_use=yes
39335 else
39336 glibcxx_cv_func__fabsl_use=no
39338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39339 ac_ext=c
39340 ac_cpp='$CPP $CPPFLAGS'
39341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39350 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39352 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39353 for ac_func in _fabsl
39354 do :
39355 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39356 if test "x$ac_cv_func__fabsl" = x""yes; then :
39357 cat >>confdefs.h <<_ACEOF
39358 #define HAVE__FABSL 1
39359 _ACEOF
39362 done
39371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39372 $as_echo_n "checking for fmodl declaration... " >&6; }
39373 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39374 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39375 $as_echo_n "(cached) " >&6
39376 else
39379 ac_ext=cpp
39380 ac_cpp='$CXXCPP $CPPFLAGS'
39381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39386 /* end confdefs.h. */
39387 #include <math.h>
39389 main ()
39391 fmodl(0, 0);
39393 return 0;
39395 _ACEOF
39396 if ac_fn_cxx_try_compile "$LINENO"; then :
39397 glibcxx_cv_func_fmodl_use=yes
39398 else
39399 glibcxx_cv_func_fmodl_use=no
39401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39402 ac_ext=c
39403 ac_cpp='$CPP $CPPFLAGS'
39404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39413 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39415 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39416 for ac_func in fmodl
39417 do :
39418 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39419 if test "x$ac_cv_func_fmodl" = x""yes; then :
39420 cat >>confdefs.h <<_ACEOF
39421 #define HAVE_FMODL 1
39422 _ACEOF
39425 done
39427 else
39429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39430 $as_echo_n "checking for _fmodl declaration... " >&6; }
39431 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39432 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39433 $as_echo_n "(cached) " >&6
39434 else
39437 ac_ext=cpp
39438 ac_cpp='$CXXCPP $CPPFLAGS'
39439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39444 /* end confdefs.h. */
39445 #include <math.h>
39447 main ()
39449 _fmodl(0, 0);
39451 return 0;
39453 _ACEOF
39454 if ac_fn_cxx_try_compile "$LINENO"; then :
39455 glibcxx_cv_func__fmodl_use=yes
39456 else
39457 glibcxx_cv_func__fmodl_use=no
39459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39460 ac_ext=c
39461 ac_cpp='$CPP $CPPFLAGS'
39462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39471 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39473 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39474 for ac_func in _fmodl
39475 do :
39476 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39477 if test "x$ac_cv_func__fmodl" = x""yes; then :
39478 cat >>confdefs.h <<_ACEOF
39479 #define HAVE__FMODL 1
39480 _ACEOF
39483 done
39492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39493 $as_echo_n "checking for frexpl declaration... " >&6; }
39494 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39495 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39496 $as_echo_n "(cached) " >&6
39497 else
39500 ac_ext=cpp
39501 ac_cpp='$CXXCPP $CPPFLAGS'
39502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39507 /* end confdefs.h. */
39508 #include <math.h>
39510 main ()
39512 frexpl(0, 0);
39514 return 0;
39516 _ACEOF
39517 if ac_fn_cxx_try_compile "$LINENO"; then :
39518 glibcxx_cv_func_frexpl_use=yes
39519 else
39520 glibcxx_cv_func_frexpl_use=no
39522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39523 ac_ext=c
39524 ac_cpp='$CPP $CPPFLAGS'
39525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39534 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39536 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39537 for ac_func in frexpl
39538 do :
39539 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39540 if test "x$ac_cv_func_frexpl" = x""yes; then :
39541 cat >>confdefs.h <<_ACEOF
39542 #define HAVE_FREXPL 1
39543 _ACEOF
39546 done
39548 else
39550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39551 $as_echo_n "checking for _frexpl declaration... " >&6; }
39552 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39553 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39554 $as_echo_n "(cached) " >&6
39555 else
39558 ac_ext=cpp
39559 ac_cpp='$CXXCPP $CPPFLAGS'
39560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39565 /* end confdefs.h. */
39566 #include <math.h>
39568 main ()
39570 _frexpl(0, 0);
39572 return 0;
39574 _ACEOF
39575 if ac_fn_cxx_try_compile "$LINENO"; then :
39576 glibcxx_cv_func__frexpl_use=yes
39577 else
39578 glibcxx_cv_func__frexpl_use=no
39580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39581 ac_ext=c
39582 ac_cpp='$CPP $CPPFLAGS'
39583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39592 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39594 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39595 for ac_func in _frexpl
39596 do :
39597 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39598 if test "x$ac_cv_func__frexpl" = x""yes; then :
39599 cat >>confdefs.h <<_ACEOF
39600 #define HAVE__FREXPL 1
39601 _ACEOF
39604 done
39613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39614 $as_echo_n "checking for hypotl declaration... " >&6; }
39615 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39616 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39617 $as_echo_n "(cached) " >&6
39618 else
39621 ac_ext=cpp
39622 ac_cpp='$CXXCPP $CPPFLAGS'
39623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39628 /* end confdefs.h. */
39629 #include <math.h>
39631 main ()
39633 hypotl(0, 0);
39635 return 0;
39637 _ACEOF
39638 if ac_fn_cxx_try_compile "$LINENO"; then :
39639 glibcxx_cv_func_hypotl_use=yes
39640 else
39641 glibcxx_cv_func_hypotl_use=no
39643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39644 ac_ext=c
39645 ac_cpp='$CPP $CPPFLAGS'
39646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39655 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39657 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39658 for ac_func in hypotl
39659 do :
39660 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39661 if test "x$ac_cv_func_hypotl" = x""yes; then :
39662 cat >>confdefs.h <<_ACEOF
39663 #define HAVE_HYPOTL 1
39664 _ACEOF
39667 done
39669 else
39671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39672 $as_echo_n "checking for _hypotl declaration... " >&6; }
39673 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39674 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39675 $as_echo_n "(cached) " >&6
39676 else
39679 ac_ext=cpp
39680 ac_cpp='$CXXCPP $CPPFLAGS'
39681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39686 /* end confdefs.h. */
39687 #include <math.h>
39689 main ()
39691 _hypotl(0, 0);
39693 return 0;
39695 _ACEOF
39696 if ac_fn_cxx_try_compile "$LINENO"; then :
39697 glibcxx_cv_func__hypotl_use=yes
39698 else
39699 glibcxx_cv_func__hypotl_use=no
39701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39702 ac_ext=c
39703 ac_cpp='$CPP $CPPFLAGS'
39704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39713 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39715 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39716 for ac_func in _hypotl
39717 do :
39718 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39719 if test "x$ac_cv_func__hypotl" = x""yes; then :
39720 cat >>confdefs.h <<_ACEOF
39721 #define HAVE__HYPOTL 1
39722 _ACEOF
39725 done
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39735 $as_echo_n "checking for ldexpl declaration... " >&6; }
39736 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39737 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39738 $as_echo_n "(cached) " >&6
39739 else
39742 ac_ext=cpp
39743 ac_cpp='$CXXCPP $CPPFLAGS'
39744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39749 /* end confdefs.h. */
39750 #include <math.h>
39752 main ()
39754 ldexpl(0, 0);
39756 return 0;
39758 _ACEOF
39759 if ac_fn_cxx_try_compile "$LINENO"; then :
39760 glibcxx_cv_func_ldexpl_use=yes
39761 else
39762 glibcxx_cv_func_ldexpl_use=no
39764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39765 ac_ext=c
39766 ac_cpp='$CPP $CPPFLAGS'
39767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39776 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39778 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39779 for ac_func in ldexpl
39780 do :
39781 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39782 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39783 cat >>confdefs.h <<_ACEOF
39784 #define HAVE_LDEXPL 1
39785 _ACEOF
39788 done
39790 else
39792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39793 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39794 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39795 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39796 $as_echo_n "(cached) " >&6
39797 else
39800 ac_ext=cpp
39801 ac_cpp='$CXXCPP $CPPFLAGS'
39802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39807 /* end confdefs.h. */
39808 #include <math.h>
39810 main ()
39812 _ldexpl(0, 0);
39814 return 0;
39816 _ACEOF
39817 if ac_fn_cxx_try_compile "$LINENO"; then :
39818 glibcxx_cv_func__ldexpl_use=yes
39819 else
39820 glibcxx_cv_func__ldexpl_use=no
39822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39823 ac_ext=c
39824 ac_cpp='$CPP $CPPFLAGS'
39825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39834 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39836 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39837 for ac_func in _ldexpl
39838 do :
39839 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39840 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39841 cat >>confdefs.h <<_ACEOF
39842 #define HAVE__LDEXPL 1
39843 _ACEOF
39846 done
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39856 $as_echo_n "checking for logl declaration... " >&6; }
39857 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39858 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39859 $as_echo_n "(cached) " >&6
39860 else
39863 ac_ext=cpp
39864 ac_cpp='$CXXCPP $CPPFLAGS'
39865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39870 /* end confdefs.h. */
39871 #include <math.h>
39872 #ifdef HAVE_IEEEFP_H
39873 #include <ieeefp.h>
39874 #endif
39877 main ()
39879 logl(0);
39881 return 0;
39883 _ACEOF
39884 if ac_fn_cxx_try_compile "$LINENO"; then :
39885 glibcxx_cv_func_logl_use=yes
39886 else
39887 glibcxx_cv_func_logl_use=no
39889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39890 ac_ext=c
39891 ac_cpp='$CPP $CPPFLAGS'
39892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39901 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39903 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39904 for ac_func in logl
39905 do :
39906 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39907 if test "x$ac_cv_func_logl" = x""yes; then :
39908 cat >>confdefs.h <<_ACEOF
39909 #define HAVE_LOGL 1
39910 _ACEOF
39913 done
39915 else
39917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39918 $as_echo_n "checking for _logl declaration... " >&6; }
39919 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39920 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39921 $as_echo_n "(cached) " >&6
39922 else
39925 ac_ext=cpp
39926 ac_cpp='$CXXCPP $CPPFLAGS'
39927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39932 /* end confdefs.h. */
39933 #include <math.h>
39934 #ifdef HAVE_IEEEFP_H
39935 #include <ieeefp.h>
39936 #endif
39939 main ()
39941 _logl(0);
39943 return 0;
39945 _ACEOF
39946 if ac_fn_cxx_try_compile "$LINENO"; then :
39947 glibcxx_cv_func__logl_use=yes
39948 else
39949 glibcxx_cv_func__logl_use=no
39951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39952 ac_ext=c
39953 ac_cpp='$CPP $CPPFLAGS'
39954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39963 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39965 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39966 for ac_func in _logl
39967 do :
39968 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39969 if test "x$ac_cv_func__logl" = x""yes; then :
39970 cat >>confdefs.h <<_ACEOF
39971 #define HAVE__LOGL 1
39972 _ACEOF
39975 done
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39985 $as_echo_n "checking for log10l declaration... " >&6; }
39986 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39987 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39988 $as_echo_n "(cached) " >&6
39989 else
39992 ac_ext=cpp
39993 ac_cpp='$CXXCPP $CPPFLAGS'
39994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39999 /* end confdefs.h. */
40000 #include <math.h>
40001 #ifdef HAVE_IEEEFP_H
40002 #include <ieeefp.h>
40003 #endif
40006 main ()
40008 log10l(0);
40010 return 0;
40012 _ACEOF
40013 if ac_fn_cxx_try_compile "$LINENO"; then :
40014 glibcxx_cv_func_log10l_use=yes
40015 else
40016 glibcxx_cv_func_log10l_use=no
40018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40019 ac_ext=c
40020 ac_cpp='$CPP $CPPFLAGS'
40021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40030 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40032 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40033 for ac_func in log10l
40034 do :
40035 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40036 if test "x$ac_cv_func_log10l" = x""yes; then :
40037 cat >>confdefs.h <<_ACEOF
40038 #define HAVE_LOG10L 1
40039 _ACEOF
40042 done
40044 else
40046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40047 $as_echo_n "checking for _log10l declaration... " >&6; }
40048 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40049 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40050 $as_echo_n "(cached) " >&6
40051 else
40054 ac_ext=cpp
40055 ac_cpp='$CXXCPP $CPPFLAGS'
40056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40061 /* end confdefs.h. */
40062 #include <math.h>
40063 #ifdef HAVE_IEEEFP_H
40064 #include <ieeefp.h>
40065 #endif
40068 main ()
40070 _log10l(0);
40072 return 0;
40074 _ACEOF
40075 if ac_fn_cxx_try_compile "$LINENO"; then :
40076 glibcxx_cv_func__log10l_use=yes
40077 else
40078 glibcxx_cv_func__log10l_use=no
40080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40081 ac_ext=c
40082 ac_cpp='$CPP $CPPFLAGS'
40083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40092 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40094 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40095 for ac_func in _log10l
40096 do :
40097 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40098 if test "x$ac_cv_func__log10l" = x""yes; then :
40099 cat >>confdefs.h <<_ACEOF
40100 #define HAVE__LOG10L 1
40101 _ACEOF
40104 done
40113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40114 $as_echo_n "checking for modfl declaration... " >&6; }
40115 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40116 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40117 $as_echo_n "(cached) " >&6
40118 else
40121 ac_ext=cpp
40122 ac_cpp='$CXXCPP $CPPFLAGS'
40123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40128 /* end confdefs.h. */
40129 #include <math.h>
40131 main ()
40133 modfl(0, 0);
40135 return 0;
40137 _ACEOF
40138 if ac_fn_cxx_try_compile "$LINENO"; then :
40139 glibcxx_cv_func_modfl_use=yes
40140 else
40141 glibcxx_cv_func_modfl_use=no
40143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40144 ac_ext=c
40145 ac_cpp='$CPP $CPPFLAGS'
40146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40155 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40157 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40158 for ac_func in modfl
40159 do :
40160 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40161 if test "x$ac_cv_func_modfl" = x""yes; then :
40162 cat >>confdefs.h <<_ACEOF
40163 #define HAVE_MODFL 1
40164 _ACEOF
40167 done
40169 else
40171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40172 $as_echo_n "checking for _modfl declaration... " >&6; }
40173 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40174 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40175 $as_echo_n "(cached) " >&6
40176 else
40179 ac_ext=cpp
40180 ac_cpp='$CXXCPP $CPPFLAGS'
40181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40186 /* end confdefs.h. */
40187 #include <math.h>
40189 main ()
40191 _modfl(0, 0);
40193 return 0;
40195 _ACEOF
40196 if ac_fn_cxx_try_compile "$LINENO"; then :
40197 glibcxx_cv_func__modfl_use=yes
40198 else
40199 glibcxx_cv_func__modfl_use=no
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40202 ac_ext=c
40203 ac_cpp='$CPP $CPPFLAGS'
40204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40213 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40215 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40216 for ac_func in _modfl
40217 do :
40218 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40219 if test "x$ac_cv_func__modfl" = x""yes; then :
40220 cat >>confdefs.h <<_ACEOF
40221 #define HAVE__MODFL 1
40222 _ACEOF
40225 done
40234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40235 $as_echo_n "checking for powl declaration... " >&6; }
40236 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40237 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40238 $as_echo_n "(cached) " >&6
40239 else
40242 ac_ext=cpp
40243 ac_cpp='$CXXCPP $CPPFLAGS'
40244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40249 /* end confdefs.h. */
40250 #include <math.h>
40252 main ()
40254 powl(0, 0);
40256 return 0;
40258 _ACEOF
40259 if ac_fn_cxx_try_compile "$LINENO"; then :
40260 glibcxx_cv_func_powl_use=yes
40261 else
40262 glibcxx_cv_func_powl_use=no
40264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40265 ac_ext=c
40266 ac_cpp='$CPP $CPPFLAGS'
40267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40276 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40278 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40279 for ac_func in powl
40280 do :
40281 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40282 if test "x$ac_cv_func_powl" = x""yes; then :
40283 cat >>confdefs.h <<_ACEOF
40284 #define HAVE_POWL 1
40285 _ACEOF
40288 done
40290 else
40292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40293 $as_echo_n "checking for _powl declaration... " >&6; }
40294 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40295 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40296 $as_echo_n "(cached) " >&6
40297 else
40300 ac_ext=cpp
40301 ac_cpp='$CXXCPP $CPPFLAGS'
40302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40307 /* end confdefs.h. */
40308 #include <math.h>
40310 main ()
40312 _powl(0, 0);
40314 return 0;
40316 _ACEOF
40317 if ac_fn_cxx_try_compile "$LINENO"; then :
40318 glibcxx_cv_func__powl_use=yes
40319 else
40320 glibcxx_cv_func__powl_use=no
40322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40323 ac_ext=c
40324 ac_cpp='$CPP $CPPFLAGS'
40325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40334 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40336 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40337 for ac_func in _powl
40338 do :
40339 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40340 if test "x$ac_cv_func__powl" = x""yes; then :
40341 cat >>confdefs.h <<_ACEOF
40342 #define HAVE__POWL 1
40343 _ACEOF
40346 done
40355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40356 $as_echo_n "checking for sqrtl declaration... " >&6; }
40357 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40358 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40359 $as_echo_n "(cached) " >&6
40360 else
40363 ac_ext=cpp
40364 ac_cpp='$CXXCPP $CPPFLAGS'
40365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40370 /* end confdefs.h. */
40371 #include <math.h>
40372 #ifdef HAVE_IEEEFP_H
40373 #include <ieeefp.h>
40374 #endif
40377 main ()
40379 sqrtl(0);
40381 return 0;
40383 _ACEOF
40384 if ac_fn_cxx_try_compile "$LINENO"; then :
40385 glibcxx_cv_func_sqrtl_use=yes
40386 else
40387 glibcxx_cv_func_sqrtl_use=no
40389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40390 ac_ext=c
40391 ac_cpp='$CPP $CPPFLAGS'
40392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40401 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40403 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40404 for ac_func in sqrtl
40405 do :
40406 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40407 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40408 cat >>confdefs.h <<_ACEOF
40409 #define HAVE_SQRTL 1
40410 _ACEOF
40413 done
40415 else
40417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40418 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40419 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40420 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40421 $as_echo_n "(cached) " >&6
40422 else
40425 ac_ext=cpp
40426 ac_cpp='$CXXCPP $CPPFLAGS'
40427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40432 /* end confdefs.h. */
40433 #include <math.h>
40434 #ifdef HAVE_IEEEFP_H
40435 #include <ieeefp.h>
40436 #endif
40439 main ()
40441 _sqrtl(0);
40443 return 0;
40445 _ACEOF
40446 if ac_fn_cxx_try_compile "$LINENO"; then :
40447 glibcxx_cv_func__sqrtl_use=yes
40448 else
40449 glibcxx_cv_func__sqrtl_use=no
40451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40452 ac_ext=c
40453 ac_cpp='$CPP $CPPFLAGS'
40454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40463 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40465 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40466 for ac_func in _sqrtl
40467 do :
40468 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40469 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40470 cat >>confdefs.h <<_ACEOF
40471 #define HAVE__SQRTL 1
40472 _ACEOF
40475 done
40484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40485 $as_echo_n "checking for sincosl declaration... " >&6; }
40486 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40487 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40488 $as_echo_n "(cached) " >&6
40489 else
40492 ac_ext=cpp
40493 ac_cpp='$CXXCPP $CPPFLAGS'
40494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40499 /* end confdefs.h. */
40500 #include <math.h>
40502 main ()
40504 sincosl(0, 0, 0);
40506 return 0;
40508 _ACEOF
40509 if ac_fn_cxx_try_compile "$LINENO"; then :
40510 glibcxx_cv_func_sincosl_use=yes
40511 else
40512 glibcxx_cv_func_sincosl_use=no
40514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40515 ac_ext=c
40516 ac_cpp='$CPP $CPPFLAGS'
40517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40526 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40528 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40529 for ac_func in sincosl
40530 do :
40531 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40532 if test "x$ac_cv_func_sincosl" = x""yes; then :
40533 cat >>confdefs.h <<_ACEOF
40534 #define HAVE_SINCOSL 1
40535 _ACEOF
40538 done
40540 else
40542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40543 $as_echo_n "checking for _sincosl declaration... " >&6; }
40544 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40545 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40546 $as_echo_n "(cached) " >&6
40547 else
40550 ac_ext=cpp
40551 ac_cpp='$CXXCPP $CPPFLAGS'
40552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40557 /* end confdefs.h. */
40558 #include <math.h>
40560 main ()
40562 _sincosl(0, 0, 0);
40564 return 0;
40566 _ACEOF
40567 if ac_fn_cxx_try_compile "$LINENO"; then :
40568 glibcxx_cv_func__sincosl_use=yes
40569 else
40570 glibcxx_cv_func__sincosl_use=no
40572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40573 ac_ext=c
40574 ac_cpp='$CPP $CPPFLAGS'
40575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40584 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40586 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40587 for ac_func in _sincosl
40588 do :
40589 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40590 if test "x$ac_cv_func__sincosl" = x""yes; then :
40591 cat >>confdefs.h <<_ACEOF
40592 #define HAVE__SINCOSL 1
40593 _ACEOF
40596 done
40605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40606 $as_echo_n "checking for finitel declaration... " >&6; }
40607 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40608 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40609 $as_echo_n "(cached) " >&6
40610 else
40613 ac_ext=cpp
40614 ac_cpp='$CXXCPP $CPPFLAGS'
40615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40620 /* end confdefs.h. */
40621 #include <math.h>
40622 #ifdef HAVE_IEEEFP_H
40623 #include <ieeefp.h>
40624 #endif
40627 main ()
40629 finitel(0);
40631 return 0;
40633 _ACEOF
40634 if ac_fn_cxx_try_compile "$LINENO"; then :
40635 glibcxx_cv_func_finitel_use=yes
40636 else
40637 glibcxx_cv_func_finitel_use=no
40639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40640 ac_ext=c
40641 ac_cpp='$CPP $CPPFLAGS'
40642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40651 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40653 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40654 for ac_func in finitel
40655 do :
40656 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40657 if test "x$ac_cv_func_finitel" = x""yes; then :
40658 cat >>confdefs.h <<_ACEOF
40659 #define HAVE_FINITEL 1
40660 _ACEOF
40663 done
40665 else
40667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40668 $as_echo_n "checking for _finitel declaration... " >&6; }
40669 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40670 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40671 $as_echo_n "(cached) " >&6
40672 else
40675 ac_ext=cpp
40676 ac_cpp='$CXXCPP $CPPFLAGS'
40677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40682 /* end confdefs.h. */
40683 #include <math.h>
40684 #ifdef HAVE_IEEEFP_H
40685 #include <ieeefp.h>
40686 #endif
40689 main ()
40691 _finitel(0);
40693 return 0;
40695 _ACEOF
40696 if ac_fn_cxx_try_compile "$LINENO"; then :
40697 glibcxx_cv_func__finitel_use=yes
40698 else
40699 glibcxx_cv_func__finitel_use=no
40701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40702 ac_ext=c
40703 ac_cpp='$CPP $CPPFLAGS'
40704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40713 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40715 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40716 for ac_func in _finitel
40717 do :
40718 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40719 if test "x$ac_cv_func__finitel" = x""yes; then :
40720 cat >>confdefs.h <<_ACEOF
40721 #define HAVE__FINITEL 1
40722 _ACEOF
40725 done
40733 LIBS="$ac_save_LIBS"
40734 CXXFLAGS="$ac_save_CXXFLAGS"
40737 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40738 ac_save_CXXFLAGS="$CXXFLAGS"
40739 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40743 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40744 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40745 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40746 $as_echo_n "(cached) " >&6
40747 else
40750 ac_ext=cpp
40751 ac_cpp='$CXXCPP $CPPFLAGS'
40752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40757 /* end confdefs.h. */
40758 #include <stdlib.h>
40760 main ()
40762 at_quick_exit(0);
40764 return 0;
40766 _ACEOF
40767 if ac_fn_cxx_try_compile "$LINENO"; then :
40768 glibcxx_cv_func_at_quick_exit_use=yes
40769 else
40770 glibcxx_cv_func_at_quick_exit_use=no
40772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40773 ac_ext=c
40774 ac_cpp='$CPP $CPPFLAGS'
40775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40784 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40785 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40786 for ac_func in at_quick_exit
40787 do :
40788 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40789 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40790 cat >>confdefs.h <<_ACEOF
40791 #define HAVE_AT_QUICK_EXIT 1
40792 _ACEOF
40795 done
40800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40801 $as_echo_n "checking for quick_exit declaration... " >&6; }
40802 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40803 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40804 $as_echo_n "(cached) " >&6
40805 else
40808 ac_ext=cpp
40809 ac_cpp='$CXXCPP $CPPFLAGS'
40810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40815 /* end confdefs.h. */
40816 #include <stdlib.h>
40818 main ()
40820 quick_exit(0);
40822 return 0;
40824 _ACEOF
40825 if ac_fn_cxx_try_compile "$LINENO"; then :
40826 glibcxx_cv_func_quick_exit_use=yes
40827 else
40828 glibcxx_cv_func_quick_exit_use=no
40830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40831 ac_ext=c
40832 ac_cpp='$CPP $CPPFLAGS'
40833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40842 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40843 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40844 for ac_func in quick_exit
40845 do :
40846 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40847 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40848 cat >>confdefs.h <<_ACEOF
40849 #define HAVE_QUICK_EXIT 1
40850 _ACEOF
40853 done
40858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40859 $as_echo_n "checking for strtold declaration... " >&6; }
40860 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40861 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40862 $as_echo_n "(cached) " >&6
40863 else
40866 ac_ext=cpp
40867 ac_cpp='$CXXCPP $CPPFLAGS'
40868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40873 /* end confdefs.h. */
40874 #include <stdlib.h>
40876 main ()
40878 strtold(0, 0);
40880 return 0;
40882 _ACEOF
40883 if ac_fn_cxx_try_compile "$LINENO"; then :
40884 glibcxx_cv_func_strtold_use=yes
40885 else
40886 glibcxx_cv_func_strtold_use=no
40888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40889 ac_ext=c
40890 ac_cpp='$CPP $CPPFLAGS'
40891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40900 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40901 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40902 for ac_func in strtold
40903 do :
40904 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40905 if test "x$ac_cv_func_strtold" = x""yes; then :
40906 cat >>confdefs.h <<_ACEOF
40907 #define HAVE_STRTOLD 1
40908 _ACEOF
40911 done
40918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40919 $as_echo_n "checking for strtof declaration... " >&6; }
40920 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40921 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40922 $as_echo_n "(cached) " >&6
40923 else
40926 ac_ext=cpp
40927 ac_cpp='$CXXCPP $CPPFLAGS'
40928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40933 /* end confdefs.h. */
40934 #include <stdlib.h>
40936 main ()
40938 strtof(0, 0);
40940 return 0;
40942 _ACEOF
40943 if ac_fn_cxx_try_compile "$LINENO"; then :
40944 glibcxx_cv_func_strtof_use=yes
40945 else
40946 glibcxx_cv_func_strtof_use=no
40948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40949 ac_ext=c
40950 ac_cpp='$CPP $CPPFLAGS'
40951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40960 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40961 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40962 for ac_func in strtof
40963 do :
40964 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40965 if test "x$ac_cv_func_strtof" = x""yes; then :
40966 cat >>confdefs.h <<_ACEOF
40967 #define HAVE_STRTOF 1
40968 _ACEOF
40971 done
40978 CXXFLAGS="$ac_save_CXXFLAGS"
40985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40986 $as_echo_n "checking for iconv... " >&6; }
40987 if test "${am_cv_func_iconv+set}" = set; then :
40988 $as_echo_n "(cached) " >&6
40989 else
40991 am_cv_func_iconv="no, consider installing GNU libiconv"
40992 am_cv_lib_iconv=no
40993 am_save_CPPFLAGS="$CPPFLAGS"
40994 CPPFLAGS="$CPPFLAGS $INCICONV"
40995 if test x$gcc_no_link = xyes; then
40996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40999 /* end confdefs.h. */
41000 #include <stdlib.h>
41001 #include <iconv.h>
41003 main ()
41005 iconv_t cd = iconv_open("","");
41006 iconv(cd,NULL,NULL,NULL,NULL);
41007 iconv_close(cd);
41009 return 0;
41011 _ACEOF
41012 if ac_fn_c_try_link "$LINENO"; then :
41013 am_cv_func_iconv=yes
41015 rm -f core conftest.err conftest.$ac_objext \
41016 conftest$ac_exeext conftest.$ac_ext
41017 CPPFLAGS="$am_save_CPPFLAGS"
41019 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41020 for _libs in .libs _libs; do
41021 am_save_CPPFLAGS="$CPPFLAGS"
41022 am_save_LIBS="$LIBS"
41023 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41024 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41025 if test x$gcc_no_link = xyes; then
41026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41029 /* end confdefs.h. */
41030 #include <stdlib.h>
41031 #include <iconv.h>
41033 main ()
41035 iconv_t cd = iconv_open("","");
41036 iconv(cd,NULL,NULL,NULL,NULL);
41037 iconv_close(cd);
41039 return 0;
41041 _ACEOF
41042 if ac_fn_c_try_link "$LINENO"; then :
41043 INCICONV="-I../libiconv/include"
41044 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41045 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41046 am_cv_lib_iconv=yes
41047 am_cv_func_iconv=yes
41049 rm -f core conftest.err conftest.$ac_objext \
41050 conftest$ac_exeext conftest.$ac_ext
41051 CPPFLAGS="$am_save_CPPFLAGS"
41052 LIBS="$am_save_LIBS"
41053 if test "$am_cv_func_iconv" = "yes"; then
41054 break
41056 done
41059 if test "$am_cv_func_iconv" != yes; then
41060 am_save_CPPFLAGS="$CPPFLAGS"
41061 am_save_LIBS="$LIBS"
41062 CPPFLAGS="$LIBS $INCICONV"
41063 LIBS="$LIBS $LIBICONV"
41064 if test x$gcc_no_link = xyes; then
41065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41068 /* end confdefs.h. */
41069 #include <stdlib.h>
41070 #include <iconv.h>
41072 main ()
41074 iconv_t cd = iconv_open("","");
41075 iconv(cd,NULL,NULL,NULL,NULL);
41076 iconv_close(cd);
41078 return 0;
41080 _ACEOF
41081 if ac_fn_c_try_link "$LINENO"; then :
41082 am_cv_lib_iconv=yes
41083 am_cv_func_iconv=yes
41085 rm -f core conftest.err conftest.$ac_objext \
41086 conftest$ac_exeext conftest.$ac_ext
41087 CPPFLAGS="$am_save_CPPFLAGS"
41088 LIBS="$am_save_LIBS"
41092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41093 $as_echo "$am_cv_func_iconv" >&6; }
41094 if test "$am_cv_func_iconv" = yes; then
41096 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41099 if test "$am_cv_lib_iconv" = yes; then
41101 for element in $INCICONV; do
41102 haveit=
41103 for x in $CPPFLAGS; do
41105 acl_save_prefix="$prefix"
41106 prefix="$acl_final_prefix"
41107 acl_save_exec_prefix="$exec_prefix"
41108 exec_prefix="$acl_final_exec_prefix"
41109 eval x=\"$x\"
41110 exec_prefix="$acl_save_exec_prefix"
41111 prefix="$acl_save_prefix"
41113 if test "X$x" = "X$element"; then
41114 haveit=yes
41115 break
41117 done
41118 if test -z "$haveit"; then
41119 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41121 done
41123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41124 $as_echo_n "checking how to link with libiconv... " >&6; }
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41126 $as_echo "$LIBICONV" >&6; }
41127 else
41128 LIBICONV=
41129 LTLIBICONV=
41134 if test "$am_cv_func_iconv" = yes; then
41135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41136 $as_echo_n "checking for iconv declaration... " >&6; }
41137 if test "${am_cv_proto_iconv+set}" = set; then :
41138 $as_echo_n "(cached) " >&6
41139 else
41141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41142 /* end confdefs.h. */
41144 #include <stdlib.h>
41145 #include <iconv.h>
41146 extern
41147 #ifdef __cplusplus
41149 #endif
41150 #if defined(__STDC__) || defined(__cplusplus)
41151 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41152 #else
41153 size_t iconv();
41154 #endif
41157 main ()
41161 return 0;
41163 _ACEOF
41164 if ac_fn_c_try_compile "$LINENO"; then :
41165 am_cv_proto_iconv_arg1=""
41166 else
41167 am_cv_proto_iconv_arg1="const"
41169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41170 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);"
41173 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41175 }$am_cv_proto_iconv" >&5
41176 $as_echo "${ac_t:-
41177 }$am_cv_proto_iconv" >&6; }
41179 cat >>confdefs.h <<_ACEOF
41180 #define ICONV_CONST $am_cv_proto_iconv_arg1
41181 _ACEOF
41187 *-aix*)
41189 # If we're not using GNU ld, then there's no point in even trying these
41190 # tests. Check for that first. We should have already tested for gld
41191 # by now (in libtool), but require it now just to be safe...
41192 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41193 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41197 # The name set by libtool depends on the version of libtool. Shame on us
41198 # for depending on an impl detail, but c'est la vie. Older versions used
41199 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41200 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41201 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41202 # set (hence we're using an older libtool), then set it.
41203 if test x${with_gnu_ld+set} != xset; then
41204 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41205 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41206 with_gnu_ld=no
41207 else
41208 with_gnu_ld=$ac_cv_prog_gnu_ld
41212 # Start by getting the version number. I think the libtool test already
41213 # does some of this, but throws away the result.
41214 glibcxx_ld_is_gold=no
41215 if test x"$with_gnu_ld" = x"yes"; then
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41217 $as_echo_n "checking for ld version... " >&6; }
41219 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41220 glibcxx_ld_is_gold=yes
41222 ldver=`$LD --version 2>/dev/null |
41223 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'`
41225 glibcxx_gnu_ld_version=`echo $ldver | \
41226 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41228 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41231 # Set --gc-sections.
41232 glibcxx_have_gc_sections=no
41233 if test "$glibcxx_ld_is_gold" = "yes"; then
41234 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41235 glibcxx_have_gc_sections=yes
41237 else
41238 glibcxx_gcsections_min_ld=21602
41239 if test x"$with_gnu_ld" = x"yes" &&
41240 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41241 glibcxx_have_gc_sections=yes
41244 if test "$glibcxx_have_gc_sections" = "yes"; then
41245 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41246 # NB: This flag only works reliably after 2.16.1. Configure tests
41247 # for this are difficult, so hard wire a value that should work.
41249 ac_test_CFLAGS="${CFLAGS+set}"
41250 ac_save_CFLAGS="$CFLAGS"
41251 CFLAGS='-Wl,--gc-sections'
41253 # Check for -Wl,--gc-sections
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41255 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41256 if test x$gcc_no_link = xyes; then
41257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41260 /* end confdefs.h. */
41261 int one(void) { return 1; }
41262 int two(void) { return 2; }
41265 main ()
41267 two();
41269 return 0;
41271 _ACEOF
41272 if ac_fn_c_try_link "$LINENO"; then :
41273 ac_gcsections=yes
41274 else
41275 ac_gcsections=no
41277 rm -f core conftest.err conftest.$ac_objext \
41278 conftest$ac_exeext conftest.$ac_ext
41279 if test "$ac_gcsections" = "yes"; then
41280 rm -f conftest.c
41281 touch conftest.c
41282 if $CC -c conftest.c; then
41283 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41284 grep "Warning: gc-sections option ignored" > /dev/null; then
41285 ac_gcsections=no
41288 rm -f conftest.c conftest.o conftest
41290 if test "$ac_gcsections" = "yes"; then
41291 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41294 $as_echo "$ac_gcsections" >&6; }
41296 if test "$ac_test_CFLAGS" = set; then
41297 CFLAGS="$ac_save_CFLAGS"
41298 else
41299 # this is the suspicious part
41300 CFLAGS=''
41304 # Set -z,relro.
41305 # Note this is only for shared objects.
41306 ac_ld_relro=no
41307 if test x"$with_gnu_ld" = x"yes"; then
41308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41309 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41310 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41311 if test -n "$cxx_z_relo"; then
41312 OPT_LDFLAGS="-Wl,-z,relro"
41313 ac_ld_relro=yes
41315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41316 $as_echo "$ac_ld_relro" >&6; }
41319 # Set linker optimization flags.
41320 if test x"$with_gnu_ld" = x"yes"; then
41321 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41328 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41329 ac_save_CXXFLAGS="$CXXFLAGS"
41330 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41333 $as_echo_n "checking for sin in -lm... " >&6; }
41334 if test "${ac_cv_lib_m_sin+set}" = set; then :
41335 $as_echo_n "(cached) " >&6
41336 else
41337 ac_check_lib_save_LIBS=$LIBS
41338 LIBS="-lm $LIBS"
41339 if test x$gcc_no_link = xyes; then
41340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41343 /* end confdefs.h. */
41345 /* Override any GCC internal prototype to avoid an error.
41346 Use char because int might match the return type of a GCC
41347 builtin and then its argument prototype would still apply. */
41348 #ifdef __cplusplus
41349 extern "C"
41350 #endif
41351 char sin ();
41353 main ()
41355 return sin ();
41357 return 0;
41359 _ACEOF
41360 if ac_fn_c_try_link "$LINENO"; then :
41361 ac_cv_lib_m_sin=yes
41362 else
41363 ac_cv_lib_m_sin=no
41365 rm -f core conftest.err conftest.$ac_objext \
41366 conftest$ac_exeext conftest.$ac_ext
41367 LIBS=$ac_check_lib_save_LIBS
41369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41370 $as_echo "$ac_cv_lib_m_sin" >&6; }
41371 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41372 libm="-lm"
41375 ac_save_LIBS="$LIBS"
41376 LIBS="$LIBS $libm"
41380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41381 $as_echo_n "checking for isinf declaration... " >&6; }
41382 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41383 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41384 $as_echo_n "(cached) " >&6
41385 else
41388 ac_ext=cpp
41389 ac_cpp='$CXXCPP $CPPFLAGS'
41390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41395 /* end confdefs.h. */
41396 #include <math.h>
41397 #ifdef HAVE_IEEEFP_H
41398 #include <ieeefp.h>
41399 #endif
41402 main ()
41404 isinf(0);
41406 return 0;
41408 _ACEOF
41409 if ac_fn_cxx_try_compile "$LINENO"; then :
41410 glibcxx_cv_func_isinf_use=yes
41411 else
41412 glibcxx_cv_func_isinf_use=no
41414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41415 ac_ext=c
41416 ac_cpp='$CPP $CPPFLAGS'
41417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41426 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41428 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41429 for ac_func in isinf
41430 do :
41431 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41432 if test "x$ac_cv_func_isinf" = x""yes; then :
41433 cat >>confdefs.h <<_ACEOF
41434 #define HAVE_ISINF 1
41435 _ACEOF
41438 done
41440 else
41442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41443 $as_echo_n "checking for _isinf declaration... " >&6; }
41444 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41445 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41446 $as_echo_n "(cached) " >&6
41447 else
41450 ac_ext=cpp
41451 ac_cpp='$CXXCPP $CPPFLAGS'
41452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41457 /* end confdefs.h. */
41458 #include <math.h>
41459 #ifdef HAVE_IEEEFP_H
41460 #include <ieeefp.h>
41461 #endif
41464 main ()
41466 _isinf(0);
41468 return 0;
41470 _ACEOF
41471 if ac_fn_cxx_try_compile "$LINENO"; then :
41472 glibcxx_cv_func__isinf_use=yes
41473 else
41474 glibcxx_cv_func__isinf_use=no
41476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41477 ac_ext=c
41478 ac_cpp='$CPP $CPPFLAGS'
41479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41488 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41490 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41491 for ac_func in _isinf
41492 do :
41493 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41494 if test "x$ac_cv_func__isinf" = x""yes; then :
41495 cat >>confdefs.h <<_ACEOF
41496 #define HAVE__ISINF 1
41497 _ACEOF
41500 done
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41510 $as_echo_n "checking for isnan declaration... " >&6; }
41511 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41512 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41513 $as_echo_n "(cached) " >&6
41514 else
41517 ac_ext=cpp
41518 ac_cpp='$CXXCPP $CPPFLAGS'
41519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41524 /* end confdefs.h. */
41525 #include <math.h>
41526 #ifdef HAVE_IEEEFP_H
41527 #include <ieeefp.h>
41528 #endif
41531 main ()
41533 isnan(0);
41535 return 0;
41537 _ACEOF
41538 if ac_fn_cxx_try_compile "$LINENO"; then :
41539 glibcxx_cv_func_isnan_use=yes
41540 else
41541 glibcxx_cv_func_isnan_use=no
41543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41544 ac_ext=c
41545 ac_cpp='$CPP $CPPFLAGS'
41546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41555 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41557 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41558 for ac_func in isnan
41559 do :
41560 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41561 if test "x$ac_cv_func_isnan" = x""yes; then :
41562 cat >>confdefs.h <<_ACEOF
41563 #define HAVE_ISNAN 1
41564 _ACEOF
41567 done
41569 else
41571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41572 $as_echo_n "checking for _isnan declaration... " >&6; }
41573 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41574 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41575 $as_echo_n "(cached) " >&6
41576 else
41579 ac_ext=cpp
41580 ac_cpp='$CXXCPP $CPPFLAGS'
41581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41586 /* end confdefs.h. */
41587 #include <math.h>
41588 #ifdef HAVE_IEEEFP_H
41589 #include <ieeefp.h>
41590 #endif
41593 main ()
41595 _isnan(0);
41597 return 0;
41599 _ACEOF
41600 if ac_fn_cxx_try_compile "$LINENO"; then :
41601 glibcxx_cv_func__isnan_use=yes
41602 else
41603 glibcxx_cv_func__isnan_use=no
41605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41606 ac_ext=c
41607 ac_cpp='$CPP $CPPFLAGS'
41608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41617 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41619 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41620 for ac_func in _isnan
41621 do :
41622 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41623 if test "x$ac_cv_func__isnan" = x""yes; then :
41624 cat >>confdefs.h <<_ACEOF
41625 #define HAVE__ISNAN 1
41626 _ACEOF
41629 done
41638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41639 $as_echo_n "checking for finite declaration... " >&6; }
41640 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41641 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41642 $as_echo_n "(cached) " >&6
41643 else
41646 ac_ext=cpp
41647 ac_cpp='$CXXCPP $CPPFLAGS'
41648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41653 /* end confdefs.h. */
41654 #include <math.h>
41655 #ifdef HAVE_IEEEFP_H
41656 #include <ieeefp.h>
41657 #endif
41660 main ()
41662 finite(0);
41664 return 0;
41666 _ACEOF
41667 if ac_fn_cxx_try_compile "$LINENO"; then :
41668 glibcxx_cv_func_finite_use=yes
41669 else
41670 glibcxx_cv_func_finite_use=no
41672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41673 ac_ext=c
41674 ac_cpp='$CPP $CPPFLAGS'
41675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41684 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41686 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41687 for ac_func in finite
41688 do :
41689 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41690 if test "x$ac_cv_func_finite" = x""yes; then :
41691 cat >>confdefs.h <<_ACEOF
41692 #define HAVE_FINITE 1
41693 _ACEOF
41696 done
41698 else
41700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41701 $as_echo_n "checking for _finite declaration... " >&6; }
41702 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41703 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41704 $as_echo_n "(cached) " >&6
41705 else
41708 ac_ext=cpp
41709 ac_cpp='$CXXCPP $CPPFLAGS'
41710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41715 /* end confdefs.h. */
41716 #include <math.h>
41717 #ifdef HAVE_IEEEFP_H
41718 #include <ieeefp.h>
41719 #endif
41722 main ()
41724 _finite(0);
41726 return 0;
41728 _ACEOF
41729 if ac_fn_cxx_try_compile "$LINENO"; then :
41730 glibcxx_cv_func__finite_use=yes
41731 else
41732 glibcxx_cv_func__finite_use=no
41734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41735 ac_ext=c
41736 ac_cpp='$CPP $CPPFLAGS'
41737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41746 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41748 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41749 for ac_func in _finite
41750 do :
41751 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41752 if test "x$ac_cv_func__finite" = x""yes; then :
41753 cat >>confdefs.h <<_ACEOF
41754 #define HAVE__FINITE 1
41755 _ACEOF
41758 done
41767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41768 $as_echo_n "checking for sincos declaration... " >&6; }
41769 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41770 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41771 $as_echo_n "(cached) " >&6
41772 else
41775 ac_ext=cpp
41776 ac_cpp='$CXXCPP $CPPFLAGS'
41777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41782 /* end confdefs.h. */
41783 #include <math.h>
41785 main ()
41787 sincos(0, 0, 0);
41789 return 0;
41791 _ACEOF
41792 if ac_fn_cxx_try_compile "$LINENO"; then :
41793 glibcxx_cv_func_sincos_use=yes
41794 else
41795 glibcxx_cv_func_sincos_use=no
41797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41798 ac_ext=c
41799 ac_cpp='$CPP $CPPFLAGS'
41800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41809 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41811 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41812 for ac_func in sincos
41813 do :
41814 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41815 if test "x$ac_cv_func_sincos" = x""yes; then :
41816 cat >>confdefs.h <<_ACEOF
41817 #define HAVE_SINCOS 1
41818 _ACEOF
41821 done
41823 else
41825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41826 $as_echo_n "checking for _sincos declaration... " >&6; }
41827 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41828 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41829 $as_echo_n "(cached) " >&6
41830 else
41833 ac_ext=cpp
41834 ac_cpp='$CXXCPP $CPPFLAGS'
41835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41840 /* end confdefs.h. */
41841 #include <math.h>
41843 main ()
41845 _sincos(0, 0, 0);
41847 return 0;
41849 _ACEOF
41850 if ac_fn_cxx_try_compile "$LINENO"; then :
41851 glibcxx_cv_func__sincos_use=yes
41852 else
41853 glibcxx_cv_func__sincos_use=no
41855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41856 ac_ext=c
41857 ac_cpp='$CPP $CPPFLAGS'
41858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41867 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41869 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41870 for ac_func in _sincos
41871 do :
41872 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41873 if test "x$ac_cv_func__sincos" = x""yes; then :
41874 cat >>confdefs.h <<_ACEOF
41875 #define HAVE__SINCOS 1
41876 _ACEOF
41879 done
41888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41889 $as_echo_n "checking for fpclass declaration... " >&6; }
41890 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41891 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41892 $as_echo_n "(cached) " >&6
41893 else
41896 ac_ext=cpp
41897 ac_cpp='$CXXCPP $CPPFLAGS'
41898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41903 /* end confdefs.h. */
41904 #include <math.h>
41905 #ifdef HAVE_IEEEFP_H
41906 #include <ieeefp.h>
41907 #endif
41910 main ()
41912 fpclass(0);
41914 return 0;
41916 _ACEOF
41917 if ac_fn_cxx_try_compile "$LINENO"; then :
41918 glibcxx_cv_func_fpclass_use=yes
41919 else
41920 glibcxx_cv_func_fpclass_use=no
41922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41923 ac_ext=c
41924 ac_cpp='$CPP $CPPFLAGS'
41925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41934 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41936 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41937 for ac_func in fpclass
41938 do :
41939 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41940 if test "x$ac_cv_func_fpclass" = x""yes; then :
41941 cat >>confdefs.h <<_ACEOF
41942 #define HAVE_FPCLASS 1
41943 _ACEOF
41946 done
41948 else
41950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41951 $as_echo_n "checking for _fpclass declaration... " >&6; }
41952 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41953 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41954 $as_echo_n "(cached) " >&6
41955 else
41958 ac_ext=cpp
41959 ac_cpp='$CXXCPP $CPPFLAGS'
41960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41965 /* end confdefs.h. */
41966 #include <math.h>
41967 #ifdef HAVE_IEEEFP_H
41968 #include <ieeefp.h>
41969 #endif
41972 main ()
41974 _fpclass(0);
41976 return 0;
41978 _ACEOF
41979 if ac_fn_cxx_try_compile "$LINENO"; then :
41980 glibcxx_cv_func__fpclass_use=yes
41981 else
41982 glibcxx_cv_func__fpclass_use=no
41984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41985 ac_ext=c
41986 ac_cpp='$CPP $CPPFLAGS'
41987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41996 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41998 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41999 for ac_func in _fpclass
42000 do :
42001 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42002 if test "x$ac_cv_func__fpclass" = x""yes; then :
42003 cat >>confdefs.h <<_ACEOF
42004 #define HAVE__FPCLASS 1
42005 _ACEOF
42008 done
42017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42018 $as_echo_n "checking for qfpclass declaration... " >&6; }
42019 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42020 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42021 $as_echo_n "(cached) " >&6
42022 else
42025 ac_ext=cpp
42026 ac_cpp='$CXXCPP $CPPFLAGS'
42027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42032 /* end confdefs.h. */
42033 #include <math.h>
42034 #ifdef HAVE_IEEEFP_H
42035 #include <ieeefp.h>
42036 #endif
42039 main ()
42041 qfpclass(0);
42043 return 0;
42045 _ACEOF
42046 if ac_fn_cxx_try_compile "$LINENO"; then :
42047 glibcxx_cv_func_qfpclass_use=yes
42048 else
42049 glibcxx_cv_func_qfpclass_use=no
42051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42052 ac_ext=c
42053 ac_cpp='$CPP $CPPFLAGS'
42054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42063 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42065 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42066 for ac_func in qfpclass
42067 do :
42068 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42069 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42070 cat >>confdefs.h <<_ACEOF
42071 #define HAVE_QFPCLASS 1
42072 _ACEOF
42075 done
42077 else
42079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42080 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42081 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42082 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42083 $as_echo_n "(cached) " >&6
42084 else
42087 ac_ext=cpp
42088 ac_cpp='$CXXCPP $CPPFLAGS'
42089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42094 /* end confdefs.h. */
42095 #include <math.h>
42096 #ifdef HAVE_IEEEFP_H
42097 #include <ieeefp.h>
42098 #endif
42101 main ()
42103 _qfpclass(0);
42105 return 0;
42107 _ACEOF
42108 if ac_fn_cxx_try_compile "$LINENO"; then :
42109 glibcxx_cv_func__qfpclass_use=yes
42110 else
42111 glibcxx_cv_func__qfpclass_use=no
42113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42114 ac_ext=c
42115 ac_cpp='$CPP $CPPFLAGS'
42116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42125 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42127 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42128 for ac_func in _qfpclass
42129 do :
42130 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42131 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42132 cat >>confdefs.h <<_ACEOF
42133 #define HAVE__QFPCLASS 1
42134 _ACEOF
42137 done
42146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42147 $as_echo_n "checking for hypot declaration... " >&6; }
42148 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42149 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42150 $as_echo_n "(cached) " >&6
42151 else
42154 ac_ext=cpp
42155 ac_cpp='$CXXCPP $CPPFLAGS'
42156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42161 /* end confdefs.h. */
42162 #include <math.h>
42164 main ()
42166 hypot(0, 0);
42168 return 0;
42170 _ACEOF
42171 if ac_fn_cxx_try_compile "$LINENO"; then :
42172 glibcxx_cv_func_hypot_use=yes
42173 else
42174 glibcxx_cv_func_hypot_use=no
42176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42177 ac_ext=c
42178 ac_cpp='$CPP $CPPFLAGS'
42179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42188 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42190 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42191 for ac_func in hypot
42192 do :
42193 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42194 if test "x$ac_cv_func_hypot" = x""yes; then :
42195 cat >>confdefs.h <<_ACEOF
42196 #define HAVE_HYPOT 1
42197 _ACEOF
42200 done
42202 else
42204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42205 $as_echo_n "checking for _hypot declaration... " >&6; }
42206 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42207 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42208 $as_echo_n "(cached) " >&6
42209 else
42212 ac_ext=cpp
42213 ac_cpp='$CXXCPP $CPPFLAGS'
42214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42219 /* end confdefs.h. */
42220 #include <math.h>
42222 main ()
42224 _hypot(0, 0);
42226 return 0;
42228 _ACEOF
42229 if ac_fn_cxx_try_compile "$LINENO"; then :
42230 glibcxx_cv_func__hypot_use=yes
42231 else
42232 glibcxx_cv_func__hypot_use=no
42234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42235 ac_ext=c
42236 ac_cpp='$CPP $CPPFLAGS'
42237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42246 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42248 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42249 for ac_func in _hypot
42250 do :
42251 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42252 if test "x$ac_cv_func__hypot" = x""yes; then :
42253 cat >>confdefs.h <<_ACEOF
42254 #define HAVE__HYPOT 1
42255 _ACEOF
42258 done
42267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42268 $as_echo_n "checking for float trig functions... " >&6; }
42269 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42270 $as_echo_n "(cached) " >&6
42271 else
42274 ac_ext=cpp
42275 ac_cpp='$CXXCPP $CPPFLAGS'
42276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42281 /* end confdefs.h. */
42282 #include <math.h>
42284 main ()
42286 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42288 return 0;
42290 _ACEOF
42291 if ac_fn_cxx_try_compile "$LINENO"; then :
42292 glibcxx_cv_func_float_trig_use=yes
42293 else
42294 glibcxx_cv_func_float_trig_use=no
42296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42297 ac_ext=c
42298 ac_cpp='$CPP $CPPFLAGS'
42299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42306 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42307 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42308 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42309 do :
42310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42312 eval as_val=\$$as_ac_var
42313 if test "x$as_val" = x""yes; then :
42314 cat >>confdefs.h <<_ACEOF
42315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42316 _ACEOF
42319 done
42321 else
42322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42323 $as_echo_n "checking for _float trig functions... " >&6; }
42324 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42325 $as_echo_n "(cached) " >&6
42326 else
42329 ac_ext=cpp
42330 ac_cpp='$CXXCPP $CPPFLAGS'
42331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42336 /* end confdefs.h. */
42337 #include <math.h>
42339 main ()
42341 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42343 return 0;
42345 _ACEOF
42346 if ac_fn_cxx_try_compile "$LINENO"; then :
42347 glibcxx_cv_func__float_trig_use=yes
42348 else
42349 glibcxx_cv_func__float_trig_use=no
42351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42352 ac_ext=c
42353 ac_cpp='$CPP $CPPFLAGS'
42354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42361 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42362 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42363 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42364 do :
42365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42367 eval as_val=\$$as_ac_var
42368 if test "x$as_val" = x""yes; then :
42369 cat >>confdefs.h <<_ACEOF
42370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42371 _ACEOF
42374 done
42383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42384 $as_echo_n "checking for float round functions... " >&6; }
42385 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42386 $as_echo_n "(cached) " >&6
42387 else
42390 ac_ext=cpp
42391 ac_cpp='$CXXCPP $CPPFLAGS'
42392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42397 /* end confdefs.h. */
42398 #include <math.h>
42400 main ()
42402 ceilf (0); floorf (0);
42404 return 0;
42406 _ACEOF
42407 if ac_fn_cxx_try_compile "$LINENO"; then :
42408 glibcxx_cv_func_float_round_use=yes
42409 else
42410 glibcxx_cv_func_float_round_use=no
42412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42413 ac_ext=c
42414 ac_cpp='$CPP $CPPFLAGS'
42415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42422 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42423 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42424 for ac_func in ceilf floorf
42425 do :
42426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42428 eval as_val=\$$as_ac_var
42429 if test "x$as_val" = x""yes; then :
42430 cat >>confdefs.h <<_ACEOF
42431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42432 _ACEOF
42435 done
42437 else
42438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42439 $as_echo_n "checking for _float round functions... " >&6; }
42440 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42441 $as_echo_n "(cached) " >&6
42442 else
42445 ac_ext=cpp
42446 ac_cpp='$CXXCPP $CPPFLAGS'
42447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42452 /* end confdefs.h. */
42453 #include <math.h>
42455 main ()
42457 _ceilf (0); _floorf (0);
42459 return 0;
42461 _ACEOF
42462 if ac_fn_cxx_try_compile "$LINENO"; then :
42463 glibcxx_cv_func__float_round_use=yes
42464 else
42465 glibcxx_cv_func__float_round_use=no
42467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42468 ac_ext=c
42469 ac_cpp='$CPP $CPPFLAGS'
42470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42477 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42478 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42479 for ac_func in _ceilf _floorf
42480 do :
42481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42483 eval as_val=\$$as_ac_var
42484 if test "x$as_val" = x""yes; then :
42485 cat >>confdefs.h <<_ACEOF
42486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42487 _ACEOF
42490 done
42500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42501 $as_echo_n "checking for expf declaration... " >&6; }
42502 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42503 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42504 $as_echo_n "(cached) " >&6
42505 else
42508 ac_ext=cpp
42509 ac_cpp='$CXXCPP $CPPFLAGS'
42510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42515 /* end confdefs.h. */
42516 #include <math.h>
42517 #ifdef HAVE_IEEEFP_H
42518 #include <ieeefp.h>
42519 #endif
42522 main ()
42524 expf(0);
42526 return 0;
42528 _ACEOF
42529 if ac_fn_cxx_try_compile "$LINENO"; then :
42530 glibcxx_cv_func_expf_use=yes
42531 else
42532 glibcxx_cv_func_expf_use=no
42534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42535 ac_ext=c
42536 ac_cpp='$CPP $CPPFLAGS'
42537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42546 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42548 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42549 for ac_func in expf
42550 do :
42551 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42552 if test "x$ac_cv_func_expf" = x""yes; then :
42553 cat >>confdefs.h <<_ACEOF
42554 #define HAVE_EXPF 1
42555 _ACEOF
42558 done
42560 else
42562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42563 $as_echo_n "checking for _expf declaration... " >&6; }
42564 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42565 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42566 $as_echo_n "(cached) " >&6
42567 else
42570 ac_ext=cpp
42571 ac_cpp='$CXXCPP $CPPFLAGS'
42572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42577 /* end confdefs.h. */
42578 #include <math.h>
42579 #ifdef HAVE_IEEEFP_H
42580 #include <ieeefp.h>
42581 #endif
42584 main ()
42586 _expf(0);
42588 return 0;
42590 _ACEOF
42591 if ac_fn_cxx_try_compile "$LINENO"; then :
42592 glibcxx_cv_func__expf_use=yes
42593 else
42594 glibcxx_cv_func__expf_use=no
42596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42597 ac_ext=c
42598 ac_cpp='$CPP $CPPFLAGS'
42599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42608 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42610 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42611 for ac_func in _expf
42612 do :
42613 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42614 if test "x$ac_cv_func__expf" = x""yes; then :
42615 cat >>confdefs.h <<_ACEOF
42616 #define HAVE__EXPF 1
42617 _ACEOF
42620 done
42629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42630 $as_echo_n "checking for isnanf declaration... " >&6; }
42631 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42632 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42633 $as_echo_n "(cached) " >&6
42634 else
42637 ac_ext=cpp
42638 ac_cpp='$CXXCPP $CPPFLAGS'
42639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42644 /* end confdefs.h. */
42645 #include <math.h>
42646 #ifdef HAVE_IEEEFP_H
42647 #include <ieeefp.h>
42648 #endif
42651 main ()
42653 isnanf(0);
42655 return 0;
42657 _ACEOF
42658 if ac_fn_cxx_try_compile "$LINENO"; then :
42659 glibcxx_cv_func_isnanf_use=yes
42660 else
42661 glibcxx_cv_func_isnanf_use=no
42663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42664 ac_ext=c
42665 ac_cpp='$CPP $CPPFLAGS'
42666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42675 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42677 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42678 for ac_func in isnanf
42679 do :
42680 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42681 if test "x$ac_cv_func_isnanf" = x""yes; then :
42682 cat >>confdefs.h <<_ACEOF
42683 #define HAVE_ISNANF 1
42684 _ACEOF
42687 done
42689 else
42691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42692 $as_echo_n "checking for _isnanf declaration... " >&6; }
42693 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42694 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42695 $as_echo_n "(cached) " >&6
42696 else
42699 ac_ext=cpp
42700 ac_cpp='$CXXCPP $CPPFLAGS'
42701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42706 /* end confdefs.h. */
42707 #include <math.h>
42708 #ifdef HAVE_IEEEFP_H
42709 #include <ieeefp.h>
42710 #endif
42713 main ()
42715 _isnanf(0);
42717 return 0;
42719 _ACEOF
42720 if ac_fn_cxx_try_compile "$LINENO"; then :
42721 glibcxx_cv_func__isnanf_use=yes
42722 else
42723 glibcxx_cv_func__isnanf_use=no
42725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42726 ac_ext=c
42727 ac_cpp='$CPP $CPPFLAGS'
42728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42737 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42739 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42740 for ac_func in _isnanf
42741 do :
42742 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42743 if test "x$ac_cv_func__isnanf" = x""yes; then :
42744 cat >>confdefs.h <<_ACEOF
42745 #define HAVE__ISNANF 1
42746 _ACEOF
42749 done
42758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42759 $as_echo_n "checking for isinff declaration... " >&6; }
42760 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42761 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42762 $as_echo_n "(cached) " >&6
42763 else
42766 ac_ext=cpp
42767 ac_cpp='$CXXCPP $CPPFLAGS'
42768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42773 /* end confdefs.h. */
42774 #include <math.h>
42775 #ifdef HAVE_IEEEFP_H
42776 #include <ieeefp.h>
42777 #endif
42780 main ()
42782 isinff(0);
42784 return 0;
42786 _ACEOF
42787 if ac_fn_cxx_try_compile "$LINENO"; then :
42788 glibcxx_cv_func_isinff_use=yes
42789 else
42790 glibcxx_cv_func_isinff_use=no
42792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42793 ac_ext=c
42794 ac_cpp='$CPP $CPPFLAGS'
42795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42804 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42806 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42807 for ac_func in isinff
42808 do :
42809 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42810 if test "x$ac_cv_func_isinff" = x""yes; then :
42811 cat >>confdefs.h <<_ACEOF
42812 #define HAVE_ISINFF 1
42813 _ACEOF
42816 done
42818 else
42820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42821 $as_echo_n "checking for _isinff declaration... " >&6; }
42822 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42823 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42824 $as_echo_n "(cached) " >&6
42825 else
42828 ac_ext=cpp
42829 ac_cpp='$CXXCPP $CPPFLAGS'
42830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42835 /* end confdefs.h. */
42836 #include <math.h>
42837 #ifdef HAVE_IEEEFP_H
42838 #include <ieeefp.h>
42839 #endif
42842 main ()
42844 _isinff(0);
42846 return 0;
42848 _ACEOF
42849 if ac_fn_cxx_try_compile "$LINENO"; then :
42850 glibcxx_cv_func__isinff_use=yes
42851 else
42852 glibcxx_cv_func__isinff_use=no
42854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42855 ac_ext=c
42856 ac_cpp='$CPP $CPPFLAGS'
42857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42866 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42868 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42869 for ac_func in _isinff
42870 do :
42871 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42872 if test "x$ac_cv_func__isinff" = x""yes; then :
42873 cat >>confdefs.h <<_ACEOF
42874 #define HAVE__ISINFF 1
42875 _ACEOF
42878 done
42887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42888 $as_echo_n "checking for atan2f declaration... " >&6; }
42889 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42890 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42891 $as_echo_n "(cached) " >&6
42892 else
42895 ac_ext=cpp
42896 ac_cpp='$CXXCPP $CPPFLAGS'
42897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42902 /* end confdefs.h. */
42903 #include <math.h>
42905 main ()
42907 atan2f(0, 0);
42909 return 0;
42911 _ACEOF
42912 if ac_fn_cxx_try_compile "$LINENO"; then :
42913 glibcxx_cv_func_atan2f_use=yes
42914 else
42915 glibcxx_cv_func_atan2f_use=no
42917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42918 ac_ext=c
42919 ac_cpp='$CPP $CPPFLAGS'
42920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42929 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42931 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42932 for ac_func in atan2f
42933 do :
42934 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42935 if test "x$ac_cv_func_atan2f" = x""yes; then :
42936 cat >>confdefs.h <<_ACEOF
42937 #define HAVE_ATAN2F 1
42938 _ACEOF
42941 done
42943 else
42945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42946 $as_echo_n "checking for _atan2f declaration... " >&6; }
42947 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42948 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42949 $as_echo_n "(cached) " >&6
42950 else
42953 ac_ext=cpp
42954 ac_cpp='$CXXCPP $CPPFLAGS'
42955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42960 /* end confdefs.h. */
42961 #include <math.h>
42963 main ()
42965 _atan2f(0, 0);
42967 return 0;
42969 _ACEOF
42970 if ac_fn_cxx_try_compile "$LINENO"; then :
42971 glibcxx_cv_func__atan2f_use=yes
42972 else
42973 glibcxx_cv_func__atan2f_use=no
42975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42976 ac_ext=c
42977 ac_cpp='$CPP $CPPFLAGS'
42978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42987 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42989 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42990 for ac_func in _atan2f
42991 do :
42992 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42993 if test "x$ac_cv_func__atan2f" = x""yes; then :
42994 cat >>confdefs.h <<_ACEOF
42995 #define HAVE__ATAN2F 1
42996 _ACEOF
42999 done
43008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43009 $as_echo_n "checking for fabsf declaration... " >&6; }
43010 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43011 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43012 $as_echo_n "(cached) " >&6
43013 else
43016 ac_ext=cpp
43017 ac_cpp='$CXXCPP $CPPFLAGS'
43018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43023 /* end confdefs.h. */
43024 #include <math.h>
43025 #ifdef HAVE_IEEEFP_H
43026 #include <ieeefp.h>
43027 #endif
43030 main ()
43032 fabsf(0);
43034 return 0;
43036 _ACEOF
43037 if ac_fn_cxx_try_compile "$LINENO"; then :
43038 glibcxx_cv_func_fabsf_use=yes
43039 else
43040 glibcxx_cv_func_fabsf_use=no
43042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43043 ac_ext=c
43044 ac_cpp='$CPP $CPPFLAGS'
43045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43054 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43056 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43057 for ac_func in fabsf
43058 do :
43059 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43060 if test "x$ac_cv_func_fabsf" = x""yes; then :
43061 cat >>confdefs.h <<_ACEOF
43062 #define HAVE_FABSF 1
43063 _ACEOF
43066 done
43068 else
43070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43071 $as_echo_n "checking for _fabsf declaration... " >&6; }
43072 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43073 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43074 $as_echo_n "(cached) " >&6
43075 else
43078 ac_ext=cpp
43079 ac_cpp='$CXXCPP $CPPFLAGS'
43080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43085 /* end confdefs.h. */
43086 #include <math.h>
43087 #ifdef HAVE_IEEEFP_H
43088 #include <ieeefp.h>
43089 #endif
43092 main ()
43094 _fabsf(0);
43096 return 0;
43098 _ACEOF
43099 if ac_fn_cxx_try_compile "$LINENO"; then :
43100 glibcxx_cv_func__fabsf_use=yes
43101 else
43102 glibcxx_cv_func__fabsf_use=no
43104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43105 ac_ext=c
43106 ac_cpp='$CPP $CPPFLAGS'
43107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43116 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43118 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43119 for ac_func in _fabsf
43120 do :
43121 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43122 if test "x$ac_cv_func__fabsf" = x""yes; then :
43123 cat >>confdefs.h <<_ACEOF
43124 #define HAVE__FABSF 1
43125 _ACEOF
43128 done
43137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43138 $as_echo_n "checking for fmodf declaration... " >&6; }
43139 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43140 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43141 $as_echo_n "(cached) " >&6
43142 else
43145 ac_ext=cpp
43146 ac_cpp='$CXXCPP $CPPFLAGS'
43147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43152 /* end confdefs.h. */
43153 #include <math.h>
43155 main ()
43157 fmodf(0, 0);
43159 return 0;
43161 _ACEOF
43162 if ac_fn_cxx_try_compile "$LINENO"; then :
43163 glibcxx_cv_func_fmodf_use=yes
43164 else
43165 glibcxx_cv_func_fmodf_use=no
43167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43168 ac_ext=c
43169 ac_cpp='$CPP $CPPFLAGS'
43170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43179 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43181 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43182 for ac_func in fmodf
43183 do :
43184 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43185 if test "x$ac_cv_func_fmodf" = x""yes; then :
43186 cat >>confdefs.h <<_ACEOF
43187 #define HAVE_FMODF 1
43188 _ACEOF
43191 done
43193 else
43195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43196 $as_echo_n "checking for _fmodf declaration... " >&6; }
43197 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43198 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43199 $as_echo_n "(cached) " >&6
43200 else
43203 ac_ext=cpp
43204 ac_cpp='$CXXCPP $CPPFLAGS'
43205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43210 /* end confdefs.h. */
43211 #include <math.h>
43213 main ()
43215 _fmodf(0, 0);
43217 return 0;
43219 _ACEOF
43220 if ac_fn_cxx_try_compile "$LINENO"; then :
43221 glibcxx_cv_func__fmodf_use=yes
43222 else
43223 glibcxx_cv_func__fmodf_use=no
43225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43226 ac_ext=c
43227 ac_cpp='$CPP $CPPFLAGS'
43228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43237 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43239 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43240 for ac_func in _fmodf
43241 do :
43242 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43243 if test "x$ac_cv_func__fmodf" = x""yes; then :
43244 cat >>confdefs.h <<_ACEOF
43245 #define HAVE__FMODF 1
43246 _ACEOF
43249 done
43258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43259 $as_echo_n "checking for frexpf declaration... " >&6; }
43260 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43261 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43262 $as_echo_n "(cached) " >&6
43263 else
43266 ac_ext=cpp
43267 ac_cpp='$CXXCPP $CPPFLAGS'
43268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43273 /* end confdefs.h. */
43274 #include <math.h>
43276 main ()
43278 frexpf(0, 0);
43280 return 0;
43282 _ACEOF
43283 if ac_fn_cxx_try_compile "$LINENO"; then :
43284 glibcxx_cv_func_frexpf_use=yes
43285 else
43286 glibcxx_cv_func_frexpf_use=no
43288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43289 ac_ext=c
43290 ac_cpp='$CPP $CPPFLAGS'
43291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43300 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43302 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43303 for ac_func in frexpf
43304 do :
43305 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43306 if test "x$ac_cv_func_frexpf" = x""yes; then :
43307 cat >>confdefs.h <<_ACEOF
43308 #define HAVE_FREXPF 1
43309 _ACEOF
43312 done
43314 else
43316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43317 $as_echo_n "checking for _frexpf declaration... " >&6; }
43318 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43319 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43320 $as_echo_n "(cached) " >&6
43321 else
43324 ac_ext=cpp
43325 ac_cpp='$CXXCPP $CPPFLAGS'
43326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43331 /* end confdefs.h. */
43332 #include <math.h>
43334 main ()
43336 _frexpf(0, 0);
43338 return 0;
43340 _ACEOF
43341 if ac_fn_cxx_try_compile "$LINENO"; then :
43342 glibcxx_cv_func__frexpf_use=yes
43343 else
43344 glibcxx_cv_func__frexpf_use=no
43346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43347 ac_ext=c
43348 ac_cpp='$CPP $CPPFLAGS'
43349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43358 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43360 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43361 for ac_func in _frexpf
43362 do :
43363 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43364 if test "x$ac_cv_func__frexpf" = x""yes; then :
43365 cat >>confdefs.h <<_ACEOF
43366 #define HAVE__FREXPF 1
43367 _ACEOF
43370 done
43379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43380 $as_echo_n "checking for hypotf declaration... " >&6; }
43381 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43382 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43383 $as_echo_n "(cached) " >&6
43384 else
43387 ac_ext=cpp
43388 ac_cpp='$CXXCPP $CPPFLAGS'
43389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43394 /* end confdefs.h. */
43395 #include <math.h>
43397 main ()
43399 hypotf(0, 0);
43401 return 0;
43403 _ACEOF
43404 if ac_fn_cxx_try_compile "$LINENO"; then :
43405 glibcxx_cv_func_hypotf_use=yes
43406 else
43407 glibcxx_cv_func_hypotf_use=no
43409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43410 ac_ext=c
43411 ac_cpp='$CPP $CPPFLAGS'
43412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43421 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43423 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43424 for ac_func in hypotf
43425 do :
43426 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43427 if test "x$ac_cv_func_hypotf" = x""yes; then :
43428 cat >>confdefs.h <<_ACEOF
43429 #define HAVE_HYPOTF 1
43430 _ACEOF
43433 done
43435 else
43437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43438 $as_echo_n "checking for _hypotf declaration... " >&6; }
43439 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43440 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43441 $as_echo_n "(cached) " >&6
43442 else
43445 ac_ext=cpp
43446 ac_cpp='$CXXCPP $CPPFLAGS'
43447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43452 /* end confdefs.h. */
43453 #include <math.h>
43455 main ()
43457 _hypotf(0, 0);
43459 return 0;
43461 _ACEOF
43462 if ac_fn_cxx_try_compile "$LINENO"; then :
43463 glibcxx_cv_func__hypotf_use=yes
43464 else
43465 glibcxx_cv_func__hypotf_use=no
43467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43468 ac_ext=c
43469 ac_cpp='$CPP $CPPFLAGS'
43470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43479 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43481 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43482 for ac_func in _hypotf
43483 do :
43484 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43485 if test "x$ac_cv_func__hypotf" = x""yes; then :
43486 cat >>confdefs.h <<_ACEOF
43487 #define HAVE__HYPOTF 1
43488 _ACEOF
43491 done
43500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43501 $as_echo_n "checking for ldexpf declaration... " >&6; }
43502 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43503 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43504 $as_echo_n "(cached) " >&6
43505 else
43508 ac_ext=cpp
43509 ac_cpp='$CXXCPP $CPPFLAGS'
43510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43515 /* end confdefs.h. */
43516 #include <math.h>
43518 main ()
43520 ldexpf(0, 0);
43522 return 0;
43524 _ACEOF
43525 if ac_fn_cxx_try_compile "$LINENO"; then :
43526 glibcxx_cv_func_ldexpf_use=yes
43527 else
43528 glibcxx_cv_func_ldexpf_use=no
43530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43531 ac_ext=c
43532 ac_cpp='$CPP $CPPFLAGS'
43533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43542 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43544 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43545 for ac_func in ldexpf
43546 do :
43547 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43548 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43549 cat >>confdefs.h <<_ACEOF
43550 #define HAVE_LDEXPF 1
43551 _ACEOF
43554 done
43556 else
43558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43559 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43560 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43561 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43562 $as_echo_n "(cached) " >&6
43563 else
43566 ac_ext=cpp
43567 ac_cpp='$CXXCPP $CPPFLAGS'
43568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43573 /* end confdefs.h. */
43574 #include <math.h>
43576 main ()
43578 _ldexpf(0, 0);
43580 return 0;
43582 _ACEOF
43583 if ac_fn_cxx_try_compile "$LINENO"; then :
43584 glibcxx_cv_func__ldexpf_use=yes
43585 else
43586 glibcxx_cv_func__ldexpf_use=no
43588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43589 ac_ext=c
43590 ac_cpp='$CPP $CPPFLAGS'
43591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43600 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43602 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43603 for ac_func in _ldexpf
43604 do :
43605 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43606 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43607 cat >>confdefs.h <<_ACEOF
43608 #define HAVE__LDEXPF 1
43609 _ACEOF
43612 done
43621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43622 $as_echo_n "checking for logf declaration... " >&6; }
43623 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43624 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43625 $as_echo_n "(cached) " >&6
43626 else
43629 ac_ext=cpp
43630 ac_cpp='$CXXCPP $CPPFLAGS'
43631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43636 /* end confdefs.h. */
43637 #include <math.h>
43638 #ifdef HAVE_IEEEFP_H
43639 #include <ieeefp.h>
43640 #endif
43643 main ()
43645 logf(0);
43647 return 0;
43649 _ACEOF
43650 if ac_fn_cxx_try_compile "$LINENO"; then :
43651 glibcxx_cv_func_logf_use=yes
43652 else
43653 glibcxx_cv_func_logf_use=no
43655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43656 ac_ext=c
43657 ac_cpp='$CPP $CPPFLAGS'
43658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43667 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43669 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43670 for ac_func in logf
43671 do :
43672 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43673 if test "x$ac_cv_func_logf" = x""yes; then :
43674 cat >>confdefs.h <<_ACEOF
43675 #define HAVE_LOGF 1
43676 _ACEOF
43679 done
43681 else
43683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43684 $as_echo_n "checking for _logf declaration... " >&6; }
43685 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43686 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43687 $as_echo_n "(cached) " >&6
43688 else
43691 ac_ext=cpp
43692 ac_cpp='$CXXCPP $CPPFLAGS'
43693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43698 /* end confdefs.h. */
43699 #include <math.h>
43700 #ifdef HAVE_IEEEFP_H
43701 #include <ieeefp.h>
43702 #endif
43705 main ()
43707 _logf(0);
43709 return 0;
43711 _ACEOF
43712 if ac_fn_cxx_try_compile "$LINENO"; then :
43713 glibcxx_cv_func__logf_use=yes
43714 else
43715 glibcxx_cv_func__logf_use=no
43717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43718 ac_ext=c
43719 ac_cpp='$CPP $CPPFLAGS'
43720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43729 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43731 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43732 for ac_func in _logf
43733 do :
43734 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43735 if test "x$ac_cv_func__logf" = x""yes; then :
43736 cat >>confdefs.h <<_ACEOF
43737 #define HAVE__LOGF 1
43738 _ACEOF
43741 done
43750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43751 $as_echo_n "checking for log10f declaration... " >&6; }
43752 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43753 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43754 $as_echo_n "(cached) " >&6
43755 else
43758 ac_ext=cpp
43759 ac_cpp='$CXXCPP $CPPFLAGS'
43760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43765 /* end confdefs.h. */
43766 #include <math.h>
43767 #ifdef HAVE_IEEEFP_H
43768 #include <ieeefp.h>
43769 #endif
43772 main ()
43774 log10f(0);
43776 return 0;
43778 _ACEOF
43779 if ac_fn_cxx_try_compile "$LINENO"; then :
43780 glibcxx_cv_func_log10f_use=yes
43781 else
43782 glibcxx_cv_func_log10f_use=no
43784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43785 ac_ext=c
43786 ac_cpp='$CPP $CPPFLAGS'
43787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43796 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43798 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43799 for ac_func in log10f
43800 do :
43801 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43802 if test "x$ac_cv_func_log10f" = x""yes; then :
43803 cat >>confdefs.h <<_ACEOF
43804 #define HAVE_LOG10F 1
43805 _ACEOF
43808 done
43810 else
43812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43813 $as_echo_n "checking for _log10f declaration... " >&6; }
43814 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43815 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43816 $as_echo_n "(cached) " >&6
43817 else
43820 ac_ext=cpp
43821 ac_cpp='$CXXCPP $CPPFLAGS'
43822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43827 /* end confdefs.h. */
43828 #include <math.h>
43829 #ifdef HAVE_IEEEFP_H
43830 #include <ieeefp.h>
43831 #endif
43834 main ()
43836 _log10f(0);
43838 return 0;
43840 _ACEOF
43841 if ac_fn_cxx_try_compile "$LINENO"; then :
43842 glibcxx_cv_func__log10f_use=yes
43843 else
43844 glibcxx_cv_func__log10f_use=no
43846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43847 ac_ext=c
43848 ac_cpp='$CPP $CPPFLAGS'
43849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43858 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43860 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43861 for ac_func in _log10f
43862 do :
43863 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43864 if test "x$ac_cv_func__log10f" = x""yes; then :
43865 cat >>confdefs.h <<_ACEOF
43866 #define HAVE__LOG10F 1
43867 _ACEOF
43870 done
43879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43880 $as_echo_n "checking for modff declaration... " >&6; }
43881 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43882 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43883 $as_echo_n "(cached) " >&6
43884 else
43887 ac_ext=cpp
43888 ac_cpp='$CXXCPP $CPPFLAGS'
43889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43894 /* end confdefs.h. */
43895 #include <math.h>
43897 main ()
43899 modff(0, 0);
43901 return 0;
43903 _ACEOF
43904 if ac_fn_cxx_try_compile "$LINENO"; then :
43905 glibcxx_cv_func_modff_use=yes
43906 else
43907 glibcxx_cv_func_modff_use=no
43909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43910 ac_ext=c
43911 ac_cpp='$CPP $CPPFLAGS'
43912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43921 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43923 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43924 for ac_func in modff
43925 do :
43926 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43927 if test "x$ac_cv_func_modff" = x""yes; then :
43928 cat >>confdefs.h <<_ACEOF
43929 #define HAVE_MODFF 1
43930 _ACEOF
43933 done
43935 else
43937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43938 $as_echo_n "checking for _modff declaration... " >&6; }
43939 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43940 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43941 $as_echo_n "(cached) " >&6
43942 else
43945 ac_ext=cpp
43946 ac_cpp='$CXXCPP $CPPFLAGS'
43947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43952 /* end confdefs.h. */
43953 #include <math.h>
43955 main ()
43957 _modff(0, 0);
43959 return 0;
43961 _ACEOF
43962 if ac_fn_cxx_try_compile "$LINENO"; then :
43963 glibcxx_cv_func__modff_use=yes
43964 else
43965 glibcxx_cv_func__modff_use=no
43967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43968 ac_ext=c
43969 ac_cpp='$CPP $CPPFLAGS'
43970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43979 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43981 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43982 for ac_func in _modff
43983 do :
43984 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43985 if test "x$ac_cv_func__modff" = x""yes; then :
43986 cat >>confdefs.h <<_ACEOF
43987 #define HAVE__MODFF 1
43988 _ACEOF
43991 done
44000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44001 $as_echo_n "checking for modf declaration... " >&6; }
44002 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44003 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44004 $as_echo_n "(cached) " >&6
44005 else
44008 ac_ext=cpp
44009 ac_cpp='$CXXCPP $CPPFLAGS'
44010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44015 /* end confdefs.h. */
44016 #include <math.h>
44018 main ()
44020 modf(0, 0);
44022 return 0;
44024 _ACEOF
44025 if ac_fn_cxx_try_compile "$LINENO"; then :
44026 glibcxx_cv_func_modf_use=yes
44027 else
44028 glibcxx_cv_func_modf_use=no
44030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44031 ac_ext=c
44032 ac_cpp='$CPP $CPPFLAGS'
44033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44042 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44044 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44045 for ac_func in modf
44046 do :
44047 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44048 if test "x$ac_cv_func_modf" = x""yes; then :
44049 cat >>confdefs.h <<_ACEOF
44050 #define HAVE_MODF 1
44051 _ACEOF
44054 done
44056 else
44058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44059 $as_echo_n "checking for _modf declaration... " >&6; }
44060 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44061 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44062 $as_echo_n "(cached) " >&6
44063 else
44066 ac_ext=cpp
44067 ac_cpp='$CXXCPP $CPPFLAGS'
44068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44073 /* end confdefs.h. */
44074 #include <math.h>
44076 main ()
44078 _modf(0, 0);
44080 return 0;
44082 _ACEOF
44083 if ac_fn_cxx_try_compile "$LINENO"; then :
44084 glibcxx_cv_func__modf_use=yes
44085 else
44086 glibcxx_cv_func__modf_use=no
44088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44089 ac_ext=c
44090 ac_cpp='$CPP $CPPFLAGS'
44091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44100 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44102 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44103 for ac_func in _modf
44104 do :
44105 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44106 if test "x$ac_cv_func__modf" = x""yes; then :
44107 cat >>confdefs.h <<_ACEOF
44108 #define HAVE__MODF 1
44109 _ACEOF
44112 done
44121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44122 $as_echo_n "checking for powf declaration... " >&6; }
44123 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44124 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44125 $as_echo_n "(cached) " >&6
44126 else
44129 ac_ext=cpp
44130 ac_cpp='$CXXCPP $CPPFLAGS'
44131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44136 /* end confdefs.h. */
44137 #include <math.h>
44139 main ()
44141 powf(0, 0);
44143 return 0;
44145 _ACEOF
44146 if ac_fn_cxx_try_compile "$LINENO"; then :
44147 glibcxx_cv_func_powf_use=yes
44148 else
44149 glibcxx_cv_func_powf_use=no
44151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44152 ac_ext=c
44153 ac_cpp='$CPP $CPPFLAGS'
44154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44163 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44165 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44166 for ac_func in powf
44167 do :
44168 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44169 if test "x$ac_cv_func_powf" = x""yes; then :
44170 cat >>confdefs.h <<_ACEOF
44171 #define HAVE_POWF 1
44172 _ACEOF
44175 done
44177 else
44179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44180 $as_echo_n "checking for _powf declaration... " >&6; }
44181 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44182 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44183 $as_echo_n "(cached) " >&6
44184 else
44187 ac_ext=cpp
44188 ac_cpp='$CXXCPP $CPPFLAGS'
44189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44194 /* end confdefs.h. */
44195 #include <math.h>
44197 main ()
44199 _powf(0, 0);
44201 return 0;
44203 _ACEOF
44204 if ac_fn_cxx_try_compile "$LINENO"; then :
44205 glibcxx_cv_func__powf_use=yes
44206 else
44207 glibcxx_cv_func__powf_use=no
44209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44210 ac_ext=c
44211 ac_cpp='$CPP $CPPFLAGS'
44212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44221 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44223 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44224 for ac_func in _powf
44225 do :
44226 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44227 if test "x$ac_cv_func__powf" = x""yes; then :
44228 cat >>confdefs.h <<_ACEOF
44229 #define HAVE__POWF 1
44230 _ACEOF
44233 done
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44243 $as_echo_n "checking for sqrtf declaration... " >&6; }
44244 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44245 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44246 $as_echo_n "(cached) " >&6
44247 else
44250 ac_ext=cpp
44251 ac_cpp='$CXXCPP $CPPFLAGS'
44252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44257 /* end confdefs.h. */
44258 #include <math.h>
44259 #ifdef HAVE_IEEEFP_H
44260 #include <ieeefp.h>
44261 #endif
44264 main ()
44266 sqrtf(0);
44268 return 0;
44270 _ACEOF
44271 if ac_fn_cxx_try_compile "$LINENO"; then :
44272 glibcxx_cv_func_sqrtf_use=yes
44273 else
44274 glibcxx_cv_func_sqrtf_use=no
44276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44277 ac_ext=c
44278 ac_cpp='$CPP $CPPFLAGS'
44279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44288 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44290 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44291 for ac_func in sqrtf
44292 do :
44293 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44294 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44295 cat >>confdefs.h <<_ACEOF
44296 #define HAVE_SQRTF 1
44297 _ACEOF
44300 done
44302 else
44304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44305 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44306 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44307 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44308 $as_echo_n "(cached) " >&6
44309 else
44312 ac_ext=cpp
44313 ac_cpp='$CXXCPP $CPPFLAGS'
44314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44319 /* end confdefs.h. */
44320 #include <math.h>
44321 #ifdef HAVE_IEEEFP_H
44322 #include <ieeefp.h>
44323 #endif
44326 main ()
44328 _sqrtf(0);
44330 return 0;
44332 _ACEOF
44333 if ac_fn_cxx_try_compile "$LINENO"; then :
44334 glibcxx_cv_func__sqrtf_use=yes
44335 else
44336 glibcxx_cv_func__sqrtf_use=no
44338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44339 ac_ext=c
44340 ac_cpp='$CPP $CPPFLAGS'
44341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44350 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44352 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44353 for ac_func in _sqrtf
44354 do :
44355 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44356 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44357 cat >>confdefs.h <<_ACEOF
44358 #define HAVE__SQRTF 1
44359 _ACEOF
44362 done
44371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44372 $as_echo_n "checking for sincosf declaration... " >&6; }
44373 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44374 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44375 $as_echo_n "(cached) " >&6
44376 else
44379 ac_ext=cpp
44380 ac_cpp='$CXXCPP $CPPFLAGS'
44381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44386 /* end confdefs.h. */
44387 #include <math.h>
44389 main ()
44391 sincosf(0, 0, 0);
44393 return 0;
44395 _ACEOF
44396 if ac_fn_cxx_try_compile "$LINENO"; then :
44397 glibcxx_cv_func_sincosf_use=yes
44398 else
44399 glibcxx_cv_func_sincosf_use=no
44401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44402 ac_ext=c
44403 ac_cpp='$CPP $CPPFLAGS'
44404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44413 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44415 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44416 for ac_func in sincosf
44417 do :
44418 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44419 if test "x$ac_cv_func_sincosf" = x""yes; then :
44420 cat >>confdefs.h <<_ACEOF
44421 #define HAVE_SINCOSF 1
44422 _ACEOF
44425 done
44427 else
44429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44430 $as_echo_n "checking for _sincosf declaration... " >&6; }
44431 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44432 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44433 $as_echo_n "(cached) " >&6
44434 else
44437 ac_ext=cpp
44438 ac_cpp='$CXXCPP $CPPFLAGS'
44439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44444 /* end confdefs.h. */
44445 #include <math.h>
44447 main ()
44449 _sincosf(0, 0, 0);
44451 return 0;
44453 _ACEOF
44454 if ac_fn_cxx_try_compile "$LINENO"; then :
44455 glibcxx_cv_func__sincosf_use=yes
44456 else
44457 glibcxx_cv_func__sincosf_use=no
44459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44460 ac_ext=c
44461 ac_cpp='$CPP $CPPFLAGS'
44462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44471 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44473 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44474 for ac_func in _sincosf
44475 do :
44476 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44477 if test "x$ac_cv_func__sincosf" = x""yes; then :
44478 cat >>confdefs.h <<_ACEOF
44479 #define HAVE__SINCOSF 1
44480 _ACEOF
44483 done
44492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44493 $as_echo_n "checking for finitef declaration... " >&6; }
44494 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44495 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44496 $as_echo_n "(cached) " >&6
44497 else
44500 ac_ext=cpp
44501 ac_cpp='$CXXCPP $CPPFLAGS'
44502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44507 /* end confdefs.h. */
44508 #include <math.h>
44509 #ifdef HAVE_IEEEFP_H
44510 #include <ieeefp.h>
44511 #endif
44514 main ()
44516 finitef(0);
44518 return 0;
44520 _ACEOF
44521 if ac_fn_cxx_try_compile "$LINENO"; then :
44522 glibcxx_cv_func_finitef_use=yes
44523 else
44524 glibcxx_cv_func_finitef_use=no
44526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44527 ac_ext=c
44528 ac_cpp='$CPP $CPPFLAGS'
44529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44538 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44540 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44541 for ac_func in finitef
44542 do :
44543 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44544 if test "x$ac_cv_func_finitef" = x""yes; then :
44545 cat >>confdefs.h <<_ACEOF
44546 #define HAVE_FINITEF 1
44547 _ACEOF
44550 done
44552 else
44554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44555 $as_echo_n "checking for _finitef declaration... " >&6; }
44556 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44557 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44558 $as_echo_n "(cached) " >&6
44559 else
44562 ac_ext=cpp
44563 ac_cpp='$CXXCPP $CPPFLAGS'
44564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44569 /* end confdefs.h. */
44570 #include <math.h>
44571 #ifdef HAVE_IEEEFP_H
44572 #include <ieeefp.h>
44573 #endif
44576 main ()
44578 _finitef(0);
44580 return 0;
44582 _ACEOF
44583 if ac_fn_cxx_try_compile "$LINENO"; then :
44584 glibcxx_cv_func__finitef_use=yes
44585 else
44586 glibcxx_cv_func__finitef_use=no
44588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44589 ac_ext=c
44590 ac_cpp='$CPP $CPPFLAGS'
44591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44600 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44602 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44603 for ac_func in _finitef
44604 do :
44605 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44606 if test "x$ac_cv_func__finitef" = x""yes; then :
44607 cat >>confdefs.h <<_ACEOF
44608 #define HAVE__FINITEF 1
44609 _ACEOF
44612 done
44621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44622 $as_echo_n "checking for long double trig functions... " >&6; }
44623 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44624 $as_echo_n "(cached) " >&6
44625 else
44628 ac_ext=cpp
44629 ac_cpp='$CXXCPP $CPPFLAGS'
44630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44635 /* end confdefs.h. */
44636 #include <math.h>
44638 main ()
44640 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44642 return 0;
44644 _ACEOF
44645 if ac_fn_cxx_try_compile "$LINENO"; then :
44646 glibcxx_cv_func_long_double_trig_use=yes
44647 else
44648 glibcxx_cv_func_long_double_trig_use=no
44650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44651 ac_ext=c
44652 ac_cpp='$CPP $CPPFLAGS'
44653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44660 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44661 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44662 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44663 do :
44664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44666 eval as_val=\$$as_ac_var
44667 if test "x$as_val" = x""yes; then :
44668 cat >>confdefs.h <<_ACEOF
44669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44670 _ACEOF
44673 done
44675 else
44676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44677 $as_echo_n "checking for _long double trig functions... " >&6; }
44678 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44679 $as_echo_n "(cached) " >&6
44680 else
44683 ac_ext=cpp
44684 ac_cpp='$CXXCPP $CPPFLAGS'
44685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44690 /* end confdefs.h. */
44691 #include <math.h>
44693 main ()
44695 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44697 return 0;
44699 _ACEOF
44700 if ac_fn_cxx_try_compile "$LINENO"; then :
44701 glibcxx_cv_func__long_double_trig_use=yes
44702 else
44703 glibcxx_cv_func__long_double_trig_use=no
44705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44706 ac_ext=c
44707 ac_cpp='$CPP $CPPFLAGS'
44708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44715 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44716 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44717 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44718 do :
44719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44721 eval as_val=\$$as_ac_var
44722 if test "x$as_val" = x""yes; then :
44723 cat >>confdefs.h <<_ACEOF
44724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44725 _ACEOF
44728 done
44737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44738 $as_echo_n "checking for long double round functions... " >&6; }
44739 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44740 $as_echo_n "(cached) " >&6
44741 else
44744 ac_ext=cpp
44745 ac_cpp='$CXXCPP $CPPFLAGS'
44746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44751 /* end confdefs.h. */
44752 #include <math.h>
44754 main ()
44756 ceill (0); floorl (0);
44758 return 0;
44760 _ACEOF
44761 if ac_fn_cxx_try_compile "$LINENO"; then :
44762 glibcxx_cv_func_long_double_round_use=yes
44763 else
44764 glibcxx_cv_func_long_double_round_use=no
44766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44767 ac_ext=c
44768 ac_cpp='$CPP $CPPFLAGS'
44769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44776 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44777 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44778 for ac_func in ceill floorl
44779 do :
44780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44782 eval as_val=\$$as_ac_var
44783 if test "x$as_val" = x""yes; then :
44784 cat >>confdefs.h <<_ACEOF
44785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44786 _ACEOF
44789 done
44791 else
44792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44793 $as_echo_n "checking for _long double round functions... " >&6; }
44794 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44795 $as_echo_n "(cached) " >&6
44796 else
44799 ac_ext=cpp
44800 ac_cpp='$CXXCPP $CPPFLAGS'
44801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44806 /* end confdefs.h. */
44807 #include <math.h>
44809 main ()
44811 _ceill (0); _floorl (0);
44813 return 0;
44815 _ACEOF
44816 if ac_fn_cxx_try_compile "$LINENO"; then :
44817 glibcxx_cv_func__long_double_round_use=yes
44818 else
44819 glibcxx_cv_func__long_double_round_use=no
44821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44822 ac_ext=c
44823 ac_cpp='$CPP $CPPFLAGS'
44824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44831 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44832 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44833 for ac_func in _ceill _floorl
44834 do :
44835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44837 eval as_val=\$$as_ac_var
44838 if test "x$as_val" = x""yes; then :
44839 cat >>confdefs.h <<_ACEOF
44840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44841 _ACEOF
44844 done
44854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44855 $as_echo_n "checking for isnanl declaration... " >&6; }
44856 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44857 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44858 $as_echo_n "(cached) " >&6
44859 else
44862 ac_ext=cpp
44863 ac_cpp='$CXXCPP $CPPFLAGS'
44864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44869 /* end confdefs.h. */
44870 #include <math.h>
44871 #ifdef HAVE_IEEEFP_H
44872 #include <ieeefp.h>
44873 #endif
44876 main ()
44878 isnanl(0);
44880 return 0;
44882 _ACEOF
44883 if ac_fn_cxx_try_compile "$LINENO"; then :
44884 glibcxx_cv_func_isnanl_use=yes
44885 else
44886 glibcxx_cv_func_isnanl_use=no
44888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44889 ac_ext=c
44890 ac_cpp='$CPP $CPPFLAGS'
44891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44900 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44902 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44903 for ac_func in isnanl
44904 do :
44905 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44906 if test "x$ac_cv_func_isnanl" = x""yes; then :
44907 cat >>confdefs.h <<_ACEOF
44908 #define HAVE_ISNANL 1
44909 _ACEOF
44912 done
44914 else
44916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44917 $as_echo_n "checking for _isnanl declaration... " >&6; }
44918 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44919 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44920 $as_echo_n "(cached) " >&6
44921 else
44924 ac_ext=cpp
44925 ac_cpp='$CXXCPP $CPPFLAGS'
44926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44931 /* end confdefs.h. */
44932 #include <math.h>
44933 #ifdef HAVE_IEEEFP_H
44934 #include <ieeefp.h>
44935 #endif
44938 main ()
44940 _isnanl(0);
44942 return 0;
44944 _ACEOF
44945 if ac_fn_cxx_try_compile "$LINENO"; then :
44946 glibcxx_cv_func__isnanl_use=yes
44947 else
44948 glibcxx_cv_func__isnanl_use=no
44950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44951 ac_ext=c
44952 ac_cpp='$CPP $CPPFLAGS'
44953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44962 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44964 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44965 for ac_func in _isnanl
44966 do :
44967 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44968 if test "x$ac_cv_func__isnanl" = x""yes; then :
44969 cat >>confdefs.h <<_ACEOF
44970 #define HAVE__ISNANL 1
44971 _ACEOF
44974 done
44983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44984 $as_echo_n "checking for isinfl declaration... " >&6; }
44985 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44986 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44987 $as_echo_n "(cached) " >&6
44988 else
44991 ac_ext=cpp
44992 ac_cpp='$CXXCPP $CPPFLAGS'
44993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44998 /* end confdefs.h. */
44999 #include <math.h>
45000 #ifdef HAVE_IEEEFP_H
45001 #include <ieeefp.h>
45002 #endif
45005 main ()
45007 isinfl(0);
45009 return 0;
45011 _ACEOF
45012 if ac_fn_cxx_try_compile "$LINENO"; then :
45013 glibcxx_cv_func_isinfl_use=yes
45014 else
45015 glibcxx_cv_func_isinfl_use=no
45017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45018 ac_ext=c
45019 ac_cpp='$CPP $CPPFLAGS'
45020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45029 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45031 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45032 for ac_func in isinfl
45033 do :
45034 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45035 if test "x$ac_cv_func_isinfl" = x""yes; then :
45036 cat >>confdefs.h <<_ACEOF
45037 #define HAVE_ISINFL 1
45038 _ACEOF
45041 done
45043 else
45045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45046 $as_echo_n "checking for _isinfl declaration... " >&6; }
45047 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45048 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45049 $as_echo_n "(cached) " >&6
45050 else
45053 ac_ext=cpp
45054 ac_cpp='$CXXCPP $CPPFLAGS'
45055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45060 /* end confdefs.h. */
45061 #include <math.h>
45062 #ifdef HAVE_IEEEFP_H
45063 #include <ieeefp.h>
45064 #endif
45067 main ()
45069 _isinfl(0);
45071 return 0;
45073 _ACEOF
45074 if ac_fn_cxx_try_compile "$LINENO"; then :
45075 glibcxx_cv_func__isinfl_use=yes
45076 else
45077 glibcxx_cv_func__isinfl_use=no
45079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45080 ac_ext=c
45081 ac_cpp='$CPP $CPPFLAGS'
45082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45091 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45093 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45094 for ac_func in _isinfl
45095 do :
45096 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45097 if test "x$ac_cv_func__isinfl" = x""yes; then :
45098 cat >>confdefs.h <<_ACEOF
45099 #define HAVE__ISINFL 1
45100 _ACEOF
45103 done
45112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45113 $as_echo_n "checking for atan2l declaration... " >&6; }
45114 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45115 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45116 $as_echo_n "(cached) " >&6
45117 else
45120 ac_ext=cpp
45121 ac_cpp='$CXXCPP $CPPFLAGS'
45122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45127 /* end confdefs.h. */
45128 #include <math.h>
45130 main ()
45132 atan2l(0, 0);
45134 return 0;
45136 _ACEOF
45137 if ac_fn_cxx_try_compile "$LINENO"; then :
45138 glibcxx_cv_func_atan2l_use=yes
45139 else
45140 glibcxx_cv_func_atan2l_use=no
45142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45143 ac_ext=c
45144 ac_cpp='$CPP $CPPFLAGS'
45145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45154 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45156 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45157 for ac_func in atan2l
45158 do :
45159 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45160 if test "x$ac_cv_func_atan2l" = x""yes; then :
45161 cat >>confdefs.h <<_ACEOF
45162 #define HAVE_ATAN2L 1
45163 _ACEOF
45166 done
45168 else
45170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45171 $as_echo_n "checking for _atan2l declaration... " >&6; }
45172 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45173 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45174 $as_echo_n "(cached) " >&6
45175 else
45178 ac_ext=cpp
45179 ac_cpp='$CXXCPP $CPPFLAGS'
45180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45185 /* end confdefs.h. */
45186 #include <math.h>
45188 main ()
45190 _atan2l(0, 0);
45192 return 0;
45194 _ACEOF
45195 if ac_fn_cxx_try_compile "$LINENO"; then :
45196 glibcxx_cv_func__atan2l_use=yes
45197 else
45198 glibcxx_cv_func__atan2l_use=no
45200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45201 ac_ext=c
45202 ac_cpp='$CPP $CPPFLAGS'
45203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45212 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45214 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45215 for ac_func in _atan2l
45216 do :
45217 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45218 if test "x$ac_cv_func__atan2l" = x""yes; then :
45219 cat >>confdefs.h <<_ACEOF
45220 #define HAVE__ATAN2L 1
45221 _ACEOF
45224 done
45233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45234 $as_echo_n "checking for expl declaration... " >&6; }
45235 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45236 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45237 $as_echo_n "(cached) " >&6
45238 else
45241 ac_ext=cpp
45242 ac_cpp='$CXXCPP $CPPFLAGS'
45243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45248 /* end confdefs.h. */
45249 #include <math.h>
45250 #ifdef HAVE_IEEEFP_H
45251 #include <ieeefp.h>
45252 #endif
45255 main ()
45257 expl(0);
45259 return 0;
45261 _ACEOF
45262 if ac_fn_cxx_try_compile "$LINENO"; then :
45263 glibcxx_cv_func_expl_use=yes
45264 else
45265 glibcxx_cv_func_expl_use=no
45267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45268 ac_ext=c
45269 ac_cpp='$CPP $CPPFLAGS'
45270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45279 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45281 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45282 for ac_func in expl
45283 do :
45284 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45285 if test "x$ac_cv_func_expl" = x""yes; then :
45286 cat >>confdefs.h <<_ACEOF
45287 #define HAVE_EXPL 1
45288 _ACEOF
45291 done
45293 else
45295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45296 $as_echo_n "checking for _expl declaration... " >&6; }
45297 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45298 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45299 $as_echo_n "(cached) " >&6
45300 else
45303 ac_ext=cpp
45304 ac_cpp='$CXXCPP $CPPFLAGS'
45305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45310 /* end confdefs.h. */
45311 #include <math.h>
45312 #ifdef HAVE_IEEEFP_H
45313 #include <ieeefp.h>
45314 #endif
45317 main ()
45319 _expl(0);
45321 return 0;
45323 _ACEOF
45324 if ac_fn_cxx_try_compile "$LINENO"; then :
45325 glibcxx_cv_func__expl_use=yes
45326 else
45327 glibcxx_cv_func__expl_use=no
45329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45330 ac_ext=c
45331 ac_cpp='$CPP $CPPFLAGS'
45332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45341 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45343 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45344 for ac_func in _expl
45345 do :
45346 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45347 if test "x$ac_cv_func__expl" = x""yes; then :
45348 cat >>confdefs.h <<_ACEOF
45349 #define HAVE__EXPL 1
45350 _ACEOF
45353 done
45362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45363 $as_echo_n "checking for fabsl declaration... " >&6; }
45364 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45365 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45366 $as_echo_n "(cached) " >&6
45367 else
45370 ac_ext=cpp
45371 ac_cpp='$CXXCPP $CPPFLAGS'
45372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45377 /* end confdefs.h. */
45378 #include <math.h>
45379 #ifdef HAVE_IEEEFP_H
45380 #include <ieeefp.h>
45381 #endif
45384 main ()
45386 fabsl(0);
45388 return 0;
45390 _ACEOF
45391 if ac_fn_cxx_try_compile "$LINENO"; then :
45392 glibcxx_cv_func_fabsl_use=yes
45393 else
45394 glibcxx_cv_func_fabsl_use=no
45396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45397 ac_ext=c
45398 ac_cpp='$CPP $CPPFLAGS'
45399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45408 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45410 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45411 for ac_func in fabsl
45412 do :
45413 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45414 if test "x$ac_cv_func_fabsl" = x""yes; then :
45415 cat >>confdefs.h <<_ACEOF
45416 #define HAVE_FABSL 1
45417 _ACEOF
45420 done
45422 else
45424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45425 $as_echo_n "checking for _fabsl declaration... " >&6; }
45426 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45427 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45428 $as_echo_n "(cached) " >&6
45429 else
45432 ac_ext=cpp
45433 ac_cpp='$CXXCPP $CPPFLAGS'
45434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45439 /* end confdefs.h. */
45440 #include <math.h>
45441 #ifdef HAVE_IEEEFP_H
45442 #include <ieeefp.h>
45443 #endif
45446 main ()
45448 _fabsl(0);
45450 return 0;
45452 _ACEOF
45453 if ac_fn_cxx_try_compile "$LINENO"; then :
45454 glibcxx_cv_func__fabsl_use=yes
45455 else
45456 glibcxx_cv_func__fabsl_use=no
45458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45459 ac_ext=c
45460 ac_cpp='$CPP $CPPFLAGS'
45461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45470 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45472 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45473 for ac_func in _fabsl
45474 do :
45475 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45476 if test "x$ac_cv_func__fabsl" = x""yes; then :
45477 cat >>confdefs.h <<_ACEOF
45478 #define HAVE__FABSL 1
45479 _ACEOF
45482 done
45491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45492 $as_echo_n "checking for fmodl declaration... " >&6; }
45493 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45494 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45495 $as_echo_n "(cached) " >&6
45496 else
45499 ac_ext=cpp
45500 ac_cpp='$CXXCPP $CPPFLAGS'
45501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45506 /* end confdefs.h. */
45507 #include <math.h>
45509 main ()
45511 fmodl(0, 0);
45513 return 0;
45515 _ACEOF
45516 if ac_fn_cxx_try_compile "$LINENO"; then :
45517 glibcxx_cv_func_fmodl_use=yes
45518 else
45519 glibcxx_cv_func_fmodl_use=no
45521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45522 ac_ext=c
45523 ac_cpp='$CPP $CPPFLAGS'
45524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45533 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45535 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45536 for ac_func in fmodl
45537 do :
45538 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45539 if test "x$ac_cv_func_fmodl" = x""yes; then :
45540 cat >>confdefs.h <<_ACEOF
45541 #define HAVE_FMODL 1
45542 _ACEOF
45545 done
45547 else
45549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45550 $as_echo_n "checking for _fmodl declaration... " >&6; }
45551 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45552 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45553 $as_echo_n "(cached) " >&6
45554 else
45557 ac_ext=cpp
45558 ac_cpp='$CXXCPP $CPPFLAGS'
45559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45564 /* end confdefs.h. */
45565 #include <math.h>
45567 main ()
45569 _fmodl(0, 0);
45571 return 0;
45573 _ACEOF
45574 if ac_fn_cxx_try_compile "$LINENO"; then :
45575 glibcxx_cv_func__fmodl_use=yes
45576 else
45577 glibcxx_cv_func__fmodl_use=no
45579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45580 ac_ext=c
45581 ac_cpp='$CPP $CPPFLAGS'
45582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45591 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45593 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45594 for ac_func in _fmodl
45595 do :
45596 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45597 if test "x$ac_cv_func__fmodl" = x""yes; then :
45598 cat >>confdefs.h <<_ACEOF
45599 #define HAVE__FMODL 1
45600 _ACEOF
45603 done
45612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45613 $as_echo_n "checking for frexpl declaration... " >&6; }
45614 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45615 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45616 $as_echo_n "(cached) " >&6
45617 else
45620 ac_ext=cpp
45621 ac_cpp='$CXXCPP $CPPFLAGS'
45622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45627 /* end confdefs.h. */
45628 #include <math.h>
45630 main ()
45632 frexpl(0, 0);
45634 return 0;
45636 _ACEOF
45637 if ac_fn_cxx_try_compile "$LINENO"; then :
45638 glibcxx_cv_func_frexpl_use=yes
45639 else
45640 glibcxx_cv_func_frexpl_use=no
45642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45643 ac_ext=c
45644 ac_cpp='$CPP $CPPFLAGS'
45645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45654 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45656 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45657 for ac_func in frexpl
45658 do :
45659 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45660 if test "x$ac_cv_func_frexpl" = x""yes; then :
45661 cat >>confdefs.h <<_ACEOF
45662 #define HAVE_FREXPL 1
45663 _ACEOF
45666 done
45668 else
45670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45671 $as_echo_n "checking for _frexpl declaration... " >&6; }
45672 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45673 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45674 $as_echo_n "(cached) " >&6
45675 else
45678 ac_ext=cpp
45679 ac_cpp='$CXXCPP $CPPFLAGS'
45680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45685 /* end confdefs.h. */
45686 #include <math.h>
45688 main ()
45690 _frexpl(0, 0);
45692 return 0;
45694 _ACEOF
45695 if ac_fn_cxx_try_compile "$LINENO"; then :
45696 glibcxx_cv_func__frexpl_use=yes
45697 else
45698 glibcxx_cv_func__frexpl_use=no
45700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45701 ac_ext=c
45702 ac_cpp='$CPP $CPPFLAGS'
45703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45712 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45714 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45715 for ac_func in _frexpl
45716 do :
45717 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45718 if test "x$ac_cv_func__frexpl" = x""yes; then :
45719 cat >>confdefs.h <<_ACEOF
45720 #define HAVE__FREXPL 1
45721 _ACEOF
45724 done
45733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45734 $as_echo_n "checking for hypotl declaration... " >&6; }
45735 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45736 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45737 $as_echo_n "(cached) " >&6
45738 else
45741 ac_ext=cpp
45742 ac_cpp='$CXXCPP $CPPFLAGS'
45743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45748 /* end confdefs.h. */
45749 #include <math.h>
45751 main ()
45753 hypotl(0, 0);
45755 return 0;
45757 _ACEOF
45758 if ac_fn_cxx_try_compile "$LINENO"; then :
45759 glibcxx_cv_func_hypotl_use=yes
45760 else
45761 glibcxx_cv_func_hypotl_use=no
45763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45764 ac_ext=c
45765 ac_cpp='$CPP $CPPFLAGS'
45766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45775 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45777 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45778 for ac_func in hypotl
45779 do :
45780 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45781 if test "x$ac_cv_func_hypotl" = x""yes; then :
45782 cat >>confdefs.h <<_ACEOF
45783 #define HAVE_HYPOTL 1
45784 _ACEOF
45787 done
45789 else
45791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45792 $as_echo_n "checking for _hypotl declaration... " >&6; }
45793 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45794 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45795 $as_echo_n "(cached) " >&6
45796 else
45799 ac_ext=cpp
45800 ac_cpp='$CXXCPP $CPPFLAGS'
45801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45806 /* end confdefs.h. */
45807 #include <math.h>
45809 main ()
45811 _hypotl(0, 0);
45813 return 0;
45815 _ACEOF
45816 if ac_fn_cxx_try_compile "$LINENO"; then :
45817 glibcxx_cv_func__hypotl_use=yes
45818 else
45819 glibcxx_cv_func__hypotl_use=no
45821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45822 ac_ext=c
45823 ac_cpp='$CPP $CPPFLAGS'
45824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45833 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45835 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45836 for ac_func in _hypotl
45837 do :
45838 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45839 if test "x$ac_cv_func__hypotl" = x""yes; then :
45840 cat >>confdefs.h <<_ACEOF
45841 #define HAVE__HYPOTL 1
45842 _ACEOF
45845 done
45854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45855 $as_echo_n "checking for ldexpl declaration... " >&6; }
45856 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45857 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45858 $as_echo_n "(cached) " >&6
45859 else
45862 ac_ext=cpp
45863 ac_cpp='$CXXCPP $CPPFLAGS'
45864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45869 /* end confdefs.h. */
45870 #include <math.h>
45872 main ()
45874 ldexpl(0, 0);
45876 return 0;
45878 _ACEOF
45879 if ac_fn_cxx_try_compile "$LINENO"; then :
45880 glibcxx_cv_func_ldexpl_use=yes
45881 else
45882 glibcxx_cv_func_ldexpl_use=no
45884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45885 ac_ext=c
45886 ac_cpp='$CPP $CPPFLAGS'
45887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45896 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45898 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45899 for ac_func in ldexpl
45900 do :
45901 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45902 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45903 cat >>confdefs.h <<_ACEOF
45904 #define HAVE_LDEXPL 1
45905 _ACEOF
45908 done
45910 else
45912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45913 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45914 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45915 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45916 $as_echo_n "(cached) " >&6
45917 else
45920 ac_ext=cpp
45921 ac_cpp='$CXXCPP $CPPFLAGS'
45922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45927 /* end confdefs.h. */
45928 #include <math.h>
45930 main ()
45932 _ldexpl(0, 0);
45934 return 0;
45936 _ACEOF
45937 if ac_fn_cxx_try_compile "$LINENO"; then :
45938 glibcxx_cv_func__ldexpl_use=yes
45939 else
45940 glibcxx_cv_func__ldexpl_use=no
45942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45943 ac_ext=c
45944 ac_cpp='$CPP $CPPFLAGS'
45945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45954 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45956 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45957 for ac_func in _ldexpl
45958 do :
45959 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45960 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45961 cat >>confdefs.h <<_ACEOF
45962 #define HAVE__LDEXPL 1
45963 _ACEOF
45966 done
45975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45976 $as_echo_n "checking for logl declaration... " >&6; }
45977 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45978 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45979 $as_echo_n "(cached) " >&6
45980 else
45983 ac_ext=cpp
45984 ac_cpp='$CXXCPP $CPPFLAGS'
45985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45990 /* end confdefs.h. */
45991 #include <math.h>
45992 #ifdef HAVE_IEEEFP_H
45993 #include <ieeefp.h>
45994 #endif
45997 main ()
45999 logl(0);
46001 return 0;
46003 _ACEOF
46004 if ac_fn_cxx_try_compile "$LINENO"; then :
46005 glibcxx_cv_func_logl_use=yes
46006 else
46007 glibcxx_cv_func_logl_use=no
46009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46010 ac_ext=c
46011 ac_cpp='$CPP $CPPFLAGS'
46012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46021 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46023 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46024 for ac_func in logl
46025 do :
46026 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46027 if test "x$ac_cv_func_logl" = x""yes; then :
46028 cat >>confdefs.h <<_ACEOF
46029 #define HAVE_LOGL 1
46030 _ACEOF
46033 done
46035 else
46037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46038 $as_echo_n "checking for _logl declaration... " >&6; }
46039 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46040 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46041 $as_echo_n "(cached) " >&6
46042 else
46045 ac_ext=cpp
46046 ac_cpp='$CXXCPP $CPPFLAGS'
46047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46052 /* end confdefs.h. */
46053 #include <math.h>
46054 #ifdef HAVE_IEEEFP_H
46055 #include <ieeefp.h>
46056 #endif
46059 main ()
46061 _logl(0);
46063 return 0;
46065 _ACEOF
46066 if ac_fn_cxx_try_compile "$LINENO"; then :
46067 glibcxx_cv_func__logl_use=yes
46068 else
46069 glibcxx_cv_func__logl_use=no
46071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46072 ac_ext=c
46073 ac_cpp='$CPP $CPPFLAGS'
46074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46083 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46085 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46086 for ac_func in _logl
46087 do :
46088 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46089 if test "x$ac_cv_func__logl" = x""yes; then :
46090 cat >>confdefs.h <<_ACEOF
46091 #define HAVE__LOGL 1
46092 _ACEOF
46095 done
46104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46105 $as_echo_n "checking for log10l declaration... " >&6; }
46106 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46107 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46108 $as_echo_n "(cached) " >&6
46109 else
46112 ac_ext=cpp
46113 ac_cpp='$CXXCPP $CPPFLAGS'
46114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46119 /* end confdefs.h. */
46120 #include <math.h>
46121 #ifdef HAVE_IEEEFP_H
46122 #include <ieeefp.h>
46123 #endif
46126 main ()
46128 log10l(0);
46130 return 0;
46132 _ACEOF
46133 if ac_fn_cxx_try_compile "$LINENO"; then :
46134 glibcxx_cv_func_log10l_use=yes
46135 else
46136 glibcxx_cv_func_log10l_use=no
46138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46139 ac_ext=c
46140 ac_cpp='$CPP $CPPFLAGS'
46141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46150 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46152 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46153 for ac_func in log10l
46154 do :
46155 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46156 if test "x$ac_cv_func_log10l" = x""yes; then :
46157 cat >>confdefs.h <<_ACEOF
46158 #define HAVE_LOG10L 1
46159 _ACEOF
46162 done
46164 else
46166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46167 $as_echo_n "checking for _log10l declaration... " >&6; }
46168 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46169 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46170 $as_echo_n "(cached) " >&6
46171 else
46174 ac_ext=cpp
46175 ac_cpp='$CXXCPP $CPPFLAGS'
46176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46181 /* end confdefs.h. */
46182 #include <math.h>
46183 #ifdef HAVE_IEEEFP_H
46184 #include <ieeefp.h>
46185 #endif
46188 main ()
46190 _log10l(0);
46192 return 0;
46194 _ACEOF
46195 if ac_fn_cxx_try_compile "$LINENO"; then :
46196 glibcxx_cv_func__log10l_use=yes
46197 else
46198 glibcxx_cv_func__log10l_use=no
46200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46201 ac_ext=c
46202 ac_cpp='$CPP $CPPFLAGS'
46203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46212 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46214 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46215 for ac_func in _log10l
46216 do :
46217 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46218 if test "x$ac_cv_func__log10l" = x""yes; then :
46219 cat >>confdefs.h <<_ACEOF
46220 #define HAVE__LOG10L 1
46221 _ACEOF
46224 done
46233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46234 $as_echo_n "checking for modfl declaration... " >&6; }
46235 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46236 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46237 $as_echo_n "(cached) " >&6
46238 else
46241 ac_ext=cpp
46242 ac_cpp='$CXXCPP $CPPFLAGS'
46243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46248 /* end confdefs.h. */
46249 #include <math.h>
46251 main ()
46253 modfl(0, 0);
46255 return 0;
46257 _ACEOF
46258 if ac_fn_cxx_try_compile "$LINENO"; then :
46259 glibcxx_cv_func_modfl_use=yes
46260 else
46261 glibcxx_cv_func_modfl_use=no
46263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46264 ac_ext=c
46265 ac_cpp='$CPP $CPPFLAGS'
46266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46275 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46277 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46278 for ac_func in modfl
46279 do :
46280 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46281 if test "x$ac_cv_func_modfl" = x""yes; then :
46282 cat >>confdefs.h <<_ACEOF
46283 #define HAVE_MODFL 1
46284 _ACEOF
46287 done
46289 else
46291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46292 $as_echo_n "checking for _modfl declaration... " >&6; }
46293 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46294 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46295 $as_echo_n "(cached) " >&6
46296 else
46299 ac_ext=cpp
46300 ac_cpp='$CXXCPP $CPPFLAGS'
46301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46306 /* end confdefs.h. */
46307 #include <math.h>
46309 main ()
46311 _modfl(0, 0);
46313 return 0;
46315 _ACEOF
46316 if ac_fn_cxx_try_compile "$LINENO"; then :
46317 glibcxx_cv_func__modfl_use=yes
46318 else
46319 glibcxx_cv_func__modfl_use=no
46321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46322 ac_ext=c
46323 ac_cpp='$CPP $CPPFLAGS'
46324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46333 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46335 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46336 for ac_func in _modfl
46337 do :
46338 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46339 if test "x$ac_cv_func__modfl" = x""yes; then :
46340 cat >>confdefs.h <<_ACEOF
46341 #define HAVE__MODFL 1
46342 _ACEOF
46345 done
46354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46355 $as_echo_n "checking for powl declaration... " >&6; }
46356 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46357 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46358 $as_echo_n "(cached) " >&6
46359 else
46362 ac_ext=cpp
46363 ac_cpp='$CXXCPP $CPPFLAGS'
46364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46369 /* end confdefs.h. */
46370 #include <math.h>
46372 main ()
46374 powl(0, 0);
46376 return 0;
46378 _ACEOF
46379 if ac_fn_cxx_try_compile "$LINENO"; then :
46380 glibcxx_cv_func_powl_use=yes
46381 else
46382 glibcxx_cv_func_powl_use=no
46384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46385 ac_ext=c
46386 ac_cpp='$CPP $CPPFLAGS'
46387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46396 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46398 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46399 for ac_func in powl
46400 do :
46401 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46402 if test "x$ac_cv_func_powl" = x""yes; then :
46403 cat >>confdefs.h <<_ACEOF
46404 #define HAVE_POWL 1
46405 _ACEOF
46408 done
46410 else
46412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46413 $as_echo_n "checking for _powl declaration... " >&6; }
46414 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46415 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46416 $as_echo_n "(cached) " >&6
46417 else
46420 ac_ext=cpp
46421 ac_cpp='$CXXCPP $CPPFLAGS'
46422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46427 /* end confdefs.h. */
46428 #include <math.h>
46430 main ()
46432 _powl(0, 0);
46434 return 0;
46436 _ACEOF
46437 if ac_fn_cxx_try_compile "$LINENO"; then :
46438 glibcxx_cv_func__powl_use=yes
46439 else
46440 glibcxx_cv_func__powl_use=no
46442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46443 ac_ext=c
46444 ac_cpp='$CPP $CPPFLAGS'
46445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46454 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46456 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46457 for ac_func in _powl
46458 do :
46459 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46460 if test "x$ac_cv_func__powl" = x""yes; then :
46461 cat >>confdefs.h <<_ACEOF
46462 #define HAVE__POWL 1
46463 _ACEOF
46466 done
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46476 $as_echo_n "checking for sqrtl declaration... " >&6; }
46477 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46478 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46479 $as_echo_n "(cached) " >&6
46480 else
46483 ac_ext=cpp
46484 ac_cpp='$CXXCPP $CPPFLAGS'
46485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46490 /* end confdefs.h. */
46491 #include <math.h>
46492 #ifdef HAVE_IEEEFP_H
46493 #include <ieeefp.h>
46494 #endif
46497 main ()
46499 sqrtl(0);
46501 return 0;
46503 _ACEOF
46504 if ac_fn_cxx_try_compile "$LINENO"; then :
46505 glibcxx_cv_func_sqrtl_use=yes
46506 else
46507 glibcxx_cv_func_sqrtl_use=no
46509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46510 ac_ext=c
46511 ac_cpp='$CPP $CPPFLAGS'
46512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46521 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46523 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46524 for ac_func in sqrtl
46525 do :
46526 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46527 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46528 cat >>confdefs.h <<_ACEOF
46529 #define HAVE_SQRTL 1
46530 _ACEOF
46533 done
46535 else
46537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46538 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46539 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46540 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46541 $as_echo_n "(cached) " >&6
46542 else
46545 ac_ext=cpp
46546 ac_cpp='$CXXCPP $CPPFLAGS'
46547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46552 /* end confdefs.h. */
46553 #include <math.h>
46554 #ifdef HAVE_IEEEFP_H
46555 #include <ieeefp.h>
46556 #endif
46559 main ()
46561 _sqrtl(0);
46563 return 0;
46565 _ACEOF
46566 if ac_fn_cxx_try_compile "$LINENO"; then :
46567 glibcxx_cv_func__sqrtl_use=yes
46568 else
46569 glibcxx_cv_func__sqrtl_use=no
46571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46572 ac_ext=c
46573 ac_cpp='$CPP $CPPFLAGS'
46574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46583 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46585 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46586 for ac_func in _sqrtl
46587 do :
46588 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46589 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46590 cat >>confdefs.h <<_ACEOF
46591 #define HAVE__SQRTL 1
46592 _ACEOF
46595 done
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46605 $as_echo_n "checking for sincosl declaration... " >&6; }
46606 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46607 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46608 $as_echo_n "(cached) " >&6
46609 else
46612 ac_ext=cpp
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46619 /* end confdefs.h. */
46620 #include <math.h>
46622 main ()
46624 sincosl(0, 0, 0);
46626 return 0;
46628 _ACEOF
46629 if ac_fn_cxx_try_compile "$LINENO"; then :
46630 glibcxx_cv_func_sincosl_use=yes
46631 else
46632 glibcxx_cv_func_sincosl_use=no
46634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46635 ac_ext=c
46636 ac_cpp='$CPP $CPPFLAGS'
46637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46646 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46648 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46649 for ac_func in sincosl
46650 do :
46651 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46652 if test "x$ac_cv_func_sincosl" = x""yes; then :
46653 cat >>confdefs.h <<_ACEOF
46654 #define HAVE_SINCOSL 1
46655 _ACEOF
46658 done
46660 else
46662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46663 $as_echo_n "checking for _sincosl declaration... " >&6; }
46664 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46665 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46666 $as_echo_n "(cached) " >&6
46667 else
46670 ac_ext=cpp
46671 ac_cpp='$CXXCPP $CPPFLAGS'
46672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46677 /* end confdefs.h. */
46678 #include <math.h>
46680 main ()
46682 _sincosl(0, 0, 0);
46684 return 0;
46686 _ACEOF
46687 if ac_fn_cxx_try_compile "$LINENO"; then :
46688 glibcxx_cv_func__sincosl_use=yes
46689 else
46690 glibcxx_cv_func__sincosl_use=no
46692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46693 ac_ext=c
46694 ac_cpp='$CPP $CPPFLAGS'
46695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46704 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46706 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46707 for ac_func in _sincosl
46708 do :
46709 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46710 if test "x$ac_cv_func__sincosl" = x""yes; then :
46711 cat >>confdefs.h <<_ACEOF
46712 #define HAVE__SINCOSL 1
46713 _ACEOF
46716 done
46725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46726 $as_echo_n "checking for finitel declaration... " >&6; }
46727 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46728 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46729 $as_echo_n "(cached) " >&6
46730 else
46733 ac_ext=cpp
46734 ac_cpp='$CXXCPP $CPPFLAGS'
46735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46740 /* end confdefs.h. */
46741 #include <math.h>
46742 #ifdef HAVE_IEEEFP_H
46743 #include <ieeefp.h>
46744 #endif
46747 main ()
46749 finitel(0);
46751 return 0;
46753 _ACEOF
46754 if ac_fn_cxx_try_compile "$LINENO"; then :
46755 glibcxx_cv_func_finitel_use=yes
46756 else
46757 glibcxx_cv_func_finitel_use=no
46759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46760 ac_ext=c
46761 ac_cpp='$CPP $CPPFLAGS'
46762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46771 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46773 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46774 for ac_func in finitel
46775 do :
46776 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46777 if test "x$ac_cv_func_finitel" = x""yes; then :
46778 cat >>confdefs.h <<_ACEOF
46779 #define HAVE_FINITEL 1
46780 _ACEOF
46783 done
46785 else
46787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46788 $as_echo_n "checking for _finitel declaration... " >&6; }
46789 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46790 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46791 $as_echo_n "(cached) " >&6
46792 else
46795 ac_ext=cpp
46796 ac_cpp='$CXXCPP $CPPFLAGS'
46797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46802 /* end confdefs.h. */
46803 #include <math.h>
46804 #ifdef HAVE_IEEEFP_H
46805 #include <ieeefp.h>
46806 #endif
46809 main ()
46811 _finitel(0);
46813 return 0;
46815 _ACEOF
46816 if ac_fn_cxx_try_compile "$LINENO"; then :
46817 glibcxx_cv_func__finitel_use=yes
46818 else
46819 glibcxx_cv_func__finitel_use=no
46821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46822 ac_ext=c
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46833 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46835 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46836 for ac_func in _finitel
46837 do :
46838 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46839 if test "x$ac_cv_func__finitel" = x""yes; then :
46840 cat >>confdefs.h <<_ACEOF
46841 #define HAVE__FINITEL 1
46842 _ACEOF
46845 done
46853 LIBS="$ac_save_LIBS"
46854 CXXFLAGS="$ac_save_CXXFLAGS"
46857 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46858 ac_save_CXXFLAGS="$CXXFLAGS"
46859 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46863 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46864 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46865 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46866 $as_echo_n "(cached) " >&6
46867 else
46870 ac_ext=cpp
46871 ac_cpp='$CXXCPP $CPPFLAGS'
46872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46877 /* end confdefs.h. */
46878 #include <stdlib.h>
46880 main ()
46882 at_quick_exit(0);
46884 return 0;
46886 _ACEOF
46887 if ac_fn_cxx_try_compile "$LINENO"; then :
46888 glibcxx_cv_func_at_quick_exit_use=yes
46889 else
46890 glibcxx_cv_func_at_quick_exit_use=no
46892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46893 ac_ext=c
46894 ac_cpp='$CPP $CPPFLAGS'
46895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46904 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46905 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46906 for ac_func in at_quick_exit
46907 do :
46908 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46909 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46910 cat >>confdefs.h <<_ACEOF
46911 #define HAVE_AT_QUICK_EXIT 1
46912 _ACEOF
46915 done
46920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46921 $as_echo_n "checking for quick_exit declaration... " >&6; }
46922 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46923 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46924 $as_echo_n "(cached) " >&6
46925 else
46928 ac_ext=cpp
46929 ac_cpp='$CXXCPP $CPPFLAGS'
46930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46935 /* end confdefs.h. */
46936 #include <stdlib.h>
46938 main ()
46940 quick_exit(0);
46942 return 0;
46944 _ACEOF
46945 if ac_fn_cxx_try_compile "$LINENO"; then :
46946 glibcxx_cv_func_quick_exit_use=yes
46947 else
46948 glibcxx_cv_func_quick_exit_use=no
46950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46951 ac_ext=c
46952 ac_cpp='$CPP $CPPFLAGS'
46953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46962 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46963 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46964 for ac_func in quick_exit
46965 do :
46966 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46967 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46968 cat >>confdefs.h <<_ACEOF
46969 #define HAVE_QUICK_EXIT 1
46970 _ACEOF
46973 done
46978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46979 $as_echo_n "checking for strtold declaration... " >&6; }
46980 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46981 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46982 $as_echo_n "(cached) " >&6
46983 else
46986 ac_ext=cpp
46987 ac_cpp='$CXXCPP $CPPFLAGS'
46988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46993 /* end confdefs.h. */
46994 #include <stdlib.h>
46996 main ()
46998 strtold(0, 0);
47000 return 0;
47002 _ACEOF
47003 if ac_fn_cxx_try_compile "$LINENO"; then :
47004 glibcxx_cv_func_strtold_use=yes
47005 else
47006 glibcxx_cv_func_strtold_use=no
47008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47009 ac_ext=c
47010 ac_cpp='$CPP $CPPFLAGS'
47011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47020 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47021 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47022 for ac_func in strtold
47023 do :
47024 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47025 if test "x$ac_cv_func_strtold" = x""yes; then :
47026 cat >>confdefs.h <<_ACEOF
47027 #define HAVE_STRTOLD 1
47028 _ACEOF
47031 done
47038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47039 $as_echo_n "checking for strtof declaration... " >&6; }
47040 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47041 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47042 $as_echo_n "(cached) " >&6
47043 else
47046 ac_ext=cpp
47047 ac_cpp='$CXXCPP $CPPFLAGS'
47048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47053 /* end confdefs.h. */
47054 #include <stdlib.h>
47056 main ()
47058 strtof(0, 0);
47060 return 0;
47062 _ACEOF
47063 if ac_fn_cxx_try_compile "$LINENO"; then :
47064 glibcxx_cv_func_strtof_use=yes
47065 else
47066 glibcxx_cv_func_strtof_use=no
47068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47069 ac_ext=c
47070 ac_cpp='$CPP $CPPFLAGS'
47071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47080 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47081 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47082 for ac_func in strtof
47083 do :
47084 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47085 if test "x$ac_cv_func_strtof" = x""yes; then :
47086 cat >>confdefs.h <<_ACEOF
47087 #define HAVE_STRTOF 1
47088 _ACEOF
47091 done
47098 CXXFLAGS="$ac_save_CXXFLAGS"
47100 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47102 # We don't yet support AIX's TLS ABI.
47103 #GCC_CHECK_TLS
47109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47110 $as_echo_n "checking for iconv... " >&6; }
47111 if test "${am_cv_func_iconv+set}" = set; then :
47112 $as_echo_n "(cached) " >&6
47113 else
47115 am_cv_func_iconv="no, consider installing GNU libiconv"
47116 am_cv_lib_iconv=no
47117 am_save_CPPFLAGS="$CPPFLAGS"
47118 CPPFLAGS="$CPPFLAGS $INCICONV"
47119 if test x$gcc_no_link = xyes; then
47120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47123 /* end confdefs.h. */
47124 #include <stdlib.h>
47125 #include <iconv.h>
47127 main ()
47129 iconv_t cd = iconv_open("","");
47130 iconv(cd,NULL,NULL,NULL,NULL);
47131 iconv_close(cd);
47133 return 0;
47135 _ACEOF
47136 if ac_fn_c_try_link "$LINENO"; then :
47137 am_cv_func_iconv=yes
47139 rm -f core conftest.err conftest.$ac_objext \
47140 conftest$ac_exeext conftest.$ac_ext
47141 CPPFLAGS="$am_save_CPPFLAGS"
47143 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47144 for _libs in .libs _libs; do
47145 am_save_CPPFLAGS="$CPPFLAGS"
47146 am_save_LIBS="$LIBS"
47147 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47148 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47149 if test x$gcc_no_link = xyes; then
47150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47153 /* end confdefs.h. */
47154 #include <stdlib.h>
47155 #include <iconv.h>
47157 main ()
47159 iconv_t cd = iconv_open("","");
47160 iconv(cd,NULL,NULL,NULL,NULL);
47161 iconv_close(cd);
47163 return 0;
47165 _ACEOF
47166 if ac_fn_c_try_link "$LINENO"; then :
47167 INCICONV="-I../libiconv/include"
47168 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47169 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47170 am_cv_lib_iconv=yes
47171 am_cv_func_iconv=yes
47173 rm -f core conftest.err conftest.$ac_objext \
47174 conftest$ac_exeext conftest.$ac_ext
47175 CPPFLAGS="$am_save_CPPFLAGS"
47176 LIBS="$am_save_LIBS"
47177 if test "$am_cv_func_iconv" = "yes"; then
47178 break
47180 done
47183 if test "$am_cv_func_iconv" != yes; then
47184 am_save_CPPFLAGS="$CPPFLAGS"
47185 am_save_LIBS="$LIBS"
47186 CPPFLAGS="$LIBS $INCICONV"
47187 LIBS="$LIBS $LIBICONV"
47188 if test x$gcc_no_link = xyes; then
47189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47192 /* end confdefs.h. */
47193 #include <stdlib.h>
47194 #include <iconv.h>
47196 main ()
47198 iconv_t cd = iconv_open("","");
47199 iconv(cd,NULL,NULL,NULL,NULL);
47200 iconv_close(cd);
47202 return 0;
47204 _ACEOF
47205 if ac_fn_c_try_link "$LINENO"; then :
47206 am_cv_lib_iconv=yes
47207 am_cv_func_iconv=yes
47209 rm -f core conftest.err conftest.$ac_objext \
47210 conftest$ac_exeext conftest.$ac_ext
47211 CPPFLAGS="$am_save_CPPFLAGS"
47212 LIBS="$am_save_LIBS"
47216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47217 $as_echo "$am_cv_func_iconv" >&6; }
47218 if test "$am_cv_func_iconv" = yes; then
47220 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47223 if test "$am_cv_lib_iconv" = yes; then
47225 for element in $INCICONV; do
47226 haveit=
47227 for x in $CPPFLAGS; do
47229 acl_save_prefix="$prefix"
47230 prefix="$acl_final_prefix"
47231 acl_save_exec_prefix="$exec_prefix"
47232 exec_prefix="$acl_final_exec_prefix"
47233 eval x=\"$x\"
47234 exec_prefix="$acl_save_exec_prefix"
47235 prefix="$acl_save_prefix"
47237 if test "X$x" = "X$element"; then
47238 haveit=yes
47239 break
47241 done
47242 if test -z "$haveit"; then
47243 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47245 done
47247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47248 $as_echo_n "checking how to link with libiconv... " >&6; }
47249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47250 $as_echo "$LIBICONV" >&6; }
47251 else
47252 LIBICONV=
47253 LTLIBICONV=
47258 if test "$am_cv_func_iconv" = yes; then
47259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47260 $as_echo_n "checking for iconv declaration... " >&6; }
47261 if test "${am_cv_proto_iconv+set}" = set; then :
47262 $as_echo_n "(cached) " >&6
47263 else
47265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47266 /* end confdefs.h. */
47268 #include <stdlib.h>
47269 #include <iconv.h>
47270 extern
47271 #ifdef __cplusplus
47273 #endif
47274 #if defined(__STDC__) || defined(__cplusplus)
47275 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47276 #else
47277 size_t iconv();
47278 #endif
47281 main ()
47285 return 0;
47287 _ACEOF
47288 if ac_fn_c_try_compile "$LINENO"; then :
47289 am_cv_proto_iconv_arg1=""
47290 else
47291 am_cv_proto_iconv_arg1="const"
47293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47294 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);"
47297 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47299 }$am_cv_proto_iconv" >&5
47300 $as_echo "${ac_t:-
47301 }$am_cv_proto_iconv" >&6; }
47303 cat >>confdefs.h <<_ACEOF
47304 #define ICONV_CONST $am_cv_proto_iconv_arg1
47305 _ACEOF
47311 *-darwin*)
47312 # Darwin versions vary, but the linker should work in a cross environment,
47313 # so we just check for all the features here.
47314 # Check for available headers.
47316 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47318 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47319 ac_save_CXXFLAGS="$CXXFLAGS"
47320 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47323 $as_echo_n "checking for sin in -lm... " >&6; }
47324 if test "${ac_cv_lib_m_sin+set}" = set; then :
47325 $as_echo_n "(cached) " >&6
47326 else
47327 ac_check_lib_save_LIBS=$LIBS
47328 LIBS="-lm $LIBS"
47329 if test x$gcc_no_link = xyes; then
47330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47333 /* end confdefs.h. */
47335 /* Override any GCC internal prototype to avoid an error.
47336 Use char because int might match the return type of a GCC
47337 builtin and then its argument prototype would still apply. */
47338 #ifdef __cplusplus
47339 extern "C"
47340 #endif
47341 char sin ();
47343 main ()
47345 return sin ();
47347 return 0;
47349 _ACEOF
47350 if ac_fn_c_try_link "$LINENO"; then :
47351 ac_cv_lib_m_sin=yes
47352 else
47353 ac_cv_lib_m_sin=no
47355 rm -f core conftest.err conftest.$ac_objext \
47356 conftest$ac_exeext conftest.$ac_ext
47357 LIBS=$ac_check_lib_save_LIBS
47359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47360 $as_echo "$ac_cv_lib_m_sin" >&6; }
47361 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47362 libm="-lm"
47365 ac_save_LIBS="$LIBS"
47366 LIBS="$LIBS $libm"
47370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47371 $as_echo_n "checking for isinf declaration... " >&6; }
47372 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47373 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47374 $as_echo_n "(cached) " >&6
47375 else
47378 ac_ext=cpp
47379 ac_cpp='$CXXCPP $CPPFLAGS'
47380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47385 /* end confdefs.h. */
47386 #include <math.h>
47387 #ifdef HAVE_IEEEFP_H
47388 #include <ieeefp.h>
47389 #endif
47392 main ()
47394 isinf(0);
47396 return 0;
47398 _ACEOF
47399 if ac_fn_cxx_try_compile "$LINENO"; then :
47400 glibcxx_cv_func_isinf_use=yes
47401 else
47402 glibcxx_cv_func_isinf_use=no
47404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47405 ac_ext=c
47406 ac_cpp='$CPP $CPPFLAGS'
47407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47416 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47418 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47419 for ac_func in isinf
47420 do :
47421 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47422 if test "x$ac_cv_func_isinf" = x""yes; then :
47423 cat >>confdefs.h <<_ACEOF
47424 #define HAVE_ISINF 1
47425 _ACEOF
47428 done
47430 else
47432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47433 $as_echo_n "checking for _isinf declaration... " >&6; }
47434 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47435 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47436 $as_echo_n "(cached) " >&6
47437 else
47440 ac_ext=cpp
47441 ac_cpp='$CXXCPP $CPPFLAGS'
47442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47447 /* end confdefs.h. */
47448 #include <math.h>
47449 #ifdef HAVE_IEEEFP_H
47450 #include <ieeefp.h>
47451 #endif
47454 main ()
47456 _isinf(0);
47458 return 0;
47460 _ACEOF
47461 if ac_fn_cxx_try_compile "$LINENO"; then :
47462 glibcxx_cv_func__isinf_use=yes
47463 else
47464 glibcxx_cv_func__isinf_use=no
47466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47467 ac_ext=c
47468 ac_cpp='$CPP $CPPFLAGS'
47469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47478 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47480 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47481 for ac_func in _isinf
47482 do :
47483 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47484 if test "x$ac_cv_func__isinf" = x""yes; then :
47485 cat >>confdefs.h <<_ACEOF
47486 #define HAVE__ISINF 1
47487 _ACEOF
47490 done
47499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47500 $as_echo_n "checking for isnan declaration... " >&6; }
47501 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47502 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47503 $as_echo_n "(cached) " >&6
47504 else
47507 ac_ext=cpp
47508 ac_cpp='$CXXCPP $CPPFLAGS'
47509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47514 /* end confdefs.h. */
47515 #include <math.h>
47516 #ifdef HAVE_IEEEFP_H
47517 #include <ieeefp.h>
47518 #endif
47521 main ()
47523 isnan(0);
47525 return 0;
47527 _ACEOF
47528 if ac_fn_cxx_try_compile "$LINENO"; then :
47529 glibcxx_cv_func_isnan_use=yes
47530 else
47531 glibcxx_cv_func_isnan_use=no
47533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47534 ac_ext=c
47535 ac_cpp='$CPP $CPPFLAGS'
47536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47545 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47547 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47548 for ac_func in isnan
47549 do :
47550 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47551 if test "x$ac_cv_func_isnan" = x""yes; then :
47552 cat >>confdefs.h <<_ACEOF
47553 #define HAVE_ISNAN 1
47554 _ACEOF
47557 done
47559 else
47561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47562 $as_echo_n "checking for _isnan declaration... " >&6; }
47563 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47564 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47565 $as_echo_n "(cached) " >&6
47566 else
47569 ac_ext=cpp
47570 ac_cpp='$CXXCPP $CPPFLAGS'
47571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47576 /* end confdefs.h. */
47577 #include <math.h>
47578 #ifdef HAVE_IEEEFP_H
47579 #include <ieeefp.h>
47580 #endif
47583 main ()
47585 _isnan(0);
47587 return 0;
47589 _ACEOF
47590 if ac_fn_cxx_try_compile "$LINENO"; then :
47591 glibcxx_cv_func__isnan_use=yes
47592 else
47593 glibcxx_cv_func__isnan_use=no
47595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47596 ac_ext=c
47597 ac_cpp='$CPP $CPPFLAGS'
47598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47607 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47609 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47610 for ac_func in _isnan
47611 do :
47612 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47613 if test "x$ac_cv_func__isnan" = x""yes; then :
47614 cat >>confdefs.h <<_ACEOF
47615 #define HAVE__ISNAN 1
47616 _ACEOF
47619 done
47628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47629 $as_echo_n "checking for finite declaration... " >&6; }
47630 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47631 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47632 $as_echo_n "(cached) " >&6
47633 else
47636 ac_ext=cpp
47637 ac_cpp='$CXXCPP $CPPFLAGS'
47638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47643 /* end confdefs.h. */
47644 #include <math.h>
47645 #ifdef HAVE_IEEEFP_H
47646 #include <ieeefp.h>
47647 #endif
47650 main ()
47652 finite(0);
47654 return 0;
47656 _ACEOF
47657 if ac_fn_cxx_try_compile "$LINENO"; then :
47658 glibcxx_cv_func_finite_use=yes
47659 else
47660 glibcxx_cv_func_finite_use=no
47662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47663 ac_ext=c
47664 ac_cpp='$CPP $CPPFLAGS'
47665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47674 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47676 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47677 for ac_func in finite
47678 do :
47679 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47680 if test "x$ac_cv_func_finite" = x""yes; then :
47681 cat >>confdefs.h <<_ACEOF
47682 #define HAVE_FINITE 1
47683 _ACEOF
47686 done
47688 else
47690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47691 $as_echo_n "checking for _finite declaration... " >&6; }
47692 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47693 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47694 $as_echo_n "(cached) " >&6
47695 else
47698 ac_ext=cpp
47699 ac_cpp='$CXXCPP $CPPFLAGS'
47700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47705 /* end confdefs.h. */
47706 #include <math.h>
47707 #ifdef HAVE_IEEEFP_H
47708 #include <ieeefp.h>
47709 #endif
47712 main ()
47714 _finite(0);
47716 return 0;
47718 _ACEOF
47719 if ac_fn_cxx_try_compile "$LINENO"; then :
47720 glibcxx_cv_func__finite_use=yes
47721 else
47722 glibcxx_cv_func__finite_use=no
47724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47725 ac_ext=c
47726 ac_cpp='$CPP $CPPFLAGS'
47727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47736 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47738 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47739 for ac_func in _finite
47740 do :
47741 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47742 if test "x$ac_cv_func__finite" = x""yes; then :
47743 cat >>confdefs.h <<_ACEOF
47744 #define HAVE__FINITE 1
47745 _ACEOF
47748 done
47757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47758 $as_echo_n "checking for sincos declaration... " >&6; }
47759 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47760 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47761 $as_echo_n "(cached) " >&6
47762 else
47765 ac_ext=cpp
47766 ac_cpp='$CXXCPP $CPPFLAGS'
47767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47772 /* end confdefs.h. */
47773 #include <math.h>
47775 main ()
47777 sincos(0, 0, 0);
47779 return 0;
47781 _ACEOF
47782 if ac_fn_cxx_try_compile "$LINENO"; then :
47783 glibcxx_cv_func_sincos_use=yes
47784 else
47785 glibcxx_cv_func_sincos_use=no
47787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47788 ac_ext=c
47789 ac_cpp='$CPP $CPPFLAGS'
47790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47799 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47801 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47802 for ac_func in sincos
47803 do :
47804 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47805 if test "x$ac_cv_func_sincos" = x""yes; then :
47806 cat >>confdefs.h <<_ACEOF
47807 #define HAVE_SINCOS 1
47808 _ACEOF
47811 done
47813 else
47815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47816 $as_echo_n "checking for _sincos declaration... " >&6; }
47817 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47818 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47819 $as_echo_n "(cached) " >&6
47820 else
47823 ac_ext=cpp
47824 ac_cpp='$CXXCPP $CPPFLAGS'
47825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47830 /* end confdefs.h. */
47831 #include <math.h>
47833 main ()
47835 _sincos(0, 0, 0);
47837 return 0;
47839 _ACEOF
47840 if ac_fn_cxx_try_compile "$LINENO"; then :
47841 glibcxx_cv_func__sincos_use=yes
47842 else
47843 glibcxx_cv_func__sincos_use=no
47845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47846 ac_ext=c
47847 ac_cpp='$CPP $CPPFLAGS'
47848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47857 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47859 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47860 for ac_func in _sincos
47861 do :
47862 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47863 if test "x$ac_cv_func__sincos" = x""yes; then :
47864 cat >>confdefs.h <<_ACEOF
47865 #define HAVE__SINCOS 1
47866 _ACEOF
47869 done
47878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47879 $as_echo_n "checking for fpclass declaration... " >&6; }
47880 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47881 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47882 $as_echo_n "(cached) " >&6
47883 else
47886 ac_ext=cpp
47887 ac_cpp='$CXXCPP $CPPFLAGS'
47888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47893 /* end confdefs.h. */
47894 #include <math.h>
47895 #ifdef HAVE_IEEEFP_H
47896 #include <ieeefp.h>
47897 #endif
47900 main ()
47902 fpclass(0);
47904 return 0;
47906 _ACEOF
47907 if ac_fn_cxx_try_compile "$LINENO"; then :
47908 glibcxx_cv_func_fpclass_use=yes
47909 else
47910 glibcxx_cv_func_fpclass_use=no
47912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47913 ac_ext=c
47914 ac_cpp='$CPP $CPPFLAGS'
47915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47924 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47926 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47927 for ac_func in fpclass
47928 do :
47929 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47930 if test "x$ac_cv_func_fpclass" = x""yes; then :
47931 cat >>confdefs.h <<_ACEOF
47932 #define HAVE_FPCLASS 1
47933 _ACEOF
47936 done
47938 else
47940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47941 $as_echo_n "checking for _fpclass declaration... " >&6; }
47942 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47943 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47944 $as_echo_n "(cached) " >&6
47945 else
47948 ac_ext=cpp
47949 ac_cpp='$CXXCPP $CPPFLAGS'
47950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47955 /* end confdefs.h. */
47956 #include <math.h>
47957 #ifdef HAVE_IEEEFP_H
47958 #include <ieeefp.h>
47959 #endif
47962 main ()
47964 _fpclass(0);
47966 return 0;
47968 _ACEOF
47969 if ac_fn_cxx_try_compile "$LINENO"; then :
47970 glibcxx_cv_func__fpclass_use=yes
47971 else
47972 glibcxx_cv_func__fpclass_use=no
47974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47975 ac_ext=c
47976 ac_cpp='$CPP $CPPFLAGS'
47977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47986 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47988 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47989 for ac_func in _fpclass
47990 do :
47991 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47992 if test "x$ac_cv_func__fpclass" = x""yes; then :
47993 cat >>confdefs.h <<_ACEOF
47994 #define HAVE__FPCLASS 1
47995 _ACEOF
47998 done
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48008 $as_echo_n "checking for qfpclass declaration... " >&6; }
48009 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48010 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48011 $as_echo_n "(cached) " >&6
48012 else
48015 ac_ext=cpp
48016 ac_cpp='$CXXCPP $CPPFLAGS'
48017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48022 /* end confdefs.h. */
48023 #include <math.h>
48024 #ifdef HAVE_IEEEFP_H
48025 #include <ieeefp.h>
48026 #endif
48029 main ()
48031 qfpclass(0);
48033 return 0;
48035 _ACEOF
48036 if ac_fn_cxx_try_compile "$LINENO"; then :
48037 glibcxx_cv_func_qfpclass_use=yes
48038 else
48039 glibcxx_cv_func_qfpclass_use=no
48041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48042 ac_ext=c
48043 ac_cpp='$CPP $CPPFLAGS'
48044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48053 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48055 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48056 for ac_func in qfpclass
48057 do :
48058 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48059 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48060 cat >>confdefs.h <<_ACEOF
48061 #define HAVE_QFPCLASS 1
48062 _ACEOF
48065 done
48067 else
48069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48070 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48071 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48072 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48073 $as_echo_n "(cached) " >&6
48074 else
48077 ac_ext=cpp
48078 ac_cpp='$CXXCPP $CPPFLAGS'
48079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48084 /* end confdefs.h. */
48085 #include <math.h>
48086 #ifdef HAVE_IEEEFP_H
48087 #include <ieeefp.h>
48088 #endif
48091 main ()
48093 _qfpclass(0);
48095 return 0;
48097 _ACEOF
48098 if ac_fn_cxx_try_compile "$LINENO"; then :
48099 glibcxx_cv_func__qfpclass_use=yes
48100 else
48101 glibcxx_cv_func__qfpclass_use=no
48103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48104 ac_ext=c
48105 ac_cpp='$CPP $CPPFLAGS'
48106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48115 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48117 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48118 for ac_func in _qfpclass
48119 do :
48120 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48121 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48122 cat >>confdefs.h <<_ACEOF
48123 #define HAVE__QFPCLASS 1
48124 _ACEOF
48127 done
48136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48137 $as_echo_n "checking for hypot declaration... " >&6; }
48138 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48139 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48140 $as_echo_n "(cached) " >&6
48141 else
48144 ac_ext=cpp
48145 ac_cpp='$CXXCPP $CPPFLAGS'
48146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48151 /* end confdefs.h. */
48152 #include <math.h>
48154 main ()
48156 hypot(0, 0);
48158 return 0;
48160 _ACEOF
48161 if ac_fn_cxx_try_compile "$LINENO"; then :
48162 glibcxx_cv_func_hypot_use=yes
48163 else
48164 glibcxx_cv_func_hypot_use=no
48166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48167 ac_ext=c
48168 ac_cpp='$CPP $CPPFLAGS'
48169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48178 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48180 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48181 for ac_func in hypot
48182 do :
48183 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48184 if test "x$ac_cv_func_hypot" = x""yes; then :
48185 cat >>confdefs.h <<_ACEOF
48186 #define HAVE_HYPOT 1
48187 _ACEOF
48190 done
48192 else
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48195 $as_echo_n "checking for _hypot declaration... " >&6; }
48196 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48197 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48198 $as_echo_n "(cached) " >&6
48199 else
48202 ac_ext=cpp
48203 ac_cpp='$CXXCPP $CPPFLAGS'
48204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48209 /* end confdefs.h. */
48210 #include <math.h>
48212 main ()
48214 _hypot(0, 0);
48216 return 0;
48218 _ACEOF
48219 if ac_fn_cxx_try_compile "$LINENO"; then :
48220 glibcxx_cv_func__hypot_use=yes
48221 else
48222 glibcxx_cv_func__hypot_use=no
48224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48225 ac_ext=c
48226 ac_cpp='$CPP $CPPFLAGS'
48227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48236 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48238 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48239 for ac_func in _hypot
48240 do :
48241 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48242 if test "x$ac_cv_func__hypot" = x""yes; then :
48243 cat >>confdefs.h <<_ACEOF
48244 #define HAVE__HYPOT 1
48245 _ACEOF
48248 done
48257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48258 $as_echo_n "checking for float trig functions... " >&6; }
48259 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48260 $as_echo_n "(cached) " >&6
48261 else
48264 ac_ext=cpp
48265 ac_cpp='$CXXCPP $CPPFLAGS'
48266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48271 /* end confdefs.h. */
48272 #include <math.h>
48274 main ()
48276 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48278 return 0;
48280 _ACEOF
48281 if ac_fn_cxx_try_compile "$LINENO"; then :
48282 glibcxx_cv_func_float_trig_use=yes
48283 else
48284 glibcxx_cv_func_float_trig_use=no
48286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48287 ac_ext=c
48288 ac_cpp='$CPP $CPPFLAGS'
48289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48296 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48297 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48298 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48299 do :
48300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48302 eval as_val=\$$as_ac_var
48303 if test "x$as_val" = x""yes; then :
48304 cat >>confdefs.h <<_ACEOF
48305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48306 _ACEOF
48309 done
48311 else
48312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48313 $as_echo_n "checking for _float trig functions... " >&6; }
48314 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48315 $as_echo_n "(cached) " >&6
48316 else
48319 ac_ext=cpp
48320 ac_cpp='$CXXCPP $CPPFLAGS'
48321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48326 /* end confdefs.h. */
48327 #include <math.h>
48329 main ()
48331 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48333 return 0;
48335 _ACEOF
48336 if ac_fn_cxx_try_compile "$LINENO"; then :
48337 glibcxx_cv_func__float_trig_use=yes
48338 else
48339 glibcxx_cv_func__float_trig_use=no
48341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48342 ac_ext=c
48343 ac_cpp='$CPP $CPPFLAGS'
48344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48351 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48352 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48353 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48354 do :
48355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48357 eval as_val=\$$as_ac_var
48358 if test "x$as_val" = x""yes; then :
48359 cat >>confdefs.h <<_ACEOF
48360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48361 _ACEOF
48364 done
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48374 $as_echo_n "checking for float round functions... " >&6; }
48375 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48376 $as_echo_n "(cached) " >&6
48377 else
48380 ac_ext=cpp
48381 ac_cpp='$CXXCPP $CPPFLAGS'
48382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48387 /* end confdefs.h. */
48388 #include <math.h>
48390 main ()
48392 ceilf (0); floorf (0);
48394 return 0;
48396 _ACEOF
48397 if ac_fn_cxx_try_compile "$LINENO"; then :
48398 glibcxx_cv_func_float_round_use=yes
48399 else
48400 glibcxx_cv_func_float_round_use=no
48402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48403 ac_ext=c
48404 ac_cpp='$CPP $CPPFLAGS'
48405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48412 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48413 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48414 for ac_func in ceilf floorf
48415 do :
48416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48418 eval as_val=\$$as_ac_var
48419 if test "x$as_val" = x""yes; then :
48420 cat >>confdefs.h <<_ACEOF
48421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48422 _ACEOF
48425 done
48427 else
48428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48429 $as_echo_n "checking for _float round functions... " >&6; }
48430 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48431 $as_echo_n "(cached) " >&6
48432 else
48435 ac_ext=cpp
48436 ac_cpp='$CXXCPP $CPPFLAGS'
48437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48442 /* end confdefs.h. */
48443 #include <math.h>
48445 main ()
48447 _ceilf (0); _floorf (0);
48449 return 0;
48451 _ACEOF
48452 if ac_fn_cxx_try_compile "$LINENO"; then :
48453 glibcxx_cv_func__float_round_use=yes
48454 else
48455 glibcxx_cv_func__float_round_use=no
48457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48458 ac_ext=c
48459 ac_cpp='$CPP $CPPFLAGS'
48460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48467 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48468 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48469 for ac_func in _ceilf _floorf
48470 do :
48471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48473 eval as_val=\$$as_ac_var
48474 if test "x$as_val" = x""yes; then :
48475 cat >>confdefs.h <<_ACEOF
48476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48477 _ACEOF
48480 done
48490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48491 $as_echo_n "checking for expf declaration... " >&6; }
48492 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48493 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48494 $as_echo_n "(cached) " >&6
48495 else
48498 ac_ext=cpp
48499 ac_cpp='$CXXCPP $CPPFLAGS'
48500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48505 /* end confdefs.h. */
48506 #include <math.h>
48507 #ifdef HAVE_IEEEFP_H
48508 #include <ieeefp.h>
48509 #endif
48512 main ()
48514 expf(0);
48516 return 0;
48518 _ACEOF
48519 if ac_fn_cxx_try_compile "$LINENO"; then :
48520 glibcxx_cv_func_expf_use=yes
48521 else
48522 glibcxx_cv_func_expf_use=no
48524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48525 ac_ext=c
48526 ac_cpp='$CPP $CPPFLAGS'
48527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48536 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48538 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48539 for ac_func in expf
48540 do :
48541 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48542 if test "x$ac_cv_func_expf" = x""yes; then :
48543 cat >>confdefs.h <<_ACEOF
48544 #define HAVE_EXPF 1
48545 _ACEOF
48548 done
48550 else
48552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48553 $as_echo_n "checking for _expf declaration... " >&6; }
48554 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48555 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48556 $as_echo_n "(cached) " >&6
48557 else
48560 ac_ext=cpp
48561 ac_cpp='$CXXCPP $CPPFLAGS'
48562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48567 /* end confdefs.h. */
48568 #include <math.h>
48569 #ifdef HAVE_IEEEFP_H
48570 #include <ieeefp.h>
48571 #endif
48574 main ()
48576 _expf(0);
48578 return 0;
48580 _ACEOF
48581 if ac_fn_cxx_try_compile "$LINENO"; then :
48582 glibcxx_cv_func__expf_use=yes
48583 else
48584 glibcxx_cv_func__expf_use=no
48586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48587 ac_ext=c
48588 ac_cpp='$CPP $CPPFLAGS'
48589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48598 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48600 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48601 for ac_func in _expf
48602 do :
48603 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48604 if test "x$ac_cv_func__expf" = x""yes; then :
48605 cat >>confdefs.h <<_ACEOF
48606 #define HAVE__EXPF 1
48607 _ACEOF
48610 done
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48620 $as_echo_n "checking for isnanf declaration... " >&6; }
48621 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48622 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48623 $as_echo_n "(cached) " >&6
48624 else
48627 ac_ext=cpp
48628 ac_cpp='$CXXCPP $CPPFLAGS'
48629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48634 /* end confdefs.h. */
48635 #include <math.h>
48636 #ifdef HAVE_IEEEFP_H
48637 #include <ieeefp.h>
48638 #endif
48641 main ()
48643 isnanf(0);
48645 return 0;
48647 _ACEOF
48648 if ac_fn_cxx_try_compile "$LINENO"; then :
48649 glibcxx_cv_func_isnanf_use=yes
48650 else
48651 glibcxx_cv_func_isnanf_use=no
48653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654 ac_ext=c
48655 ac_cpp='$CPP $CPPFLAGS'
48656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48665 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48667 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48668 for ac_func in isnanf
48669 do :
48670 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48671 if test "x$ac_cv_func_isnanf" = x""yes; then :
48672 cat >>confdefs.h <<_ACEOF
48673 #define HAVE_ISNANF 1
48674 _ACEOF
48677 done
48679 else
48681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48682 $as_echo_n "checking for _isnanf declaration... " >&6; }
48683 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48684 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48685 $as_echo_n "(cached) " >&6
48686 else
48689 ac_ext=cpp
48690 ac_cpp='$CXXCPP $CPPFLAGS'
48691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48696 /* end confdefs.h. */
48697 #include <math.h>
48698 #ifdef HAVE_IEEEFP_H
48699 #include <ieeefp.h>
48700 #endif
48703 main ()
48705 _isnanf(0);
48707 return 0;
48709 _ACEOF
48710 if ac_fn_cxx_try_compile "$LINENO"; then :
48711 glibcxx_cv_func__isnanf_use=yes
48712 else
48713 glibcxx_cv_func__isnanf_use=no
48715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48716 ac_ext=c
48717 ac_cpp='$CPP $CPPFLAGS'
48718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48727 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48729 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48730 for ac_func in _isnanf
48731 do :
48732 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48733 if test "x$ac_cv_func__isnanf" = x""yes; then :
48734 cat >>confdefs.h <<_ACEOF
48735 #define HAVE__ISNANF 1
48736 _ACEOF
48739 done
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48749 $as_echo_n "checking for isinff declaration... " >&6; }
48750 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48751 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48752 $as_echo_n "(cached) " >&6
48753 else
48756 ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h. */
48764 #include <math.h>
48765 #ifdef HAVE_IEEEFP_H
48766 #include <ieeefp.h>
48767 #endif
48770 main ()
48772 isinff(0);
48774 return 0;
48776 _ACEOF
48777 if ac_fn_cxx_try_compile "$LINENO"; then :
48778 glibcxx_cv_func_isinff_use=yes
48779 else
48780 glibcxx_cv_func_isinff_use=no
48782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48783 ac_ext=c
48784 ac_cpp='$CPP $CPPFLAGS'
48785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48794 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48796 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48797 for ac_func in isinff
48798 do :
48799 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48800 if test "x$ac_cv_func_isinff" = x""yes; then :
48801 cat >>confdefs.h <<_ACEOF
48802 #define HAVE_ISINFF 1
48803 _ACEOF
48806 done
48808 else
48810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48811 $as_echo_n "checking for _isinff declaration... " >&6; }
48812 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48813 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48814 $as_echo_n "(cached) " >&6
48815 else
48818 ac_ext=cpp
48819 ac_cpp='$CXXCPP $CPPFLAGS'
48820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48825 /* end confdefs.h. */
48826 #include <math.h>
48827 #ifdef HAVE_IEEEFP_H
48828 #include <ieeefp.h>
48829 #endif
48832 main ()
48834 _isinff(0);
48836 return 0;
48838 _ACEOF
48839 if ac_fn_cxx_try_compile "$LINENO"; then :
48840 glibcxx_cv_func__isinff_use=yes
48841 else
48842 glibcxx_cv_func__isinff_use=no
48844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48845 ac_ext=c
48846 ac_cpp='$CPP $CPPFLAGS'
48847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48856 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48858 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48859 for ac_func in _isinff
48860 do :
48861 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48862 if test "x$ac_cv_func__isinff" = x""yes; then :
48863 cat >>confdefs.h <<_ACEOF
48864 #define HAVE__ISINFF 1
48865 _ACEOF
48868 done
48877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48878 $as_echo_n "checking for atan2f declaration... " >&6; }
48879 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48880 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48881 $as_echo_n "(cached) " >&6
48882 else
48885 ac_ext=cpp
48886 ac_cpp='$CXXCPP $CPPFLAGS'
48887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48892 /* end confdefs.h. */
48893 #include <math.h>
48895 main ()
48897 atan2f(0, 0);
48899 return 0;
48901 _ACEOF
48902 if ac_fn_cxx_try_compile "$LINENO"; then :
48903 glibcxx_cv_func_atan2f_use=yes
48904 else
48905 glibcxx_cv_func_atan2f_use=no
48907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48908 ac_ext=c
48909 ac_cpp='$CPP $CPPFLAGS'
48910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48919 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48921 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48922 for ac_func in atan2f
48923 do :
48924 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48925 if test "x$ac_cv_func_atan2f" = x""yes; then :
48926 cat >>confdefs.h <<_ACEOF
48927 #define HAVE_ATAN2F 1
48928 _ACEOF
48931 done
48933 else
48935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48936 $as_echo_n "checking for _atan2f declaration... " >&6; }
48937 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48938 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48939 $as_echo_n "(cached) " >&6
48940 else
48943 ac_ext=cpp
48944 ac_cpp='$CXXCPP $CPPFLAGS'
48945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48950 /* end confdefs.h. */
48951 #include <math.h>
48953 main ()
48955 _atan2f(0, 0);
48957 return 0;
48959 _ACEOF
48960 if ac_fn_cxx_try_compile "$LINENO"; then :
48961 glibcxx_cv_func__atan2f_use=yes
48962 else
48963 glibcxx_cv_func__atan2f_use=no
48965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48966 ac_ext=c
48967 ac_cpp='$CPP $CPPFLAGS'
48968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48977 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48979 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48980 for ac_func in _atan2f
48981 do :
48982 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48983 if test "x$ac_cv_func__atan2f" = x""yes; then :
48984 cat >>confdefs.h <<_ACEOF
48985 #define HAVE__ATAN2F 1
48986 _ACEOF
48989 done
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48999 $as_echo_n "checking for fabsf declaration... " >&6; }
49000 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49001 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49002 $as_echo_n "(cached) " >&6
49003 else
49006 ac_ext=cpp
49007 ac_cpp='$CXXCPP $CPPFLAGS'
49008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49013 /* end confdefs.h. */
49014 #include <math.h>
49015 #ifdef HAVE_IEEEFP_H
49016 #include <ieeefp.h>
49017 #endif
49020 main ()
49022 fabsf(0);
49024 return 0;
49026 _ACEOF
49027 if ac_fn_cxx_try_compile "$LINENO"; then :
49028 glibcxx_cv_func_fabsf_use=yes
49029 else
49030 glibcxx_cv_func_fabsf_use=no
49032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49033 ac_ext=c
49034 ac_cpp='$CPP $CPPFLAGS'
49035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49044 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49046 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49047 for ac_func in fabsf
49048 do :
49049 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49050 if test "x$ac_cv_func_fabsf" = x""yes; then :
49051 cat >>confdefs.h <<_ACEOF
49052 #define HAVE_FABSF 1
49053 _ACEOF
49056 done
49058 else
49060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49061 $as_echo_n "checking for _fabsf declaration... " >&6; }
49062 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49063 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49064 $as_echo_n "(cached) " >&6
49065 else
49068 ac_ext=cpp
49069 ac_cpp='$CXXCPP $CPPFLAGS'
49070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49075 /* end confdefs.h. */
49076 #include <math.h>
49077 #ifdef HAVE_IEEEFP_H
49078 #include <ieeefp.h>
49079 #endif
49082 main ()
49084 _fabsf(0);
49086 return 0;
49088 _ACEOF
49089 if ac_fn_cxx_try_compile "$LINENO"; then :
49090 glibcxx_cv_func__fabsf_use=yes
49091 else
49092 glibcxx_cv_func__fabsf_use=no
49094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49095 ac_ext=c
49096 ac_cpp='$CPP $CPPFLAGS'
49097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49106 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49108 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49109 for ac_func in _fabsf
49110 do :
49111 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49112 if test "x$ac_cv_func__fabsf" = x""yes; then :
49113 cat >>confdefs.h <<_ACEOF
49114 #define HAVE__FABSF 1
49115 _ACEOF
49118 done
49127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49128 $as_echo_n "checking for fmodf declaration... " >&6; }
49129 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49130 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49131 $as_echo_n "(cached) " >&6
49132 else
49135 ac_ext=cpp
49136 ac_cpp='$CXXCPP $CPPFLAGS'
49137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49142 /* end confdefs.h. */
49143 #include <math.h>
49145 main ()
49147 fmodf(0, 0);
49149 return 0;
49151 _ACEOF
49152 if ac_fn_cxx_try_compile "$LINENO"; then :
49153 glibcxx_cv_func_fmodf_use=yes
49154 else
49155 glibcxx_cv_func_fmodf_use=no
49157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49158 ac_ext=c
49159 ac_cpp='$CPP $CPPFLAGS'
49160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49169 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49171 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49172 for ac_func in fmodf
49173 do :
49174 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49175 if test "x$ac_cv_func_fmodf" = x""yes; then :
49176 cat >>confdefs.h <<_ACEOF
49177 #define HAVE_FMODF 1
49178 _ACEOF
49181 done
49183 else
49185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49186 $as_echo_n "checking for _fmodf declaration... " >&6; }
49187 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49188 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49189 $as_echo_n "(cached) " >&6
49190 else
49193 ac_ext=cpp
49194 ac_cpp='$CXXCPP $CPPFLAGS'
49195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49200 /* end confdefs.h. */
49201 #include <math.h>
49203 main ()
49205 _fmodf(0, 0);
49207 return 0;
49209 _ACEOF
49210 if ac_fn_cxx_try_compile "$LINENO"; then :
49211 glibcxx_cv_func__fmodf_use=yes
49212 else
49213 glibcxx_cv_func__fmodf_use=no
49215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49216 ac_ext=c
49217 ac_cpp='$CPP $CPPFLAGS'
49218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49227 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49229 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49230 for ac_func in _fmodf
49231 do :
49232 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49233 if test "x$ac_cv_func__fmodf" = x""yes; then :
49234 cat >>confdefs.h <<_ACEOF
49235 #define HAVE__FMODF 1
49236 _ACEOF
49239 done
49248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49249 $as_echo_n "checking for frexpf declaration... " >&6; }
49250 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49251 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49252 $as_echo_n "(cached) " >&6
49253 else
49256 ac_ext=cpp
49257 ac_cpp='$CXXCPP $CPPFLAGS'
49258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49263 /* end confdefs.h. */
49264 #include <math.h>
49266 main ()
49268 frexpf(0, 0);
49270 return 0;
49272 _ACEOF
49273 if ac_fn_cxx_try_compile "$LINENO"; then :
49274 glibcxx_cv_func_frexpf_use=yes
49275 else
49276 glibcxx_cv_func_frexpf_use=no
49278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49279 ac_ext=c
49280 ac_cpp='$CPP $CPPFLAGS'
49281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49290 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49292 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49293 for ac_func in frexpf
49294 do :
49295 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49296 if test "x$ac_cv_func_frexpf" = x""yes; then :
49297 cat >>confdefs.h <<_ACEOF
49298 #define HAVE_FREXPF 1
49299 _ACEOF
49302 done
49304 else
49306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49307 $as_echo_n "checking for _frexpf declaration... " >&6; }
49308 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49309 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49310 $as_echo_n "(cached) " >&6
49311 else
49314 ac_ext=cpp
49315 ac_cpp='$CXXCPP $CPPFLAGS'
49316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49321 /* end confdefs.h. */
49322 #include <math.h>
49324 main ()
49326 _frexpf(0, 0);
49328 return 0;
49330 _ACEOF
49331 if ac_fn_cxx_try_compile "$LINENO"; then :
49332 glibcxx_cv_func__frexpf_use=yes
49333 else
49334 glibcxx_cv_func__frexpf_use=no
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337 ac_ext=c
49338 ac_cpp='$CPP $CPPFLAGS'
49339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49348 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49350 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49351 for ac_func in _frexpf
49352 do :
49353 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49354 if test "x$ac_cv_func__frexpf" = x""yes; then :
49355 cat >>confdefs.h <<_ACEOF
49356 #define HAVE__FREXPF 1
49357 _ACEOF
49360 done
49369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49370 $as_echo_n "checking for hypotf declaration... " >&6; }
49371 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49372 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49373 $as_echo_n "(cached) " >&6
49374 else
49377 ac_ext=cpp
49378 ac_cpp='$CXXCPP $CPPFLAGS'
49379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49384 /* end confdefs.h. */
49385 #include <math.h>
49387 main ()
49389 hypotf(0, 0);
49391 return 0;
49393 _ACEOF
49394 if ac_fn_cxx_try_compile "$LINENO"; then :
49395 glibcxx_cv_func_hypotf_use=yes
49396 else
49397 glibcxx_cv_func_hypotf_use=no
49399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49400 ac_ext=c
49401 ac_cpp='$CPP $CPPFLAGS'
49402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49411 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49413 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49414 for ac_func in hypotf
49415 do :
49416 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49417 if test "x$ac_cv_func_hypotf" = x""yes; then :
49418 cat >>confdefs.h <<_ACEOF
49419 #define HAVE_HYPOTF 1
49420 _ACEOF
49423 done
49425 else
49427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49428 $as_echo_n "checking for _hypotf declaration... " >&6; }
49429 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49430 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49431 $as_echo_n "(cached) " >&6
49432 else
49435 ac_ext=cpp
49436 ac_cpp='$CXXCPP $CPPFLAGS'
49437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49442 /* end confdefs.h. */
49443 #include <math.h>
49445 main ()
49447 _hypotf(0, 0);
49449 return 0;
49451 _ACEOF
49452 if ac_fn_cxx_try_compile "$LINENO"; then :
49453 glibcxx_cv_func__hypotf_use=yes
49454 else
49455 glibcxx_cv_func__hypotf_use=no
49457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49458 ac_ext=c
49459 ac_cpp='$CPP $CPPFLAGS'
49460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49469 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49471 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49472 for ac_func in _hypotf
49473 do :
49474 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49475 if test "x$ac_cv_func__hypotf" = x""yes; then :
49476 cat >>confdefs.h <<_ACEOF
49477 #define HAVE__HYPOTF 1
49478 _ACEOF
49481 done
49490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49491 $as_echo_n "checking for ldexpf declaration... " >&6; }
49492 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49493 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49494 $as_echo_n "(cached) " >&6
49495 else
49498 ac_ext=cpp
49499 ac_cpp='$CXXCPP $CPPFLAGS'
49500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49505 /* end confdefs.h. */
49506 #include <math.h>
49508 main ()
49510 ldexpf(0, 0);
49512 return 0;
49514 _ACEOF
49515 if ac_fn_cxx_try_compile "$LINENO"; then :
49516 glibcxx_cv_func_ldexpf_use=yes
49517 else
49518 glibcxx_cv_func_ldexpf_use=no
49520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49521 ac_ext=c
49522 ac_cpp='$CPP $CPPFLAGS'
49523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49532 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49534 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49535 for ac_func in ldexpf
49536 do :
49537 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49538 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49539 cat >>confdefs.h <<_ACEOF
49540 #define HAVE_LDEXPF 1
49541 _ACEOF
49544 done
49546 else
49548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49549 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49550 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49551 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49552 $as_echo_n "(cached) " >&6
49553 else
49556 ac_ext=cpp
49557 ac_cpp='$CXXCPP $CPPFLAGS'
49558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49563 /* end confdefs.h. */
49564 #include <math.h>
49566 main ()
49568 _ldexpf(0, 0);
49570 return 0;
49572 _ACEOF
49573 if ac_fn_cxx_try_compile "$LINENO"; then :
49574 glibcxx_cv_func__ldexpf_use=yes
49575 else
49576 glibcxx_cv_func__ldexpf_use=no
49578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49579 ac_ext=c
49580 ac_cpp='$CPP $CPPFLAGS'
49581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49590 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49592 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49593 for ac_func in _ldexpf
49594 do :
49595 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49596 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49597 cat >>confdefs.h <<_ACEOF
49598 #define HAVE__LDEXPF 1
49599 _ACEOF
49602 done
49611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49612 $as_echo_n "checking for logf declaration... " >&6; }
49613 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49614 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49615 $as_echo_n "(cached) " >&6
49616 else
49619 ac_ext=cpp
49620 ac_cpp='$CXXCPP $CPPFLAGS'
49621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49626 /* end confdefs.h. */
49627 #include <math.h>
49628 #ifdef HAVE_IEEEFP_H
49629 #include <ieeefp.h>
49630 #endif
49633 main ()
49635 logf(0);
49637 return 0;
49639 _ACEOF
49640 if ac_fn_cxx_try_compile "$LINENO"; then :
49641 glibcxx_cv_func_logf_use=yes
49642 else
49643 glibcxx_cv_func_logf_use=no
49645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49646 ac_ext=c
49647 ac_cpp='$CPP $CPPFLAGS'
49648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49657 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49659 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49660 for ac_func in logf
49661 do :
49662 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49663 if test "x$ac_cv_func_logf" = x""yes; then :
49664 cat >>confdefs.h <<_ACEOF
49665 #define HAVE_LOGF 1
49666 _ACEOF
49669 done
49671 else
49673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49674 $as_echo_n "checking for _logf declaration... " >&6; }
49675 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49676 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49677 $as_echo_n "(cached) " >&6
49678 else
49681 ac_ext=cpp
49682 ac_cpp='$CXXCPP $CPPFLAGS'
49683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49688 /* end confdefs.h. */
49689 #include <math.h>
49690 #ifdef HAVE_IEEEFP_H
49691 #include <ieeefp.h>
49692 #endif
49695 main ()
49697 _logf(0);
49699 return 0;
49701 _ACEOF
49702 if ac_fn_cxx_try_compile "$LINENO"; then :
49703 glibcxx_cv_func__logf_use=yes
49704 else
49705 glibcxx_cv_func__logf_use=no
49707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49708 ac_ext=c
49709 ac_cpp='$CPP $CPPFLAGS'
49710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49719 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49721 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49722 for ac_func in _logf
49723 do :
49724 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49725 if test "x$ac_cv_func__logf" = x""yes; then :
49726 cat >>confdefs.h <<_ACEOF
49727 #define HAVE__LOGF 1
49728 _ACEOF
49731 done
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49741 $as_echo_n "checking for log10f declaration... " >&6; }
49742 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49743 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49744 $as_echo_n "(cached) " >&6
49745 else
49748 ac_ext=cpp
49749 ac_cpp='$CXXCPP $CPPFLAGS'
49750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49755 /* end confdefs.h. */
49756 #include <math.h>
49757 #ifdef HAVE_IEEEFP_H
49758 #include <ieeefp.h>
49759 #endif
49762 main ()
49764 log10f(0);
49766 return 0;
49768 _ACEOF
49769 if ac_fn_cxx_try_compile "$LINENO"; then :
49770 glibcxx_cv_func_log10f_use=yes
49771 else
49772 glibcxx_cv_func_log10f_use=no
49774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49775 ac_ext=c
49776 ac_cpp='$CPP $CPPFLAGS'
49777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49786 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49788 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49789 for ac_func in log10f
49790 do :
49791 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49792 if test "x$ac_cv_func_log10f" = x""yes; then :
49793 cat >>confdefs.h <<_ACEOF
49794 #define HAVE_LOG10F 1
49795 _ACEOF
49798 done
49800 else
49802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49803 $as_echo_n "checking for _log10f declaration... " >&6; }
49804 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49805 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49806 $as_echo_n "(cached) " >&6
49807 else
49810 ac_ext=cpp
49811 ac_cpp='$CXXCPP $CPPFLAGS'
49812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49817 /* end confdefs.h. */
49818 #include <math.h>
49819 #ifdef HAVE_IEEEFP_H
49820 #include <ieeefp.h>
49821 #endif
49824 main ()
49826 _log10f(0);
49828 return 0;
49830 _ACEOF
49831 if ac_fn_cxx_try_compile "$LINENO"; then :
49832 glibcxx_cv_func__log10f_use=yes
49833 else
49834 glibcxx_cv_func__log10f_use=no
49836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49837 ac_ext=c
49838 ac_cpp='$CPP $CPPFLAGS'
49839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49848 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49850 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49851 for ac_func in _log10f
49852 do :
49853 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49854 if test "x$ac_cv_func__log10f" = x""yes; then :
49855 cat >>confdefs.h <<_ACEOF
49856 #define HAVE__LOG10F 1
49857 _ACEOF
49860 done
49869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49870 $as_echo_n "checking for modff declaration... " >&6; }
49871 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49872 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49873 $as_echo_n "(cached) " >&6
49874 else
49877 ac_ext=cpp
49878 ac_cpp='$CXXCPP $CPPFLAGS'
49879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49884 /* end confdefs.h. */
49885 #include <math.h>
49887 main ()
49889 modff(0, 0);
49891 return 0;
49893 _ACEOF
49894 if ac_fn_cxx_try_compile "$LINENO"; then :
49895 glibcxx_cv_func_modff_use=yes
49896 else
49897 glibcxx_cv_func_modff_use=no
49899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49900 ac_ext=c
49901 ac_cpp='$CPP $CPPFLAGS'
49902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49911 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49913 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49914 for ac_func in modff
49915 do :
49916 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49917 if test "x$ac_cv_func_modff" = x""yes; then :
49918 cat >>confdefs.h <<_ACEOF
49919 #define HAVE_MODFF 1
49920 _ACEOF
49923 done
49925 else
49927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49928 $as_echo_n "checking for _modff declaration... " >&6; }
49929 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49930 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49931 $as_echo_n "(cached) " >&6
49932 else
49935 ac_ext=cpp
49936 ac_cpp='$CXXCPP $CPPFLAGS'
49937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49942 /* end confdefs.h. */
49943 #include <math.h>
49945 main ()
49947 _modff(0, 0);
49949 return 0;
49951 _ACEOF
49952 if ac_fn_cxx_try_compile "$LINENO"; then :
49953 glibcxx_cv_func__modff_use=yes
49954 else
49955 glibcxx_cv_func__modff_use=no
49957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49958 ac_ext=c
49959 ac_cpp='$CPP $CPPFLAGS'
49960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49969 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49971 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49972 for ac_func in _modff
49973 do :
49974 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49975 if test "x$ac_cv_func__modff" = x""yes; then :
49976 cat >>confdefs.h <<_ACEOF
49977 #define HAVE__MODFF 1
49978 _ACEOF
49981 done
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49991 $as_echo_n "checking for modf declaration... " >&6; }
49992 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49993 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49994 $as_echo_n "(cached) " >&6
49995 else
49998 ac_ext=cpp
49999 ac_cpp='$CXXCPP $CPPFLAGS'
50000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50005 /* end confdefs.h. */
50006 #include <math.h>
50008 main ()
50010 modf(0, 0);
50012 return 0;
50014 _ACEOF
50015 if ac_fn_cxx_try_compile "$LINENO"; then :
50016 glibcxx_cv_func_modf_use=yes
50017 else
50018 glibcxx_cv_func_modf_use=no
50020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50021 ac_ext=c
50022 ac_cpp='$CPP $CPPFLAGS'
50023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50032 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50034 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50035 for ac_func in modf
50036 do :
50037 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50038 if test "x$ac_cv_func_modf" = x""yes; then :
50039 cat >>confdefs.h <<_ACEOF
50040 #define HAVE_MODF 1
50041 _ACEOF
50044 done
50046 else
50048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50049 $as_echo_n "checking for _modf declaration... " >&6; }
50050 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50051 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50052 $as_echo_n "(cached) " >&6
50053 else
50056 ac_ext=cpp
50057 ac_cpp='$CXXCPP $CPPFLAGS'
50058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50063 /* end confdefs.h. */
50064 #include <math.h>
50066 main ()
50068 _modf(0, 0);
50070 return 0;
50072 _ACEOF
50073 if ac_fn_cxx_try_compile "$LINENO"; then :
50074 glibcxx_cv_func__modf_use=yes
50075 else
50076 glibcxx_cv_func__modf_use=no
50078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50079 ac_ext=c
50080 ac_cpp='$CPP $CPPFLAGS'
50081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50090 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50092 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50093 for ac_func in _modf
50094 do :
50095 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50096 if test "x$ac_cv_func__modf" = x""yes; then :
50097 cat >>confdefs.h <<_ACEOF
50098 #define HAVE__MODF 1
50099 _ACEOF
50102 done
50111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50112 $as_echo_n "checking for powf declaration... " >&6; }
50113 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50114 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50115 $as_echo_n "(cached) " >&6
50116 else
50119 ac_ext=cpp
50120 ac_cpp='$CXXCPP $CPPFLAGS'
50121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50126 /* end confdefs.h. */
50127 #include <math.h>
50129 main ()
50131 powf(0, 0);
50133 return 0;
50135 _ACEOF
50136 if ac_fn_cxx_try_compile "$LINENO"; then :
50137 glibcxx_cv_func_powf_use=yes
50138 else
50139 glibcxx_cv_func_powf_use=no
50141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50142 ac_ext=c
50143 ac_cpp='$CPP $CPPFLAGS'
50144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50153 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50155 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50156 for ac_func in powf
50157 do :
50158 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50159 if test "x$ac_cv_func_powf" = x""yes; then :
50160 cat >>confdefs.h <<_ACEOF
50161 #define HAVE_POWF 1
50162 _ACEOF
50165 done
50167 else
50169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50170 $as_echo_n "checking for _powf declaration... " >&6; }
50171 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50172 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50173 $as_echo_n "(cached) " >&6
50174 else
50177 ac_ext=cpp
50178 ac_cpp='$CXXCPP $CPPFLAGS'
50179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50184 /* end confdefs.h. */
50185 #include <math.h>
50187 main ()
50189 _powf(0, 0);
50191 return 0;
50193 _ACEOF
50194 if ac_fn_cxx_try_compile "$LINENO"; then :
50195 glibcxx_cv_func__powf_use=yes
50196 else
50197 glibcxx_cv_func__powf_use=no
50199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50200 ac_ext=c
50201 ac_cpp='$CPP $CPPFLAGS'
50202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50211 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50213 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50214 for ac_func in _powf
50215 do :
50216 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50217 if test "x$ac_cv_func__powf" = x""yes; then :
50218 cat >>confdefs.h <<_ACEOF
50219 #define HAVE__POWF 1
50220 _ACEOF
50223 done
50232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50233 $as_echo_n "checking for sqrtf declaration... " >&6; }
50234 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50235 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50236 $as_echo_n "(cached) " >&6
50237 else
50240 ac_ext=cpp
50241 ac_cpp='$CXXCPP $CPPFLAGS'
50242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50247 /* end confdefs.h. */
50248 #include <math.h>
50249 #ifdef HAVE_IEEEFP_H
50250 #include <ieeefp.h>
50251 #endif
50254 main ()
50256 sqrtf(0);
50258 return 0;
50260 _ACEOF
50261 if ac_fn_cxx_try_compile "$LINENO"; then :
50262 glibcxx_cv_func_sqrtf_use=yes
50263 else
50264 glibcxx_cv_func_sqrtf_use=no
50266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50267 ac_ext=c
50268 ac_cpp='$CPP $CPPFLAGS'
50269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50278 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50280 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50281 for ac_func in sqrtf
50282 do :
50283 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50284 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50285 cat >>confdefs.h <<_ACEOF
50286 #define HAVE_SQRTF 1
50287 _ACEOF
50290 done
50292 else
50294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50295 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50296 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50297 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50298 $as_echo_n "(cached) " >&6
50299 else
50302 ac_ext=cpp
50303 ac_cpp='$CXXCPP $CPPFLAGS'
50304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50309 /* end confdefs.h. */
50310 #include <math.h>
50311 #ifdef HAVE_IEEEFP_H
50312 #include <ieeefp.h>
50313 #endif
50316 main ()
50318 _sqrtf(0);
50320 return 0;
50322 _ACEOF
50323 if ac_fn_cxx_try_compile "$LINENO"; then :
50324 glibcxx_cv_func__sqrtf_use=yes
50325 else
50326 glibcxx_cv_func__sqrtf_use=no
50328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50329 ac_ext=c
50330 ac_cpp='$CPP $CPPFLAGS'
50331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50340 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50342 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50343 for ac_func in _sqrtf
50344 do :
50345 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50346 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50347 cat >>confdefs.h <<_ACEOF
50348 #define HAVE__SQRTF 1
50349 _ACEOF
50352 done
50361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50362 $as_echo_n "checking for sincosf declaration... " >&6; }
50363 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50364 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50365 $as_echo_n "(cached) " >&6
50366 else
50369 ac_ext=cpp
50370 ac_cpp='$CXXCPP $CPPFLAGS'
50371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50376 /* end confdefs.h. */
50377 #include <math.h>
50379 main ()
50381 sincosf(0, 0, 0);
50383 return 0;
50385 _ACEOF
50386 if ac_fn_cxx_try_compile "$LINENO"; then :
50387 glibcxx_cv_func_sincosf_use=yes
50388 else
50389 glibcxx_cv_func_sincosf_use=no
50391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50392 ac_ext=c
50393 ac_cpp='$CPP $CPPFLAGS'
50394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50403 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50405 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50406 for ac_func in sincosf
50407 do :
50408 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50409 if test "x$ac_cv_func_sincosf" = x""yes; then :
50410 cat >>confdefs.h <<_ACEOF
50411 #define HAVE_SINCOSF 1
50412 _ACEOF
50415 done
50417 else
50419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50420 $as_echo_n "checking for _sincosf declaration... " >&6; }
50421 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50422 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50423 $as_echo_n "(cached) " >&6
50424 else
50427 ac_ext=cpp
50428 ac_cpp='$CXXCPP $CPPFLAGS'
50429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50434 /* end confdefs.h. */
50435 #include <math.h>
50437 main ()
50439 _sincosf(0, 0, 0);
50441 return 0;
50443 _ACEOF
50444 if ac_fn_cxx_try_compile "$LINENO"; then :
50445 glibcxx_cv_func__sincosf_use=yes
50446 else
50447 glibcxx_cv_func__sincosf_use=no
50449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50450 ac_ext=c
50451 ac_cpp='$CPP $CPPFLAGS'
50452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50461 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50463 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50464 for ac_func in _sincosf
50465 do :
50466 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50467 if test "x$ac_cv_func__sincosf" = x""yes; then :
50468 cat >>confdefs.h <<_ACEOF
50469 #define HAVE__SINCOSF 1
50470 _ACEOF
50473 done
50482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50483 $as_echo_n "checking for finitef declaration... " >&6; }
50484 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50485 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50486 $as_echo_n "(cached) " >&6
50487 else
50490 ac_ext=cpp
50491 ac_cpp='$CXXCPP $CPPFLAGS'
50492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50497 /* end confdefs.h. */
50498 #include <math.h>
50499 #ifdef HAVE_IEEEFP_H
50500 #include <ieeefp.h>
50501 #endif
50504 main ()
50506 finitef(0);
50508 return 0;
50510 _ACEOF
50511 if ac_fn_cxx_try_compile "$LINENO"; then :
50512 glibcxx_cv_func_finitef_use=yes
50513 else
50514 glibcxx_cv_func_finitef_use=no
50516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50517 ac_ext=c
50518 ac_cpp='$CPP $CPPFLAGS'
50519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50528 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50530 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50531 for ac_func in finitef
50532 do :
50533 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50534 if test "x$ac_cv_func_finitef" = x""yes; then :
50535 cat >>confdefs.h <<_ACEOF
50536 #define HAVE_FINITEF 1
50537 _ACEOF
50540 done
50542 else
50544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50545 $as_echo_n "checking for _finitef declaration... " >&6; }
50546 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50547 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50548 $as_echo_n "(cached) " >&6
50549 else
50552 ac_ext=cpp
50553 ac_cpp='$CXXCPP $CPPFLAGS'
50554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50559 /* end confdefs.h. */
50560 #include <math.h>
50561 #ifdef HAVE_IEEEFP_H
50562 #include <ieeefp.h>
50563 #endif
50566 main ()
50568 _finitef(0);
50570 return 0;
50572 _ACEOF
50573 if ac_fn_cxx_try_compile "$LINENO"; then :
50574 glibcxx_cv_func__finitef_use=yes
50575 else
50576 glibcxx_cv_func__finitef_use=no
50578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50579 ac_ext=c
50580 ac_cpp='$CPP $CPPFLAGS'
50581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50590 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50592 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50593 for ac_func in _finitef
50594 do :
50595 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50596 if test "x$ac_cv_func__finitef" = x""yes; then :
50597 cat >>confdefs.h <<_ACEOF
50598 #define HAVE__FINITEF 1
50599 _ACEOF
50602 done
50611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50612 $as_echo_n "checking for long double trig functions... " >&6; }
50613 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50614 $as_echo_n "(cached) " >&6
50615 else
50618 ac_ext=cpp
50619 ac_cpp='$CXXCPP $CPPFLAGS'
50620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50625 /* end confdefs.h. */
50626 #include <math.h>
50628 main ()
50630 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50632 return 0;
50634 _ACEOF
50635 if ac_fn_cxx_try_compile "$LINENO"; then :
50636 glibcxx_cv_func_long_double_trig_use=yes
50637 else
50638 glibcxx_cv_func_long_double_trig_use=no
50640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50641 ac_ext=c
50642 ac_cpp='$CPP $CPPFLAGS'
50643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50650 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50651 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50652 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50653 do :
50654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50656 eval as_val=\$$as_ac_var
50657 if test "x$as_val" = x""yes; then :
50658 cat >>confdefs.h <<_ACEOF
50659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50660 _ACEOF
50663 done
50665 else
50666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50667 $as_echo_n "checking for _long double trig functions... " >&6; }
50668 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50669 $as_echo_n "(cached) " >&6
50670 else
50673 ac_ext=cpp
50674 ac_cpp='$CXXCPP $CPPFLAGS'
50675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50680 /* end confdefs.h. */
50681 #include <math.h>
50683 main ()
50685 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50687 return 0;
50689 _ACEOF
50690 if ac_fn_cxx_try_compile "$LINENO"; then :
50691 glibcxx_cv_func__long_double_trig_use=yes
50692 else
50693 glibcxx_cv_func__long_double_trig_use=no
50695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50696 ac_ext=c
50697 ac_cpp='$CPP $CPPFLAGS'
50698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50705 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50706 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50707 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50708 do :
50709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50711 eval as_val=\$$as_ac_var
50712 if test "x$as_val" = x""yes; then :
50713 cat >>confdefs.h <<_ACEOF
50714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50715 _ACEOF
50718 done
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50728 $as_echo_n "checking for long double round functions... " >&6; }
50729 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50730 $as_echo_n "(cached) " >&6
50731 else
50734 ac_ext=cpp
50735 ac_cpp='$CXXCPP $CPPFLAGS'
50736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50741 /* end confdefs.h. */
50742 #include <math.h>
50744 main ()
50746 ceill (0); floorl (0);
50748 return 0;
50750 _ACEOF
50751 if ac_fn_cxx_try_compile "$LINENO"; then :
50752 glibcxx_cv_func_long_double_round_use=yes
50753 else
50754 glibcxx_cv_func_long_double_round_use=no
50756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50757 ac_ext=c
50758 ac_cpp='$CPP $CPPFLAGS'
50759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50766 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50767 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50768 for ac_func in ceill floorl
50769 do :
50770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50772 eval as_val=\$$as_ac_var
50773 if test "x$as_val" = x""yes; then :
50774 cat >>confdefs.h <<_ACEOF
50775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50776 _ACEOF
50779 done
50781 else
50782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50783 $as_echo_n "checking for _long double round functions... " >&6; }
50784 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50785 $as_echo_n "(cached) " >&6
50786 else
50789 ac_ext=cpp
50790 ac_cpp='$CXXCPP $CPPFLAGS'
50791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50796 /* end confdefs.h. */
50797 #include <math.h>
50799 main ()
50801 _ceill (0); _floorl (0);
50803 return 0;
50805 _ACEOF
50806 if ac_fn_cxx_try_compile "$LINENO"; then :
50807 glibcxx_cv_func__long_double_round_use=yes
50808 else
50809 glibcxx_cv_func__long_double_round_use=no
50811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50812 ac_ext=c
50813 ac_cpp='$CPP $CPPFLAGS'
50814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50821 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50822 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50823 for ac_func in _ceill _floorl
50824 do :
50825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50827 eval as_val=\$$as_ac_var
50828 if test "x$as_val" = x""yes; then :
50829 cat >>confdefs.h <<_ACEOF
50830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50831 _ACEOF
50834 done
50844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50845 $as_echo_n "checking for isnanl declaration... " >&6; }
50846 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50847 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50848 $as_echo_n "(cached) " >&6
50849 else
50852 ac_ext=cpp
50853 ac_cpp='$CXXCPP $CPPFLAGS'
50854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50859 /* end confdefs.h. */
50860 #include <math.h>
50861 #ifdef HAVE_IEEEFP_H
50862 #include <ieeefp.h>
50863 #endif
50866 main ()
50868 isnanl(0);
50870 return 0;
50872 _ACEOF
50873 if ac_fn_cxx_try_compile "$LINENO"; then :
50874 glibcxx_cv_func_isnanl_use=yes
50875 else
50876 glibcxx_cv_func_isnanl_use=no
50878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50879 ac_ext=c
50880 ac_cpp='$CPP $CPPFLAGS'
50881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50890 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50892 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50893 for ac_func in isnanl
50894 do :
50895 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50896 if test "x$ac_cv_func_isnanl" = x""yes; then :
50897 cat >>confdefs.h <<_ACEOF
50898 #define HAVE_ISNANL 1
50899 _ACEOF
50902 done
50904 else
50906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50907 $as_echo_n "checking for _isnanl declaration... " >&6; }
50908 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50909 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50910 $as_echo_n "(cached) " >&6
50911 else
50914 ac_ext=cpp
50915 ac_cpp='$CXXCPP $CPPFLAGS'
50916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50921 /* end confdefs.h. */
50922 #include <math.h>
50923 #ifdef HAVE_IEEEFP_H
50924 #include <ieeefp.h>
50925 #endif
50928 main ()
50930 _isnanl(0);
50932 return 0;
50934 _ACEOF
50935 if ac_fn_cxx_try_compile "$LINENO"; then :
50936 glibcxx_cv_func__isnanl_use=yes
50937 else
50938 glibcxx_cv_func__isnanl_use=no
50940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50941 ac_ext=c
50942 ac_cpp='$CPP $CPPFLAGS'
50943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50952 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50954 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50955 for ac_func in _isnanl
50956 do :
50957 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50958 if test "x$ac_cv_func__isnanl" = x""yes; then :
50959 cat >>confdefs.h <<_ACEOF
50960 #define HAVE__ISNANL 1
50961 _ACEOF
50964 done
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50974 $as_echo_n "checking for isinfl declaration... " >&6; }
50975 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50976 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50977 $as_echo_n "(cached) " >&6
50978 else
50981 ac_ext=cpp
50982 ac_cpp='$CXXCPP $CPPFLAGS'
50983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50988 /* end confdefs.h. */
50989 #include <math.h>
50990 #ifdef HAVE_IEEEFP_H
50991 #include <ieeefp.h>
50992 #endif
50995 main ()
50997 isinfl(0);
50999 return 0;
51001 _ACEOF
51002 if ac_fn_cxx_try_compile "$LINENO"; then :
51003 glibcxx_cv_func_isinfl_use=yes
51004 else
51005 glibcxx_cv_func_isinfl_use=no
51007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51008 ac_ext=c
51009 ac_cpp='$CPP $CPPFLAGS'
51010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51019 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51021 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51022 for ac_func in isinfl
51023 do :
51024 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51025 if test "x$ac_cv_func_isinfl" = x""yes; then :
51026 cat >>confdefs.h <<_ACEOF
51027 #define HAVE_ISINFL 1
51028 _ACEOF
51031 done
51033 else
51035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51036 $as_echo_n "checking for _isinfl declaration... " >&6; }
51037 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51038 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51039 $as_echo_n "(cached) " >&6
51040 else
51043 ac_ext=cpp
51044 ac_cpp='$CXXCPP $CPPFLAGS'
51045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51050 /* end confdefs.h. */
51051 #include <math.h>
51052 #ifdef HAVE_IEEEFP_H
51053 #include <ieeefp.h>
51054 #endif
51057 main ()
51059 _isinfl(0);
51061 return 0;
51063 _ACEOF
51064 if ac_fn_cxx_try_compile "$LINENO"; then :
51065 glibcxx_cv_func__isinfl_use=yes
51066 else
51067 glibcxx_cv_func__isinfl_use=no
51069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51070 ac_ext=c
51071 ac_cpp='$CPP $CPPFLAGS'
51072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51081 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51083 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51084 for ac_func in _isinfl
51085 do :
51086 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51087 if test "x$ac_cv_func__isinfl" = x""yes; then :
51088 cat >>confdefs.h <<_ACEOF
51089 #define HAVE__ISINFL 1
51090 _ACEOF
51093 done
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51103 $as_echo_n "checking for atan2l declaration... " >&6; }
51104 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51105 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51106 $as_echo_n "(cached) " >&6
51107 else
51110 ac_ext=cpp
51111 ac_cpp='$CXXCPP $CPPFLAGS'
51112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51117 /* end confdefs.h. */
51118 #include <math.h>
51120 main ()
51122 atan2l(0, 0);
51124 return 0;
51126 _ACEOF
51127 if ac_fn_cxx_try_compile "$LINENO"; then :
51128 glibcxx_cv_func_atan2l_use=yes
51129 else
51130 glibcxx_cv_func_atan2l_use=no
51132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51133 ac_ext=c
51134 ac_cpp='$CPP $CPPFLAGS'
51135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51144 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51146 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51147 for ac_func in atan2l
51148 do :
51149 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51150 if test "x$ac_cv_func_atan2l" = x""yes; then :
51151 cat >>confdefs.h <<_ACEOF
51152 #define HAVE_ATAN2L 1
51153 _ACEOF
51156 done
51158 else
51160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51161 $as_echo_n "checking for _atan2l declaration... " >&6; }
51162 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51163 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51164 $as_echo_n "(cached) " >&6
51165 else
51168 ac_ext=cpp
51169 ac_cpp='$CXXCPP $CPPFLAGS'
51170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51175 /* end confdefs.h. */
51176 #include <math.h>
51178 main ()
51180 _atan2l(0, 0);
51182 return 0;
51184 _ACEOF
51185 if ac_fn_cxx_try_compile "$LINENO"; then :
51186 glibcxx_cv_func__atan2l_use=yes
51187 else
51188 glibcxx_cv_func__atan2l_use=no
51190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51191 ac_ext=c
51192 ac_cpp='$CPP $CPPFLAGS'
51193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51202 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51204 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51205 for ac_func in _atan2l
51206 do :
51207 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51208 if test "x$ac_cv_func__atan2l" = x""yes; then :
51209 cat >>confdefs.h <<_ACEOF
51210 #define HAVE__ATAN2L 1
51211 _ACEOF
51214 done
51223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51224 $as_echo_n "checking for expl declaration... " >&6; }
51225 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51226 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51227 $as_echo_n "(cached) " >&6
51228 else
51231 ac_ext=cpp
51232 ac_cpp='$CXXCPP $CPPFLAGS'
51233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51238 /* end confdefs.h. */
51239 #include <math.h>
51240 #ifdef HAVE_IEEEFP_H
51241 #include <ieeefp.h>
51242 #endif
51245 main ()
51247 expl(0);
51249 return 0;
51251 _ACEOF
51252 if ac_fn_cxx_try_compile "$LINENO"; then :
51253 glibcxx_cv_func_expl_use=yes
51254 else
51255 glibcxx_cv_func_expl_use=no
51257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51258 ac_ext=c
51259 ac_cpp='$CPP $CPPFLAGS'
51260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51269 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51271 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51272 for ac_func in expl
51273 do :
51274 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51275 if test "x$ac_cv_func_expl" = x""yes; then :
51276 cat >>confdefs.h <<_ACEOF
51277 #define HAVE_EXPL 1
51278 _ACEOF
51281 done
51283 else
51285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51286 $as_echo_n "checking for _expl declaration... " >&6; }
51287 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51288 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51289 $as_echo_n "(cached) " >&6
51290 else
51293 ac_ext=cpp
51294 ac_cpp='$CXXCPP $CPPFLAGS'
51295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51300 /* end confdefs.h. */
51301 #include <math.h>
51302 #ifdef HAVE_IEEEFP_H
51303 #include <ieeefp.h>
51304 #endif
51307 main ()
51309 _expl(0);
51311 return 0;
51313 _ACEOF
51314 if ac_fn_cxx_try_compile "$LINENO"; then :
51315 glibcxx_cv_func__expl_use=yes
51316 else
51317 glibcxx_cv_func__expl_use=no
51319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51320 ac_ext=c
51321 ac_cpp='$CPP $CPPFLAGS'
51322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51331 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51333 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51334 for ac_func in _expl
51335 do :
51336 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51337 if test "x$ac_cv_func__expl" = x""yes; then :
51338 cat >>confdefs.h <<_ACEOF
51339 #define HAVE__EXPL 1
51340 _ACEOF
51343 done
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51353 $as_echo_n "checking for fabsl declaration... " >&6; }
51354 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51355 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51356 $as_echo_n "(cached) " >&6
51357 else
51360 ac_ext=cpp
51361 ac_cpp='$CXXCPP $CPPFLAGS'
51362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51367 /* end confdefs.h. */
51368 #include <math.h>
51369 #ifdef HAVE_IEEEFP_H
51370 #include <ieeefp.h>
51371 #endif
51374 main ()
51376 fabsl(0);
51378 return 0;
51380 _ACEOF
51381 if ac_fn_cxx_try_compile "$LINENO"; then :
51382 glibcxx_cv_func_fabsl_use=yes
51383 else
51384 glibcxx_cv_func_fabsl_use=no
51386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51387 ac_ext=c
51388 ac_cpp='$CPP $CPPFLAGS'
51389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51398 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51400 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51401 for ac_func in fabsl
51402 do :
51403 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51404 if test "x$ac_cv_func_fabsl" = x""yes; then :
51405 cat >>confdefs.h <<_ACEOF
51406 #define HAVE_FABSL 1
51407 _ACEOF
51410 done
51412 else
51414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51415 $as_echo_n "checking for _fabsl declaration... " >&6; }
51416 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51417 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51418 $as_echo_n "(cached) " >&6
51419 else
51422 ac_ext=cpp
51423 ac_cpp='$CXXCPP $CPPFLAGS'
51424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51429 /* end confdefs.h. */
51430 #include <math.h>
51431 #ifdef HAVE_IEEEFP_H
51432 #include <ieeefp.h>
51433 #endif
51436 main ()
51438 _fabsl(0);
51440 return 0;
51442 _ACEOF
51443 if ac_fn_cxx_try_compile "$LINENO"; then :
51444 glibcxx_cv_func__fabsl_use=yes
51445 else
51446 glibcxx_cv_func__fabsl_use=no
51448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51449 ac_ext=c
51450 ac_cpp='$CPP $CPPFLAGS'
51451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51460 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51462 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51463 for ac_func in _fabsl
51464 do :
51465 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51466 if test "x$ac_cv_func__fabsl" = x""yes; then :
51467 cat >>confdefs.h <<_ACEOF
51468 #define HAVE__FABSL 1
51469 _ACEOF
51472 done
51481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51482 $as_echo_n "checking for fmodl declaration... " >&6; }
51483 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51484 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51485 $as_echo_n "(cached) " >&6
51486 else
51489 ac_ext=cpp
51490 ac_cpp='$CXXCPP $CPPFLAGS'
51491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51496 /* end confdefs.h. */
51497 #include <math.h>
51499 main ()
51501 fmodl(0, 0);
51503 return 0;
51505 _ACEOF
51506 if ac_fn_cxx_try_compile "$LINENO"; then :
51507 glibcxx_cv_func_fmodl_use=yes
51508 else
51509 glibcxx_cv_func_fmodl_use=no
51511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51512 ac_ext=c
51513 ac_cpp='$CPP $CPPFLAGS'
51514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51523 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51525 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51526 for ac_func in fmodl
51527 do :
51528 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51529 if test "x$ac_cv_func_fmodl" = x""yes; then :
51530 cat >>confdefs.h <<_ACEOF
51531 #define HAVE_FMODL 1
51532 _ACEOF
51535 done
51537 else
51539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51540 $as_echo_n "checking for _fmodl declaration... " >&6; }
51541 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51542 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51543 $as_echo_n "(cached) " >&6
51544 else
51547 ac_ext=cpp
51548 ac_cpp='$CXXCPP $CPPFLAGS'
51549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51554 /* end confdefs.h. */
51555 #include <math.h>
51557 main ()
51559 _fmodl(0, 0);
51561 return 0;
51563 _ACEOF
51564 if ac_fn_cxx_try_compile "$LINENO"; then :
51565 glibcxx_cv_func__fmodl_use=yes
51566 else
51567 glibcxx_cv_func__fmodl_use=no
51569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51570 ac_ext=c
51571 ac_cpp='$CPP $CPPFLAGS'
51572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51581 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51583 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51584 for ac_func in _fmodl
51585 do :
51586 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51587 if test "x$ac_cv_func__fmodl" = x""yes; then :
51588 cat >>confdefs.h <<_ACEOF
51589 #define HAVE__FMODL 1
51590 _ACEOF
51593 done
51602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51603 $as_echo_n "checking for frexpl declaration... " >&6; }
51604 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51605 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51606 $as_echo_n "(cached) " >&6
51607 else
51610 ac_ext=cpp
51611 ac_cpp='$CXXCPP $CPPFLAGS'
51612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51617 /* end confdefs.h. */
51618 #include <math.h>
51620 main ()
51622 frexpl(0, 0);
51624 return 0;
51626 _ACEOF
51627 if ac_fn_cxx_try_compile "$LINENO"; then :
51628 glibcxx_cv_func_frexpl_use=yes
51629 else
51630 glibcxx_cv_func_frexpl_use=no
51632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51633 ac_ext=c
51634 ac_cpp='$CPP $CPPFLAGS'
51635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51644 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51646 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51647 for ac_func in frexpl
51648 do :
51649 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51650 if test "x$ac_cv_func_frexpl" = x""yes; then :
51651 cat >>confdefs.h <<_ACEOF
51652 #define HAVE_FREXPL 1
51653 _ACEOF
51656 done
51658 else
51660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51661 $as_echo_n "checking for _frexpl declaration... " >&6; }
51662 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51663 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51664 $as_echo_n "(cached) " >&6
51665 else
51668 ac_ext=cpp
51669 ac_cpp='$CXXCPP $CPPFLAGS'
51670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51675 /* end confdefs.h. */
51676 #include <math.h>
51678 main ()
51680 _frexpl(0, 0);
51682 return 0;
51684 _ACEOF
51685 if ac_fn_cxx_try_compile "$LINENO"; then :
51686 glibcxx_cv_func__frexpl_use=yes
51687 else
51688 glibcxx_cv_func__frexpl_use=no
51690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51691 ac_ext=c
51692 ac_cpp='$CPP $CPPFLAGS'
51693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51702 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51704 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51705 for ac_func in _frexpl
51706 do :
51707 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51708 if test "x$ac_cv_func__frexpl" = x""yes; then :
51709 cat >>confdefs.h <<_ACEOF
51710 #define HAVE__FREXPL 1
51711 _ACEOF
51714 done
51723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51724 $as_echo_n "checking for hypotl declaration... " >&6; }
51725 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51726 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51727 $as_echo_n "(cached) " >&6
51728 else
51731 ac_ext=cpp
51732 ac_cpp='$CXXCPP $CPPFLAGS'
51733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51738 /* end confdefs.h. */
51739 #include <math.h>
51741 main ()
51743 hypotl(0, 0);
51745 return 0;
51747 _ACEOF
51748 if ac_fn_cxx_try_compile "$LINENO"; then :
51749 glibcxx_cv_func_hypotl_use=yes
51750 else
51751 glibcxx_cv_func_hypotl_use=no
51753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51754 ac_ext=c
51755 ac_cpp='$CPP $CPPFLAGS'
51756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51765 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51767 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51768 for ac_func in hypotl
51769 do :
51770 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51771 if test "x$ac_cv_func_hypotl" = x""yes; then :
51772 cat >>confdefs.h <<_ACEOF
51773 #define HAVE_HYPOTL 1
51774 _ACEOF
51777 done
51779 else
51781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51782 $as_echo_n "checking for _hypotl declaration... " >&6; }
51783 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51784 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51785 $as_echo_n "(cached) " >&6
51786 else
51789 ac_ext=cpp
51790 ac_cpp='$CXXCPP $CPPFLAGS'
51791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51796 /* end confdefs.h. */
51797 #include <math.h>
51799 main ()
51801 _hypotl(0, 0);
51803 return 0;
51805 _ACEOF
51806 if ac_fn_cxx_try_compile "$LINENO"; then :
51807 glibcxx_cv_func__hypotl_use=yes
51808 else
51809 glibcxx_cv_func__hypotl_use=no
51811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51812 ac_ext=c
51813 ac_cpp='$CPP $CPPFLAGS'
51814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51823 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51825 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51826 for ac_func in _hypotl
51827 do :
51828 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51829 if test "x$ac_cv_func__hypotl" = x""yes; then :
51830 cat >>confdefs.h <<_ACEOF
51831 #define HAVE__HYPOTL 1
51832 _ACEOF
51835 done
51844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51845 $as_echo_n "checking for ldexpl declaration... " >&6; }
51846 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51847 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51848 $as_echo_n "(cached) " >&6
51849 else
51852 ac_ext=cpp
51853 ac_cpp='$CXXCPP $CPPFLAGS'
51854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51859 /* end confdefs.h. */
51860 #include <math.h>
51862 main ()
51864 ldexpl(0, 0);
51866 return 0;
51868 _ACEOF
51869 if ac_fn_cxx_try_compile "$LINENO"; then :
51870 glibcxx_cv_func_ldexpl_use=yes
51871 else
51872 glibcxx_cv_func_ldexpl_use=no
51874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51875 ac_ext=c
51876 ac_cpp='$CPP $CPPFLAGS'
51877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51886 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51888 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51889 for ac_func in ldexpl
51890 do :
51891 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51892 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51893 cat >>confdefs.h <<_ACEOF
51894 #define HAVE_LDEXPL 1
51895 _ACEOF
51898 done
51900 else
51902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51903 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51904 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51905 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51906 $as_echo_n "(cached) " >&6
51907 else
51910 ac_ext=cpp
51911 ac_cpp='$CXXCPP $CPPFLAGS'
51912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51917 /* end confdefs.h. */
51918 #include <math.h>
51920 main ()
51922 _ldexpl(0, 0);
51924 return 0;
51926 _ACEOF
51927 if ac_fn_cxx_try_compile "$LINENO"; then :
51928 glibcxx_cv_func__ldexpl_use=yes
51929 else
51930 glibcxx_cv_func__ldexpl_use=no
51932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51933 ac_ext=c
51934 ac_cpp='$CPP $CPPFLAGS'
51935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51944 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51946 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51947 for ac_func in _ldexpl
51948 do :
51949 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51950 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51951 cat >>confdefs.h <<_ACEOF
51952 #define HAVE__LDEXPL 1
51953 _ACEOF
51956 done
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51966 $as_echo_n "checking for logl declaration... " >&6; }
51967 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51968 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51969 $as_echo_n "(cached) " >&6
51970 else
51973 ac_ext=cpp
51974 ac_cpp='$CXXCPP $CPPFLAGS'
51975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51980 /* end confdefs.h. */
51981 #include <math.h>
51982 #ifdef HAVE_IEEEFP_H
51983 #include <ieeefp.h>
51984 #endif
51987 main ()
51989 logl(0);
51991 return 0;
51993 _ACEOF
51994 if ac_fn_cxx_try_compile "$LINENO"; then :
51995 glibcxx_cv_func_logl_use=yes
51996 else
51997 glibcxx_cv_func_logl_use=no
51999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52000 ac_ext=c
52001 ac_cpp='$CPP $CPPFLAGS'
52002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52011 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52013 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52014 for ac_func in logl
52015 do :
52016 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52017 if test "x$ac_cv_func_logl" = x""yes; then :
52018 cat >>confdefs.h <<_ACEOF
52019 #define HAVE_LOGL 1
52020 _ACEOF
52023 done
52025 else
52027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52028 $as_echo_n "checking for _logl declaration... " >&6; }
52029 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52030 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52031 $as_echo_n "(cached) " >&6
52032 else
52035 ac_ext=cpp
52036 ac_cpp='$CXXCPP $CPPFLAGS'
52037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52042 /* end confdefs.h. */
52043 #include <math.h>
52044 #ifdef HAVE_IEEEFP_H
52045 #include <ieeefp.h>
52046 #endif
52049 main ()
52051 _logl(0);
52053 return 0;
52055 _ACEOF
52056 if ac_fn_cxx_try_compile "$LINENO"; then :
52057 glibcxx_cv_func__logl_use=yes
52058 else
52059 glibcxx_cv_func__logl_use=no
52061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52062 ac_ext=c
52063 ac_cpp='$CPP $CPPFLAGS'
52064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52073 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52075 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52076 for ac_func in _logl
52077 do :
52078 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52079 if test "x$ac_cv_func__logl" = x""yes; then :
52080 cat >>confdefs.h <<_ACEOF
52081 #define HAVE__LOGL 1
52082 _ACEOF
52085 done
52094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52095 $as_echo_n "checking for log10l declaration... " >&6; }
52096 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52097 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52098 $as_echo_n "(cached) " >&6
52099 else
52102 ac_ext=cpp
52103 ac_cpp='$CXXCPP $CPPFLAGS'
52104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52109 /* end confdefs.h. */
52110 #include <math.h>
52111 #ifdef HAVE_IEEEFP_H
52112 #include <ieeefp.h>
52113 #endif
52116 main ()
52118 log10l(0);
52120 return 0;
52122 _ACEOF
52123 if ac_fn_cxx_try_compile "$LINENO"; then :
52124 glibcxx_cv_func_log10l_use=yes
52125 else
52126 glibcxx_cv_func_log10l_use=no
52128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52129 ac_ext=c
52130 ac_cpp='$CPP $CPPFLAGS'
52131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52140 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52142 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52143 for ac_func in log10l
52144 do :
52145 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52146 if test "x$ac_cv_func_log10l" = x""yes; then :
52147 cat >>confdefs.h <<_ACEOF
52148 #define HAVE_LOG10L 1
52149 _ACEOF
52152 done
52154 else
52156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52157 $as_echo_n "checking for _log10l declaration... " >&6; }
52158 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52159 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52160 $as_echo_n "(cached) " >&6
52161 else
52164 ac_ext=cpp
52165 ac_cpp='$CXXCPP $CPPFLAGS'
52166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52171 /* end confdefs.h. */
52172 #include <math.h>
52173 #ifdef HAVE_IEEEFP_H
52174 #include <ieeefp.h>
52175 #endif
52178 main ()
52180 _log10l(0);
52182 return 0;
52184 _ACEOF
52185 if ac_fn_cxx_try_compile "$LINENO"; then :
52186 glibcxx_cv_func__log10l_use=yes
52187 else
52188 glibcxx_cv_func__log10l_use=no
52190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52191 ac_ext=c
52192 ac_cpp='$CPP $CPPFLAGS'
52193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52202 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52204 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52205 for ac_func in _log10l
52206 do :
52207 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52208 if test "x$ac_cv_func__log10l" = x""yes; then :
52209 cat >>confdefs.h <<_ACEOF
52210 #define HAVE__LOG10L 1
52211 _ACEOF
52214 done
52223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52224 $as_echo_n "checking for modfl declaration... " >&6; }
52225 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52226 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52227 $as_echo_n "(cached) " >&6
52228 else
52231 ac_ext=cpp
52232 ac_cpp='$CXXCPP $CPPFLAGS'
52233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52238 /* end confdefs.h. */
52239 #include <math.h>
52241 main ()
52243 modfl(0, 0);
52245 return 0;
52247 _ACEOF
52248 if ac_fn_cxx_try_compile "$LINENO"; then :
52249 glibcxx_cv_func_modfl_use=yes
52250 else
52251 glibcxx_cv_func_modfl_use=no
52253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52254 ac_ext=c
52255 ac_cpp='$CPP $CPPFLAGS'
52256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52265 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52267 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52268 for ac_func in modfl
52269 do :
52270 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52271 if test "x$ac_cv_func_modfl" = x""yes; then :
52272 cat >>confdefs.h <<_ACEOF
52273 #define HAVE_MODFL 1
52274 _ACEOF
52277 done
52279 else
52281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52282 $as_echo_n "checking for _modfl declaration... " >&6; }
52283 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52284 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52285 $as_echo_n "(cached) " >&6
52286 else
52289 ac_ext=cpp
52290 ac_cpp='$CXXCPP $CPPFLAGS'
52291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52296 /* end confdefs.h. */
52297 #include <math.h>
52299 main ()
52301 _modfl(0, 0);
52303 return 0;
52305 _ACEOF
52306 if ac_fn_cxx_try_compile "$LINENO"; then :
52307 glibcxx_cv_func__modfl_use=yes
52308 else
52309 glibcxx_cv_func__modfl_use=no
52311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52312 ac_ext=c
52313 ac_cpp='$CPP $CPPFLAGS'
52314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52323 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52325 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52326 for ac_func in _modfl
52327 do :
52328 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52329 if test "x$ac_cv_func__modfl" = x""yes; then :
52330 cat >>confdefs.h <<_ACEOF
52331 #define HAVE__MODFL 1
52332 _ACEOF
52335 done
52344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52345 $as_echo_n "checking for powl declaration... " >&6; }
52346 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52347 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52348 $as_echo_n "(cached) " >&6
52349 else
52352 ac_ext=cpp
52353 ac_cpp='$CXXCPP $CPPFLAGS'
52354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52359 /* end confdefs.h. */
52360 #include <math.h>
52362 main ()
52364 powl(0, 0);
52366 return 0;
52368 _ACEOF
52369 if ac_fn_cxx_try_compile "$LINENO"; then :
52370 glibcxx_cv_func_powl_use=yes
52371 else
52372 glibcxx_cv_func_powl_use=no
52374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52375 ac_ext=c
52376 ac_cpp='$CPP $CPPFLAGS'
52377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52386 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52388 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52389 for ac_func in powl
52390 do :
52391 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52392 if test "x$ac_cv_func_powl" = x""yes; then :
52393 cat >>confdefs.h <<_ACEOF
52394 #define HAVE_POWL 1
52395 _ACEOF
52398 done
52400 else
52402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52403 $as_echo_n "checking for _powl declaration... " >&6; }
52404 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52405 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52406 $as_echo_n "(cached) " >&6
52407 else
52410 ac_ext=cpp
52411 ac_cpp='$CXXCPP $CPPFLAGS'
52412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52417 /* end confdefs.h. */
52418 #include <math.h>
52420 main ()
52422 _powl(0, 0);
52424 return 0;
52426 _ACEOF
52427 if ac_fn_cxx_try_compile "$LINENO"; then :
52428 glibcxx_cv_func__powl_use=yes
52429 else
52430 glibcxx_cv_func__powl_use=no
52432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52433 ac_ext=c
52434 ac_cpp='$CPP $CPPFLAGS'
52435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52444 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52446 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52447 for ac_func in _powl
52448 do :
52449 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52450 if test "x$ac_cv_func__powl" = x""yes; then :
52451 cat >>confdefs.h <<_ACEOF
52452 #define HAVE__POWL 1
52453 _ACEOF
52456 done
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52466 $as_echo_n "checking for sqrtl declaration... " >&6; }
52467 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52468 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52469 $as_echo_n "(cached) " >&6
52470 else
52473 ac_ext=cpp
52474 ac_cpp='$CXXCPP $CPPFLAGS'
52475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52480 /* end confdefs.h. */
52481 #include <math.h>
52482 #ifdef HAVE_IEEEFP_H
52483 #include <ieeefp.h>
52484 #endif
52487 main ()
52489 sqrtl(0);
52491 return 0;
52493 _ACEOF
52494 if ac_fn_cxx_try_compile "$LINENO"; then :
52495 glibcxx_cv_func_sqrtl_use=yes
52496 else
52497 glibcxx_cv_func_sqrtl_use=no
52499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52500 ac_ext=c
52501 ac_cpp='$CPP $CPPFLAGS'
52502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52511 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52513 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52514 for ac_func in sqrtl
52515 do :
52516 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52517 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52518 cat >>confdefs.h <<_ACEOF
52519 #define HAVE_SQRTL 1
52520 _ACEOF
52523 done
52525 else
52527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52528 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52529 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52530 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52531 $as_echo_n "(cached) " >&6
52532 else
52535 ac_ext=cpp
52536 ac_cpp='$CXXCPP $CPPFLAGS'
52537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52542 /* end confdefs.h. */
52543 #include <math.h>
52544 #ifdef HAVE_IEEEFP_H
52545 #include <ieeefp.h>
52546 #endif
52549 main ()
52551 _sqrtl(0);
52553 return 0;
52555 _ACEOF
52556 if ac_fn_cxx_try_compile "$LINENO"; then :
52557 glibcxx_cv_func__sqrtl_use=yes
52558 else
52559 glibcxx_cv_func__sqrtl_use=no
52561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52562 ac_ext=c
52563 ac_cpp='$CPP $CPPFLAGS'
52564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52573 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52575 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52576 for ac_func in _sqrtl
52577 do :
52578 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52579 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52580 cat >>confdefs.h <<_ACEOF
52581 #define HAVE__SQRTL 1
52582 _ACEOF
52585 done
52594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52595 $as_echo_n "checking for sincosl declaration... " >&6; }
52596 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52597 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52598 $as_echo_n "(cached) " >&6
52599 else
52602 ac_ext=cpp
52603 ac_cpp='$CXXCPP $CPPFLAGS'
52604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52609 /* end confdefs.h. */
52610 #include <math.h>
52612 main ()
52614 sincosl(0, 0, 0);
52616 return 0;
52618 _ACEOF
52619 if ac_fn_cxx_try_compile "$LINENO"; then :
52620 glibcxx_cv_func_sincosl_use=yes
52621 else
52622 glibcxx_cv_func_sincosl_use=no
52624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52625 ac_ext=c
52626 ac_cpp='$CPP $CPPFLAGS'
52627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52636 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52638 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52639 for ac_func in sincosl
52640 do :
52641 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52642 if test "x$ac_cv_func_sincosl" = x""yes; then :
52643 cat >>confdefs.h <<_ACEOF
52644 #define HAVE_SINCOSL 1
52645 _ACEOF
52648 done
52650 else
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52653 $as_echo_n "checking for _sincosl declaration... " >&6; }
52654 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52655 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52656 $as_echo_n "(cached) " >&6
52657 else
52660 ac_ext=cpp
52661 ac_cpp='$CXXCPP $CPPFLAGS'
52662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52667 /* end confdefs.h. */
52668 #include <math.h>
52670 main ()
52672 _sincosl(0, 0, 0);
52674 return 0;
52676 _ACEOF
52677 if ac_fn_cxx_try_compile "$LINENO"; then :
52678 glibcxx_cv_func__sincosl_use=yes
52679 else
52680 glibcxx_cv_func__sincosl_use=no
52682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52683 ac_ext=c
52684 ac_cpp='$CPP $CPPFLAGS'
52685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52694 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52696 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52697 for ac_func in _sincosl
52698 do :
52699 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52700 if test "x$ac_cv_func__sincosl" = x""yes; then :
52701 cat >>confdefs.h <<_ACEOF
52702 #define HAVE__SINCOSL 1
52703 _ACEOF
52706 done
52715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52716 $as_echo_n "checking for finitel declaration... " >&6; }
52717 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52718 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52719 $as_echo_n "(cached) " >&6
52720 else
52723 ac_ext=cpp
52724 ac_cpp='$CXXCPP $CPPFLAGS'
52725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52730 /* end confdefs.h. */
52731 #include <math.h>
52732 #ifdef HAVE_IEEEFP_H
52733 #include <ieeefp.h>
52734 #endif
52737 main ()
52739 finitel(0);
52741 return 0;
52743 _ACEOF
52744 if ac_fn_cxx_try_compile "$LINENO"; then :
52745 glibcxx_cv_func_finitel_use=yes
52746 else
52747 glibcxx_cv_func_finitel_use=no
52749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52750 ac_ext=c
52751 ac_cpp='$CPP $CPPFLAGS'
52752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52761 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52763 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52764 for ac_func in finitel
52765 do :
52766 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52767 if test "x$ac_cv_func_finitel" = x""yes; then :
52768 cat >>confdefs.h <<_ACEOF
52769 #define HAVE_FINITEL 1
52770 _ACEOF
52773 done
52775 else
52777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52778 $as_echo_n "checking for _finitel declaration... " >&6; }
52779 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52780 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52781 $as_echo_n "(cached) " >&6
52782 else
52785 ac_ext=cpp
52786 ac_cpp='$CXXCPP $CPPFLAGS'
52787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52792 /* end confdefs.h. */
52793 #include <math.h>
52794 #ifdef HAVE_IEEEFP_H
52795 #include <ieeefp.h>
52796 #endif
52799 main ()
52801 _finitel(0);
52803 return 0;
52805 _ACEOF
52806 if ac_fn_cxx_try_compile "$LINENO"; then :
52807 glibcxx_cv_func__finitel_use=yes
52808 else
52809 glibcxx_cv_func__finitel_use=no
52811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52812 ac_ext=c
52813 ac_cpp='$CPP $CPPFLAGS'
52814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52823 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52825 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52826 for ac_func in _finitel
52827 do :
52828 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52829 if test "x$ac_cv_func__finitel" = x""yes; then :
52830 cat >>confdefs.h <<_ACEOF
52831 #define HAVE__FINITEL 1
52832 _ACEOF
52835 done
52843 LIBS="$ac_save_LIBS"
52844 CXXFLAGS="$ac_save_CXXFLAGS"
52847 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52848 ac_save_CXXFLAGS="$CXXFLAGS"
52849 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52853 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52854 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52855 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52856 $as_echo_n "(cached) " >&6
52857 else
52860 ac_ext=cpp
52861 ac_cpp='$CXXCPP $CPPFLAGS'
52862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52867 /* end confdefs.h. */
52868 #include <stdlib.h>
52870 main ()
52872 at_quick_exit(0);
52874 return 0;
52876 _ACEOF
52877 if ac_fn_cxx_try_compile "$LINENO"; then :
52878 glibcxx_cv_func_at_quick_exit_use=yes
52879 else
52880 glibcxx_cv_func_at_quick_exit_use=no
52882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52883 ac_ext=c
52884 ac_cpp='$CPP $CPPFLAGS'
52885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52894 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52895 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52896 for ac_func in at_quick_exit
52897 do :
52898 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52899 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52900 cat >>confdefs.h <<_ACEOF
52901 #define HAVE_AT_QUICK_EXIT 1
52902 _ACEOF
52905 done
52910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52911 $as_echo_n "checking for quick_exit declaration... " >&6; }
52912 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52913 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52914 $as_echo_n "(cached) " >&6
52915 else
52918 ac_ext=cpp
52919 ac_cpp='$CXXCPP $CPPFLAGS'
52920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52925 /* end confdefs.h. */
52926 #include <stdlib.h>
52928 main ()
52930 quick_exit(0);
52932 return 0;
52934 _ACEOF
52935 if ac_fn_cxx_try_compile "$LINENO"; then :
52936 glibcxx_cv_func_quick_exit_use=yes
52937 else
52938 glibcxx_cv_func_quick_exit_use=no
52940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52941 ac_ext=c
52942 ac_cpp='$CPP $CPPFLAGS'
52943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52952 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52953 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52954 for ac_func in quick_exit
52955 do :
52956 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52957 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52958 cat >>confdefs.h <<_ACEOF
52959 #define HAVE_QUICK_EXIT 1
52960 _ACEOF
52963 done
52968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52969 $as_echo_n "checking for strtold declaration... " >&6; }
52970 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52971 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52972 $as_echo_n "(cached) " >&6
52973 else
52976 ac_ext=cpp
52977 ac_cpp='$CXXCPP $CPPFLAGS'
52978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52983 /* end confdefs.h. */
52984 #include <stdlib.h>
52986 main ()
52988 strtold(0, 0);
52990 return 0;
52992 _ACEOF
52993 if ac_fn_cxx_try_compile "$LINENO"; then :
52994 glibcxx_cv_func_strtold_use=yes
52995 else
52996 glibcxx_cv_func_strtold_use=no
52998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52999 ac_ext=c
53000 ac_cpp='$CPP $CPPFLAGS'
53001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53010 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53011 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53012 for ac_func in strtold
53013 do :
53014 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53015 if test "x$ac_cv_func_strtold" = x""yes; then :
53016 cat >>confdefs.h <<_ACEOF
53017 #define HAVE_STRTOLD 1
53018 _ACEOF
53021 done
53028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53029 $as_echo_n "checking for strtof declaration... " >&6; }
53030 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53031 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53032 $as_echo_n "(cached) " >&6
53033 else
53036 ac_ext=cpp
53037 ac_cpp='$CXXCPP $CPPFLAGS'
53038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53043 /* end confdefs.h. */
53044 #include <stdlib.h>
53046 main ()
53048 strtof(0, 0);
53050 return 0;
53052 _ACEOF
53053 if ac_fn_cxx_try_compile "$LINENO"; then :
53054 glibcxx_cv_func_strtof_use=yes
53055 else
53056 glibcxx_cv_func_strtof_use=no
53058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53059 ac_ext=c
53060 ac_cpp='$CPP $CPPFLAGS'
53061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53070 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53071 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53072 for ac_func in strtof
53073 do :
53074 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53075 if test "x$ac_cv_func_strtof" = x""yes; then :
53076 cat >>confdefs.h <<_ACEOF
53077 #define HAVE_STRTOF 1
53078 _ACEOF
53081 done
53088 CXXFLAGS="$ac_save_CXXFLAGS"
53092 *djgpp)
53093 # GLIBCXX_CHECK_MATH_SUPPORT
53094 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53096 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53098 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53100 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53102 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53106 *-freebsd*)
53107 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53110 # If we're not using GNU ld, then there's no point in even trying these
53111 # tests. Check for that first. We should have already tested for gld
53112 # by now (in libtool), but require it now just to be safe...
53113 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53114 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53118 # The name set by libtool depends on the version of libtool. Shame on us
53119 # for depending on an impl detail, but c'est la vie. Older versions used
53120 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53121 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53122 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53123 # set (hence we're using an older libtool), then set it.
53124 if test x${with_gnu_ld+set} != xset; then
53125 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53126 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53127 with_gnu_ld=no
53128 else
53129 with_gnu_ld=$ac_cv_prog_gnu_ld
53133 # Start by getting the version number. I think the libtool test already
53134 # does some of this, but throws away the result.
53135 glibcxx_ld_is_gold=no
53136 if test x"$with_gnu_ld" = x"yes"; then
53137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53138 $as_echo_n "checking for ld version... " >&6; }
53140 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53141 glibcxx_ld_is_gold=yes
53143 ldver=`$LD --version 2>/dev/null |
53144 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'`
53146 glibcxx_gnu_ld_version=`echo $ldver | \
53147 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53149 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53152 # Set --gc-sections.
53153 glibcxx_have_gc_sections=no
53154 if test "$glibcxx_ld_is_gold" = "yes"; then
53155 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53156 glibcxx_have_gc_sections=yes
53158 else
53159 glibcxx_gcsections_min_ld=21602
53160 if test x"$with_gnu_ld" = x"yes" &&
53161 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53162 glibcxx_have_gc_sections=yes
53165 if test "$glibcxx_have_gc_sections" = "yes"; then
53166 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53167 # NB: This flag only works reliably after 2.16.1. Configure tests
53168 # for this are difficult, so hard wire a value that should work.
53170 ac_test_CFLAGS="${CFLAGS+set}"
53171 ac_save_CFLAGS="$CFLAGS"
53172 CFLAGS='-Wl,--gc-sections'
53174 # Check for -Wl,--gc-sections
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53176 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53177 if test x$gcc_no_link = xyes; then
53178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53181 /* end confdefs.h. */
53182 int one(void) { return 1; }
53183 int two(void) { return 2; }
53186 main ()
53188 two();
53190 return 0;
53192 _ACEOF
53193 if ac_fn_c_try_link "$LINENO"; then :
53194 ac_gcsections=yes
53195 else
53196 ac_gcsections=no
53198 rm -f core conftest.err conftest.$ac_objext \
53199 conftest$ac_exeext conftest.$ac_ext
53200 if test "$ac_gcsections" = "yes"; then
53201 rm -f conftest.c
53202 touch conftest.c
53203 if $CC -c conftest.c; then
53204 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53205 grep "Warning: gc-sections option ignored" > /dev/null; then
53206 ac_gcsections=no
53209 rm -f conftest.c conftest.o conftest
53211 if test "$ac_gcsections" = "yes"; then
53212 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53215 $as_echo "$ac_gcsections" >&6; }
53217 if test "$ac_test_CFLAGS" = set; then
53218 CFLAGS="$ac_save_CFLAGS"
53219 else
53220 # this is the suspicious part
53221 CFLAGS=''
53225 # Set -z,relro.
53226 # Note this is only for shared objects.
53227 ac_ld_relro=no
53228 if test x"$with_gnu_ld" = x"yes"; then
53229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53230 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53231 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53232 if test -n "$cxx_z_relo"; then
53233 OPT_LDFLAGS="-Wl,-z,relro"
53234 ac_ld_relro=yes
53236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53237 $as_echo "$ac_ld_relro" >&6; }
53240 # Set linker optimization flags.
53241 if test x"$with_gnu_ld" = x"yes"; then
53242 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53248 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53250 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53252 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53254 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53256 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53258 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53260 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53262 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53264 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53267 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53269 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53271 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53273 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53275 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53277 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53279 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53281 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53283 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53285 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53287 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53289 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53291 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53293 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53295 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53297 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53299 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53301 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53303 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53305 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53307 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53309 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53311 if test x"long_double_math_on_this_cpu" = x"yes"; then
53312 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53314 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53316 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53319 for ac_func in __cxa_thread_atexit
53320 do :
53321 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53322 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53323 cat >>confdefs.h <<_ACEOF
53324 #define HAVE___CXA_THREAD_ATEXIT 1
53325 _ACEOF
53328 done
53332 *-fuchsia*)
53333 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53337 *-hpux*)
53338 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53341 # If we're not using GNU ld, then there's no point in even trying these
53342 # tests. Check for that first. We should have already tested for gld
53343 # by now (in libtool), but require it now just to be safe...
53344 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53345 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53349 # The name set by libtool depends on the version of libtool. Shame on us
53350 # for depending on an impl detail, but c'est la vie. Older versions used
53351 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53352 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53353 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53354 # set (hence we're using an older libtool), then set it.
53355 if test x${with_gnu_ld+set} != xset; then
53356 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53357 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53358 with_gnu_ld=no
53359 else
53360 with_gnu_ld=$ac_cv_prog_gnu_ld
53364 # Start by getting the version number. I think the libtool test already
53365 # does some of this, but throws away the result.
53366 glibcxx_ld_is_gold=no
53367 if test x"$with_gnu_ld" = x"yes"; then
53368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53369 $as_echo_n "checking for ld version... " >&6; }
53371 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53372 glibcxx_ld_is_gold=yes
53374 ldver=`$LD --version 2>/dev/null |
53375 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'`
53377 glibcxx_gnu_ld_version=`echo $ldver | \
53378 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53380 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53383 # Set --gc-sections.
53384 glibcxx_have_gc_sections=no
53385 if test "$glibcxx_ld_is_gold" = "yes"; then
53386 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53387 glibcxx_have_gc_sections=yes
53389 else
53390 glibcxx_gcsections_min_ld=21602
53391 if test x"$with_gnu_ld" = x"yes" &&
53392 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53393 glibcxx_have_gc_sections=yes
53396 if test "$glibcxx_have_gc_sections" = "yes"; then
53397 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53398 # NB: This flag only works reliably after 2.16.1. Configure tests
53399 # for this are difficult, so hard wire a value that should work.
53401 ac_test_CFLAGS="${CFLAGS+set}"
53402 ac_save_CFLAGS="$CFLAGS"
53403 CFLAGS='-Wl,--gc-sections'
53405 # Check for -Wl,--gc-sections
53406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53407 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53408 if test x$gcc_no_link = xyes; then
53409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53412 /* end confdefs.h. */
53413 int one(void) { return 1; }
53414 int two(void) { return 2; }
53417 main ()
53419 two();
53421 return 0;
53423 _ACEOF
53424 if ac_fn_c_try_link "$LINENO"; then :
53425 ac_gcsections=yes
53426 else
53427 ac_gcsections=no
53429 rm -f core conftest.err conftest.$ac_objext \
53430 conftest$ac_exeext conftest.$ac_ext
53431 if test "$ac_gcsections" = "yes"; then
53432 rm -f conftest.c
53433 touch conftest.c
53434 if $CC -c conftest.c; then
53435 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53436 grep "Warning: gc-sections option ignored" > /dev/null; then
53437 ac_gcsections=no
53440 rm -f conftest.c conftest.o conftest
53442 if test "$ac_gcsections" = "yes"; then
53443 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53446 $as_echo "$ac_gcsections" >&6; }
53448 if test "$ac_test_CFLAGS" = set; then
53449 CFLAGS="$ac_save_CFLAGS"
53450 else
53451 # this is the suspicious part
53452 CFLAGS=''
53456 # Set -z,relro.
53457 # Note this is only for shared objects.
53458 ac_ld_relro=no
53459 if test x"$with_gnu_ld" = x"yes"; then
53460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53461 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53462 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53463 if test -n "$cxx_z_relo"; then
53464 OPT_LDFLAGS="-Wl,-z,relro"
53465 ac_ld_relro=yes
53467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53468 $as_echo "$ac_ld_relro" >&6; }
53471 # Set linker optimization flags.
53472 if test x"$with_gnu_ld" = x"yes"; then
53473 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53480 # GLIBCXX_CHECK_MATH_SUPPORT
53481 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53483 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53485 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53487 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53489 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53491 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53493 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53495 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53497 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53499 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53501 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53503 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53505 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53507 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53509 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53511 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53513 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53515 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53517 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53519 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53521 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53524 # GLIBCXX_CHECK_STDLIB_SUPPORT
53525 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53530 # Check whether --enable-tls was given.
53531 if test "${enable_tls+set}" = set; then :
53532 enableval=$enable_tls;
53533 case "$enableval" in
53534 yes|no) ;;
53535 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53536 esac
53538 else
53539 enable_tls=yes
53543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53544 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53545 if test "${gcc_cv_have_tls+set}" = set; then :
53546 $as_echo_n "(cached) " >&6
53547 else
53549 if test "$cross_compiling" = yes; then :
53550 if test x$gcc_no_link = xyes; then
53551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53554 /* end confdefs.h. */
53555 __thread int a; int b; int main() { return a = b; }
53556 _ACEOF
53557 if ac_fn_c_try_link "$LINENO"; then :
53558 chktls_save_LDFLAGS="$LDFLAGS"
53559 case $host in
53560 *-*-linux*)
53561 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53563 esac
53564 chktls_save_CFLAGS="$CFLAGS"
53565 CFLAGS="-fPIC $CFLAGS"
53566 if test x$gcc_no_link = xyes; then
53567 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53570 /* end confdefs.h. */
53571 int f() { return 0; }
53572 _ACEOF
53573 if ac_fn_c_try_link "$LINENO"; then :
53574 if test x$gcc_no_link = xyes; then
53575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53578 /* end confdefs.h. */
53579 __thread int a; int b; int f() { return a = b; }
53580 _ACEOF
53581 if ac_fn_c_try_link "$LINENO"; then :
53582 gcc_cv_have_tls=yes
53583 else
53584 gcc_cv_have_tls=no
53586 rm -f core conftest.err conftest.$ac_objext \
53587 conftest$ac_exeext conftest.$ac_ext
53588 else
53589 gcc_cv_have_tls=yes
53591 rm -f core conftest.err conftest.$ac_objext \
53592 conftest$ac_exeext conftest.$ac_ext
53593 CFLAGS="$chktls_save_CFLAGS"
53594 LDFLAGS="$chktls_save_LDFLAGS"
53595 else
53596 gcc_cv_have_tls=no
53598 rm -f core conftest.err conftest.$ac_objext \
53599 conftest$ac_exeext conftest.$ac_ext
53602 else
53603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53604 /* end confdefs.h. */
53605 __thread int a; int b; int main() { return a = b; }
53606 _ACEOF
53607 if ac_fn_c_try_run "$LINENO"; then :
53608 chktls_save_LDFLAGS="$LDFLAGS"
53609 LDFLAGS="-static $LDFLAGS"
53610 if test x$gcc_no_link = xyes; then
53611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53614 /* end confdefs.h. */
53615 int main() { return 0; }
53616 _ACEOF
53617 if ac_fn_c_try_link "$LINENO"; then :
53618 if test "$cross_compiling" = yes; then :
53619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53621 as_fn_error "cannot run test program while cross compiling
53622 See \`config.log' for more details." "$LINENO" 5; }
53623 else
53624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53625 /* end confdefs.h. */
53626 __thread int a; int b; int main() { return a = b; }
53627 _ACEOF
53628 if ac_fn_c_try_run "$LINENO"; then :
53629 gcc_cv_have_tls=yes
53630 else
53631 gcc_cv_have_tls=no
53633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53634 conftest.$ac_objext conftest.beam conftest.$ac_ext
53637 else
53638 gcc_cv_have_tls=yes
53640 rm -f core conftest.err conftest.$ac_objext \
53641 conftest$ac_exeext conftest.$ac_ext
53642 LDFLAGS="$chktls_save_LDFLAGS"
53643 if test $gcc_cv_have_tls = yes; then
53644 chktls_save_CFLAGS="$CFLAGS"
53645 thread_CFLAGS=failed
53646 for flag in '' '-pthread' '-lpthread'; do
53647 CFLAGS="$flag $chktls_save_CFLAGS"
53648 if test x$gcc_no_link = xyes; then
53649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53652 /* end confdefs.h. */
53653 #include <pthread.h>
53654 void *g(void *d) { return NULL; }
53656 main ()
53658 pthread_t t; pthread_create(&t,NULL,g,NULL);
53660 return 0;
53662 _ACEOF
53663 if ac_fn_c_try_link "$LINENO"; then :
53664 thread_CFLAGS="$flag"
53666 rm -f core conftest.err conftest.$ac_objext \
53667 conftest$ac_exeext conftest.$ac_ext
53668 if test "X$thread_CFLAGS" != Xfailed; then
53669 break
53671 done
53672 CFLAGS="$chktls_save_CFLAGS"
53673 if test "X$thread_CFLAGS" != Xfailed; then
53674 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53675 if test "$cross_compiling" = yes; then :
53676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53678 as_fn_error "cannot run test program while cross compiling
53679 See \`config.log' for more details." "$LINENO" 5; }
53680 else
53681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53682 /* end confdefs.h. */
53683 #include <pthread.h>
53684 __thread int a;
53685 static int *volatile a_in_other_thread;
53686 static void *
53687 thread_func (void *arg)
53689 a_in_other_thread = &a;
53690 return (void *)0;
53693 main ()
53695 pthread_t thread;
53696 void *thread_retval;
53697 int *volatile a_in_main_thread;
53698 a_in_main_thread = &a;
53699 if (pthread_create (&thread, (pthread_attr_t *)0,
53700 thread_func, (void *)0))
53701 return 0;
53702 if (pthread_join (thread, &thread_retval))
53703 return 0;
53704 return (a_in_other_thread == a_in_main_thread);
53706 return 0;
53708 _ACEOF
53709 if ac_fn_c_try_run "$LINENO"; then :
53710 gcc_cv_have_tls=yes
53711 else
53712 gcc_cv_have_tls=no
53714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53715 conftest.$ac_objext conftest.beam conftest.$ac_ext
53718 CFLAGS="$chktls_save_CFLAGS"
53721 else
53722 gcc_cv_have_tls=no
53724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53725 conftest.$ac_objext conftest.beam conftest.$ac_ext
53729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53730 $as_echo "$gcc_cv_have_tls" >&6; }
53731 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53733 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53736 case "$target" in
53737 *-hpux10*)
53738 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53740 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53742 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53744 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53746 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53749 esac
53751 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53753 # All these tests are for C++; save the language and the compiler flags.
53754 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53755 # found in GLIBCXX_CONFIGURE.
53757 ac_ext=cpp
53758 ac_cpp='$CXXCPP $CPPFLAGS'
53759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53763 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53764 ac_save_CXXFLAGS="$CXXFLAGS"
53766 # Check for maintainer-mode bits.
53767 if test x"$USE_MAINTAINER_MODE" = xno; then
53768 WERROR=''
53769 else
53770 WERROR='-Werror'
53773 # Check for -ffunction-sections -fdata-sections
53774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53775 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53776 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53778 /* end confdefs.h. */
53779 int foo; void bar() { };
53781 main ()
53785 return 0;
53787 _ACEOF
53788 if ac_fn_cxx_try_compile "$LINENO"; then :
53789 ac_fdsections=yes
53790 else
53791 ac_fdsections=no
53793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53794 if test "$ac_test_CXXFLAGS" = set; then
53795 CXXFLAGS="$ac_save_CXXFLAGS"
53796 else
53797 # this is the suspicious part
53798 CXXFLAGS=''
53800 if test x"$ac_fdsections" = x"yes"; then
53801 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53804 $as_echo "$ac_fdsections" >&6; }
53806 ac_ext=c
53807 ac_cpp='$CPP $CPPFLAGS'
53808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53816 # If we're not using GNU ld, then there's no point in even trying these
53817 # tests. Check for that first. We should have already tested for gld
53818 # by now (in libtool), but require it now just to be safe...
53819 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53820 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53824 # The name set by libtool depends on the version of libtool. Shame on us
53825 # for depending on an impl detail, but c'est la vie. Older versions used
53826 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53827 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53828 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53829 # set (hence we're using an older libtool), then set it.
53830 if test x${with_gnu_ld+set} != xset; then
53831 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53832 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53833 with_gnu_ld=no
53834 else
53835 with_gnu_ld=$ac_cv_prog_gnu_ld
53839 # Start by getting the version number. I think the libtool test already
53840 # does some of this, but throws away the result.
53841 glibcxx_ld_is_gold=no
53842 if test x"$with_gnu_ld" = x"yes"; then
53843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53844 $as_echo_n "checking for ld version... " >&6; }
53846 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53847 glibcxx_ld_is_gold=yes
53849 ldver=`$LD --version 2>/dev/null |
53850 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'`
53852 glibcxx_gnu_ld_version=`echo $ldver | \
53853 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53855 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53858 # Set --gc-sections.
53859 glibcxx_have_gc_sections=no
53860 if test "$glibcxx_ld_is_gold" = "yes"; then
53861 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53862 glibcxx_have_gc_sections=yes
53864 else
53865 glibcxx_gcsections_min_ld=21602
53866 if test x"$with_gnu_ld" = x"yes" &&
53867 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53868 glibcxx_have_gc_sections=yes
53871 if test "$glibcxx_have_gc_sections" = "yes"; then
53872 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53873 # NB: This flag only works reliably after 2.16.1. Configure tests
53874 # for this are difficult, so hard wire a value that should work.
53876 ac_test_CFLAGS="${CFLAGS+set}"
53877 ac_save_CFLAGS="$CFLAGS"
53878 CFLAGS='-Wl,--gc-sections'
53880 # Check for -Wl,--gc-sections
53881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53882 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53883 if test x$gcc_no_link = xyes; then
53884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53887 /* end confdefs.h. */
53888 int one(void) { return 1; }
53889 int two(void) { return 2; }
53892 main ()
53894 two();
53896 return 0;
53898 _ACEOF
53899 if ac_fn_c_try_link "$LINENO"; then :
53900 ac_gcsections=yes
53901 else
53902 ac_gcsections=no
53904 rm -f core conftest.err conftest.$ac_objext \
53905 conftest$ac_exeext conftest.$ac_ext
53906 if test "$ac_gcsections" = "yes"; then
53907 rm -f conftest.c
53908 touch conftest.c
53909 if $CC -c conftest.c; then
53910 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53911 grep "Warning: gc-sections option ignored" > /dev/null; then
53912 ac_gcsections=no
53915 rm -f conftest.c conftest.o conftest
53917 if test "$ac_gcsections" = "yes"; then
53918 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53921 $as_echo "$ac_gcsections" >&6; }
53923 if test "$ac_test_CFLAGS" = set; then
53924 CFLAGS="$ac_save_CFLAGS"
53925 else
53926 # this is the suspicious part
53927 CFLAGS=''
53931 # Set -z,relro.
53932 # Note this is only for shared objects.
53933 ac_ld_relro=no
53934 if test x"$with_gnu_ld" = x"yes"; then
53935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53936 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53937 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53938 if test -n "$cxx_z_relo"; then
53939 OPT_LDFLAGS="-Wl,-z,relro"
53940 ac_ld_relro=yes
53942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53943 $as_echo "$ac_ld_relro" >&6; }
53946 # Set linker optimization flags.
53947 if test x"$with_gnu_ld" = x"yes"; then
53948 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53955 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53956 ac_save_CXXFLAGS="$CXXFLAGS"
53957 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53960 $as_echo_n "checking for sin in -lm... " >&6; }
53961 if test "${ac_cv_lib_m_sin+set}" = set; then :
53962 $as_echo_n "(cached) " >&6
53963 else
53964 ac_check_lib_save_LIBS=$LIBS
53965 LIBS="-lm $LIBS"
53966 if test x$gcc_no_link = xyes; then
53967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53970 /* end confdefs.h. */
53972 /* Override any GCC internal prototype to avoid an error.
53973 Use char because int might match the return type of a GCC
53974 builtin and then its argument prototype would still apply. */
53975 #ifdef __cplusplus
53976 extern "C"
53977 #endif
53978 char sin ();
53980 main ()
53982 return sin ();
53984 return 0;
53986 _ACEOF
53987 if ac_fn_c_try_link "$LINENO"; then :
53988 ac_cv_lib_m_sin=yes
53989 else
53990 ac_cv_lib_m_sin=no
53992 rm -f core conftest.err conftest.$ac_objext \
53993 conftest$ac_exeext conftest.$ac_ext
53994 LIBS=$ac_check_lib_save_LIBS
53996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53997 $as_echo "$ac_cv_lib_m_sin" >&6; }
53998 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53999 libm="-lm"
54002 ac_save_LIBS="$LIBS"
54003 LIBS="$LIBS $libm"
54007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54008 $as_echo_n "checking for isinf declaration... " >&6; }
54009 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54010 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54011 $as_echo_n "(cached) " >&6
54012 else
54015 ac_ext=cpp
54016 ac_cpp='$CXXCPP $CPPFLAGS'
54017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54022 /* end confdefs.h. */
54023 #include <math.h>
54024 #ifdef HAVE_IEEEFP_H
54025 #include <ieeefp.h>
54026 #endif
54029 main ()
54031 isinf(0);
54033 return 0;
54035 _ACEOF
54036 if ac_fn_cxx_try_compile "$LINENO"; then :
54037 glibcxx_cv_func_isinf_use=yes
54038 else
54039 glibcxx_cv_func_isinf_use=no
54041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54042 ac_ext=c
54043 ac_cpp='$CPP $CPPFLAGS'
54044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54053 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54055 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54056 for ac_func in isinf
54057 do :
54058 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54059 if test "x$ac_cv_func_isinf" = x""yes; then :
54060 cat >>confdefs.h <<_ACEOF
54061 #define HAVE_ISINF 1
54062 _ACEOF
54065 done
54067 else
54069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54070 $as_echo_n "checking for _isinf declaration... " >&6; }
54071 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54072 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54073 $as_echo_n "(cached) " >&6
54074 else
54077 ac_ext=cpp
54078 ac_cpp='$CXXCPP $CPPFLAGS'
54079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54084 /* end confdefs.h. */
54085 #include <math.h>
54086 #ifdef HAVE_IEEEFP_H
54087 #include <ieeefp.h>
54088 #endif
54091 main ()
54093 _isinf(0);
54095 return 0;
54097 _ACEOF
54098 if ac_fn_cxx_try_compile "$LINENO"; then :
54099 glibcxx_cv_func__isinf_use=yes
54100 else
54101 glibcxx_cv_func__isinf_use=no
54103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54104 ac_ext=c
54105 ac_cpp='$CPP $CPPFLAGS'
54106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54115 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54117 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54118 for ac_func in _isinf
54119 do :
54120 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54121 if test "x$ac_cv_func__isinf" = x""yes; then :
54122 cat >>confdefs.h <<_ACEOF
54123 #define HAVE__ISINF 1
54124 _ACEOF
54127 done
54136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54137 $as_echo_n "checking for isnan declaration... " >&6; }
54138 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54139 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54140 $as_echo_n "(cached) " >&6
54141 else
54144 ac_ext=cpp
54145 ac_cpp='$CXXCPP $CPPFLAGS'
54146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54151 /* end confdefs.h. */
54152 #include <math.h>
54153 #ifdef HAVE_IEEEFP_H
54154 #include <ieeefp.h>
54155 #endif
54158 main ()
54160 isnan(0);
54162 return 0;
54164 _ACEOF
54165 if ac_fn_cxx_try_compile "$LINENO"; then :
54166 glibcxx_cv_func_isnan_use=yes
54167 else
54168 glibcxx_cv_func_isnan_use=no
54170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54171 ac_ext=c
54172 ac_cpp='$CPP $CPPFLAGS'
54173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54182 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54184 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54185 for ac_func in isnan
54186 do :
54187 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54188 if test "x$ac_cv_func_isnan" = x""yes; then :
54189 cat >>confdefs.h <<_ACEOF
54190 #define HAVE_ISNAN 1
54191 _ACEOF
54194 done
54196 else
54198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54199 $as_echo_n "checking for _isnan declaration... " >&6; }
54200 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54201 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54202 $as_echo_n "(cached) " >&6
54203 else
54206 ac_ext=cpp
54207 ac_cpp='$CXXCPP $CPPFLAGS'
54208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54213 /* end confdefs.h. */
54214 #include <math.h>
54215 #ifdef HAVE_IEEEFP_H
54216 #include <ieeefp.h>
54217 #endif
54220 main ()
54222 _isnan(0);
54224 return 0;
54226 _ACEOF
54227 if ac_fn_cxx_try_compile "$LINENO"; then :
54228 glibcxx_cv_func__isnan_use=yes
54229 else
54230 glibcxx_cv_func__isnan_use=no
54232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54233 ac_ext=c
54234 ac_cpp='$CPP $CPPFLAGS'
54235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54244 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54246 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54247 for ac_func in _isnan
54248 do :
54249 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54250 if test "x$ac_cv_func__isnan" = x""yes; then :
54251 cat >>confdefs.h <<_ACEOF
54252 #define HAVE__ISNAN 1
54253 _ACEOF
54256 done
54265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54266 $as_echo_n "checking for finite declaration... " >&6; }
54267 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54268 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54269 $as_echo_n "(cached) " >&6
54270 else
54273 ac_ext=cpp
54274 ac_cpp='$CXXCPP $CPPFLAGS'
54275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54280 /* end confdefs.h. */
54281 #include <math.h>
54282 #ifdef HAVE_IEEEFP_H
54283 #include <ieeefp.h>
54284 #endif
54287 main ()
54289 finite(0);
54291 return 0;
54293 _ACEOF
54294 if ac_fn_cxx_try_compile "$LINENO"; then :
54295 glibcxx_cv_func_finite_use=yes
54296 else
54297 glibcxx_cv_func_finite_use=no
54299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54300 ac_ext=c
54301 ac_cpp='$CPP $CPPFLAGS'
54302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54311 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54313 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54314 for ac_func in finite
54315 do :
54316 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54317 if test "x$ac_cv_func_finite" = x""yes; then :
54318 cat >>confdefs.h <<_ACEOF
54319 #define HAVE_FINITE 1
54320 _ACEOF
54323 done
54325 else
54327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54328 $as_echo_n "checking for _finite declaration... " >&6; }
54329 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54330 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54331 $as_echo_n "(cached) " >&6
54332 else
54335 ac_ext=cpp
54336 ac_cpp='$CXXCPP $CPPFLAGS'
54337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54342 /* end confdefs.h. */
54343 #include <math.h>
54344 #ifdef HAVE_IEEEFP_H
54345 #include <ieeefp.h>
54346 #endif
54349 main ()
54351 _finite(0);
54353 return 0;
54355 _ACEOF
54356 if ac_fn_cxx_try_compile "$LINENO"; then :
54357 glibcxx_cv_func__finite_use=yes
54358 else
54359 glibcxx_cv_func__finite_use=no
54361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54362 ac_ext=c
54363 ac_cpp='$CPP $CPPFLAGS'
54364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54373 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54375 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54376 for ac_func in _finite
54377 do :
54378 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54379 if test "x$ac_cv_func__finite" = x""yes; then :
54380 cat >>confdefs.h <<_ACEOF
54381 #define HAVE__FINITE 1
54382 _ACEOF
54385 done
54394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54395 $as_echo_n "checking for sincos declaration... " >&6; }
54396 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54397 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54398 $as_echo_n "(cached) " >&6
54399 else
54402 ac_ext=cpp
54403 ac_cpp='$CXXCPP $CPPFLAGS'
54404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54409 /* end confdefs.h. */
54410 #include <math.h>
54412 main ()
54414 sincos(0, 0, 0);
54416 return 0;
54418 _ACEOF
54419 if ac_fn_cxx_try_compile "$LINENO"; then :
54420 glibcxx_cv_func_sincos_use=yes
54421 else
54422 glibcxx_cv_func_sincos_use=no
54424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54425 ac_ext=c
54426 ac_cpp='$CPP $CPPFLAGS'
54427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54436 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54438 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54439 for ac_func in sincos
54440 do :
54441 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54442 if test "x$ac_cv_func_sincos" = x""yes; then :
54443 cat >>confdefs.h <<_ACEOF
54444 #define HAVE_SINCOS 1
54445 _ACEOF
54448 done
54450 else
54452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54453 $as_echo_n "checking for _sincos declaration... " >&6; }
54454 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54455 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54456 $as_echo_n "(cached) " >&6
54457 else
54460 ac_ext=cpp
54461 ac_cpp='$CXXCPP $CPPFLAGS'
54462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54467 /* end confdefs.h. */
54468 #include <math.h>
54470 main ()
54472 _sincos(0, 0, 0);
54474 return 0;
54476 _ACEOF
54477 if ac_fn_cxx_try_compile "$LINENO"; then :
54478 glibcxx_cv_func__sincos_use=yes
54479 else
54480 glibcxx_cv_func__sincos_use=no
54482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54483 ac_ext=c
54484 ac_cpp='$CPP $CPPFLAGS'
54485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54494 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54496 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54497 for ac_func in _sincos
54498 do :
54499 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54500 if test "x$ac_cv_func__sincos" = x""yes; then :
54501 cat >>confdefs.h <<_ACEOF
54502 #define HAVE__SINCOS 1
54503 _ACEOF
54506 done
54515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54516 $as_echo_n "checking for fpclass declaration... " >&6; }
54517 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54518 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54519 $as_echo_n "(cached) " >&6
54520 else
54523 ac_ext=cpp
54524 ac_cpp='$CXXCPP $CPPFLAGS'
54525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54530 /* end confdefs.h. */
54531 #include <math.h>
54532 #ifdef HAVE_IEEEFP_H
54533 #include <ieeefp.h>
54534 #endif
54537 main ()
54539 fpclass(0);
54541 return 0;
54543 _ACEOF
54544 if ac_fn_cxx_try_compile "$LINENO"; then :
54545 glibcxx_cv_func_fpclass_use=yes
54546 else
54547 glibcxx_cv_func_fpclass_use=no
54549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54550 ac_ext=c
54551 ac_cpp='$CPP $CPPFLAGS'
54552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54561 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54563 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54564 for ac_func in fpclass
54565 do :
54566 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54567 if test "x$ac_cv_func_fpclass" = x""yes; then :
54568 cat >>confdefs.h <<_ACEOF
54569 #define HAVE_FPCLASS 1
54570 _ACEOF
54573 done
54575 else
54577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54578 $as_echo_n "checking for _fpclass declaration... " >&6; }
54579 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54580 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54581 $as_echo_n "(cached) " >&6
54582 else
54585 ac_ext=cpp
54586 ac_cpp='$CXXCPP $CPPFLAGS'
54587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54592 /* end confdefs.h. */
54593 #include <math.h>
54594 #ifdef HAVE_IEEEFP_H
54595 #include <ieeefp.h>
54596 #endif
54599 main ()
54601 _fpclass(0);
54603 return 0;
54605 _ACEOF
54606 if ac_fn_cxx_try_compile "$LINENO"; then :
54607 glibcxx_cv_func__fpclass_use=yes
54608 else
54609 glibcxx_cv_func__fpclass_use=no
54611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54612 ac_ext=c
54613 ac_cpp='$CPP $CPPFLAGS'
54614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54623 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54625 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54626 for ac_func in _fpclass
54627 do :
54628 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54629 if test "x$ac_cv_func__fpclass" = x""yes; then :
54630 cat >>confdefs.h <<_ACEOF
54631 #define HAVE__FPCLASS 1
54632 _ACEOF
54635 done
54644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54645 $as_echo_n "checking for qfpclass declaration... " >&6; }
54646 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54647 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54648 $as_echo_n "(cached) " >&6
54649 else
54652 ac_ext=cpp
54653 ac_cpp='$CXXCPP $CPPFLAGS'
54654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54659 /* end confdefs.h. */
54660 #include <math.h>
54661 #ifdef HAVE_IEEEFP_H
54662 #include <ieeefp.h>
54663 #endif
54666 main ()
54668 qfpclass(0);
54670 return 0;
54672 _ACEOF
54673 if ac_fn_cxx_try_compile "$LINENO"; then :
54674 glibcxx_cv_func_qfpclass_use=yes
54675 else
54676 glibcxx_cv_func_qfpclass_use=no
54678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54679 ac_ext=c
54680 ac_cpp='$CPP $CPPFLAGS'
54681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54690 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54692 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54693 for ac_func in qfpclass
54694 do :
54695 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54696 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54697 cat >>confdefs.h <<_ACEOF
54698 #define HAVE_QFPCLASS 1
54699 _ACEOF
54702 done
54704 else
54706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54707 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54708 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54709 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54710 $as_echo_n "(cached) " >&6
54711 else
54714 ac_ext=cpp
54715 ac_cpp='$CXXCPP $CPPFLAGS'
54716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54721 /* end confdefs.h. */
54722 #include <math.h>
54723 #ifdef HAVE_IEEEFP_H
54724 #include <ieeefp.h>
54725 #endif
54728 main ()
54730 _qfpclass(0);
54732 return 0;
54734 _ACEOF
54735 if ac_fn_cxx_try_compile "$LINENO"; then :
54736 glibcxx_cv_func__qfpclass_use=yes
54737 else
54738 glibcxx_cv_func__qfpclass_use=no
54740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54741 ac_ext=c
54742 ac_cpp='$CPP $CPPFLAGS'
54743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54752 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54754 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54755 for ac_func in _qfpclass
54756 do :
54757 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54758 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54759 cat >>confdefs.h <<_ACEOF
54760 #define HAVE__QFPCLASS 1
54761 _ACEOF
54764 done
54773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54774 $as_echo_n "checking for hypot declaration... " >&6; }
54775 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54776 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54777 $as_echo_n "(cached) " >&6
54778 else
54781 ac_ext=cpp
54782 ac_cpp='$CXXCPP $CPPFLAGS'
54783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54788 /* end confdefs.h. */
54789 #include <math.h>
54791 main ()
54793 hypot(0, 0);
54795 return 0;
54797 _ACEOF
54798 if ac_fn_cxx_try_compile "$LINENO"; then :
54799 glibcxx_cv_func_hypot_use=yes
54800 else
54801 glibcxx_cv_func_hypot_use=no
54803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54804 ac_ext=c
54805 ac_cpp='$CPP $CPPFLAGS'
54806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54815 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54817 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54818 for ac_func in hypot
54819 do :
54820 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54821 if test "x$ac_cv_func_hypot" = x""yes; then :
54822 cat >>confdefs.h <<_ACEOF
54823 #define HAVE_HYPOT 1
54824 _ACEOF
54827 done
54829 else
54831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54832 $as_echo_n "checking for _hypot declaration... " >&6; }
54833 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54834 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54835 $as_echo_n "(cached) " >&6
54836 else
54839 ac_ext=cpp
54840 ac_cpp='$CXXCPP $CPPFLAGS'
54841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54846 /* end confdefs.h. */
54847 #include <math.h>
54849 main ()
54851 _hypot(0, 0);
54853 return 0;
54855 _ACEOF
54856 if ac_fn_cxx_try_compile "$LINENO"; then :
54857 glibcxx_cv_func__hypot_use=yes
54858 else
54859 glibcxx_cv_func__hypot_use=no
54861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54862 ac_ext=c
54863 ac_cpp='$CPP $CPPFLAGS'
54864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54873 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54875 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54876 for ac_func in _hypot
54877 do :
54878 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54879 if test "x$ac_cv_func__hypot" = x""yes; then :
54880 cat >>confdefs.h <<_ACEOF
54881 #define HAVE__HYPOT 1
54882 _ACEOF
54885 done
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54895 $as_echo_n "checking for float trig functions... " >&6; }
54896 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54897 $as_echo_n "(cached) " >&6
54898 else
54901 ac_ext=cpp
54902 ac_cpp='$CXXCPP $CPPFLAGS'
54903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54908 /* end confdefs.h. */
54909 #include <math.h>
54911 main ()
54913 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54915 return 0;
54917 _ACEOF
54918 if ac_fn_cxx_try_compile "$LINENO"; then :
54919 glibcxx_cv_func_float_trig_use=yes
54920 else
54921 glibcxx_cv_func_float_trig_use=no
54923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54924 ac_ext=c
54925 ac_cpp='$CPP $CPPFLAGS'
54926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54933 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54934 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54935 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54936 do :
54937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54939 eval as_val=\$$as_ac_var
54940 if test "x$as_val" = x""yes; then :
54941 cat >>confdefs.h <<_ACEOF
54942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54943 _ACEOF
54946 done
54948 else
54949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54950 $as_echo_n "checking for _float trig functions... " >&6; }
54951 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54952 $as_echo_n "(cached) " >&6
54953 else
54956 ac_ext=cpp
54957 ac_cpp='$CXXCPP $CPPFLAGS'
54958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54963 /* end confdefs.h. */
54964 #include <math.h>
54966 main ()
54968 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54970 return 0;
54972 _ACEOF
54973 if ac_fn_cxx_try_compile "$LINENO"; then :
54974 glibcxx_cv_func__float_trig_use=yes
54975 else
54976 glibcxx_cv_func__float_trig_use=no
54978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54979 ac_ext=c
54980 ac_cpp='$CPP $CPPFLAGS'
54981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54988 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54989 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54990 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54991 do :
54992 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54993 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54994 eval as_val=\$$as_ac_var
54995 if test "x$as_val" = x""yes; then :
54996 cat >>confdefs.h <<_ACEOF
54997 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54998 _ACEOF
55001 done
55010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55011 $as_echo_n "checking for float round functions... " >&6; }
55012 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55013 $as_echo_n "(cached) " >&6
55014 else
55017 ac_ext=cpp
55018 ac_cpp='$CXXCPP $CPPFLAGS'
55019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55024 /* end confdefs.h. */
55025 #include <math.h>
55027 main ()
55029 ceilf (0); floorf (0);
55031 return 0;
55033 _ACEOF
55034 if ac_fn_cxx_try_compile "$LINENO"; then :
55035 glibcxx_cv_func_float_round_use=yes
55036 else
55037 glibcxx_cv_func_float_round_use=no
55039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55040 ac_ext=c
55041 ac_cpp='$CPP $CPPFLAGS'
55042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55049 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55050 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55051 for ac_func in ceilf floorf
55052 do :
55053 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55054 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55055 eval as_val=\$$as_ac_var
55056 if test "x$as_val" = x""yes; then :
55057 cat >>confdefs.h <<_ACEOF
55058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55059 _ACEOF
55062 done
55064 else
55065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55066 $as_echo_n "checking for _float round functions... " >&6; }
55067 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55068 $as_echo_n "(cached) " >&6
55069 else
55072 ac_ext=cpp
55073 ac_cpp='$CXXCPP $CPPFLAGS'
55074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55079 /* end confdefs.h. */
55080 #include <math.h>
55082 main ()
55084 _ceilf (0); _floorf (0);
55086 return 0;
55088 _ACEOF
55089 if ac_fn_cxx_try_compile "$LINENO"; then :
55090 glibcxx_cv_func__float_round_use=yes
55091 else
55092 glibcxx_cv_func__float_round_use=no
55094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55095 ac_ext=c
55096 ac_cpp='$CPP $CPPFLAGS'
55097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55104 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55105 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55106 for ac_func in _ceilf _floorf
55107 do :
55108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55110 eval as_val=\$$as_ac_var
55111 if test "x$as_val" = x""yes; then :
55112 cat >>confdefs.h <<_ACEOF
55113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55114 _ACEOF
55117 done
55127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55128 $as_echo_n "checking for expf declaration... " >&6; }
55129 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55130 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55131 $as_echo_n "(cached) " >&6
55132 else
55135 ac_ext=cpp
55136 ac_cpp='$CXXCPP $CPPFLAGS'
55137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55142 /* end confdefs.h. */
55143 #include <math.h>
55144 #ifdef HAVE_IEEEFP_H
55145 #include <ieeefp.h>
55146 #endif
55149 main ()
55151 expf(0);
55153 return 0;
55155 _ACEOF
55156 if ac_fn_cxx_try_compile "$LINENO"; then :
55157 glibcxx_cv_func_expf_use=yes
55158 else
55159 glibcxx_cv_func_expf_use=no
55161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55162 ac_ext=c
55163 ac_cpp='$CPP $CPPFLAGS'
55164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55173 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55175 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55176 for ac_func in expf
55177 do :
55178 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55179 if test "x$ac_cv_func_expf" = x""yes; then :
55180 cat >>confdefs.h <<_ACEOF
55181 #define HAVE_EXPF 1
55182 _ACEOF
55185 done
55187 else
55189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55190 $as_echo_n "checking for _expf declaration... " >&6; }
55191 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55192 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55193 $as_echo_n "(cached) " >&6
55194 else
55197 ac_ext=cpp
55198 ac_cpp='$CXXCPP $CPPFLAGS'
55199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55204 /* end confdefs.h. */
55205 #include <math.h>
55206 #ifdef HAVE_IEEEFP_H
55207 #include <ieeefp.h>
55208 #endif
55211 main ()
55213 _expf(0);
55215 return 0;
55217 _ACEOF
55218 if ac_fn_cxx_try_compile "$LINENO"; then :
55219 glibcxx_cv_func__expf_use=yes
55220 else
55221 glibcxx_cv_func__expf_use=no
55223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55224 ac_ext=c
55225 ac_cpp='$CPP $CPPFLAGS'
55226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55235 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55237 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55238 for ac_func in _expf
55239 do :
55240 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55241 if test "x$ac_cv_func__expf" = x""yes; then :
55242 cat >>confdefs.h <<_ACEOF
55243 #define HAVE__EXPF 1
55244 _ACEOF
55247 done
55256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55257 $as_echo_n "checking for isnanf declaration... " >&6; }
55258 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55259 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55260 $as_echo_n "(cached) " >&6
55261 else
55264 ac_ext=cpp
55265 ac_cpp='$CXXCPP $CPPFLAGS'
55266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55271 /* end confdefs.h. */
55272 #include <math.h>
55273 #ifdef HAVE_IEEEFP_H
55274 #include <ieeefp.h>
55275 #endif
55278 main ()
55280 isnanf(0);
55282 return 0;
55284 _ACEOF
55285 if ac_fn_cxx_try_compile "$LINENO"; then :
55286 glibcxx_cv_func_isnanf_use=yes
55287 else
55288 glibcxx_cv_func_isnanf_use=no
55290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55291 ac_ext=c
55292 ac_cpp='$CPP $CPPFLAGS'
55293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55302 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55304 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55305 for ac_func in isnanf
55306 do :
55307 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55308 if test "x$ac_cv_func_isnanf" = x""yes; then :
55309 cat >>confdefs.h <<_ACEOF
55310 #define HAVE_ISNANF 1
55311 _ACEOF
55314 done
55316 else
55318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55319 $as_echo_n "checking for _isnanf declaration... " >&6; }
55320 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55321 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55322 $as_echo_n "(cached) " >&6
55323 else
55326 ac_ext=cpp
55327 ac_cpp='$CXXCPP $CPPFLAGS'
55328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55333 /* end confdefs.h. */
55334 #include <math.h>
55335 #ifdef HAVE_IEEEFP_H
55336 #include <ieeefp.h>
55337 #endif
55340 main ()
55342 _isnanf(0);
55344 return 0;
55346 _ACEOF
55347 if ac_fn_cxx_try_compile "$LINENO"; then :
55348 glibcxx_cv_func__isnanf_use=yes
55349 else
55350 glibcxx_cv_func__isnanf_use=no
55352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55353 ac_ext=c
55354 ac_cpp='$CPP $CPPFLAGS'
55355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55364 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55366 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55367 for ac_func in _isnanf
55368 do :
55369 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55370 if test "x$ac_cv_func__isnanf" = x""yes; then :
55371 cat >>confdefs.h <<_ACEOF
55372 #define HAVE__ISNANF 1
55373 _ACEOF
55376 done
55385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55386 $as_echo_n "checking for isinff declaration... " >&6; }
55387 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55388 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55389 $as_echo_n "(cached) " >&6
55390 else
55393 ac_ext=cpp
55394 ac_cpp='$CXXCPP $CPPFLAGS'
55395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55400 /* end confdefs.h. */
55401 #include <math.h>
55402 #ifdef HAVE_IEEEFP_H
55403 #include <ieeefp.h>
55404 #endif
55407 main ()
55409 isinff(0);
55411 return 0;
55413 _ACEOF
55414 if ac_fn_cxx_try_compile "$LINENO"; then :
55415 glibcxx_cv_func_isinff_use=yes
55416 else
55417 glibcxx_cv_func_isinff_use=no
55419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55420 ac_ext=c
55421 ac_cpp='$CPP $CPPFLAGS'
55422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55431 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55433 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55434 for ac_func in isinff
55435 do :
55436 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55437 if test "x$ac_cv_func_isinff" = x""yes; then :
55438 cat >>confdefs.h <<_ACEOF
55439 #define HAVE_ISINFF 1
55440 _ACEOF
55443 done
55445 else
55447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55448 $as_echo_n "checking for _isinff declaration... " >&6; }
55449 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55450 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55451 $as_echo_n "(cached) " >&6
55452 else
55455 ac_ext=cpp
55456 ac_cpp='$CXXCPP $CPPFLAGS'
55457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55462 /* end confdefs.h. */
55463 #include <math.h>
55464 #ifdef HAVE_IEEEFP_H
55465 #include <ieeefp.h>
55466 #endif
55469 main ()
55471 _isinff(0);
55473 return 0;
55475 _ACEOF
55476 if ac_fn_cxx_try_compile "$LINENO"; then :
55477 glibcxx_cv_func__isinff_use=yes
55478 else
55479 glibcxx_cv_func__isinff_use=no
55481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55482 ac_ext=c
55483 ac_cpp='$CPP $CPPFLAGS'
55484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55493 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55495 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55496 for ac_func in _isinff
55497 do :
55498 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55499 if test "x$ac_cv_func__isinff" = x""yes; then :
55500 cat >>confdefs.h <<_ACEOF
55501 #define HAVE__ISINFF 1
55502 _ACEOF
55505 done
55514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55515 $as_echo_n "checking for atan2f declaration... " >&6; }
55516 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55517 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55518 $as_echo_n "(cached) " >&6
55519 else
55522 ac_ext=cpp
55523 ac_cpp='$CXXCPP $CPPFLAGS'
55524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55529 /* end confdefs.h. */
55530 #include <math.h>
55532 main ()
55534 atan2f(0, 0);
55536 return 0;
55538 _ACEOF
55539 if ac_fn_cxx_try_compile "$LINENO"; then :
55540 glibcxx_cv_func_atan2f_use=yes
55541 else
55542 glibcxx_cv_func_atan2f_use=no
55544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55545 ac_ext=c
55546 ac_cpp='$CPP $CPPFLAGS'
55547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55556 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55558 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55559 for ac_func in atan2f
55560 do :
55561 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55562 if test "x$ac_cv_func_atan2f" = x""yes; then :
55563 cat >>confdefs.h <<_ACEOF
55564 #define HAVE_ATAN2F 1
55565 _ACEOF
55568 done
55570 else
55572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55573 $as_echo_n "checking for _atan2f declaration... " >&6; }
55574 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55575 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55576 $as_echo_n "(cached) " >&6
55577 else
55580 ac_ext=cpp
55581 ac_cpp='$CXXCPP $CPPFLAGS'
55582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55587 /* end confdefs.h. */
55588 #include <math.h>
55590 main ()
55592 _atan2f(0, 0);
55594 return 0;
55596 _ACEOF
55597 if ac_fn_cxx_try_compile "$LINENO"; then :
55598 glibcxx_cv_func__atan2f_use=yes
55599 else
55600 glibcxx_cv_func__atan2f_use=no
55602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55603 ac_ext=c
55604 ac_cpp='$CPP $CPPFLAGS'
55605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55614 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55616 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55617 for ac_func in _atan2f
55618 do :
55619 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55620 if test "x$ac_cv_func__atan2f" = x""yes; then :
55621 cat >>confdefs.h <<_ACEOF
55622 #define HAVE__ATAN2F 1
55623 _ACEOF
55626 done
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55636 $as_echo_n "checking for fabsf declaration... " >&6; }
55637 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55638 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55639 $as_echo_n "(cached) " >&6
55640 else
55643 ac_ext=cpp
55644 ac_cpp='$CXXCPP $CPPFLAGS'
55645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55650 /* end confdefs.h. */
55651 #include <math.h>
55652 #ifdef HAVE_IEEEFP_H
55653 #include <ieeefp.h>
55654 #endif
55657 main ()
55659 fabsf(0);
55661 return 0;
55663 _ACEOF
55664 if ac_fn_cxx_try_compile "$LINENO"; then :
55665 glibcxx_cv_func_fabsf_use=yes
55666 else
55667 glibcxx_cv_func_fabsf_use=no
55669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55670 ac_ext=c
55671 ac_cpp='$CPP $CPPFLAGS'
55672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55681 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55683 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55684 for ac_func in fabsf
55685 do :
55686 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55687 if test "x$ac_cv_func_fabsf" = x""yes; then :
55688 cat >>confdefs.h <<_ACEOF
55689 #define HAVE_FABSF 1
55690 _ACEOF
55693 done
55695 else
55697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55698 $as_echo_n "checking for _fabsf declaration... " >&6; }
55699 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55700 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55701 $as_echo_n "(cached) " >&6
55702 else
55705 ac_ext=cpp
55706 ac_cpp='$CXXCPP $CPPFLAGS'
55707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55712 /* end confdefs.h. */
55713 #include <math.h>
55714 #ifdef HAVE_IEEEFP_H
55715 #include <ieeefp.h>
55716 #endif
55719 main ()
55721 _fabsf(0);
55723 return 0;
55725 _ACEOF
55726 if ac_fn_cxx_try_compile "$LINENO"; then :
55727 glibcxx_cv_func__fabsf_use=yes
55728 else
55729 glibcxx_cv_func__fabsf_use=no
55731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55732 ac_ext=c
55733 ac_cpp='$CPP $CPPFLAGS'
55734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55743 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55745 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55746 for ac_func in _fabsf
55747 do :
55748 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55749 if test "x$ac_cv_func__fabsf" = x""yes; then :
55750 cat >>confdefs.h <<_ACEOF
55751 #define HAVE__FABSF 1
55752 _ACEOF
55755 done
55764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55765 $as_echo_n "checking for fmodf declaration... " >&6; }
55766 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55767 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55768 $as_echo_n "(cached) " >&6
55769 else
55772 ac_ext=cpp
55773 ac_cpp='$CXXCPP $CPPFLAGS'
55774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55779 /* end confdefs.h. */
55780 #include <math.h>
55782 main ()
55784 fmodf(0, 0);
55786 return 0;
55788 _ACEOF
55789 if ac_fn_cxx_try_compile "$LINENO"; then :
55790 glibcxx_cv_func_fmodf_use=yes
55791 else
55792 glibcxx_cv_func_fmodf_use=no
55794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55795 ac_ext=c
55796 ac_cpp='$CPP $CPPFLAGS'
55797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55806 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55808 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55809 for ac_func in fmodf
55810 do :
55811 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55812 if test "x$ac_cv_func_fmodf" = x""yes; then :
55813 cat >>confdefs.h <<_ACEOF
55814 #define HAVE_FMODF 1
55815 _ACEOF
55818 done
55820 else
55822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55823 $as_echo_n "checking for _fmodf declaration... " >&6; }
55824 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55825 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55826 $as_echo_n "(cached) " >&6
55827 else
55830 ac_ext=cpp
55831 ac_cpp='$CXXCPP $CPPFLAGS'
55832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55837 /* end confdefs.h. */
55838 #include <math.h>
55840 main ()
55842 _fmodf(0, 0);
55844 return 0;
55846 _ACEOF
55847 if ac_fn_cxx_try_compile "$LINENO"; then :
55848 glibcxx_cv_func__fmodf_use=yes
55849 else
55850 glibcxx_cv_func__fmodf_use=no
55852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55853 ac_ext=c
55854 ac_cpp='$CPP $CPPFLAGS'
55855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55864 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55866 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55867 for ac_func in _fmodf
55868 do :
55869 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55870 if test "x$ac_cv_func__fmodf" = x""yes; then :
55871 cat >>confdefs.h <<_ACEOF
55872 #define HAVE__FMODF 1
55873 _ACEOF
55876 done
55885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55886 $as_echo_n "checking for frexpf declaration... " >&6; }
55887 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55888 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55889 $as_echo_n "(cached) " >&6
55890 else
55893 ac_ext=cpp
55894 ac_cpp='$CXXCPP $CPPFLAGS'
55895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55900 /* end confdefs.h. */
55901 #include <math.h>
55903 main ()
55905 frexpf(0, 0);
55907 return 0;
55909 _ACEOF
55910 if ac_fn_cxx_try_compile "$LINENO"; then :
55911 glibcxx_cv_func_frexpf_use=yes
55912 else
55913 glibcxx_cv_func_frexpf_use=no
55915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55916 ac_ext=c
55917 ac_cpp='$CPP $CPPFLAGS'
55918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55927 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55929 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55930 for ac_func in frexpf
55931 do :
55932 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55933 if test "x$ac_cv_func_frexpf" = x""yes; then :
55934 cat >>confdefs.h <<_ACEOF
55935 #define HAVE_FREXPF 1
55936 _ACEOF
55939 done
55941 else
55943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55944 $as_echo_n "checking for _frexpf declaration... " >&6; }
55945 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55946 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55947 $as_echo_n "(cached) " >&6
55948 else
55951 ac_ext=cpp
55952 ac_cpp='$CXXCPP $CPPFLAGS'
55953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55958 /* end confdefs.h. */
55959 #include <math.h>
55961 main ()
55963 _frexpf(0, 0);
55965 return 0;
55967 _ACEOF
55968 if ac_fn_cxx_try_compile "$LINENO"; then :
55969 glibcxx_cv_func__frexpf_use=yes
55970 else
55971 glibcxx_cv_func__frexpf_use=no
55973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55974 ac_ext=c
55975 ac_cpp='$CPP $CPPFLAGS'
55976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55985 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55987 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55988 for ac_func in _frexpf
55989 do :
55990 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55991 if test "x$ac_cv_func__frexpf" = x""yes; then :
55992 cat >>confdefs.h <<_ACEOF
55993 #define HAVE__FREXPF 1
55994 _ACEOF
55997 done
56006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56007 $as_echo_n "checking for hypotf declaration... " >&6; }
56008 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56009 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56010 $as_echo_n "(cached) " >&6
56011 else
56014 ac_ext=cpp
56015 ac_cpp='$CXXCPP $CPPFLAGS'
56016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56021 /* end confdefs.h. */
56022 #include <math.h>
56024 main ()
56026 hypotf(0, 0);
56028 return 0;
56030 _ACEOF
56031 if ac_fn_cxx_try_compile "$LINENO"; then :
56032 glibcxx_cv_func_hypotf_use=yes
56033 else
56034 glibcxx_cv_func_hypotf_use=no
56036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56037 ac_ext=c
56038 ac_cpp='$CPP $CPPFLAGS'
56039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56048 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56050 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56051 for ac_func in hypotf
56052 do :
56053 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56054 if test "x$ac_cv_func_hypotf" = x""yes; then :
56055 cat >>confdefs.h <<_ACEOF
56056 #define HAVE_HYPOTF 1
56057 _ACEOF
56060 done
56062 else
56064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56065 $as_echo_n "checking for _hypotf declaration... " >&6; }
56066 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56067 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56068 $as_echo_n "(cached) " >&6
56069 else
56072 ac_ext=cpp
56073 ac_cpp='$CXXCPP $CPPFLAGS'
56074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56079 /* end confdefs.h. */
56080 #include <math.h>
56082 main ()
56084 _hypotf(0, 0);
56086 return 0;
56088 _ACEOF
56089 if ac_fn_cxx_try_compile "$LINENO"; then :
56090 glibcxx_cv_func__hypotf_use=yes
56091 else
56092 glibcxx_cv_func__hypotf_use=no
56094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56095 ac_ext=c
56096 ac_cpp='$CPP $CPPFLAGS'
56097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56106 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56108 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56109 for ac_func in _hypotf
56110 do :
56111 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56112 if test "x$ac_cv_func__hypotf" = x""yes; then :
56113 cat >>confdefs.h <<_ACEOF
56114 #define HAVE__HYPOTF 1
56115 _ACEOF
56118 done
56127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56128 $as_echo_n "checking for ldexpf declaration... " >&6; }
56129 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56130 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56131 $as_echo_n "(cached) " >&6
56132 else
56135 ac_ext=cpp
56136 ac_cpp='$CXXCPP $CPPFLAGS'
56137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56142 /* end confdefs.h. */
56143 #include <math.h>
56145 main ()
56147 ldexpf(0, 0);
56149 return 0;
56151 _ACEOF
56152 if ac_fn_cxx_try_compile "$LINENO"; then :
56153 glibcxx_cv_func_ldexpf_use=yes
56154 else
56155 glibcxx_cv_func_ldexpf_use=no
56157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56158 ac_ext=c
56159 ac_cpp='$CPP $CPPFLAGS'
56160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56169 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56171 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56172 for ac_func in ldexpf
56173 do :
56174 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56175 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56176 cat >>confdefs.h <<_ACEOF
56177 #define HAVE_LDEXPF 1
56178 _ACEOF
56181 done
56183 else
56185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56186 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56187 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56188 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56189 $as_echo_n "(cached) " >&6
56190 else
56193 ac_ext=cpp
56194 ac_cpp='$CXXCPP $CPPFLAGS'
56195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56200 /* end confdefs.h. */
56201 #include <math.h>
56203 main ()
56205 _ldexpf(0, 0);
56207 return 0;
56209 _ACEOF
56210 if ac_fn_cxx_try_compile "$LINENO"; then :
56211 glibcxx_cv_func__ldexpf_use=yes
56212 else
56213 glibcxx_cv_func__ldexpf_use=no
56215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56216 ac_ext=c
56217 ac_cpp='$CPP $CPPFLAGS'
56218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56227 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56229 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56230 for ac_func in _ldexpf
56231 do :
56232 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56233 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56234 cat >>confdefs.h <<_ACEOF
56235 #define HAVE__LDEXPF 1
56236 _ACEOF
56239 done
56248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56249 $as_echo_n "checking for logf declaration... " >&6; }
56250 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56251 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56252 $as_echo_n "(cached) " >&6
56253 else
56256 ac_ext=cpp
56257 ac_cpp='$CXXCPP $CPPFLAGS'
56258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56263 /* end confdefs.h. */
56264 #include <math.h>
56265 #ifdef HAVE_IEEEFP_H
56266 #include <ieeefp.h>
56267 #endif
56270 main ()
56272 logf(0);
56274 return 0;
56276 _ACEOF
56277 if ac_fn_cxx_try_compile "$LINENO"; then :
56278 glibcxx_cv_func_logf_use=yes
56279 else
56280 glibcxx_cv_func_logf_use=no
56282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56283 ac_ext=c
56284 ac_cpp='$CPP $CPPFLAGS'
56285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56294 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56296 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56297 for ac_func in logf
56298 do :
56299 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56300 if test "x$ac_cv_func_logf" = x""yes; then :
56301 cat >>confdefs.h <<_ACEOF
56302 #define HAVE_LOGF 1
56303 _ACEOF
56306 done
56308 else
56310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56311 $as_echo_n "checking for _logf declaration... " >&6; }
56312 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56313 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56314 $as_echo_n "(cached) " >&6
56315 else
56318 ac_ext=cpp
56319 ac_cpp='$CXXCPP $CPPFLAGS'
56320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56325 /* end confdefs.h. */
56326 #include <math.h>
56327 #ifdef HAVE_IEEEFP_H
56328 #include <ieeefp.h>
56329 #endif
56332 main ()
56334 _logf(0);
56336 return 0;
56338 _ACEOF
56339 if ac_fn_cxx_try_compile "$LINENO"; then :
56340 glibcxx_cv_func__logf_use=yes
56341 else
56342 glibcxx_cv_func__logf_use=no
56344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56345 ac_ext=c
56346 ac_cpp='$CPP $CPPFLAGS'
56347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56356 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56358 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56359 for ac_func in _logf
56360 do :
56361 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56362 if test "x$ac_cv_func__logf" = x""yes; then :
56363 cat >>confdefs.h <<_ACEOF
56364 #define HAVE__LOGF 1
56365 _ACEOF
56368 done
56377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56378 $as_echo_n "checking for log10f declaration... " >&6; }
56379 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56380 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56381 $as_echo_n "(cached) " >&6
56382 else
56385 ac_ext=cpp
56386 ac_cpp='$CXXCPP $CPPFLAGS'
56387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56392 /* end confdefs.h. */
56393 #include <math.h>
56394 #ifdef HAVE_IEEEFP_H
56395 #include <ieeefp.h>
56396 #endif
56399 main ()
56401 log10f(0);
56403 return 0;
56405 _ACEOF
56406 if ac_fn_cxx_try_compile "$LINENO"; then :
56407 glibcxx_cv_func_log10f_use=yes
56408 else
56409 glibcxx_cv_func_log10f_use=no
56411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56412 ac_ext=c
56413 ac_cpp='$CPP $CPPFLAGS'
56414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56423 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56425 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56426 for ac_func in log10f
56427 do :
56428 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56429 if test "x$ac_cv_func_log10f" = x""yes; then :
56430 cat >>confdefs.h <<_ACEOF
56431 #define HAVE_LOG10F 1
56432 _ACEOF
56435 done
56437 else
56439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56440 $as_echo_n "checking for _log10f declaration... " >&6; }
56441 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56442 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56443 $as_echo_n "(cached) " >&6
56444 else
56447 ac_ext=cpp
56448 ac_cpp='$CXXCPP $CPPFLAGS'
56449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56454 /* end confdefs.h. */
56455 #include <math.h>
56456 #ifdef HAVE_IEEEFP_H
56457 #include <ieeefp.h>
56458 #endif
56461 main ()
56463 _log10f(0);
56465 return 0;
56467 _ACEOF
56468 if ac_fn_cxx_try_compile "$LINENO"; then :
56469 glibcxx_cv_func__log10f_use=yes
56470 else
56471 glibcxx_cv_func__log10f_use=no
56473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56474 ac_ext=c
56475 ac_cpp='$CPP $CPPFLAGS'
56476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56485 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56487 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56488 for ac_func in _log10f
56489 do :
56490 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56491 if test "x$ac_cv_func__log10f" = x""yes; then :
56492 cat >>confdefs.h <<_ACEOF
56493 #define HAVE__LOG10F 1
56494 _ACEOF
56497 done
56506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56507 $as_echo_n "checking for modff declaration... " >&6; }
56508 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56509 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56510 $as_echo_n "(cached) " >&6
56511 else
56514 ac_ext=cpp
56515 ac_cpp='$CXXCPP $CPPFLAGS'
56516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56521 /* end confdefs.h. */
56522 #include <math.h>
56524 main ()
56526 modff(0, 0);
56528 return 0;
56530 _ACEOF
56531 if ac_fn_cxx_try_compile "$LINENO"; then :
56532 glibcxx_cv_func_modff_use=yes
56533 else
56534 glibcxx_cv_func_modff_use=no
56536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56537 ac_ext=c
56538 ac_cpp='$CPP $CPPFLAGS'
56539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56548 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56550 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56551 for ac_func in modff
56552 do :
56553 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56554 if test "x$ac_cv_func_modff" = x""yes; then :
56555 cat >>confdefs.h <<_ACEOF
56556 #define HAVE_MODFF 1
56557 _ACEOF
56560 done
56562 else
56564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56565 $as_echo_n "checking for _modff declaration... " >&6; }
56566 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56567 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56568 $as_echo_n "(cached) " >&6
56569 else
56572 ac_ext=cpp
56573 ac_cpp='$CXXCPP $CPPFLAGS'
56574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56579 /* end confdefs.h. */
56580 #include <math.h>
56582 main ()
56584 _modff(0, 0);
56586 return 0;
56588 _ACEOF
56589 if ac_fn_cxx_try_compile "$LINENO"; then :
56590 glibcxx_cv_func__modff_use=yes
56591 else
56592 glibcxx_cv_func__modff_use=no
56594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56595 ac_ext=c
56596 ac_cpp='$CPP $CPPFLAGS'
56597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56606 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56608 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56609 for ac_func in _modff
56610 do :
56611 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56612 if test "x$ac_cv_func__modff" = x""yes; then :
56613 cat >>confdefs.h <<_ACEOF
56614 #define HAVE__MODFF 1
56615 _ACEOF
56618 done
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56628 $as_echo_n "checking for modf declaration... " >&6; }
56629 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56630 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56631 $as_echo_n "(cached) " >&6
56632 else
56635 ac_ext=cpp
56636 ac_cpp='$CXXCPP $CPPFLAGS'
56637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56642 /* end confdefs.h. */
56643 #include <math.h>
56645 main ()
56647 modf(0, 0);
56649 return 0;
56651 _ACEOF
56652 if ac_fn_cxx_try_compile "$LINENO"; then :
56653 glibcxx_cv_func_modf_use=yes
56654 else
56655 glibcxx_cv_func_modf_use=no
56657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56658 ac_ext=c
56659 ac_cpp='$CPP $CPPFLAGS'
56660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56669 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56671 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56672 for ac_func in modf
56673 do :
56674 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56675 if test "x$ac_cv_func_modf" = x""yes; then :
56676 cat >>confdefs.h <<_ACEOF
56677 #define HAVE_MODF 1
56678 _ACEOF
56681 done
56683 else
56685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56686 $as_echo_n "checking for _modf declaration... " >&6; }
56687 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56688 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56689 $as_echo_n "(cached) " >&6
56690 else
56693 ac_ext=cpp
56694 ac_cpp='$CXXCPP $CPPFLAGS'
56695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56700 /* end confdefs.h. */
56701 #include <math.h>
56703 main ()
56705 _modf(0, 0);
56707 return 0;
56709 _ACEOF
56710 if ac_fn_cxx_try_compile "$LINENO"; then :
56711 glibcxx_cv_func__modf_use=yes
56712 else
56713 glibcxx_cv_func__modf_use=no
56715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56716 ac_ext=c
56717 ac_cpp='$CPP $CPPFLAGS'
56718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56727 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56729 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56730 for ac_func in _modf
56731 do :
56732 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56733 if test "x$ac_cv_func__modf" = x""yes; then :
56734 cat >>confdefs.h <<_ACEOF
56735 #define HAVE__MODF 1
56736 _ACEOF
56739 done
56748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56749 $as_echo_n "checking for powf declaration... " >&6; }
56750 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56751 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56752 $as_echo_n "(cached) " >&6
56753 else
56756 ac_ext=cpp
56757 ac_cpp='$CXXCPP $CPPFLAGS'
56758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56763 /* end confdefs.h. */
56764 #include <math.h>
56766 main ()
56768 powf(0, 0);
56770 return 0;
56772 _ACEOF
56773 if ac_fn_cxx_try_compile "$LINENO"; then :
56774 glibcxx_cv_func_powf_use=yes
56775 else
56776 glibcxx_cv_func_powf_use=no
56778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56779 ac_ext=c
56780 ac_cpp='$CPP $CPPFLAGS'
56781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56790 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56792 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56793 for ac_func in powf
56794 do :
56795 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56796 if test "x$ac_cv_func_powf" = x""yes; then :
56797 cat >>confdefs.h <<_ACEOF
56798 #define HAVE_POWF 1
56799 _ACEOF
56802 done
56804 else
56806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56807 $as_echo_n "checking for _powf declaration... " >&6; }
56808 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56809 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56810 $as_echo_n "(cached) " >&6
56811 else
56814 ac_ext=cpp
56815 ac_cpp='$CXXCPP $CPPFLAGS'
56816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56821 /* end confdefs.h. */
56822 #include <math.h>
56824 main ()
56826 _powf(0, 0);
56828 return 0;
56830 _ACEOF
56831 if ac_fn_cxx_try_compile "$LINENO"; then :
56832 glibcxx_cv_func__powf_use=yes
56833 else
56834 glibcxx_cv_func__powf_use=no
56836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56837 ac_ext=c
56838 ac_cpp='$CPP $CPPFLAGS'
56839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56848 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56850 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56851 for ac_func in _powf
56852 do :
56853 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56854 if test "x$ac_cv_func__powf" = x""yes; then :
56855 cat >>confdefs.h <<_ACEOF
56856 #define HAVE__POWF 1
56857 _ACEOF
56860 done
56869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56870 $as_echo_n "checking for sqrtf declaration... " >&6; }
56871 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56872 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56873 $as_echo_n "(cached) " >&6
56874 else
56877 ac_ext=cpp
56878 ac_cpp='$CXXCPP $CPPFLAGS'
56879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56884 /* end confdefs.h. */
56885 #include <math.h>
56886 #ifdef HAVE_IEEEFP_H
56887 #include <ieeefp.h>
56888 #endif
56891 main ()
56893 sqrtf(0);
56895 return 0;
56897 _ACEOF
56898 if ac_fn_cxx_try_compile "$LINENO"; then :
56899 glibcxx_cv_func_sqrtf_use=yes
56900 else
56901 glibcxx_cv_func_sqrtf_use=no
56903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56904 ac_ext=c
56905 ac_cpp='$CPP $CPPFLAGS'
56906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56915 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56917 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56918 for ac_func in sqrtf
56919 do :
56920 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56921 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56922 cat >>confdefs.h <<_ACEOF
56923 #define HAVE_SQRTF 1
56924 _ACEOF
56927 done
56929 else
56931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56932 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56933 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56934 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56935 $as_echo_n "(cached) " >&6
56936 else
56939 ac_ext=cpp
56940 ac_cpp='$CXXCPP $CPPFLAGS'
56941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56946 /* end confdefs.h. */
56947 #include <math.h>
56948 #ifdef HAVE_IEEEFP_H
56949 #include <ieeefp.h>
56950 #endif
56953 main ()
56955 _sqrtf(0);
56957 return 0;
56959 _ACEOF
56960 if ac_fn_cxx_try_compile "$LINENO"; then :
56961 glibcxx_cv_func__sqrtf_use=yes
56962 else
56963 glibcxx_cv_func__sqrtf_use=no
56965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56966 ac_ext=c
56967 ac_cpp='$CPP $CPPFLAGS'
56968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56977 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56979 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56980 for ac_func in _sqrtf
56981 do :
56982 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56983 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56984 cat >>confdefs.h <<_ACEOF
56985 #define HAVE__SQRTF 1
56986 _ACEOF
56989 done
56998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56999 $as_echo_n "checking for sincosf declaration... " >&6; }
57000 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57001 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57002 $as_echo_n "(cached) " >&6
57003 else
57006 ac_ext=cpp
57007 ac_cpp='$CXXCPP $CPPFLAGS'
57008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57013 /* end confdefs.h. */
57014 #include <math.h>
57016 main ()
57018 sincosf(0, 0, 0);
57020 return 0;
57022 _ACEOF
57023 if ac_fn_cxx_try_compile "$LINENO"; then :
57024 glibcxx_cv_func_sincosf_use=yes
57025 else
57026 glibcxx_cv_func_sincosf_use=no
57028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57029 ac_ext=c
57030 ac_cpp='$CPP $CPPFLAGS'
57031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57040 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57042 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57043 for ac_func in sincosf
57044 do :
57045 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57046 if test "x$ac_cv_func_sincosf" = x""yes; then :
57047 cat >>confdefs.h <<_ACEOF
57048 #define HAVE_SINCOSF 1
57049 _ACEOF
57052 done
57054 else
57056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57057 $as_echo_n "checking for _sincosf declaration... " >&6; }
57058 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57059 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57060 $as_echo_n "(cached) " >&6
57061 else
57064 ac_ext=cpp
57065 ac_cpp='$CXXCPP $CPPFLAGS'
57066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57071 /* end confdefs.h. */
57072 #include <math.h>
57074 main ()
57076 _sincosf(0, 0, 0);
57078 return 0;
57080 _ACEOF
57081 if ac_fn_cxx_try_compile "$LINENO"; then :
57082 glibcxx_cv_func__sincosf_use=yes
57083 else
57084 glibcxx_cv_func__sincosf_use=no
57086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57087 ac_ext=c
57088 ac_cpp='$CPP $CPPFLAGS'
57089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57098 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57100 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57101 for ac_func in _sincosf
57102 do :
57103 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57104 if test "x$ac_cv_func__sincosf" = x""yes; then :
57105 cat >>confdefs.h <<_ACEOF
57106 #define HAVE__SINCOSF 1
57107 _ACEOF
57110 done
57119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57120 $as_echo_n "checking for finitef declaration... " >&6; }
57121 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57122 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57123 $as_echo_n "(cached) " >&6
57124 else
57127 ac_ext=cpp
57128 ac_cpp='$CXXCPP $CPPFLAGS'
57129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57134 /* end confdefs.h. */
57135 #include <math.h>
57136 #ifdef HAVE_IEEEFP_H
57137 #include <ieeefp.h>
57138 #endif
57141 main ()
57143 finitef(0);
57145 return 0;
57147 _ACEOF
57148 if ac_fn_cxx_try_compile "$LINENO"; then :
57149 glibcxx_cv_func_finitef_use=yes
57150 else
57151 glibcxx_cv_func_finitef_use=no
57153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57154 ac_ext=c
57155 ac_cpp='$CPP $CPPFLAGS'
57156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57165 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57167 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57168 for ac_func in finitef
57169 do :
57170 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57171 if test "x$ac_cv_func_finitef" = x""yes; then :
57172 cat >>confdefs.h <<_ACEOF
57173 #define HAVE_FINITEF 1
57174 _ACEOF
57177 done
57179 else
57181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57182 $as_echo_n "checking for _finitef declaration... " >&6; }
57183 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57184 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57185 $as_echo_n "(cached) " >&6
57186 else
57189 ac_ext=cpp
57190 ac_cpp='$CXXCPP $CPPFLAGS'
57191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57196 /* end confdefs.h. */
57197 #include <math.h>
57198 #ifdef HAVE_IEEEFP_H
57199 #include <ieeefp.h>
57200 #endif
57203 main ()
57205 _finitef(0);
57207 return 0;
57209 _ACEOF
57210 if ac_fn_cxx_try_compile "$LINENO"; then :
57211 glibcxx_cv_func__finitef_use=yes
57212 else
57213 glibcxx_cv_func__finitef_use=no
57215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57216 ac_ext=c
57217 ac_cpp='$CPP $CPPFLAGS'
57218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57227 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57229 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57230 for ac_func in _finitef
57231 do :
57232 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57233 if test "x$ac_cv_func__finitef" = x""yes; then :
57234 cat >>confdefs.h <<_ACEOF
57235 #define HAVE__FINITEF 1
57236 _ACEOF
57239 done
57248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57249 $as_echo_n "checking for long double trig functions... " >&6; }
57250 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57251 $as_echo_n "(cached) " >&6
57252 else
57255 ac_ext=cpp
57256 ac_cpp='$CXXCPP $CPPFLAGS'
57257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57262 /* end confdefs.h. */
57263 #include <math.h>
57265 main ()
57267 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57269 return 0;
57271 _ACEOF
57272 if ac_fn_cxx_try_compile "$LINENO"; then :
57273 glibcxx_cv_func_long_double_trig_use=yes
57274 else
57275 glibcxx_cv_func_long_double_trig_use=no
57277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57278 ac_ext=c
57279 ac_cpp='$CPP $CPPFLAGS'
57280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57287 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57288 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57289 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57290 do :
57291 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57293 eval as_val=\$$as_ac_var
57294 if test "x$as_val" = x""yes; then :
57295 cat >>confdefs.h <<_ACEOF
57296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57297 _ACEOF
57300 done
57302 else
57303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57304 $as_echo_n "checking for _long double trig functions... " >&6; }
57305 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57306 $as_echo_n "(cached) " >&6
57307 else
57310 ac_ext=cpp
57311 ac_cpp='$CXXCPP $CPPFLAGS'
57312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57317 /* end confdefs.h. */
57318 #include <math.h>
57320 main ()
57322 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57324 return 0;
57326 _ACEOF
57327 if ac_fn_cxx_try_compile "$LINENO"; then :
57328 glibcxx_cv_func__long_double_trig_use=yes
57329 else
57330 glibcxx_cv_func__long_double_trig_use=no
57332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57333 ac_ext=c
57334 ac_cpp='$CPP $CPPFLAGS'
57335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57342 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57343 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57344 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57345 do :
57346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57348 eval as_val=\$$as_ac_var
57349 if test "x$as_val" = x""yes; then :
57350 cat >>confdefs.h <<_ACEOF
57351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57352 _ACEOF
57355 done
57364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57365 $as_echo_n "checking for long double round functions... " >&6; }
57366 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57367 $as_echo_n "(cached) " >&6
57368 else
57371 ac_ext=cpp
57372 ac_cpp='$CXXCPP $CPPFLAGS'
57373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57378 /* end confdefs.h. */
57379 #include <math.h>
57381 main ()
57383 ceill (0); floorl (0);
57385 return 0;
57387 _ACEOF
57388 if ac_fn_cxx_try_compile "$LINENO"; then :
57389 glibcxx_cv_func_long_double_round_use=yes
57390 else
57391 glibcxx_cv_func_long_double_round_use=no
57393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57394 ac_ext=c
57395 ac_cpp='$CPP $CPPFLAGS'
57396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57403 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57404 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57405 for ac_func in ceill floorl
57406 do :
57407 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57408 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57409 eval as_val=\$$as_ac_var
57410 if test "x$as_val" = x""yes; then :
57411 cat >>confdefs.h <<_ACEOF
57412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57413 _ACEOF
57416 done
57418 else
57419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57420 $as_echo_n "checking for _long double round functions... " >&6; }
57421 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57422 $as_echo_n "(cached) " >&6
57423 else
57426 ac_ext=cpp
57427 ac_cpp='$CXXCPP $CPPFLAGS'
57428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57433 /* end confdefs.h. */
57434 #include <math.h>
57436 main ()
57438 _ceill (0); _floorl (0);
57440 return 0;
57442 _ACEOF
57443 if ac_fn_cxx_try_compile "$LINENO"; then :
57444 glibcxx_cv_func__long_double_round_use=yes
57445 else
57446 glibcxx_cv_func__long_double_round_use=no
57448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57449 ac_ext=c
57450 ac_cpp='$CPP $CPPFLAGS'
57451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57458 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57459 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57460 for ac_func in _ceill _floorl
57461 do :
57462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57464 eval as_val=\$$as_ac_var
57465 if test "x$as_val" = x""yes; then :
57466 cat >>confdefs.h <<_ACEOF
57467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57468 _ACEOF
57471 done
57481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57482 $as_echo_n "checking for isnanl declaration... " >&6; }
57483 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57484 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57485 $as_echo_n "(cached) " >&6
57486 else
57489 ac_ext=cpp
57490 ac_cpp='$CXXCPP $CPPFLAGS'
57491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57496 /* end confdefs.h. */
57497 #include <math.h>
57498 #ifdef HAVE_IEEEFP_H
57499 #include <ieeefp.h>
57500 #endif
57503 main ()
57505 isnanl(0);
57507 return 0;
57509 _ACEOF
57510 if ac_fn_cxx_try_compile "$LINENO"; then :
57511 glibcxx_cv_func_isnanl_use=yes
57512 else
57513 glibcxx_cv_func_isnanl_use=no
57515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57516 ac_ext=c
57517 ac_cpp='$CPP $CPPFLAGS'
57518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57527 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57529 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57530 for ac_func in isnanl
57531 do :
57532 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57533 if test "x$ac_cv_func_isnanl" = x""yes; then :
57534 cat >>confdefs.h <<_ACEOF
57535 #define HAVE_ISNANL 1
57536 _ACEOF
57539 done
57541 else
57543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57544 $as_echo_n "checking for _isnanl declaration... " >&6; }
57545 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57546 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57547 $as_echo_n "(cached) " >&6
57548 else
57551 ac_ext=cpp
57552 ac_cpp='$CXXCPP $CPPFLAGS'
57553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57558 /* end confdefs.h. */
57559 #include <math.h>
57560 #ifdef HAVE_IEEEFP_H
57561 #include <ieeefp.h>
57562 #endif
57565 main ()
57567 _isnanl(0);
57569 return 0;
57571 _ACEOF
57572 if ac_fn_cxx_try_compile "$LINENO"; then :
57573 glibcxx_cv_func__isnanl_use=yes
57574 else
57575 glibcxx_cv_func__isnanl_use=no
57577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57578 ac_ext=c
57579 ac_cpp='$CPP $CPPFLAGS'
57580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57589 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57591 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57592 for ac_func in _isnanl
57593 do :
57594 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57595 if test "x$ac_cv_func__isnanl" = x""yes; then :
57596 cat >>confdefs.h <<_ACEOF
57597 #define HAVE__ISNANL 1
57598 _ACEOF
57601 done
57610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57611 $as_echo_n "checking for isinfl declaration... " >&6; }
57612 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57613 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57614 $as_echo_n "(cached) " >&6
57615 else
57618 ac_ext=cpp
57619 ac_cpp='$CXXCPP $CPPFLAGS'
57620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57625 /* end confdefs.h. */
57626 #include <math.h>
57627 #ifdef HAVE_IEEEFP_H
57628 #include <ieeefp.h>
57629 #endif
57632 main ()
57634 isinfl(0);
57636 return 0;
57638 _ACEOF
57639 if ac_fn_cxx_try_compile "$LINENO"; then :
57640 glibcxx_cv_func_isinfl_use=yes
57641 else
57642 glibcxx_cv_func_isinfl_use=no
57644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57645 ac_ext=c
57646 ac_cpp='$CPP $CPPFLAGS'
57647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57656 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57658 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57659 for ac_func in isinfl
57660 do :
57661 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57662 if test "x$ac_cv_func_isinfl" = x""yes; then :
57663 cat >>confdefs.h <<_ACEOF
57664 #define HAVE_ISINFL 1
57665 _ACEOF
57668 done
57670 else
57672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57673 $as_echo_n "checking for _isinfl declaration... " >&6; }
57674 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57675 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57676 $as_echo_n "(cached) " >&6
57677 else
57680 ac_ext=cpp
57681 ac_cpp='$CXXCPP $CPPFLAGS'
57682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57687 /* end confdefs.h. */
57688 #include <math.h>
57689 #ifdef HAVE_IEEEFP_H
57690 #include <ieeefp.h>
57691 #endif
57694 main ()
57696 _isinfl(0);
57698 return 0;
57700 _ACEOF
57701 if ac_fn_cxx_try_compile "$LINENO"; then :
57702 glibcxx_cv_func__isinfl_use=yes
57703 else
57704 glibcxx_cv_func__isinfl_use=no
57706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57707 ac_ext=c
57708 ac_cpp='$CPP $CPPFLAGS'
57709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57718 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57720 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57721 for ac_func in _isinfl
57722 do :
57723 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57724 if test "x$ac_cv_func__isinfl" = x""yes; then :
57725 cat >>confdefs.h <<_ACEOF
57726 #define HAVE__ISINFL 1
57727 _ACEOF
57730 done
57739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57740 $as_echo_n "checking for atan2l declaration... " >&6; }
57741 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57742 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57743 $as_echo_n "(cached) " >&6
57744 else
57747 ac_ext=cpp
57748 ac_cpp='$CXXCPP $CPPFLAGS'
57749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57754 /* end confdefs.h. */
57755 #include <math.h>
57757 main ()
57759 atan2l(0, 0);
57761 return 0;
57763 _ACEOF
57764 if ac_fn_cxx_try_compile "$LINENO"; then :
57765 glibcxx_cv_func_atan2l_use=yes
57766 else
57767 glibcxx_cv_func_atan2l_use=no
57769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57770 ac_ext=c
57771 ac_cpp='$CPP $CPPFLAGS'
57772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57781 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57783 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57784 for ac_func in atan2l
57785 do :
57786 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57787 if test "x$ac_cv_func_atan2l" = x""yes; then :
57788 cat >>confdefs.h <<_ACEOF
57789 #define HAVE_ATAN2L 1
57790 _ACEOF
57793 done
57795 else
57797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57798 $as_echo_n "checking for _atan2l declaration... " >&6; }
57799 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57800 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57801 $as_echo_n "(cached) " >&6
57802 else
57805 ac_ext=cpp
57806 ac_cpp='$CXXCPP $CPPFLAGS'
57807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57812 /* end confdefs.h. */
57813 #include <math.h>
57815 main ()
57817 _atan2l(0, 0);
57819 return 0;
57821 _ACEOF
57822 if ac_fn_cxx_try_compile "$LINENO"; then :
57823 glibcxx_cv_func__atan2l_use=yes
57824 else
57825 glibcxx_cv_func__atan2l_use=no
57827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57828 ac_ext=c
57829 ac_cpp='$CPP $CPPFLAGS'
57830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57839 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57841 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57842 for ac_func in _atan2l
57843 do :
57844 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57845 if test "x$ac_cv_func__atan2l" = x""yes; then :
57846 cat >>confdefs.h <<_ACEOF
57847 #define HAVE__ATAN2L 1
57848 _ACEOF
57851 done
57860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57861 $as_echo_n "checking for expl declaration... " >&6; }
57862 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57863 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57864 $as_echo_n "(cached) " >&6
57865 else
57868 ac_ext=cpp
57869 ac_cpp='$CXXCPP $CPPFLAGS'
57870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57875 /* end confdefs.h. */
57876 #include <math.h>
57877 #ifdef HAVE_IEEEFP_H
57878 #include <ieeefp.h>
57879 #endif
57882 main ()
57884 expl(0);
57886 return 0;
57888 _ACEOF
57889 if ac_fn_cxx_try_compile "$LINENO"; then :
57890 glibcxx_cv_func_expl_use=yes
57891 else
57892 glibcxx_cv_func_expl_use=no
57894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57895 ac_ext=c
57896 ac_cpp='$CPP $CPPFLAGS'
57897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57906 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57908 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57909 for ac_func in expl
57910 do :
57911 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57912 if test "x$ac_cv_func_expl" = x""yes; then :
57913 cat >>confdefs.h <<_ACEOF
57914 #define HAVE_EXPL 1
57915 _ACEOF
57918 done
57920 else
57922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57923 $as_echo_n "checking for _expl declaration... " >&6; }
57924 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57925 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57926 $as_echo_n "(cached) " >&6
57927 else
57930 ac_ext=cpp
57931 ac_cpp='$CXXCPP $CPPFLAGS'
57932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57937 /* end confdefs.h. */
57938 #include <math.h>
57939 #ifdef HAVE_IEEEFP_H
57940 #include <ieeefp.h>
57941 #endif
57944 main ()
57946 _expl(0);
57948 return 0;
57950 _ACEOF
57951 if ac_fn_cxx_try_compile "$LINENO"; then :
57952 glibcxx_cv_func__expl_use=yes
57953 else
57954 glibcxx_cv_func__expl_use=no
57956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57957 ac_ext=c
57958 ac_cpp='$CPP $CPPFLAGS'
57959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57968 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57970 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57971 for ac_func in _expl
57972 do :
57973 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57974 if test "x$ac_cv_func__expl" = x""yes; then :
57975 cat >>confdefs.h <<_ACEOF
57976 #define HAVE__EXPL 1
57977 _ACEOF
57980 done
57989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57990 $as_echo_n "checking for fabsl declaration... " >&6; }
57991 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57992 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57993 $as_echo_n "(cached) " >&6
57994 else
57997 ac_ext=cpp
57998 ac_cpp='$CXXCPP $CPPFLAGS'
57999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58004 /* end confdefs.h. */
58005 #include <math.h>
58006 #ifdef HAVE_IEEEFP_H
58007 #include <ieeefp.h>
58008 #endif
58011 main ()
58013 fabsl(0);
58015 return 0;
58017 _ACEOF
58018 if ac_fn_cxx_try_compile "$LINENO"; then :
58019 glibcxx_cv_func_fabsl_use=yes
58020 else
58021 glibcxx_cv_func_fabsl_use=no
58023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58024 ac_ext=c
58025 ac_cpp='$CPP $CPPFLAGS'
58026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58035 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58037 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58038 for ac_func in fabsl
58039 do :
58040 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58041 if test "x$ac_cv_func_fabsl" = x""yes; then :
58042 cat >>confdefs.h <<_ACEOF
58043 #define HAVE_FABSL 1
58044 _ACEOF
58047 done
58049 else
58051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58052 $as_echo_n "checking for _fabsl declaration... " >&6; }
58053 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58054 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58055 $as_echo_n "(cached) " >&6
58056 else
58059 ac_ext=cpp
58060 ac_cpp='$CXXCPP $CPPFLAGS'
58061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58066 /* end confdefs.h. */
58067 #include <math.h>
58068 #ifdef HAVE_IEEEFP_H
58069 #include <ieeefp.h>
58070 #endif
58073 main ()
58075 _fabsl(0);
58077 return 0;
58079 _ACEOF
58080 if ac_fn_cxx_try_compile "$LINENO"; then :
58081 glibcxx_cv_func__fabsl_use=yes
58082 else
58083 glibcxx_cv_func__fabsl_use=no
58085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58086 ac_ext=c
58087 ac_cpp='$CPP $CPPFLAGS'
58088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58097 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58099 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58100 for ac_func in _fabsl
58101 do :
58102 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58103 if test "x$ac_cv_func__fabsl" = x""yes; then :
58104 cat >>confdefs.h <<_ACEOF
58105 #define HAVE__FABSL 1
58106 _ACEOF
58109 done
58118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58119 $as_echo_n "checking for fmodl declaration... " >&6; }
58120 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58121 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58122 $as_echo_n "(cached) " >&6
58123 else
58126 ac_ext=cpp
58127 ac_cpp='$CXXCPP $CPPFLAGS'
58128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58133 /* end confdefs.h. */
58134 #include <math.h>
58136 main ()
58138 fmodl(0, 0);
58140 return 0;
58142 _ACEOF
58143 if ac_fn_cxx_try_compile "$LINENO"; then :
58144 glibcxx_cv_func_fmodl_use=yes
58145 else
58146 glibcxx_cv_func_fmodl_use=no
58148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58149 ac_ext=c
58150 ac_cpp='$CPP $CPPFLAGS'
58151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58160 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58162 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58163 for ac_func in fmodl
58164 do :
58165 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58166 if test "x$ac_cv_func_fmodl" = x""yes; then :
58167 cat >>confdefs.h <<_ACEOF
58168 #define HAVE_FMODL 1
58169 _ACEOF
58172 done
58174 else
58176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58177 $as_echo_n "checking for _fmodl declaration... " >&6; }
58178 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58179 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58180 $as_echo_n "(cached) " >&6
58181 else
58184 ac_ext=cpp
58185 ac_cpp='$CXXCPP $CPPFLAGS'
58186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58191 /* end confdefs.h. */
58192 #include <math.h>
58194 main ()
58196 _fmodl(0, 0);
58198 return 0;
58200 _ACEOF
58201 if ac_fn_cxx_try_compile "$LINENO"; then :
58202 glibcxx_cv_func__fmodl_use=yes
58203 else
58204 glibcxx_cv_func__fmodl_use=no
58206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58207 ac_ext=c
58208 ac_cpp='$CPP $CPPFLAGS'
58209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58218 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58220 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58221 for ac_func in _fmodl
58222 do :
58223 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58224 if test "x$ac_cv_func__fmodl" = x""yes; then :
58225 cat >>confdefs.h <<_ACEOF
58226 #define HAVE__FMODL 1
58227 _ACEOF
58230 done
58239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58240 $as_echo_n "checking for frexpl declaration... " >&6; }
58241 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58242 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58243 $as_echo_n "(cached) " >&6
58244 else
58247 ac_ext=cpp
58248 ac_cpp='$CXXCPP $CPPFLAGS'
58249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58254 /* end confdefs.h. */
58255 #include <math.h>
58257 main ()
58259 frexpl(0, 0);
58261 return 0;
58263 _ACEOF
58264 if ac_fn_cxx_try_compile "$LINENO"; then :
58265 glibcxx_cv_func_frexpl_use=yes
58266 else
58267 glibcxx_cv_func_frexpl_use=no
58269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58270 ac_ext=c
58271 ac_cpp='$CPP $CPPFLAGS'
58272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58281 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58283 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58284 for ac_func in frexpl
58285 do :
58286 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58287 if test "x$ac_cv_func_frexpl" = x""yes; then :
58288 cat >>confdefs.h <<_ACEOF
58289 #define HAVE_FREXPL 1
58290 _ACEOF
58293 done
58295 else
58297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58298 $as_echo_n "checking for _frexpl declaration... " >&6; }
58299 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58300 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58301 $as_echo_n "(cached) " >&6
58302 else
58305 ac_ext=cpp
58306 ac_cpp='$CXXCPP $CPPFLAGS'
58307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58312 /* end confdefs.h. */
58313 #include <math.h>
58315 main ()
58317 _frexpl(0, 0);
58319 return 0;
58321 _ACEOF
58322 if ac_fn_cxx_try_compile "$LINENO"; then :
58323 glibcxx_cv_func__frexpl_use=yes
58324 else
58325 glibcxx_cv_func__frexpl_use=no
58327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58328 ac_ext=c
58329 ac_cpp='$CPP $CPPFLAGS'
58330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58339 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58341 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58342 for ac_func in _frexpl
58343 do :
58344 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58345 if test "x$ac_cv_func__frexpl" = x""yes; then :
58346 cat >>confdefs.h <<_ACEOF
58347 #define HAVE__FREXPL 1
58348 _ACEOF
58351 done
58360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58361 $as_echo_n "checking for hypotl declaration... " >&6; }
58362 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58363 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58364 $as_echo_n "(cached) " >&6
58365 else
58368 ac_ext=cpp
58369 ac_cpp='$CXXCPP $CPPFLAGS'
58370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58375 /* end confdefs.h. */
58376 #include <math.h>
58378 main ()
58380 hypotl(0, 0);
58382 return 0;
58384 _ACEOF
58385 if ac_fn_cxx_try_compile "$LINENO"; then :
58386 glibcxx_cv_func_hypotl_use=yes
58387 else
58388 glibcxx_cv_func_hypotl_use=no
58390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58391 ac_ext=c
58392 ac_cpp='$CPP $CPPFLAGS'
58393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58402 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58404 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58405 for ac_func in hypotl
58406 do :
58407 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58408 if test "x$ac_cv_func_hypotl" = x""yes; then :
58409 cat >>confdefs.h <<_ACEOF
58410 #define HAVE_HYPOTL 1
58411 _ACEOF
58414 done
58416 else
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58419 $as_echo_n "checking for _hypotl declaration... " >&6; }
58420 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58421 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58422 $as_echo_n "(cached) " >&6
58423 else
58426 ac_ext=cpp
58427 ac_cpp='$CXXCPP $CPPFLAGS'
58428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58433 /* end confdefs.h. */
58434 #include <math.h>
58436 main ()
58438 _hypotl(0, 0);
58440 return 0;
58442 _ACEOF
58443 if ac_fn_cxx_try_compile "$LINENO"; then :
58444 glibcxx_cv_func__hypotl_use=yes
58445 else
58446 glibcxx_cv_func__hypotl_use=no
58448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58449 ac_ext=c
58450 ac_cpp='$CPP $CPPFLAGS'
58451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58460 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58462 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58463 for ac_func in _hypotl
58464 do :
58465 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58466 if test "x$ac_cv_func__hypotl" = x""yes; then :
58467 cat >>confdefs.h <<_ACEOF
58468 #define HAVE__HYPOTL 1
58469 _ACEOF
58472 done
58481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58482 $as_echo_n "checking for ldexpl declaration... " >&6; }
58483 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58484 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58485 $as_echo_n "(cached) " >&6
58486 else
58489 ac_ext=cpp
58490 ac_cpp='$CXXCPP $CPPFLAGS'
58491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58496 /* end confdefs.h. */
58497 #include <math.h>
58499 main ()
58501 ldexpl(0, 0);
58503 return 0;
58505 _ACEOF
58506 if ac_fn_cxx_try_compile "$LINENO"; then :
58507 glibcxx_cv_func_ldexpl_use=yes
58508 else
58509 glibcxx_cv_func_ldexpl_use=no
58511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58512 ac_ext=c
58513 ac_cpp='$CPP $CPPFLAGS'
58514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58523 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58525 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58526 for ac_func in ldexpl
58527 do :
58528 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58529 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58530 cat >>confdefs.h <<_ACEOF
58531 #define HAVE_LDEXPL 1
58532 _ACEOF
58535 done
58537 else
58539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58540 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58541 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58542 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58543 $as_echo_n "(cached) " >&6
58544 else
58547 ac_ext=cpp
58548 ac_cpp='$CXXCPP $CPPFLAGS'
58549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58554 /* end confdefs.h. */
58555 #include <math.h>
58557 main ()
58559 _ldexpl(0, 0);
58561 return 0;
58563 _ACEOF
58564 if ac_fn_cxx_try_compile "$LINENO"; then :
58565 glibcxx_cv_func__ldexpl_use=yes
58566 else
58567 glibcxx_cv_func__ldexpl_use=no
58569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58570 ac_ext=c
58571 ac_cpp='$CPP $CPPFLAGS'
58572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58581 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58583 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58584 for ac_func in _ldexpl
58585 do :
58586 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58587 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58588 cat >>confdefs.h <<_ACEOF
58589 #define HAVE__LDEXPL 1
58590 _ACEOF
58593 done
58602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58603 $as_echo_n "checking for logl declaration... " >&6; }
58604 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58605 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58606 $as_echo_n "(cached) " >&6
58607 else
58610 ac_ext=cpp
58611 ac_cpp='$CXXCPP $CPPFLAGS'
58612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58617 /* end confdefs.h. */
58618 #include <math.h>
58619 #ifdef HAVE_IEEEFP_H
58620 #include <ieeefp.h>
58621 #endif
58624 main ()
58626 logl(0);
58628 return 0;
58630 _ACEOF
58631 if ac_fn_cxx_try_compile "$LINENO"; then :
58632 glibcxx_cv_func_logl_use=yes
58633 else
58634 glibcxx_cv_func_logl_use=no
58636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58637 ac_ext=c
58638 ac_cpp='$CPP $CPPFLAGS'
58639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58648 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58650 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58651 for ac_func in logl
58652 do :
58653 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58654 if test "x$ac_cv_func_logl" = x""yes; then :
58655 cat >>confdefs.h <<_ACEOF
58656 #define HAVE_LOGL 1
58657 _ACEOF
58660 done
58662 else
58664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58665 $as_echo_n "checking for _logl declaration... " >&6; }
58666 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58667 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58668 $as_echo_n "(cached) " >&6
58669 else
58672 ac_ext=cpp
58673 ac_cpp='$CXXCPP $CPPFLAGS'
58674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58679 /* end confdefs.h. */
58680 #include <math.h>
58681 #ifdef HAVE_IEEEFP_H
58682 #include <ieeefp.h>
58683 #endif
58686 main ()
58688 _logl(0);
58690 return 0;
58692 _ACEOF
58693 if ac_fn_cxx_try_compile "$LINENO"; then :
58694 glibcxx_cv_func__logl_use=yes
58695 else
58696 glibcxx_cv_func__logl_use=no
58698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58699 ac_ext=c
58700 ac_cpp='$CPP $CPPFLAGS'
58701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58710 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58712 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58713 for ac_func in _logl
58714 do :
58715 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58716 if test "x$ac_cv_func__logl" = x""yes; then :
58717 cat >>confdefs.h <<_ACEOF
58718 #define HAVE__LOGL 1
58719 _ACEOF
58722 done
58731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58732 $as_echo_n "checking for log10l declaration... " >&6; }
58733 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58734 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58735 $as_echo_n "(cached) " >&6
58736 else
58739 ac_ext=cpp
58740 ac_cpp='$CXXCPP $CPPFLAGS'
58741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58746 /* end confdefs.h. */
58747 #include <math.h>
58748 #ifdef HAVE_IEEEFP_H
58749 #include <ieeefp.h>
58750 #endif
58753 main ()
58755 log10l(0);
58757 return 0;
58759 _ACEOF
58760 if ac_fn_cxx_try_compile "$LINENO"; then :
58761 glibcxx_cv_func_log10l_use=yes
58762 else
58763 glibcxx_cv_func_log10l_use=no
58765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58766 ac_ext=c
58767 ac_cpp='$CPP $CPPFLAGS'
58768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58777 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58779 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58780 for ac_func in log10l
58781 do :
58782 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58783 if test "x$ac_cv_func_log10l" = x""yes; then :
58784 cat >>confdefs.h <<_ACEOF
58785 #define HAVE_LOG10L 1
58786 _ACEOF
58789 done
58791 else
58793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58794 $as_echo_n "checking for _log10l declaration... " >&6; }
58795 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58796 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58797 $as_echo_n "(cached) " >&6
58798 else
58801 ac_ext=cpp
58802 ac_cpp='$CXXCPP $CPPFLAGS'
58803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58808 /* end confdefs.h. */
58809 #include <math.h>
58810 #ifdef HAVE_IEEEFP_H
58811 #include <ieeefp.h>
58812 #endif
58815 main ()
58817 _log10l(0);
58819 return 0;
58821 _ACEOF
58822 if ac_fn_cxx_try_compile "$LINENO"; then :
58823 glibcxx_cv_func__log10l_use=yes
58824 else
58825 glibcxx_cv_func__log10l_use=no
58827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58828 ac_ext=c
58829 ac_cpp='$CPP $CPPFLAGS'
58830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58839 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58841 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58842 for ac_func in _log10l
58843 do :
58844 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58845 if test "x$ac_cv_func__log10l" = x""yes; then :
58846 cat >>confdefs.h <<_ACEOF
58847 #define HAVE__LOG10L 1
58848 _ACEOF
58851 done
58860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58861 $as_echo_n "checking for modfl declaration... " >&6; }
58862 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58863 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58864 $as_echo_n "(cached) " >&6
58865 else
58868 ac_ext=cpp
58869 ac_cpp='$CXXCPP $CPPFLAGS'
58870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58875 /* end confdefs.h. */
58876 #include <math.h>
58878 main ()
58880 modfl(0, 0);
58882 return 0;
58884 _ACEOF
58885 if ac_fn_cxx_try_compile "$LINENO"; then :
58886 glibcxx_cv_func_modfl_use=yes
58887 else
58888 glibcxx_cv_func_modfl_use=no
58890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58891 ac_ext=c
58892 ac_cpp='$CPP $CPPFLAGS'
58893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58902 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58904 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58905 for ac_func in modfl
58906 do :
58907 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58908 if test "x$ac_cv_func_modfl" = x""yes; then :
58909 cat >>confdefs.h <<_ACEOF
58910 #define HAVE_MODFL 1
58911 _ACEOF
58914 done
58916 else
58918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58919 $as_echo_n "checking for _modfl declaration... " >&6; }
58920 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58921 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58922 $as_echo_n "(cached) " >&6
58923 else
58926 ac_ext=cpp
58927 ac_cpp='$CXXCPP $CPPFLAGS'
58928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58933 /* end confdefs.h. */
58934 #include <math.h>
58936 main ()
58938 _modfl(0, 0);
58940 return 0;
58942 _ACEOF
58943 if ac_fn_cxx_try_compile "$LINENO"; then :
58944 glibcxx_cv_func__modfl_use=yes
58945 else
58946 glibcxx_cv_func__modfl_use=no
58948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58949 ac_ext=c
58950 ac_cpp='$CPP $CPPFLAGS'
58951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58960 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58962 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58963 for ac_func in _modfl
58964 do :
58965 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58966 if test "x$ac_cv_func__modfl" = x""yes; then :
58967 cat >>confdefs.h <<_ACEOF
58968 #define HAVE__MODFL 1
58969 _ACEOF
58972 done
58981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58982 $as_echo_n "checking for powl declaration... " >&6; }
58983 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58984 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58985 $as_echo_n "(cached) " >&6
58986 else
58989 ac_ext=cpp
58990 ac_cpp='$CXXCPP $CPPFLAGS'
58991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58996 /* end confdefs.h. */
58997 #include <math.h>
58999 main ()
59001 powl(0, 0);
59003 return 0;
59005 _ACEOF
59006 if ac_fn_cxx_try_compile "$LINENO"; then :
59007 glibcxx_cv_func_powl_use=yes
59008 else
59009 glibcxx_cv_func_powl_use=no
59011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59012 ac_ext=c
59013 ac_cpp='$CPP $CPPFLAGS'
59014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59023 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59025 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59026 for ac_func in powl
59027 do :
59028 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59029 if test "x$ac_cv_func_powl" = x""yes; then :
59030 cat >>confdefs.h <<_ACEOF
59031 #define HAVE_POWL 1
59032 _ACEOF
59035 done
59037 else
59039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59040 $as_echo_n "checking for _powl declaration... " >&6; }
59041 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59042 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59043 $as_echo_n "(cached) " >&6
59044 else
59047 ac_ext=cpp
59048 ac_cpp='$CXXCPP $CPPFLAGS'
59049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59054 /* end confdefs.h. */
59055 #include <math.h>
59057 main ()
59059 _powl(0, 0);
59061 return 0;
59063 _ACEOF
59064 if ac_fn_cxx_try_compile "$LINENO"; then :
59065 glibcxx_cv_func__powl_use=yes
59066 else
59067 glibcxx_cv_func__powl_use=no
59069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59070 ac_ext=c
59071 ac_cpp='$CPP $CPPFLAGS'
59072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59081 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59083 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59084 for ac_func in _powl
59085 do :
59086 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59087 if test "x$ac_cv_func__powl" = x""yes; then :
59088 cat >>confdefs.h <<_ACEOF
59089 #define HAVE__POWL 1
59090 _ACEOF
59093 done
59102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59103 $as_echo_n "checking for sqrtl declaration... " >&6; }
59104 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59105 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59106 $as_echo_n "(cached) " >&6
59107 else
59110 ac_ext=cpp
59111 ac_cpp='$CXXCPP $CPPFLAGS'
59112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59117 /* end confdefs.h. */
59118 #include <math.h>
59119 #ifdef HAVE_IEEEFP_H
59120 #include <ieeefp.h>
59121 #endif
59124 main ()
59126 sqrtl(0);
59128 return 0;
59130 _ACEOF
59131 if ac_fn_cxx_try_compile "$LINENO"; then :
59132 glibcxx_cv_func_sqrtl_use=yes
59133 else
59134 glibcxx_cv_func_sqrtl_use=no
59136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59137 ac_ext=c
59138 ac_cpp='$CPP $CPPFLAGS'
59139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59148 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59150 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59151 for ac_func in sqrtl
59152 do :
59153 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59154 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59155 cat >>confdefs.h <<_ACEOF
59156 #define HAVE_SQRTL 1
59157 _ACEOF
59160 done
59162 else
59164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59165 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59166 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59167 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59168 $as_echo_n "(cached) " >&6
59169 else
59172 ac_ext=cpp
59173 ac_cpp='$CXXCPP $CPPFLAGS'
59174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59179 /* end confdefs.h. */
59180 #include <math.h>
59181 #ifdef HAVE_IEEEFP_H
59182 #include <ieeefp.h>
59183 #endif
59186 main ()
59188 _sqrtl(0);
59190 return 0;
59192 _ACEOF
59193 if ac_fn_cxx_try_compile "$LINENO"; then :
59194 glibcxx_cv_func__sqrtl_use=yes
59195 else
59196 glibcxx_cv_func__sqrtl_use=no
59198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59199 ac_ext=c
59200 ac_cpp='$CPP $CPPFLAGS'
59201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59210 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59212 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59213 for ac_func in _sqrtl
59214 do :
59215 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59216 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59217 cat >>confdefs.h <<_ACEOF
59218 #define HAVE__SQRTL 1
59219 _ACEOF
59222 done
59231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59232 $as_echo_n "checking for sincosl declaration... " >&6; }
59233 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59234 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59235 $as_echo_n "(cached) " >&6
59236 else
59239 ac_ext=cpp
59240 ac_cpp='$CXXCPP $CPPFLAGS'
59241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59246 /* end confdefs.h. */
59247 #include <math.h>
59249 main ()
59251 sincosl(0, 0, 0);
59253 return 0;
59255 _ACEOF
59256 if ac_fn_cxx_try_compile "$LINENO"; then :
59257 glibcxx_cv_func_sincosl_use=yes
59258 else
59259 glibcxx_cv_func_sincosl_use=no
59261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59262 ac_ext=c
59263 ac_cpp='$CPP $CPPFLAGS'
59264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59273 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59275 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59276 for ac_func in sincosl
59277 do :
59278 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59279 if test "x$ac_cv_func_sincosl" = x""yes; then :
59280 cat >>confdefs.h <<_ACEOF
59281 #define HAVE_SINCOSL 1
59282 _ACEOF
59285 done
59287 else
59289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59290 $as_echo_n "checking for _sincosl declaration... " >&6; }
59291 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59292 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59293 $as_echo_n "(cached) " >&6
59294 else
59297 ac_ext=cpp
59298 ac_cpp='$CXXCPP $CPPFLAGS'
59299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59304 /* end confdefs.h. */
59305 #include <math.h>
59307 main ()
59309 _sincosl(0, 0, 0);
59311 return 0;
59313 _ACEOF
59314 if ac_fn_cxx_try_compile "$LINENO"; then :
59315 glibcxx_cv_func__sincosl_use=yes
59316 else
59317 glibcxx_cv_func__sincosl_use=no
59319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59320 ac_ext=c
59321 ac_cpp='$CPP $CPPFLAGS'
59322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59331 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59333 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59334 for ac_func in _sincosl
59335 do :
59336 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59337 if test "x$ac_cv_func__sincosl" = x""yes; then :
59338 cat >>confdefs.h <<_ACEOF
59339 #define HAVE__SINCOSL 1
59340 _ACEOF
59343 done
59352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59353 $as_echo_n "checking for finitel declaration... " >&6; }
59354 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59355 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59356 $as_echo_n "(cached) " >&6
59357 else
59360 ac_ext=cpp
59361 ac_cpp='$CXXCPP $CPPFLAGS'
59362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59367 /* end confdefs.h. */
59368 #include <math.h>
59369 #ifdef HAVE_IEEEFP_H
59370 #include <ieeefp.h>
59371 #endif
59374 main ()
59376 finitel(0);
59378 return 0;
59380 _ACEOF
59381 if ac_fn_cxx_try_compile "$LINENO"; then :
59382 glibcxx_cv_func_finitel_use=yes
59383 else
59384 glibcxx_cv_func_finitel_use=no
59386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59387 ac_ext=c
59388 ac_cpp='$CPP $CPPFLAGS'
59389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59398 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59400 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59401 for ac_func in finitel
59402 do :
59403 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59404 if test "x$ac_cv_func_finitel" = x""yes; then :
59405 cat >>confdefs.h <<_ACEOF
59406 #define HAVE_FINITEL 1
59407 _ACEOF
59410 done
59412 else
59414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59415 $as_echo_n "checking for _finitel declaration... " >&6; }
59416 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59417 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59418 $as_echo_n "(cached) " >&6
59419 else
59422 ac_ext=cpp
59423 ac_cpp='$CXXCPP $CPPFLAGS'
59424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59429 /* end confdefs.h. */
59430 #include <math.h>
59431 #ifdef HAVE_IEEEFP_H
59432 #include <ieeefp.h>
59433 #endif
59436 main ()
59438 _finitel(0);
59440 return 0;
59442 _ACEOF
59443 if ac_fn_cxx_try_compile "$LINENO"; then :
59444 glibcxx_cv_func__finitel_use=yes
59445 else
59446 glibcxx_cv_func__finitel_use=no
59448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59449 ac_ext=c
59450 ac_cpp='$CPP $CPPFLAGS'
59451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59460 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59462 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59463 for ac_func in _finitel
59464 do :
59465 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59466 if test "x$ac_cv_func__finitel" = x""yes; then :
59467 cat >>confdefs.h <<_ACEOF
59468 #define HAVE__FINITEL 1
59469 _ACEOF
59472 done
59480 LIBS="$ac_save_LIBS"
59481 CXXFLAGS="$ac_save_CXXFLAGS"
59484 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59485 ac_save_CXXFLAGS="$CXXFLAGS"
59486 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59490 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59491 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59492 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59493 $as_echo_n "(cached) " >&6
59494 else
59497 ac_ext=cpp
59498 ac_cpp='$CXXCPP $CPPFLAGS'
59499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59504 /* end confdefs.h. */
59505 #include <stdlib.h>
59507 main ()
59509 at_quick_exit(0);
59511 return 0;
59513 _ACEOF
59514 if ac_fn_cxx_try_compile "$LINENO"; then :
59515 glibcxx_cv_func_at_quick_exit_use=yes
59516 else
59517 glibcxx_cv_func_at_quick_exit_use=no
59519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59520 ac_ext=c
59521 ac_cpp='$CPP $CPPFLAGS'
59522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59531 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59532 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59533 for ac_func in at_quick_exit
59534 do :
59535 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59536 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59537 cat >>confdefs.h <<_ACEOF
59538 #define HAVE_AT_QUICK_EXIT 1
59539 _ACEOF
59542 done
59547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59548 $as_echo_n "checking for quick_exit declaration... " >&6; }
59549 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59550 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59551 $as_echo_n "(cached) " >&6
59552 else
59555 ac_ext=cpp
59556 ac_cpp='$CXXCPP $CPPFLAGS'
59557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59562 /* end confdefs.h. */
59563 #include <stdlib.h>
59565 main ()
59567 quick_exit(0);
59569 return 0;
59571 _ACEOF
59572 if ac_fn_cxx_try_compile "$LINENO"; then :
59573 glibcxx_cv_func_quick_exit_use=yes
59574 else
59575 glibcxx_cv_func_quick_exit_use=no
59577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59578 ac_ext=c
59579 ac_cpp='$CPP $CPPFLAGS'
59580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59589 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59590 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59591 for ac_func in quick_exit
59592 do :
59593 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59594 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59595 cat >>confdefs.h <<_ACEOF
59596 #define HAVE_QUICK_EXIT 1
59597 _ACEOF
59600 done
59605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59606 $as_echo_n "checking for strtold declaration... " >&6; }
59607 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59608 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59609 $as_echo_n "(cached) " >&6
59610 else
59613 ac_ext=cpp
59614 ac_cpp='$CXXCPP $CPPFLAGS'
59615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59620 /* end confdefs.h. */
59621 #include <stdlib.h>
59623 main ()
59625 strtold(0, 0);
59627 return 0;
59629 _ACEOF
59630 if ac_fn_cxx_try_compile "$LINENO"; then :
59631 glibcxx_cv_func_strtold_use=yes
59632 else
59633 glibcxx_cv_func_strtold_use=no
59635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59636 ac_ext=c
59637 ac_cpp='$CPP $CPPFLAGS'
59638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59647 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59648 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59649 for ac_func in strtold
59650 do :
59651 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59652 if test "x$ac_cv_func_strtold" = x""yes; then :
59653 cat >>confdefs.h <<_ACEOF
59654 #define HAVE_STRTOLD 1
59655 _ACEOF
59658 done
59665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59666 $as_echo_n "checking for strtof declaration... " >&6; }
59667 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59668 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59669 $as_echo_n "(cached) " >&6
59670 else
59673 ac_ext=cpp
59674 ac_cpp='$CXXCPP $CPPFLAGS'
59675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59680 /* end confdefs.h. */
59681 #include <stdlib.h>
59683 main ()
59685 strtof(0, 0);
59687 return 0;
59689 _ACEOF
59690 if ac_fn_cxx_try_compile "$LINENO"; then :
59691 glibcxx_cv_func_strtof_use=yes
59692 else
59693 glibcxx_cv_func_strtof_use=no
59695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59696 ac_ext=c
59697 ac_cpp='$CPP $CPPFLAGS'
59698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59707 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59708 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59709 for ac_func in strtof
59710 do :
59711 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59712 if test "x$ac_cv_func_strtof" = x""yes; then :
59713 cat >>confdefs.h <<_ACEOF
59714 #define HAVE_STRTOF 1
59715 _ACEOF
59718 done
59725 CXXFLAGS="$ac_save_CXXFLAGS"
59727 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59731 # Check whether --enable-tls was given.
59732 if test "${enable_tls+set}" = set; then :
59733 enableval=$enable_tls;
59734 case "$enableval" in
59735 yes|no) ;;
59736 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59737 esac
59739 else
59740 enable_tls=yes
59744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59745 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59746 if test "${gcc_cv_have_tls+set}" = set; then :
59747 $as_echo_n "(cached) " >&6
59748 else
59750 if test "$cross_compiling" = yes; then :
59751 if test x$gcc_no_link = xyes; then
59752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59755 /* end confdefs.h. */
59756 __thread int a; int b; int main() { return a = b; }
59757 _ACEOF
59758 if ac_fn_c_try_link "$LINENO"; then :
59759 chktls_save_LDFLAGS="$LDFLAGS"
59760 case $host in
59761 *-*-linux*)
59762 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59764 esac
59765 chktls_save_CFLAGS="$CFLAGS"
59766 CFLAGS="-fPIC $CFLAGS"
59767 if test x$gcc_no_link = xyes; then
59768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59771 /* end confdefs.h. */
59772 int f() { return 0; }
59773 _ACEOF
59774 if ac_fn_c_try_link "$LINENO"; then :
59775 if test x$gcc_no_link = xyes; then
59776 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59779 /* end confdefs.h. */
59780 __thread int a; int b; int f() { return a = b; }
59781 _ACEOF
59782 if ac_fn_c_try_link "$LINENO"; then :
59783 gcc_cv_have_tls=yes
59784 else
59785 gcc_cv_have_tls=no
59787 rm -f core conftest.err conftest.$ac_objext \
59788 conftest$ac_exeext conftest.$ac_ext
59789 else
59790 gcc_cv_have_tls=yes
59792 rm -f core conftest.err conftest.$ac_objext \
59793 conftest$ac_exeext conftest.$ac_ext
59794 CFLAGS="$chktls_save_CFLAGS"
59795 LDFLAGS="$chktls_save_LDFLAGS"
59796 else
59797 gcc_cv_have_tls=no
59799 rm -f core conftest.err conftest.$ac_objext \
59800 conftest$ac_exeext conftest.$ac_ext
59803 else
59804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59805 /* end confdefs.h. */
59806 __thread int a; int b; int main() { return a = b; }
59807 _ACEOF
59808 if ac_fn_c_try_run "$LINENO"; then :
59809 chktls_save_LDFLAGS="$LDFLAGS"
59810 LDFLAGS="-static $LDFLAGS"
59811 if test x$gcc_no_link = xyes; then
59812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59815 /* end confdefs.h. */
59816 int main() { return 0; }
59817 _ACEOF
59818 if ac_fn_c_try_link "$LINENO"; then :
59819 if test "$cross_compiling" = yes; then :
59820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59822 as_fn_error "cannot run test program while cross compiling
59823 See \`config.log' for more details." "$LINENO" 5; }
59824 else
59825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59826 /* end confdefs.h. */
59827 __thread int a; int b; int main() { return a = b; }
59828 _ACEOF
59829 if ac_fn_c_try_run "$LINENO"; then :
59830 gcc_cv_have_tls=yes
59831 else
59832 gcc_cv_have_tls=no
59834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59835 conftest.$ac_objext conftest.beam conftest.$ac_ext
59838 else
59839 gcc_cv_have_tls=yes
59841 rm -f core conftest.err conftest.$ac_objext \
59842 conftest$ac_exeext conftest.$ac_ext
59843 LDFLAGS="$chktls_save_LDFLAGS"
59844 if test $gcc_cv_have_tls = yes; then
59845 chktls_save_CFLAGS="$CFLAGS"
59846 thread_CFLAGS=failed
59847 for flag in '' '-pthread' '-lpthread'; do
59848 CFLAGS="$flag $chktls_save_CFLAGS"
59849 if test x$gcc_no_link = xyes; then
59850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59853 /* end confdefs.h. */
59854 #include <pthread.h>
59855 void *g(void *d) { return NULL; }
59857 main ()
59859 pthread_t t; pthread_create(&t,NULL,g,NULL);
59861 return 0;
59863 _ACEOF
59864 if ac_fn_c_try_link "$LINENO"; then :
59865 thread_CFLAGS="$flag"
59867 rm -f core conftest.err conftest.$ac_objext \
59868 conftest$ac_exeext conftest.$ac_ext
59869 if test "X$thread_CFLAGS" != Xfailed; then
59870 break
59872 done
59873 CFLAGS="$chktls_save_CFLAGS"
59874 if test "X$thread_CFLAGS" != Xfailed; then
59875 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59876 if test "$cross_compiling" = yes; then :
59877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59879 as_fn_error "cannot run test program while cross compiling
59880 See \`config.log' for more details." "$LINENO" 5; }
59881 else
59882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59883 /* end confdefs.h. */
59884 #include <pthread.h>
59885 __thread int a;
59886 static int *volatile a_in_other_thread;
59887 static void *
59888 thread_func (void *arg)
59890 a_in_other_thread = &a;
59891 return (void *)0;
59894 main ()
59896 pthread_t thread;
59897 void *thread_retval;
59898 int *volatile a_in_main_thread;
59899 a_in_main_thread = &a;
59900 if (pthread_create (&thread, (pthread_attr_t *)0,
59901 thread_func, (void *)0))
59902 return 0;
59903 if (pthread_join (thread, &thread_retval))
59904 return 0;
59905 return (a_in_other_thread == a_in_main_thread);
59907 return 0;
59909 _ACEOF
59910 if ac_fn_c_try_run "$LINENO"; then :
59911 gcc_cv_have_tls=yes
59912 else
59913 gcc_cv_have_tls=no
59915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59916 conftest.$ac_objext conftest.beam conftest.$ac_ext
59919 CFLAGS="$chktls_save_CFLAGS"
59922 else
59923 gcc_cv_have_tls=no
59925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59926 conftest.$ac_objext conftest.beam conftest.$ac_ext
59930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59931 $as_echo "$gcc_cv_have_tls" >&6; }
59932 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59934 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59937 for ac_func in __cxa_thread_atexit_impl
59938 do :
59939 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59940 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59941 cat >>confdefs.h <<_ACEOF
59942 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59943 _ACEOF
59946 done
59948 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59949 do :
59950 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59951 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59952 eval as_val=\$$as_ac_var
59953 if test "x$as_val" = x""yes; then :
59954 cat >>confdefs.h <<_ACEOF
59955 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59956 _ACEOF
59959 done
59966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59967 $as_echo_n "checking for iconv... " >&6; }
59968 if test "${am_cv_func_iconv+set}" = set; then :
59969 $as_echo_n "(cached) " >&6
59970 else
59972 am_cv_func_iconv="no, consider installing GNU libiconv"
59973 am_cv_lib_iconv=no
59974 am_save_CPPFLAGS="$CPPFLAGS"
59975 CPPFLAGS="$CPPFLAGS $INCICONV"
59976 if test x$gcc_no_link = xyes; then
59977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59980 /* end confdefs.h. */
59981 #include <stdlib.h>
59982 #include <iconv.h>
59984 main ()
59986 iconv_t cd = iconv_open("","");
59987 iconv(cd,NULL,NULL,NULL,NULL);
59988 iconv_close(cd);
59990 return 0;
59992 _ACEOF
59993 if ac_fn_c_try_link "$LINENO"; then :
59994 am_cv_func_iconv=yes
59996 rm -f core conftest.err conftest.$ac_objext \
59997 conftest$ac_exeext conftest.$ac_ext
59998 CPPFLAGS="$am_save_CPPFLAGS"
60000 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60001 for _libs in .libs _libs; do
60002 am_save_CPPFLAGS="$CPPFLAGS"
60003 am_save_LIBS="$LIBS"
60004 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60005 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60006 if test x$gcc_no_link = xyes; then
60007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60010 /* end confdefs.h. */
60011 #include <stdlib.h>
60012 #include <iconv.h>
60014 main ()
60016 iconv_t cd = iconv_open("","");
60017 iconv(cd,NULL,NULL,NULL,NULL);
60018 iconv_close(cd);
60020 return 0;
60022 _ACEOF
60023 if ac_fn_c_try_link "$LINENO"; then :
60024 INCICONV="-I../libiconv/include"
60025 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60026 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60027 am_cv_lib_iconv=yes
60028 am_cv_func_iconv=yes
60030 rm -f core conftest.err conftest.$ac_objext \
60031 conftest$ac_exeext conftest.$ac_ext
60032 CPPFLAGS="$am_save_CPPFLAGS"
60033 LIBS="$am_save_LIBS"
60034 if test "$am_cv_func_iconv" = "yes"; then
60035 break
60037 done
60040 if test "$am_cv_func_iconv" != yes; then
60041 am_save_CPPFLAGS="$CPPFLAGS"
60042 am_save_LIBS="$LIBS"
60043 CPPFLAGS="$LIBS $INCICONV"
60044 LIBS="$LIBS $LIBICONV"
60045 if test x$gcc_no_link = xyes; then
60046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60049 /* end confdefs.h. */
60050 #include <stdlib.h>
60051 #include <iconv.h>
60053 main ()
60055 iconv_t cd = iconv_open("","");
60056 iconv(cd,NULL,NULL,NULL,NULL);
60057 iconv_close(cd);
60059 return 0;
60061 _ACEOF
60062 if ac_fn_c_try_link "$LINENO"; then :
60063 am_cv_lib_iconv=yes
60064 am_cv_func_iconv=yes
60066 rm -f core conftest.err conftest.$ac_objext \
60067 conftest$ac_exeext conftest.$ac_ext
60068 CPPFLAGS="$am_save_CPPFLAGS"
60069 LIBS="$am_save_LIBS"
60073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60074 $as_echo "$am_cv_func_iconv" >&6; }
60075 if test "$am_cv_func_iconv" = yes; then
60077 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60080 if test "$am_cv_lib_iconv" = yes; then
60082 for element in $INCICONV; do
60083 haveit=
60084 for x in $CPPFLAGS; do
60086 acl_save_prefix="$prefix"
60087 prefix="$acl_final_prefix"
60088 acl_save_exec_prefix="$exec_prefix"
60089 exec_prefix="$acl_final_exec_prefix"
60090 eval x=\"$x\"
60091 exec_prefix="$acl_save_exec_prefix"
60092 prefix="$acl_save_prefix"
60094 if test "X$x" = "X$element"; then
60095 haveit=yes
60096 break
60098 done
60099 if test -z "$haveit"; then
60100 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60102 done
60104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60105 $as_echo_n "checking how to link with libiconv... " >&6; }
60106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60107 $as_echo "$LIBICONV" >&6; }
60108 else
60109 LIBICONV=
60110 LTLIBICONV=
60115 if test "$am_cv_func_iconv" = yes; then
60116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60117 $as_echo_n "checking for iconv declaration... " >&6; }
60118 if test "${am_cv_proto_iconv+set}" = set; then :
60119 $as_echo_n "(cached) " >&6
60120 else
60122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60123 /* end confdefs.h. */
60125 #include <stdlib.h>
60126 #include <iconv.h>
60127 extern
60128 #ifdef __cplusplus
60130 #endif
60131 #if defined(__STDC__) || defined(__cplusplus)
60132 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60133 #else
60134 size_t iconv();
60135 #endif
60138 main ()
60142 return 0;
60144 _ACEOF
60145 if ac_fn_c_try_compile "$LINENO"; then :
60146 am_cv_proto_iconv_arg1=""
60147 else
60148 am_cv_proto_iconv_arg1="const"
60150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60151 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);"
60154 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60156 }$am_cv_proto_iconv" >&5
60157 $as_echo "${ac_t:-
60158 }$am_cv_proto_iconv" >&6; }
60160 cat >>confdefs.h <<_ACEOF
60161 #define ICONV_CONST $am_cv_proto_iconv_arg1
60162 _ACEOF
60167 *-mingw32*)
60169 # If we're not using GNU ld, then there's no point in even trying these
60170 # tests. Check for that first. We should have already tested for gld
60171 # by now (in libtool), but require it now just to be safe...
60172 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60173 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60177 # The name set by libtool depends on the version of libtool. Shame on us
60178 # for depending on an impl detail, but c'est la vie. Older versions used
60179 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60180 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60181 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60182 # set (hence we're using an older libtool), then set it.
60183 if test x${with_gnu_ld+set} != xset; then
60184 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60185 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60186 with_gnu_ld=no
60187 else
60188 with_gnu_ld=$ac_cv_prog_gnu_ld
60192 # Start by getting the version number. I think the libtool test already
60193 # does some of this, but throws away the result.
60194 glibcxx_ld_is_gold=no
60195 if test x"$with_gnu_ld" = x"yes"; then
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60197 $as_echo_n "checking for ld version... " >&6; }
60199 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60200 glibcxx_ld_is_gold=yes
60202 ldver=`$LD --version 2>/dev/null |
60203 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'`
60205 glibcxx_gnu_ld_version=`echo $ldver | \
60206 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60208 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60211 # Set --gc-sections.
60212 glibcxx_have_gc_sections=no
60213 if test "$glibcxx_ld_is_gold" = "yes"; then
60214 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60215 glibcxx_have_gc_sections=yes
60217 else
60218 glibcxx_gcsections_min_ld=21602
60219 if test x"$with_gnu_ld" = x"yes" &&
60220 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60221 glibcxx_have_gc_sections=yes
60224 if test "$glibcxx_have_gc_sections" = "yes"; then
60225 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60226 # NB: This flag only works reliably after 2.16.1. Configure tests
60227 # for this are difficult, so hard wire a value that should work.
60229 ac_test_CFLAGS="${CFLAGS+set}"
60230 ac_save_CFLAGS="$CFLAGS"
60231 CFLAGS='-Wl,--gc-sections'
60233 # Check for -Wl,--gc-sections
60234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60235 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60236 if test x$gcc_no_link = xyes; then
60237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60240 /* end confdefs.h. */
60241 int one(void) { return 1; }
60242 int two(void) { return 2; }
60245 main ()
60247 two();
60249 return 0;
60251 _ACEOF
60252 if ac_fn_c_try_link "$LINENO"; then :
60253 ac_gcsections=yes
60254 else
60255 ac_gcsections=no
60257 rm -f core conftest.err conftest.$ac_objext \
60258 conftest$ac_exeext conftest.$ac_ext
60259 if test "$ac_gcsections" = "yes"; then
60260 rm -f conftest.c
60261 touch conftest.c
60262 if $CC -c conftest.c; then
60263 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60264 grep "Warning: gc-sections option ignored" > /dev/null; then
60265 ac_gcsections=no
60268 rm -f conftest.c conftest.o conftest
60270 if test "$ac_gcsections" = "yes"; then
60271 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60274 $as_echo "$ac_gcsections" >&6; }
60276 if test "$ac_test_CFLAGS" = set; then
60277 CFLAGS="$ac_save_CFLAGS"
60278 else
60279 # this is the suspicious part
60280 CFLAGS=''
60284 # Set -z,relro.
60285 # Note this is only for shared objects.
60286 ac_ld_relro=no
60287 if test x"$with_gnu_ld" = x"yes"; then
60288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60289 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60290 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60291 if test -n "$cxx_z_relo"; then
60292 OPT_LDFLAGS="-Wl,-z,relro"
60293 ac_ld_relro=yes
60295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60296 $as_echo "$ac_ld_relro" >&6; }
60299 # Set linker optimization flags.
60300 if test x"$with_gnu_ld" = x"yes"; then
60301 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60308 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60309 ac_save_CXXFLAGS="$CXXFLAGS"
60310 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60313 $as_echo_n "checking for sin in -lm... " >&6; }
60314 if test "${ac_cv_lib_m_sin+set}" = set; then :
60315 $as_echo_n "(cached) " >&6
60316 else
60317 ac_check_lib_save_LIBS=$LIBS
60318 LIBS="-lm $LIBS"
60319 if test x$gcc_no_link = xyes; then
60320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60323 /* end confdefs.h. */
60325 /* Override any GCC internal prototype to avoid an error.
60326 Use char because int might match the return type of a GCC
60327 builtin and then its argument prototype would still apply. */
60328 #ifdef __cplusplus
60329 extern "C"
60330 #endif
60331 char sin ();
60333 main ()
60335 return sin ();
60337 return 0;
60339 _ACEOF
60340 if ac_fn_c_try_link "$LINENO"; then :
60341 ac_cv_lib_m_sin=yes
60342 else
60343 ac_cv_lib_m_sin=no
60345 rm -f core conftest.err conftest.$ac_objext \
60346 conftest$ac_exeext conftest.$ac_ext
60347 LIBS=$ac_check_lib_save_LIBS
60349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60350 $as_echo "$ac_cv_lib_m_sin" >&6; }
60351 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60352 libm="-lm"
60355 ac_save_LIBS="$LIBS"
60356 LIBS="$LIBS $libm"
60360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60361 $as_echo_n "checking for isinf declaration... " >&6; }
60362 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60363 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60364 $as_echo_n "(cached) " >&6
60365 else
60368 ac_ext=cpp
60369 ac_cpp='$CXXCPP $CPPFLAGS'
60370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60375 /* end confdefs.h. */
60376 #include <math.h>
60377 #ifdef HAVE_IEEEFP_H
60378 #include <ieeefp.h>
60379 #endif
60382 main ()
60384 isinf(0);
60386 return 0;
60388 _ACEOF
60389 if ac_fn_cxx_try_compile "$LINENO"; then :
60390 glibcxx_cv_func_isinf_use=yes
60391 else
60392 glibcxx_cv_func_isinf_use=no
60394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60395 ac_ext=c
60396 ac_cpp='$CPP $CPPFLAGS'
60397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60406 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60408 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60409 for ac_func in isinf
60410 do :
60411 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60412 if test "x$ac_cv_func_isinf" = x""yes; then :
60413 cat >>confdefs.h <<_ACEOF
60414 #define HAVE_ISINF 1
60415 _ACEOF
60418 done
60420 else
60422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60423 $as_echo_n "checking for _isinf declaration... " >&6; }
60424 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60425 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60426 $as_echo_n "(cached) " >&6
60427 else
60430 ac_ext=cpp
60431 ac_cpp='$CXXCPP $CPPFLAGS'
60432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60437 /* end confdefs.h. */
60438 #include <math.h>
60439 #ifdef HAVE_IEEEFP_H
60440 #include <ieeefp.h>
60441 #endif
60444 main ()
60446 _isinf(0);
60448 return 0;
60450 _ACEOF
60451 if ac_fn_cxx_try_compile "$LINENO"; then :
60452 glibcxx_cv_func__isinf_use=yes
60453 else
60454 glibcxx_cv_func__isinf_use=no
60456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60457 ac_ext=c
60458 ac_cpp='$CPP $CPPFLAGS'
60459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60468 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60470 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60471 for ac_func in _isinf
60472 do :
60473 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60474 if test "x$ac_cv_func__isinf" = x""yes; then :
60475 cat >>confdefs.h <<_ACEOF
60476 #define HAVE__ISINF 1
60477 _ACEOF
60480 done
60489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60490 $as_echo_n "checking for isnan declaration... " >&6; }
60491 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60492 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60493 $as_echo_n "(cached) " >&6
60494 else
60497 ac_ext=cpp
60498 ac_cpp='$CXXCPP $CPPFLAGS'
60499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60504 /* end confdefs.h. */
60505 #include <math.h>
60506 #ifdef HAVE_IEEEFP_H
60507 #include <ieeefp.h>
60508 #endif
60511 main ()
60513 isnan(0);
60515 return 0;
60517 _ACEOF
60518 if ac_fn_cxx_try_compile "$LINENO"; then :
60519 glibcxx_cv_func_isnan_use=yes
60520 else
60521 glibcxx_cv_func_isnan_use=no
60523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60524 ac_ext=c
60525 ac_cpp='$CPP $CPPFLAGS'
60526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60535 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60537 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60538 for ac_func in isnan
60539 do :
60540 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60541 if test "x$ac_cv_func_isnan" = x""yes; then :
60542 cat >>confdefs.h <<_ACEOF
60543 #define HAVE_ISNAN 1
60544 _ACEOF
60547 done
60549 else
60551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60552 $as_echo_n "checking for _isnan declaration... " >&6; }
60553 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60554 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60555 $as_echo_n "(cached) " >&6
60556 else
60559 ac_ext=cpp
60560 ac_cpp='$CXXCPP $CPPFLAGS'
60561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60566 /* end confdefs.h. */
60567 #include <math.h>
60568 #ifdef HAVE_IEEEFP_H
60569 #include <ieeefp.h>
60570 #endif
60573 main ()
60575 _isnan(0);
60577 return 0;
60579 _ACEOF
60580 if ac_fn_cxx_try_compile "$LINENO"; then :
60581 glibcxx_cv_func__isnan_use=yes
60582 else
60583 glibcxx_cv_func__isnan_use=no
60585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60586 ac_ext=c
60587 ac_cpp='$CPP $CPPFLAGS'
60588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60597 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60599 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60600 for ac_func in _isnan
60601 do :
60602 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60603 if test "x$ac_cv_func__isnan" = x""yes; then :
60604 cat >>confdefs.h <<_ACEOF
60605 #define HAVE__ISNAN 1
60606 _ACEOF
60609 done
60618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60619 $as_echo_n "checking for finite declaration... " >&6; }
60620 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60621 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60622 $as_echo_n "(cached) " >&6
60623 else
60626 ac_ext=cpp
60627 ac_cpp='$CXXCPP $CPPFLAGS'
60628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60633 /* end confdefs.h. */
60634 #include <math.h>
60635 #ifdef HAVE_IEEEFP_H
60636 #include <ieeefp.h>
60637 #endif
60640 main ()
60642 finite(0);
60644 return 0;
60646 _ACEOF
60647 if ac_fn_cxx_try_compile "$LINENO"; then :
60648 glibcxx_cv_func_finite_use=yes
60649 else
60650 glibcxx_cv_func_finite_use=no
60652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60653 ac_ext=c
60654 ac_cpp='$CPP $CPPFLAGS'
60655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60664 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60666 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60667 for ac_func in finite
60668 do :
60669 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60670 if test "x$ac_cv_func_finite" = x""yes; then :
60671 cat >>confdefs.h <<_ACEOF
60672 #define HAVE_FINITE 1
60673 _ACEOF
60676 done
60678 else
60680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60681 $as_echo_n "checking for _finite declaration... " >&6; }
60682 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60683 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60684 $as_echo_n "(cached) " >&6
60685 else
60688 ac_ext=cpp
60689 ac_cpp='$CXXCPP $CPPFLAGS'
60690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60695 /* end confdefs.h. */
60696 #include <math.h>
60697 #ifdef HAVE_IEEEFP_H
60698 #include <ieeefp.h>
60699 #endif
60702 main ()
60704 _finite(0);
60706 return 0;
60708 _ACEOF
60709 if ac_fn_cxx_try_compile "$LINENO"; then :
60710 glibcxx_cv_func__finite_use=yes
60711 else
60712 glibcxx_cv_func__finite_use=no
60714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60715 ac_ext=c
60716 ac_cpp='$CPP $CPPFLAGS'
60717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60726 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60728 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60729 for ac_func in _finite
60730 do :
60731 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60732 if test "x$ac_cv_func__finite" = x""yes; then :
60733 cat >>confdefs.h <<_ACEOF
60734 #define HAVE__FINITE 1
60735 _ACEOF
60738 done
60747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60748 $as_echo_n "checking for sincos declaration... " >&6; }
60749 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60750 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60751 $as_echo_n "(cached) " >&6
60752 else
60755 ac_ext=cpp
60756 ac_cpp='$CXXCPP $CPPFLAGS'
60757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60762 /* end confdefs.h. */
60763 #include <math.h>
60765 main ()
60767 sincos(0, 0, 0);
60769 return 0;
60771 _ACEOF
60772 if ac_fn_cxx_try_compile "$LINENO"; then :
60773 glibcxx_cv_func_sincos_use=yes
60774 else
60775 glibcxx_cv_func_sincos_use=no
60777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60778 ac_ext=c
60779 ac_cpp='$CPP $CPPFLAGS'
60780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60789 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60791 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60792 for ac_func in sincos
60793 do :
60794 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60795 if test "x$ac_cv_func_sincos" = x""yes; then :
60796 cat >>confdefs.h <<_ACEOF
60797 #define HAVE_SINCOS 1
60798 _ACEOF
60801 done
60803 else
60805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60806 $as_echo_n "checking for _sincos declaration... " >&6; }
60807 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60808 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60809 $as_echo_n "(cached) " >&6
60810 else
60813 ac_ext=cpp
60814 ac_cpp='$CXXCPP $CPPFLAGS'
60815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60820 /* end confdefs.h. */
60821 #include <math.h>
60823 main ()
60825 _sincos(0, 0, 0);
60827 return 0;
60829 _ACEOF
60830 if ac_fn_cxx_try_compile "$LINENO"; then :
60831 glibcxx_cv_func__sincos_use=yes
60832 else
60833 glibcxx_cv_func__sincos_use=no
60835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60836 ac_ext=c
60837 ac_cpp='$CPP $CPPFLAGS'
60838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60847 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60849 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60850 for ac_func in _sincos
60851 do :
60852 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60853 if test "x$ac_cv_func__sincos" = x""yes; then :
60854 cat >>confdefs.h <<_ACEOF
60855 #define HAVE__SINCOS 1
60856 _ACEOF
60859 done
60868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60869 $as_echo_n "checking for fpclass declaration... " >&6; }
60870 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60871 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60872 $as_echo_n "(cached) " >&6
60873 else
60876 ac_ext=cpp
60877 ac_cpp='$CXXCPP $CPPFLAGS'
60878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60883 /* end confdefs.h. */
60884 #include <math.h>
60885 #ifdef HAVE_IEEEFP_H
60886 #include <ieeefp.h>
60887 #endif
60890 main ()
60892 fpclass(0);
60894 return 0;
60896 _ACEOF
60897 if ac_fn_cxx_try_compile "$LINENO"; then :
60898 glibcxx_cv_func_fpclass_use=yes
60899 else
60900 glibcxx_cv_func_fpclass_use=no
60902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60903 ac_ext=c
60904 ac_cpp='$CPP $CPPFLAGS'
60905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60914 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60916 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60917 for ac_func in fpclass
60918 do :
60919 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60920 if test "x$ac_cv_func_fpclass" = x""yes; then :
60921 cat >>confdefs.h <<_ACEOF
60922 #define HAVE_FPCLASS 1
60923 _ACEOF
60926 done
60928 else
60930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60931 $as_echo_n "checking for _fpclass declaration... " >&6; }
60932 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60933 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60934 $as_echo_n "(cached) " >&6
60935 else
60938 ac_ext=cpp
60939 ac_cpp='$CXXCPP $CPPFLAGS'
60940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60945 /* end confdefs.h. */
60946 #include <math.h>
60947 #ifdef HAVE_IEEEFP_H
60948 #include <ieeefp.h>
60949 #endif
60952 main ()
60954 _fpclass(0);
60956 return 0;
60958 _ACEOF
60959 if ac_fn_cxx_try_compile "$LINENO"; then :
60960 glibcxx_cv_func__fpclass_use=yes
60961 else
60962 glibcxx_cv_func__fpclass_use=no
60964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60965 ac_ext=c
60966 ac_cpp='$CPP $CPPFLAGS'
60967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60976 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60978 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60979 for ac_func in _fpclass
60980 do :
60981 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60982 if test "x$ac_cv_func__fpclass" = x""yes; then :
60983 cat >>confdefs.h <<_ACEOF
60984 #define HAVE__FPCLASS 1
60985 _ACEOF
60988 done
60997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60998 $as_echo_n "checking for qfpclass declaration... " >&6; }
60999 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61000 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61001 $as_echo_n "(cached) " >&6
61002 else
61005 ac_ext=cpp
61006 ac_cpp='$CXXCPP $CPPFLAGS'
61007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61012 /* end confdefs.h. */
61013 #include <math.h>
61014 #ifdef HAVE_IEEEFP_H
61015 #include <ieeefp.h>
61016 #endif
61019 main ()
61021 qfpclass(0);
61023 return 0;
61025 _ACEOF
61026 if ac_fn_cxx_try_compile "$LINENO"; then :
61027 glibcxx_cv_func_qfpclass_use=yes
61028 else
61029 glibcxx_cv_func_qfpclass_use=no
61031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61032 ac_ext=c
61033 ac_cpp='$CPP $CPPFLAGS'
61034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61043 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61045 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61046 for ac_func in qfpclass
61047 do :
61048 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61049 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61050 cat >>confdefs.h <<_ACEOF
61051 #define HAVE_QFPCLASS 1
61052 _ACEOF
61055 done
61057 else
61059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61060 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61061 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61062 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61063 $as_echo_n "(cached) " >&6
61064 else
61067 ac_ext=cpp
61068 ac_cpp='$CXXCPP $CPPFLAGS'
61069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61074 /* end confdefs.h. */
61075 #include <math.h>
61076 #ifdef HAVE_IEEEFP_H
61077 #include <ieeefp.h>
61078 #endif
61081 main ()
61083 _qfpclass(0);
61085 return 0;
61087 _ACEOF
61088 if ac_fn_cxx_try_compile "$LINENO"; then :
61089 glibcxx_cv_func__qfpclass_use=yes
61090 else
61091 glibcxx_cv_func__qfpclass_use=no
61093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61094 ac_ext=c
61095 ac_cpp='$CPP $CPPFLAGS'
61096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61105 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61107 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61108 for ac_func in _qfpclass
61109 do :
61110 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61111 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61112 cat >>confdefs.h <<_ACEOF
61113 #define HAVE__QFPCLASS 1
61114 _ACEOF
61117 done
61126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61127 $as_echo_n "checking for hypot declaration... " >&6; }
61128 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61129 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61130 $as_echo_n "(cached) " >&6
61131 else
61134 ac_ext=cpp
61135 ac_cpp='$CXXCPP $CPPFLAGS'
61136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61141 /* end confdefs.h. */
61142 #include <math.h>
61144 main ()
61146 hypot(0, 0);
61148 return 0;
61150 _ACEOF
61151 if ac_fn_cxx_try_compile "$LINENO"; then :
61152 glibcxx_cv_func_hypot_use=yes
61153 else
61154 glibcxx_cv_func_hypot_use=no
61156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61157 ac_ext=c
61158 ac_cpp='$CPP $CPPFLAGS'
61159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61168 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61170 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61171 for ac_func in hypot
61172 do :
61173 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61174 if test "x$ac_cv_func_hypot" = x""yes; then :
61175 cat >>confdefs.h <<_ACEOF
61176 #define HAVE_HYPOT 1
61177 _ACEOF
61180 done
61182 else
61184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61185 $as_echo_n "checking for _hypot declaration... " >&6; }
61186 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61187 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61188 $as_echo_n "(cached) " >&6
61189 else
61192 ac_ext=cpp
61193 ac_cpp='$CXXCPP $CPPFLAGS'
61194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61199 /* end confdefs.h. */
61200 #include <math.h>
61202 main ()
61204 _hypot(0, 0);
61206 return 0;
61208 _ACEOF
61209 if ac_fn_cxx_try_compile "$LINENO"; then :
61210 glibcxx_cv_func__hypot_use=yes
61211 else
61212 glibcxx_cv_func__hypot_use=no
61214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61215 ac_ext=c
61216 ac_cpp='$CPP $CPPFLAGS'
61217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61226 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61228 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61229 for ac_func in _hypot
61230 do :
61231 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61232 if test "x$ac_cv_func__hypot" = x""yes; then :
61233 cat >>confdefs.h <<_ACEOF
61234 #define HAVE__HYPOT 1
61235 _ACEOF
61238 done
61247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61248 $as_echo_n "checking for float trig functions... " >&6; }
61249 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61250 $as_echo_n "(cached) " >&6
61251 else
61254 ac_ext=cpp
61255 ac_cpp='$CXXCPP $CPPFLAGS'
61256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61261 /* end confdefs.h. */
61262 #include <math.h>
61264 main ()
61266 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61268 return 0;
61270 _ACEOF
61271 if ac_fn_cxx_try_compile "$LINENO"; then :
61272 glibcxx_cv_func_float_trig_use=yes
61273 else
61274 glibcxx_cv_func_float_trig_use=no
61276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61277 ac_ext=c
61278 ac_cpp='$CPP $CPPFLAGS'
61279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61286 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61287 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61288 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61289 do :
61290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61292 eval as_val=\$$as_ac_var
61293 if test "x$as_val" = x""yes; then :
61294 cat >>confdefs.h <<_ACEOF
61295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61296 _ACEOF
61299 done
61301 else
61302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61303 $as_echo_n "checking for _float trig functions... " >&6; }
61304 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61305 $as_echo_n "(cached) " >&6
61306 else
61309 ac_ext=cpp
61310 ac_cpp='$CXXCPP $CPPFLAGS'
61311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61316 /* end confdefs.h. */
61317 #include <math.h>
61319 main ()
61321 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61323 return 0;
61325 _ACEOF
61326 if ac_fn_cxx_try_compile "$LINENO"; then :
61327 glibcxx_cv_func__float_trig_use=yes
61328 else
61329 glibcxx_cv_func__float_trig_use=no
61331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61332 ac_ext=c
61333 ac_cpp='$CPP $CPPFLAGS'
61334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61341 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61342 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61343 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61344 do :
61345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61347 eval as_val=\$$as_ac_var
61348 if test "x$as_val" = x""yes; then :
61349 cat >>confdefs.h <<_ACEOF
61350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61351 _ACEOF
61354 done
61363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61364 $as_echo_n "checking for float round functions... " >&6; }
61365 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61366 $as_echo_n "(cached) " >&6
61367 else
61370 ac_ext=cpp
61371 ac_cpp='$CXXCPP $CPPFLAGS'
61372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61377 /* end confdefs.h. */
61378 #include <math.h>
61380 main ()
61382 ceilf (0); floorf (0);
61384 return 0;
61386 _ACEOF
61387 if ac_fn_cxx_try_compile "$LINENO"; then :
61388 glibcxx_cv_func_float_round_use=yes
61389 else
61390 glibcxx_cv_func_float_round_use=no
61392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61393 ac_ext=c
61394 ac_cpp='$CPP $CPPFLAGS'
61395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61402 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61403 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61404 for ac_func in ceilf floorf
61405 do :
61406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61408 eval as_val=\$$as_ac_var
61409 if test "x$as_val" = x""yes; then :
61410 cat >>confdefs.h <<_ACEOF
61411 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61412 _ACEOF
61415 done
61417 else
61418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61419 $as_echo_n "checking for _float round functions... " >&6; }
61420 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61421 $as_echo_n "(cached) " >&6
61422 else
61425 ac_ext=cpp
61426 ac_cpp='$CXXCPP $CPPFLAGS'
61427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61432 /* end confdefs.h. */
61433 #include <math.h>
61435 main ()
61437 _ceilf (0); _floorf (0);
61439 return 0;
61441 _ACEOF
61442 if ac_fn_cxx_try_compile "$LINENO"; then :
61443 glibcxx_cv_func__float_round_use=yes
61444 else
61445 glibcxx_cv_func__float_round_use=no
61447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61448 ac_ext=c
61449 ac_cpp='$CPP $CPPFLAGS'
61450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61457 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61458 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61459 for ac_func in _ceilf _floorf
61460 do :
61461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61463 eval as_val=\$$as_ac_var
61464 if test "x$as_val" = x""yes; then :
61465 cat >>confdefs.h <<_ACEOF
61466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61467 _ACEOF
61470 done
61480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61481 $as_echo_n "checking for expf declaration... " >&6; }
61482 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61483 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61484 $as_echo_n "(cached) " >&6
61485 else
61488 ac_ext=cpp
61489 ac_cpp='$CXXCPP $CPPFLAGS'
61490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61495 /* end confdefs.h. */
61496 #include <math.h>
61497 #ifdef HAVE_IEEEFP_H
61498 #include <ieeefp.h>
61499 #endif
61502 main ()
61504 expf(0);
61506 return 0;
61508 _ACEOF
61509 if ac_fn_cxx_try_compile "$LINENO"; then :
61510 glibcxx_cv_func_expf_use=yes
61511 else
61512 glibcxx_cv_func_expf_use=no
61514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61515 ac_ext=c
61516 ac_cpp='$CPP $CPPFLAGS'
61517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61526 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61528 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61529 for ac_func in expf
61530 do :
61531 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61532 if test "x$ac_cv_func_expf" = x""yes; then :
61533 cat >>confdefs.h <<_ACEOF
61534 #define HAVE_EXPF 1
61535 _ACEOF
61538 done
61540 else
61542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61543 $as_echo_n "checking for _expf declaration... " >&6; }
61544 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61545 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61546 $as_echo_n "(cached) " >&6
61547 else
61550 ac_ext=cpp
61551 ac_cpp='$CXXCPP $CPPFLAGS'
61552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61557 /* end confdefs.h. */
61558 #include <math.h>
61559 #ifdef HAVE_IEEEFP_H
61560 #include <ieeefp.h>
61561 #endif
61564 main ()
61566 _expf(0);
61568 return 0;
61570 _ACEOF
61571 if ac_fn_cxx_try_compile "$LINENO"; then :
61572 glibcxx_cv_func__expf_use=yes
61573 else
61574 glibcxx_cv_func__expf_use=no
61576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61577 ac_ext=c
61578 ac_cpp='$CPP $CPPFLAGS'
61579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61588 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61590 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61591 for ac_func in _expf
61592 do :
61593 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61594 if test "x$ac_cv_func__expf" = x""yes; then :
61595 cat >>confdefs.h <<_ACEOF
61596 #define HAVE__EXPF 1
61597 _ACEOF
61600 done
61609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61610 $as_echo_n "checking for isnanf declaration... " >&6; }
61611 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61612 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61613 $as_echo_n "(cached) " >&6
61614 else
61617 ac_ext=cpp
61618 ac_cpp='$CXXCPP $CPPFLAGS'
61619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61624 /* end confdefs.h. */
61625 #include <math.h>
61626 #ifdef HAVE_IEEEFP_H
61627 #include <ieeefp.h>
61628 #endif
61631 main ()
61633 isnanf(0);
61635 return 0;
61637 _ACEOF
61638 if ac_fn_cxx_try_compile "$LINENO"; then :
61639 glibcxx_cv_func_isnanf_use=yes
61640 else
61641 glibcxx_cv_func_isnanf_use=no
61643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61644 ac_ext=c
61645 ac_cpp='$CPP $CPPFLAGS'
61646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61655 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61657 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61658 for ac_func in isnanf
61659 do :
61660 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61661 if test "x$ac_cv_func_isnanf" = x""yes; then :
61662 cat >>confdefs.h <<_ACEOF
61663 #define HAVE_ISNANF 1
61664 _ACEOF
61667 done
61669 else
61671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61672 $as_echo_n "checking for _isnanf declaration... " >&6; }
61673 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61674 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61675 $as_echo_n "(cached) " >&6
61676 else
61679 ac_ext=cpp
61680 ac_cpp='$CXXCPP $CPPFLAGS'
61681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61686 /* end confdefs.h. */
61687 #include <math.h>
61688 #ifdef HAVE_IEEEFP_H
61689 #include <ieeefp.h>
61690 #endif
61693 main ()
61695 _isnanf(0);
61697 return 0;
61699 _ACEOF
61700 if ac_fn_cxx_try_compile "$LINENO"; then :
61701 glibcxx_cv_func__isnanf_use=yes
61702 else
61703 glibcxx_cv_func__isnanf_use=no
61705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61706 ac_ext=c
61707 ac_cpp='$CPP $CPPFLAGS'
61708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61717 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61719 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61720 for ac_func in _isnanf
61721 do :
61722 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61723 if test "x$ac_cv_func__isnanf" = x""yes; then :
61724 cat >>confdefs.h <<_ACEOF
61725 #define HAVE__ISNANF 1
61726 _ACEOF
61729 done
61738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61739 $as_echo_n "checking for isinff declaration... " >&6; }
61740 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61741 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61742 $as_echo_n "(cached) " >&6
61743 else
61746 ac_ext=cpp
61747 ac_cpp='$CXXCPP $CPPFLAGS'
61748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61753 /* end confdefs.h. */
61754 #include <math.h>
61755 #ifdef HAVE_IEEEFP_H
61756 #include <ieeefp.h>
61757 #endif
61760 main ()
61762 isinff(0);
61764 return 0;
61766 _ACEOF
61767 if ac_fn_cxx_try_compile "$LINENO"; then :
61768 glibcxx_cv_func_isinff_use=yes
61769 else
61770 glibcxx_cv_func_isinff_use=no
61772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61773 ac_ext=c
61774 ac_cpp='$CPP $CPPFLAGS'
61775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61784 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61786 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61787 for ac_func in isinff
61788 do :
61789 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61790 if test "x$ac_cv_func_isinff" = x""yes; then :
61791 cat >>confdefs.h <<_ACEOF
61792 #define HAVE_ISINFF 1
61793 _ACEOF
61796 done
61798 else
61800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61801 $as_echo_n "checking for _isinff declaration... " >&6; }
61802 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61803 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61804 $as_echo_n "(cached) " >&6
61805 else
61808 ac_ext=cpp
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61815 /* end confdefs.h. */
61816 #include <math.h>
61817 #ifdef HAVE_IEEEFP_H
61818 #include <ieeefp.h>
61819 #endif
61822 main ()
61824 _isinff(0);
61826 return 0;
61828 _ACEOF
61829 if ac_fn_cxx_try_compile "$LINENO"; then :
61830 glibcxx_cv_func__isinff_use=yes
61831 else
61832 glibcxx_cv_func__isinff_use=no
61834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61835 ac_ext=c
61836 ac_cpp='$CPP $CPPFLAGS'
61837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61846 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61848 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61849 for ac_func in _isinff
61850 do :
61851 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61852 if test "x$ac_cv_func__isinff" = x""yes; then :
61853 cat >>confdefs.h <<_ACEOF
61854 #define HAVE__ISINFF 1
61855 _ACEOF
61858 done
61867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61868 $as_echo_n "checking for atan2f declaration... " >&6; }
61869 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61870 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61871 $as_echo_n "(cached) " >&6
61872 else
61875 ac_ext=cpp
61876 ac_cpp='$CXXCPP $CPPFLAGS'
61877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61882 /* end confdefs.h. */
61883 #include <math.h>
61885 main ()
61887 atan2f(0, 0);
61889 return 0;
61891 _ACEOF
61892 if ac_fn_cxx_try_compile "$LINENO"; then :
61893 glibcxx_cv_func_atan2f_use=yes
61894 else
61895 glibcxx_cv_func_atan2f_use=no
61897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61898 ac_ext=c
61899 ac_cpp='$CPP $CPPFLAGS'
61900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61909 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61911 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61912 for ac_func in atan2f
61913 do :
61914 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61915 if test "x$ac_cv_func_atan2f" = x""yes; then :
61916 cat >>confdefs.h <<_ACEOF
61917 #define HAVE_ATAN2F 1
61918 _ACEOF
61921 done
61923 else
61925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61926 $as_echo_n "checking for _atan2f declaration... " >&6; }
61927 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61928 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61929 $as_echo_n "(cached) " >&6
61930 else
61933 ac_ext=cpp
61934 ac_cpp='$CXXCPP $CPPFLAGS'
61935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61940 /* end confdefs.h. */
61941 #include <math.h>
61943 main ()
61945 _atan2f(0, 0);
61947 return 0;
61949 _ACEOF
61950 if ac_fn_cxx_try_compile "$LINENO"; then :
61951 glibcxx_cv_func__atan2f_use=yes
61952 else
61953 glibcxx_cv_func__atan2f_use=no
61955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61956 ac_ext=c
61957 ac_cpp='$CPP $CPPFLAGS'
61958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61967 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61969 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61970 for ac_func in _atan2f
61971 do :
61972 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61973 if test "x$ac_cv_func__atan2f" = x""yes; then :
61974 cat >>confdefs.h <<_ACEOF
61975 #define HAVE__ATAN2F 1
61976 _ACEOF
61979 done
61988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61989 $as_echo_n "checking for fabsf declaration... " >&6; }
61990 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61991 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61992 $as_echo_n "(cached) " >&6
61993 else
61996 ac_ext=cpp
61997 ac_cpp='$CXXCPP $CPPFLAGS'
61998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62003 /* end confdefs.h. */
62004 #include <math.h>
62005 #ifdef HAVE_IEEEFP_H
62006 #include <ieeefp.h>
62007 #endif
62010 main ()
62012 fabsf(0);
62014 return 0;
62016 _ACEOF
62017 if ac_fn_cxx_try_compile "$LINENO"; then :
62018 glibcxx_cv_func_fabsf_use=yes
62019 else
62020 glibcxx_cv_func_fabsf_use=no
62022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62023 ac_ext=c
62024 ac_cpp='$CPP $CPPFLAGS'
62025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62034 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62036 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62037 for ac_func in fabsf
62038 do :
62039 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62040 if test "x$ac_cv_func_fabsf" = x""yes; then :
62041 cat >>confdefs.h <<_ACEOF
62042 #define HAVE_FABSF 1
62043 _ACEOF
62046 done
62048 else
62050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62051 $as_echo_n "checking for _fabsf declaration... " >&6; }
62052 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62053 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62054 $as_echo_n "(cached) " >&6
62055 else
62058 ac_ext=cpp
62059 ac_cpp='$CXXCPP $CPPFLAGS'
62060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62065 /* end confdefs.h. */
62066 #include <math.h>
62067 #ifdef HAVE_IEEEFP_H
62068 #include <ieeefp.h>
62069 #endif
62072 main ()
62074 _fabsf(0);
62076 return 0;
62078 _ACEOF
62079 if ac_fn_cxx_try_compile "$LINENO"; then :
62080 glibcxx_cv_func__fabsf_use=yes
62081 else
62082 glibcxx_cv_func__fabsf_use=no
62084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62085 ac_ext=c
62086 ac_cpp='$CPP $CPPFLAGS'
62087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62096 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62098 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62099 for ac_func in _fabsf
62100 do :
62101 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62102 if test "x$ac_cv_func__fabsf" = x""yes; then :
62103 cat >>confdefs.h <<_ACEOF
62104 #define HAVE__FABSF 1
62105 _ACEOF
62108 done
62117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62118 $as_echo_n "checking for fmodf declaration... " >&6; }
62119 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62120 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62121 $as_echo_n "(cached) " >&6
62122 else
62125 ac_ext=cpp
62126 ac_cpp='$CXXCPP $CPPFLAGS'
62127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62132 /* end confdefs.h. */
62133 #include <math.h>
62135 main ()
62137 fmodf(0, 0);
62139 return 0;
62141 _ACEOF
62142 if ac_fn_cxx_try_compile "$LINENO"; then :
62143 glibcxx_cv_func_fmodf_use=yes
62144 else
62145 glibcxx_cv_func_fmodf_use=no
62147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62148 ac_ext=c
62149 ac_cpp='$CPP $CPPFLAGS'
62150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62159 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62161 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62162 for ac_func in fmodf
62163 do :
62164 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62165 if test "x$ac_cv_func_fmodf" = x""yes; then :
62166 cat >>confdefs.h <<_ACEOF
62167 #define HAVE_FMODF 1
62168 _ACEOF
62171 done
62173 else
62175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62176 $as_echo_n "checking for _fmodf declaration... " >&6; }
62177 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62178 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62179 $as_echo_n "(cached) " >&6
62180 else
62183 ac_ext=cpp
62184 ac_cpp='$CXXCPP $CPPFLAGS'
62185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62190 /* end confdefs.h. */
62191 #include <math.h>
62193 main ()
62195 _fmodf(0, 0);
62197 return 0;
62199 _ACEOF
62200 if ac_fn_cxx_try_compile "$LINENO"; then :
62201 glibcxx_cv_func__fmodf_use=yes
62202 else
62203 glibcxx_cv_func__fmodf_use=no
62205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62206 ac_ext=c
62207 ac_cpp='$CPP $CPPFLAGS'
62208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62217 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62219 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62220 for ac_func in _fmodf
62221 do :
62222 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62223 if test "x$ac_cv_func__fmodf" = x""yes; then :
62224 cat >>confdefs.h <<_ACEOF
62225 #define HAVE__FMODF 1
62226 _ACEOF
62229 done
62238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62239 $as_echo_n "checking for frexpf declaration... " >&6; }
62240 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62241 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62242 $as_echo_n "(cached) " >&6
62243 else
62246 ac_ext=cpp
62247 ac_cpp='$CXXCPP $CPPFLAGS'
62248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62253 /* end confdefs.h. */
62254 #include <math.h>
62256 main ()
62258 frexpf(0, 0);
62260 return 0;
62262 _ACEOF
62263 if ac_fn_cxx_try_compile "$LINENO"; then :
62264 glibcxx_cv_func_frexpf_use=yes
62265 else
62266 glibcxx_cv_func_frexpf_use=no
62268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62269 ac_ext=c
62270 ac_cpp='$CPP $CPPFLAGS'
62271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62280 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62282 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62283 for ac_func in frexpf
62284 do :
62285 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62286 if test "x$ac_cv_func_frexpf" = x""yes; then :
62287 cat >>confdefs.h <<_ACEOF
62288 #define HAVE_FREXPF 1
62289 _ACEOF
62292 done
62294 else
62296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62297 $as_echo_n "checking for _frexpf declaration... " >&6; }
62298 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62299 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62300 $as_echo_n "(cached) " >&6
62301 else
62304 ac_ext=cpp
62305 ac_cpp='$CXXCPP $CPPFLAGS'
62306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62311 /* end confdefs.h. */
62312 #include <math.h>
62314 main ()
62316 _frexpf(0, 0);
62318 return 0;
62320 _ACEOF
62321 if ac_fn_cxx_try_compile "$LINENO"; then :
62322 glibcxx_cv_func__frexpf_use=yes
62323 else
62324 glibcxx_cv_func__frexpf_use=no
62326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62327 ac_ext=c
62328 ac_cpp='$CPP $CPPFLAGS'
62329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62338 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62340 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62341 for ac_func in _frexpf
62342 do :
62343 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62344 if test "x$ac_cv_func__frexpf" = x""yes; then :
62345 cat >>confdefs.h <<_ACEOF
62346 #define HAVE__FREXPF 1
62347 _ACEOF
62350 done
62359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62360 $as_echo_n "checking for hypotf declaration... " >&6; }
62361 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62362 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62363 $as_echo_n "(cached) " >&6
62364 else
62367 ac_ext=cpp
62368 ac_cpp='$CXXCPP $CPPFLAGS'
62369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62374 /* end confdefs.h. */
62375 #include <math.h>
62377 main ()
62379 hypotf(0, 0);
62381 return 0;
62383 _ACEOF
62384 if ac_fn_cxx_try_compile "$LINENO"; then :
62385 glibcxx_cv_func_hypotf_use=yes
62386 else
62387 glibcxx_cv_func_hypotf_use=no
62389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62390 ac_ext=c
62391 ac_cpp='$CPP $CPPFLAGS'
62392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62401 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62403 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62404 for ac_func in hypotf
62405 do :
62406 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62407 if test "x$ac_cv_func_hypotf" = x""yes; then :
62408 cat >>confdefs.h <<_ACEOF
62409 #define HAVE_HYPOTF 1
62410 _ACEOF
62413 done
62415 else
62417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62418 $as_echo_n "checking for _hypotf declaration... " >&6; }
62419 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62420 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62421 $as_echo_n "(cached) " >&6
62422 else
62425 ac_ext=cpp
62426 ac_cpp='$CXXCPP $CPPFLAGS'
62427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62432 /* end confdefs.h. */
62433 #include <math.h>
62435 main ()
62437 _hypotf(0, 0);
62439 return 0;
62441 _ACEOF
62442 if ac_fn_cxx_try_compile "$LINENO"; then :
62443 glibcxx_cv_func__hypotf_use=yes
62444 else
62445 glibcxx_cv_func__hypotf_use=no
62447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62448 ac_ext=c
62449 ac_cpp='$CPP $CPPFLAGS'
62450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62459 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62461 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62462 for ac_func in _hypotf
62463 do :
62464 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62465 if test "x$ac_cv_func__hypotf" = x""yes; then :
62466 cat >>confdefs.h <<_ACEOF
62467 #define HAVE__HYPOTF 1
62468 _ACEOF
62471 done
62480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62481 $as_echo_n "checking for ldexpf declaration... " >&6; }
62482 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62483 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62484 $as_echo_n "(cached) " >&6
62485 else
62488 ac_ext=cpp
62489 ac_cpp='$CXXCPP $CPPFLAGS'
62490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62495 /* end confdefs.h. */
62496 #include <math.h>
62498 main ()
62500 ldexpf(0, 0);
62502 return 0;
62504 _ACEOF
62505 if ac_fn_cxx_try_compile "$LINENO"; then :
62506 glibcxx_cv_func_ldexpf_use=yes
62507 else
62508 glibcxx_cv_func_ldexpf_use=no
62510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62511 ac_ext=c
62512 ac_cpp='$CPP $CPPFLAGS'
62513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62522 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62524 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62525 for ac_func in ldexpf
62526 do :
62527 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62528 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62529 cat >>confdefs.h <<_ACEOF
62530 #define HAVE_LDEXPF 1
62531 _ACEOF
62534 done
62536 else
62538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62539 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62540 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62541 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62542 $as_echo_n "(cached) " >&6
62543 else
62546 ac_ext=cpp
62547 ac_cpp='$CXXCPP $CPPFLAGS'
62548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62553 /* end confdefs.h. */
62554 #include <math.h>
62556 main ()
62558 _ldexpf(0, 0);
62560 return 0;
62562 _ACEOF
62563 if ac_fn_cxx_try_compile "$LINENO"; then :
62564 glibcxx_cv_func__ldexpf_use=yes
62565 else
62566 glibcxx_cv_func__ldexpf_use=no
62568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62569 ac_ext=c
62570 ac_cpp='$CPP $CPPFLAGS'
62571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62580 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62582 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62583 for ac_func in _ldexpf
62584 do :
62585 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62586 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62587 cat >>confdefs.h <<_ACEOF
62588 #define HAVE__LDEXPF 1
62589 _ACEOF
62592 done
62601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62602 $as_echo_n "checking for logf declaration... " >&6; }
62603 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62604 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62605 $as_echo_n "(cached) " >&6
62606 else
62609 ac_ext=cpp
62610 ac_cpp='$CXXCPP $CPPFLAGS'
62611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62616 /* end confdefs.h. */
62617 #include <math.h>
62618 #ifdef HAVE_IEEEFP_H
62619 #include <ieeefp.h>
62620 #endif
62623 main ()
62625 logf(0);
62627 return 0;
62629 _ACEOF
62630 if ac_fn_cxx_try_compile "$LINENO"; then :
62631 glibcxx_cv_func_logf_use=yes
62632 else
62633 glibcxx_cv_func_logf_use=no
62635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62636 ac_ext=c
62637 ac_cpp='$CPP $CPPFLAGS'
62638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62647 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62649 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62650 for ac_func in logf
62651 do :
62652 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62653 if test "x$ac_cv_func_logf" = x""yes; then :
62654 cat >>confdefs.h <<_ACEOF
62655 #define HAVE_LOGF 1
62656 _ACEOF
62659 done
62661 else
62663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62664 $as_echo_n "checking for _logf declaration... " >&6; }
62665 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62666 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62667 $as_echo_n "(cached) " >&6
62668 else
62671 ac_ext=cpp
62672 ac_cpp='$CXXCPP $CPPFLAGS'
62673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62678 /* end confdefs.h. */
62679 #include <math.h>
62680 #ifdef HAVE_IEEEFP_H
62681 #include <ieeefp.h>
62682 #endif
62685 main ()
62687 _logf(0);
62689 return 0;
62691 _ACEOF
62692 if ac_fn_cxx_try_compile "$LINENO"; then :
62693 glibcxx_cv_func__logf_use=yes
62694 else
62695 glibcxx_cv_func__logf_use=no
62697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62698 ac_ext=c
62699 ac_cpp='$CPP $CPPFLAGS'
62700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62709 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62711 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62712 for ac_func in _logf
62713 do :
62714 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62715 if test "x$ac_cv_func__logf" = x""yes; then :
62716 cat >>confdefs.h <<_ACEOF
62717 #define HAVE__LOGF 1
62718 _ACEOF
62721 done
62730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62731 $as_echo_n "checking for log10f declaration... " >&6; }
62732 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62733 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62734 $as_echo_n "(cached) " >&6
62735 else
62738 ac_ext=cpp
62739 ac_cpp='$CXXCPP $CPPFLAGS'
62740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62745 /* end confdefs.h. */
62746 #include <math.h>
62747 #ifdef HAVE_IEEEFP_H
62748 #include <ieeefp.h>
62749 #endif
62752 main ()
62754 log10f(0);
62756 return 0;
62758 _ACEOF
62759 if ac_fn_cxx_try_compile "$LINENO"; then :
62760 glibcxx_cv_func_log10f_use=yes
62761 else
62762 glibcxx_cv_func_log10f_use=no
62764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62765 ac_ext=c
62766 ac_cpp='$CPP $CPPFLAGS'
62767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62776 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62778 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62779 for ac_func in log10f
62780 do :
62781 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62782 if test "x$ac_cv_func_log10f" = x""yes; then :
62783 cat >>confdefs.h <<_ACEOF
62784 #define HAVE_LOG10F 1
62785 _ACEOF
62788 done
62790 else
62792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62793 $as_echo_n "checking for _log10f declaration... " >&6; }
62794 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62795 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62796 $as_echo_n "(cached) " >&6
62797 else
62800 ac_ext=cpp
62801 ac_cpp='$CXXCPP $CPPFLAGS'
62802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62807 /* end confdefs.h. */
62808 #include <math.h>
62809 #ifdef HAVE_IEEEFP_H
62810 #include <ieeefp.h>
62811 #endif
62814 main ()
62816 _log10f(0);
62818 return 0;
62820 _ACEOF
62821 if ac_fn_cxx_try_compile "$LINENO"; then :
62822 glibcxx_cv_func__log10f_use=yes
62823 else
62824 glibcxx_cv_func__log10f_use=no
62826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62827 ac_ext=c
62828 ac_cpp='$CPP $CPPFLAGS'
62829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62838 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62840 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62841 for ac_func in _log10f
62842 do :
62843 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62844 if test "x$ac_cv_func__log10f" = x""yes; then :
62845 cat >>confdefs.h <<_ACEOF
62846 #define HAVE__LOG10F 1
62847 _ACEOF
62850 done
62859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62860 $as_echo_n "checking for modff declaration... " >&6; }
62861 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62862 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62863 $as_echo_n "(cached) " >&6
62864 else
62867 ac_ext=cpp
62868 ac_cpp='$CXXCPP $CPPFLAGS'
62869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62874 /* end confdefs.h. */
62875 #include <math.h>
62877 main ()
62879 modff(0, 0);
62881 return 0;
62883 _ACEOF
62884 if ac_fn_cxx_try_compile "$LINENO"; then :
62885 glibcxx_cv_func_modff_use=yes
62886 else
62887 glibcxx_cv_func_modff_use=no
62889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62890 ac_ext=c
62891 ac_cpp='$CPP $CPPFLAGS'
62892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62901 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62903 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62904 for ac_func in modff
62905 do :
62906 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62907 if test "x$ac_cv_func_modff" = x""yes; then :
62908 cat >>confdefs.h <<_ACEOF
62909 #define HAVE_MODFF 1
62910 _ACEOF
62913 done
62915 else
62917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62918 $as_echo_n "checking for _modff declaration... " >&6; }
62919 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62920 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62921 $as_echo_n "(cached) " >&6
62922 else
62925 ac_ext=cpp
62926 ac_cpp='$CXXCPP $CPPFLAGS'
62927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62932 /* end confdefs.h. */
62933 #include <math.h>
62935 main ()
62937 _modff(0, 0);
62939 return 0;
62941 _ACEOF
62942 if ac_fn_cxx_try_compile "$LINENO"; then :
62943 glibcxx_cv_func__modff_use=yes
62944 else
62945 glibcxx_cv_func__modff_use=no
62947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62948 ac_ext=c
62949 ac_cpp='$CPP $CPPFLAGS'
62950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62959 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62961 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62962 for ac_func in _modff
62963 do :
62964 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62965 if test "x$ac_cv_func__modff" = x""yes; then :
62966 cat >>confdefs.h <<_ACEOF
62967 #define HAVE__MODFF 1
62968 _ACEOF
62971 done
62980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62981 $as_echo_n "checking for modf declaration... " >&6; }
62982 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62983 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62984 $as_echo_n "(cached) " >&6
62985 else
62988 ac_ext=cpp
62989 ac_cpp='$CXXCPP $CPPFLAGS'
62990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62995 /* end confdefs.h. */
62996 #include <math.h>
62998 main ()
63000 modf(0, 0);
63002 return 0;
63004 _ACEOF
63005 if ac_fn_cxx_try_compile "$LINENO"; then :
63006 glibcxx_cv_func_modf_use=yes
63007 else
63008 glibcxx_cv_func_modf_use=no
63010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63011 ac_ext=c
63012 ac_cpp='$CPP $CPPFLAGS'
63013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63022 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63024 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63025 for ac_func in modf
63026 do :
63027 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63028 if test "x$ac_cv_func_modf" = x""yes; then :
63029 cat >>confdefs.h <<_ACEOF
63030 #define HAVE_MODF 1
63031 _ACEOF
63034 done
63036 else
63038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63039 $as_echo_n "checking for _modf declaration... " >&6; }
63040 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63041 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63042 $as_echo_n "(cached) " >&6
63043 else
63046 ac_ext=cpp
63047 ac_cpp='$CXXCPP $CPPFLAGS'
63048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63053 /* end confdefs.h. */
63054 #include <math.h>
63056 main ()
63058 _modf(0, 0);
63060 return 0;
63062 _ACEOF
63063 if ac_fn_cxx_try_compile "$LINENO"; then :
63064 glibcxx_cv_func__modf_use=yes
63065 else
63066 glibcxx_cv_func__modf_use=no
63068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63069 ac_ext=c
63070 ac_cpp='$CPP $CPPFLAGS'
63071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63080 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63082 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63083 for ac_func in _modf
63084 do :
63085 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63086 if test "x$ac_cv_func__modf" = x""yes; then :
63087 cat >>confdefs.h <<_ACEOF
63088 #define HAVE__MODF 1
63089 _ACEOF
63092 done
63101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63102 $as_echo_n "checking for powf declaration... " >&6; }
63103 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63104 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63105 $as_echo_n "(cached) " >&6
63106 else
63109 ac_ext=cpp
63110 ac_cpp='$CXXCPP $CPPFLAGS'
63111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63116 /* end confdefs.h. */
63117 #include <math.h>
63119 main ()
63121 powf(0, 0);
63123 return 0;
63125 _ACEOF
63126 if ac_fn_cxx_try_compile "$LINENO"; then :
63127 glibcxx_cv_func_powf_use=yes
63128 else
63129 glibcxx_cv_func_powf_use=no
63131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63132 ac_ext=c
63133 ac_cpp='$CPP $CPPFLAGS'
63134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63143 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63145 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63146 for ac_func in powf
63147 do :
63148 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63149 if test "x$ac_cv_func_powf" = x""yes; then :
63150 cat >>confdefs.h <<_ACEOF
63151 #define HAVE_POWF 1
63152 _ACEOF
63155 done
63157 else
63159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63160 $as_echo_n "checking for _powf declaration... " >&6; }
63161 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63162 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63163 $as_echo_n "(cached) " >&6
63164 else
63167 ac_ext=cpp
63168 ac_cpp='$CXXCPP $CPPFLAGS'
63169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63174 /* end confdefs.h. */
63175 #include <math.h>
63177 main ()
63179 _powf(0, 0);
63181 return 0;
63183 _ACEOF
63184 if ac_fn_cxx_try_compile "$LINENO"; then :
63185 glibcxx_cv_func__powf_use=yes
63186 else
63187 glibcxx_cv_func__powf_use=no
63189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63190 ac_ext=c
63191 ac_cpp='$CPP $CPPFLAGS'
63192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63201 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63203 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63204 for ac_func in _powf
63205 do :
63206 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63207 if test "x$ac_cv_func__powf" = x""yes; then :
63208 cat >>confdefs.h <<_ACEOF
63209 #define HAVE__POWF 1
63210 _ACEOF
63213 done
63222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63223 $as_echo_n "checking for sqrtf declaration... " >&6; }
63224 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63225 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63226 $as_echo_n "(cached) " >&6
63227 else
63230 ac_ext=cpp
63231 ac_cpp='$CXXCPP $CPPFLAGS'
63232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63237 /* end confdefs.h. */
63238 #include <math.h>
63239 #ifdef HAVE_IEEEFP_H
63240 #include <ieeefp.h>
63241 #endif
63244 main ()
63246 sqrtf(0);
63248 return 0;
63250 _ACEOF
63251 if ac_fn_cxx_try_compile "$LINENO"; then :
63252 glibcxx_cv_func_sqrtf_use=yes
63253 else
63254 glibcxx_cv_func_sqrtf_use=no
63256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63257 ac_ext=c
63258 ac_cpp='$CPP $CPPFLAGS'
63259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63268 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63270 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63271 for ac_func in sqrtf
63272 do :
63273 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63274 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63275 cat >>confdefs.h <<_ACEOF
63276 #define HAVE_SQRTF 1
63277 _ACEOF
63280 done
63282 else
63284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63285 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63286 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63287 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63288 $as_echo_n "(cached) " >&6
63289 else
63292 ac_ext=cpp
63293 ac_cpp='$CXXCPP $CPPFLAGS'
63294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63299 /* end confdefs.h. */
63300 #include <math.h>
63301 #ifdef HAVE_IEEEFP_H
63302 #include <ieeefp.h>
63303 #endif
63306 main ()
63308 _sqrtf(0);
63310 return 0;
63312 _ACEOF
63313 if ac_fn_cxx_try_compile "$LINENO"; then :
63314 glibcxx_cv_func__sqrtf_use=yes
63315 else
63316 glibcxx_cv_func__sqrtf_use=no
63318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63319 ac_ext=c
63320 ac_cpp='$CPP $CPPFLAGS'
63321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63330 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63332 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63333 for ac_func in _sqrtf
63334 do :
63335 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63336 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63337 cat >>confdefs.h <<_ACEOF
63338 #define HAVE__SQRTF 1
63339 _ACEOF
63342 done
63351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63352 $as_echo_n "checking for sincosf declaration... " >&6; }
63353 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63354 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63355 $as_echo_n "(cached) " >&6
63356 else
63359 ac_ext=cpp
63360 ac_cpp='$CXXCPP $CPPFLAGS'
63361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63366 /* end confdefs.h. */
63367 #include <math.h>
63369 main ()
63371 sincosf(0, 0, 0);
63373 return 0;
63375 _ACEOF
63376 if ac_fn_cxx_try_compile "$LINENO"; then :
63377 glibcxx_cv_func_sincosf_use=yes
63378 else
63379 glibcxx_cv_func_sincosf_use=no
63381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63382 ac_ext=c
63383 ac_cpp='$CPP $CPPFLAGS'
63384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63393 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63395 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63396 for ac_func in sincosf
63397 do :
63398 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63399 if test "x$ac_cv_func_sincosf" = x""yes; then :
63400 cat >>confdefs.h <<_ACEOF
63401 #define HAVE_SINCOSF 1
63402 _ACEOF
63405 done
63407 else
63409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63410 $as_echo_n "checking for _sincosf declaration... " >&6; }
63411 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63412 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63413 $as_echo_n "(cached) " >&6
63414 else
63417 ac_ext=cpp
63418 ac_cpp='$CXXCPP $CPPFLAGS'
63419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63424 /* end confdefs.h. */
63425 #include <math.h>
63427 main ()
63429 _sincosf(0, 0, 0);
63431 return 0;
63433 _ACEOF
63434 if ac_fn_cxx_try_compile "$LINENO"; then :
63435 glibcxx_cv_func__sincosf_use=yes
63436 else
63437 glibcxx_cv_func__sincosf_use=no
63439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63440 ac_ext=c
63441 ac_cpp='$CPP $CPPFLAGS'
63442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63451 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63453 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63454 for ac_func in _sincosf
63455 do :
63456 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63457 if test "x$ac_cv_func__sincosf" = x""yes; then :
63458 cat >>confdefs.h <<_ACEOF
63459 #define HAVE__SINCOSF 1
63460 _ACEOF
63463 done
63472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63473 $as_echo_n "checking for finitef declaration... " >&6; }
63474 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63475 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63476 $as_echo_n "(cached) " >&6
63477 else
63480 ac_ext=cpp
63481 ac_cpp='$CXXCPP $CPPFLAGS'
63482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63487 /* end confdefs.h. */
63488 #include <math.h>
63489 #ifdef HAVE_IEEEFP_H
63490 #include <ieeefp.h>
63491 #endif
63494 main ()
63496 finitef(0);
63498 return 0;
63500 _ACEOF
63501 if ac_fn_cxx_try_compile "$LINENO"; then :
63502 glibcxx_cv_func_finitef_use=yes
63503 else
63504 glibcxx_cv_func_finitef_use=no
63506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63507 ac_ext=c
63508 ac_cpp='$CPP $CPPFLAGS'
63509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63518 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63520 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63521 for ac_func in finitef
63522 do :
63523 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63524 if test "x$ac_cv_func_finitef" = x""yes; then :
63525 cat >>confdefs.h <<_ACEOF
63526 #define HAVE_FINITEF 1
63527 _ACEOF
63530 done
63532 else
63534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63535 $as_echo_n "checking for _finitef declaration... " >&6; }
63536 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63537 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63538 $as_echo_n "(cached) " >&6
63539 else
63542 ac_ext=cpp
63543 ac_cpp='$CXXCPP $CPPFLAGS'
63544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63549 /* end confdefs.h. */
63550 #include <math.h>
63551 #ifdef HAVE_IEEEFP_H
63552 #include <ieeefp.h>
63553 #endif
63556 main ()
63558 _finitef(0);
63560 return 0;
63562 _ACEOF
63563 if ac_fn_cxx_try_compile "$LINENO"; then :
63564 glibcxx_cv_func__finitef_use=yes
63565 else
63566 glibcxx_cv_func__finitef_use=no
63568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63569 ac_ext=c
63570 ac_cpp='$CPP $CPPFLAGS'
63571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63580 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63582 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63583 for ac_func in _finitef
63584 do :
63585 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63586 if test "x$ac_cv_func__finitef" = x""yes; then :
63587 cat >>confdefs.h <<_ACEOF
63588 #define HAVE__FINITEF 1
63589 _ACEOF
63592 done
63601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63602 $as_echo_n "checking for long double trig functions... " >&6; }
63603 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63604 $as_echo_n "(cached) " >&6
63605 else
63608 ac_ext=cpp
63609 ac_cpp='$CXXCPP $CPPFLAGS'
63610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63615 /* end confdefs.h. */
63616 #include <math.h>
63618 main ()
63620 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63622 return 0;
63624 _ACEOF
63625 if ac_fn_cxx_try_compile "$LINENO"; then :
63626 glibcxx_cv_func_long_double_trig_use=yes
63627 else
63628 glibcxx_cv_func_long_double_trig_use=no
63630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63631 ac_ext=c
63632 ac_cpp='$CPP $CPPFLAGS'
63633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63640 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63641 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63642 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63643 do :
63644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63646 eval as_val=\$$as_ac_var
63647 if test "x$as_val" = x""yes; then :
63648 cat >>confdefs.h <<_ACEOF
63649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63650 _ACEOF
63653 done
63655 else
63656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63657 $as_echo_n "checking for _long double trig functions... " >&6; }
63658 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63659 $as_echo_n "(cached) " >&6
63660 else
63663 ac_ext=cpp
63664 ac_cpp='$CXXCPP $CPPFLAGS'
63665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63670 /* end confdefs.h. */
63671 #include <math.h>
63673 main ()
63675 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63677 return 0;
63679 _ACEOF
63680 if ac_fn_cxx_try_compile "$LINENO"; then :
63681 glibcxx_cv_func__long_double_trig_use=yes
63682 else
63683 glibcxx_cv_func__long_double_trig_use=no
63685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63686 ac_ext=c
63687 ac_cpp='$CPP $CPPFLAGS'
63688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63695 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63696 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63697 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63698 do :
63699 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63701 eval as_val=\$$as_ac_var
63702 if test "x$as_val" = x""yes; then :
63703 cat >>confdefs.h <<_ACEOF
63704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63705 _ACEOF
63708 done
63717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63718 $as_echo_n "checking for long double round functions... " >&6; }
63719 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63720 $as_echo_n "(cached) " >&6
63721 else
63724 ac_ext=cpp
63725 ac_cpp='$CXXCPP $CPPFLAGS'
63726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63731 /* end confdefs.h. */
63732 #include <math.h>
63734 main ()
63736 ceill (0); floorl (0);
63738 return 0;
63740 _ACEOF
63741 if ac_fn_cxx_try_compile "$LINENO"; then :
63742 glibcxx_cv_func_long_double_round_use=yes
63743 else
63744 glibcxx_cv_func_long_double_round_use=no
63746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63747 ac_ext=c
63748 ac_cpp='$CPP $CPPFLAGS'
63749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63756 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63757 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63758 for ac_func in ceill floorl
63759 do :
63760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63762 eval as_val=\$$as_ac_var
63763 if test "x$as_val" = x""yes; then :
63764 cat >>confdefs.h <<_ACEOF
63765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63766 _ACEOF
63769 done
63771 else
63772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63773 $as_echo_n "checking for _long double round functions... " >&6; }
63774 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63775 $as_echo_n "(cached) " >&6
63776 else
63779 ac_ext=cpp
63780 ac_cpp='$CXXCPP $CPPFLAGS'
63781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63786 /* end confdefs.h. */
63787 #include <math.h>
63789 main ()
63791 _ceill (0); _floorl (0);
63793 return 0;
63795 _ACEOF
63796 if ac_fn_cxx_try_compile "$LINENO"; then :
63797 glibcxx_cv_func__long_double_round_use=yes
63798 else
63799 glibcxx_cv_func__long_double_round_use=no
63801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63802 ac_ext=c
63803 ac_cpp='$CPP $CPPFLAGS'
63804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63811 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63812 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63813 for ac_func in _ceill _floorl
63814 do :
63815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63817 eval as_val=\$$as_ac_var
63818 if test "x$as_val" = x""yes; then :
63819 cat >>confdefs.h <<_ACEOF
63820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63821 _ACEOF
63824 done
63834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63835 $as_echo_n "checking for isnanl declaration... " >&6; }
63836 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63837 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63838 $as_echo_n "(cached) " >&6
63839 else
63842 ac_ext=cpp
63843 ac_cpp='$CXXCPP $CPPFLAGS'
63844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63849 /* end confdefs.h. */
63850 #include <math.h>
63851 #ifdef HAVE_IEEEFP_H
63852 #include <ieeefp.h>
63853 #endif
63856 main ()
63858 isnanl(0);
63860 return 0;
63862 _ACEOF
63863 if ac_fn_cxx_try_compile "$LINENO"; then :
63864 glibcxx_cv_func_isnanl_use=yes
63865 else
63866 glibcxx_cv_func_isnanl_use=no
63868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63869 ac_ext=c
63870 ac_cpp='$CPP $CPPFLAGS'
63871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63880 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63882 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63883 for ac_func in isnanl
63884 do :
63885 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63886 if test "x$ac_cv_func_isnanl" = x""yes; then :
63887 cat >>confdefs.h <<_ACEOF
63888 #define HAVE_ISNANL 1
63889 _ACEOF
63892 done
63894 else
63896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63897 $as_echo_n "checking for _isnanl declaration... " >&6; }
63898 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63899 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63900 $as_echo_n "(cached) " >&6
63901 else
63904 ac_ext=cpp
63905 ac_cpp='$CXXCPP $CPPFLAGS'
63906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63911 /* end confdefs.h. */
63912 #include <math.h>
63913 #ifdef HAVE_IEEEFP_H
63914 #include <ieeefp.h>
63915 #endif
63918 main ()
63920 _isnanl(0);
63922 return 0;
63924 _ACEOF
63925 if ac_fn_cxx_try_compile "$LINENO"; then :
63926 glibcxx_cv_func__isnanl_use=yes
63927 else
63928 glibcxx_cv_func__isnanl_use=no
63930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63931 ac_ext=c
63932 ac_cpp='$CPP $CPPFLAGS'
63933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63942 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63944 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63945 for ac_func in _isnanl
63946 do :
63947 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63948 if test "x$ac_cv_func__isnanl" = x""yes; then :
63949 cat >>confdefs.h <<_ACEOF
63950 #define HAVE__ISNANL 1
63951 _ACEOF
63954 done
63963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63964 $as_echo_n "checking for isinfl declaration... " >&6; }
63965 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63966 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63967 $as_echo_n "(cached) " >&6
63968 else
63971 ac_ext=cpp
63972 ac_cpp='$CXXCPP $CPPFLAGS'
63973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63978 /* end confdefs.h. */
63979 #include <math.h>
63980 #ifdef HAVE_IEEEFP_H
63981 #include <ieeefp.h>
63982 #endif
63985 main ()
63987 isinfl(0);
63989 return 0;
63991 _ACEOF
63992 if ac_fn_cxx_try_compile "$LINENO"; then :
63993 glibcxx_cv_func_isinfl_use=yes
63994 else
63995 glibcxx_cv_func_isinfl_use=no
63997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63998 ac_ext=c
63999 ac_cpp='$CPP $CPPFLAGS'
64000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64009 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64011 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64012 for ac_func in isinfl
64013 do :
64014 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64015 if test "x$ac_cv_func_isinfl" = x""yes; then :
64016 cat >>confdefs.h <<_ACEOF
64017 #define HAVE_ISINFL 1
64018 _ACEOF
64021 done
64023 else
64025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64026 $as_echo_n "checking for _isinfl declaration... " >&6; }
64027 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64028 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64029 $as_echo_n "(cached) " >&6
64030 else
64033 ac_ext=cpp
64034 ac_cpp='$CXXCPP $CPPFLAGS'
64035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64040 /* end confdefs.h. */
64041 #include <math.h>
64042 #ifdef HAVE_IEEEFP_H
64043 #include <ieeefp.h>
64044 #endif
64047 main ()
64049 _isinfl(0);
64051 return 0;
64053 _ACEOF
64054 if ac_fn_cxx_try_compile "$LINENO"; then :
64055 glibcxx_cv_func__isinfl_use=yes
64056 else
64057 glibcxx_cv_func__isinfl_use=no
64059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64060 ac_ext=c
64061 ac_cpp='$CPP $CPPFLAGS'
64062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64071 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64073 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64074 for ac_func in _isinfl
64075 do :
64076 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64077 if test "x$ac_cv_func__isinfl" = x""yes; then :
64078 cat >>confdefs.h <<_ACEOF
64079 #define HAVE__ISINFL 1
64080 _ACEOF
64083 done
64092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64093 $as_echo_n "checking for atan2l declaration... " >&6; }
64094 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64095 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64096 $as_echo_n "(cached) " >&6
64097 else
64100 ac_ext=cpp
64101 ac_cpp='$CXXCPP $CPPFLAGS'
64102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64107 /* end confdefs.h. */
64108 #include <math.h>
64110 main ()
64112 atan2l(0, 0);
64114 return 0;
64116 _ACEOF
64117 if ac_fn_cxx_try_compile "$LINENO"; then :
64118 glibcxx_cv_func_atan2l_use=yes
64119 else
64120 glibcxx_cv_func_atan2l_use=no
64122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64123 ac_ext=c
64124 ac_cpp='$CPP $CPPFLAGS'
64125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64134 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64136 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64137 for ac_func in atan2l
64138 do :
64139 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64140 if test "x$ac_cv_func_atan2l" = x""yes; then :
64141 cat >>confdefs.h <<_ACEOF
64142 #define HAVE_ATAN2L 1
64143 _ACEOF
64146 done
64148 else
64150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64151 $as_echo_n "checking for _atan2l declaration... " >&6; }
64152 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64153 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64154 $as_echo_n "(cached) " >&6
64155 else
64158 ac_ext=cpp
64159 ac_cpp='$CXXCPP $CPPFLAGS'
64160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64165 /* end confdefs.h. */
64166 #include <math.h>
64168 main ()
64170 _atan2l(0, 0);
64172 return 0;
64174 _ACEOF
64175 if ac_fn_cxx_try_compile "$LINENO"; then :
64176 glibcxx_cv_func__atan2l_use=yes
64177 else
64178 glibcxx_cv_func__atan2l_use=no
64180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64181 ac_ext=c
64182 ac_cpp='$CPP $CPPFLAGS'
64183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64192 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64194 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64195 for ac_func in _atan2l
64196 do :
64197 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64198 if test "x$ac_cv_func__atan2l" = x""yes; then :
64199 cat >>confdefs.h <<_ACEOF
64200 #define HAVE__ATAN2L 1
64201 _ACEOF
64204 done
64213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64214 $as_echo_n "checking for expl declaration... " >&6; }
64215 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64216 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64217 $as_echo_n "(cached) " >&6
64218 else
64221 ac_ext=cpp
64222 ac_cpp='$CXXCPP $CPPFLAGS'
64223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64228 /* end confdefs.h. */
64229 #include <math.h>
64230 #ifdef HAVE_IEEEFP_H
64231 #include <ieeefp.h>
64232 #endif
64235 main ()
64237 expl(0);
64239 return 0;
64241 _ACEOF
64242 if ac_fn_cxx_try_compile "$LINENO"; then :
64243 glibcxx_cv_func_expl_use=yes
64244 else
64245 glibcxx_cv_func_expl_use=no
64247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64248 ac_ext=c
64249 ac_cpp='$CPP $CPPFLAGS'
64250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64259 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64261 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64262 for ac_func in expl
64263 do :
64264 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64265 if test "x$ac_cv_func_expl" = x""yes; then :
64266 cat >>confdefs.h <<_ACEOF
64267 #define HAVE_EXPL 1
64268 _ACEOF
64271 done
64273 else
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64276 $as_echo_n "checking for _expl declaration... " >&6; }
64277 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64278 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64279 $as_echo_n "(cached) " >&6
64280 else
64283 ac_ext=cpp
64284 ac_cpp='$CXXCPP $CPPFLAGS'
64285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64290 /* end confdefs.h. */
64291 #include <math.h>
64292 #ifdef HAVE_IEEEFP_H
64293 #include <ieeefp.h>
64294 #endif
64297 main ()
64299 _expl(0);
64301 return 0;
64303 _ACEOF
64304 if ac_fn_cxx_try_compile "$LINENO"; then :
64305 glibcxx_cv_func__expl_use=yes
64306 else
64307 glibcxx_cv_func__expl_use=no
64309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64310 ac_ext=c
64311 ac_cpp='$CPP $CPPFLAGS'
64312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64321 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64323 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64324 for ac_func in _expl
64325 do :
64326 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64327 if test "x$ac_cv_func__expl" = x""yes; then :
64328 cat >>confdefs.h <<_ACEOF
64329 #define HAVE__EXPL 1
64330 _ACEOF
64333 done
64342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64343 $as_echo_n "checking for fabsl declaration... " >&6; }
64344 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64345 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64346 $as_echo_n "(cached) " >&6
64347 else
64350 ac_ext=cpp
64351 ac_cpp='$CXXCPP $CPPFLAGS'
64352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64357 /* end confdefs.h. */
64358 #include <math.h>
64359 #ifdef HAVE_IEEEFP_H
64360 #include <ieeefp.h>
64361 #endif
64364 main ()
64366 fabsl(0);
64368 return 0;
64370 _ACEOF
64371 if ac_fn_cxx_try_compile "$LINENO"; then :
64372 glibcxx_cv_func_fabsl_use=yes
64373 else
64374 glibcxx_cv_func_fabsl_use=no
64376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64377 ac_ext=c
64378 ac_cpp='$CPP $CPPFLAGS'
64379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64388 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64390 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64391 for ac_func in fabsl
64392 do :
64393 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64394 if test "x$ac_cv_func_fabsl" = x""yes; then :
64395 cat >>confdefs.h <<_ACEOF
64396 #define HAVE_FABSL 1
64397 _ACEOF
64400 done
64402 else
64404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64405 $as_echo_n "checking for _fabsl declaration... " >&6; }
64406 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64407 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64408 $as_echo_n "(cached) " >&6
64409 else
64412 ac_ext=cpp
64413 ac_cpp='$CXXCPP $CPPFLAGS'
64414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64419 /* end confdefs.h. */
64420 #include <math.h>
64421 #ifdef HAVE_IEEEFP_H
64422 #include <ieeefp.h>
64423 #endif
64426 main ()
64428 _fabsl(0);
64430 return 0;
64432 _ACEOF
64433 if ac_fn_cxx_try_compile "$LINENO"; then :
64434 glibcxx_cv_func__fabsl_use=yes
64435 else
64436 glibcxx_cv_func__fabsl_use=no
64438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64439 ac_ext=c
64440 ac_cpp='$CPP $CPPFLAGS'
64441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64450 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64452 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64453 for ac_func in _fabsl
64454 do :
64455 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64456 if test "x$ac_cv_func__fabsl" = x""yes; then :
64457 cat >>confdefs.h <<_ACEOF
64458 #define HAVE__FABSL 1
64459 _ACEOF
64462 done
64471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64472 $as_echo_n "checking for fmodl declaration... " >&6; }
64473 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64474 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64475 $as_echo_n "(cached) " >&6
64476 else
64479 ac_ext=cpp
64480 ac_cpp='$CXXCPP $CPPFLAGS'
64481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64486 /* end confdefs.h. */
64487 #include <math.h>
64489 main ()
64491 fmodl(0, 0);
64493 return 0;
64495 _ACEOF
64496 if ac_fn_cxx_try_compile "$LINENO"; then :
64497 glibcxx_cv_func_fmodl_use=yes
64498 else
64499 glibcxx_cv_func_fmodl_use=no
64501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64502 ac_ext=c
64503 ac_cpp='$CPP $CPPFLAGS'
64504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64513 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64515 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64516 for ac_func in fmodl
64517 do :
64518 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64519 if test "x$ac_cv_func_fmodl" = x""yes; then :
64520 cat >>confdefs.h <<_ACEOF
64521 #define HAVE_FMODL 1
64522 _ACEOF
64525 done
64527 else
64529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64530 $as_echo_n "checking for _fmodl declaration... " >&6; }
64531 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64532 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64533 $as_echo_n "(cached) " >&6
64534 else
64537 ac_ext=cpp
64538 ac_cpp='$CXXCPP $CPPFLAGS'
64539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64544 /* end confdefs.h. */
64545 #include <math.h>
64547 main ()
64549 _fmodl(0, 0);
64551 return 0;
64553 _ACEOF
64554 if ac_fn_cxx_try_compile "$LINENO"; then :
64555 glibcxx_cv_func__fmodl_use=yes
64556 else
64557 glibcxx_cv_func__fmodl_use=no
64559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64560 ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64571 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64573 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64574 for ac_func in _fmodl
64575 do :
64576 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64577 if test "x$ac_cv_func__fmodl" = x""yes; then :
64578 cat >>confdefs.h <<_ACEOF
64579 #define HAVE__FMODL 1
64580 _ACEOF
64583 done
64592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64593 $as_echo_n "checking for frexpl declaration... " >&6; }
64594 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64595 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64596 $as_echo_n "(cached) " >&6
64597 else
64600 ac_ext=cpp
64601 ac_cpp='$CXXCPP $CPPFLAGS'
64602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64607 /* end confdefs.h. */
64608 #include <math.h>
64610 main ()
64612 frexpl(0, 0);
64614 return 0;
64616 _ACEOF
64617 if ac_fn_cxx_try_compile "$LINENO"; then :
64618 glibcxx_cv_func_frexpl_use=yes
64619 else
64620 glibcxx_cv_func_frexpl_use=no
64622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64623 ac_ext=c
64624 ac_cpp='$CPP $CPPFLAGS'
64625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64634 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64636 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64637 for ac_func in frexpl
64638 do :
64639 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64640 if test "x$ac_cv_func_frexpl" = x""yes; then :
64641 cat >>confdefs.h <<_ACEOF
64642 #define HAVE_FREXPL 1
64643 _ACEOF
64646 done
64648 else
64650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64651 $as_echo_n "checking for _frexpl declaration... " >&6; }
64652 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64653 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64654 $as_echo_n "(cached) " >&6
64655 else
64658 ac_ext=cpp
64659 ac_cpp='$CXXCPP $CPPFLAGS'
64660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64665 /* end confdefs.h. */
64666 #include <math.h>
64668 main ()
64670 _frexpl(0, 0);
64672 return 0;
64674 _ACEOF
64675 if ac_fn_cxx_try_compile "$LINENO"; then :
64676 glibcxx_cv_func__frexpl_use=yes
64677 else
64678 glibcxx_cv_func__frexpl_use=no
64680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64681 ac_ext=c
64682 ac_cpp='$CPP $CPPFLAGS'
64683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64692 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64694 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64695 for ac_func in _frexpl
64696 do :
64697 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64698 if test "x$ac_cv_func__frexpl" = x""yes; then :
64699 cat >>confdefs.h <<_ACEOF
64700 #define HAVE__FREXPL 1
64701 _ACEOF
64704 done
64713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64714 $as_echo_n "checking for hypotl declaration... " >&6; }
64715 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64716 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64717 $as_echo_n "(cached) " >&6
64718 else
64721 ac_ext=cpp
64722 ac_cpp='$CXXCPP $CPPFLAGS'
64723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64728 /* end confdefs.h. */
64729 #include <math.h>
64731 main ()
64733 hypotl(0, 0);
64735 return 0;
64737 _ACEOF
64738 if ac_fn_cxx_try_compile "$LINENO"; then :
64739 glibcxx_cv_func_hypotl_use=yes
64740 else
64741 glibcxx_cv_func_hypotl_use=no
64743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64744 ac_ext=c
64745 ac_cpp='$CPP $CPPFLAGS'
64746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64755 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64757 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64758 for ac_func in hypotl
64759 do :
64760 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64761 if test "x$ac_cv_func_hypotl" = x""yes; then :
64762 cat >>confdefs.h <<_ACEOF
64763 #define HAVE_HYPOTL 1
64764 _ACEOF
64767 done
64769 else
64771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64772 $as_echo_n "checking for _hypotl declaration... " >&6; }
64773 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64774 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64775 $as_echo_n "(cached) " >&6
64776 else
64779 ac_ext=cpp
64780 ac_cpp='$CXXCPP $CPPFLAGS'
64781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64786 /* end confdefs.h. */
64787 #include <math.h>
64789 main ()
64791 _hypotl(0, 0);
64793 return 0;
64795 _ACEOF
64796 if ac_fn_cxx_try_compile "$LINENO"; then :
64797 glibcxx_cv_func__hypotl_use=yes
64798 else
64799 glibcxx_cv_func__hypotl_use=no
64801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64802 ac_ext=c
64803 ac_cpp='$CPP $CPPFLAGS'
64804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64813 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64815 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64816 for ac_func in _hypotl
64817 do :
64818 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64819 if test "x$ac_cv_func__hypotl" = x""yes; then :
64820 cat >>confdefs.h <<_ACEOF
64821 #define HAVE__HYPOTL 1
64822 _ACEOF
64825 done
64834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64835 $as_echo_n "checking for ldexpl declaration... " >&6; }
64836 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64837 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64838 $as_echo_n "(cached) " >&6
64839 else
64842 ac_ext=cpp
64843 ac_cpp='$CXXCPP $CPPFLAGS'
64844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64849 /* end confdefs.h. */
64850 #include <math.h>
64852 main ()
64854 ldexpl(0, 0);
64856 return 0;
64858 _ACEOF
64859 if ac_fn_cxx_try_compile "$LINENO"; then :
64860 glibcxx_cv_func_ldexpl_use=yes
64861 else
64862 glibcxx_cv_func_ldexpl_use=no
64864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64865 ac_ext=c
64866 ac_cpp='$CPP $CPPFLAGS'
64867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64876 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64878 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64879 for ac_func in ldexpl
64880 do :
64881 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64882 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64883 cat >>confdefs.h <<_ACEOF
64884 #define HAVE_LDEXPL 1
64885 _ACEOF
64888 done
64890 else
64892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64893 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64894 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64895 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64896 $as_echo_n "(cached) " >&6
64897 else
64900 ac_ext=cpp
64901 ac_cpp='$CXXCPP $CPPFLAGS'
64902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64907 /* end confdefs.h. */
64908 #include <math.h>
64910 main ()
64912 _ldexpl(0, 0);
64914 return 0;
64916 _ACEOF
64917 if ac_fn_cxx_try_compile "$LINENO"; then :
64918 glibcxx_cv_func__ldexpl_use=yes
64919 else
64920 glibcxx_cv_func__ldexpl_use=no
64922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64923 ac_ext=c
64924 ac_cpp='$CPP $CPPFLAGS'
64925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64934 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64936 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64937 for ac_func in _ldexpl
64938 do :
64939 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64940 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64941 cat >>confdefs.h <<_ACEOF
64942 #define HAVE__LDEXPL 1
64943 _ACEOF
64946 done
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64956 $as_echo_n "checking for logl declaration... " >&6; }
64957 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64958 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64959 $as_echo_n "(cached) " >&6
64960 else
64963 ac_ext=cpp
64964 ac_cpp='$CXXCPP $CPPFLAGS'
64965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64970 /* end confdefs.h. */
64971 #include <math.h>
64972 #ifdef HAVE_IEEEFP_H
64973 #include <ieeefp.h>
64974 #endif
64977 main ()
64979 logl(0);
64981 return 0;
64983 _ACEOF
64984 if ac_fn_cxx_try_compile "$LINENO"; then :
64985 glibcxx_cv_func_logl_use=yes
64986 else
64987 glibcxx_cv_func_logl_use=no
64989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64990 ac_ext=c
64991 ac_cpp='$CPP $CPPFLAGS'
64992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65001 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65003 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65004 for ac_func in logl
65005 do :
65006 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65007 if test "x$ac_cv_func_logl" = x""yes; then :
65008 cat >>confdefs.h <<_ACEOF
65009 #define HAVE_LOGL 1
65010 _ACEOF
65013 done
65015 else
65017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65018 $as_echo_n "checking for _logl declaration... " >&6; }
65019 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65020 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65021 $as_echo_n "(cached) " >&6
65022 else
65025 ac_ext=cpp
65026 ac_cpp='$CXXCPP $CPPFLAGS'
65027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65032 /* end confdefs.h. */
65033 #include <math.h>
65034 #ifdef HAVE_IEEEFP_H
65035 #include <ieeefp.h>
65036 #endif
65039 main ()
65041 _logl(0);
65043 return 0;
65045 _ACEOF
65046 if ac_fn_cxx_try_compile "$LINENO"; then :
65047 glibcxx_cv_func__logl_use=yes
65048 else
65049 glibcxx_cv_func__logl_use=no
65051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65052 ac_ext=c
65053 ac_cpp='$CPP $CPPFLAGS'
65054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65063 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65065 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65066 for ac_func in _logl
65067 do :
65068 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65069 if test "x$ac_cv_func__logl" = x""yes; then :
65070 cat >>confdefs.h <<_ACEOF
65071 #define HAVE__LOGL 1
65072 _ACEOF
65075 done
65084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65085 $as_echo_n "checking for log10l declaration... " >&6; }
65086 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65087 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65088 $as_echo_n "(cached) " >&6
65089 else
65092 ac_ext=cpp
65093 ac_cpp='$CXXCPP $CPPFLAGS'
65094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65099 /* end confdefs.h. */
65100 #include <math.h>
65101 #ifdef HAVE_IEEEFP_H
65102 #include <ieeefp.h>
65103 #endif
65106 main ()
65108 log10l(0);
65110 return 0;
65112 _ACEOF
65113 if ac_fn_cxx_try_compile "$LINENO"; then :
65114 glibcxx_cv_func_log10l_use=yes
65115 else
65116 glibcxx_cv_func_log10l_use=no
65118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65119 ac_ext=c
65120 ac_cpp='$CPP $CPPFLAGS'
65121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65130 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65132 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65133 for ac_func in log10l
65134 do :
65135 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65136 if test "x$ac_cv_func_log10l" = x""yes; then :
65137 cat >>confdefs.h <<_ACEOF
65138 #define HAVE_LOG10L 1
65139 _ACEOF
65142 done
65144 else
65146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65147 $as_echo_n "checking for _log10l declaration... " >&6; }
65148 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65149 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65150 $as_echo_n "(cached) " >&6
65151 else
65154 ac_ext=cpp
65155 ac_cpp='$CXXCPP $CPPFLAGS'
65156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65161 /* end confdefs.h. */
65162 #include <math.h>
65163 #ifdef HAVE_IEEEFP_H
65164 #include <ieeefp.h>
65165 #endif
65168 main ()
65170 _log10l(0);
65172 return 0;
65174 _ACEOF
65175 if ac_fn_cxx_try_compile "$LINENO"; then :
65176 glibcxx_cv_func__log10l_use=yes
65177 else
65178 glibcxx_cv_func__log10l_use=no
65180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65181 ac_ext=c
65182 ac_cpp='$CPP $CPPFLAGS'
65183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65192 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65194 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65195 for ac_func in _log10l
65196 do :
65197 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65198 if test "x$ac_cv_func__log10l" = x""yes; then :
65199 cat >>confdefs.h <<_ACEOF
65200 #define HAVE__LOG10L 1
65201 _ACEOF
65204 done
65213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65214 $as_echo_n "checking for modfl declaration... " >&6; }
65215 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65216 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65217 $as_echo_n "(cached) " >&6
65218 else
65221 ac_ext=cpp
65222 ac_cpp='$CXXCPP $CPPFLAGS'
65223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65228 /* end confdefs.h. */
65229 #include <math.h>
65231 main ()
65233 modfl(0, 0);
65235 return 0;
65237 _ACEOF
65238 if ac_fn_cxx_try_compile "$LINENO"; then :
65239 glibcxx_cv_func_modfl_use=yes
65240 else
65241 glibcxx_cv_func_modfl_use=no
65243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65244 ac_ext=c
65245 ac_cpp='$CPP $CPPFLAGS'
65246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65255 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65257 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65258 for ac_func in modfl
65259 do :
65260 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65261 if test "x$ac_cv_func_modfl" = x""yes; then :
65262 cat >>confdefs.h <<_ACEOF
65263 #define HAVE_MODFL 1
65264 _ACEOF
65267 done
65269 else
65271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65272 $as_echo_n "checking for _modfl declaration... " >&6; }
65273 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65274 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65275 $as_echo_n "(cached) " >&6
65276 else
65279 ac_ext=cpp
65280 ac_cpp='$CXXCPP $CPPFLAGS'
65281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65286 /* end confdefs.h. */
65287 #include <math.h>
65289 main ()
65291 _modfl(0, 0);
65293 return 0;
65295 _ACEOF
65296 if ac_fn_cxx_try_compile "$LINENO"; then :
65297 glibcxx_cv_func__modfl_use=yes
65298 else
65299 glibcxx_cv_func__modfl_use=no
65301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65302 ac_ext=c
65303 ac_cpp='$CPP $CPPFLAGS'
65304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65313 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65315 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65316 for ac_func in _modfl
65317 do :
65318 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65319 if test "x$ac_cv_func__modfl" = x""yes; then :
65320 cat >>confdefs.h <<_ACEOF
65321 #define HAVE__MODFL 1
65322 _ACEOF
65325 done
65334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65335 $as_echo_n "checking for powl declaration... " >&6; }
65336 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65337 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65338 $as_echo_n "(cached) " >&6
65339 else
65342 ac_ext=cpp
65343 ac_cpp='$CXXCPP $CPPFLAGS'
65344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65349 /* end confdefs.h. */
65350 #include <math.h>
65352 main ()
65354 powl(0, 0);
65356 return 0;
65358 _ACEOF
65359 if ac_fn_cxx_try_compile "$LINENO"; then :
65360 glibcxx_cv_func_powl_use=yes
65361 else
65362 glibcxx_cv_func_powl_use=no
65364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65365 ac_ext=c
65366 ac_cpp='$CPP $CPPFLAGS'
65367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65376 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65378 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65379 for ac_func in powl
65380 do :
65381 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65382 if test "x$ac_cv_func_powl" = x""yes; then :
65383 cat >>confdefs.h <<_ACEOF
65384 #define HAVE_POWL 1
65385 _ACEOF
65388 done
65390 else
65392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65393 $as_echo_n "checking for _powl declaration... " >&6; }
65394 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65395 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65396 $as_echo_n "(cached) " >&6
65397 else
65400 ac_ext=cpp
65401 ac_cpp='$CXXCPP $CPPFLAGS'
65402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65407 /* end confdefs.h. */
65408 #include <math.h>
65410 main ()
65412 _powl(0, 0);
65414 return 0;
65416 _ACEOF
65417 if ac_fn_cxx_try_compile "$LINENO"; then :
65418 glibcxx_cv_func__powl_use=yes
65419 else
65420 glibcxx_cv_func__powl_use=no
65422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65423 ac_ext=c
65424 ac_cpp='$CPP $CPPFLAGS'
65425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65434 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65436 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65437 for ac_func in _powl
65438 do :
65439 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65440 if test "x$ac_cv_func__powl" = x""yes; then :
65441 cat >>confdefs.h <<_ACEOF
65442 #define HAVE__POWL 1
65443 _ACEOF
65446 done
65455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65456 $as_echo_n "checking for sqrtl declaration... " >&6; }
65457 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65458 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65459 $as_echo_n "(cached) " >&6
65460 else
65463 ac_ext=cpp
65464 ac_cpp='$CXXCPP $CPPFLAGS'
65465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65470 /* end confdefs.h. */
65471 #include <math.h>
65472 #ifdef HAVE_IEEEFP_H
65473 #include <ieeefp.h>
65474 #endif
65477 main ()
65479 sqrtl(0);
65481 return 0;
65483 _ACEOF
65484 if ac_fn_cxx_try_compile "$LINENO"; then :
65485 glibcxx_cv_func_sqrtl_use=yes
65486 else
65487 glibcxx_cv_func_sqrtl_use=no
65489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65490 ac_ext=c
65491 ac_cpp='$CPP $CPPFLAGS'
65492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65501 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65503 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65504 for ac_func in sqrtl
65505 do :
65506 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65507 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65508 cat >>confdefs.h <<_ACEOF
65509 #define HAVE_SQRTL 1
65510 _ACEOF
65513 done
65515 else
65517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65518 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65519 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65520 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65521 $as_echo_n "(cached) " >&6
65522 else
65525 ac_ext=cpp
65526 ac_cpp='$CXXCPP $CPPFLAGS'
65527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65532 /* end confdefs.h. */
65533 #include <math.h>
65534 #ifdef HAVE_IEEEFP_H
65535 #include <ieeefp.h>
65536 #endif
65539 main ()
65541 _sqrtl(0);
65543 return 0;
65545 _ACEOF
65546 if ac_fn_cxx_try_compile "$LINENO"; then :
65547 glibcxx_cv_func__sqrtl_use=yes
65548 else
65549 glibcxx_cv_func__sqrtl_use=no
65551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65552 ac_ext=c
65553 ac_cpp='$CPP $CPPFLAGS'
65554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65563 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65565 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65566 for ac_func in _sqrtl
65567 do :
65568 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65569 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65570 cat >>confdefs.h <<_ACEOF
65571 #define HAVE__SQRTL 1
65572 _ACEOF
65575 done
65584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65585 $as_echo_n "checking for sincosl declaration... " >&6; }
65586 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65587 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65588 $as_echo_n "(cached) " >&6
65589 else
65592 ac_ext=cpp
65593 ac_cpp='$CXXCPP $CPPFLAGS'
65594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65599 /* end confdefs.h. */
65600 #include <math.h>
65602 main ()
65604 sincosl(0, 0, 0);
65606 return 0;
65608 _ACEOF
65609 if ac_fn_cxx_try_compile "$LINENO"; then :
65610 glibcxx_cv_func_sincosl_use=yes
65611 else
65612 glibcxx_cv_func_sincosl_use=no
65614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65615 ac_ext=c
65616 ac_cpp='$CPP $CPPFLAGS'
65617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65626 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65628 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65629 for ac_func in sincosl
65630 do :
65631 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65632 if test "x$ac_cv_func_sincosl" = x""yes; then :
65633 cat >>confdefs.h <<_ACEOF
65634 #define HAVE_SINCOSL 1
65635 _ACEOF
65638 done
65640 else
65642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65643 $as_echo_n "checking for _sincosl declaration... " >&6; }
65644 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65645 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65646 $as_echo_n "(cached) " >&6
65647 else
65650 ac_ext=cpp
65651 ac_cpp='$CXXCPP $CPPFLAGS'
65652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65657 /* end confdefs.h. */
65658 #include <math.h>
65660 main ()
65662 _sincosl(0, 0, 0);
65664 return 0;
65666 _ACEOF
65667 if ac_fn_cxx_try_compile "$LINENO"; then :
65668 glibcxx_cv_func__sincosl_use=yes
65669 else
65670 glibcxx_cv_func__sincosl_use=no
65672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65673 ac_ext=c
65674 ac_cpp='$CPP $CPPFLAGS'
65675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65684 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65686 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65687 for ac_func in _sincosl
65688 do :
65689 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65690 if test "x$ac_cv_func__sincosl" = x""yes; then :
65691 cat >>confdefs.h <<_ACEOF
65692 #define HAVE__SINCOSL 1
65693 _ACEOF
65696 done
65705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65706 $as_echo_n "checking for finitel declaration... " >&6; }
65707 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65708 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65709 $as_echo_n "(cached) " >&6
65710 else
65713 ac_ext=cpp
65714 ac_cpp='$CXXCPP $CPPFLAGS'
65715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65720 /* end confdefs.h. */
65721 #include <math.h>
65722 #ifdef HAVE_IEEEFP_H
65723 #include <ieeefp.h>
65724 #endif
65727 main ()
65729 finitel(0);
65731 return 0;
65733 _ACEOF
65734 if ac_fn_cxx_try_compile "$LINENO"; then :
65735 glibcxx_cv_func_finitel_use=yes
65736 else
65737 glibcxx_cv_func_finitel_use=no
65739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65740 ac_ext=c
65741 ac_cpp='$CPP $CPPFLAGS'
65742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65751 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65753 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65754 for ac_func in finitel
65755 do :
65756 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65757 if test "x$ac_cv_func_finitel" = x""yes; then :
65758 cat >>confdefs.h <<_ACEOF
65759 #define HAVE_FINITEL 1
65760 _ACEOF
65763 done
65765 else
65767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65768 $as_echo_n "checking for _finitel declaration... " >&6; }
65769 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65770 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65771 $as_echo_n "(cached) " >&6
65772 else
65775 ac_ext=cpp
65776 ac_cpp='$CXXCPP $CPPFLAGS'
65777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65782 /* end confdefs.h. */
65783 #include <math.h>
65784 #ifdef HAVE_IEEEFP_H
65785 #include <ieeefp.h>
65786 #endif
65789 main ()
65791 _finitel(0);
65793 return 0;
65795 _ACEOF
65796 if ac_fn_cxx_try_compile "$LINENO"; then :
65797 glibcxx_cv_func__finitel_use=yes
65798 else
65799 glibcxx_cv_func__finitel_use=no
65801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65802 ac_ext=c
65803 ac_cpp='$CPP $CPPFLAGS'
65804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65813 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65815 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65816 for ac_func in _finitel
65817 do :
65818 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65819 if test "x$ac_cv_func__finitel" = x""yes; then :
65820 cat >>confdefs.h <<_ACEOF
65821 #define HAVE__FINITEL 1
65822 _ACEOF
65825 done
65833 LIBS="$ac_save_LIBS"
65834 CXXFLAGS="$ac_save_CXXFLAGS"
65837 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65838 ac_save_CXXFLAGS="$CXXFLAGS"
65839 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65843 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65844 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65845 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65846 $as_echo_n "(cached) " >&6
65847 else
65850 ac_ext=cpp
65851 ac_cpp='$CXXCPP $CPPFLAGS'
65852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65857 /* end confdefs.h. */
65858 #include <stdlib.h>
65860 main ()
65862 at_quick_exit(0);
65864 return 0;
65866 _ACEOF
65867 if ac_fn_cxx_try_compile "$LINENO"; then :
65868 glibcxx_cv_func_at_quick_exit_use=yes
65869 else
65870 glibcxx_cv_func_at_quick_exit_use=no
65872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65873 ac_ext=c
65874 ac_cpp='$CPP $CPPFLAGS'
65875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65884 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65885 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65886 for ac_func in at_quick_exit
65887 do :
65888 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65889 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65890 cat >>confdefs.h <<_ACEOF
65891 #define HAVE_AT_QUICK_EXIT 1
65892 _ACEOF
65895 done
65900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65901 $as_echo_n "checking for quick_exit declaration... " >&6; }
65902 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65903 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65904 $as_echo_n "(cached) " >&6
65905 else
65908 ac_ext=cpp
65909 ac_cpp='$CXXCPP $CPPFLAGS'
65910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65915 /* end confdefs.h. */
65916 #include <stdlib.h>
65918 main ()
65920 quick_exit(0);
65922 return 0;
65924 _ACEOF
65925 if ac_fn_cxx_try_compile "$LINENO"; then :
65926 glibcxx_cv_func_quick_exit_use=yes
65927 else
65928 glibcxx_cv_func_quick_exit_use=no
65930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65931 ac_ext=c
65932 ac_cpp='$CPP $CPPFLAGS'
65933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65942 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65943 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65944 for ac_func in quick_exit
65945 do :
65946 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65947 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65948 cat >>confdefs.h <<_ACEOF
65949 #define HAVE_QUICK_EXIT 1
65950 _ACEOF
65953 done
65958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65959 $as_echo_n "checking for strtold declaration... " >&6; }
65960 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65961 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65962 $as_echo_n "(cached) " >&6
65963 else
65966 ac_ext=cpp
65967 ac_cpp='$CXXCPP $CPPFLAGS'
65968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65973 /* end confdefs.h. */
65974 #include <stdlib.h>
65976 main ()
65978 strtold(0, 0);
65980 return 0;
65982 _ACEOF
65983 if ac_fn_cxx_try_compile "$LINENO"; then :
65984 glibcxx_cv_func_strtold_use=yes
65985 else
65986 glibcxx_cv_func_strtold_use=no
65988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65989 ac_ext=c
65990 ac_cpp='$CPP $CPPFLAGS'
65991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66000 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66001 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66002 for ac_func in strtold
66003 do :
66004 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66005 if test "x$ac_cv_func_strtold" = x""yes; then :
66006 cat >>confdefs.h <<_ACEOF
66007 #define HAVE_STRTOLD 1
66008 _ACEOF
66011 done
66018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66019 $as_echo_n "checking for strtof declaration... " >&6; }
66020 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66021 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66022 $as_echo_n "(cached) " >&6
66023 else
66026 ac_ext=cpp
66027 ac_cpp='$CXXCPP $CPPFLAGS'
66028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66033 /* end confdefs.h. */
66034 #include <stdlib.h>
66036 main ()
66038 strtof(0, 0);
66040 return 0;
66042 _ACEOF
66043 if ac_fn_cxx_try_compile "$LINENO"; then :
66044 glibcxx_cv_func_strtof_use=yes
66045 else
66046 glibcxx_cv_func_strtof_use=no
66048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66049 ac_ext=c
66050 ac_cpp='$CPP $CPPFLAGS'
66051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66060 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66061 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66062 for ac_func in strtof
66063 do :
66064 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66065 if test "x$ac_cv_func_strtof" = x""yes; then :
66066 cat >>confdefs.h <<_ACEOF
66067 #define HAVE_STRTOF 1
66068 _ACEOF
66071 done
66078 CXXFLAGS="$ac_save_CXXFLAGS"
66081 *-netbsd*)
66082 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66085 # If we're not using GNU ld, then there's no point in even trying these
66086 # tests. Check for that first. We should have already tested for gld
66087 # by now (in libtool), but require it now just to be safe...
66088 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66089 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66093 # The name set by libtool depends on the version of libtool. Shame on us
66094 # for depending on an impl detail, but c'est la vie. Older versions used
66095 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66096 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66097 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66098 # set (hence we're using an older libtool), then set it.
66099 if test x${with_gnu_ld+set} != xset; then
66100 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66101 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66102 with_gnu_ld=no
66103 else
66104 with_gnu_ld=$ac_cv_prog_gnu_ld
66108 # Start by getting the version number. I think the libtool test already
66109 # does some of this, but throws away the result.
66110 glibcxx_ld_is_gold=no
66111 if test x"$with_gnu_ld" = x"yes"; then
66112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66113 $as_echo_n "checking for ld version... " >&6; }
66115 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66116 glibcxx_ld_is_gold=yes
66118 ldver=`$LD --version 2>/dev/null |
66119 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'`
66121 glibcxx_gnu_ld_version=`echo $ldver | \
66122 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66124 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66127 # Set --gc-sections.
66128 glibcxx_have_gc_sections=no
66129 if test "$glibcxx_ld_is_gold" = "yes"; then
66130 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66131 glibcxx_have_gc_sections=yes
66133 else
66134 glibcxx_gcsections_min_ld=21602
66135 if test x"$with_gnu_ld" = x"yes" &&
66136 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66137 glibcxx_have_gc_sections=yes
66140 if test "$glibcxx_have_gc_sections" = "yes"; then
66141 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66142 # NB: This flag only works reliably after 2.16.1. Configure tests
66143 # for this are difficult, so hard wire a value that should work.
66145 ac_test_CFLAGS="${CFLAGS+set}"
66146 ac_save_CFLAGS="$CFLAGS"
66147 CFLAGS='-Wl,--gc-sections'
66149 # Check for -Wl,--gc-sections
66150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66151 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66152 if test x$gcc_no_link = xyes; then
66153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66156 /* end confdefs.h. */
66157 int one(void) { return 1; }
66158 int two(void) { return 2; }
66161 main ()
66163 two();
66165 return 0;
66167 _ACEOF
66168 if ac_fn_c_try_link "$LINENO"; then :
66169 ac_gcsections=yes
66170 else
66171 ac_gcsections=no
66173 rm -f core conftest.err conftest.$ac_objext \
66174 conftest$ac_exeext conftest.$ac_ext
66175 if test "$ac_gcsections" = "yes"; then
66176 rm -f conftest.c
66177 touch conftest.c
66178 if $CC -c conftest.c; then
66179 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66180 grep "Warning: gc-sections option ignored" > /dev/null; then
66181 ac_gcsections=no
66184 rm -f conftest.c conftest.o conftest
66186 if test "$ac_gcsections" = "yes"; then
66187 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66190 $as_echo "$ac_gcsections" >&6; }
66192 if test "$ac_test_CFLAGS" = set; then
66193 CFLAGS="$ac_save_CFLAGS"
66194 else
66195 # this is the suspicious part
66196 CFLAGS=''
66200 # Set -z,relro.
66201 # Note this is only for shared objects.
66202 ac_ld_relro=no
66203 if test x"$with_gnu_ld" = x"yes"; then
66204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66205 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66206 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66207 if test -n "$cxx_z_relo"; then
66208 OPT_LDFLAGS="-Wl,-z,relro"
66209 ac_ld_relro=yes
66211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66212 $as_echo "$ac_ld_relro" >&6; }
66215 # Set linker optimization flags.
66216 if test x"$with_gnu_ld" = x"yes"; then
66217 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66223 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66225 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66227 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66229 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66231 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66233 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66235 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66237 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66239 if test x"long_double_math_on_this_cpu" = x"yes"; then
66240 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66242 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66244 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66248 *-qnx6.1* | *-qnx6.2*)
66249 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66252 # If we're not using GNU ld, then there's no point in even trying these
66253 # tests. Check for that first. We should have already tested for gld
66254 # by now (in libtool), but require it now just to be safe...
66255 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66256 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66260 # The name set by libtool depends on the version of libtool. Shame on us
66261 # for depending on an impl detail, but c'est la vie. Older versions used
66262 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66263 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66264 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66265 # set (hence we're using an older libtool), then set it.
66266 if test x${with_gnu_ld+set} != xset; then
66267 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66268 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66269 with_gnu_ld=no
66270 else
66271 with_gnu_ld=$ac_cv_prog_gnu_ld
66275 # Start by getting the version number. I think the libtool test already
66276 # does some of this, but throws away the result.
66277 glibcxx_ld_is_gold=no
66278 if test x"$with_gnu_ld" = x"yes"; then
66279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66280 $as_echo_n "checking for ld version... " >&6; }
66282 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66283 glibcxx_ld_is_gold=yes
66285 ldver=`$LD --version 2>/dev/null |
66286 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'`
66288 glibcxx_gnu_ld_version=`echo $ldver | \
66289 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66291 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66294 # Set --gc-sections.
66295 glibcxx_have_gc_sections=no
66296 if test "$glibcxx_ld_is_gold" = "yes"; then
66297 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66298 glibcxx_have_gc_sections=yes
66300 else
66301 glibcxx_gcsections_min_ld=21602
66302 if test x"$with_gnu_ld" = x"yes" &&
66303 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66304 glibcxx_have_gc_sections=yes
66307 if test "$glibcxx_have_gc_sections" = "yes"; then
66308 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66309 # NB: This flag only works reliably after 2.16.1. Configure tests
66310 # for this are difficult, so hard wire a value that should work.
66312 ac_test_CFLAGS="${CFLAGS+set}"
66313 ac_save_CFLAGS="$CFLAGS"
66314 CFLAGS='-Wl,--gc-sections'
66316 # Check for -Wl,--gc-sections
66317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66318 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66319 if test x$gcc_no_link = xyes; then
66320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66323 /* end confdefs.h. */
66324 int one(void) { return 1; }
66325 int two(void) { return 2; }
66328 main ()
66330 two();
66332 return 0;
66334 _ACEOF
66335 if ac_fn_c_try_link "$LINENO"; then :
66336 ac_gcsections=yes
66337 else
66338 ac_gcsections=no
66340 rm -f core conftest.err conftest.$ac_objext \
66341 conftest$ac_exeext conftest.$ac_ext
66342 if test "$ac_gcsections" = "yes"; then
66343 rm -f conftest.c
66344 touch conftest.c
66345 if $CC -c conftest.c; then
66346 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66347 grep "Warning: gc-sections option ignored" > /dev/null; then
66348 ac_gcsections=no
66351 rm -f conftest.c conftest.o conftest
66353 if test "$ac_gcsections" = "yes"; then
66354 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66357 $as_echo "$ac_gcsections" >&6; }
66359 if test "$ac_test_CFLAGS" = set; then
66360 CFLAGS="$ac_save_CFLAGS"
66361 else
66362 # this is the suspicious part
66363 CFLAGS=''
66367 # Set -z,relro.
66368 # Note this is only for shared objects.
66369 ac_ld_relro=no
66370 if test x"$with_gnu_ld" = x"yes"; then
66371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66372 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66373 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66374 if test -n "$cxx_z_relo"; then
66375 OPT_LDFLAGS="-Wl,-z,relro"
66376 ac_ld_relro=yes
66378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66379 $as_echo "$ac_ld_relro" >&6; }
66382 # Set linker optimization flags.
66383 if test x"$with_gnu_ld" = x"yes"; then
66384 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66390 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66392 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66394 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66396 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66398 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66400 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66402 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66404 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66406 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66408 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66410 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66412 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66415 *-rtems*)
66417 # All these tests are for C++; save the language and the compiler flags.
66418 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66419 # found in GLIBCXX_CONFIGURE.
66421 ac_ext=cpp
66422 ac_cpp='$CXXCPP $CPPFLAGS'
66423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66427 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66428 ac_save_CXXFLAGS="$CXXFLAGS"
66430 # Check for maintainer-mode bits.
66431 if test x"$USE_MAINTAINER_MODE" = xno; then
66432 WERROR=''
66433 else
66434 WERROR='-Werror'
66437 # Check for -ffunction-sections -fdata-sections
66438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66439 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66440 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66442 /* end confdefs.h. */
66443 int foo; void bar() { };
66445 main ()
66449 return 0;
66451 _ACEOF
66452 if ac_fn_cxx_try_compile "$LINENO"; then :
66453 ac_fdsections=yes
66454 else
66455 ac_fdsections=no
66457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66458 if test "$ac_test_CXXFLAGS" = set; then
66459 CXXFLAGS="$ac_save_CXXFLAGS"
66460 else
66461 # this is the suspicious part
66462 CXXFLAGS=''
66464 if test x"$ac_fdsections" = x"yes"; then
66465 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66468 $as_echo "$ac_fdsections" >&6; }
66470 ac_ext=c
66471 ac_cpp='$CPP $CPPFLAGS'
66472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66480 # If we're not using GNU ld, then there's no point in even trying these
66481 # tests. Check for that first. We should have already tested for gld
66482 # by now (in libtool), but require it now just to be safe...
66483 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66484 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66488 # The name set by libtool depends on the version of libtool. Shame on us
66489 # for depending on an impl detail, but c'est la vie. Older versions used
66490 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66491 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66492 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66493 # set (hence we're using an older libtool), then set it.
66494 if test x${with_gnu_ld+set} != xset; then
66495 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66496 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66497 with_gnu_ld=no
66498 else
66499 with_gnu_ld=$ac_cv_prog_gnu_ld
66503 # Start by getting the version number. I think the libtool test already
66504 # does some of this, but throws away the result.
66505 glibcxx_ld_is_gold=no
66506 if test x"$with_gnu_ld" = x"yes"; then
66507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66508 $as_echo_n "checking for ld version... " >&6; }
66510 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66511 glibcxx_ld_is_gold=yes
66513 ldver=`$LD --version 2>/dev/null |
66514 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'`
66516 glibcxx_gnu_ld_version=`echo $ldver | \
66517 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66519 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66522 # Set --gc-sections.
66523 glibcxx_have_gc_sections=no
66524 if test "$glibcxx_ld_is_gold" = "yes"; then
66525 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66526 glibcxx_have_gc_sections=yes
66528 else
66529 glibcxx_gcsections_min_ld=21602
66530 if test x"$with_gnu_ld" = x"yes" &&
66531 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66532 glibcxx_have_gc_sections=yes
66535 if test "$glibcxx_have_gc_sections" = "yes"; then
66536 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66537 # NB: This flag only works reliably after 2.16.1. Configure tests
66538 # for this are difficult, so hard wire a value that should work.
66540 ac_test_CFLAGS="${CFLAGS+set}"
66541 ac_save_CFLAGS="$CFLAGS"
66542 CFLAGS='-Wl,--gc-sections'
66544 # Check for -Wl,--gc-sections
66545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66546 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66547 if test x$gcc_no_link = xyes; then
66548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66551 /* end confdefs.h. */
66552 int one(void) { return 1; }
66553 int two(void) { return 2; }
66556 main ()
66558 two();
66560 return 0;
66562 _ACEOF
66563 if ac_fn_c_try_link "$LINENO"; then :
66564 ac_gcsections=yes
66565 else
66566 ac_gcsections=no
66568 rm -f core conftest.err conftest.$ac_objext \
66569 conftest$ac_exeext conftest.$ac_ext
66570 if test "$ac_gcsections" = "yes"; then
66571 rm -f conftest.c
66572 touch conftest.c
66573 if $CC -c conftest.c; then
66574 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66575 grep "Warning: gc-sections option ignored" > /dev/null; then
66576 ac_gcsections=no
66579 rm -f conftest.c conftest.o conftest
66581 if test "$ac_gcsections" = "yes"; then
66582 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66585 $as_echo "$ac_gcsections" >&6; }
66587 if test "$ac_test_CFLAGS" = set; then
66588 CFLAGS="$ac_save_CFLAGS"
66589 else
66590 # this is the suspicious part
66591 CFLAGS=''
66595 # Set -z,relro.
66596 # Note this is only for shared objects.
66597 ac_ld_relro=no
66598 if test x"$with_gnu_ld" = x"yes"; then
66599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66600 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66601 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66602 if test -n "$cxx_z_relo"; then
66603 OPT_LDFLAGS="-Wl,-z,relro"
66604 ac_ld_relro=yes
66606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66607 $as_echo "$ac_ld_relro" >&6; }
66610 # Set linker optimization flags.
66611 if test x"$with_gnu_ld" = x"yes"; then
66612 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66619 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66620 ac_save_CXXFLAGS="$CXXFLAGS"
66621 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66624 $as_echo_n "checking for sin in -lm... " >&6; }
66625 if test "${ac_cv_lib_m_sin+set}" = set; then :
66626 $as_echo_n "(cached) " >&6
66627 else
66628 ac_check_lib_save_LIBS=$LIBS
66629 LIBS="-lm $LIBS"
66630 if test x$gcc_no_link = xyes; then
66631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66634 /* end confdefs.h. */
66636 /* Override any GCC internal prototype to avoid an error.
66637 Use char because int might match the return type of a GCC
66638 builtin and then its argument prototype would still apply. */
66639 #ifdef __cplusplus
66640 extern "C"
66641 #endif
66642 char sin ();
66644 main ()
66646 return sin ();
66648 return 0;
66650 _ACEOF
66651 if ac_fn_c_try_link "$LINENO"; then :
66652 ac_cv_lib_m_sin=yes
66653 else
66654 ac_cv_lib_m_sin=no
66656 rm -f core conftest.err conftest.$ac_objext \
66657 conftest$ac_exeext conftest.$ac_ext
66658 LIBS=$ac_check_lib_save_LIBS
66660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66661 $as_echo "$ac_cv_lib_m_sin" >&6; }
66662 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66663 libm="-lm"
66666 ac_save_LIBS="$LIBS"
66667 LIBS="$LIBS $libm"
66671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66672 $as_echo_n "checking for isinf declaration... " >&6; }
66673 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66674 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66675 $as_echo_n "(cached) " >&6
66676 else
66679 ac_ext=cpp
66680 ac_cpp='$CXXCPP $CPPFLAGS'
66681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66686 /* end confdefs.h. */
66687 #include <math.h>
66688 #ifdef HAVE_IEEEFP_H
66689 #include <ieeefp.h>
66690 #endif
66693 main ()
66695 isinf(0);
66697 return 0;
66699 _ACEOF
66700 if ac_fn_cxx_try_compile "$LINENO"; then :
66701 glibcxx_cv_func_isinf_use=yes
66702 else
66703 glibcxx_cv_func_isinf_use=no
66705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66706 ac_ext=c
66707 ac_cpp='$CPP $CPPFLAGS'
66708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66717 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66719 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66720 for ac_func in isinf
66721 do :
66722 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66723 if test "x$ac_cv_func_isinf" = x""yes; then :
66724 cat >>confdefs.h <<_ACEOF
66725 #define HAVE_ISINF 1
66726 _ACEOF
66729 done
66731 else
66733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66734 $as_echo_n "checking for _isinf declaration... " >&6; }
66735 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66736 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66737 $as_echo_n "(cached) " >&6
66738 else
66741 ac_ext=cpp
66742 ac_cpp='$CXXCPP $CPPFLAGS'
66743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66748 /* end confdefs.h. */
66749 #include <math.h>
66750 #ifdef HAVE_IEEEFP_H
66751 #include <ieeefp.h>
66752 #endif
66755 main ()
66757 _isinf(0);
66759 return 0;
66761 _ACEOF
66762 if ac_fn_cxx_try_compile "$LINENO"; then :
66763 glibcxx_cv_func__isinf_use=yes
66764 else
66765 glibcxx_cv_func__isinf_use=no
66767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66768 ac_ext=c
66769 ac_cpp='$CPP $CPPFLAGS'
66770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66779 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66781 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66782 for ac_func in _isinf
66783 do :
66784 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66785 if test "x$ac_cv_func__isinf" = x""yes; then :
66786 cat >>confdefs.h <<_ACEOF
66787 #define HAVE__ISINF 1
66788 _ACEOF
66791 done
66800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66801 $as_echo_n "checking for isnan declaration... " >&6; }
66802 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66803 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66804 $as_echo_n "(cached) " >&6
66805 else
66808 ac_ext=cpp
66809 ac_cpp='$CXXCPP $CPPFLAGS'
66810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66815 /* end confdefs.h. */
66816 #include <math.h>
66817 #ifdef HAVE_IEEEFP_H
66818 #include <ieeefp.h>
66819 #endif
66822 main ()
66824 isnan(0);
66826 return 0;
66828 _ACEOF
66829 if ac_fn_cxx_try_compile "$LINENO"; then :
66830 glibcxx_cv_func_isnan_use=yes
66831 else
66832 glibcxx_cv_func_isnan_use=no
66834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66835 ac_ext=c
66836 ac_cpp='$CPP $CPPFLAGS'
66837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66846 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66848 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66849 for ac_func in isnan
66850 do :
66851 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66852 if test "x$ac_cv_func_isnan" = x""yes; then :
66853 cat >>confdefs.h <<_ACEOF
66854 #define HAVE_ISNAN 1
66855 _ACEOF
66858 done
66860 else
66862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66863 $as_echo_n "checking for _isnan declaration... " >&6; }
66864 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66865 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66866 $as_echo_n "(cached) " >&6
66867 else
66870 ac_ext=cpp
66871 ac_cpp='$CXXCPP $CPPFLAGS'
66872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66877 /* end confdefs.h. */
66878 #include <math.h>
66879 #ifdef HAVE_IEEEFP_H
66880 #include <ieeefp.h>
66881 #endif
66884 main ()
66886 _isnan(0);
66888 return 0;
66890 _ACEOF
66891 if ac_fn_cxx_try_compile "$LINENO"; then :
66892 glibcxx_cv_func__isnan_use=yes
66893 else
66894 glibcxx_cv_func__isnan_use=no
66896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66897 ac_ext=c
66898 ac_cpp='$CPP $CPPFLAGS'
66899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66908 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66910 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66911 for ac_func in _isnan
66912 do :
66913 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66914 if test "x$ac_cv_func__isnan" = x""yes; then :
66915 cat >>confdefs.h <<_ACEOF
66916 #define HAVE__ISNAN 1
66917 _ACEOF
66920 done
66929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66930 $as_echo_n "checking for finite declaration... " >&6; }
66931 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66932 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66933 $as_echo_n "(cached) " >&6
66934 else
66937 ac_ext=cpp
66938 ac_cpp='$CXXCPP $CPPFLAGS'
66939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66944 /* end confdefs.h. */
66945 #include <math.h>
66946 #ifdef HAVE_IEEEFP_H
66947 #include <ieeefp.h>
66948 #endif
66951 main ()
66953 finite(0);
66955 return 0;
66957 _ACEOF
66958 if ac_fn_cxx_try_compile "$LINENO"; then :
66959 glibcxx_cv_func_finite_use=yes
66960 else
66961 glibcxx_cv_func_finite_use=no
66963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66964 ac_ext=c
66965 ac_cpp='$CPP $CPPFLAGS'
66966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66975 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66977 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66978 for ac_func in finite
66979 do :
66980 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66981 if test "x$ac_cv_func_finite" = x""yes; then :
66982 cat >>confdefs.h <<_ACEOF
66983 #define HAVE_FINITE 1
66984 _ACEOF
66987 done
66989 else
66991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66992 $as_echo_n "checking for _finite declaration... " >&6; }
66993 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66994 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66995 $as_echo_n "(cached) " >&6
66996 else
66999 ac_ext=cpp
67000 ac_cpp='$CXXCPP $CPPFLAGS'
67001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67006 /* end confdefs.h. */
67007 #include <math.h>
67008 #ifdef HAVE_IEEEFP_H
67009 #include <ieeefp.h>
67010 #endif
67013 main ()
67015 _finite(0);
67017 return 0;
67019 _ACEOF
67020 if ac_fn_cxx_try_compile "$LINENO"; then :
67021 glibcxx_cv_func__finite_use=yes
67022 else
67023 glibcxx_cv_func__finite_use=no
67025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67026 ac_ext=c
67027 ac_cpp='$CPP $CPPFLAGS'
67028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67037 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67039 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67040 for ac_func in _finite
67041 do :
67042 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67043 if test "x$ac_cv_func__finite" = x""yes; then :
67044 cat >>confdefs.h <<_ACEOF
67045 #define HAVE__FINITE 1
67046 _ACEOF
67049 done
67058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67059 $as_echo_n "checking for sincos declaration... " >&6; }
67060 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67061 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67062 $as_echo_n "(cached) " >&6
67063 else
67066 ac_ext=cpp
67067 ac_cpp='$CXXCPP $CPPFLAGS'
67068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67073 /* end confdefs.h. */
67074 #include <math.h>
67076 main ()
67078 sincos(0, 0, 0);
67080 return 0;
67082 _ACEOF
67083 if ac_fn_cxx_try_compile "$LINENO"; then :
67084 glibcxx_cv_func_sincos_use=yes
67085 else
67086 glibcxx_cv_func_sincos_use=no
67088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67089 ac_ext=c
67090 ac_cpp='$CPP $CPPFLAGS'
67091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67100 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67102 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67103 for ac_func in sincos
67104 do :
67105 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67106 if test "x$ac_cv_func_sincos" = x""yes; then :
67107 cat >>confdefs.h <<_ACEOF
67108 #define HAVE_SINCOS 1
67109 _ACEOF
67112 done
67114 else
67116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67117 $as_echo_n "checking for _sincos declaration... " >&6; }
67118 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67119 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67120 $as_echo_n "(cached) " >&6
67121 else
67124 ac_ext=cpp
67125 ac_cpp='$CXXCPP $CPPFLAGS'
67126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67131 /* end confdefs.h. */
67132 #include <math.h>
67134 main ()
67136 _sincos(0, 0, 0);
67138 return 0;
67140 _ACEOF
67141 if ac_fn_cxx_try_compile "$LINENO"; then :
67142 glibcxx_cv_func__sincos_use=yes
67143 else
67144 glibcxx_cv_func__sincos_use=no
67146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67147 ac_ext=c
67148 ac_cpp='$CPP $CPPFLAGS'
67149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67158 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67160 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67161 for ac_func in _sincos
67162 do :
67163 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67164 if test "x$ac_cv_func__sincos" = x""yes; then :
67165 cat >>confdefs.h <<_ACEOF
67166 #define HAVE__SINCOS 1
67167 _ACEOF
67170 done
67179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67180 $as_echo_n "checking for fpclass declaration... " >&6; }
67181 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67182 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67183 $as_echo_n "(cached) " >&6
67184 else
67187 ac_ext=cpp
67188 ac_cpp='$CXXCPP $CPPFLAGS'
67189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67194 /* end confdefs.h. */
67195 #include <math.h>
67196 #ifdef HAVE_IEEEFP_H
67197 #include <ieeefp.h>
67198 #endif
67201 main ()
67203 fpclass(0);
67205 return 0;
67207 _ACEOF
67208 if ac_fn_cxx_try_compile "$LINENO"; then :
67209 glibcxx_cv_func_fpclass_use=yes
67210 else
67211 glibcxx_cv_func_fpclass_use=no
67213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67214 ac_ext=c
67215 ac_cpp='$CPP $CPPFLAGS'
67216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67225 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67227 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67228 for ac_func in fpclass
67229 do :
67230 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67231 if test "x$ac_cv_func_fpclass" = x""yes; then :
67232 cat >>confdefs.h <<_ACEOF
67233 #define HAVE_FPCLASS 1
67234 _ACEOF
67237 done
67239 else
67241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67242 $as_echo_n "checking for _fpclass declaration... " >&6; }
67243 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67244 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67245 $as_echo_n "(cached) " >&6
67246 else
67249 ac_ext=cpp
67250 ac_cpp='$CXXCPP $CPPFLAGS'
67251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67256 /* end confdefs.h. */
67257 #include <math.h>
67258 #ifdef HAVE_IEEEFP_H
67259 #include <ieeefp.h>
67260 #endif
67263 main ()
67265 _fpclass(0);
67267 return 0;
67269 _ACEOF
67270 if ac_fn_cxx_try_compile "$LINENO"; then :
67271 glibcxx_cv_func__fpclass_use=yes
67272 else
67273 glibcxx_cv_func__fpclass_use=no
67275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67276 ac_ext=c
67277 ac_cpp='$CPP $CPPFLAGS'
67278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67287 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67289 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67290 for ac_func in _fpclass
67291 do :
67292 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67293 if test "x$ac_cv_func__fpclass" = x""yes; then :
67294 cat >>confdefs.h <<_ACEOF
67295 #define HAVE__FPCLASS 1
67296 _ACEOF
67299 done
67308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67309 $as_echo_n "checking for qfpclass declaration... " >&6; }
67310 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67311 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67312 $as_echo_n "(cached) " >&6
67313 else
67316 ac_ext=cpp
67317 ac_cpp='$CXXCPP $CPPFLAGS'
67318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67323 /* end confdefs.h. */
67324 #include <math.h>
67325 #ifdef HAVE_IEEEFP_H
67326 #include <ieeefp.h>
67327 #endif
67330 main ()
67332 qfpclass(0);
67334 return 0;
67336 _ACEOF
67337 if ac_fn_cxx_try_compile "$LINENO"; then :
67338 glibcxx_cv_func_qfpclass_use=yes
67339 else
67340 glibcxx_cv_func_qfpclass_use=no
67342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67343 ac_ext=c
67344 ac_cpp='$CPP $CPPFLAGS'
67345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67354 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67356 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67357 for ac_func in qfpclass
67358 do :
67359 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67360 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67361 cat >>confdefs.h <<_ACEOF
67362 #define HAVE_QFPCLASS 1
67363 _ACEOF
67366 done
67368 else
67370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67371 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67372 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67373 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67374 $as_echo_n "(cached) " >&6
67375 else
67378 ac_ext=cpp
67379 ac_cpp='$CXXCPP $CPPFLAGS'
67380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67385 /* end confdefs.h. */
67386 #include <math.h>
67387 #ifdef HAVE_IEEEFP_H
67388 #include <ieeefp.h>
67389 #endif
67392 main ()
67394 _qfpclass(0);
67396 return 0;
67398 _ACEOF
67399 if ac_fn_cxx_try_compile "$LINENO"; then :
67400 glibcxx_cv_func__qfpclass_use=yes
67401 else
67402 glibcxx_cv_func__qfpclass_use=no
67404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67405 ac_ext=c
67406 ac_cpp='$CPP $CPPFLAGS'
67407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67416 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67418 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67419 for ac_func in _qfpclass
67420 do :
67421 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67422 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67423 cat >>confdefs.h <<_ACEOF
67424 #define HAVE__QFPCLASS 1
67425 _ACEOF
67428 done
67437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67438 $as_echo_n "checking for hypot declaration... " >&6; }
67439 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67440 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67441 $as_echo_n "(cached) " >&6
67442 else
67445 ac_ext=cpp
67446 ac_cpp='$CXXCPP $CPPFLAGS'
67447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67452 /* end confdefs.h. */
67453 #include <math.h>
67455 main ()
67457 hypot(0, 0);
67459 return 0;
67461 _ACEOF
67462 if ac_fn_cxx_try_compile "$LINENO"; then :
67463 glibcxx_cv_func_hypot_use=yes
67464 else
67465 glibcxx_cv_func_hypot_use=no
67467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67468 ac_ext=c
67469 ac_cpp='$CPP $CPPFLAGS'
67470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67479 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67481 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67482 for ac_func in hypot
67483 do :
67484 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67485 if test "x$ac_cv_func_hypot" = x""yes; then :
67486 cat >>confdefs.h <<_ACEOF
67487 #define HAVE_HYPOT 1
67488 _ACEOF
67491 done
67493 else
67495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67496 $as_echo_n "checking for _hypot declaration... " >&6; }
67497 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67498 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67499 $as_echo_n "(cached) " >&6
67500 else
67503 ac_ext=cpp
67504 ac_cpp='$CXXCPP $CPPFLAGS'
67505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67510 /* end confdefs.h. */
67511 #include <math.h>
67513 main ()
67515 _hypot(0, 0);
67517 return 0;
67519 _ACEOF
67520 if ac_fn_cxx_try_compile "$LINENO"; then :
67521 glibcxx_cv_func__hypot_use=yes
67522 else
67523 glibcxx_cv_func__hypot_use=no
67525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67526 ac_ext=c
67527 ac_cpp='$CPP $CPPFLAGS'
67528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67537 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67539 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67540 for ac_func in _hypot
67541 do :
67542 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67543 if test "x$ac_cv_func__hypot" = x""yes; then :
67544 cat >>confdefs.h <<_ACEOF
67545 #define HAVE__HYPOT 1
67546 _ACEOF
67549 done
67558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67559 $as_echo_n "checking for float trig functions... " >&6; }
67560 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67561 $as_echo_n "(cached) " >&6
67562 else
67565 ac_ext=cpp
67566 ac_cpp='$CXXCPP $CPPFLAGS'
67567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67572 /* end confdefs.h. */
67573 #include <math.h>
67575 main ()
67577 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67579 return 0;
67581 _ACEOF
67582 if ac_fn_cxx_try_compile "$LINENO"; then :
67583 glibcxx_cv_func_float_trig_use=yes
67584 else
67585 glibcxx_cv_func_float_trig_use=no
67587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67588 ac_ext=c
67589 ac_cpp='$CPP $CPPFLAGS'
67590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67597 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67598 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67599 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67600 do :
67601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67603 eval as_val=\$$as_ac_var
67604 if test "x$as_val" = x""yes; then :
67605 cat >>confdefs.h <<_ACEOF
67606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67607 _ACEOF
67610 done
67612 else
67613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67614 $as_echo_n "checking for _float trig functions... " >&6; }
67615 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67616 $as_echo_n "(cached) " >&6
67617 else
67620 ac_ext=cpp
67621 ac_cpp='$CXXCPP $CPPFLAGS'
67622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67627 /* end confdefs.h. */
67628 #include <math.h>
67630 main ()
67632 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67634 return 0;
67636 _ACEOF
67637 if ac_fn_cxx_try_compile "$LINENO"; then :
67638 glibcxx_cv_func__float_trig_use=yes
67639 else
67640 glibcxx_cv_func__float_trig_use=no
67642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67643 ac_ext=c
67644 ac_cpp='$CPP $CPPFLAGS'
67645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67652 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67653 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67654 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67655 do :
67656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67658 eval as_val=\$$as_ac_var
67659 if test "x$as_val" = x""yes; then :
67660 cat >>confdefs.h <<_ACEOF
67661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67662 _ACEOF
67665 done
67674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67675 $as_echo_n "checking for float round functions... " >&6; }
67676 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67677 $as_echo_n "(cached) " >&6
67678 else
67681 ac_ext=cpp
67682 ac_cpp='$CXXCPP $CPPFLAGS'
67683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67688 /* end confdefs.h. */
67689 #include <math.h>
67691 main ()
67693 ceilf (0); floorf (0);
67695 return 0;
67697 _ACEOF
67698 if ac_fn_cxx_try_compile "$LINENO"; then :
67699 glibcxx_cv_func_float_round_use=yes
67700 else
67701 glibcxx_cv_func_float_round_use=no
67703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67704 ac_ext=c
67705 ac_cpp='$CPP $CPPFLAGS'
67706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67713 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67714 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67715 for ac_func in ceilf floorf
67716 do :
67717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67719 eval as_val=\$$as_ac_var
67720 if test "x$as_val" = x""yes; then :
67721 cat >>confdefs.h <<_ACEOF
67722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67723 _ACEOF
67726 done
67728 else
67729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67730 $as_echo_n "checking for _float round functions... " >&6; }
67731 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67732 $as_echo_n "(cached) " >&6
67733 else
67736 ac_ext=cpp
67737 ac_cpp='$CXXCPP $CPPFLAGS'
67738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67743 /* end confdefs.h. */
67744 #include <math.h>
67746 main ()
67748 _ceilf (0); _floorf (0);
67750 return 0;
67752 _ACEOF
67753 if ac_fn_cxx_try_compile "$LINENO"; then :
67754 glibcxx_cv_func__float_round_use=yes
67755 else
67756 glibcxx_cv_func__float_round_use=no
67758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67759 ac_ext=c
67760 ac_cpp='$CPP $CPPFLAGS'
67761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67768 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67769 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67770 for ac_func in _ceilf _floorf
67771 do :
67772 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67773 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67774 eval as_val=\$$as_ac_var
67775 if test "x$as_val" = x""yes; then :
67776 cat >>confdefs.h <<_ACEOF
67777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67778 _ACEOF
67781 done
67791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67792 $as_echo_n "checking for expf declaration... " >&6; }
67793 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67794 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67795 $as_echo_n "(cached) " >&6
67796 else
67799 ac_ext=cpp
67800 ac_cpp='$CXXCPP $CPPFLAGS'
67801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67806 /* end confdefs.h. */
67807 #include <math.h>
67808 #ifdef HAVE_IEEEFP_H
67809 #include <ieeefp.h>
67810 #endif
67813 main ()
67815 expf(0);
67817 return 0;
67819 _ACEOF
67820 if ac_fn_cxx_try_compile "$LINENO"; then :
67821 glibcxx_cv_func_expf_use=yes
67822 else
67823 glibcxx_cv_func_expf_use=no
67825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67826 ac_ext=c
67827 ac_cpp='$CPP $CPPFLAGS'
67828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67837 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67839 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67840 for ac_func in expf
67841 do :
67842 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67843 if test "x$ac_cv_func_expf" = x""yes; then :
67844 cat >>confdefs.h <<_ACEOF
67845 #define HAVE_EXPF 1
67846 _ACEOF
67849 done
67851 else
67853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67854 $as_echo_n "checking for _expf declaration... " >&6; }
67855 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67856 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67857 $as_echo_n "(cached) " >&6
67858 else
67861 ac_ext=cpp
67862 ac_cpp='$CXXCPP $CPPFLAGS'
67863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67868 /* end confdefs.h. */
67869 #include <math.h>
67870 #ifdef HAVE_IEEEFP_H
67871 #include <ieeefp.h>
67872 #endif
67875 main ()
67877 _expf(0);
67879 return 0;
67881 _ACEOF
67882 if ac_fn_cxx_try_compile "$LINENO"; then :
67883 glibcxx_cv_func__expf_use=yes
67884 else
67885 glibcxx_cv_func__expf_use=no
67887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67888 ac_ext=c
67889 ac_cpp='$CPP $CPPFLAGS'
67890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67899 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67901 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67902 for ac_func in _expf
67903 do :
67904 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67905 if test "x$ac_cv_func__expf" = x""yes; then :
67906 cat >>confdefs.h <<_ACEOF
67907 #define HAVE__EXPF 1
67908 _ACEOF
67911 done
67920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67921 $as_echo_n "checking for isnanf declaration... " >&6; }
67922 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67923 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67924 $as_echo_n "(cached) " >&6
67925 else
67928 ac_ext=cpp
67929 ac_cpp='$CXXCPP $CPPFLAGS'
67930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67935 /* end confdefs.h. */
67936 #include <math.h>
67937 #ifdef HAVE_IEEEFP_H
67938 #include <ieeefp.h>
67939 #endif
67942 main ()
67944 isnanf(0);
67946 return 0;
67948 _ACEOF
67949 if ac_fn_cxx_try_compile "$LINENO"; then :
67950 glibcxx_cv_func_isnanf_use=yes
67951 else
67952 glibcxx_cv_func_isnanf_use=no
67954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67955 ac_ext=c
67956 ac_cpp='$CPP $CPPFLAGS'
67957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67966 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67968 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67969 for ac_func in isnanf
67970 do :
67971 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67972 if test "x$ac_cv_func_isnanf" = x""yes; then :
67973 cat >>confdefs.h <<_ACEOF
67974 #define HAVE_ISNANF 1
67975 _ACEOF
67978 done
67980 else
67982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67983 $as_echo_n "checking for _isnanf declaration... " >&6; }
67984 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67985 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67986 $as_echo_n "(cached) " >&6
67987 else
67990 ac_ext=cpp
67991 ac_cpp='$CXXCPP $CPPFLAGS'
67992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67997 /* end confdefs.h. */
67998 #include <math.h>
67999 #ifdef HAVE_IEEEFP_H
68000 #include <ieeefp.h>
68001 #endif
68004 main ()
68006 _isnanf(0);
68008 return 0;
68010 _ACEOF
68011 if ac_fn_cxx_try_compile "$LINENO"; then :
68012 glibcxx_cv_func__isnanf_use=yes
68013 else
68014 glibcxx_cv_func__isnanf_use=no
68016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68017 ac_ext=c
68018 ac_cpp='$CPP $CPPFLAGS'
68019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68028 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68030 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68031 for ac_func in _isnanf
68032 do :
68033 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68034 if test "x$ac_cv_func__isnanf" = x""yes; then :
68035 cat >>confdefs.h <<_ACEOF
68036 #define HAVE__ISNANF 1
68037 _ACEOF
68040 done
68049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68050 $as_echo_n "checking for isinff declaration... " >&6; }
68051 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68052 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68053 $as_echo_n "(cached) " >&6
68054 else
68057 ac_ext=cpp
68058 ac_cpp='$CXXCPP $CPPFLAGS'
68059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68064 /* end confdefs.h. */
68065 #include <math.h>
68066 #ifdef HAVE_IEEEFP_H
68067 #include <ieeefp.h>
68068 #endif
68071 main ()
68073 isinff(0);
68075 return 0;
68077 _ACEOF
68078 if ac_fn_cxx_try_compile "$LINENO"; then :
68079 glibcxx_cv_func_isinff_use=yes
68080 else
68081 glibcxx_cv_func_isinff_use=no
68083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68084 ac_ext=c
68085 ac_cpp='$CPP $CPPFLAGS'
68086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68095 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68097 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68098 for ac_func in isinff
68099 do :
68100 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68101 if test "x$ac_cv_func_isinff" = x""yes; then :
68102 cat >>confdefs.h <<_ACEOF
68103 #define HAVE_ISINFF 1
68104 _ACEOF
68107 done
68109 else
68111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68112 $as_echo_n "checking for _isinff declaration... " >&6; }
68113 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68114 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68115 $as_echo_n "(cached) " >&6
68116 else
68119 ac_ext=cpp
68120 ac_cpp='$CXXCPP $CPPFLAGS'
68121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68126 /* end confdefs.h. */
68127 #include <math.h>
68128 #ifdef HAVE_IEEEFP_H
68129 #include <ieeefp.h>
68130 #endif
68133 main ()
68135 _isinff(0);
68137 return 0;
68139 _ACEOF
68140 if ac_fn_cxx_try_compile "$LINENO"; then :
68141 glibcxx_cv_func__isinff_use=yes
68142 else
68143 glibcxx_cv_func__isinff_use=no
68145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68146 ac_ext=c
68147 ac_cpp='$CPP $CPPFLAGS'
68148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68157 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68159 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68160 for ac_func in _isinff
68161 do :
68162 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68163 if test "x$ac_cv_func__isinff" = x""yes; then :
68164 cat >>confdefs.h <<_ACEOF
68165 #define HAVE__ISINFF 1
68166 _ACEOF
68169 done
68178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68179 $as_echo_n "checking for atan2f declaration... " >&6; }
68180 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68181 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68182 $as_echo_n "(cached) " >&6
68183 else
68186 ac_ext=cpp
68187 ac_cpp='$CXXCPP $CPPFLAGS'
68188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68193 /* end confdefs.h. */
68194 #include <math.h>
68196 main ()
68198 atan2f(0, 0);
68200 return 0;
68202 _ACEOF
68203 if ac_fn_cxx_try_compile "$LINENO"; then :
68204 glibcxx_cv_func_atan2f_use=yes
68205 else
68206 glibcxx_cv_func_atan2f_use=no
68208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68209 ac_ext=c
68210 ac_cpp='$CPP $CPPFLAGS'
68211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68220 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68222 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68223 for ac_func in atan2f
68224 do :
68225 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68226 if test "x$ac_cv_func_atan2f" = x""yes; then :
68227 cat >>confdefs.h <<_ACEOF
68228 #define HAVE_ATAN2F 1
68229 _ACEOF
68232 done
68234 else
68236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68237 $as_echo_n "checking for _atan2f declaration... " >&6; }
68238 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68239 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68240 $as_echo_n "(cached) " >&6
68241 else
68244 ac_ext=cpp
68245 ac_cpp='$CXXCPP $CPPFLAGS'
68246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68251 /* end confdefs.h. */
68252 #include <math.h>
68254 main ()
68256 _atan2f(0, 0);
68258 return 0;
68260 _ACEOF
68261 if ac_fn_cxx_try_compile "$LINENO"; then :
68262 glibcxx_cv_func__atan2f_use=yes
68263 else
68264 glibcxx_cv_func__atan2f_use=no
68266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68267 ac_ext=c
68268 ac_cpp='$CPP $CPPFLAGS'
68269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68278 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68280 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68281 for ac_func in _atan2f
68282 do :
68283 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68284 if test "x$ac_cv_func__atan2f" = x""yes; then :
68285 cat >>confdefs.h <<_ACEOF
68286 #define HAVE__ATAN2F 1
68287 _ACEOF
68290 done
68299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68300 $as_echo_n "checking for fabsf declaration... " >&6; }
68301 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68302 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68303 $as_echo_n "(cached) " >&6
68304 else
68307 ac_ext=cpp
68308 ac_cpp='$CXXCPP $CPPFLAGS'
68309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68314 /* end confdefs.h. */
68315 #include <math.h>
68316 #ifdef HAVE_IEEEFP_H
68317 #include <ieeefp.h>
68318 #endif
68321 main ()
68323 fabsf(0);
68325 return 0;
68327 _ACEOF
68328 if ac_fn_cxx_try_compile "$LINENO"; then :
68329 glibcxx_cv_func_fabsf_use=yes
68330 else
68331 glibcxx_cv_func_fabsf_use=no
68333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68334 ac_ext=c
68335 ac_cpp='$CPP $CPPFLAGS'
68336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68345 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68347 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68348 for ac_func in fabsf
68349 do :
68350 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68351 if test "x$ac_cv_func_fabsf" = x""yes; then :
68352 cat >>confdefs.h <<_ACEOF
68353 #define HAVE_FABSF 1
68354 _ACEOF
68357 done
68359 else
68361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68362 $as_echo_n "checking for _fabsf declaration... " >&6; }
68363 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68364 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68365 $as_echo_n "(cached) " >&6
68366 else
68369 ac_ext=cpp
68370 ac_cpp='$CXXCPP $CPPFLAGS'
68371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68376 /* end confdefs.h. */
68377 #include <math.h>
68378 #ifdef HAVE_IEEEFP_H
68379 #include <ieeefp.h>
68380 #endif
68383 main ()
68385 _fabsf(0);
68387 return 0;
68389 _ACEOF
68390 if ac_fn_cxx_try_compile "$LINENO"; then :
68391 glibcxx_cv_func__fabsf_use=yes
68392 else
68393 glibcxx_cv_func__fabsf_use=no
68395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68396 ac_ext=c
68397 ac_cpp='$CPP $CPPFLAGS'
68398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68407 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68409 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68410 for ac_func in _fabsf
68411 do :
68412 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68413 if test "x$ac_cv_func__fabsf" = x""yes; then :
68414 cat >>confdefs.h <<_ACEOF
68415 #define HAVE__FABSF 1
68416 _ACEOF
68419 done
68428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68429 $as_echo_n "checking for fmodf declaration... " >&6; }
68430 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68431 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68432 $as_echo_n "(cached) " >&6
68433 else
68436 ac_ext=cpp
68437 ac_cpp='$CXXCPP $CPPFLAGS'
68438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68443 /* end confdefs.h. */
68444 #include <math.h>
68446 main ()
68448 fmodf(0, 0);
68450 return 0;
68452 _ACEOF
68453 if ac_fn_cxx_try_compile "$LINENO"; then :
68454 glibcxx_cv_func_fmodf_use=yes
68455 else
68456 glibcxx_cv_func_fmodf_use=no
68458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68459 ac_ext=c
68460 ac_cpp='$CPP $CPPFLAGS'
68461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68470 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68472 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68473 for ac_func in fmodf
68474 do :
68475 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68476 if test "x$ac_cv_func_fmodf" = x""yes; then :
68477 cat >>confdefs.h <<_ACEOF
68478 #define HAVE_FMODF 1
68479 _ACEOF
68482 done
68484 else
68486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68487 $as_echo_n "checking for _fmodf declaration... " >&6; }
68488 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68489 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68490 $as_echo_n "(cached) " >&6
68491 else
68494 ac_ext=cpp
68495 ac_cpp='$CXXCPP $CPPFLAGS'
68496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68501 /* end confdefs.h. */
68502 #include <math.h>
68504 main ()
68506 _fmodf(0, 0);
68508 return 0;
68510 _ACEOF
68511 if ac_fn_cxx_try_compile "$LINENO"; then :
68512 glibcxx_cv_func__fmodf_use=yes
68513 else
68514 glibcxx_cv_func__fmodf_use=no
68516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68517 ac_ext=c
68518 ac_cpp='$CPP $CPPFLAGS'
68519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68528 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68530 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68531 for ac_func in _fmodf
68532 do :
68533 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68534 if test "x$ac_cv_func__fmodf" = x""yes; then :
68535 cat >>confdefs.h <<_ACEOF
68536 #define HAVE__FMODF 1
68537 _ACEOF
68540 done
68549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68550 $as_echo_n "checking for frexpf declaration... " >&6; }
68551 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68552 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68553 $as_echo_n "(cached) " >&6
68554 else
68557 ac_ext=cpp
68558 ac_cpp='$CXXCPP $CPPFLAGS'
68559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68564 /* end confdefs.h. */
68565 #include <math.h>
68567 main ()
68569 frexpf(0, 0);
68571 return 0;
68573 _ACEOF
68574 if ac_fn_cxx_try_compile "$LINENO"; then :
68575 glibcxx_cv_func_frexpf_use=yes
68576 else
68577 glibcxx_cv_func_frexpf_use=no
68579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68580 ac_ext=c
68581 ac_cpp='$CPP $CPPFLAGS'
68582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68591 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68593 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68594 for ac_func in frexpf
68595 do :
68596 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68597 if test "x$ac_cv_func_frexpf" = x""yes; then :
68598 cat >>confdefs.h <<_ACEOF
68599 #define HAVE_FREXPF 1
68600 _ACEOF
68603 done
68605 else
68607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68608 $as_echo_n "checking for _frexpf declaration... " >&6; }
68609 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68610 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68611 $as_echo_n "(cached) " >&6
68612 else
68615 ac_ext=cpp
68616 ac_cpp='$CXXCPP $CPPFLAGS'
68617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68622 /* end confdefs.h. */
68623 #include <math.h>
68625 main ()
68627 _frexpf(0, 0);
68629 return 0;
68631 _ACEOF
68632 if ac_fn_cxx_try_compile "$LINENO"; then :
68633 glibcxx_cv_func__frexpf_use=yes
68634 else
68635 glibcxx_cv_func__frexpf_use=no
68637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68638 ac_ext=c
68639 ac_cpp='$CPP $CPPFLAGS'
68640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68649 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68651 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68652 for ac_func in _frexpf
68653 do :
68654 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68655 if test "x$ac_cv_func__frexpf" = x""yes; then :
68656 cat >>confdefs.h <<_ACEOF
68657 #define HAVE__FREXPF 1
68658 _ACEOF
68661 done
68670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68671 $as_echo_n "checking for hypotf declaration... " >&6; }
68672 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68673 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68674 $as_echo_n "(cached) " >&6
68675 else
68678 ac_ext=cpp
68679 ac_cpp='$CXXCPP $CPPFLAGS'
68680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68685 /* end confdefs.h. */
68686 #include <math.h>
68688 main ()
68690 hypotf(0, 0);
68692 return 0;
68694 _ACEOF
68695 if ac_fn_cxx_try_compile "$LINENO"; then :
68696 glibcxx_cv_func_hypotf_use=yes
68697 else
68698 glibcxx_cv_func_hypotf_use=no
68700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68701 ac_ext=c
68702 ac_cpp='$CPP $CPPFLAGS'
68703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68712 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68714 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68715 for ac_func in hypotf
68716 do :
68717 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68718 if test "x$ac_cv_func_hypotf" = x""yes; then :
68719 cat >>confdefs.h <<_ACEOF
68720 #define HAVE_HYPOTF 1
68721 _ACEOF
68724 done
68726 else
68728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68729 $as_echo_n "checking for _hypotf declaration... " >&6; }
68730 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68731 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68732 $as_echo_n "(cached) " >&6
68733 else
68736 ac_ext=cpp
68737 ac_cpp='$CXXCPP $CPPFLAGS'
68738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68743 /* end confdefs.h. */
68744 #include <math.h>
68746 main ()
68748 _hypotf(0, 0);
68750 return 0;
68752 _ACEOF
68753 if ac_fn_cxx_try_compile "$LINENO"; then :
68754 glibcxx_cv_func__hypotf_use=yes
68755 else
68756 glibcxx_cv_func__hypotf_use=no
68758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68759 ac_ext=c
68760 ac_cpp='$CPP $CPPFLAGS'
68761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68770 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68772 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68773 for ac_func in _hypotf
68774 do :
68775 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68776 if test "x$ac_cv_func__hypotf" = x""yes; then :
68777 cat >>confdefs.h <<_ACEOF
68778 #define HAVE__HYPOTF 1
68779 _ACEOF
68782 done
68791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68792 $as_echo_n "checking for ldexpf declaration... " >&6; }
68793 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68794 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68795 $as_echo_n "(cached) " >&6
68796 else
68799 ac_ext=cpp
68800 ac_cpp='$CXXCPP $CPPFLAGS'
68801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68806 /* end confdefs.h. */
68807 #include <math.h>
68809 main ()
68811 ldexpf(0, 0);
68813 return 0;
68815 _ACEOF
68816 if ac_fn_cxx_try_compile "$LINENO"; then :
68817 glibcxx_cv_func_ldexpf_use=yes
68818 else
68819 glibcxx_cv_func_ldexpf_use=no
68821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68822 ac_ext=c
68823 ac_cpp='$CPP $CPPFLAGS'
68824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68833 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68835 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68836 for ac_func in ldexpf
68837 do :
68838 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68839 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68840 cat >>confdefs.h <<_ACEOF
68841 #define HAVE_LDEXPF 1
68842 _ACEOF
68845 done
68847 else
68849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68850 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68851 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68852 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68853 $as_echo_n "(cached) " >&6
68854 else
68857 ac_ext=cpp
68858 ac_cpp='$CXXCPP $CPPFLAGS'
68859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68864 /* end confdefs.h. */
68865 #include <math.h>
68867 main ()
68869 _ldexpf(0, 0);
68871 return 0;
68873 _ACEOF
68874 if ac_fn_cxx_try_compile "$LINENO"; then :
68875 glibcxx_cv_func__ldexpf_use=yes
68876 else
68877 glibcxx_cv_func__ldexpf_use=no
68879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68880 ac_ext=c
68881 ac_cpp='$CPP $CPPFLAGS'
68882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68891 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68893 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68894 for ac_func in _ldexpf
68895 do :
68896 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68897 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68898 cat >>confdefs.h <<_ACEOF
68899 #define HAVE__LDEXPF 1
68900 _ACEOF
68903 done
68912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68913 $as_echo_n "checking for logf declaration... " >&6; }
68914 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68915 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68916 $as_echo_n "(cached) " >&6
68917 else
68920 ac_ext=cpp
68921 ac_cpp='$CXXCPP $CPPFLAGS'
68922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68927 /* end confdefs.h. */
68928 #include <math.h>
68929 #ifdef HAVE_IEEEFP_H
68930 #include <ieeefp.h>
68931 #endif
68934 main ()
68936 logf(0);
68938 return 0;
68940 _ACEOF
68941 if ac_fn_cxx_try_compile "$LINENO"; then :
68942 glibcxx_cv_func_logf_use=yes
68943 else
68944 glibcxx_cv_func_logf_use=no
68946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68947 ac_ext=c
68948 ac_cpp='$CPP $CPPFLAGS'
68949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68958 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68960 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68961 for ac_func in logf
68962 do :
68963 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68964 if test "x$ac_cv_func_logf" = x""yes; then :
68965 cat >>confdefs.h <<_ACEOF
68966 #define HAVE_LOGF 1
68967 _ACEOF
68970 done
68972 else
68974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68975 $as_echo_n "checking for _logf declaration... " >&6; }
68976 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68977 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68978 $as_echo_n "(cached) " >&6
68979 else
68982 ac_ext=cpp
68983 ac_cpp='$CXXCPP $CPPFLAGS'
68984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68989 /* end confdefs.h. */
68990 #include <math.h>
68991 #ifdef HAVE_IEEEFP_H
68992 #include <ieeefp.h>
68993 #endif
68996 main ()
68998 _logf(0);
69000 return 0;
69002 _ACEOF
69003 if ac_fn_cxx_try_compile "$LINENO"; then :
69004 glibcxx_cv_func__logf_use=yes
69005 else
69006 glibcxx_cv_func__logf_use=no
69008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69009 ac_ext=c
69010 ac_cpp='$CPP $CPPFLAGS'
69011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69020 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69022 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69023 for ac_func in _logf
69024 do :
69025 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69026 if test "x$ac_cv_func__logf" = x""yes; then :
69027 cat >>confdefs.h <<_ACEOF
69028 #define HAVE__LOGF 1
69029 _ACEOF
69032 done
69041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69042 $as_echo_n "checking for log10f declaration... " >&6; }
69043 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69044 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69045 $as_echo_n "(cached) " >&6
69046 else
69049 ac_ext=cpp
69050 ac_cpp='$CXXCPP $CPPFLAGS'
69051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69056 /* end confdefs.h. */
69057 #include <math.h>
69058 #ifdef HAVE_IEEEFP_H
69059 #include <ieeefp.h>
69060 #endif
69063 main ()
69065 log10f(0);
69067 return 0;
69069 _ACEOF
69070 if ac_fn_cxx_try_compile "$LINENO"; then :
69071 glibcxx_cv_func_log10f_use=yes
69072 else
69073 glibcxx_cv_func_log10f_use=no
69075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69076 ac_ext=c
69077 ac_cpp='$CPP $CPPFLAGS'
69078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69087 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69089 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69090 for ac_func in log10f
69091 do :
69092 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69093 if test "x$ac_cv_func_log10f" = x""yes; then :
69094 cat >>confdefs.h <<_ACEOF
69095 #define HAVE_LOG10F 1
69096 _ACEOF
69099 done
69101 else
69103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69104 $as_echo_n "checking for _log10f declaration... " >&6; }
69105 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69106 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69107 $as_echo_n "(cached) " >&6
69108 else
69111 ac_ext=cpp
69112 ac_cpp='$CXXCPP $CPPFLAGS'
69113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69118 /* end confdefs.h. */
69119 #include <math.h>
69120 #ifdef HAVE_IEEEFP_H
69121 #include <ieeefp.h>
69122 #endif
69125 main ()
69127 _log10f(0);
69129 return 0;
69131 _ACEOF
69132 if ac_fn_cxx_try_compile "$LINENO"; then :
69133 glibcxx_cv_func__log10f_use=yes
69134 else
69135 glibcxx_cv_func__log10f_use=no
69137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69138 ac_ext=c
69139 ac_cpp='$CPP $CPPFLAGS'
69140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69149 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69151 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69152 for ac_func in _log10f
69153 do :
69154 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69155 if test "x$ac_cv_func__log10f" = x""yes; then :
69156 cat >>confdefs.h <<_ACEOF
69157 #define HAVE__LOG10F 1
69158 _ACEOF
69161 done
69170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69171 $as_echo_n "checking for modff declaration... " >&6; }
69172 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69173 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69174 $as_echo_n "(cached) " >&6
69175 else
69178 ac_ext=cpp
69179 ac_cpp='$CXXCPP $CPPFLAGS'
69180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69185 /* end confdefs.h. */
69186 #include <math.h>
69188 main ()
69190 modff(0, 0);
69192 return 0;
69194 _ACEOF
69195 if ac_fn_cxx_try_compile "$LINENO"; then :
69196 glibcxx_cv_func_modff_use=yes
69197 else
69198 glibcxx_cv_func_modff_use=no
69200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69201 ac_ext=c
69202 ac_cpp='$CPP $CPPFLAGS'
69203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69212 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69214 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69215 for ac_func in modff
69216 do :
69217 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69218 if test "x$ac_cv_func_modff" = x""yes; then :
69219 cat >>confdefs.h <<_ACEOF
69220 #define HAVE_MODFF 1
69221 _ACEOF
69224 done
69226 else
69228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69229 $as_echo_n "checking for _modff declaration... " >&6; }
69230 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69231 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69232 $as_echo_n "(cached) " >&6
69233 else
69236 ac_ext=cpp
69237 ac_cpp='$CXXCPP $CPPFLAGS'
69238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69243 /* end confdefs.h. */
69244 #include <math.h>
69246 main ()
69248 _modff(0, 0);
69250 return 0;
69252 _ACEOF
69253 if ac_fn_cxx_try_compile "$LINENO"; then :
69254 glibcxx_cv_func__modff_use=yes
69255 else
69256 glibcxx_cv_func__modff_use=no
69258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69259 ac_ext=c
69260 ac_cpp='$CPP $CPPFLAGS'
69261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69270 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69272 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69273 for ac_func in _modff
69274 do :
69275 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69276 if test "x$ac_cv_func__modff" = x""yes; then :
69277 cat >>confdefs.h <<_ACEOF
69278 #define HAVE__MODFF 1
69279 _ACEOF
69282 done
69291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69292 $as_echo_n "checking for modf declaration... " >&6; }
69293 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69294 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69295 $as_echo_n "(cached) " >&6
69296 else
69299 ac_ext=cpp
69300 ac_cpp='$CXXCPP $CPPFLAGS'
69301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69306 /* end confdefs.h. */
69307 #include <math.h>
69309 main ()
69311 modf(0, 0);
69313 return 0;
69315 _ACEOF
69316 if ac_fn_cxx_try_compile "$LINENO"; then :
69317 glibcxx_cv_func_modf_use=yes
69318 else
69319 glibcxx_cv_func_modf_use=no
69321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69322 ac_ext=c
69323 ac_cpp='$CPP $CPPFLAGS'
69324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69333 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69335 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69336 for ac_func in modf
69337 do :
69338 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69339 if test "x$ac_cv_func_modf" = x""yes; then :
69340 cat >>confdefs.h <<_ACEOF
69341 #define HAVE_MODF 1
69342 _ACEOF
69345 done
69347 else
69349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69350 $as_echo_n "checking for _modf declaration... " >&6; }
69351 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69352 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69353 $as_echo_n "(cached) " >&6
69354 else
69357 ac_ext=cpp
69358 ac_cpp='$CXXCPP $CPPFLAGS'
69359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69364 /* end confdefs.h. */
69365 #include <math.h>
69367 main ()
69369 _modf(0, 0);
69371 return 0;
69373 _ACEOF
69374 if ac_fn_cxx_try_compile "$LINENO"; then :
69375 glibcxx_cv_func__modf_use=yes
69376 else
69377 glibcxx_cv_func__modf_use=no
69379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69380 ac_ext=c
69381 ac_cpp='$CPP $CPPFLAGS'
69382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69391 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69393 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69394 for ac_func in _modf
69395 do :
69396 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69397 if test "x$ac_cv_func__modf" = x""yes; then :
69398 cat >>confdefs.h <<_ACEOF
69399 #define HAVE__MODF 1
69400 _ACEOF
69403 done
69412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69413 $as_echo_n "checking for powf declaration... " >&6; }
69414 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69415 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69416 $as_echo_n "(cached) " >&6
69417 else
69420 ac_ext=cpp
69421 ac_cpp='$CXXCPP $CPPFLAGS'
69422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69427 /* end confdefs.h. */
69428 #include <math.h>
69430 main ()
69432 powf(0, 0);
69434 return 0;
69436 _ACEOF
69437 if ac_fn_cxx_try_compile "$LINENO"; then :
69438 glibcxx_cv_func_powf_use=yes
69439 else
69440 glibcxx_cv_func_powf_use=no
69442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69443 ac_ext=c
69444 ac_cpp='$CPP $CPPFLAGS'
69445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69454 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69456 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69457 for ac_func in powf
69458 do :
69459 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69460 if test "x$ac_cv_func_powf" = x""yes; then :
69461 cat >>confdefs.h <<_ACEOF
69462 #define HAVE_POWF 1
69463 _ACEOF
69466 done
69468 else
69470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69471 $as_echo_n "checking for _powf declaration... " >&6; }
69472 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69473 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69474 $as_echo_n "(cached) " >&6
69475 else
69478 ac_ext=cpp
69479 ac_cpp='$CXXCPP $CPPFLAGS'
69480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69485 /* end confdefs.h. */
69486 #include <math.h>
69488 main ()
69490 _powf(0, 0);
69492 return 0;
69494 _ACEOF
69495 if ac_fn_cxx_try_compile "$LINENO"; then :
69496 glibcxx_cv_func__powf_use=yes
69497 else
69498 glibcxx_cv_func__powf_use=no
69500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69501 ac_ext=c
69502 ac_cpp='$CPP $CPPFLAGS'
69503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69512 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69514 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69515 for ac_func in _powf
69516 do :
69517 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69518 if test "x$ac_cv_func__powf" = x""yes; then :
69519 cat >>confdefs.h <<_ACEOF
69520 #define HAVE__POWF 1
69521 _ACEOF
69524 done
69533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69534 $as_echo_n "checking for sqrtf declaration... " >&6; }
69535 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69536 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69537 $as_echo_n "(cached) " >&6
69538 else
69541 ac_ext=cpp
69542 ac_cpp='$CXXCPP $CPPFLAGS'
69543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69548 /* end confdefs.h. */
69549 #include <math.h>
69550 #ifdef HAVE_IEEEFP_H
69551 #include <ieeefp.h>
69552 #endif
69555 main ()
69557 sqrtf(0);
69559 return 0;
69561 _ACEOF
69562 if ac_fn_cxx_try_compile "$LINENO"; then :
69563 glibcxx_cv_func_sqrtf_use=yes
69564 else
69565 glibcxx_cv_func_sqrtf_use=no
69567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69568 ac_ext=c
69569 ac_cpp='$CPP $CPPFLAGS'
69570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69579 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69581 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69582 for ac_func in sqrtf
69583 do :
69584 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69585 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69586 cat >>confdefs.h <<_ACEOF
69587 #define HAVE_SQRTF 1
69588 _ACEOF
69591 done
69593 else
69595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69596 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69597 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69598 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69599 $as_echo_n "(cached) " >&6
69600 else
69603 ac_ext=cpp
69604 ac_cpp='$CXXCPP $CPPFLAGS'
69605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69610 /* end confdefs.h. */
69611 #include <math.h>
69612 #ifdef HAVE_IEEEFP_H
69613 #include <ieeefp.h>
69614 #endif
69617 main ()
69619 _sqrtf(0);
69621 return 0;
69623 _ACEOF
69624 if ac_fn_cxx_try_compile "$LINENO"; then :
69625 glibcxx_cv_func__sqrtf_use=yes
69626 else
69627 glibcxx_cv_func__sqrtf_use=no
69629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69630 ac_ext=c
69631 ac_cpp='$CPP $CPPFLAGS'
69632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69641 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69643 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69644 for ac_func in _sqrtf
69645 do :
69646 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69647 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69648 cat >>confdefs.h <<_ACEOF
69649 #define HAVE__SQRTF 1
69650 _ACEOF
69653 done
69662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69663 $as_echo_n "checking for sincosf declaration... " >&6; }
69664 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69665 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69666 $as_echo_n "(cached) " >&6
69667 else
69670 ac_ext=cpp
69671 ac_cpp='$CXXCPP $CPPFLAGS'
69672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69677 /* end confdefs.h. */
69678 #include <math.h>
69680 main ()
69682 sincosf(0, 0, 0);
69684 return 0;
69686 _ACEOF
69687 if ac_fn_cxx_try_compile "$LINENO"; then :
69688 glibcxx_cv_func_sincosf_use=yes
69689 else
69690 glibcxx_cv_func_sincosf_use=no
69692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69693 ac_ext=c
69694 ac_cpp='$CPP $CPPFLAGS'
69695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69704 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69706 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69707 for ac_func in sincosf
69708 do :
69709 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69710 if test "x$ac_cv_func_sincosf" = x""yes; then :
69711 cat >>confdefs.h <<_ACEOF
69712 #define HAVE_SINCOSF 1
69713 _ACEOF
69716 done
69718 else
69720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69721 $as_echo_n "checking for _sincosf declaration... " >&6; }
69722 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69723 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69724 $as_echo_n "(cached) " >&6
69725 else
69728 ac_ext=cpp
69729 ac_cpp='$CXXCPP $CPPFLAGS'
69730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69735 /* end confdefs.h. */
69736 #include <math.h>
69738 main ()
69740 _sincosf(0, 0, 0);
69742 return 0;
69744 _ACEOF
69745 if ac_fn_cxx_try_compile "$LINENO"; then :
69746 glibcxx_cv_func__sincosf_use=yes
69747 else
69748 glibcxx_cv_func__sincosf_use=no
69750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69751 ac_ext=c
69752 ac_cpp='$CPP $CPPFLAGS'
69753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69762 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69764 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69765 for ac_func in _sincosf
69766 do :
69767 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69768 if test "x$ac_cv_func__sincosf" = x""yes; then :
69769 cat >>confdefs.h <<_ACEOF
69770 #define HAVE__SINCOSF 1
69771 _ACEOF
69774 done
69783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69784 $as_echo_n "checking for finitef declaration... " >&6; }
69785 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69786 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69787 $as_echo_n "(cached) " >&6
69788 else
69791 ac_ext=cpp
69792 ac_cpp='$CXXCPP $CPPFLAGS'
69793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69798 /* end confdefs.h. */
69799 #include <math.h>
69800 #ifdef HAVE_IEEEFP_H
69801 #include <ieeefp.h>
69802 #endif
69805 main ()
69807 finitef(0);
69809 return 0;
69811 _ACEOF
69812 if ac_fn_cxx_try_compile "$LINENO"; then :
69813 glibcxx_cv_func_finitef_use=yes
69814 else
69815 glibcxx_cv_func_finitef_use=no
69817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69818 ac_ext=c
69819 ac_cpp='$CPP $CPPFLAGS'
69820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69829 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69831 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69832 for ac_func in finitef
69833 do :
69834 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69835 if test "x$ac_cv_func_finitef" = x""yes; then :
69836 cat >>confdefs.h <<_ACEOF
69837 #define HAVE_FINITEF 1
69838 _ACEOF
69841 done
69843 else
69845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69846 $as_echo_n "checking for _finitef declaration... " >&6; }
69847 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69848 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69849 $as_echo_n "(cached) " >&6
69850 else
69853 ac_ext=cpp
69854 ac_cpp='$CXXCPP $CPPFLAGS'
69855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69860 /* end confdefs.h. */
69861 #include <math.h>
69862 #ifdef HAVE_IEEEFP_H
69863 #include <ieeefp.h>
69864 #endif
69867 main ()
69869 _finitef(0);
69871 return 0;
69873 _ACEOF
69874 if ac_fn_cxx_try_compile "$LINENO"; then :
69875 glibcxx_cv_func__finitef_use=yes
69876 else
69877 glibcxx_cv_func__finitef_use=no
69879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69880 ac_ext=c
69881 ac_cpp='$CPP $CPPFLAGS'
69882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69891 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69893 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69894 for ac_func in _finitef
69895 do :
69896 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69897 if test "x$ac_cv_func__finitef" = x""yes; then :
69898 cat >>confdefs.h <<_ACEOF
69899 #define HAVE__FINITEF 1
69900 _ACEOF
69903 done
69912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69913 $as_echo_n "checking for long double trig functions... " >&6; }
69914 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69915 $as_echo_n "(cached) " >&6
69916 else
69919 ac_ext=cpp
69920 ac_cpp='$CXXCPP $CPPFLAGS'
69921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69926 /* end confdefs.h. */
69927 #include <math.h>
69929 main ()
69931 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69933 return 0;
69935 _ACEOF
69936 if ac_fn_cxx_try_compile "$LINENO"; then :
69937 glibcxx_cv_func_long_double_trig_use=yes
69938 else
69939 glibcxx_cv_func_long_double_trig_use=no
69941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69942 ac_ext=c
69943 ac_cpp='$CPP $CPPFLAGS'
69944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69951 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69952 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69953 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69954 do :
69955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69957 eval as_val=\$$as_ac_var
69958 if test "x$as_val" = x""yes; then :
69959 cat >>confdefs.h <<_ACEOF
69960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69961 _ACEOF
69964 done
69966 else
69967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69968 $as_echo_n "checking for _long double trig functions... " >&6; }
69969 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69970 $as_echo_n "(cached) " >&6
69971 else
69974 ac_ext=cpp
69975 ac_cpp='$CXXCPP $CPPFLAGS'
69976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69981 /* end confdefs.h. */
69982 #include <math.h>
69984 main ()
69986 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69988 return 0;
69990 _ACEOF
69991 if ac_fn_cxx_try_compile "$LINENO"; then :
69992 glibcxx_cv_func__long_double_trig_use=yes
69993 else
69994 glibcxx_cv_func__long_double_trig_use=no
69996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69997 ac_ext=c
69998 ac_cpp='$CPP $CPPFLAGS'
69999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70006 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70007 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70008 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70009 do :
70010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70012 eval as_val=\$$as_ac_var
70013 if test "x$as_val" = x""yes; then :
70014 cat >>confdefs.h <<_ACEOF
70015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70016 _ACEOF
70019 done
70028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70029 $as_echo_n "checking for long double round functions... " >&6; }
70030 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70031 $as_echo_n "(cached) " >&6
70032 else
70035 ac_ext=cpp
70036 ac_cpp='$CXXCPP $CPPFLAGS'
70037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70042 /* end confdefs.h. */
70043 #include <math.h>
70045 main ()
70047 ceill (0); floorl (0);
70049 return 0;
70051 _ACEOF
70052 if ac_fn_cxx_try_compile "$LINENO"; then :
70053 glibcxx_cv_func_long_double_round_use=yes
70054 else
70055 glibcxx_cv_func_long_double_round_use=no
70057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70058 ac_ext=c
70059 ac_cpp='$CPP $CPPFLAGS'
70060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70067 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70068 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70069 for ac_func in ceill floorl
70070 do :
70071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70073 eval as_val=\$$as_ac_var
70074 if test "x$as_val" = x""yes; then :
70075 cat >>confdefs.h <<_ACEOF
70076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70077 _ACEOF
70080 done
70082 else
70083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70084 $as_echo_n "checking for _long double round functions... " >&6; }
70085 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70086 $as_echo_n "(cached) " >&6
70087 else
70090 ac_ext=cpp
70091 ac_cpp='$CXXCPP $CPPFLAGS'
70092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70097 /* end confdefs.h. */
70098 #include <math.h>
70100 main ()
70102 _ceill (0); _floorl (0);
70104 return 0;
70106 _ACEOF
70107 if ac_fn_cxx_try_compile "$LINENO"; then :
70108 glibcxx_cv_func__long_double_round_use=yes
70109 else
70110 glibcxx_cv_func__long_double_round_use=no
70112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70113 ac_ext=c
70114 ac_cpp='$CPP $CPPFLAGS'
70115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70122 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70123 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70124 for ac_func in _ceill _floorl
70125 do :
70126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70128 eval as_val=\$$as_ac_var
70129 if test "x$as_val" = x""yes; then :
70130 cat >>confdefs.h <<_ACEOF
70131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70132 _ACEOF
70135 done
70145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70146 $as_echo_n "checking for isnanl declaration... " >&6; }
70147 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70148 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70149 $as_echo_n "(cached) " >&6
70150 else
70153 ac_ext=cpp
70154 ac_cpp='$CXXCPP $CPPFLAGS'
70155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70160 /* end confdefs.h. */
70161 #include <math.h>
70162 #ifdef HAVE_IEEEFP_H
70163 #include <ieeefp.h>
70164 #endif
70167 main ()
70169 isnanl(0);
70171 return 0;
70173 _ACEOF
70174 if ac_fn_cxx_try_compile "$LINENO"; then :
70175 glibcxx_cv_func_isnanl_use=yes
70176 else
70177 glibcxx_cv_func_isnanl_use=no
70179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70180 ac_ext=c
70181 ac_cpp='$CPP $CPPFLAGS'
70182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70191 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70193 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70194 for ac_func in isnanl
70195 do :
70196 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70197 if test "x$ac_cv_func_isnanl" = x""yes; then :
70198 cat >>confdefs.h <<_ACEOF
70199 #define HAVE_ISNANL 1
70200 _ACEOF
70203 done
70205 else
70207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70208 $as_echo_n "checking for _isnanl declaration... " >&6; }
70209 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70210 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70211 $as_echo_n "(cached) " >&6
70212 else
70215 ac_ext=cpp
70216 ac_cpp='$CXXCPP $CPPFLAGS'
70217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70222 /* end confdefs.h. */
70223 #include <math.h>
70224 #ifdef HAVE_IEEEFP_H
70225 #include <ieeefp.h>
70226 #endif
70229 main ()
70231 _isnanl(0);
70233 return 0;
70235 _ACEOF
70236 if ac_fn_cxx_try_compile "$LINENO"; then :
70237 glibcxx_cv_func__isnanl_use=yes
70238 else
70239 glibcxx_cv_func__isnanl_use=no
70241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70242 ac_ext=c
70243 ac_cpp='$CPP $CPPFLAGS'
70244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70253 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70255 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70256 for ac_func in _isnanl
70257 do :
70258 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70259 if test "x$ac_cv_func__isnanl" = x""yes; then :
70260 cat >>confdefs.h <<_ACEOF
70261 #define HAVE__ISNANL 1
70262 _ACEOF
70265 done
70274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70275 $as_echo_n "checking for isinfl declaration... " >&6; }
70276 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70277 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70278 $as_echo_n "(cached) " >&6
70279 else
70282 ac_ext=cpp
70283 ac_cpp='$CXXCPP $CPPFLAGS'
70284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70289 /* end confdefs.h. */
70290 #include <math.h>
70291 #ifdef HAVE_IEEEFP_H
70292 #include <ieeefp.h>
70293 #endif
70296 main ()
70298 isinfl(0);
70300 return 0;
70302 _ACEOF
70303 if ac_fn_cxx_try_compile "$LINENO"; then :
70304 glibcxx_cv_func_isinfl_use=yes
70305 else
70306 glibcxx_cv_func_isinfl_use=no
70308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70309 ac_ext=c
70310 ac_cpp='$CPP $CPPFLAGS'
70311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70320 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70322 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70323 for ac_func in isinfl
70324 do :
70325 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70326 if test "x$ac_cv_func_isinfl" = x""yes; then :
70327 cat >>confdefs.h <<_ACEOF
70328 #define HAVE_ISINFL 1
70329 _ACEOF
70332 done
70334 else
70336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70337 $as_echo_n "checking for _isinfl declaration... " >&6; }
70338 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70339 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70340 $as_echo_n "(cached) " >&6
70341 else
70344 ac_ext=cpp
70345 ac_cpp='$CXXCPP $CPPFLAGS'
70346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70351 /* end confdefs.h. */
70352 #include <math.h>
70353 #ifdef HAVE_IEEEFP_H
70354 #include <ieeefp.h>
70355 #endif
70358 main ()
70360 _isinfl(0);
70362 return 0;
70364 _ACEOF
70365 if ac_fn_cxx_try_compile "$LINENO"; then :
70366 glibcxx_cv_func__isinfl_use=yes
70367 else
70368 glibcxx_cv_func__isinfl_use=no
70370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70371 ac_ext=c
70372 ac_cpp='$CPP $CPPFLAGS'
70373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70382 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70384 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70385 for ac_func in _isinfl
70386 do :
70387 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70388 if test "x$ac_cv_func__isinfl" = x""yes; then :
70389 cat >>confdefs.h <<_ACEOF
70390 #define HAVE__ISINFL 1
70391 _ACEOF
70394 done
70403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70404 $as_echo_n "checking for atan2l declaration... " >&6; }
70405 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70406 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70407 $as_echo_n "(cached) " >&6
70408 else
70411 ac_ext=cpp
70412 ac_cpp='$CXXCPP $CPPFLAGS'
70413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70418 /* end confdefs.h. */
70419 #include <math.h>
70421 main ()
70423 atan2l(0, 0);
70425 return 0;
70427 _ACEOF
70428 if ac_fn_cxx_try_compile "$LINENO"; then :
70429 glibcxx_cv_func_atan2l_use=yes
70430 else
70431 glibcxx_cv_func_atan2l_use=no
70433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70434 ac_ext=c
70435 ac_cpp='$CPP $CPPFLAGS'
70436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70445 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70447 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70448 for ac_func in atan2l
70449 do :
70450 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70451 if test "x$ac_cv_func_atan2l" = x""yes; then :
70452 cat >>confdefs.h <<_ACEOF
70453 #define HAVE_ATAN2L 1
70454 _ACEOF
70457 done
70459 else
70461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70462 $as_echo_n "checking for _atan2l declaration... " >&6; }
70463 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70464 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70465 $as_echo_n "(cached) " >&6
70466 else
70469 ac_ext=cpp
70470 ac_cpp='$CXXCPP $CPPFLAGS'
70471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70476 /* end confdefs.h. */
70477 #include <math.h>
70479 main ()
70481 _atan2l(0, 0);
70483 return 0;
70485 _ACEOF
70486 if ac_fn_cxx_try_compile "$LINENO"; then :
70487 glibcxx_cv_func__atan2l_use=yes
70488 else
70489 glibcxx_cv_func__atan2l_use=no
70491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70492 ac_ext=c
70493 ac_cpp='$CPP $CPPFLAGS'
70494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70503 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70505 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70506 for ac_func in _atan2l
70507 do :
70508 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70509 if test "x$ac_cv_func__atan2l" = x""yes; then :
70510 cat >>confdefs.h <<_ACEOF
70511 #define HAVE__ATAN2L 1
70512 _ACEOF
70515 done
70524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70525 $as_echo_n "checking for expl declaration... " >&6; }
70526 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70527 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70528 $as_echo_n "(cached) " >&6
70529 else
70532 ac_ext=cpp
70533 ac_cpp='$CXXCPP $CPPFLAGS'
70534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70539 /* end confdefs.h. */
70540 #include <math.h>
70541 #ifdef HAVE_IEEEFP_H
70542 #include <ieeefp.h>
70543 #endif
70546 main ()
70548 expl(0);
70550 return 0;
70552 _ACEOF
70553 if ac_fn_cxx_try_compile "$LINENO"; then :
70554 glibcxx_cv_func_expl_use=yes
70555 else
70556 glibcxx_cv_func_expl_use=no
70558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70559 ac_ext=c
70560 ac_cpp='$CPP $CPPFLAGS'
70561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70570 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70572 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70573 for ac_func in expl
70574 do :
70575 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70576 if test "x$ac_cv_func_expl" = x""yes; then :
70577 cat >>confdefs.h <<_ACEOF
70578 #define HAVE_EXPL 1
70579 _ACEOF
70582 done
70584 else
70586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70587 $as_echo_n "checking for _expl declaration... " >&6; }
70588 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70589 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70590 $as_echo_n "(cached) " >&6
70591 else
70594 ac_ext=cpp
70595 ac_cpp='$CXXCPP $CPPFLAGS'
70596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70601 /* end confdefs.h. */
70602 #include <math.h>
70603 #ifdef HAVE_IEEEFP_H
70604 #include <ieeefp.h>
70605 #endif
70608 main ()
70610 _expl(0);
70612 return 0;
70614 _ACEOF
70615 if ac_fn_cxx_try_compile "$LINENO"; then :
70616 glibcxx_cv_func__expl_use=yes
70617 else
70618 glibcxx_cv_func__expl_use=no
70620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70621 ac_ext=c
70622 ac_cpp='$CPP $CPPFLAGS'
70623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70632 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70634 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70635 for ac_func in _expl
70636 do :
70637 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70638 if test "x$ac_cv_func__expl" = x""yes; then :
70639 cat >>confdefs.h <<_ACEOF
70640 #define HAVE__EXPL 1
70641 _ACEOF
70644 done
70653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70654 $as_echo_n "checking for fabsl declaration... " >&6; }
70655 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70656 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70657 $as_echo_n "(cached) " >&6
70658 else
70661 ac_ext=cpp
70662 ac_cpp='$CXXCPP $CPPFLAGS'
70663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70668 /* end confdefs.h. */
70669 #include <math.h>
70670 #ifdef HAVE_IEEEFP_H
70671 #include <ieeefp.h>
70672 #endif
70675 main ()
70677 fabsl(0);
70679 return 0;
70681 _ACEOF
70682 if ac_fn_cxx_try_compile "$LINENO"; then :
70683 glibcxx_cv_func_fabsl_use=yes
70684 else
70685 glibcxx_cv_func_fabsl_use=no
70687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70688 ac_ext=c
70689 ac_cpp='$CPP $CPPFLAGS'
70690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70699 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70701 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70702 for ac_func in fabsl
70703 do :
70704 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70705 if test "x$ac_cv_func_fabsl" = x""yes; then :
70706 cat >>confdefs.h <<_ACEOF
70707 #define HAVE_FABSL 1
70708 _ACEOF
70711 done
70713 else
70715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70716 $as_echo_n "checking for _fabsl declaration... " >&6; }
70717 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70718 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70719 $as_echo_n "(cached) " >&6
70720 else
70723 ac_ext=cpp
70724 ac_cpp='$CXXCPP $CPPFLAGS'
70725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70730 /* end confdefs.h. */
70731 #include <math.h>
70732 #ifdef HAVE_IEEEFP_H
70733 #include <ieeefp.h>
70734 #endif
70737 main ()
70739 _fabsl(0);
70741 return 0;
70743 _ACEOF
70744 if ac_fn_cxx_try_compile "$LINENO"; then :
70745 glibcxx_cv_func__fabsl_use=yes
70746 else
70747 glibcxx_cv_func__fabsl_use=no
70749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70750 ac_ext=c
70751 ac_cpp='$CPP $CPPFLAGS'
70752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70761 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70763 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70764 for ac_func in _fabsl
70765 do :
70766 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70767 if test "x$ac_cv_func__fabsl" = x""yes; then :
70768 cat >>confdefs.h <<_ACEOF
70769 #define HAVE__FABSL 1
70770 _ACEOF
70773 done
70782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70783 $as_echo_n "checking for fmodl declaration... " >&6; }
70784 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70785 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70786 $as_echo_n "(cached) " >&6
70787 else
70790 ac_ext=cpp
70791 ac_cpp='$CXXCPP $CPPFLAGS'
70792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70797 /* end confdefs.h. */
70798 #include <math.h>
70800 main ()
70802 fmodl(0, 0);
70804 return 0;
70806 _ACEOF
70807 if ac_fn_cxx_try_compile "$LINENO"; then :
70808 glibcxx_cv_func_fmodl_use=yes
70809 else
70810 glibcxx_cv_func_fmodl_use=no
70812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70813 ac_ext=c
70814 ac_cpp='$CPP $CPPFLAGS'
70815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70824 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70826 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70827 for ac_func in fmodl
70828 do :
70829 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70830 if test "x$ac_cv_func_fmodl" = x""yes; then :
70831 cat >>confdefs.h <<_ACEOF
70832 #define HAVE_FMODL 1
70833 _ACEOF
70836 done
70838 else
70840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70841 $as_echo_n "checking for _fmodl declaration... " >&6; }
70842 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70843 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70844 $as_echo_n "(cached) " >&6
70845 else
70848 ac_ext=cpp
70849 ac_cpp='$CXXCPP $CPPFLAGS'
70850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70855 /* end confdefs.h. */
70856 #include <math.h>
70858 main ()
70860 _fmodl(0, 0);
70862 return 0;
70864 _ACEOF
70865 if ac_fn_cxx_try_compile "$LINENO"; then :
70866 glibcxx_cv_func__fmodl_use=yes
70867 else
70868 glibcxx_cv_func__fmodl_use=no
70870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70871 ac_ext=c
70872 ac_cpp='$CPP $CPPFLAGS'
70873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70882 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70884 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70885 for ac_func in _fmodl
70886 do :
70887 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70888 if test "x$ac_cv_func__fmodl" = x""yes; then :
70889 cat >>confdefs.h <<_ACEOF
70890 #define HAVE__FMODL 1
70891 _ACEOF
70894 done
70903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70904 $as_echo_n "checking for frexpl declaration... " >&6; }
70905 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70906 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70907 $as_echo_n "(cached) " >&6
70908 else
70911 ac_ext=cpp
70912 ac_cpp='$CXXCPP $CPPFLAGS'
70913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70918 /* end confdefs.h. */
70919 #include <math.h>
70921 main ()
70923 frexpl(0, 0);
70925 return 0;
70927 _ACEOF
70928 if ac_fn_cxx_try_compile "$LINENO"; then :
70929 glibcxx_cv_func_frexpl_use=yes
70930 else
70931 glibcxx_cv_func_frexpl_use=no
70933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70934 ac_ext=c
70935 ac_cpp='$CPP $CPPFLAGS'
70936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70945 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70947 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70948 for ac_func in frexpl
70949 do :
70950 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70951 if test "x$ac_cv_func_frexpl" = x""yes; then :
70952 cat >>confdefs.h <<_ACEOF
70953 #define HAVE_FREXPL 1
70954 _ACEOF
70957 done
70959 else
70961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70962 $as_echo_n "checking for _frexpl declaration... " >&6; }
70963 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70964 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70965 $as_echo_n "(cached) " >&6
70966 else
70969 ac_ext=cpp
70970 ac_cpp='$CXXCPP $CPPFLAGS'
70971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70976 /* end confdefs.h. */
70977 #include <math.h>
70979 main ()
70981 _frexpl(0, 0);
70983 return 0;
70985 _ACEOF
70986 if ac_fn_cxx_try_compile "$LINENO"; then :
70987 glibcxx_cv_func__frexpl_use=yes
70988 else
70989 glibcxx_cv_func__frexpl_use=no
70991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70992 ac_ext=c
70993 ac_cpp='$CPP $CPPFLAGS'
70994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71003 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71005 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71006 for ac_func in _frexpl
71007 do :
71008 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71009 if test "x$ac_cv_func__frexpl" = x""yes; then :
71010 cat >>confdefs.h <<_ACEOF
71011 #define HAVE__FREXPL 1
71012 _ACEOF
71015 done
71024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71025 $as_echo_n "checking for hypotl declaration... " >&6; }
71026 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71027 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71028 $as_echo_n "(cached) " >&6
71029 else
71032 ac_ext=cpp
71033 ac_cpp='$CXXCPP $CPPFLAGS'
71034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71039 /* end confdefs.h. */
71040 #include <math.h>
71042 main ()
71044 hypotl(0, 0);
71046 return 0;
71048 _ACEOF
71049 if ac_fn_cxx_try_compile "$LINENO"; then :
71050 glibcxx_cv_func_hypotl_use=yes
71051 else
71052 glibcxx_cv_func_hypotl_use=no
71054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71055 ac_ext=c
71056 ac_cpp='$CPP $CPPFLAGS'
71057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71066 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71068 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71069 for ac_func in hypotl
71070 do :
71071 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71072 if test "x$ac_cv_func_hypotl" = x""yes; then :
71073 cat >>confdefs.h <<_ACEOF
71074 #define HAVE_HYPOTL 1
71075 _ACEOF
71078 done
71080 else
71082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71083 $as_echo_n "checking for _hypotl declaration... " >&6; }
71084 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71085 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71086 $as_echo_n "(cached) " >&6
71087 else
71090 ac_ext=cpp
71091 ac_cpp='$CXXCPP $CPPFLAGS'
71092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71097 /* end confdefs.h. */
71098 #include <math.h>
71100 main ()
71102 _hypotl(0, 0);
71104 return 0;
71106 _ACEOF
71107 if ac_fn_cxx_try_compile "$LINENO"; then :
71108 glibcxx_cv_func__hypotl_use=yes
71109 else
71110 glibcxx_cv_func__hypotl_use=no
71112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71113 ac_ext=c
71114 ac_cpp='$CPP $CPPFLAGS'
71115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71124 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71126 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71127 for ac_func in _hypotl
71128 do :
71129 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71130 if test "x$ac_cv_func__hypotl" = x""yes; then :
71131 cat >>confdefs.h <<_ACEOF
71132 #define HAVE__HYPOTL 1
71133 _ACEOF
71136 done
71145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71146 $as_echo_n "checking for ldexpl declaration... " >&6; }
71147 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71148 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71149 $as_echo_n "(cached) " >&6
71150 else
71153 ac_ext=cpp
71154 ac_cpp='$CXXCPP $CPPFLAGS'
71155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71160 /* end confdefs.h. */
71161 #include <math.h>
71163 main ()
71165 ldexpl(0, 0);
71167 return 0;
71169 _ACEOF
71170 if ac_fn_cxx_try_compile "$LINENO"; then :
71171 glibcxx_cv_func_ldexpl_use=yes
71172 else
71173 glibcxx_cv_func_ldexpl_use=no
71175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71176 ac_ext=c
71177 ac_cpp='$CPP $CPPFLAGS'
71178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71187 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71189 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71190 for ac_func in ldexpl
71191 do :
71192 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71193 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71194 cat >>confdefs.h <<_ACEOF
71195 #define HAVE_LDEXPL 1
71196 _ACEOF
71199 done
71201 else
71203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71204 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71205 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71206 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71207 $as_echo_n "(cached) " >&6
71208 else
71211 ac_ext=cpp
71212 ac_cpp='$CXXCPP $CPPFLAGS'
71213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71218 /* end confdefs.h. */
71219 #include <math.h>
71221 main ()
71223 _ldexpl(0, 0);
71225 return 0;
71227 _ACEOF
71228 if ac_fn_cxx_try_compile "$LINENO"; then :
71229 glibcxx_cv_func__ldexpl_use=yes
71230 else
71231 glibcxx_cv_func__ldexpl_use=no
71233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71234 ac_ext=c
71235 ac_cpp='$CPP $CPPFLAGS'
71236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71245 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71247 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71248 for ac_func in _ldexpl
71249 do :
71250 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71251 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71252 cat >>confdefs.h <<_ACEOF
71253 #define HAVE__LDEXPL 1
71254 _ACEOF
71257 done
71266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71267 $as_echo_n "checking for logl declaration... " >&6; }
71268 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71269 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71270 $as_echo_n "(cached) " >&6
71271 else
71274 ac_ext=cpp
71275 ac_cpp='$CXXCPP $CPPFLAGS'
71276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71281 /* end confdefs.h. */
71282 #include <math.h>
71283 #ifdef HAVE_IEEEFP_H
71284 #include <ieeefp.h>
71285 #endif
71288 main ()
71290 logl(0);
71292 return 0;
71294 _ACEOF
71295 if ac_fn_cxx_try_compile "$LINENO"; then :
71296 glibcxx_cv_func_logl_use=yes
71297 else
71298 glibcxx_cv_func_logl_use=no
71300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71301 ac_ext=c
71302 ac_cpp='$CPP $CPPFLAGS'
71303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71312 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71314 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71315 for ac_func in logl
71316 do :
71317 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71318 if test "x$ac_cv_func_logl" = x""yes; then :
71319 cat >>confdefs.h <<_ACEOF
71320 #define HAVE_LOGL 1
71321 _ACEOF
71324 done
71326 else
71328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71329 $as_echo_n "checking for _logl declaration... " >&6; }
71330 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71331 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71332 $as_echo_n "(cached) " >&6
71333 else
71336 ac_ext=cpp
71337 ac_cpp='$CXXCPP $CPPFLAGS'
71338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71343 /* end confdefs.h. */
71344 #include <math.h>
71345 #ifdef HAVE_IEEEFP_H
71346 #include <ieeefp.h>
71347 #endif
71350 main ()
71352 _logl(0);
71354 return 0;
71356 _ACEOF
71357 if ac_fn_cxx_try_compile "$LINENO"; then :
71358 glibcxx_cv_func__logl_use=yes
71359 else
71360 glibcxx_cv_func__logl_use=no
71362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71363 ac_ext=c
71364 ac_cpp='$CPP $CPPFLAGS'
71365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71374 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71376 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71377 for ac_func in _logl
71378 do :
71379 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71380 if test "x$ac_cv_func__logl" = x""yes; then :
71381 cat >>confdefs.h <<_ACEOF
71382 #define HAVE__LOGL 1
71383 _ACEOF
71386 done
71395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71396 $as_echo_n "checking for log10l declaration... " >&6; }
71397 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71398 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71399 $as_echo_n "(cached) " >&6
71400 else
71403 ac_ext=cpp
71404 ac_cpp='$CXXCPP $CPPFLAGS'
71405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71410 /* end confdefs.h. */
71411 #include <math.h>
71412 #ifdef HAVE_IEEEFP_H
71413 #include <ieeefp.h>
71414 #endif
71417 main ()
71419 log10l(0);
71421 return 0;
71423 _ACEOF
71424 if ac_fn_cxx_try_compile "$LINENO"; then :
71425 glibcxx_cv_func_log10l_use=yes
71426 else
71427 glibcxx_cv_func_log10l_use=no
71429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71430 ac_ext=c
71431 ac_cpp='$CPP $CPPFLAGS'
71432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71441 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71443 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71444 for ac_func in log10l
71445 do :
71446 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71447 if test "x$ac_cv_func_log10l" = x""yes; then :
71448 cat >>confdefs.h <<_ACEOF
71449 #define HAVE_LOG10L 1
71450 _ACEOF
71453 done
71455 else
71457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71458 $as_echo_n "checking for _log10l declaration... " >&6; }
71459 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71460 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71461 $as_echo_n "(cached) " >&6
71462 else
71465 ac_ext=cpp
71466 ac_cpp='$CXXCPP $CPPFLAGS'
71467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71472 /* end confdefs.h. */
71473 #include <math.h>
71474 #ifdef HAVE_IEEEFP_H
71475 #include <ieeefp.h>
71476 #endif
71479 main ()
71481 _log10l(0);
71483 return 0;
71485 _ACEOF
71486 if ac_fn_cxx_try_compile "$LINENO"; then :
71487 glibcxx_cv_func__log10l_use=yes
71488 else
71489 glibcxx_cv_func__log10l_use=no
71491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71492 ac_ext=c
71493 ac_cpp='$CPP $CPPFLAGS'
71494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71503 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71505 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71506 for ac_func in _log10l
71507 do :
71508 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71509 if test "x$ac_cv_func__log10l" = x""yes; then :
71510 cat >>confdefs.h <<_ACEOF
71511 #define HAVE__LOG10L 1
71512 _ACEOF
71515 done
71524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71525 $as_echo_n "checking for modfl declaration... " >&6; }
71526 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71527 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71528 $as_echo_n "(cached) " >&6
71529 else
71532 ac_ext=cpp
71533 ac_cpp='$CXXCPP $CPPFLAGS'
71534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71539 /* end confdefs.h. */
71540 #include <math.h>
71542 main ()
71544 modfl(0, 0);
71546 return 0;
71548 _ACEOF
71549 if ac_fn_cxx_try_compile "$LINENO"; then :
71550 glibcxx_cv_func_modfl_use=yes
71551 else
71552 glibcxx_cv_func_modfl_use=no
71554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71555 ac_ext=c
71556 ac_cpp='$CPP $CPPFLAGS'
71557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71566 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71568 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71569 for ac_func in modfl
71570 do :
71571 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71572 if test "x$ac_cv_func_modfl" = x""yes; then :
71573 cat >>confdefs.h <<_ACEOF
71574 #define HAVE_MODFL 1
71575 _ACEOF
71578 done
71580 else
71582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71583 $as_echo_n "checking for _modfl declaration... " >&6; }
71584 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71585 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71586 $as_echo_n "(cached) " >&6
71587 else
71590 ac_ext=cpp
71591 ac_cpp='$CXXCPP $CPPFLAGS'
71592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71597 /* end confdefs.h. */
71598 #include <math.h>
71600 main ()
71602 _modfl(0, 0);
71604 return 0;
71606 _ACEOF
71607 if ac_fn_cxx_try_compile "$LINENO"; then :
71608 glibcxx_cv_func__modfl_use=yes
71609 else
71610 glibcxx_cv_func__modfl_use=no
71612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71613 ac_ext=c
71614 ac_cpp='$CPP $CPPFLAGS'
71615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71624 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71626 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71627 for ac_func in _modfl
71628 do :
71629 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71630 if test "x$ac_cv_func__modfl" = x""yes; then :
71631 cat >>confdefs.h <<_ACEOF
71632 #define HAVE__MODFL 1
71633 _ACEOF
71636 done
71645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71646 $as_echo_n "checking for powl declaration... " >&6; }
71647 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71648 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71649 $as_echo_n "(cached) " >&6
71650 else
71653 ac_ext=cpp
71654 ac_cpp='$CXXCPP $CPPFLAGS'
71655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71660 /* end confdefs.h. */
71661 #include <math.h>
71663 main ()
71665 powl(0, 0);
71667 return 0;
71669 _ACEOF
71670 if ac_fn_cxx_try_compile "$LINENO"; then :
71671 glibcxx_cv_func_powl_use=yes
71672 else
71673 glibcxx_cv_func_powl_use=no
71675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71676 ac_ext=c
71677 ac_cpp='$CPP $CPPFLAGS'
71678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71687 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71689 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71690 for ac_func in powl
71691 do :
71692 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71693 if test "x$ac_cv_func_powl" = x""yes; then :
71694 cat >>confdefs.h <<_ACEOF
71695 #define HAVE_POWL 1
71696 _ACEOF
71699 done
71701 else
71703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71704 $as_echo_n "checking for _powl declaration... " >&6; }
71705 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71706 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71707 $as_echo_n "(cached) " >&6
71708 else
71711 ac_ext=cpp
71712 ac_cpp='$CXXCPP $CPPFLAGS'
71713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71718 /* end confdefs.h. */
71719 #include <math.h>
71721 main ()
71723 _powl(0, 0);
71725 return 0;
71727 _ACEOF
71728 if ac_fn_cxx_try_compile "$LINENO"; then :
71729 glibcxx_cv_func__powl_use=yes
71730 else
71731 glibcxx_cv_func__powl_use=no
71733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71734 ac_ext=c
71735 ac_cpp='$CPP $CPPFLAGS'
71736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71745 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71747 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71748 for ac_func in _powl
71749 do :
71750 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71751 if test "x$ac_cv_func__powl" = x""yes; then :
71752 cat >>confdefs.h <<_ACEOF
71753 #define HAVE__POWL 1
71754 _ACEOF
71757 done
71766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71767 $as_echo_n "checking for sqrtl declaration... " >&6; }
71768 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71769 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71770 $as_echo_n "(cached) " >&6
71771 else
71774 ac_ext=cpp
71775 ac_cpp='$CXXCPP $CPPFLAGS'
71776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71781 /* end confdefs.h. */
71782 #include <math.h>
71783 #ifdef HAVE_IEEEFP_H
71784 #include <ieeefp.h>
71785 #endif
71788 main ()
71790 sqrtl(0);
71792 return 0;
71794 _ACEOF
71795 if ac_fn_cxx_try_compile "$LINENO"; then :
71796 glibcxx_cv_func_sqrtl_use=yes
71797 else
71798 glibcxx_cv_func_sqrtl_use=no
71800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71801 ac_ext=c
71802 ac_cpp='$CPP $CPPFLAGS'
71803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71812 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71814 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71815 for ac_func in sqrtl
71816 do :
71817 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71818 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71819 cat >>confdefs.h <<_ACEOF
71820 #define HAVE_SQRTL 1
71821 _ACEOF
71824 done
71826 else
71828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71829 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71830 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71831 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71832 $as_echo_n "(cached) " >&6
71833 else
71836 ac_ext=cpp
71837 ac_cpp='$CXXCPP $CPPFLAGS'
71838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71843 /* end confdefs.h. */
71844 #include <math.h>
71845 #ifdef HAVE_IEEEFP_H
71846 #include <ieeefp.h>
71847 #endif
71850 main ()
71852 _sqrtl(0);
71854 return 0;
71856 _ACEOF
71857 if ac_fn_cxx_try_compile "$LINENO"; then :
71858 glibcxx_cv_func__sqrtl_use=yes
71859 else
71860 glibcxx_cv_func__sqrtl_use=no
71862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71863 ac_ext=c
71864 ac_cpp='$CPP $CPPFLAGS'
71865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71874 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71876 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71877 for ac_func in _sqrtl
71878 do :
71879 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71880 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71881 cat >>confdefs.h <<_ACEOF
71882 #define HAVE__SQRTL 1
71883 _ACEOF
71886 done
71895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71896 $as_echo_n "checking for sincosl declaration... " >&6; }
71897 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71898 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71899 $as_echo_n "(cached) " >&6
71900 else
71903 ac_ext=cpp
71904 ac_cpp='$CXXCPP $CPPFLAGS'
71905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71910 /* end confdefs.h. */
71911 #include <math.h>
71913 main ()
71915 sincosl(0, 0, 0);
71917 return 0;
71919 _ACEOF
71920 if ac_fn_cxx_try_compile "$LINENO"; then :
71921 glibcxx_cv_func_sincosl_use=yes
71922 else
71923 glibcxx_cv_func_sincosl_use=no
71925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71926 ac_ext=c
71927 ac_cpp='$CPP $CPPFLAGS'
71928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71937 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71939 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71940 for ac_func in sincosl
71941 do :
71942 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71943 if test "x$ac_cv_func_sincosl" = x""yes; then :
71944 cat >>confdefs.h <<_ACEOF
71945 #define HAVE_SINCOSL 1
71946 _ACEOF
71949 done
71951 else
71953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71954 $as_echo_n "checking for _sincosl declaration... " >&6; }
71955 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71956 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71957 $as_echo_n "(cached) " >&6
71958 else
71961 ac_ext=cpp
71962 ac_cpp='$CXXCPP $CPPFLAGS'
71963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71968 /* end confdefs.h. */
71969 #include <math.h>
71971 main ()
71973 _sincosl(0, 0, 0);
71975 return 0;
71977 _ACEOF
71978 if ac_fn_cxx_try_compile "$LINENO"; then :
71979 glibcxx_cv_func__sincosl_use=yes
71980 else
71981 glibcxx_cv_func__sincosl_use=no
71983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71984 ac_ext=c
71985 ac_cpp='$CPP $CPPFLAGS'
71986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71995 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71997 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71998 for ac_func in _sincosl
71999 do :
72000 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72001 if test "x$ac_cv_func__sincosl" = x""yes; then :
72002 cat >>confdefs.h <<_ACEOF
72003 #define HAVE__SINCOSL 1
72004 _ACEOF
72007 done
72016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72017 $as_echo_n "checking for finitel declaration... " >&6; }
72018 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72019 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72020 $as_echo_n "(cached) " >&6
72021 else
72024 ac_ext=cpp
72025 ac_cpp='$CXXCPP $CPPFLAGS'
72026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72031 /* end confdefs.h. */
72032 #include <math.h>
72033 #ifdef HAVE_IEEEFP_H
72034 #include <ieeefp.h>
72035 #endif
72038 main ()
72040 finitel(0);
72042 return 0;
72044 _ACEOF
72045 if ac_fn_cxx_try_compile "$LINENO"; then :
72046 glibcxx_cv_func_finitel_use=yes
72047 else
72048 glibcxx_cv_func_finitel_use=no
72050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72051 ac_ext=c
72052 ac_cpp='$CPP $CPPFLAGS'
72053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72062 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72064 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72065 for ac_func in finitel
72066 do :
72067 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72068 if test "x$ac_cv_func_finitel" = x""yes; then :
72069 cat >>confdefs.h <<_ACEOF
72070 #define HAVE_FINITEL 1
72071 _ACEOF
72074 done
72076 else
72078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72079 $as_echo_n "checking for _finitel declaration... " >&6; }
72080 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72081 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72082 $as_echo_n "(cached) " >&6
72083 else
72086 ac_ext=cpp
72087 ac_cpp='$CXXCPP $CPPFLAGS'
72088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72093 /* end confdefs.h. */
72094 #include <math.h>
72095 #ifdef HAVE_IEEEFP_H
72096 #include <ieeefp.h>
72097 #endif
72100 main ()
72102 _finitel(0);
72104 return 0;
72106 _ACEOF
72107 if ac_fn_cxx_try_compile "$LINENO"; then :
72108 glibcxx_cv_func__finitel_use=yes
72109 else
72110 glibcxx_cv_func__finitel_use=no
72112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72113 ac_ext=c
72114 ac_cpp='$CPP $CPPFLAGS'
72115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72124 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72126 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72127 for ac_func in _finitel
72128 do :
72129 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72130 if test "x$ac_cv_func__finitel" = x""yes; then :
72131 cat >>confdefs.h <<_ACEOF
72132 #define HAVE__FINITEL 1
72133 _ACEOF
72136 done
72144 LIBS="$ac_save_LIBS"
72145 CXXFLAGS="$ac_save_CXXFLAGS"
72148 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72149 ac_save_CXXFLAGS="$CXXFLAGS"
72150 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72154 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72155 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72156 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72157 $as_echo_n "(cached) " >&6
72158 else
72161 ac_ext=cpp
72162 ac_cpp='$CXXCPP $CPPFLAGS'
72163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72168 /* end confdefs.h. */
72169 #include <stdlib.h>
72171 main ()
72173 at_quick_exit(0);
72175 return 0;
72177 _ACEOF
72178 if ac_fn_cxx_try_compile "$LINENO"; then :
72179 glibcxx_cv_func_at_quick_exit_use=yes
72180 else
72181 glibcxx_cv_func_at_quick_exit_use=no
72183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72184 ac_ext=c
72185 ac_cpp='$CPP $CPPFLAGS'
72186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72195 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72196 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72197 for ac_func in at_quick_exit
72198 do :
72199 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72200 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72201 cat >>confdefs.h <<_ACEOF
72202 #define HAVE_AT_QUICK_EXIT 1
72203 _ACEOF
72206 done
72211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72212 $as_echo_n "checking for quick_exit declaration... " >&6; }
72213 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72214 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72215 $as_echo_n "(cached) " >&6
72216 else
72219 ac_ext=cpp
72220 ac_cpp='$CXXCPP $CPPFLAGS'
72221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72226 /* end confdefs.h. */
72227 #include <stdlib.h>
72229 main ()
72231 quick_exit(0);
72233 return 0;
72235 _ACEOF
72236 if ac_fn_cxx_try_compile "$LINENO"; then :
72237 glibcxx_cv_func_quick_exit_use=yes
72238 else
72239 glibcxx_cv_func_quick_exit_use=no
72241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72242 ac_ext=c
72243 ac_cpp='$CPP $CPPFLAGS'
72244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72253 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72254 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72255 for ac_func in quick_exit
72256 do :
72257 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72258 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72259 cat >>confdefs.h <<_ACEOF
72260 #define HAVE_QUICK_EXIT 1
72261 _ACEOF
72264 done
72269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72270 $as_echo_n "checking for strtold declaration... " >&6; }
72271 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72272 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72273 $as_echo_n "(cached) " >&6
72274 else
72277 ac_ext=cpp
72278 ac_cpp='$CXXCPP $CPPFLAGS'
72279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72284 /* end confdefs.h. */
72285 #include <stdlib.h>
72287 main ()
72289 strtold(0, 0);
72291 return 0;
72293 _ACEOF
72294 if ac_fn_cxx_try_compile "$LINENO"; then :
72295 glibcxx_cv_func_strtold_use=yes
72296 else
72297 glibcxx_cv_func_strtold_use=no
72299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72300 ac_ext=c
72301 ac_cpp='$CPP $CPPFLAGS'
72302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72311 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72312 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72313 for ac_func in strtold
72314 do :
72315 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72316 if test "x$ac_cv_func_strtold" = x""yes; then :
72317 cat >>confdefs.h <<_ACEOF
72318 #define HAVE_STRTOLD 1
72319 _ACEOF
72322 done
72329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72330 $as_echo_n "checking for strtof declaration... " >&6; }
72331 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72332 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72333 $as_echo_n "(cached) " >&6
72334 else
72337 ac_ext=cpp
72338 ac_cpp='$CXXCPP $CPPFLAGS'
72339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72344 /* end confdefs.h. */
72345 #include <stdlib.h>
72347 main ()
72349 strtof(0, 0);
72351 return 0;
72353 _ACEOF
72354 if ac_fn_cxx_try_compile "$LINENO"; then :
72355 glibcxx_cv_func_strtof_use=yes
72356 else
72357 glibcxx_cv_func_strtof_use=no
72359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72360 ac_ext=c
72361 ac_cpp='$CPP $CPPFLAGS'
72362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72371 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72372 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72373 for ac_func in strtof
72374 do :
72375 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72376 if test "x$ac_cv_func_strtof" = x""yes; then :
72377 cat >>confdefs.h <<_ACEOF
72378 #define HAVE_STRTOF 1
72379 _ACEOF
72382 done
72389 CXXFLAGS="$ac_save_CXXFLAGS"
72392 *-tpf)
72393 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72394 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72396 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72398 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72400 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72402 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72404 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72406 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72408 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72410 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72412 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72414 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72416 if test x"long_double_math_on_this_cpu" = x"yes"; then
72417 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72419 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72421 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72423 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72427 *-*vms*)
72428 # Check for available headers.
72429 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72431 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72432 ac_save_CXXFLAGS="$CXXFLAGS"
72433 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72436 $as_echo_n "checking for sin in -lm... " >&6; }
72437 if test "${ac_cv_lib_m_sin+set}" = set; then :
72438 $as_echo_n "(cached) " >&6
72439 else
72440 ac_check_lib_save_LIBS=$LIBS
72441 LIBS="-lm $LIBS"
72442 if test x$gcc_no_link = xyes; then
72443 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72446 /* end confdefs.h. */
72448 /* Override any GCC internal prototype to avoid an error.
72449 Use char because int might match the return type of a GCC
72450 builtin and then its argument prototype would still apply. */
72451 #ifdef __cplusplus
72452 extern "C"
72453 #endif
72454 char sin ();
72456 main ()
72458 return sin ();
72460 return 0;
72462 _ACEOF
72463 if ac_fn_c_try_link "$LINENO"; then :
72464 ac_cv_lib_m_sin=yes
72465 else
72466 ac_cv_lib_m_sin=no
72468 rm -f core conftest.err conftest.$ac_objext \
72469 conftest$ac_exeext conftest.$ac_ext
72470 LIBS=$ac_check_lib_save_LIBS
72472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72473 $as_echo "$ac_cv_lib_m_sin" >&6; }
72474 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72475 libm="-lm"
72478 ac_save_LIBS="$LIBS"
72479 LIBS="$LIBS $libm"
72483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72484 $as_echo_n "checking for isinf declaration... " >&6; }
72485 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72486 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72487 $as_echo_n "(cached) " >&6
72488 else
72491 ac_ext=cpp
72492 ac_cpp='$CXXCPP $CPPFLAGS'
72493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72498 /* end confdefs.h. */
72499 #include <math.h>
72500 #ifdef HAVE_IEEEFP_H
72501 #include <ieeefp.h>
72502 #endif
72505 main ()
72507 isinf(0);
72509 return 0;
72511 _ACEOF
72512 if ac_fn_cxx_try_compile "$LINENO"; then :
72513 glibcxx_cv_func_isinf_use=yes
72514 else
72515 glibcxx_cv_func_isinf_use=no
72517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72518 ac_ext=c
72519 ac_cpp='$CPP $CPPFLAGS'
72520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72529 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72531 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72532 for ac_func in isinf
72533 do :
72534 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72535 if test "x$ac_cv_func_isinf" = x""yes; then :
72536 cat >>confdefs.h <<_ACEOF
72537 #define HAVE_ISINF 1
72538 _ACEOF
72541 done
72543 else
72545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72546 $as_echo_n "checking for _isinf declaration... " >&6; }
72547 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72548 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72549 $as_echo_n "(cached) " >&6
72550 else
72553 ac_ext=cpp
72554 ac_cpp='$CXXCPP $CPPFLAGS'
72555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72560 /* end confdefs.h. */
72561 #include <math.h>
72562 #ifdef HAVE_IEEEFP_H
72563 #include <ieeefp.h>
72564 #endif
72567 main ()
72569 _isinf(0);
72571 return 0;
72573 _ACEOF
72574 if ac_fn_cxx_try_compile "$LINENO"; then :
72575 glibcxx_cv_func__isinf_use=yes
72576 else
72577 glibcxx_cv_func__isinf_use=no
72579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72580 ac_ext=c
72581 ac_cpp='$CPP $CPPFLAGS'
72582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72591 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72593 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72594 for ac_func in _isinf
72595 do :
72596 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72597 if test "x$ac_cv_func__isinf" = x""yes; then :
72598 cat >>confdefs.h <<_ACEOF
72599 #define HAVE__ISINF 1
72600 _ACEOF
72603 done
72612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72613 $as_echo_n "checking for isnan declaration... " >&6; }
72614 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72615 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72616 $as_echo_n "(cached) " >&6
72617 else
72620 ac_ext=cpp
72621 ac_cpp='$CXXCPP $CPPFLAGS'
72622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72627 /* end confdefs.h. */
72628 #include <math.h>
72629 #ifdef HAVE_IEEEFP_H
72630 #include <ieeefp.h>
72631 #endif
72634 main ()
72636 isnan(0);
72638 return 0;
72640 _ACEOF
72641 if ac_fn_cxx_try_compile "$LINENO"; then :
72642 glibcxx_cv_func_isnan_use=yes
72643 else
72644 glibcxx_cv_func_isnan_use=no
72646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72647 ac_ext=c
72648 ac_cpp='$CPP $CPPFLAGS'
72649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72658 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72660 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72661 for ac_func in isnan
72662 do :
72663 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72664 if test "x$ac_cv_func_isnan" = x""yes; then :
72665 cat >>confdefs.h <<_ACEOF
72666 #define HAVE_ISNAN 1
72667 _ACEOF
72670 done
72672 else
72674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72675 $as_echo_n "checking for _isnan declaration... " >&6; }
72676 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72677 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72678 $as_echo_n "(cached) " >&6
72679 else
72682 ac_ext=cpp
72683 ac_cpp='$CXXCPP $CPPFLAGS'
72684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72689 /* end confdefs.h. */
72690 #include <math.h>
72691 #ifdef HAVE_IEEEFP_H
72692 #include <ieeefp.h>
72693 #endif
72696 main ()
72698 _isnan(0);
72700 return 0;
72702 _ACEOF
72703 if ac_fn_cxx_try_compile "$LINENO"; then :
72704 glibcxx_cv_func__isnan_use=yes
72705 else
72706 glibcxx_cv_func__isnan_use=no
72708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72709 ac_ext=c
72710 ac_cpp='$CPP $CPPFLAGS'
72711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72720 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72722 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72723 for ac_func in _isnan
72724 do :
72725 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72726 if test "x$ac_cv_func__isnan" = x""yes; then :
72727 cat >>confdefs.h <<_ACEOF
72728 #define HAVE__ISNAN 1
72729 _ACEOF
72732 done
72741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72742 $as_echo_n "checking for finite declaration... " >&6; }
72743 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72744 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72745 $as_echo_n "(cached) " >&6
72746 else
72749 ac_ext=cpp
72750 ac_cpp='$CXXCPP $CPPFLAGS'
72751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72756 /* end confdefs.h. */
72757 #include <math.h>
72758 #ifdef HAVE_IEEEFP_H
72759 #include <ieeefp.h>
72760 #endif
72763 main ()
72765 finite(0);
72767 return 0;
72769 _ACEOF
72770 if ac_fn_cxx_try_compile "$LINENO"; then :
72771 glibcxx_cv_func_finite_use=yes
72772 else
72773 glibcxx_cv_func_finite_use=no
72775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72776 ac_ext=c
72777 ac_cpp='$CPP $CPPFLAGS'
72778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72787 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72789 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72790 for ac_func in finite
72791 do :
72792 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72793 if test "x$ac_cv_func_finite" = x""yes; then :
72794 cat >>confdefs.h <<_ACEOF
72795 #define HAVE_FINITE 1
72796 _ACEOF
72799 done
72801 else
72803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72804 $as_echo_n "checking for _finite declaration... " >&6; }
72805 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72806 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72807 $as_echo_n "(cached) " >&6
72808 else
72811 ac_ext=cpp
72812 ac_cpp='$CXXCPP $CPPFLAGS'
72813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72818 /* end confdefs.h. */
72819 #include <math.h>
72820 #ifdef HAVE_IEEEFP_H
72821 #include <ieeefp.h>
72822 #endif
72825 main ()
72827 _finite(0);
72829 return 0;
72831 _ACEOF
72832 if ac_fn_cxx_try_compile "$LINENO"; then :
72833 glibcxx_cv_func__finite_use=yes
72834 else
72835 glibcxx_cv_func__finite_use=no
72837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72838 ac_ext=c
72839 ac_cpp='$CPP $CPPFLAGS'
72840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72849 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72851 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72852 for ac_func in _finite
72853 do :
72854 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72855 if test "x$ac_cv_func__finite" = x""yes; then :
72856 cat >>confdefs.h <<_ACEOF
72857 #define HAVE__FINITE 1
72858 _ACEOF
72861 done
72870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72871 $as_echo_n "checking for sincos declaration... " >&6; }
72872 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72873 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72874 $as_echo_n "(cached) " >&6
72875 else
72878 ac_ext=cpp
72879 ac_cpp='$CXXCPP $CPPFLAGS'
72880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72885 /* end confdefs.h. */
72886 #include <math.h>
72888 main ()
72890 sincos(0, 0, 0);
72892 return 0;
72894 _ACEOF
72895 if ac_fn_cxx_try_compile "$LINENO"; then :
72896 glibcxx_cv_func_sincos_use=yes
72897 else
72898 glibcxx_cv_func_sincos_use=no
72900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72901 ac_ext=c
72902 ac_cpp='$CPP $CPPFLAGS'
72903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72912 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72914 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72915 for ac_func in sincos
72916 do :
72917 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72918 if test "x$ac_cv_func_sincos" = x""yes; then :
72919 cat >>confdefs.h <<_ACEOF
72920 #define HAVE_SINCOS 1
72921 _ACEOF
72924 done
72926 else
72928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72929 $as_echo_n "checking for _sincos declaration... " >&6; }
72930 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72931 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72932 $as_echo_n "(cached) " >&6
72933 else
72936 ac_ext=cpp
72937 ac_cpp='$CXXCPP $CPPFLAGS'
72938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72943 /* end confdefs.h. */
72944 #include <math.h>
72946 main ()
72948 _sincos(0, 0, 0);
72950 return 0;
72952 _ACEOF
72953 if ac_fn_cxx_try_compile "$LINENO"; then :
72954 glibcxx_cv_func__sincos_use=yes
72955 else
72956 glibcxx_cv_func__sincos_use=no
72958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72959 ac_ext=c
72960 ac_cpp='$CPP $CPPFLAGS'
72961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72970 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72972 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72973 for ac_func in _sincos
72974 do :
72975 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72976 if test "x$ac_cv_func__sincos" = x""yes; then :
72977 cat >>confdefs.h <<_ACEOF
72978 #define HAVE__SINCOS 1
72979 _ACEOF
72982 done
72991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72992 $as_echo_n "checking for fpclass declaration... " >&6; }
72993 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72994 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72995 $as_echo_n "(cached) " >&6
72996 else
72999 ac_ext=cpp
73000 ac_cpp='$CXXCPP $CPPFLAGS'
73001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73006 /* end confdefs.h. */
73007 #include <math.h>
73008 #ifdef HAVE_IEEEFP_H
73009 #include <ieeefp.h>
73010 #endif
73013 main ()
73015 fpclass(0);
73017 return 0;
73019 _ACEOF
73020 if ac_fn_cxx_try_compile "$LINENO"; then :
73021 glibcxx_cv_func_fpclass_use=yes
73022 else
73023 glibcxx_cv_func_fpclass_use=no
73025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73026 ac_ext=c
73027 ac_cpp='$CPP $CPPFLAGS'
73028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73037 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73039 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73040 for ac_func in fpclass
73041 do :
73042 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73043 if test "x$ac_cv_func_fpclass" = x""yes; then :
73044 cat >>confdefs.h <<_ACEOF
73045 #define HAVE_FPCLASS 1
73046 _ACEOF
73049 done
73051 else
73053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73054 $as_echo_n "checking for _fpclass declaration... " >&6; }
73055 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73056 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73057 $as_echo_n "(cached) " >&6
73058 else
73061 ac_ext=cpp
73062 ac_cpp='$CXXCPP $CPPFLAGS'
73063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73068 /* end confdefs.h. */
73069 #include <math.h>
73070 #ifdef HAVE_IEEEFP_H
73071 #include <ieeefp.h>
73072 #endif
73075 main ()
73077 _fpclass(0);
73079 return 0;
73081 _ACEOF
73082 if ac_fn_cxx_try_compile "$LINENO"; then :
73083 glibcxx_cv_func__fpclass_use=yes
73084 else
73085 glibcxx_cv_func__fpclass_use=no
73087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73088 ac_ext=c
73089 ac_cpp='$CPP $CPPFLAGS'
73090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73099 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73101 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73102 for ac_func in _fpclass
73103 do :
73104 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73105 if test "x$ac_cv_func__fpclass" = x""yes; then :
73106 cat >>confdefs.h <<_ACEOF
73107 #define HAVE__FPCLASS 1
73108 _ACEOF
73111 done
73120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73121 $as_echo_n "checking for qfpclass declaration... " >&6; }
73122 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73123 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73124 $as_echo_n "(cached) " >&6
73125 else
73128 ac_ext=cpp
73129 ac_cpp='$CXXCPP $CPPFLAGS'
73130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73135 /* end confdefs.h. */
73136 #include <math.h>
73137 #ifdef HAVE_IEEEFP_H
73138 #include <ieeefp.h>
73139 #endif
73142 main ()
73144 qfpclass(0);
73146 return 0;
73148 _ACEOF
73149 if ac_fn_cxx_try_compile "$LINENO"; then :
73150 glibcxx_cv_func_qfpclass_use=yes
73151 else
73152 glibcxx_cv_func_qfpclass_use=no
73154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73155 ac_ext=c
73156 ac_cpp='$CPP $CPPFLAGS'
73157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73166 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73168 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73169 for ac_func in qfpclass
73170 do :
73171 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73172 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73173 cat >>confdefs.h <<_ACEOF
73174 #define HAVE_QFPCLASS 1
73175 _ACEOF
73178 done
73180 else
73182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73183 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73184 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73185 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73186 $as_echo_n "(cached) " >&6
73187 else
73190 ac_ext=cpp
73191 ac_cpp='$CXXCPP $CPPFLAGS'
73192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73197 /* end confdefs.h. */
73198 #include <math.h>
73199 #ifdef HAVE_IEEEFP_H
73200 #include <ieeefp.h>
73201 #endif
73204 main ()
73206 _qfpclass(0);
73208 return 0;
73210 _ACEOF
73211 if ac_fn_cxx_try_compile "$LINENO"; then :
73212 glibcxx_cv_func__qfpclass_use=yes
73213 else
73214 glibcxx_cv_func__qfpclass_use=no
73216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73217 ac_ext=c
73218 ac_cpp='$CPP $CPPFLAGS'
73219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73228 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73230 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73231 for ac_func in _qfpclass
73232 do :
73233 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73234 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73235 cat >>confdefs.h <<_ACEOF
73236 #define HAVE__QFPCLASS 1
73237 _ACEOF
73240 done
73249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73250 $as_echo_n "checking for hypot declaration... " >&6; }
73251 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73252 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73253 $as_echo_n "(cached) " >&6
73254 else
73257 ac_ext=cpp
73258 ac_cpp='$CXXCPP $CPPFLAGS'
73259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73264 /* end confdefs.h. */
73265 #include <math.h>
73267 main ()
73269 hypot(0, 0);
73271 return 0;
73273 _ACEOF
73274 if ac_fn_cxx_try_compile "$LINENO"; then :
73275 glibcxx_cv_func_hypot_use=yes
73276 else
73277 glibcxx_cv_func_hypot_use=no
73279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73280 ac_ext=c
73281 ac_cpp='$CPP $CPPFLAGS'
73282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73291 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73293 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73294 for ac_func in hypot
73295 do :
73296 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73297 if test "x$ac_cv_func_hypot" = x""yes; then :
73298 cat >>confdefs.h <<_ACEOF
73299 #define HAVE_HYPOT 1
73300 _ACEOF
73303 done
73305 else
73307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73308 $as_echo_n "checking for _hypot declaration... " >&6; }
73309 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73310 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73311 $as_echo_n "(cached) " >&6
73312 else
73315 ac_ext=cpp
73316 ac_cpp='$CXXCPP $CPPFLAGS'
73317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73322 /* end confdefs.h. */
73323 #include <math.h>
73325 main ()
73327 _hypot(0, 0);
73329 return 0;
73331 _ACEOF
73332 if ac_fn_cxx_try_compile "$LINENO"; then :
73333 glibcxx_cv_func__hypot_use=yes
73334 else
73335 glibcxx_cv_func__hypot_use=no
73337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73338 ac_ext=c
73339 ac_cpp='$CPP $CPPFLAGS'
73340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73349 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73351 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73352 for ac_func in _hypot
73353 do :
73354 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73355 if test "x$ac_cv_func__hypot" = x""yes; then :
73356 cat >>confdefs.h <<_ACEOF
73357 #define HAVE__HYPOT 1
73358 _ACEOF
73361 done
73370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73371 $as_echo_n "checking for float trig functions... " >&6; }
73372 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73373 $as_echo_n "(cached) " >&6
73374 else
73377 ac_ext=cpp
73378 ac_cpp='$CXXCPP $CPPFLAGS'
73379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73384 /* end confdefs.h. */
73385 #include <math.h>
73387 main ()
73389 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73391 return 0;
73393 _ACEOF
73394 if ac_fn_cxx_try_compile "$LINENO"; then :
73395 glibcxx_cv_func_float_trig_use=yes
73396 else
73397 glibcxx_cv_func_float_trig_use=no
73399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73400 ac_ext=c
73401 ac_cpp='$CPP $CPPFLAGS'
73402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73409 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73410 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73411 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73412 do :
73413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73415 eval as_val=\$$as_ac_var
73416 if test "x$as_val" = x""yes; then :
73417 cat >>confdefs.h <<_ACEOF
73418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73419 _ACEOF
73422 done
73424 else
73425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73426 $as_echo_n "checking for _float trig functions... " >&6; }
73427 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73428 $as_echo_n "(cached) " >&6
73429 else
73432 ac_ext=cpp
73433 ac_cpp='$CXXCPP $CPPFLAGS'
73434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73439 /* end confdefs.h. */
73440 #include <math.h>
73442 main ()
73444 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73446 return 0;
73448 _ACEOF
73449 if ac_fn_cxx_try_compile "$LINENO"; then :
73450 glibcxx_cv_func__float_trig_use=yes
73451 else
73452 glibcxx_cv_func__float_trig_use=no
73454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73455 ac_ext=c
73456 ac_cpp='$CPP $CPPFLAGS'
73457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73464 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73465 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73466 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73467 do :
73468 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73469 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73470 eval as_val=\$$as_ac_var
73471 if test "x$as_val" = x""yes; then :
73472 cat >>confdefs.h <<_ACEOF
73473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73474 _ACEOF
73477 done
73486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73487 $as_echo_n "checking for float round functions... " >&6; }
73488 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73489 $as_echo_n "(cached) " >&6
73490 else
73493 ac_ext=cpp
73494 ac_cpp='$CXXCPP $CPPFLAGS'
73495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73500 /* end confdefs.h. */
73501 #include <math.h>
73503 main ()
73505 ceilf (0); floorf (0);
73507 return 0;
73509 _ACEOF
73510 if ac_fn_cxx_try_compile "$LINENO"; then :
73511 glibcxx_cv_func_float_round_use=yes
73512 else
73513 glibcxx_cv_func_float_round_use=no
73515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73516 ac_ext=c
73517 ac_cpp='$CPP $CPPFLAGS'
73518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73525 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73526 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73527 for ac_func in ceilf floorf
73528 do :
73529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73531 eval as_val=\$$as_ac_var
73532 if test "x$as_val" = x""yes; then :
73533 cat >>confdefs.h <<_ACEOF
73534 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73535 _ACEOF
73538 done
73540 else
73541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73542 $as_echo_n "checking for _float round functions... " >&6; }
73543 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73544 $as_echo_n "(cached) " >&6
73545 else
73548 ac_ext=cpp
73549 ac_cpp='$CXXCPP $CPPFLAGS'
73550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73555 /* end confdefs.h. */
73556 #include <math.h>
73558 main ()
73560 _ceilf (0); _floorf (0);
73562 return 0;
73564 _ACEOF
73565 if ac_fn_cxx_try_compile "$LINENO"; then :
73566 glibcxx_cv_func__float_round_use=yes
73567 else
73568 glibcxx_cv_func__float_round_use=no
73570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73571 ac_ext=c
73572 ac_cpp='$CPP $CPPFLAGS'
73573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73580 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73581 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73582 for ac_func in _ceilf _floorf
73583 do :
73584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73586 eval as_val=\$$as_ac_var
73587 if test "x$as_val" = x""yes; then :
73588 cat >>confdefs.h <<_ACEOF
73589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73590 _ACEOF
73593 done
73603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73604 $as_echo_n "checking for expf declaration... " >&6; }
73605 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73606 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73607 $as_echo_n "(cached) " >&6
73608 else
73611 ac_ext=cpp
73612 ac_cpp='$CXXCPP $CPPFLAGS'
73613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73618 /* end confdefs.h. */
73619 #include <math.h>
73620 #ifdef HAVE_IEEEFP_H
73621 #include <ieeefp.h>
73622 #endif
73625 main ()
73627 expf(0);
73629 return 0;
73631 _ACEOF
73632 if ac_fn_cxx_try_compile "$LINENO"; then :
73633 glibcxx_cv_func_expf_use=yes
73634 else
73635 glibcxx_cv_func_expf_use=no
73637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73638 ac_ext=c
73639 ac_cpp='$CPP $CPPFLAGS'
73640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73649 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73651 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73652 for ac_func in expf
73653 do :
73654 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73655 if test "x$ac_cv_func_expf" = x""yes; then :
73656 cat >>confdefs.h <<_ACEOF
73657 #define HAVE_EXPF 1
73658 _ACEOF
73661 done
73663 else
73665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73666 $as_echo_n "checking for _expf declaration... " >&6; }
73667 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73668 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73669 $as_echo_n "(cached) " >&6
73670 else
73673 ac_ext=cpp
73674 ac_cpp='$CXXCPP $CPPFLAGS'
73675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73680 /* end confdefs.h. */
73681 #include <math.h>
73682 #ifdef HAVE_IEEEFP_H
73683 #include <ieeefp.h>
73684 #endif
73687 main ()
73689 _expf(0);
73691 return 0;
73693 _ACEOF
73694 if ac_fn_cxx_try_compile "$LINENO"; then :
73695 glibcxx_cv_func__expf_use=yes
73696 else
73697 glibcxx_cv_func__expf_use=no
73699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73700 ac_ext=c
73701 ac_cpp='$CPP $CPPFLAGS'
73702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73711 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73713 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73714 for ac_func in _expf
73715 do :
73716 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73717 if test "x$ac_cv_func__expf" = x""yes; then :
73718 cat >>confdefs.h <<_ACEOF
73719 #define HAVE__EXPF 1
73720 _ACEOF
73723 done
73732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73733 $as_echo_n "checking for isnanf declaration... " >&6; }
73734 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73735 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73736 $as_echo_n "(cached) " >&6
73737 else
73740 ac_ext=cpp
73741 ac_cpp='$CXXCPP $CPPFLAGS'
73742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73747 /* end confdefs.h. */
73748 #include <math.h>
73749 #ifdef HAVE_IEEEFP_H
73750 #include <ieeefp.h>
73751 #endif
73754 main ()
73756 isnanf(0);
73758 return 0;
73760 _ACEOF
73761 if ac_fn_cxx_try_compile "$LINENO"; then :
73762 glibcxx_cv_func_isnanf_use=yes
73763 else
73764 glibcxx_cv_func_isnanf_use=no
73766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73767 ac_ext=c
73768 ac_cpp='$CPP $CPPFLAGS'
73769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73778 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73780 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73781 for ac_func in isnanf
73782 do :
73783 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73784 if test "x$ac_cv_func_isnanf" = x""yes; then :
73785 cat >>confdefs.h <<_ACEOF
73786 #define HAVE_ISNANF 1
73787 _ACEOF
73790 done
73792 else
73794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73795 $as_echo_n "checking for _isnanf declaration... " >&6; }
73796 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73797 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73798 $as_echo_n "(cached) " >&6
73799 else
73802 ac_ext=cpp
73803 ac_cpp='$CXXCPP $CPPFLAGS'
73804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73809 /* end confdefs.h. */
73810 #include <math.h>
73811 #ifdef HAVE_IEEEFP_H
73812 #include <ieeefp.h>
73813 #endif
73816 main ()
73818 _isnanf(0);
73820 return 0;
73822 _ACEOF
73823 if ac_fn_cxx_try_compile "$LINENO"; then :
73824 glibcxx_cv_func__isnanf_use=yes
73825 else
73826 glibcxx_cv_func__isnanf_use=no
73828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73829 ac_ext=c
73830 ac_cpp='$CPP $CPPFLAGS'
73831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73840 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73842 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73843 for ac_func in _isnanf
73844 do :
73845 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73846 if test "x$ac_cv_func__isnanf" = x""yes; then :
73847 cat >>confdefs.h <<_ACEOF
73848 #define HAVE__ISNANF 1
73849 _ACEOF
73852 done
73861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73862 $as_echo_n "checking for isinff declaration... " >&6; }
73863 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73864 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73865 $as_echo_n "(cached) " >&6
73866 else
73869 ac_ext=cpp
73870 ac_cpp='$CXXCPP $CPPFLAGS'
73871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73876 /* end confdefs.h. */
73877 #include <math.h>
73878 #ifdef HAVE_IEEEFP_H
73879 #include <ieeefp.h>
73880 #endif
73883 main ()
73885 isinff(0);
73887 return 0;
73889 _ACEOF
73890 if ac_fn_cxx_try_compile "$LINENO"; then :
73891 glibcxx_cv_func_isinff_use=yes
73892 else
73893 glibcxx_cv_func_isinff_use=no
73895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73896 ac_ext=c
73897 ac_cpp='$CPP $CPPFLAGS'
73898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73907 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73909 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73910 for ac_func in isinff
73911 do :
73912 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73913 if test "x$ac_cv_func_isinff" = x""yes; then :
73914 cat >>confdefs.h <<_ACEOF
73915 #define HAVE_ISINFF 1
73916 _ACEOF
73919 done
73921 else
73923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73924 $as_echo_n "checking for _isinff declaration... " >&6; }
73925 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73926 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73927 $as_echo_n "(cached) " >&6
73928 else
73931 ac_ext=cpp
73932 ac_cpp='$CXXCPP $CPPFLAGS'
73933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73938 /* end confdefs.h. */
73939 #include <math.h>
73940 #ifdef HAVE_IEEEFP_H
73941 #include <ieeefp.h>
73942 #endif
73945 main ()
73947 _isinff(0);
73949 return 0;
73951 _ACEOF
73952 if ac_fn_cxx_try_compile "$LINENO"; then :
73953 glibcxx_cv_func__isinff_use=yes
73954 else
73955 glibcxx_cv_func__isinff_use=no
73957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73958 ac_ext=c
73959 ac_cpp='$CPP $CPPFLAGS'
73960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73969 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73971 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73972 for ac_func in _isinff
73973 do :
73974 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73975 if test "x$ac_cv_func__isinff" = x""yes; then :
73976 cat >>confdefs.h <<_ACEOF
73977 #define HAVE__ISINFF 1
73978 _ACEOF
73981 done
73990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73991 $as_echo_n "checking for atan2f declaration... " >&6; }
73992 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73993 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73994 $as_echo_n "(cached) " >&6
73995 else
73998 ac_ext=cpp
73999 ac_cpp='$CXXCPP $CPPFLAGS'
74000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74005 /* end confdefs.h. */
74006 #include <math.h>
74008 main ()
74010 atan2f(0, 0);
74012 return 0;
74014 _ACEOF
74015 if ac_fn_cxx_try_compile "$LINENO"; then :
74016 glibcxx_cv_func_atan2f_use=yes
74017 else
74018 glibcxx_cv_func_atan2f_use=no
74020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74021 ac_ext=c
74022 ac_cpp='$CPP $CPPFLAGS'
74023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74032 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74034 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74035 for ac_func in atan2f
74036 do :
74037 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74038 if test "x$ac_cv_func_atan2f" = x""yes; then :
74039 cat >>confdefs.h <<_ACEOF
74040 #define HAVE_ATAN2F 1
74041 _ACEOF
74044 done
74046 else
74048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74049 $as_echo_n "checking for _atan2f declaration... " >&6; }
74050 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74051 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74052 $as_echo_n "(cached) " >&6
74053 else
74056 ac_ext=cpp
74057 ac_cpp='$CXXCPP $CPPFLAGS'
74058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74063 /* end confdefs.h. */
74064 #include <math.h>
74066 main ()
74068 _atan2f(0, 0);
74070 return 0;
74072 _ACEOF
74073 if ac_fn_cxx_try_compile "$LINENO"; then :
74074 glibcxx_cv_func__atan2f_use=yes
74075 else
74076 glibcxx_cv_func__atan2f_use=no
74078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74079 ac_ext=c
74080 ac_cpp='$CPP $CPPFLAGS'
74081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74090 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74092 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74093 for ac_func in _atan2f
74094 do :
74095 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74096 if test "x$ac_cv_func__atan2f" = x""yes; then :
74097 cat >>confdefs.h <<_ACEOF
74098 #define HAVE__ATAN2F 1
74099 _ACEOF
74102 done
74111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74112 $as_echo_n "checking for fabsf declaration... " >&6; }
74113 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74114 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74115 $as_echo_n "(cached) " >&6
74116 else
74119 ac_ext=cpp
74120 ac_cpp='$CXXCPP $CPPFLAGS'
74121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74126 /* end confdefs.h. */
74127 #include <math.h>
74128 #ifdef HAVE_IEEEFP_H
74129 #include <ieeefp.h>
74130 #endif
74133 main ()
74135 fabsf(0);
74137 return 0;
74139 _ACEOF
74140 if ac_fn_cxx_try_compile "$LINENO"; then :
74141 glibcxx_cv_func_fabsf_use=yes
74142 else
74143 glibcxx_cv_func_fabsf_use=no
74145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74146 ac_ext=c
74147 ac_cpp='$CPP $CPPFLAGS'
74148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74157 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74159 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74160 for ac_func in fabsf
74161 do :
74162 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74163 if test "x$ac_cv_func_fabsf" = x""yes; then :
74164 cat >>confdefs.h <<_ACEOF
74165 #define HAVE_FABSF 1
74166 _ACEOF
74169 done
74171 else
74173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74174 $as_echo_n "checking for _fabsf declaration... " >&6; }
74175 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74176 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74177 $as_echo_n "(cached) " >&6
74178 else
74181 ac_ext=cpp
74182 ac_cpp='$CXXCPP $CPPFLAGS'
74183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74188 /* end confdefs.h. */
74189 #include <math.h>
74190 #ifdef HAVE_IEEEFP_H
74191 #include <ieeefp.h>
74192 #endif
74195 main ()
74197 _fabsf(0);
74199 return 0;
74201 _ACEOF
74202 if ac_fn_cxx_try_compile "$LINENO"; then :
74203 glibcxx_cv_func__fabsf_use=yes
74204 else
74205 glibcxx_cv_func__fabsf_use=no
74207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74208 ac_ext=c
74209 ac_cpp='$CPP $CPPFLAGS'
74210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74219 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74221 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74222 for ac_func in _fabsf
74223 do :
74224 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74225 if test "x$ac_cv_func__fabsf" = x""yes; then :
74226 cat >>confdefs.h <<_ACEOF
74227 #define HAVE__FABSF 1
74228 _ACEOF
74231 done
74240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74241 $as_echo_n "checking for fmodf declaration... " >&6; }
74242 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74243 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74244 $as_echo_n "(cached) " >&6
74245 else
74248 ac_ext=cpp
74249 ac_cpp='$CXXCPP $CPPFLAGS'
74250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74255 /* end confdefs.h. */
74256 #include <math.h>
74258 main ()
74260 fmodf(0, 0);
74262 return 0;
74264 _ACEOF
74265 if ac_fn_cxx_try_compile "$LINENO"; then :
74266 glibcxx_cv_func_fmodf_use=yes
74267 else
74268 glibcxx_cv_func_fmodf_use=no
74270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74271 ac_ext=c
74272 ac_cpp='$CPP $CPPFLAGS'
74273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74282 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74284 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74285 for ac_func in fmodf
74286 do :
74287 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74288 if test "x$ac_cv_func_fmodf" = x""yes; then :
74289 cat >>confdefs.h <<_ACEOF
74290 #define HAVE_FMODF 1
74291 _ACEOF
74294 done
74296 else
74298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74299 $as_echo_n "checking for _fmodf declaration... " >&6; }
74300 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74301 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74302 $as_echo_n "(cached) " >&6
74303 else
74306 ac_ext=cpp
74307 ac_cpp='$CXXCPP $CPPFLAGS'
74308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74313 /* end confdefs.h. */
74314 #include <math.h>
74316 main ()
74318 _fmodf(0, 0);
74320 return 0;
74322 _ACEOF
74323 if ac_fn_cxx_try_compile "$LINENO"; then :
74324 glibcxx_cv_func__fmodf_use=yes
74325 else
74326 glibcxx_cv_func__fmodf_use=no
74328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74329 ac_ext=c
74330 ac_cpp='$CPP $CPPFLAGS'
74331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74340 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74342 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74343 for ac_func in _fmodf
74344 do :
74345 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74346 if test "x$ac_cv_func__fmodf" = x""yes; then :
74347 cat >>confdefs.h <<_ACEOF
74348 #define HAVE__FMODF 1
74349 _ACEOF
74352 done
74361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74362 $as_echo_n "checking for frexpf declaration... " >&6; }
74363 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74364 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74365 $as_echo_n "(cached) " >&6
74366 else
74369 ac_ext=cpp
74370 ac_cpp='$CXXCPP $CPPFLAGS'
74371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74376 /* end confdefs.h. */
74377 #include <math.h>
74379 main ()
74381 frexpf(0, 0);
74383 return 0;
74385 _ACEOF
74386 if ac_fn_cxx_try_compile "$LINENO"; then :
74387 glibcxx_cv_func_frexpf_use=yes
74388 else
74389 glibcxx_cv_func_frexpf_use=no
74391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74392 ac_ext=c
74393 ac_cpp='$CPP $CPPFLAGS'
74394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74403 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74405 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74406 for ac_func in frexpf
74407 do :
74408 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74409 if test "x$ac_cv_func_frexpf" = x""yes; then :
74410 cat >>confdefs.h <<_ACEOF
74411 #define HAVE_FREXPF 1
74412 _ACEOF
74415 done
74417 else
74419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74420 $as_echo_n "checking for _frexpf declaration... " >&6; }
74421 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74422 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74423 $as_echo_n "(cached) " >&6
74424 else
74427 ac_ext=cpp
74428 ac_cpp='$CXXCPP $CPPFLAGS'
74429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74434 /* end confdefs.h. */
74435 #include <math.h>
74437 main ()
74439 _frexpf(0, 0);
74441 return 0;
74443 _ACEOF
74444 if ac_fn_cxx_try_compile "$LINENO"; then :
74445 glibcxx_cv_func__frexpf_use=yes
74446 else
74447 glibcxx_cv_func__frexpf_use=no
74449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74450 ac_ext=c
74451 ac_cpp='$CPP $CPPFLAGS'
74452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74461 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74463 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74464 for ac_func in _frexpf
74465 do :
74466 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74467 if test "x$ac_cv_func__frexpf" = x""yes; then :
74468 cat >>confdefs.h <<_ACEOF
74469 #define HAVE__FREXPF 1
74470 _ACEOF
74473 done
74482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74483 $as_echo_n "checking for hypotf declaration... " >&6; }
74484 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74485 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74486 $as_echo_n "(cached) " >&6
74487 else
74490 ac_ext=cpp
74491 ac_cpp='$CXXCPP $CPPFLAGS'
74492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74497 /* end confdefs.h. */
74498 #include <math.h>
74500 main ()
74502 hypotf(0, 0);
74504 return 0;
74506 _ACEOF
74507 if ac_fn_cxx_try_compile "$LINENO"; then :
74508 glibcxx_cv_func_hypotf_use=yes
74509 else
74510 glibcxx_cv_func_hypotf_use=no
74512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74513 ac_ext=c
74514 ac_cpp='$CPP $CPPFLAGS'
74515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74524 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74526 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74527 for ac_func in hypotf
74528 do :
74529 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74530 if test "x$ac_cv_func_hypotf" = x""yes; then :
74531 cat >>confdefs.h <<_ACEOF
74532 #define HAVE_HYPOTF 1
74533 _ACEOF
74536 done
74538 else
74540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74541 $as_echo_n "checking for _hypotf declaration... " >&6; }
74542 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74543 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74544 $as_echo_n "(cached) " >&6
74545 else
74548 ac_ext=cpp
74549 ac_cpp='$CXXCPP $CPPFLAGS'
74550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74555 /* end confdefs.h. */
74556 #include <math.h>
74558 main ()
74560 _hypotf(0, 0);
74562 return 0;
74564 _ACEOF
74565 if ac_fn_cxx_try_compile "$LINENO"; then :
74566 glibcxx_cv_func__hypotf_use=yes
74567 else
74568 glibcxx_cv_func__hypotf_use=no
74570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74571 ac_ext=c
74572 ac_cpp='$CPP $CPPFLAGS'
74573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74582 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74584 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74585 for ac_func in _hypotf
74586 do :
74587 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74588 if test "x$ac_cv_func__hypotf" = x""yes; then :
74589 cat >>confdefs.h <<_ACEOF
74590 #define HAVE__HYPOTF 1
74591 _ACEOF
74594 done
74603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74604 $as_echo_n "checking for ldexpf declaration... " >&6; }
74605 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74606 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74607 $as_echo_n "(cached) " >&6
74608 else
74611 ac_ext=cpp
74612 ac_cpp='$CXXCPP $CPPFLAGS'
74613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74618 /* end confdefs.h. */
74619 #include <math.h>
74621 main ()
74623 ldexpf(0, 0);
74625 return 0;
74627 _ACEOF
74628 if ac_fn_cxx_try_compile "$LINENO"; then :
74629 glibcxx_cv_func_ldexpf_use=yes
74630 else
74631 glibcxx_cv_func_ldexpf_use=no
74633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74634 ac_ext=c
74635 ac_cpp='$CPP $CPPFLAGS'
74636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74645 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74647 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74648 for ac_func in ldexpf
74649 do :
74650 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74651 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74652 cat >>confdefs.h <<_ACEOF
74653 #define HAVE_LDEXPF 1
74654 _ACEOF
74657 done
74659 else
74661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74662 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74663 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74664 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74665 $as_echo_n "(cached) " >&6
74666 else
74669 ac_ext=cpp
74670 ac_cpp='$CXXCPP $CPPFLAGS'
74671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74676 /* end confdefs.h. */
74677 #include <math.h>
74679 main ()
74681 _ldexpf(0, 0);
74683 return 0;
74685 _ACEOF
74686 if ac_fn_cxx_try_compile "$LINENO"; then :
74687 glibcxx_cv_func__ldexpf_use=yes
74688 else
74689 glibcxx_cv_func__ldexpf_use=no
74691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74692 ac_ext=c
74693 ac_cpp='$CPP $CPPFLAGS'
74694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74703 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74705 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74706 for ac_func in _ldexpf
74707 do :
74708 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74709 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74710 cat >>confdefs.h <<_ACEOF
74711 #define HAVE__LDEXPF 1
74712 _ACEOF
74715 done
74724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74725 $as_echo_n "checking for logf declaration... " >&6; }
74726 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74727 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74728 $as_echo_n "(cached) " >&6
74729 else
74732 ac_ext=cpp
74733 ac_cpp='$CXXCPP $CPPFLAGS'
74734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74739 /* end confdefs.h. */
74740 #include <math.h>
74741 #ifdef HAVE_IEEEFP_H
74742 #include <ieeefp.h>
74743 #endif
74746 main ()
74748 logf(0);
74750 return 0;
74752 _ACEOF
74753 if ac_fn_cxx_try_compile "$LINENO"; then :
74754 glibcxx_cv_func_logf_use=yes
74755 else
74756 glibcxx_cv_func_logf_use=no
74758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74759 ac_ext=c
74760 ac_cpp='$CPP $CPPFLAGS'
74761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74770 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74772 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74773 for ac_func in logf
74774 do :
74775 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74776 if test "x$ac_cv_func_logf" = x""yes; then :
74777 cat >>confdefs.h <<_ACEOF
74778 #define HAVE_LOGF 1
74779 _ACEOF
74782 done
74784 else
74786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74787 $as_echo_n "checking for _logf declaration... " >&6; }
74788 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74789 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74790 $as_echo_n "(cached) " >&6
74791 else
74794 ac_ext=cpp
74795 ac_cpp='$CXXCPP $CPPFLAGS'
74796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74801 /* end confdefs.h. */
74802 #include <math.h>
74803 #ifdef HAVE_IEEEFP_H
74804 #include <ieeefp.h>
74805 #endif
74808 main ()
74810 _logf(0);
74812 return 0;
74814 _ACEOF
74815 if ac_fn_cxx_try_compile "$LINENO"; then :
74816 glibcxx_cv_func__logf_use=yes
74817 else
74818 glibcxx_cv_func__logf_use=no
74820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74821 ac_ext=c
74822 ac_cpp='$CPP $CPPFLAGS'
74823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74832 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74834 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74835 for ac_func in _logf
74836 do :
74837 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74838 if test "x$ac_cv_func__logf" = x""yes; then :
74839 cat >>confdefs.h <<_ACEOF
74840 #define HAVE__LOGF 1
74841 _ACEOF
74844 done
74853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74854 $as_echo_n "checking for log10f declaration... " >&6; }
74855 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74856 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74857 $as_echo_n "(cached) " >&6
74858 else
74861 ac_ext=cpp
74862 ac_cpp='$CXXCPP $CPPFLAGS'
74863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74868 /* end confdefs.h. */
74869 #include <math.h>
74870 #ifdef HAVE_IEEEFP_H
74871 #include <ieeefp.h>
74872 #endif
74875 main ()
74877 log10f(0);
74879 return 0;
74881 _ACEOF
74882 if ac_fn_cxx_try_compile "$LINENO"; then :
74883 glibcxx_cv_func_log10f_use=yes
74884 else
74885 glibcxx_cv_func_log10f_use=no
74887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74888 ac_ext=c
74889 ac_cpp='$CPP $CPPFLAGS'
74890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74899 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74901 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74902 for ac_func in log10f
74903 do :
74904 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74905 if test "x$ac_cv_func_log10f" = x""yes; then :
74906 cat >>confdefs.h <<_ACEOF
74907 #define HAVE_LOG10F 1
74908 _ACEOF
74911 done
74913 else
74915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74916 $as_echo_n "checking for _log10f declaration... " >&6; }
74917 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74918 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74919 $as_echo_n "(cached) " >&6
74920 else
74923 ac_ext=cpp
74924 ac_cpp='$CXXCPP $CPPFLAGS'
74925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74930 /* end confdefs.h. */
74931 #include <math.h>
74932 #ifdef HAVE_IEEEFP_H
74933 #include <ieeefp.h>
74934 #endif
74937 main ()
74939 _log10f(0);
74941 return 0;
74943 _ACEOF
74944 if ac_fn_cxx_try_compile "$LINENO"; then :
74945 glibcxx_cv_func__log10f_use=yes
74946 else
74947 glibcxx_cv_func__log10f_use=no
74949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74950 ac_ext=c
74951 ac_cpp='$CPP $CPPFLAGS'
74952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74961 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74963 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74964 for ac_func in _log10f
74965 do :
74966 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74967 if test "x$ac_cv_func__log10f" = x""yes; then :
74968 cat >>confdefs.h <<_ACEOF
74969 #define HAVE__LOG10F 1
74970 _ACEOF
74973 done
74982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74983 $as_echo_n "checking for modff declaration... " >&6; }
74984 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74985 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74986 $as_echo_n "(cached) " >&6
74987 else
74990 ac_ext=cpp
74991 ac_cpp='$CXXCPP $CPPFLAGS'
74992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74997 /* end confdefs.h. */
74998 #include <math.h>
75000 main ()
75002 modff(0, 0);
75004 return 0;
75006 _ACEOF
75007 if ac_fn_cxx_try_compile "$LINENO"; then :
75008 glibcxx_cv_func_modff_use=yes
75009 else
75010 glibcxx_cv_func_modff_use=no
75012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75013 ac_ext=c
75014 ac_cpp='$CPP $CPPFLAGS'
75015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75024 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75026 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75027 for ac_func in modff
75028 do :
75029 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75030 if test "x$ac_cv_func_modff" = x""yes; then :
75031 cat >>confdefs.h <<_ACEOF
75032 #define HAVE_MODFF 1
75033 _ACEOF
75036 done
75038 else
75040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75041 $as_echo_n "checking for _modff declaration... " >&6; }
75042 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75043 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75044 $as_echo_n "(cached) " >&6
75045 else
75048 ac_ext=cpp
75049 ac_cpp='$CXXCPP $CPPFLAGS'
75050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75055 /* end confdefs.h. */
75056 #include <math.h>
75058 main ()
75060 _modff(0, 0);
75062 return 0;
75064 _ACEOF
75065 if ac_fn_cxx_try_compile "$LINENO"; then :
75066 glibcxx_cv_func__modff_use=yes
75067 else
75068 glibcxx_cv_func__modff_use=no
75070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75071 ac_ext=c
75072 ac_cpp='$CPP $CPPFLAGS'
75073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75082 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75084 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75085 for ac_func in _modff
75086 do :
75087 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75088 if test "x$ac_cv_func__modff" = x""yes; then :
75089 cat >>confdefs.h <<_ACEOF
75090 #define HAVE__MODFF 1
75091 _ACEOF
75094 done
75103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75104 $as_echo_n "checking for modf declaration... " >&6; }
75105 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75106 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75107 $as_echo_n "(cached) " >&6
75108 else
75111 ac_ext=cpp
75112 ac_cpp='$CXXCPP $CPPFLAGS'
75113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75118 /* end confdefs.h. */
75119 #include <math.h>
75121 main ()
75123 modf(0, 0);
75125 return 0;
75127 _ACEOF
75128 if ac_fn_cxx_try_compile "$LINENO"; then :
75129 glibcxx_cv_func_modf_use=yes
75130 else
75131 glibcxx_cv_func_modf_use=no
75133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75134 ac_ext=c
75135 ac_cpp='$CPP $CPPFLAGS'
75136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75145 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75147 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75148 for ac_func in modf
75149 do :
75150 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75151 if test "x$ac_cv_func_modf" = x""yes; then :
75152 cat >>confdefs.h <<_ACEOF
75153 #define HAVE_MODF 1
75154 _ACEOF
75157 done
75159 else
75161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75162 $as_echo_n "checking for _modf declaration... " >&6; }
75163 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75164 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75165 $as_echo_n "(cached) " >&6
75166 else
75169 ac_ext=cpp
75170 ac_cpp='$CXXCPP $CPPFLAGS'
75171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75176 /* end confdefs.h. */
75177 #include <math.h>
75179 main ()
75181 _modf(0, 0);
75183 return 0;
75185 _ACEOF
75186 if ac_fn_cxx_try_compile "$LINENO"; then :
75187 glibcxx_cv_func__modf_use=yes
75188 else
75189 glibcxx_cv_func__modf_use=no
75191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75192 ac_ext=c
75193 ac_cpp='$CPP $CPPFLAGS'
75194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75203 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75205 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75206 for ac_func in _modf
75207 do :
75208 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75209 if test "x$ac_cv_func__modf" = x""yes; then :
75210 cat >>confdefs.h <<_ACEOF
75211 #define HAVE__MODF 1
75212 _ACEOF
75215 done
75224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75225 $as_echo_n "checking for powf declaration... " >&6; }
75226 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75227 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75228 $as_echo_n "(cached) " >&6
75229 else
75232 ac_ext=cpp
75233 ac_cpp='$CXXCPP $CPPFLAGS'
75234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75239 /* end confdefs.h. */
75240 #include <math.h>
75242 main ()
75244 powf(0, 0);
75246 return 0;
75248 _ACEOF
75249 if ac_fn_cxx_try_compile "$LINENO"; then :
75250 glibcxx_cv_func_powf_use=yes
75251 else
75252 glibcxx_cv_func_powf_use=no
75254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75255 ac_ext=c
75256 ac_cpp='$CPP $CPPFLAGS'
75257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75266 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75268 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75269 for ac_func in powf
75270 do :
75271 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75272 if test "x$ac_cv_func_powf" = x""yes; then :
75273 cat >>confdefs.h <<_ACEOF
75274 #define HAVE_POWF 1
75275 _ACEOF
75278 done
75280 else
75282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75283 $as_echo_n "checking for _powf declaration... " >&6; }
75284 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75285 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75286 $as_echo_n "(cached) " >&6
75287 else
75290 ac_ext=cpp
75291 ac_cpp='$CXXCPP $CPPFLAGS'
75292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75297 /* end confdefs.h. */
75298 #include <math.h>
75300 main ()
75302 _powf(0, 0);
75304 return 0;
75306 _ACEOF
75307 if ac_fn_cxx_try_compile "$LINENO"; then :
75308 glibcxx_cv_func__powf_use=yes
75309 else
75310 glibcxx_cv_func__powf_use=no
75312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75313 ac_ext=c
75314 ac_cpp='$CPP $CPPFLAGS'
75315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75324 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75326 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75327 for ac_func in _powf
75328 do :
75329 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75330 if test "x$ac_cv_func__powf" = x""yes; then :
75331 cat >>confdefs.h <<_ACEOF
75332 #define HAVE__POWF 1
75333 _ACEOF
75336 done
75345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75346 $as_echo_n "checking for sqrtf declaration... " >&6; }
75347 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75348 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75349 $as_echo_n "(cached) " >&6
75350 else
75353 ac_ext=cpp
75354 ac_cpp='$CXXCPP $CPPFLAGS'
75355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75360 /* end confdefs.h. */
75361 #include <math.h>
75362 #ifdef HAVE_IEEEFP_H
75363 #include <ieeefp.h>
75364 #endif
75367 main ()
75369 sqrtf(0);
75371 return 0;
75373 _ACEOF
75374 if ac_fn_cxx_try_compile "$LINENO"; then :
75375 glibcxx_cv_func_sqrtf_use=yes
75376 else
75377 glibcxx_cv_func_sqrtf_use=no
75379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75380 ac_ext=c
75381 ac_cpp='$CPP $CPPFLAGS'
75382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75391 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75393 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75394 for ac_func in sqrtf
75395 do :
75396 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75397 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75398 cat >>confdefs.h <<_ACEOF
75399 #define HAVE_SQRTF 1
75400 _ACEOF
75403 done
75405 else
75407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75408 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75409 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75410 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75411 $as_echo_n "(cached) " >&6
75412 else
75415 ac_ext=cpp
75416 ac_cpp='$CXXCPP $CPPFLAGS'
75417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75422 /* end confdefs.h. */
75423 #include <math.h>
75424 #ifdef HAVE_IEEEFP_H
75425 #include <ieeefp.h>
75426 #endif
75429 main ()
75431 _sqrtf(0);
75433 return 0;
75435 _ACEOF
75436 if ac_fn_cxx_try_compile "$LINENO"; then :
75437 glibcxx_cv_func__sqrtf_use=yes
75438 else
75439 glibcxx_cv_func__sqrtf_use=no
75441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75442 ac_ext=c
75443 ac_cpp='$CPP $CPPFLAGS'
75444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75453 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75455 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75456 for ac_func in _sqrtf
75457 do :
75458 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75459 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75460 cat >>confdefs.h <<_ACEOF
75461 #define HAVE__SQRTF 1
75462 _ACEOF
75465 done
75474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75475 $as_echo_n "checking for sincosf declaration... " >&6; }
75476 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75477 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75478 $as_echo_n "(cached) " >&6
75479 else
75482 ac_ext=cpp
75483 ac_cpp='$CXXCPP $CPPFLAGS'
75484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75489 /* end confdefs.h. */
75490 #include <math.h>
75492 main ()
75494 sincosf(0, 0, 0);
75496 return 0;
75498 _ACEOF
75499 if ac_fn_cxx_try_compile "$LINENO"; then :
75500 glibcxx_cv_func_sincosf_use=yes
75501 else
75502 glibcxx_cv_func_sincosf_use=no
75504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75505 ac_ext=c
75506 ac_cpp='$CPP $CPPFLAGS'
75507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75516 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75518 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75519 for ac_func in sincosf
75520 do :
75521 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75522 if test "x$ac_cv_func_sincosf" = x""yes; then :
75523 cat >>confdefs.h <<_ACEOF
75524 #define HAVE_SINCOSF 1
75525 _ACEOF
75528 done
75530 else
75532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75533 $as_echo_n "checking for _sincosf declaration... " >&6; }
75534 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75535 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75536 $as_echo_n "(cached) " >&6
75537 else
75540 ac_ext=cpp
75541 ac_cpp='$CXXCPP $CPPFLAGS'
75542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75547 /* end confdefs.h. */
75548 #include <math.h>
75550 main ()
75552 _sincosf(0, 0, 0);
75554 return 0;
75556 _ACEOF
75557 if ac_fn_cxx_try_compile "$LINENO"; then :
75558 glibcxx_cv_func__sincosf_use=yes
75559 else
75560 glibcxx_cv_func__sincosf_use=no
75562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75563 ac_ext=c
75564 ac_cpp='$CPP $CPPFLAGS'
75565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75574 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75576 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75577 for ac_func in _sincosf
75578 do :
75579 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75580 if test "x$ac_cv_func__sincosf" = x""yes; then :
75581 cat >>confdefs.h <<_ACEOF
75582 #define HAVE__SINCOSF 1
75583 _ACEOF
75586 done
75595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75596 $as_echo_n "checking for finitef declaration... " >&6; }
75597 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75598 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75599 $as_echo_n "(cached) " >&6
75600 else
75603 ac_ext=cpp
75604 ac_cpp='$CXXCPP $CPPFLAGS'
75605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75610 /* end confdefs.h. */
75611 #include <math.h>
75612 #ifdef HAVE_IEEEFP_H
75613 #include <ieeefp.h>
75614 #endif
75617 main ()
75619 finitef(0);
75621 return 0;
75623 _ACEOF
75624 if ac_fn_cxx_try_compile "$LINENO"; then :
75625 glibcxx_cv_func_finitef_use=yes
75626 else
75627 glibcxx_cv_func_finitef_use=no
75629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75630 ac_ext=c
75631 ac_cpp='$CPP $CPPFLAGS'
75632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75641 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75643 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75644 for ac_func in finitef
75645 do :
75646 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75647 if test "x$ac_cv_func_finitef" = x""yes; then :
75648 cat >>confdefs.h <<_ACEOF
75649 #define HAVE_FINITEF 1
75650 _ACEOF
75653 done
75655 else
75657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75658 $as_echo_n "checking for _finitef declaration... " >&6; }
75659 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75660 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75661 $as_echo_n "(cached) " >&6
75662 else
75665 ac_ext=cpp
75666 ac_cpp='$CXXCPP $CPPFLAGS'
75667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75672 /* end confdefs.h. */
75673 #include <math.h>
75674 #ifdef HAVE_IEEEFP_H
75675 #include <ieeefp.h>
75676 #endif
75679 main ()
75681 _finitef(0);
75683 return 0;
75685 _ACEOF
75686 if ac_fn_cxx_try_compile "$LINENO"; then :
75687 glibcxx_cv_func__finitef_use=yes
75688 else
75689 glibcxx_cv_func__finitef_use=no
75691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75692 ac_ext=c
75693 ac_cpp='$CPP $CPPFLAGS'
75694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75703 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75705 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75706 for ac_func in _finitef
75707 do :
75708 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75709 if test "x$ac_cv_func__finitef" = x""yes; then :
75710 cat >>confdefs.h <<_ACEOF
75711 #define HAVE__FINITEF 1
75712 _ACEOF
75715 done
75724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75725 $as_echo_n "checking for long double trig functions... " >&6; }
75726 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75727 $as_echo_n "(cached) " >&6
75728 else
75731 ac_ext=cpp
75732 ac_cpp='$CXXCPP $CPPFLAGS'
75733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75738 /* end confdefs.h. */
75739 #include <math.h>
75741 main ()
75743 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75745 return 0;
75747 _ACEOF
75748 if ac_fn_cxx_try_compile "$LINENO"; then :
75749 glibcxx_cv_func_long_double_trig_use=yes
75750 else
75751 glibcxx_cv_func_long_double_trig_use=no
75753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75754 ac_ext=c
75755 ac_cpp='$CPP $CPPFLAGS'
75756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75763 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75764 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75765 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75766 do :
75767 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75768 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75769 eval as_val=\$$as_ac_var
75770 if test "x$as_val" = x""yes; then :
75771 cat >>confdefs.h <<_ACEOF
75772 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75773 _ACEOF
75776 done
75778 else
75779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75780 $as_echo_n "checking for _long double trig functions... " >&6; }
75781 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75782 $as_echo_n "(cached) " >&6
75783 else
75786 ac_ext=cpp
75787 ac_cpp='$CXXCPP $CPPFLAGS'
75788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75793 /* end confdefs.h. */
75794 #include <math.h>
75796 main ()
75798 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75800 return 0;
75802 _ACEOF
75803 if ac_fn_cxx_try_compile "$LINENO"; then :
75804 glibcxx_cv_func__long_double_trig_use=yes
75805 else
75806 glibcxx_cv_func__long_double_trig_use=no
75808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75809 ac_ext=c
75810 ac_cpp='$CPP $CPPFLAGS'
75811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75818 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75819 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75820 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75821 do :
75822 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75823 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75824 eval as_val=\$$as_ac_var
75825 if test "x$as_val" = x""yes; then :
75826 cat >>confdefs.h <<_ACEOF
75827 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75828 _ACEOF
75831 done
75840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75841 $as_echo_n "checking for long double round functions... " >&6; }
75842 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75843 $as_echo_n "(cached) " >&6
75844 else
75847 ac_ext=cpp
75848 ac_cpp='$CXXCPP $CPPFLAGS'
75849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75854 /* end confdefs.h. */
75855 #include <math.h>
75857 main ()
75859 ceill (0); floorl (0);
75861 return 0;
75863 _ACEOF
75864 if ac_fn_cxx_try_compile "$LINENO"; then :
75865 glibcxx_cv_func_long_double_round_use=yes
75866 else
75867 glibcxx_cv_func_long_double_round_use=no
75869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75870 ac_ext=c
75871 ac_cpp='$CPP $CPPFLAGS'
75872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75879 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75880 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75881 for ac_func in ceill floorl
75882 do :
75883 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75884 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75885 eval as_val=\$$as_ac_var
75886 if test "x$as_val" = x""yes; then :
75887 cat >>confdefs.h <<_ACEOF
75888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75889 _ACEOF
75892 done
75894 else
75895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75896 $as_echo_n "checking for _long double round functions... " >&6; }
75897 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75898 $as_echo_n "(cached) " >&6
75899 else
75902 ac_ext=cpp
75903 ac_cpp='$CXXCPP $CPPFLAGS'
75904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75909 /* end confdefs.h. */
75910 #include <math.h>
75912 main ()
75914 _ceill (0); _floorl (0);
75916 return 0;
75918 _ACEOF
75919 if ac_fn_cxx_try_compile "$LINENO"; then :
75920 glibcxx_cv_func__long_double_round_use=yes
75921 else
75922 glibcxx_cv_func__long_double_round_use=no
75924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75925 ac_ext=c
75926 ac_cpp='$CPP $CPPFLAGS'
75927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75934 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75935 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75936 for ac_func in _ceill _floorl
75937 do :
75938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75940 eval as_val=\$$as_ac_var
75941 if test "x$as_val" = x""yes; then :
75942 cat >>confdefs.h <<_ACEOF
75943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75944 _ACEOF
75947 done
75957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75958 $as_echo_n "checking for isnanl declaration... " >&6; }
75959 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75960 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75961 $as_echo_n "(cached) " >&6
75962 else
75965 ac_ext=cpp
75966 ac_cpp='$CXXCPP $CPPFLAGS'
75967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75972 /* end confdefs.h. */
75973 #include <math.h>
75974 #ifdef HAVE_IEEEFP_H
75975 #include <ieeefp.h>
75976 #endif
75979 main ()
75981 isnanl(0);
75983 return 0;
75985 _ACEOF
75986 if ac_fn_cxx_try_compile "$LINENO"; then :
75987 glibcxx_cv_func_isnanl_use=yes
75988 else
75989 glibcxx_cv_func_isnanl_use=no
75991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75992 ac_ext=c
75993 ac_cpp='$CPP $CPPFLAGS'
75994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76003 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76005 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76006 for ac_func in isnanl
76007 do :
76008 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76009 if test "x$ac_cv_func_isnanl" = x""yes; then :
76010 cat >>confdefs.h <<_ACEOF
76011 #define HAVE_ISNANL 1
76012 _ACEOF
76015 done
76017 else
76019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76020 $as_echo_n "checking for _isnanl declaration... " >&6; }
76021 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76022 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76023 $as_echo_n "(cached) " >&6
76024 else
76027 ac_ext=cpp
76028 ac_cpp='$CXXCPP $CPPFLAGS'
76029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76034 /* end confdefs.h. */
76035 #include <math.h>
76036 #ifdef HAVE_IEEEFP_H
76037 #include <ieeefp.h>
76038 #endif
76041 main ()
76043 _isnanl(0);
76045 return 0;
76047 _ACEOF
76048 if ac_fn_cxx_try_compile "$LINENO"; then :
76049 glibcxx_cv_func__isnanl_use=yes
76050 else
76051 glibcxx_cv_func__isnanl_use=no
76053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76054 ac_ext=c
76055 ac_cpp='$CPP $CPPFLAGS'
76056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76065 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76067 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76068 for ac_func in _isnanl
76069 do :
76070 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76071 if test "x$ac_cv_func__isnanl" = x""yes; then :
76072 cat >>confdefs.h <<_ACEOF
76073 #define HAVE__ISNANL 1
76074 _ACEOF
76077 done
76086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76087 $as_echo_n "checking for isinfl declaration... " >&6; }
76088 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76089 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76090 $as_echo_n "(cached) " >&6
76091 else
76094 ac_ext=cpp
76095 ac_cpp='$CXXCPP $CPPFLAGS'
76096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76101 /* end confdefs.h. */
76102 #include <math.h>
76103 #ifdef HAVE_IEEEFP_H
76104 #include <ieeefp.h>
76105 #endif
76108 main ()
76110 isinfl(0);
76112 return 0;
76114 _ACEOF
76115 if ac_fn_cxx_try_compile "$LINENO"; then :
76116 glibcxx_cv_func_isinfl_use=yes
76117 else
76118 glibcxx_cv_func_isinfl_use=no
76120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76121 ac_ext=c
76122 ac_cpp='$CPP $CPPFLAGS'
76123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76132 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76134 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76135 for ac_func in isinfl
76136 do :
76137 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76138 if test "x$ac_cv_func_isinfl" = x""yes; then :
76139 cat >>confdefs.h <<_ACEOF
76140 #define HAVE_ISINFL 1
76141 _ACEOF
76144 done
76146 else
76148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76149 $as_echo_n "checking for _isinfl declaration... " >&6; }
76150 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76151 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76152 $as_echo_n "(cached) " >&6
76153 else
76156 ac_ext=cpp
76157 ac_cpp='$CXXCPP $CPPFLAGS'
76158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76163 /* end confdefs.h. */
76164 #include <math.h>
76165 #ifdef HAVE_IEEEFP_H
76166 #include <ieeefp.h>
76167 #endif
76170 main ()
76172 _isinfl(0);
76174 return 0;
76176 _ACEOF
76177 if ac_fn_cxx_try_compile "$LINENO"; then :
76178 glibcxx_cv_func__isinfl_use=yes
76179 else
76180 glibcxx_cv_func__isinfl_use=no
76182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76183 ac_ext=c
76184 ac_cpp='$CPP $CPPFLAGS'
76185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76194 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76196 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76197 for ac_func in _isinfl
76198 do :
76199 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76200 if test "x$ac_cv_func__isinfl" = x""yes; then :
76201 cat >>confdefs.h <<_ACEOF
76202 #define HAVE__ISINFL 1
76203 _ACEOF
76206 done
76215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76216 $as_echo_n "checking for atan2l declaration... " >&6; }
76217 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76218 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76219 $as_echo_n "(cached) " >&6
76220 else
76223 ac_ext=cpp
76224 ac_cpp='$CXXCPP $CPPFLAGS'
76225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76230 /* end confdefs.h. */
76231 #include <math.h>
76233 main ()
76235 atan2l(0, 0);
76237 return 0;
76239 _ACEOF
76240 if ac_fn_cxx_try_compile "$LINENO"; then :
76241 glibcxx_cv_func_atan2l_use=yes
76242 else
76243 glibcxx_cv_func_atan2l_use=no
76245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76246 ac_ext=c
76247 ac_cpp='$CPP $CPPFLAGS'
76248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76257 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76259 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76260 for ac_func in atan2l
76261 do :
76262 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76263 if test "x$ac_cv_func_atan2l" = x""yes; then :
76264 cat >>confdefs.h <<_ACEOF
76265 #define HAVE_ATAN2L 1
76266 _ACEOF
76269 done
76271 else
76273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76274 $as_echo_n "checking for _atan2l declaration... " >&6; }
76275 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76276 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76277 $as_echo_n "(cached) " >&6
76278 else
76281 ac_ext=cpp
76282 ac_cpp='$CXXCPP $CPPFLAGS'
76283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76288 /* end confdefs.h. */
76289 #include <math.h>
76291 main ()
76293 _atan2l(0, 0);
76295 return 0;
76297 _ACEOF
76298 if ac_fn_cxx_try_compile "$LINENO"; then :
76299 glibcxx_cv_func__atan2l_use=yes
76300 else
76301 glibcxx_cv_func__atan2l_use=no
76303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76304 ac_ext=c
76305 ac_cpp='$CPP $CPPFLAGS'
76306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76315 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76317 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76318 for ac_func in _atan2l
76319 do :
76320 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76321 if test "x$ac_cv_func__atan2l" = x""yes; then :
76322 cat >>confdefs.h <<_ACEOF
76323 #define HAVE__ATAN2L 1
76324 _ACEOF
76327 done
76336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76337 $as_echo_n "checking for expl declaration... " >&6; }
76338 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76339 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76340 $as_echo_n "(cached) " >&6
76341 else
76344 ac_ext=cpp
76345 ac_cpp='$CXXCPP $CPPFLAGS'
76346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76351 /* end confdefs.h. */
76352 #include <math.h>
76353 #ifdef HAVE_IEEEFP_H
76354 #include <ieeefp.h>
76355 #endif
76358 main ()
76360 expl(0);
76362 return 0;
76364 _ACEOF
76365 if ac_fn_cxx_try_compile "$LINENO"; then :
76366 glibcxx_cv_func_expl_use=yes
76367 else
76368 glibcxx_cv_func_expl_use=no
76370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76371 ac_ext=c
76372 ac_cpp='$CPP $CPPFLAGS'
76373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76382 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76384 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76385 for ac_func in expl
76386 do :
76387 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76388 if test "x$ac_cv_func_expl" = x""yes; then :
76389 cat >>confdefs.h <<_ACEOF
76390 #define HAVE_EXPL 1
76391 _ACEOF
76394 done
76396 else
76398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76399 $as_echo_n "checking for _expl declaration... " >&6; }
76400 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76401 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76402 $as_echo_n "(cached) " >&6
76403 else
76406 ac_ext=cpp
76407 ac_cpp='$CXXCPP $CPPFLAGS'
76408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76413 /* end confdefs.h. */
76414 #include <math.h>
76415 #ifdef HAVE_IEEEFP_H
76416 #include <ieeefp.h>
76417 #endif
76420 main ()
76422 _expl(0);
76424 return 0;
76426 _ACEOF
76427 if ac_fn_cxx_try_compile "$LINENO"; then :
76428 glibcxx_cv_func__expl_use=yes
76429 else
76430 glibcxx_cv_func__expl_use=no
76432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76433 ac_ext=c
76434 ac_cpp='$CPP $CPPFLAGS'
76435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76444 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76446 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76447 for ac_func in _expl
76448 do :
76449 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76450 if test "x$ac_cv_func__expl" = x""yes; then :
76451 cat >>confdefs.h <<_ACEOF
76452 #define HAVE__EXPL 1
76453 _ACEOF
76456 done
76465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76466 $as_echo_n "checking for fabsl declaration... " >&6; }
76467 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76468 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76469 $as_echo_n "(cached) " >&6
76470 else
76473 ac_ext=cpp
76474 ac_cpp='$CXXCPP $CPPFLAGS'
76475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76480 /* end confdefs.h. */
76481 #include <math.h>
76482 #ifdef HAVE_IEEEFP_H
76483 #include <ieeefp.h>
76484 #endif
76487 main ()
76489 fabsl(0);
76491 return 0;
76493 _ACEOF
76494 if ac_fn_cxx_try_compile "$LINENO"; then :
76495 glibcxx_cv_func_fabsl_use=yes
76496 else
76497 glibcxx_cv_func_fabsl_use=no
76499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76500 ac_ext=c
76501 ac_cpp='$CPP $CPPFLAGS'
76502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76511 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76513 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76514 for ac_func in fabsl
76515 do :
76516 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76517 if test "x$ac_cv_func_fabsl" = x""yes; then :
76518 cat >>confdefs.h <<_ACEOF
76519 #define HAVE_FABSL 1
76520 _ACEOF
76523 done
76525 else
76527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76528 $as_echo_n "checking for _fabsl declaration... " >&6; }
76529 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76530 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76531 $as_echo_n "(cached) " >&6
76532 else
76535 ac_ext=cpp
76536 ac_cpp='$CXXCPP $CPPFLAGS'
76537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76542 /* end confdefs.h. */
76543 #include <math.h>
76544 #ifdef HAVE_IEEEFP_H
76545 #include <ieeefp.h>
76546 #endif
76549 main ()
76551 _fabsl(0);
76553 return 0;
76555 _ACEOF
76556 if ac_fn_cxx_try_compile "$LINENO"; then :
76557 glibcxx_cv_func__fabsl_use=yes
76558 else
76559 glibcxx_cv_func__fabsl_use=no
76561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76562 ac_ext=c
76563 ac_cpp='$CPP $CPPFLAGS'
76564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76573 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76575 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76576 for ac_func in _fabsl
76577 do :
76578 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76579 if test "x$ac_cv_func__fabsl" = x""yes; then :
76580 cat >>confdefs.h <<_ACEOF
76581 #define HAVE__FABSL 1
76582 _ACEOF
76585 done
76594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76595 $as_echo_n "checking for fmodl declaration... " >&6; }
76596 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76597 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76598 $as_echo_n "(cached) " >&6
76599 else
76602 ac_ext=cpp
76603 ac_cpp='$CXXCPP $CPPFLAGS'
76604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76609 /* end confdefs.h. */
76610 #include <math.h>
76612 main ()
76614 fmodl(0, 0);
76616 return 0;
76618 _ACEOF
76619 if ac_fn_cxx_try_compile "$LINENO"; then :
76620 glibcxx_cv_func_fmodl_use=yes
76621 else
76622 glibcxx_cv_func_fmodl_use=no
76624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76625 ac_ext=c
76626 ac_cpp='$CPP $CPPFLAGS'
76627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76636 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76638 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76639 for ac_func in fmodl
76640 do :
76641 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76642 if test "x$ac_cv_func_fmodl" = x""yes; then :
76643 cat >>confdefs.h <<_ACEOF
76644 #define HAVE_FMODL 1
76645 _ACEOF
76648 done
76650 else
76652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76653 $as_echo_n "checking for _fmodl declaration... " >&6; }
76654 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76655 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76656 $as_echo_n "(cached) " >&6
76657 else
76660 ac_ext=cpp
76661 ac_cpp='$CXXCPP $CPPFLAGS'
76662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76667 /* end confdefs.h. */
76668 #include <math.h>
76670 main ()
76672 _fmodl(0, 0);
76674 return 0;
76676 _ACEOF
76677 if ac_fn_cxx_try_compile "$LINENO"; then :
76678 glibcxx_cv_func__fmodl_use=yes
76679 else
76680 glibcxx_cv_func__fmodl_use=no
76682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76683 ac_ext=c
76684 ac_cpp='$CPP $CPPFLAGS'
76685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76694 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76696 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76697 for ac_func in _fmodl
76698 do :
76699 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76700 if test "x$ac_cv_func__fmodl" = x""yes; then :
76701 cat >>confdefs.h <<_ACEOF
76702 #define HAVE__FMODL 1
76703 _ACEOF
76706 done
76715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76716 $as_echo_n "checking for frexpl declaration... " >&6; }
76717 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76718 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76719 $as_echo_n "(cached) " >&6
76720 else
76723 ac_ext=cpp
76724 ac_cpp='$CXXCPP $CPPFLAGS'
76725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76730 /* end confdefs.h. */
76731 #include <math.h>
76733 main ()
76735 frexpl(0, 0);
76737 return 0;
76739 _ACEOF
76740 if ac_fn_cxx_try_compile "$LINENO"; then :
76741 glibcxx_cv_func_frexpl_use=yes
76742 else
76743 glibcxx_cv_func_frexpl_use=no
76745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76746 ac_ext=c
76747 ac_cpp='$CPP $CPPFLAGS'
76748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76757 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76759 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76760 for ac_func in frexpl
76761 do :
76762 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76763 if test "x$ac_cv_func_frexpl" = x""yes; then :
76764 cat >>confdefs.h <<_ACEOF
76765 #define HAVE_FREXPL 1
76766 _ACEOF
76769 done
76771 else
76773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76774 $as_echo_n "checking for _frexpl declaration... " >&6; }
76775 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76776 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76777 $as_echo_n "(cached) " >&6
76778 else
76781 ac_ext=cpp
76782 ac_cpp='$CXXCPP $CPPFLAGS'
76783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76788 /* end confdefs.h. */
76789 #include <math.h>
76791 main ()
76793 _frexpl(0, 0);
76795 return 0;
76797 _ACEOF
76798 if ac_fn_cxx_try_compile "$LINENO"; then :
76799 glibcxx_cv_func__frexpl_use=yes
76800 else
76801 glibcxx_cv_func__frexpl_use=no
76803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76804 ac_ext=c
76805 ac_cpp='$CPP $CPPFLAGS'
76806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76815 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76817 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76818 for ac_func in _frexpl
76819 do :
76820 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76821 if test "x$ac_cv_func__frexpl" = x""yes; then :
76822 cat >>confdefs.h <<_ACEOF
76823 #define HAVE__FREXPL 1
76824 _ACEOF
76827 done
76836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76837 $as_echo_n "checking for hypotl declaration... " >&6; }
76838 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76839 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76840 $as_echo_n "(cached) " >&6
76841 else
76844 ac_ext=cpp
76845 ac_cpp='$CXXCPP $CPPFLAGS'
76846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76851 /* end confdefs.h. */
76852 #include <math.h>
76854 main ()
76856 hypotl(0, 0);
76858 return 0;
76860 _ACEOF
76861 if ac_fn_cxx_try_compile "$LINENO"; then :
76862 glibcxx_cv_func_hypotl_use=yes
76863 else
76864 glibcxx_cv_func_hypotl_use=no
76866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76867 ac_ext=c
76868 ac_cpp='$CPP $CPPFLAGS'
76869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76878 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76880 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76881 for ac_func in hypotl
76882 do :
76883 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76884 if test "x$ac_cv_func_hypotl" = x""yes; then :
76885 cat >>confdefs.h <<_ACEOF
76886 #define HAVE_HYPOTL 1
76887 _ACEOF
76890 done
76892 else
76894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76895 $as_echo_n "checking for _hypotl declaration... " >&6; }
76896 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76897 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76898 $as_echo_n "(cached) " >&6
76899 else
76902 ac_ext=cpp
76903 ac_cpp='$CXXCPP $CPPFLAGS'
76904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76909 /* end confdefs.h. */
76910 #include <math.h>
76912 main ()
76914 _hypotl(0, 0);
76916 return 0;
76918 _ACEOF
76919 if ac_fn_cxx_try_compile "$LINENO"; then :
76920 glibcxx_cv_func__hypotl_use=yes
76921 else
76922 glibcxx_cv_func__hypotl_use=no
76924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76925 ac_ext=c
76926 ac_cpp='$CPP $CPPFLAGS'
76927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76936 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76938 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76939 for ac_func in _hypotl
76940 do :
76941 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76942 if test "x$ac_cv_func__hypotl" = x""yes; then :
76943 cat >>confdefs.h <<_ACEOF
76944 #define HAVE__HYPOTL 1
76945 _ACEOF
76948 done
76957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76958 $as_echo_n "checking for ldexpl declaration... " >&6; }
76959 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76960 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76961 $as_echo_n "(cached) " >&6
76962 else
76965 ac_ext=cpp
76966 ac_cpp='$CXXCPP $CPPFLAGS'
76967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76972 /* end confdefs.h. */
76973 #include <math.h>
76975 main ()
76977 ldexpl(0, 0);
76979 return 0;
76981 _ACEOF
76982 if ac_fn_cxx_try_compile "$LINENO"; then :
76983 glibcxx_cv_func_ldexpl_use=yes
76984 else
76985 glibcxx_cv_func_ldexpl_use=no
76987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76988 ac_ext=c
76989 ac_cpp='$CPP $CPPFLAGS'
76990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76999 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77001 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77002 for ac_func in ldexpl
77003 do :
77004 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77005 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77006 cat >>confdefs.h <<_ACEOF
77007 #define HAVE_LDEXPL 1
77008 _ACEOF
77011 done
77013 else
77015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77016 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77017 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77018 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77019 $as_echo_n "(cached) " >&6
77020 else
77023 ac_ext=cpp
77024 ac_cpp='$CXXCPP $CPPFLAGS'
77025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77030 /* end confdefs.h. */
77031 #include <math.h>
77033 main ()
77035 _ldexpl(0, 0);
77037 return 0;
77039 _ACEOF
77040 if ac_fn_cxx_try_compile "$LINENO"; then :
77041 glibcxx_cv_func__ldexpl_use=yes
77042 else
77043 glibcxx_cv_func__ldexpl_use=no
77045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77046 ac_ext=c
77047 ac_cpp='$CPP $CPPFLAGS'
77048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77057 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77059 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77060 for ac_func in _ldexpl
77061 do :
77062 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77063 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77064 cat >>confdefs.h <<_ACEOF
77065 #define HAVE__LDEXPL 1
77066 _ACEOF
77069 done
77078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77079 $as_echo_n "checking for logl declaration... " >&6; }
77080 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77081 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77082 $as_echo_n "(cached) " >&6
77083 else
77086 ac_ext=cpp
77087 ac_cpp='$CXXCPP $CPPFLAGS'
77088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77093 /* end confdefs.h. */
77094 #include <math.h>
77095 #ifdef HAVE_IEEEFP_H
77096 #include <ieeefp.h>
77097 #endif
77100 main ()
77102 logl(0);
77104 return 0;
77106 _ACEOF
77107 if ac_fn_cxx_try_compile "$LINENO"; then :
77108 glibcxx_cv_func_logl_use=yes
77109 else
77110 glibcxx_cv_func_logl_use=no
77112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77113 ac_ext=c
77114 ac_cpp='$CPP $CPPFLAGS'
77115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77124 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77126 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77127 for ac_func in logl
77128 do :
77129 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77130 if test "x$ac_cv_func_logl" = x""yes; then :
77131 cat >>confdefs.h <<_ACEOF
77132 #define HAVE_LOGL 1
77133 _ACEOF
77136 done
77138 else
77140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77141 $as_echo_n "checking for _logl declaration... " >&6; }
77142 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77143 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77144 $as_echo_n "(cached) " >&6
77145 else
77148 ac_ext=cpp
77149 ac_cpp='$CXXCPP $CPPFLAGS'
77150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77155 /* end confdefs.h. */
77156 #include <math.h>
77157 #ifdef HAVE_IEEEFP_H
77158 #include <ieeefp.h>
77159 #endif
77162 main ()
77164 _logl(0);
77166 return 0;
77168 _ACEOF
77169 if ac_fn_cxx_try_compile "$LINENO"; then :
77170 glibcxx_cv_func__logl_use=yes
77171 else
77172 glibcxx_cv_func__logl_use=no
77174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77175 ac_ext=c
77176 ac_cpp='$CPP $CPPFLAGS'
77177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77186 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77188 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77189 for ac_func in _logl
77190 do :
77191 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77192 if test "x$ac_cv_func__logl" = x""yes; then :
77193 cat >>confdefs.h <<_ACEOF
77194 #define HAVE__LOGL 1
77195 _ACEOF
77198 done
77207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77208 $as_echo_n "checking for log10l declaration... " >&6; }
77209 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77210 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77211 $as_echo_n "(cached) " >&6
77212 else
77215 ac_ext=cpp
77216 ac_cpp='$CXXCPP $CPPFLAGS'
77217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77222 /* end confdefs.h. */
77223 #include <math.h>
77224 #ifdef HAVE_IEEEFP_H
77225 #include <ieeefp.h>
77226 #endif
77229 main ()
77231 log10l(0);
77233 return 0;
77235 _ACEOF
77236 if ac_fn_cxx_try_compile "$LINENO"; then :
77237 glibcxx_cv_func_log10l_use=yes
77238 else
77239 glibcxx_cv_func_log10l_use=no
77241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77242 ac_ext=c
77243 ac_cpp='$CPP $CPPFLAGS'
77244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77253 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77255 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77256 for ac_func in log10l
77257 do :
77258 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77259 if test "x$ac_cv_func_log10l" = x""yes; then :
77260 cat >>confdefs.h <<_ACEOF
77261 #define HAVE_LOG10L 1
77262 _ACEOF
77265 done
77267 else
77269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77270 $as_echo_n "checking for _log10l declaration... " >&6; }
77271 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77272 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77273 $as_echo_n "(cached) " >&6
77274 else
77277 ac_ext=cpp
77278 ac_cpp='$CXXCPP $CPPFLAGS'
77279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77284 /* end confdefs.h. */
77285 #include <math.h>
77286 #ifdef HAVE_IEEEFP_H
77287 #include <ieeefp.h>
77288 #endif
77291 main ()
77293 _log10l(0);
77295 return 0;
77297 _ACEOF
77298 if ac_fn_cxx_try_compile "$LINENO"; then :
77299 glibcxx_cv_func__log10l_use=yes
77300 else
77301 glibcxx_cv_func__log10l_use=no
77303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77304 ac_ext=c
77305 ac_cpp='$CPP $CPPFLAGS'
77306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77315 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77317 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77318 for ac_func in _log10l
77319 do :
77320 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77321 if test "x$ac_cv_func__log10l" = x""yes; then :
77322 cat >>confdefs.h <<_ACEOF
77323 #define HAVE__LOG10L 1
77324 _ACEOF
77327 done
77336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77337 $as_echo_n "checking for modfl declaration... " >&6; }
77338 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77339 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77340 $as_echo_n "(cached) " >&6
77341 else
77344 ac_ext=cpp
77345 ac_cpp='$CXXCPP $CPPFLAGS'
77346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77351 /* end confdefs.h. */
77352 #include <math.h>
77354 main ()
77356 modfl(0, 0);
77358 return 0;
77360 _ACEOF
77361 if ac_fn_cxx_try_compile "$LINENO"; then :
77362 glibcxx_cv_func_modfl_use=yes
77363 else
77364 glibcxx_cv_func_modfl_use=no
77366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77367 ac_ext=c
77368 ac_cpp='$CPP $CPPFLAGS'
77369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77378 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77380 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77381 for ac_func in modfl
77382 do :
77383 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77384 if test "x$ac_cv_func_modfl" = x""yes; then :
77385 cat >>confdefs.h <<_ACEOF
77386 #define HAVE_MODFL 1
77387 _ACEOF
77390 done
77392 else
77394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77395 $as_echo_n "checking for _modfl declaration... " >&6; }
77396 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77397 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77398 $as_echo_n "(cached) " >&6
77399 else
77402 ac_ext=cpp
77403 ac_cpp='$CXXCPP $CPPFLAGS'
77404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77409 /* end confdefs.h. */
77410 #include <math.h>
77412 main ()
77414 _modfl(0, 0);
77416 return 0;
77418 _ACEOF
77419 if ac_fn_cxx_try_compile "$LINENO"; then :
77420 glibcxx_cv_func__modfl_use=yes
77421 else
77422 glibcxx_cv_func__modfl_use=no
77424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77425 ac_ext=c
77426 ac_cpp='$CPP $CPPFLAGS'
77427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77436 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77438 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77439 for ac_func in _modfl
77440 do :
77441 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77442 if test "x$ac_cv_func__modfl" = x""yes; then :
77443 cat >>confdefs.h <<_ACEOF
77444 #define HAVE__MODFL 1
77445 _ACEOF
77448 done
77457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77458 $as_echo_n "checking for powl declaration... " >&6; }
77459 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77460 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77461 $as_echo_n "(cached) " >&6
77462 else
77465 ac_ext=cpp
77466 ac_cpp='$CXXCPP $CPPFLAGS'
77467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77472 /* end confdefs.h. */
77473 #include <math.h>
77475 main ()
77477 powl(0, 0);
77479 return 0;
77481 _ACEOF
77482 if ac_fn_cxx_try_compile "$LINENO"; then :
77483 glibcxx_cv_func_powl_use=yes
77484 else
77485 glibcxx_cv_func_powl_use=no
77487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77488 ac_ext=c
77489 ac_cpp='$CPP $CPPFLAGS'
77490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77499 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77501 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77502 for ac_func in powl
77503 do :
77504 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77505 if test "x$ac_cv_func_powl" = x""yes; then :
77506 cat >>confdefs.h <<_ACEOF
77507 #define HAVE_POWL 1
77508 _ACEOF
77511 done
77513 else
77515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77516 $as_echo_n "checking for _powl declaration... " >&6; }
77517 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77518 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77519 $as_echo_n "(cached) " >&6
77520 else
77523 ac_ext=cpp
77524 ac_cpp='$CXXCPP $CPPFLAGS'
77525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77530 /* end confdefs.h. */
77531 #include <math.h>
77533 main ()
77535 _powl(0, 0);
77537 return 0;
77539 _ACEOF
77540 if ac_fn_cxx_try_compile "$LINENO"; then :
77541 glibcxx_cv_func__powl_use=yes
77542 else
77543 glibcxx_cv_func__powl_use=no
77545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77546 ac_ext=c
77547 ac_cpp='$CPP $CPPFLAGS'
77548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77557 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77559 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77560 for ac_func in _powl
77561 do :
77562 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77563 if test "x$ac_cv_func__powl" = x""yes; then :
77564 cat >>confdefs.h <<_ACEOF
77565 #define HAVE__POWL 1
77566 _ACEOF
77569 done
77578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77579 $as_echo_n "checking for sqrtl declaration... " >&6; }
77580 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77581 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77582 $as_echo_n "(cached) " >&6
77583 else
77586 ac_ext=cpp
77587 ac_cpp='$CXXCPP $CPPFLAGS'
77588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77593 /* end confdefs.h. */
77594 #include <math.h>
77595 #ifdef HAVE_IEEEFP_H
77596 #include <ieeefp.h>
77597 #endif
77600 main ()
77602 sqrtl(0);
77604 return 0;
77606 _ACEOF
77607 if ac_fn_cxx_try_compile "$LINENO"; then :
77608 glibcxx_cv_func_sqrtl_use=yes
77609 else
77610 glibcxx_cv_func_sqrtl_use=no
77612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77613 ac_ext=c
77614 ac_cpp='$CPP $CPPFLAGS'
77615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77624 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77626 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77627 for ac_func in sqrtl
77628 do :
77629 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77630 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77631 cat >>confdefs.h <<_ACEOF
77632 #define HAVE_SQRTL 1
77633 _ACEOF
77636 done
77638 else
77640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77641 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77642 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77643 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77644 $as_echo_n "(cached) " >&6
77645 else
77648 ac_ext=cpp
77649 ac_cpp='$CXXCPP $CPPFLAGS'
77650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77655 /* end confdefs.h. */
77656 #include <math.h>
77657 #ifdef HAVE_IEEEFP_H
77658 #include <ieeefp.h>
77659 #endif
77662 main ()
77664 _sqrtl(0);
77666 return 0;
77668 _ACEOF
77669 if ac_fn_cxx_try_compile "$LINENO"; then :
77670 glibcxx_cv_func__sqrtl_use=yes
77671 else
77672 glibcxx_cv_func__sqrtl_use=no
77674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77675 ac_ext=c
77676 ac_cpp='$CPP $CPPFLAGS'
77677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77686 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77688 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77689 for ac_func in _sqrtl
77690 do :
77691 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77692 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77693 cat >>confdefs.h <<_ACEOF
77694 #define HAVE__SQRTL 1
77695 _ACEOF
77698 done
77707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77708 $as_echo_n "checking for sincosl declaration... " >&6; }
77709 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77710 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77711 $as_echo_n "(cached) " >&6
77712 else
77715 ac_ext=cpp
77716 ac_cpp='$CXXCPP $CPPFLAGS'
77717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77722 /* end confdefs.h. */
77723 #include <math.h>
77725 main ()
77727 sincosl(0, 0, 0);
77729 return 0;
77731 _ACEOF
77732 if ac_fn_cxx_try_compile "$LINENO"; then :
77733 glibcxx_cv_func_sincosl_use=yes
77734 else
77735 glibcxx_cv_func_sincosl_use=no
77737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77738 ac_ext=c
77739 ac_cpp='$CPP $CPPFLAGS'
77740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77749 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77751 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77752 for ac_func in sincosl
77753 do :
77754 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77755 if test "x$ac_cv_func_sincosl" = x""yes; then :
77756 cat >>confdefs.h <<_ACEOF
77757 #define HAVE_SINCOSL 1
77758 _ACEOF
77761 done
77763 else
77765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77766 $as_echo_n "checking for _sincosl declaration... " >&6; }
77767 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77768 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77769 $as_echo_n "(cached) " >&6
77770 else
77773 ac_ext=cpp
77774 ac_cpp='$CXXCPP $CPPFLAGS'
77775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77780 /* end confdefs.h. */
77781 #include <math.h>
77783 main ()
77785 _sincosl(0, 0, 0);
77787 return 0;
77789 _ACEOF
77790 if ac_fn_cxx_try_compile "$LINENO"; then :
77791 glibcxx_cv_func__sincosl_use=yes
77792 else
77793 glibcxx_cv_func__sincosl_use=no
77795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77796 ac_ext=c
77797 ac_cpp='$CPP $CPPFLAGS'
77798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77807 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77809 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77810 for ac_func in _sincosl
77811 do :
77812 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77813 if test "x$ac_cv_func__sincosl" = x""yes; then :
77814 cat >>confdefs.h <<_ACEOF
77815 #define HAVE__SINCOSL 1
77816 _ACEOF
77819 done
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77829 $as_echo_n "checking for finitel declaration... " >&6; }
77830 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77831 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77832 $as_echo_n "(cached) " >&6
77833 else
77836 ac_ext=cpp
77837 ac_cpp='$CXXCPP $CPPFLAGS'
77838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77843 /* end confdefs.h. */
77844 #include <math.h>
77845 #ifdef HAVE_IEEEFP_H
77846 #include <ieeefp.h>
77847 #endif
77850 main ()
77852 finitel(0);
77854 return 0;
77856 _ACEOF
77857 if ac_fn_cxx_try_compile "$LINENO"; then :
77858 glibcxx_cv_func_finitel_use=yes
77859 else
77860 glibcxx_cv_func_finitel_use=no
77862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77863 ac_ext=c
77864 ac_cpp='$CPP $CPPFLAGS'
77865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77874 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77876 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77877 for ac_func in finitel
77878 do :
77879 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77880 if test "x$ac_cv_func_finitel" = x""yes; then :
77881 cat >>confdefs.h <<_ACEOF
77882 #define HAVE_FINITEL 1
77883 _ACEOF
77886 done
77888 else
77890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77891 $as_echo_n "checking for _finitel declaration... " >&6; }
77892 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77893 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77894 $as_echo_n "(cached) " >&6
77895 else
77898 ac_ext=cpp
77899 ac_cpp='$CXXCPP $CPPFLAGS'
77900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77905 /* end confdefs.h. */
77906 #include <math.h>
77907 #ifdef HAVE_IEEEFP_H
77908 #include <ieeefp.h>
77909 #endif
77912 main ()
77914 _finitel(0);
77916 return 0;
77918 _ACEOF
77919 if ac_fn_cxx_try_compile "$LINENO"; then :
77920 glibcxx_cv_func__finitel_use=yes
77921 else
77922 glibcxx_cv_func__finitel_use=no
77924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77925 ac_ext=c
77926 ac_cpp='$CPP $CPPFLAGS'
77927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77936 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77938 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77939 for ac_func in _finitel
77940 do :
77941 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77942 if test "x$ac_cv_func__finitel" = x""yes; then :
77943 cat >>confdefs.h <<_ACEOF
77944 #define HAVE__FINITEL 1
77945 _ACEOF
77948 done
77956 LIBS="$ac_save_LIBS"
77957 CXXFLAGS="$ac_save_CXXFLAGS"
77960 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77961 ac_save_CXXFLAGS="$CXXFLAGS"
77962 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77966 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77967 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77968 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77969 $as_echo_n "(cached) " >&6
77970 else
77973 ac_ext=cpp
77974 ac_cpp='$CXXCPP $CPPFLAGS'
77975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77980 /* end confdefs.h. */
77981 #include <stdlib.h>
77983 main ()
77985 at_quick_exit(0);
77987 return 0;
77989 _ACEOF
77990 if ac_fn_cxx_try_compile "$LINENO"; then :
77991 glibcxx_cv_func_at_quick_exit_use=yes
77992 else
77993 glibcxx_cv_func_at_quick_exit_use=no
77995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77996 ac_ext=c
77997 ac_cpp='$CPP $CPPFLAGS'
77998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78007 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78008 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78009 for ac_func in at_quick_exit
78010 do :
78011 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78012 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78013 cat >>confdefs.h <<_ACEOF
78014 #define HAVE_AT_QUICK_EXIT 1
78015 _ACEOF
78018 done
78023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78024 $as_echo_n "checking for quick_exit declaration... " >&6; }
78025 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78026 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78027 $as_echo_n "(cached) " >&6
78028 else
78031 ac_ext=cpp
78032 ac_cpp='$CXXCPP $CPPFLAGS'
78033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78038 /* end confdefs.h. */
78039 #include <stdlib.h>
78041 main ()
78043 quick_exit(0);
78045 return 0;
78047 _ACEOF
78048 if ac_fn_cxx_try_compile "$LINENO"; then :
78049 glibcxx_cv_func_quick_exit_use=yes
78050 else
78051 glibcxx_cv_func_quick_exit_use=no
78053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78054 ac_ext=c
78055 ac_cpp='$CPP $CPPFLAGS'
78056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78065 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78066 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78067 for ac_func in quick_exit
78068 do :
78069 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78070 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78071 cat >>confdefs.h <<_ACEOF
78072 #define HAVE_QUICK_EXIT 1
78073 _ACEOF
78076 done
78081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78082 $as_echo_n "checking for strtold declaration... " >&6; }
78083 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78084 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78085 $as_echo_n "(cached) " >&6
78086 else
78089 ac_ext=cpp
78090 ac_cpp='$CXXCPP $CPPFLAGS'
78091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78096 /* end confdefs.h. */
78097 #include <stdlib.h>
78099 main ()
78101 strtold(0, 0);
78103 return 0;
78105 _ACEOF
78106 if ac_fn_cxx_try_compile "$LINENO"; then :
78107 glibcxx_cv_func_strtold_use=yes
78108 else
78109 glibcxx_cv_func_strtold_use=no
78111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78112 ac_ext=c
78113 ac_cpp='$CPP $CPPFLAGS'
78114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78123 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78124 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78125 for ac_func in strtold
78126 do :
78127 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78128 if test "x$ac_cv_func_strtold" = x""yes; then :
78129 cat >>confdefs.h <<_ACEOF
78130 #define HAVE_STRTOLD 1
78131 _ACEOF
78134 done
78141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78142 $as_echo_n "checking for strtof declaration... " >&6; }
78143 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78144 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78145 $as_echo_n "(cached) " >&6
78146 else
78149 ac_ext=cpp
78150 ac_cpp='$CXXCPP $CPPFLAGS'
78151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78156 /* end confdefs.h. */
78157 #include <stdlib.h>
78159 main ()
78161 strtof(0, 0);
78163 return 0;
78165 _ACEOF
78166 if ac_fn_cxx_try_compile "$LINENO"; then :
78167 glibcxx_cv_func_strtof_use=yes
78168 else
78169 glibcxx_cv_func_strtof_use=no
78171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78172 ac_ext=c
78173 ac_cpp='$CPP $CPPFLAGS'
78174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78183 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78184 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78185 for ac_func in strtof
78186 do :
78187 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78188 if test "x$ac_cv_func_strtof" = x""yes; then :
78189 cat >>confdefs.h <<_ACEOF
78190 #define HAVE_STRTOF 1
78191 _ACEOF
78194 done
78201 CXXFLAGS="$ac_save_CXXFLAGS"
78204 *-vxworks)
78205 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78207 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78209 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78211 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78213 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78215 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78217 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78219 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78221 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78223 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78225 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78227 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78229 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78231 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78233 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78235 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78237 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78239 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78241 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78243 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78247 as_fn_error "No support for this host/target combination." "$LINENO" 5
78249 esac
78253 # At some point, we should differentiate between architectures
78254 # like x86, which have long double versions, and alpha/powerpc/etc.,
78255 # which don't. For the time being, punt.
78256 if test x"long_double_math_on_this_cpu" = x"yes"; then
78257 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78259 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78261 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78263 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78265 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78267 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78269 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78271 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78273 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78275 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78277 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78279 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78281 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78283 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78285 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78287 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78289 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78291 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78293 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78295 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78297 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78299 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78301 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78306 # Check for _Unwind_GetIPInfo.
78309 # Check whether --with-system-libunwind was given.
78310 if test "${with_system_libunwind+set}" = set; then :
78311 withval=$with_system_libunwind;
78314 # If system-libunwind was not specifically set, pick a default setting.
78315 if test x$with_system_libunwind = x; then
78316 case ${target} in
78317 ia64-*-hpux*) with_system_libunwind=yes ;;
78318 *) with_system_libunwind=no ;;
78319 esac
78321 # Based on system-libunwind and target, do we have ipinfo?
78322 if test x$with_system_libunwind = xyes; then
78323 case ${target} in
78324 ia64-*-*) have_unwind_getipinfo=no ;;
78325 *) have_unwind_getipinfo=yes ;;
78326 esac
78327 else
78328 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78330 case ${target} in
78331 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78332 *) have_unwind_getipinfo=yes ;;
78333 esac
78337 if test x$have_unwind_getipinfo = xyes; then
78339 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78344 # Check whether --enable-linux-futex was given.
78345 if test "${enable_linux_futex+set}" = set; then :
78346 enableval=$enable_linux_futex;
78347 case "$enableval" in
78348 yes|no|default) ;;
78349 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78350 esac
78352 else
78353 enable_linux_futex=default
78357 case "$target" in
78358 *-linux*)
78359 case "$enable_linux_futex" in
78360 default)
78361 # If headers don't have gettid/futex syscalls definition, then
78362 # default to no, otherwise there will be compile time failures.
78363 # Otherwise, default to yes. If we don't detect we are
78364 # compiled/linked against NPTL and not cross-compiling, check
78365 # if programs are run by default against NPTL and if not, issue
78366 # a warning.
78367 enable_linux_futex=no
78368 if test x$gcc_no_link = xyes; then
78369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78372 /* end confdefs.h. */
78373 #include <sys/syscall.h>
78374 int lk;
78376 main ()
78378 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78380 return 0;
78382 _ACEOF
78383 if ac_fn_c_try_link "$LINENO"; then :
78384 save_LIBS="$LIBS"
78385 LIBS="-lpthread $LIBS"
78386 if test x$gcc_no_link = xyes; then
78387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78390 /* end confdefs.h. */
78391 #ifndef _GNU_SOURCE
78392 #define _GNU_SOURCE 1
78393 #endif
78394 #include <pthread.h>
78395 pthread_t th; void *status;
78397 main ()
78399 pthread_tryjoin_np (th, &status);
78401 return 0;
78403 _ACEOF
78404 if ac_fn_c_try_link "$LINENO"; then :
78405 enable_linux_futex=yes
78406 else
78407 if test x$cross_compiling = xno; then
78408 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78409 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78411 If so, please configure with --disable-linux-futex" >&5
78412 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78413 If so, please configure with --disable-linux-futex" >&2;}
78416 enable_linux_futex=yes
78418 rm -f core conftest.err conftest.$ac_objext \
78419 conftest$ac_exeext conftest.$ac_ext
78420 LIBS="$save_LIBS"
78422 rm -f core conftest.err conftest.$ac_objext \
78423 conftest$ac_exeext conftest.$ac_ext
78425 yes)
78426 if test x$gcc_no_link = xyes; then
78427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78430 /* end confdefs.h. */
78431 #include <sys/syscall.h>
78432 int lk;
78434 main ()
78436 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78438 return 0;
78440 _ACEOF
78441 if ac_fn_c_try_link "$LINENO"; then :
78443 else
78444 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78446 rm -f core conftest.err conftest.$ac_objext \
78447 conftest$ac_exeext conftest.$ac_ext
78449 esac
78452 enable_linux_futex=no
78454 esac
78455 if test x$enable_linux_futex = xyes; then
78457 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78464 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78466 acx_cv_header_stdint=stddef.h
78467 acx_cv_header_stdint_kind="(already complete)"
78468 for i in stdint.h $inttype_headers; do
78469 unset ac_cv_type_uintptr_t
78470 unset ac_cv_type_uintmax_t
78471 unset ac_cv_type_int_least32_t
78472 unset ac_cv_type_int_fast32_t
78473 unset ac_cv_type_uint64_t
78474 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78475 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78476 #include <$i>
78478 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78479 acx_cv_header_stdint=$i
78480 else
78481 continue
78484 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78485 #include <$i>
78487 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78489 else
78490 acx_cv_header_stdint_kind="(mostly complete)"
78493 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78494 #include <$i>
78496 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78498 else
78499 acx_cv_header_stdint_kind="(mostly complete)"
78502 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78503 #include <$i>
78505 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78507 else
78508 acx_cv_header_stdint_kind="(mostly complete)"
78511 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78512 #include <$i>
78514 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78516 else
78517 acx_cv_header_stdint_kind="(lacks uint64_t)"
78520 break
78521 done
78522 if test "$acx_cv_header_stdint" = stddef.h; then
78523 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78524 for i in stdint.h $inttype_headers; do
78525 unset ac_cv_type_uintptr_t
78526 unset ac_cv_type_uint32_t
78527 unset ac_cv_type_uint64_t
78528 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78529 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78530 #include <$i>
78532 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78533 acx_cv_header_stdint=$i
78534 else
78535 continue
78538 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78539 #include <$i>
78541 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78545 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78546 #include <$i>
78548 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78552 break
78553 done
78555 if test "$acx_cv_header_stdint" = stddef.h; then
78556 acx_cv_header_stdint_kind="(u_intXX_t style)"
78557 for i in sys/types.h $inttype_headers; do
78558 unset ac_cv_type_u_int32_t
78559 unset ac_cv_type_u_int64_t
78560 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78561 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78562 #include <$i>
78564 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78565 acx_cv_header_stdint=$i
78566 else
78567 continue
78570 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78571 #include <$i>
78573 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78577 break
78578 done
78580 if test "$acx_cv_header_stdint" = stddef.h; then
78581 acx_cv_header_stdint_kind="(using manual detection)"
78584 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78585 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78586 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78587 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78588 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78590 # ----------------- Summarize what we found so far
78592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78593 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78595 case `$as_basename -- include/gstdint.h ||
78596 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78597 Xinclude/gstdint.h : 'X\(//\)$' \| \
78598 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78599 $as_echo X/include/gstdint.h |
78600 sed '/^.*\/\([^/][^/]*\)\/*$/{
78601 s//\1/
78604 /^X\/\(\/\/\)$/{
78605 s//\1/
78608 /^X\/\(\/\).*/{
78609 s//\1/
78612 s/.*/./; q'` in
78613 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78614 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78615 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78616 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78617 *) ;;
78618 esac
78620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78621 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78623 # ----------------- done included file, check C basic types --------
78625 # Lacking an uintptr_t? Test size of void *
78626 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78627 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78630 # This bug is HP SR number 8606223364.
78631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78632 $as_echo_n "checking size of void *... " >&6; }
78633 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78634 $as_echo_n "(cached) " >&6
78635 else
78636 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78638 else
78639 if test "$ac_cv_type_void_p" = yes; then
78640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78642 { as_fn_set_status 77
78643 as_fn_error "cannot compute sizeof (void *)
78644 See \`config.log' for more details." "$LINENO" 5; }; }
78645 else
78646 ac_cv_sizeof_void_p=0
78651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78652 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78656 cat >>confdefs.h <<_ACEOF
78657 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78658 _ACEOF
78661 esac
78663 # Lacking an uint64_t? Test size of long
78664 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78665 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78666 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78667 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78668 # This bug is HP SR number 8606223364.
78669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78670 $as_echo_n "checking size of long... " >&6; }
78671 if test "${ac_cv_sizeof_long+set}" = set; then :
78672 $as_echo_n "(cached) " >&6
78673 else
78674 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78676 else
78677 if test "$ac_cv_type_long" = yes; then
78678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78680 { as_fn_set_status 77
78681 as_fn_error "cannot compute sizeof (long)
78682 See \`config.log' for more details." "$LINENO" 5; }; }
78683 else
78684 ac_cv_sizeof_long=0
78689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78690 $as_echo "$ac_cv_sizeof_long" >&6; }
78694 cat >>confdefs.h <<_ACEOF
78695 #define SIZEOF_LONG $ac_cv_sizeof_long
78696 _ACEOF
78699 esac
78701 if test $acx_cv_header_stdint = stddef.h; then
78702 # Lacking a good header? Test size of everything and deduce all types.
78703 # The cast to long int works around a bug in the HP C Compiler
78704 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78705 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78706 # This bug is HP SR number 8606223364.
78707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78708 $as_echo_n "checking size of int... " >&6; }
78709 if test "${ac_cv_sizeof_int+set}" = set; then :
78710 $as_echo_n "(cached) " >&6
78711 else
78712 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78714 else
78715 if test "$ac_cv_type_int" = yes; then
78716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78718 { as_fn_set_status 77
78719 as_fn_error "cannot compute sizeof (int)
78720 See \`config.log' for more details." "$LINENO" 5; }; }
78721 else
78722 ac_cv_sizeof_int=0
78727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78728 $as_echo "$ac_cv_sizeof_int" >&6; }
78732 cat >>confdefs.h <<_ACEOF
78733 #define SIZEOF_INT $ac_cv_sizeof_int
78734 _ACEOF
78737 # The cast to long int works around a bug in the HP C Compiler
78738 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78739 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78740 # This bug is HP SR number 8606223364.
78741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78742 $as_echo_n "checking size of short... " >&6; }
78743 if test "${ac_cv_sizeof_short+set}" = set; then :
78744 $as_echo_n "(cached) " >&6
78745 else
78746 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78748 else
78749 if test "$ac_cv_type_short" = yes; then
78750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78752 { as_fn_set_status 77
78753 as_fn_error "cannot compute sizeof (short)
78754 See \`config.log' for more details." "$LINENO" 5; }; }
78755 else
78756 ac_cv_sizeof_short=0
78761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78762 $as_echo "$ac_cv_sizeof_short" >&6; }
78766 cat >>confdefs.h <<_ACEOF
78767 #define SIZEOF_SHORT $ac_cv_sizeof_short
78768 _ACEOF
78771 # The cast to long int works around a bug in the HP C Compiler
78772 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78773 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78774 # This bug is HP SR number 8606223364.
78775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78776 $as_echo_n "checking size of char... " >&6; }
78777 if test "${ac_cv_sizeof_char+set}" = set; then :
78778 $as_echo_n "(cached) " >&6
78779 else
78780 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78782 else
78783 if test "$ac_cv_type_char" = yes; then
78784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78786 { as_fn_set_status 77
78787 as_fn_error "cannot compute sizeof (char)
78788 See \`config.log' for more details." "$LINENO" 5; }; }
78789 else
78790 ac_cv_sizeof_char=0
78795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78796 $as_echo "$ac_cv_sizeof_char" >&6; }
78800 cat >>confdefs.h <<_ACEOF
78801 #define SIZEOF_CHAR $ac_cv_sizeof_char
78802 _ACEOF
78806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78807 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78808 case "$ac_cv_sizeof_char" in
78809 1) acx_cv_type_int8_t=char ;;
78810 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78811 esac
78812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78813 $as_echo "$acx_cv_type_int8_t" >&6; }
78815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78816 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78817 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78818 2:*) acx_cv_type_int16_t=int ;;
78819 *:2) acx_cv_type_int16_t=short ;;
78820 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78821 esac
78822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78823 $as_echo "$acx_cv_type_int16_t" >&6; }
78825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78826 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78827 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78828 4:*) acx_cv_type_int32_t=int ;;
78829 *:4) acx_cv_type_int32_t=long ;;
78830 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78831 esac
78832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78833 $as_echo "$acx_cv_type_int32_t" >&6; }
78836 # These tests are here to make the output prettier
78838 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78839 case "$ac_cv_sizeof_long" in
78840 8) acx_cv_type_int64_t=long ;;
78841 esac
78842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78843 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78845 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78848 # Now we can use the above types
78850 if test "$ac_cv_type_uintptr_t" != yes; then
78851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78852 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78853 case $ac_cv_sizeof_void_p in
78854 2) acx_cv_type_intptr_t=int16_t ;;
78855 4) acx_cv_type_intptr_t=int32_t ;;
78856 8) acx_cv_type_intptr_t=int64_t ;;
78857 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78858 esac
78859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78860 $as_echo "$acx_cv_type_intptr_t" >&6; }
78863 # ----------------- done all checks, emit header -------------
78864 ac_config_commands="$ac_config_commands include/gstdint.h"
78870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78871 $as_echo_n "checking for GNU c++filt... " >&6; }
78872 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78873 $as_echo_n "(cached) " >&6
78874 else
78875 if test -z "$CXXFILT"; then
78876 ac_path_CXXFILT_found=false
78877 # Loop through the user's path and test for each of PROGNAME-LIST
78878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78879 for as_dir in $PATH
78881 IFS=$as_save_IFS
78882 test -z "$as_dir" && as_dir=.
78883 for ac_prog in c++filt gc++filt; do
78884 for ac_exec_ext in '' $ac_executable_extensions; do
78885 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78886 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78887 # Check for GNU $ac_path_CXXFILT
78888 case `"$ac_path_CXXFILT" --version 2>&1` in
78889 *GNU*)
78890 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78891 esac
78893 $ac_path_CXXFILT_found && break 3
78894 done
78895 done
78896 done
78897 IFS=$as_save_IFS
78898 if test -z "$ac_cv_path_CXXFILT"; then
78901 else
78902 ac_cv_path_CXXFILT=$CXXFILT
78906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78907 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78908 CXXFILT=$ac_cv_path_CXXFILT
78912 # Check whether --enable-symvers was given.
78913 if test "${enable_symvers+set}" = set; then :
78914 enableval=$enable_symvers;
78915 case "$enableval" in
78916 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78917 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78918 esac
78920 else
78921 enable_symvers=yes
78926 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78927 # don't know enough about $LD to do tricks...
78929 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78930 # with extern "C++" in version scripts.
78933 # Turn a 'yes' into a suitable default.
78934 if test x$enable_symvers = xyes ; then
78935 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78936 enable_symvers=no
78937 else
78938 if test $with_gnu_ld = yes ; then
78939 case ${target_os} in
78940 hpux*)
78941 enable_symvers=no ;;
78943 enable_symvers=gnu ;;
78944 esac
78945 else
78946 case ${target_os} in
78947 darwin*)
78948 enable_symvers=darwin ;;
78949 # Sun symbol versioning exists since Solaris 2.5.
78950 solaris2.[5-9]* | solaris2.1[0-9]*)
78951 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78952 # version scripts, so disable symbol versioning if none can be
78953 # found.
78954 if test -z "$ac_cv_path_CXXFILT"; then
78955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78956 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78958 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78960 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78961 enable_symvers=no
78962 else
78963 enable_symvers=sun
78967 enable_symvers=no ;;
78968 esac
78973 # Check to see if 'darwin' or 'darwin-export' can win.
78974 if test x$enable_symvers = xdarwin-export ; then
78975 enable_symvers=darwin
78978 # Check if 'sun' was requested on non-Solaris 2 platforms.
78979 if test x$enable_symvers = xsun ; then
78980 case ${target_os} in
78981 solaris2*)
78982 # All fine.
78985 # Unlikely to work.
78986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78987 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78989 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78991 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78992 enable_symvers=no
78994 esac
78997 # Check to see if 'gnu' can win.
78998 if test $enable_symvers = gnu ||
78999 test $enable_symvers = gnu-versioned-namespace ||
79000 test $enable_symvers = sun; then
79001 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79003 $as_echo_n "checking for shared libgcc... " >&6; }
79004 ac_save_CFLAGS="$CFLAGS"
79005 CFLAGS=' -lgcc_s'
79006 if test x$gcc_no_link = xyes; then
79007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79010 /* end confdefs.h. */
79013 main ()
79015 return 0;
79017 return 0;
79019 _ACEOF
79020 if ac_fn_c_try_link "$LINENO"; then :
79021 glibcxx_shared_libgcc=yes
79022 else
79023 glibcxx_shared_libgcc=no
79025 rm -f core conftest.err conftest.$ac_objext \
79026 conftest$ac_exeext conftest.$ac_ext
79027 CFLAGS="$ac_save_CFLAGS"
79028 if test $glibcxx_shared_libgcc = no; then
79029 cat > conftest.c <<EOF
79030 int main (void) { return 0; }
79032 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79033 -shared -shared-libgcc -o conftest.so \
79034 conftest.c -v 2>&1 >/dev/null \
79035 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79036 rm -f conftest.c conftest.so
79037 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79038 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79039 if test x$gcc_no_link = xyes; then
79040 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79043 /* end confdefs.h. */
79046 main ()
79048 return 0;
79050 return 0;
79052 _ACEOF
79053 if ac_fn_c_try_link "$LINENO"; then :
79054 glibcxx_shared_libgcc=yes
79056 rm -f core conftest.err conftest.$ac_objext \
79057 conftest$ac_exeext conftest.$ac_ext
79058 CFLAGS="$ac_save_CFLAGS"
79061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79062 $as_echo "$glibcxx_shared_libgcc" >&6; }
79064 # For GNU ld, we need at least this version. The format is described in
79065 # GLIBCXX_CHECK_LINKER_FEATURES above.
79066 glibcxx_min_gnu_ld_version=21400
79068 # If no shared libgcc, can't win.
79069 if test $glibcxx_shared_libgcc != yes; then
79070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79071 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79073 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79075 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79076 enable_symvers=no
79077 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79078 : All interesting versions of Sun ld support sun style symbol versioning.
79079 elif test $with_gnu_ld != yes ; then
79080 # just fail for now
79081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79082 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79084 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79086 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79087 enable_symvers=no
79088 elif test $glibcxx_ld_is_gold = yes ; then
79089 : All versions of gold support symbol versioning.
79090 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79091 # The right tools, the right setup, but too old. Fallbacks?
79092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79093 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79095 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79097 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79099 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79101 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79102 enable_symvers=no
79106 # For libtool versioning info, format is CURRENT:REVISION:AGE
79107 libtool_VERSION=6:25:0
79109 # Everything parsed; figure out what files and settings to use.
79110 case $enable_symvers in
79112 SYMVER_FILE=config/abi/pre/none.ver
79114 gnu)
79115 SYMVER_FILE=config/abi/pre/gnu.ver
79117 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79120 gnu-versioned-namespace)
79121 libtool_VERSION=8:0:0
79122 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79124 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79127 darwin)
79128 SYMVER_FILE=config/abi/pre/gnu.ver
79130 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79133 sun)
79134 SYMVER_FILE=config/abi/pre/gnu.ver
79136 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79139 esac
79141 if test x$enable_symvers != xno ; then
79143 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79148 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79149 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79150 $as_echo_n "(cached) " >&6
79151 else
79153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79154 /* end confdefs.h. */
79155 void foo (void); __asm (".symver foo, bar@SYMVER");
79157 main ()
79161 return 0;
79163 _ACEOF
79164 if ac_fn_c_try_compile "$LINENO"; then :
79165 glibcxx_cv_have_as_symver_directive=yes
79166 else
79167 glibcxx_cv_have_as_symver_directive=no
79169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79172 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79173 if test $glibcxx_cv_have_as_symver_directive = yes; then
79175 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79186 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79187 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79189 if test $enable_symvers != no ; then
79190 case ${target_os} in
79191 # The Solaris 2 runtime linker doesn't support the GNU extension of
79192 # binding the same symbol to different versions
79193 solaris2*)
79195 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79198 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79201 esac
79204 # Now, set up compatibility support, if any.
79205 # In addition, need this to deal with std::size_t mangling in
79206 # src/compatibility.cc. In a perfect world, could use
79207 # typeid(std::size_t).name()[0] to do direct substitution.
79208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79209 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79210 ac_save_CFLAGS="$CFLAGS"
79211 CFLAGS="-Werror"
79212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79213 /* end confdefs.h. */
79216 main ()
79218 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79220 return 0;
79222 _ACEOF
79223 if ac_fn_c_try_compile "$LINENO"; then :
79224 glibcxx_size_t_is_i=yes
79225 else
79226 glibcxx_size_t_is_i=no
79228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79229 CFLAGS=$ac_save_CFLAGS
79230 if test "$glibcxx_size_t_is_i" = yes; then
79232 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79236 $as_echo "$glibcxx_size_t_is_i" >&6; }
79238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79239 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79240 ac_save_CFLAGS="$CFLAGS"
79241 CFLAGS="-Werror"
79242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79243 /* end confdefs.h. */
79246 main ()
79248 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79250 return 0;
79252 _ACEOF
79253 if ac_fn_c_try_compile "$LINENO"; then :
79254 glibcxx_ptrdiff_t_is_i=yes
79255 else
79256 glibcxx_ptrdiff_t_is_i=no
79258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79259 CFLAGS=$ac_save_CFLAGS
79260 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79262 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79266 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79271 # Check whether --enable-libstdcxx-visibility was given.
79272 if test "${enable_libstdcxx_visibility+set}" = set; then :
79273 enableval=$enable_libstdcxx_visibility;
79274 case "$enableval" in
79275 yes|no) ;;
79276 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79277 esac
79279 else
79280 enable_libstdcxx_visibility=yes
79285 if test x$enable_libstdcxx_visibility = xyes ; then
79286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79287 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79288 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79289 $as_echo_n "(cached) " >&6
79290 else
79292 save_CFLAGS="$CFLAGS"
79293 CFLAGS="$CFLAGS -Werror"
79294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79295 /* end confdefs.h. */
79296 void __attribute__((visibility("hidden"))) foo(void) { }
79298 main ()
79302 return 0;
79304 _ACEOF
79305 if ac_fn_c_try_compile "$LINENO"; then :
79306 glibcxx_cv_have_attribute_visibility=yes
79307 else
79308 glibcxx_cv_have_attribute_visibility=no
79310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79311 CFLAGS="$save_CFLAGS"
79313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79314 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79315 if test $glibcxx_cv_have_attribute_visibility = no; then
79316 enable_libstdcxx_visibility=no
79321 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79322 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79326 # Check whether --enable-libstdcxx-dual-abi was given.
79327 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79328 enableval=$enable_libstdcxx_dual_abi;
79329 case "$enableval" in
79330 yes|no) ;;
79331 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79332 esac
79334 else
79335 enable_libstdcxx_dual_abi=yes
79339 if test x$enable_symvers = xgnu-versioned-namespace; then
79340 # gnu-versioned-namespace is incompatible with the dual ABI.
79341 enable_libstdcxx_dual_abi="no"
79343 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79344 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79345 $as_echo "$as_me: dual ABI is disabled" >&6;}
79346 default_libstdcxx_abi="gcc4-compatible"
79351 if test x$enable_libstdcxx_dual_abi = xyes; then
79352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79353 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79355 # Check whether --with-default-libstdcxx-abi was given.
79356 if test "${with_default_libstdcxx_abi+set}" = set; then :
79357 withval=$with_default_libstdcxx_abi; case "$withval" in
79358 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79359 new|cxx11) default_libstdcxx_abi="new" ;;
79360 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79361 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79362 esac
79364 else
79365 default_libstdcxx_abi="new"
79368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79369 $as_echo "${default_libstdcxx_abi}" >&6; }
79371 if test $default_libstdcxx_abi = "new"; then
79372 glibcxx_cxx11_abi=1
79373 glibcxx_cxx98_abi=0
79374 else
79375 glibcxx_cxx11_abi=0
79376 glibcxx_cxx98_abi=1
79382 ac_ldbl_compat=no
79383 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79384 case "$target" in
79385 powerpc*-*-linux* | \
79386 sparc*-*-linux* | \
79387 s390*-*-linux* | \
79388 alpha*-*-linux*)
79389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79390 /* end confdefs.h. */
79393 main ()
79396 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79397 #error no need for long double compatibility
79398 #endif
79401 return 0;
79403 _ACEOF
79404 if ac_fn_c_try_compile "$LINENO"; then :
79405 ac_ldbl_compat=yes
79406 else
79407 ac_ldbl_compat=no
79409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79410 if test "$ac_ldbl_compat" = yes; then
79412 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79414 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79415 case "$target" in
79416 powerpc*-*-linux*)
79417 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79418 esac
79420 esac
79424 # Check if assembler supports disabling hardware capability support.
79426 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79428 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79429 # with a different meaning.
79430 case ${target_os} in
79431 solaris2*)
79432 ac_save_CFLAGS="$CFLAGS"
79433 CFLAGS="$CFLAGS -Wa,-nH"
79435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79436 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79438 /* end confdefs.h. */
79441 main ()
79443 return 0;
79445 return 0;
79447 _ACEOF
79448 if ac_fn_c_try_compile "$LINENO"; then :
79449 ac_hwcap_flags=yes
79450 else
79451 ac_hwcap_flags=no
79453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79454 if test "$ac_hwcap_flags" = "yes"; then
79455 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79458 $as_echo "$ac_hwcap_flags" >&6; }
79460 CFLAGS="$ac_save_CFLAGS"
79462 esac
79467 # Check if assembler supports rdrand opcode.
79469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79470 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79471 if test "${ac_cv_x86_rdrand+set}" = set; then :
79472 $as_echo_n "(cached) " >&6
79473 else
79475 ac_cv_x86_rdrand=no
79476 case "$target" in
79477 i?86-*-* | \
79478 x86_64-*-*)
79479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79480 /* end confdefs.h. */
79483 main ()
79485 asm("rdrand %eax");
79487 return 0;
79489 _ACEOF
79490 if ac_fn_c_try_compile "$LINENO"; then :
79491 ac_cv_x86_rdrand=yes
79492 else
79493 ac_cv_x86_rdrand=no
79495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79496 esac
79500 if test $ac_cv_x86_rdrand = yes; then
79502 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79506 $as_echo "$ac_cv_x86_rdrand" >&6; }
79509 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79511 # Do checks for resource limit functions.
79513 setrlimit_have_headers=yes
79514 for ac_header in unistd.h sys/time.h sys/resource.h
79515 do :
79516 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79517 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79518 eval as_val=\$$as_ac_Header
79519 if test "x$as_val" = x""yes; then :
79520 cat >>confdefs.h <<_ACEOF
79521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79522 _ACEOF
79524 else
79525 setrlimit_have_headers=no
79528 done
79530 # If don't have the headers, then we can't run the tests now, and we
79531 # won't be seeing any of these during testsuite compilation.
79532 if test $setrlimit_have_headers = yes; then
79533 # Can't do these in a loop, else the resulting syntax is wrong.
79535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79536 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79538 /* end confdefs.h. */
79539 #include <unistd.h>
79540 #include <sys/time.h>
79541 #include <sys/resource.h>
79544 main ()
79546 int f = RLIMIT_DATA ;
79548 return 0;
79550 _ACEOF
79551 if ac_fn_c_try_compile "$LINENO"; then :
79552 glibcxx_mresult=1
79553 else
79554 glibcxx_mresult=0
79556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79558 cat >>confdefs.h <<_ACEOF
79559 #define HAVE_LIMIT_DATA $glibcxx_mresult
79560 _ACEOF
79562 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79564 $as_echo "$res" >&6; }
79567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79568 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79570 /* end confdefs.h. */
79571 #include <unistd.h>
79572 #include <sys/time.h>
79573 #include <sys/resource.h>
79576 main ()
79578 int f = RLIMIT_RSS ;
79580 return 0;
79582 _ACEOF
79583 if ac_fn_c_try_compile "$LINENO"; then :
79584 glibcxx_mresult=1
79585 else
79586 glibcxx_mresult=0
79588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79590 cat >>confdefs.h <<_ACEOF
79591 #define HAVE_LIMIT_RSS $glibcxx_mresult
79592 _ACEOF
79594 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79596 $as_echo "$res" >&6; }
79599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79600 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79602 /* end confdefs.h. */
79603 #include <unistd.h>
79604 #include <sys/time.h>
79605 #include <sys/resource.h>
79608 main ()
79610 int f = RLIMIT_VMEM ;
79612 return 0;
79614 _ACEOF
79615 if ac_fn_c_try_compile "$LINENO"; then :
79616 glibcxx_mresult=1
79617 else
79618 glibcxx_mresult=0
79620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79622 cat >>confdefs.h <<_ACEOF
79623 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79624 _ACEOF
79626 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79628 $as_echo "$res" >&6; }
79631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79632 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79634 /* end confdefs.h. */
79635 #include <unistd.h>
79636 #include <sys/time.h>
79637 #include <sys/resource.h>
79640 main ()
79642 int f = RLIMIT_AS ;
79644 return 0;
79646 _ACEOF
79647 if ac_fn_c_try_compile "$LINENO"; then :
79648 glibcxx_mresult=1
79649 else
79650 glibcxx_mresult=0
79652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79654 cat >>confdefs.h <<_ACEOF
79655 #define HAVE_LIMIT_AS $glibcxx_mresult
79656 _ACEOF
79658 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79660 $as_echo "$res" >&6; }
79663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79664 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79666 /* end confdefs.h. */
79667 #include <unistd.h>
79668 #include <sys/time.h>
79669 #include <sys/resource.h>
79672 main ()
79674 int f = RLIMIT_FSIZE ;
79676 return 0;
79678 _ACEOF
79679 if ac_fn_c_try_compile "$LINENO"; then :
79680 glibcxx_mresult=1
79681 else
79682 glibcxx_mresult=0
79684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79686 cat >>confdefs.h <<_ACEOF
79687 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79688 _ACEOF
79690 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79692 $as_echo "$res" >&6; }
79695 # Check for rlimit, setrlimit.
79696 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79697 $as_echo_n "(cached) " >&6
79698 else
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 struct rlimit r;
79710 setrlimit(0, &r);
79712 return 0;
79714 _ACEOF
79715 if ac_fn_c_try_compile "$LINENO"; then :
79716 glibcxx_cv_setrlimit=yes
79717 else
79718 glibcxx_cv_setrlimit=no
79720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79727 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79728 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79729 ac_res_limits=yes
79731 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79733 else
79734 ac_res_limits=no
79736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79737 $as_echo "$ac_res_limits" >&6; }
79740 if $GLIBCXX_IS_NATIVE ; then
79741 # Look for setenv, so that extended locale tests can be performed.
79743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79744 $as_echo_n "checking for setenv declaration... " >&6; }
79745 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79746 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79747 $as_echo_n "(cached) " >&6
79748 else
79751 ac_ext=cpp
79752 ac_cpp='$CXXCPP $CPPFLAGS'
79753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79758 /* end confdefs.h. */
79759 #include <stdlib.h>
79761 main ()
79763 setenv(0, 0, 0);
79765 return 0;
79767 _ACEOF
79768 if ac_fn_cxx_try_compile "$LINENO"; then :
79769 glibcxx_cv_func_setenv_use=yes
79770 else
79771 glibcxx_cv_func_setenv_use=no
79773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79774 ac_ext=c
79775 ac_cpp='$CPP $CPPFLAGS'
79776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79785 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79786 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79787 for ac_func in setenv
79788 do :
79789 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79790 if test "x$ac_cv_func_setenv" = x""yes; then :
79791 cat >>confdefs.h <<_ACEOF
79792 #define HAVE_SETENV 1
79793 _ACEOF
79796 done
79802 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79803 test $enable_symvers != no; then
79804 case "$host" in
79805 *-*-cygwin*)
79806 enable_abi_check=no ;;
79808 enable_abi_check=yes ;;
79809 esac
79810 else
79811 # Only build this as native, since automake does not understand
79812 # CXX_FOR_BUILD.
79813 enable_abi_check=no
79816 # Export file names for ABI checking.
79817 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79819 baseline_subdir_switch="$abi_baseline_subdir_switch"
79823 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79825 # Check whether --enable-libstdcxx-threads was given.
79826 if test "${enable_libstdcxx_threads+set}" = set; then :
79827 enableval=$enable_libstdcxx_threads;
79828 case "$enableval" in
79829 yes|no) ;;
79830 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79831 esac
79833 else
79834 enable_libstdcxx_threads=auto
79839 if test x$enable_libstdcxx_threads = xauto ||
79840 test x$enable_libstdcxx_threads = xyes; then
79843 ac_ext=cpp
79844 ac_cpp='$CXXCPP $CPPFLAGS'
79845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79850 ac_save_CXXFLAGS="$CXXFLAGS"
79851 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79852 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79854 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79855 case $target_thread_file in
79856 posix)
79857 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79858 esac
79860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79861 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79864 /* end confdefs.h. */
79865 #include <unistd.h>
79867 main ()
79870 // In case of POSIX threads check _POSIX_TIMEOUTS.
79871 #if (defined(_PTHREADS) \
79872 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79873 #error
79874 #endif
79877 return 0;
79879 _ACEOF
79880 if ac_fn_cxx_try_compile "$LINENO"; then :
79881 ac_gthread_use_mutex_timedlock=1
79882 else
79883 ac_gthread_use_mutex_timedlock=0
79885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79888 cat >>confdefs.h <<_ACEOF
79889 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79890 _ACEOF
79893 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79894 else res_mutex_timedlock=no ; fi
79895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79896 $as_echo "$res_mutex_timedlock" >&6; }
79898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79899 $as_echo_n "checking for gthreads library... " >&6; }
79901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79902 /* end confdefs.h. */
79903 #include "gthr.h"
79905 main ()
79908 #ifndef __GTHREADS_CXX0X
79909 #error
79910 #endif
79913 return 0;
79915 _ACEOF
79916 if ac_fn_cxx_try_compile "$LINENO"; then :
79917 ac_has_gthreads=yes
79918 else
79919 ac_has_gthreads=no
79921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79922 else
79923 ac_has_gthreads=no
79926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79927 $as_echo "$ac_has_gthreads" >&6; }
79929 if test x"$ac_has_gthreads" = x"yes"; then
79931 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79934 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79935 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79937 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79939 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79945 CXXFLAGS="$ac_save_CXXFLAGS"
79946 ac_ext=c
79947 ac_cpp='$CPP $CPPFLAGS'
79948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79954 # For Filesystem TS.
79955 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79956 do :
79957 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79958 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79959 eval as_val=\$$as_ac_Header
79960 if test "x$as_val" = x""yes; then :
79961 cat >>confdefs.h <<_ACEOF
79962 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79963 _ACEOF
79967 done
79970 # Check whether --enable-libstdcxx-filesystem-ts was given.
79971 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79972 enableval=$enable_libstdcxx_filesystem_ts;
79973 case "$enableval" in
79974 yes|no|auto) ;;
79975 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79976 esac
79978 else
79979 enable_libstdcxx_filesystem_ts=auto
79984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79985 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79986 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79987 enable_libstdcxx_filesystem_ts=no
79989 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79990 case "${target_os}" in
79991 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79992 enable_libstdcxx_filesystem_ts=yes
79994 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79995 enable_libstdcxx_filesystem_ts=yes
79997 solaris*)
79998 enable_libstdcxx_filesystem_ts=yes
80001 enable_libstdcxx_filesystem_ts=no
80003 esac
80005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80006 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80010 ac_ext=cpp
80011 ac_cpp='$CXXCPP $CPPFLAGS'
80012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80016 ac_save_CXXFLAGS="$CXXFLAGS"
80017 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80019 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80020 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80021 $as_echo_n "(cached) " >&6
80022 else
80023 if test x$gcc_no_link = xyes; then
80024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80025 /* end confdefs.h. */
80026 #include <dirent.h>
80028 main ()
80031 struct dirent d;
80032 if (sizeof d.d_type) return 0;
80035 return 0;
80037 _ACEOF
80038 if ac_fn_cxx_try_compile "$LINENO"; then :
80039 glibcxx_cv_dirent_d_type=yes
80040 else
80041 glibcxx_cv_dirent_d_type=no
80043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80044 else
80045 if test x$gcc_no_link = xyes; then
80046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80049 /* end confdefs.h. */
80050 #include <dirent.h>
80052 main ()
80055 struct dirent d;
80056 if (sizeof d.d_type) return 0;
80059 return 0;
80061 _ACEOF
80062 if ac_fn_cxx_try_link "$LINENO"; then :
80063 glibcxx_cv_dirent_d_type=yes
80064 else
80065 glibcxx_cv_dirent_d_type=no
80067 rm -f core conftest.err conftest.$ac_objext \
80068 conftest$ac_exeext conftest.$ac_ext
80073 if test $glibcxx_cv_dirent_d_type = yes; then
80075 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80079 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80081 $as_echo_n "checking for realpath... " >&6; }
80082 if test "${glibcxx_cv_realpath+set}" = set; then :
80083 $as_echo_n "(cached) " >&6
80084 else
80085 if test x$gcc_no_link = xyes; then
80086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80087 /* end confdefs.h. */
80089 #include <limits.h>
80090 #include <stdlib.h>
80091 #include <unistd.h>
80094 main ()
80097 #if _XOPEN_VERSION < 500
80098 #error
80099 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80100 char *tmp = realpath((const char*)NULL, (char*)NULL);
80101 #else
80102 #error
80103 #endif
80106 return 0;
80108 _ACEOF
80109 if ac_fn_cxx_try_compile "$LINENO"; then :
80110 glibcxx_cv_realpath=yes
80111 else
80112 glibcxx_cv_realpath=no
80114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80115 else
80116 if test x$gcc_no_link = xyes; then
80117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80120 /* end confdefs.h. */
80122 #include <limits.h>
80123 #include <stdlib.h>
80124 #include <unistd.h>
80127 main ()
80130 #if _XOPEN_VERSION < 500
80131 #error
80132 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80133 char *tmp = realpath((const char*)NULL, (char*)NULL);
80134 #else
80135 #error
80136 #endif
80139 return 0;
80141 _ACEOF
80142 if ac_fn_cxx_try_link "$LINENO"; then :
80143 glibcxx_cv_realpath=yes
80144 else
80145 glibcxx_cv_realpath=no
80147 rm -f core conftest.err conftest.$ac_objext \
80148 conftest$ac_exeext conftest.$ac_ext
80153 if test $glibcxx_cv_realpath = yes; then
80155 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80159 $as_echo "$glibcxx_cv_realpath" >&6; }
80160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80161 $as_echo_n "checking for utimensat... " >&6; }
80162 if test "${glibcxx_cv_utimensat+set}" = set; then :
80163 $as_echo_n "(cached) " >&6
80164 else
80165 if test x$gcc_no_link = xyes; then
80166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80167 /* end confdefs.h. */
80169 #include <fcntl.h>
80170 #include <sys/stat.h>
80173 main ()
80176 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80177 int i = utimensat(AT_FDCWD, "path", ts, 0);
80180 return 0;
80182 _ACEOF
80183 if ac_fn_cxx_try_compile "$LINENO"; then :
80184 glibcxx_cv_utimensat=yes
80185 else
80186 glibcxx_cv_utimensat=no
80188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80189 else
80190 if test x$gcc_no_link = xyes; then
80191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80194 /* end confdefs.h. */
80196 #include <fcntl.h>
80197 #include <sys/stat.h>
80200 main ()
80203 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80204 int i = utimensat(AT_FDCWD, "path", ts, 0);
80207 return 0;
80209 _ACEOF
80210 if ac_fn_cxx_try_link "$LINENO"; then :
80211 glibcxx_cv_utimensat=yes
80212 else
80213 glibcxx_cv_utimensat=no
80215 rm -f core conftest.err conftest.$ac_objext \
80216 conftest$ac_exeext conftest.$ac_ext
80221 if test $glibcxx_cv_utimensat = yes; then
80223 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80227 $as_echo "$glibcxx_cv_utimensat" >&6; }
80228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80229 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80230 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80231 $as_echo_n "(cached) " >&6
80232 else
80233 if test x$gcc_no_link = xyes; then
80234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80235 /* end confdefs.h. */
80236 #include <sys/stat.h>
80238 main ()
80241 struct stat st;
80242 return st.st_mtim.tv_nsec;
80245 return 0;
80247 _ACEOF
80248 if ac_fn_cxx_try_compile "$LINENO"; then :
80249 glibcxx_cv_st_mtim=yes
80250 else
80251 glibcxx_cv_st_mtim=no
80253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80254 else
80255 if test x$gcc_no_link = xyes; then
80256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80259 /* end confdefs.h. */
80260 #include <sys/stat.h>
80262 main ()
80265 struct stat st;
80266 return st.st_mtim.tv_nsec;
80269 return 0;
80271 _ACEOF
80272 if ac_fn_cxx_try_link "$LINENO"; then :
80273 glibcxx_cv_st_mtim=yes
80274 else
80275 glibcxx_cv_st_mtim=no
80277 rm -f core conftest.err conftest.$ac_objext \
80278 conftest$ac_exeext conftest.$ac_ext
80283 if test $glibcxx_cv_st_mtim = yes; then
80285 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80289 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80291 $as_echo_n "checking for fchmod... " >&6; }
80292 if test "${glibcxx_cv_fchmod+set}" = set; then :
80293 $as_echo_n "(cached) " >&6
80294 else
80295 if test x$gcc_no_link = xyes; then
80296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80297 /* end confdefs.h. */
80298 #include <sys/stat.h>
80300 main ()
80302 fchmod(1, S_IWUSR);
80304 return 0;
80306 _ACEOF
80307 if ac_fn_cxx_try_compile "$LINENO"; then :
80308 glibcxx_cv_fchmod=yes
80309 else
80310 glibcxx_cv_fchmod=no
80312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80313 else
80314 if test x$gcc_no_link = xyes; then
80315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80318 /* end confdefs.h. */
80319 #include <sys/stat.h>
80321 main ()
80323 fchmod(1, S_IWUSR);
80325 return 0;
80327 _ACEOF
80328 if ac_fn_cxx_try_link "$LINENO"; then :
80329 glibcxx_cv_fchmod=yes
80330 else
80331 glibcxx_cv_fchmod=no
80333 rm -f core conftest.err conftest.$ac_objext \
80334 conftest$ac_exeext conftest.$ac_ext
80339 if test $glibcxx_cv_fchmod = yes; then
80341 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80345 $as_echo "$glibcxx_cv_fchmod" >&6; }
80346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80347 $as_echo_n "checking for fchmodat... " >&6; }
80348 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80349 $as_echo_n "(cached) " >&6
80350 else
80351 if test x$gcc_no_link = xyes; then
80352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80353 /* end confdefs.h. */
80355 #include <fcntl.h>
80356 #include <sys/stat.h>
80359 main ()
80361 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80363 return 0;
80365 _ACEOF
80366 if ac_fn_cxx_try_compile "$LINENO"; then :
80367 glibcxx_cv_fchmodat=yes
80368 else
80369 glibcxx_cv_fchmodat=no
80371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80372 else
80373 if test x$gcc_no_link = xyes; then
80374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80377 /* end confdefs.h. */
80379 #include <fcntl.h>
80380 #include <sys/stat.h>
80383 main ()
80385 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80387 return 0;
80389 _ACEOF
80390 if ac_fn_cxx_try_link "$LINENO"; then :
80391 glibcxx_cv_fchmodat=yes
80392 else
80393 glibcxx_cv_fchmodat=no
80395 rm -f core conftest.err conftest.$ac_objext \
80396 conftest$ac_exeext conftest.$ac_ext
80401 if test $glibcxx_cv_fchmodat = yes; then
80403 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80407 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80409 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80410 if test "${glibcxx_cv_sendfile+set}" = set; then :
80411 $as_echo_n "(cached) " >&6
80412 else
80413 case "${target_os}" in
80414 gnu* | linux* | solaris*)
80415 if test x$gcc_no_link = xyes; then
80416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80417 /* end confdefs.h. */
80418 #include <sys/sendfile.h>
80420 main ()
80422 sendfile(1, 2, (off_t*)0, sizeof 1);
80424 return 0;
80426 _ACEOF
80427 if ac_fn_cxx_try_compile "$LINENO"; then :
80428 glibcxx_cv_sendfile=yes
80429 else
80430 glibcxx_cv_sendfile=no
80432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80433 else
80434 if test x$gcc_no_link = xyes; then
80435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80438 /* end confdefs.h. */
80439 #include <sys/sendfile.h>
80441 main ()
80443 sendfile(1, 2, (off_t*)0, sizeof 1);
80445 return 0;
80447 _ACEOF
80448 if ac_fn_cxx_try_link "$LINENO"; then :
80449 glibcxx_cv_sendfile=yes
80450 else
80451 glibcxx_cv_sendfile=no
80453 rm -f core conftest.err conftest.$ac_objext \
80454 conftest$ac_exeext conftest.$ac_ext
80458 glibcxx_cv_sendfile=no
80460 esac
80464 if test $glibcxx_cv_sendfile = yes; then
80466 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80470 $as_echo "$glibcxx_cv_sendfile" >&6; }
80471 CXXFLAGS="$ac_save_CXXFLAGS"
80472 ac_ext=c
80473 ac_cpp='$CPP $CPPFLAGS'
80474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80480 # For Transactional Memory TS
80482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80483 $as_echo_n "checking how size_t is mangled... " >&6; }
80484 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80485 $as_echo_n "(cached) " >&6
80486 else
80488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80489 /* end confdefs.h. */
80492 main ()
80494 extern __SIZE_TYPE__ x; extern unsigned long x;
80496 return 0;
80498 _ACEOF
80499 if ac_fn_c_try_compile "$LINENO"; then :
80500 glibcxx_cv_size_t_mangling=m
80501 else
80503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80504 /* end confdefs.h. */
80507 main ()
80509 extern __SIZE_TYPE__ x; extern unsigned int x;
80511 return 0;
80513 _ACEOF
80514 if ac_fn_c_try_compile "$LINENO"; then :
80515 glibcxx_cv_size_t_mangling=j
80516 else
80518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80519 /* end confdefs.h. */
80522 main ()
80524 extern __SIZE_TYPE__ x; extern unsigned long long x;
80526 return 0;
80528 _ACEOF
80529 if ac_fn_c_try_compile "$LINENO"; then :
80530 glibcxx_cv_size_t_mangling=y
80531 else
80533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80534 /* end confdefs.h. */
80537 main ()
80539 extern __SIZE_TYPE__ x; extern unsigned short x;
80541 return 0;
80543 _ACEOF
80544 if ac_fn_c_try_compile "$LINENO"; then :
80545 glibcxx_cv_size_t_mangling=t
80546 else
80548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80549 /* end confdefs.h. */
80552 main ()
80554 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80556 return 0;
80558 _ACEOF
80559 if ac_fn_c_try_compile "$LINENO"; then :
80560 glibcxx_cv_size_t_mangling=u6uint20
80561 else
80562 glibcxx_cv_size_t_mangling=x
80564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80580 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80581 if test $glibcxx_cv_size_t_mangling = x; then
80582 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80585 cat >>confdefs.h <<_ACEOF
80586 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80587 _ACEOF
80591 # Check which release added std::exception_ptr for the target
80593 if test $enable_symvers != no; then
80594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80595 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80596 case ${target} in
80597 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80598 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80599 ac_exception_ptr_since_gcc46=yes
80602 # If the value of this macro changes then we will need to hardcode
80603 # yes/no here for additional targets based on the original value.
80604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80605 /* end confdefs.h. */
80608 main ()
80611 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80612 # error atomic int not always lock free
80613 #endif
80616 return 0;
80618 _ACEOF
80619 if ac_fn_c_try_compile "$LINENO"; then :
80620 ac_exception_ptr_since_gcc46=yes
80621 else
80622 ac_exception_ptr_since_gcc46=no
80624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80626 esac
80627 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80629 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80632 $as_echo "4.6.0" >&6; }
80633 else
80634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80635 $as_echo "7.1.0" >&6; }
80640 # Define documentation rules conditionally.
80642 # See if makeinfo has been installed and is modern enough
80643 # that we can use it.
80645 # Extract the first word of "makeinfo", so it can be a program name with args.
80646 set dummy makeinfo; ac_word=$2
80647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80648 $as_echo_n "checking for $ac_word... " >&6; }
80649 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80650 $as_echo_n "(cached) " >&6
80651 else
80652 if test -n "$MAKEINFO"; then
80653 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80654 else
80655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80656 for as_dir in $PATH
80658 IFS=$as_save_IFS
80659 test -z "$as_dir" && as_dir=.
80660 for ac_exec_ext in '' $ac_executable_extensions; do
80661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80662 ac_cv_prog_MAKEINFO="makeinfo"
80663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80664 break 2
80666 done
80667 done
80668 IFS=$as_save_IFS
80672 MAKEINFO=$ac_cv_prog_MAKEINFO
80673 if test -n "$MAKEINFO"; then
80674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80675 $as_echo "$MAKEINFO" >&6; }
80676 else
80677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80678 $as_echo "no" >&6; }
80682 if test -n "$MAKEINFO"; then
80683 # Found it, now check the version.
80684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80685 $as_echo_n "checking for modern makeinfo... " >&6; }
80686 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80687 $as_echo_n "(cached) " >&6
80688 else
80689 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80690 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80692 case $ac_prog_version in
80693 '') gcc_cv_prog_makeinfo_modern=no;;
80694 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80695 *) gcc_cv_prog_makeinfo_modern=no;;
80696 esac
80699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80700 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80701 else
80702 gcc_cv_prog_makeinfo_modern=no
80704 if test $gcc_cv_prog_makeinfo_modern = no; then
80705 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80708 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80709 BUILD_INFO_TRUE=
80710 BUILD_INFO_FALSE='#'
80711 else
80712 BUILD_INFO_TRUE='#'
80713 BUILD_INFO_FALSE=
80717 # Check for doxygen
80718 # Extract the first word of "doxygen", so it can be a program name with args.
80719 set dummy doxygen; ac_word=$2
80720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80721 $as_echo_n "checking for $ac_word... " >&6; }
80722 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80723 $as_echo_n "(cached) " >&6
80724 else
80725 if test -n "$DOXYGEN"; then
80726 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80727 else
80728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80729 for as_dir in $PATH
80731 IFS=$as_save_IFS
80732 test -z "$as_dir" && as_dir=.
80733 for ac_exec_ext in '' $ac_executable_extensions; do
80734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80735 ac_cv_prog_DOXYGEN="yes"
80736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80737 break 2
80739 done
80740 done
80741 IFS=$as_save_IFS
80743 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80746 DOXYGEN=$ac_cv_prog_DOXYGEN
80747 if test -n "$DOXYGEN"; then
80748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80749 $as_echo "$DOXYGEN" >&6; }
80750 else
80751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80752 $as_echo "no" >&6; }
80756 # Extract the first word of "dot", so it can be a program name with args.
80757 set dummy dot; ac_word=$2
80758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80759 $as_echo_n "checking for $ac_word... " >&6; }
80760 if test "${ac_cv_prog_DOT+set}" = set; then :
80761 $as_echo_n "(cached) " >&6
80762 else
80763 if test -n "$DOT"; then
80764 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80765 else
80766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80767 for as_dir in $PATH
80769 IFS=$as_save_IFS
80770 test -z "$as_dir" && as_dir=.
80771 for ac_exec_ext in '' $ac_executable_extensions; do
80772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80773 ac_cv_prog_DOT="yes"
80774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80775 break 2
80777 done
80778 done
80779 IFS=$as_save_IFS
80781 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80784 DOT=$ac_cv_prog_DOT
80785 if test -n "$DOT"; then
80786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80787 $as_echo "$DOT" >&6; }
80788 else
80789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80790 $as_echo "no" >&6; }
80795 # Check for docbook
80796 # Extract the first word of "xsltproc", so it can be a program name with args.
80797 set dummy xsltproc; ac_word=$2
80798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80799 $as_echo_n "checking for $ac_word... " >&6; }
80800 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80801 $as_echo_n "(cached) " >&6
80802 else
80803 if test -n "$XSLTPROC"; then
80804 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80805 else
80806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80807 for as_dir in $PATH
80809 IFS=$as_save_IFS
80810 test -z "$as_dir" && as_dir=.
80811 for ac_exec_ext in '' $ac_executable_extensions; do
80812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80813 ac_cv_prog_XSLTPROC="yes"
80814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80815 break 2
80817 done
80818 done
80819 IFS=$as_save_IFS
80821 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80824 XSLTPROC=$ac_cv_prog_XSLTPROC
80825 if test -n "$XSLTPROC"; then
80826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80827 $as_echo "$XSLTPROC" >&6; }
80828 else
80829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80830 $as_echo "no" >&6; }
80834 # Extract the first word of "xmllint", so it can be a program name with args.
80835 set dummy xmllint; ac_word=$2
80836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80837 $as_echo_n "checking for $ac_word... " >&6; }
80838 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80839 $as_echo_n "(cached) " >&6
80840 else
80841 if test -n "$XMLLINT"; then
80842 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80843 else
80844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80845 for as_dir in $PATH
80847 IFS=$as_save_IFS
80848 test -z "$as_dir" && as_dir=.
80849 for ac_exec_ext in '' $ac_executable_extensions; do
80850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80851 ac_cv_prog_XMLLINT="yes"
80852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80853 break 2
80855 done
80856 done
80857 IFS=$as_save_IFS
80859 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80862 XMLLINT=$ac_cv_prog_XMLLINT
80863 if test -n "$XMLLINT"; then
80864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80865 $as_echo "$XMLLINT" >&6; }
80866 else
80867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80868 $as_echo "no" >&6; }
80874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80875 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80876 glibcxx_stylesheets=no
80877 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
80878 glibcxx_stylesheets=yes
80880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80881 $as_echo "$glibcxx_stylesheets" >&6; }
80883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80884 $as_echo_n "checking for local stylesheet directory... " >&6; }
80885 glibcxx_local_stylesheets=no
80886 if test x"$glibcxx_stylesheets" = x"yes"; then
80887 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80888 glibcxx_local_stylesheets=yes
80889 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80891 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80892 glibcxx_local_stylesheets=yes
80893 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80895 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80896 glibcxx_local_stylesheets=yes
80897 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80901 $as_echo "$glibcxx_local_stylesheets" >&6; }
80903 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80905 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80906 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80907 else
80908 glibcxx_stylesheets=no
80911 # Check for epub3 dependencies.
80912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80913 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80914 glibcxx_epub_stylesheets=no
80915 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80916 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80917 glibcxx_epub_stylesheets=yes
80920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80921 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80922 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80923 BUILD_EPUB_TRUE=
80924 BUILD_EPUB_FALSE='#'
80925 else
80926 BUILD_EPUB_TRUE='#'
80927 BUILD_EPUB_FALSE=
80933 # Check for xml/html dependencies.
80934 if test $ac_cv_prog_DOXYGEN = "yes" &&
80935 test $ac_cv_prog_DOT = "yes" &&
80936 test $ac_cv_prog_XSLTPROC = "yes" &&
80937 test $ac_cv_prog_XMLLINT = "yes" &&
80938 test $glibcxx_stylesheets = "yes"; then
80939 BUILD_XML_TRUE=
80940 BUILD_XML_FALSE='#'
80941 else
80942 BUILD_XML_TRUE='#'
80943 BUILD_XML_FALSE=
80947 if test $ac_cv_prog_DOXYGEN = "yes" &&
80948 test $ac_cv_prog_DOT = "yes" &&
80949 test $ac_cv_prog_XSLTPROC = "yes" &&
80950 test $ac_cv_prog_XMLLINT = "yes" &&
80951 test $glibcxx_stylesheets = "yes"; then
80952 BUILD_HTML_TRUE=
80953 BUILD_HTML_FALSE='#'
80954 else
80955 BUILD_HTML_TRUE='#'
80956 BUILD_HTML_FALSE=
80960 # Check for man dependencies.
80961 if test $ac_cv_prog_DOXYGEN = "yes" &&
80962 test $ac_cv_prog_DOT = "yes"; then
80963 BUILD_MAN_TRUE=
80964 BUILD_MAN_FALSE='#'
80965 else
80966 BUILD_MAN_TRUE='#'
80967 BUILD_MAN_FALSE=
80971 # Check for pdf dependencies.
80972 # Extract the first word of "dblatex", so it can be a program name with args.
80973 set dummy dblatex; ac_word=$2
80974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80975 $as_echo_n "checking for $ac_word... " >&6; }
80976 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80977 $as_echo_n "(cached) " >&6
80978 else
80979 if test -n "$DBLATEX"; then
80980 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80981 else
80982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80983 for as_dir in $PATH
80985 IFS=$as_save_IFS
80986 test -z "$as_dir" && as_dir=.
80987 for ac_exec_ext in '' $ac_executable_extensions; do
80988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80989 ac_cv_prog_DBLATEX="yes"
80990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80991 break 2
80993 done
80994 done
80995 IFS=$as_save_IFS
80997 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81000 DBLATEX=$ac_cv_prog_DBLATEX
81001 if test -n "$DBLATEX"; then
81002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81003 $as_echo "$DBLATEX" >&6; }
81004 else
81005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81006 $as_echo "no" >&6; }
81010 # Extract the first word of "pdflatex", so it can be a program name with args.
81011 set dummy pdflatex; ac_word=$2
81012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81013 $as_echo_n "checking for $ac_word... " >&6; }
81014 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81015 $as_echo_n "(cached) " >&6
81016 else
81017 if test -n "$PDFLATEX"; then
81018 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81019 else
81020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81021 for as_dir in $PATH
81023 IFS=$as_save_IFS
81024 test -z "$as_dir" && as_dir=.
81025 for ac_exec_ext in '' $ac_executable_extensions; do
81026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81027 ac_cv_prog_PDFLATEX="yes"
81028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81029 break 2
81031 done
81032 done
81033 IFS=$as_save_IFS
81035 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81038 PDFLATEX=$ac_cv_prog_PDFLATEX
81039 if test -n "$PDFLATEX"; then
81040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81041 $as_echo "$PDFLATEX" >&6; }
81042 else
81043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81044 $as_echo "no" >&6; }
81048 if test $ac_cv_prog_DBLATEX = "yes" &&
81049 test $ac_cv_prog_PDFLATEX = "yes"; then
81050 BUILD_PDF_TRUE=
81051 BUILD_PDF_FALSE='#'
81052 else
81053 BUILD_PDF_TRUE='#'
81054 BUILD_PDF_FALSE=
81059 # Propagate the target-specific source directories through the build chain.
81060 ATOMICITY_SRCDIR=config/${atomicity_dir}
81061 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81062 ATOMIC_FLAGS=${atomic_flags}
81063 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81064 OS_INC_SRCDIR=config/${os_include_dir}
81065 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81066 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81067 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81068 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81080 # Determine cross-compile flags and AM_CONDITIONALs.
81081 #AC_SUBST(GLIBCXX_IS_NATIVE)
81082 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81083 if test $is_hosted = yes; then
81084 GLIBCXX_HOSTED_TRUE=
81085 GLIBCXX_HOSTED_FALSE='#'
81086 else
81087 GLIBCXX_HOSTED_TRUE='#'
81088 GLIBCXX_HOSTED_FALSE=
81092 if test $enable_libstdcxx_pch = yes; then
81093 GLIBCXX_BUILD_PCH_TRUE=
81094 GLIBCXX_BUILD_PCH_FALSE='#'
81095 else
81096 GLIBCXX_BUILD_PCH_TRUE='#'
81097 GLIBCXX_BUILD_PCH_FALSE=
81101 if test $enable_libstdcxx_allocator_flag = new; then
81102 ENABLE_ALLOCATOR_NEW_TRUE=
81103 ENABLE_ALLOCATOR_NEW_FALSE='#'
81104 else
81105 ENABLE_ALLOCATOR_NEW_TRUE='#'
81106 ENABLE_ALLOCATOR_NEW_FALSE=
81110 if test $enable_cheaders = c; then
81111 GLIBCXX_C_HEADERS_C_TRUE=
81112 GLIBCXX_C_HEADERS_C_FALSE='#'
81113 else
81114 GLIBCXX_C_HEADERS_C_TRUE='#'
81115 GLIBCXX_C_HEADERS_C_FALSE=
81119 if test $enable_cheaders = c_std; then
81120 GLIBCXX_C_HEADERS_C_STD_TRUE=
81121 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81122 else
81123 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81124 GLIBCXX_C_HEADERS_C_STD_FALSE=
81128 if test $enable_cheaders = c_global; then
81129 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81130 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81131 else
81132 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81133 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81137 if test $c_compatibility = yes; then
81138 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81139 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81140 else
81141 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81142 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81146 if test $enable_libstdcxx_debug = yes; then
81147 GLIBCXX_BUILD_DEBUG_TRUE=
81148 GLIBCXX_BUILD_DEBUG_FALSE='#'
81149 else
81150 GLIBCXX_BUILD_DEBUG_TRUE='#'
81151 GLIBCXX_BUILD_DEBUG_FALSE=
81155 if test $enable_extern_template = yes; then
81156 ENABLE_EXTERN_TEMPLATE_TRUE=
81157 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81158 else
81159 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81160 ENABLE_EXTERN_TEMPLATE_FALSE=
81164 if test $python_mod_dir != no; then
81165 ENABLE_PYTHONDIR_TRUE=
81166 ENABLE_PYTHONDIR_FALSE='#'
81167 else
81168 ENABLE_PYTHONDIR_TRUE='#'
81169 ENABLE_PYTHONDIR_FALSE=
81173 if test $enable_werror = yes; then
81174 ENABLE_WERROR_TRUE=
81175 ENABLE_WERROR_FALSE='#'
81176 else
81177 ENABLE_WERROR_TRUE='#'
81178 ENABLE_WERROR_FALSE=
81182 if test $enable_vtable_verify = yes; then
81183 ENABLE_VTABLE_VERIFY_TRUE=
81184 ENABLE_VTABLE_VERIFY_FALSE='#'
81185 else
81186 ENABLE_VTABLE_VERIFY_TRUE='#'
81187 ENABLE_VTABLE_VERIFY_FALSE=
81191 if test $enable_symvers != no; then
81192 ENABLE_SYMVERS_TRUE=
81193 ENABLE_SYMVERS_FALSE='#'
81194 else
81195 ENABLE_SYMVERS_TRUE='#'
81196 ENABLE_SYMVERS_FALSE=
81200 if test $enable_symvers = gnu; then
81201 ENABLE_SYMVERS_GNU_TRUE=
81202 ENABLE_SYMVERS_GNU_FALSE='#'
81203 else
81204 ENABLE_SYMVERS_GNU_TRUE='#'
81205 ENABLE_SYMVERS_GNU_FALSE=
81209 if test $enable_symvers = gnu-versioned-namespace; then
81210 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81211 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81212 else
81213 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81214 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81218 if test $enable_symvers = darwin; then
81219 ENABLE_SYMVERS_DARWIN_TRUE=
81220 ENABLE_SYMVERS_DARWIN_FALSE='#'
81221 else
81222 ENABLE_SYMVERS_DARWIN_TRUE='#'
81223 ENABLE_SYMVERS_DARWIN_FALSE=
81227 if test $enable_symvers = sun; then
81228 ENABLE_SYMVERS_SUN_TRUE=
81229 ENABLE_SYMVERS_SUN_FALSE='#'
81230 else
81231 ENABLE_SYMVERS_SUN_TRUE='#'
81232 ENABLE_SYMVERS_SUN_FALSE=
81236 if test $enable_libstdcxx_visibility = yes; then
81237 ENABLE_VISIBILITY_TRUE=
81238 ENABLE_VISIBILITY_FALSE='#'
81239 else
81240 ENABLE_VISIBILITY_TRUE='#'
81241 ENABLE_VISIBILITY_FALSE=
81245 if test $enable_libstdcxx_dual_abi = yes; then
81246 ENABLE_DUAL_ABI_TRUE=
81247 ENABLE_DUAL_ABI_FALSE='#'
81248 else
81249 ENABLE_DUAL_ABI_TRUE='#'
81250 ENABLE_DUAL_ABI_FALSE=
81254 if test $glibcxx_cxx11_abi = 1; then
81255 ENABLE_CXX11_ABI_TRUE=
81256 ENABLE_CXX11_ABI_FALSE='#'
81257 else
81258 ENABLE_CXX11_ABI_TRUE='#'
81259 ENABLE_CXX11_ABI_FALSE=
81263 if test $ac_ldbl_compat = yes; then
81264 GLIBCXX_LDBL_COMPAT_TRUE=
81265 GLIBCXX_LDBL_COMPAT_FALSE='#'
81266 else
81267 GLIBCXX_LDBL_COMPAT_TRUE='#'
81268 GLIBCXX_LDBL_COMPAT_FALSE=
81272 if test $enable_libstdcxx_filesystem_ts = yes; then
81273 ENABLE_FILESYSTEM_TS_TRUE=
81274 ENABLE_FILESYSTEM_TS_FALSE='#'
81275 else
81276 ENABLE_FILESYSTEM_TS_TRUE='#'
81277 ENABLE_FILESYSTEM_TS_FALSE=
81283 cat >confcache <<\_ACEOF
81284 # This file is a shell script that caches the results of configure
81285 # tests run on this system so they can be shared between configure
81286 # scripts and configure runs, see configure's option --config-cache.
81287 # It is not useful on other systems. If it contains results you don't
81288 # want to keep, you may remove or edit it.
81290 # config.status only pays attention to the cache file if you give it
81291 # the --recheck option to rerun configure.
81293 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81294 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81295 # following values.
81297 _ACEOF
81299 # The following way of writing the cache mishandles newlines in values,
81300 # but we know of no workaround that is simple, portable, and efficient.
81301 # So, we kill variables containing newlines.
81302 # Ultrix sh set writes to stderr and can't be redirected directly,
81303 # and sets the high bit in the cache file unless we assign to the vars.
81305 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81306 eval ac_val=\$$ac_var
81307 case $ac_val in #(
81308 *${as_nl}*)
81309 case $ac_var in #(
81310 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81311 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81312 esac
81313 case $ac_var in #(
81314 _ | IFS | as_nl) ;; #(
81315 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81316 *) { eval $ac_var=; unset $ac_var;} ;;
81317 esac ;;
81318 esac
81319 done
81321 (set) 2>&1 |
81322 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81323 *${as_nl}ac_space=\ *)
81324 # `set' does not quote correctly, so add quotes: double-quote
81325 # substitution turns \\\\ into \\, and sed turns \\ into \.
81326 sed -n \
81327 "s/'/'\\\\''/g;
81328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81329 ;; #(
81331 # `set' quotes correctly as required by POSIX, so do not add quotes.
81332 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81334 esac |
81335 sort
81337 sed '
81338 /^ac_cv_env_/b end
81339 t clear
81340 :clear
81341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81342 t end
81343 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81344 :end' >>confcache
81345 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81346 if test -w "$cache_file"; then
81347 test "x$cache_file" != "x/dev/null" &&
81348 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81349 $as_echo "$as_me: updating cache $cache_file" >&6;}
81350 cat confcache >$cache_file
81351 else
81352 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81353 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81356 rm -f confcache
81358 if test ${multilib} = yes; then
81359 multilib_arg="--enable-multilib"
81360 else
81361 multilib_arg=
81364 # Export all the install information.
81366 glibcxx_toolexecdir=no
81367 glibcxx_toolexeclibdir=no
81368 glibcxx_prefixdir=$prefix
81370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81371 $as_echo_n "checking for gxx-include-dir... " >&6; }
81373 # Check whether --with-gxx-include-dir was given.
81374 if test "${with_gxx_include_dir+set}" = set; then :
81375 withval=$with_gxx_include_dir; case "$withval" in
81376 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81377 no) gxx_include_dir=no ;;
81378 *) gxx_include_dir=$withval ;;
81379 esac
81380 else
81381 gxx_include_dir=no
81384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81385 $as_echo "$gxx_include_dir" >&6; }
81387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81388 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81389 # Check whether --enable-version-specific-runtime-libs was given.
81390 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81391 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81392 yes) version_specific_libs=yes ;;
81393 no) version_specific_libs=no ;;
81394 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81395 esac
81396 else
81397 version_specific_libs=no
81400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81401 $as_echo "$version_specific_libs" >&6; }
81403 # Default case for install directory for include files.
81404 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81405 gxx_include_dir='include/c++/${gcc_version}'
81406 if test -n "$with_cross_host" &&
81407 test x"$with_cross_host" != x"no"; then
81408 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81409 else
81410 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81414 # Version-specific runtime libs processing.
81415 if test $version_specific_libs = yes; then
81416 # Need the gcc compiler version to know where to install libraries
81417 # and header files if --enable-version-specific-runtime-libs option
81418 # is selected. FIXME: these variables are misnamed, there are
81419 # no executables installed in _toolexecdir or _toolexeclibdir.
81420 if test x"$gxx_include_dir" = x"no"; then
81421 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81423 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81424 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81427 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81428 # Install a library built with a cross compiler in tooldir, not libdir.
81429 if test x"$glibcxx_toolexecdir" = x"no"; then
81430 if test -n "$with_cross_host" &&
81431 test x"$with_cross_host" != x"no"; then
81432 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81433 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81434 else
81435 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81436 glibcxx_toolexeclibdir='${libdir}'
81438 multi_os_directory=`$CXX -print-multi-os-directory`
81439 case $multi_os_directory in
81440 .) ;; # Avoid trailing /.
81441 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81442 esac
81445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81446 $as_echo_n "checking for install location... " >&6; }
81447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81448 $as_echo "$gxx_include_dir" >&6; }
81456 # Export all the include and flag information to Makefiles.
81458 # Used for every C++ compile we perform.
81459 GLIBCXX_INCLUDES="\
81460 -I$glibcxx_builddir/include/$host_alias \
81461 -I$glibcxx_builddir/include \
81462 -I$glibcxx_srcdir/libsupc++"
81464 # For Canadian crosses, pick this up too.
81465 if test $CANADIAN = yes; then
81466 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81469 # Stuff in the actual top level. Currently only used by libsupc++ to
81470 # get unwind* headers from the libgcc dir.
81471 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81472 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81474 # Now, export this to all the little Makefiles....
81479 # Optimization flags that are probably a good idea for thrill-seekers. Just
81480 # uncomment the lines below and make, everything else is ready to go...
81481 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81482 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81485 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81489 # Determine what GCC version number to use in filesystem paths.
81491 get_gcc_base_ver="cat"
81493 # Check whether --with-gcc-major-version-only was given.
81494 if test "${with_gcc_major_version_only+set}" = set; then :
81495 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81496 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
81504 ac_config_files="$ac_config_files Makefile"
81506 ac_config_files="$ac_config_files scripts/testsuite_flags"
81508 ac_config_files="$ac_config_files scripts/extract_symvers"
81510 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81513 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81514 # that multilib installs will end up installed in the correct place.
81515 # The testsuite needs it for multilib-aware ABI baseline files.
81516 # To work around this not being passed down from config-ml.in ->
81517 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81518 # append it here. Only modify Makefiles that have just been created.
81520 # Also, get rid of this simulated-VPATH thing that automake does.
81521 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"
81524 ac_config_commands="$ac_config_commands generate-headers"
81527 cat >confcache <<\_ACEOF
81528 # This file is a shell script that caches the results of configure
81529 # tests run on this system so they can be shared between configure
81530 # scripts and configure runs, see configure's option --config-cache.
81531 # It is not useful on other systems. If it contains results you don't
81532 # want to keep, you may remove or edit it.
81534 # config.status only pays attention to the cache file if you give it
81535 # the --recheck option to rerun configure.
81537 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81539 # following values.
81541 _ACEOF
81543 # The following way of writing the cache mishandles newlines in values,
81544 # but we know of no workaround that is simple, portable, and efficient.
81545 # So, we kill variables containing newlines.
81546 # Ultrix sh set writes to stderr and can't be redirected directly,
81547 # and sets the high bit in the cache file unless we assign to the vars.
81549 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81550 eval ac_val=\$$ac_var
81551 case $ac_val in #(
81552 *${as_nl}*)
81553 case $ac_var in #(
81554 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81555 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81556 esac
81557 case $ac_var in #(
81558 _ | IFS | as_nl) ;; #(
81559 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81560 *) { eval $ac_var=; unset $ac_var;} ;;
81561 esac ;;
81562 esac
81563 done
81565 (set) 2>&1 |
81566 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81567 *${as_nl}ac_space=\ *)
81568 # `set' does not quote correctly, so add quotes: double-quote
81569 # substitution turns \\\\ into \\, and sed turns \\ into \.
81570 sed -n \
81571 "s/'/'\\\\''/g;
81572 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81573 ;; #(
81575 # `set' quotes correctly as required by POSIX, so do not add quotes.
81576 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81578 esac |
81579 sort
81581 sed '
81582 /^ac_cv_env_/b end
81583 t clear
81584 :clear
81585 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81586 t end
81587 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81588 :end' >>confcache
81589 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81590 if test -w "$cache_file"; then
81591 test "x$cache_file" != "x/dev/null" &&
81592 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81593 $as_echo "$as_me: updating cache $cache_file" >&6;}
81594 cat confcache >$cache_file
81595 else
81596 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81597 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81600 rm -f confcache
81602 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81603 # Let make expand exec_prefix.
81604 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81606 DEFS=-DHAVE_CONFIG_H
81608 ac_libobjs=
81609 ac_ltlibobjs=
81610 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81611 # 1. Remove the extension, and $U if already installed.
81612 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81613 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81614 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81615 # will be set to the directory where LIBOBJS objects are built.
81616 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81617 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81618 done
81619 LIBOBJS=$ac_libobjs
81621 LTLIBOBJS=$ac_ltlibobjs
81624 if test -n "$EXEEXT"; then
81625 am__EXEEXT_TRUE=
81626 am__EXEEXT_FALSE='#'
81627 else
81628 am__EXEEXT_TRUE='#'
81629 am__EXEEXT_FALSE=
81632 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81633 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81636 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81637 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81640 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81641 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81644 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81645 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81648 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81649 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81652 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81653 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81656 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81657 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81660 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81661 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81664 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81665 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81668 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81669 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81672 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81673 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81676 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81677 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81680 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81681 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81684 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81685 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81688 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81689 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81692 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81693 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81696 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81697 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81700 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81701 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81704 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81705 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81708 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81709 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81712 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81713 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81716 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81717 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81720 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81721 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81724 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81725 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81728 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81729 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81732 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81733 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81736 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81737 as_fn_error "conditional \"BUILD_XML\" was never defined.
81738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81740 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81741 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81744 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81745 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81748 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81749 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81753 : ${CONFIG_STATUS=./config.status}
81754 ac_write_fail=0
81755 ac_clean_files_save=$ac_clean_files
81756 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81758 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81759 as_write_fail=0
81760 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81761 #! $SHELL
81762 # Generated by $as_me.
81763 # Run this file to recreate the current configuration.
81764 # Compiler output produced by configure, useful for debugging
81765 # configure, is in config.log if it exists.
81767 debug=false
81768 ac_cs_recheck=false
81769 ac_cs_silent=false
81771 SHELL=\${CONFIG_SHELL-$SHELL}
81772 export SHELL
81773 _ASEOF
81774 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81775 ## -------------------- ##
81776 ## M4sh Initialization. ##
81777 ## -------------------- ##
81779 # Be more Bourne compatible
81780 DUALCASE=1; export DUALCASE # for MKS sh
81781 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81782 emulate sh
81783 NULLCMD=:
81784 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81785 # is contrary to our usage. Disable this feature.
81786 alias -g '${1+"$@"}'='"$@"'
81787 setopt NO_GLOB_SUBST
81788 else
81789 case `(set -o) 2>/dev/null` in #(
81790 *posix*) :
81791 set -o posix ;; #(
81792 *) :
81794 esac
81798 as_nl='
81800 export as_nl
81801 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81802 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81803 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81804 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81805 # Prefer a ksh shell builtin over an external printf program on Solaris,
81806 # but without wasting forks for bash or zsh.
81807 if test -z "$BASH_VERSION$ZSH_VERSION" \
81808 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81809 as_echo='print -r --'
81810 as_echo_n='print -rn --'
81811 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81812 as_echo='printf %s\n'
81813 as_echo_n='printf %s'
81814 else
81815 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81816 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81817 as_echo_n='/usr/ucb/echo -n'
81818 else
81819 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81820 as_echo_n_body='eval
81821 arg=$1;
81822 case $arg in #(
81823 *"$as_nl"*)
81824 expr "X$arg" : "X\\(.*\\)$as_nl";
81825 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81826 esac;
81827 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81829 export as_echo_n_body
81830 as_echo_n='sh -c $as_echo_n_body as_echo'
81832 export as_echo_body
81833 as_echo='sh -c $as_echo_body as_echo'
81836 # The user is always right.
81837 if test "${PATH_SEPARATOR+set}" != set; then
81838 PATH_SEPARATOR=:
81839 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81840 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81841 PATH_SEPARATOR=';'
81846 # IFS
81847 # We need space, tab and new line, in precisely that order. Quoting is
81848 # there to prevent editors from complaining about space-tab.
81849 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81850 # splitting by setting IFS to empty value.)
81851 IFS=" "" $as_nl"
81853 # Find who we are. Look in the path if we contain no directory separator.
81854 case $0 in #((
81855 *[\\/]* ) as_myself=$0 ;;
81856 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81857 for as_dir in $PATH
81859 IFS=$as_save_IFS
81860 test -z "$as_dir" && as_dir=.
81861 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81862 done
81863 IFS=$as_save_IFS
81866 esac
81867 # We did not find ourselves, most probably we were run as `sh COMMAND'
81868 # in which case we are not to be found in the path.
81869 if test "x$as_myself" = x; then
81870 as_myself=$0
81872 if test ! -f "$as_myself"; then
81873 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81874 exit 1
81877 # Unset variables that we do not need and which cause bugs (e.g. in
81878 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81879 # suppresses any "Segmentation fault" message there. '((' could
81880 # trigger a bug in pdksh 5.2.14.
81881 for as_var in BASH_ENV ENV MAIL MAILPATH
81882 do eval test x\${$as_var+set} = xset \
81883 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81884 done
81885 PS1='$ '
81886 PS2='> '
81887 PS4='+ '
81889 # NLS nuisances.
81890 LC_ALL=C
81891 export LC_ALL
81892 LANGUAGE=C
81893 export LANGUAGE
81895 # CDPATH.
81896 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81899 # as_fn_error ERROR [LINENO LOG_FD]
81900 # ---------------------------------
81901 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81902 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81903 # script with status $?, using 1 if that was 0.
81904 as_fn_error ()
81906 as_status=$?; test $as_status -eq 0 && as_status=1
81907 if test "$3"; then
81908 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81909 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81911 $as_echo "$as_me: error: $1" >&2
81912 as_fn_exit $as_status
81913 } # as_fn_error
81916 # as_fn_set_status STATUS
81917 # -----------------------
81918 # Set $? to STATUS, without forking.
81919 as_fn_set_status ()
81921 return $1
81922 } # as_fn_set_status
81924 # as_fn_exit STATUS
81925 # -----------------
81926 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81927 as_fn_exit ()
81929 set +e
81930 as_fn_set_status $1
81931 exit $1
81932 } # as_fn_exit
81934 # as_fn_unset VAR
81935 # ---------------
81936 # Portably unset VAR.
81937 as_fn_unset ()
81939 { eval $1=; unset $1;}
81941 as_unset=as_fn_unset
81942 # as_fn_append VAR VALUE
81943 # ----------------------
81944 # Append the text in VALUE to the end of the definition contained in VAR. Take
81945 # advantage of any shell optimizations that allow amortized linear growth over
81946 # repeated appends, instead of the typical quadratic growth present in naive
81947 # implementations.
81948 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81949 eval 'as_fn_append ()
81951 eval $1+=\$2
81953 else
81954 as_fn_append ()
81956 eval $1=\$$1\$2
81958 fi # as_fn_append
81960 # as_fn_arith ARG...
81961 # ------------------
81962 # Perform arithmetic evaluation on the ARGs, and store the result in the
81963 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81964 # must be portable across $(()) and expr.
81965 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81966 eval 'as_fn_arith ()
81968 as_val=$(( $* ))
81970 else
81971 as_fn_arith ()
81973 as_val=`expr "$@" || test $? -eq 1`
81975 fi # as_fn_arith
81978 if expr a : '\(a\)' >/dev/null 2>&1 &&
81979 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81980 as_expr=expr
81981 else
81982 as_expr=false
81985 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81986 as_basename=basename
81987 else
81988 as_basename=false
81991 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81992 as_dirname=dirname
81993 else
81994 as_dirname=false
81997 as_me=`$as_basename -- "$0" ||
81998 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81999 X"$0" : 'X\(//\)$' \| \
82000 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82001 $as_echo X/"$0" |
82002 sed '/^.*\/\([^/][^/]*\)\/*$/{
82003 s//\1/
82006 /^X\/\(\/\/\)$/{
82007 s//\1/
82010 /^X\/\(\/\).*/{
82011 s//\1/
82014 s/.*/./; q'`
82016 # Avoid depending upon Character Ranges.
82017 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82018 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82019 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82020 as_cr_digits='0123456789'
82021 as_cr_alnum=$as_cr_Letters$as_cr_digits
82023 ECHO_C= ECHO_N= ECHO_T=
82024 case `echo -n x` in #(((((
82025 -n*)
82026 case `echo 'xy\c'` in
82027 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82028 xy) ECHO_C='\c';;
82029 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82030 ECHO_T=' ';;
82031 esac;;
82033 ECHO_N='-n';;
82034 esac
82036 rm -f conf$$ conf$$.exe conf$$.file
82037 if test -d conf$$.dir; then
82038 rm -f conf$$.dir/conf$$.file
82039 else
82040 rm -f conf$$.dir
82041 mkdir conf$$.dir 2>/dev/null
82043 if (echo >conf$$.file) 2>/dev/null; then
82044 if ln -s conf$$.file conf$$ 2>/dev/null; then
82045 as_ln_s='ln -s'
82046 # ... but there are two gotchas:
82047 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82048 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82049 # In both cases, we have to default to `cp -p'.
82050 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82051 as_ln_s='cp -p'
82052 elif ln conf$$.file conf$$ 2>/dev/null; then
82053 as_ln_s=ln
82054 else
82055 as_ln_s='cp -p'
82057 else
82058 as_ln_s='cp -p'
82060 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82061 rmdir conf$$.dir 2>/dev/null
82064 # as_fn_mkdir_p
82065 # -------------
82066 # Create "$as_dir" as a directory, including parents if necessary.
82067 as_fn_mkdir_p ()
82070 case $as_dir in #(
82071 -*) as_dir=./$as_dir;;
82072 esac
82073 test -d "$as_dir" || eval $as_mkdir_p || {
82074 as_dirs=
82075 while :; do
82076 case $as_dir in #(
82077 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82078 *) as_qdir=$as_dir;;
82079 esac
82080 as_dirs="'$as_qdir' $as_dirs"
82081 as_dir=`$as_dirname -- "$as_dir" ||
82082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82083 X"$as_dir" : 'X\(//\)[^/]' \| \
82084 X"$as_dir" : 'X\(//\)$' \| \
82085 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82086 $as_echo X"$as_dir" |
82087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82088 s//\1/
82091 /^X\(\/\/\)[^/].*/{
82092 s//\1/
82095 /^X\(\/\/\)$/{
82096 s//\1/
82099 /^X\(\/\).*/{
82100 s//\1/
82103 s/.*/./; q'`
82104 test -d "$as_dir" && break
82105 done
82106 test -z "$as_dirs" || eval "mkdir $as_dirs"
82107 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82110 } # as_fn_mkdir_p
82111 if mkdir -p . 2>/dev/null; then
82112 as_mkdir_p='mkdir -p "$as_dir"'
82113 else
82114 test -d ./-p && rmdir ./-p
82115 as_mkdir_p=false
82118 if test -x / >/dev/null 2>&1; then
82119 as_test_x='test -x'
82120 else
82121 if ls -dL / >/dev/null 2>&1; then
82122 as_ls_L_option=L
82123 else
82124 as_ls_L_option=
82126 as_test_x='
82127 eval sh -c '\''
82128 if test -d "$1"; then
82129 test -d "$1/.";
82130 else
82131 case $1 in #(
82132 -*)set "./$1";;
82133 esac;
82134 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82135 ???[sx]*):;;*)false;;esac;fi
82136 '\'' sh
82139 as_executable_p=$as_test_x
82141 # Sed expression to map a string onto a valid CPP name.
82142 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82144 # Sed expression to map a string onto a valid variable name.
82145 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82148 exec 6>&1
82149 ## ----------------------------------- ##
82150 ## Main body of $CONFIG_STATUS script. ##
82151 ## ----------------------------------- ##
82152 _ASEOF
82153 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82156 # Save the log message, to keep $0 and so on meaningful, and to
82157 # report actual input values of CONFIG_FILES etc. instead of their
82158 # values after options handling.
82159 ac_log="
82160 This file was extended by package-unused $as_me version-unused, which was
82161 generated by GNU Autoconf 2.64. Invocation command line was
82163 CONFIG_FILES = $CONFIG_FILES
82164 CONFIG_HEADERS = $CONFIG_HEADERS
82165 CONFIG_LINKS = $CONFIG_LINKS
82166 CONFIG_COMMANDS = $CONFIG_COMMANDS
82167 $ $0 $@
82169 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82172 _ACEOF
82174 case $ac_config_files in *"
82175 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82176 esac
82178 case $ac_config_headers in *"
82179 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82180 esac
82183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82184 # Files that config.status was made for.
82185 config_files="$ac_config_files"
82186 config_headers="$ac_config_headers"
82187 config_commands="$ac_config_commands"
82189 _ACEOF
82191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82192 ac_cs_usage="\
82193 \`$as_me' instantiates files and other configuration actions
82194 from templates according to the current configuration. Unless the files
82195 and actions are specified as TAGs, all are instantiated by default.
82197 Usage: $0 [OPTION]... [TAG]...
82199 -h, --help print this help, then exit
82200 -V, --version print version number and configuration settings, then exit
82201 -q, --quiet, --silent
82202 do not print progress messages
82203 -d, --debug don't remove temporary files
82204 --recheck update $as_me by reconfiguring in the same conditions
82205 --file=FILE[:TEMPLATE]
82206 instantiate the configuration file FILE
82207 --header=FILE[:TEMPLATE]
82208 instantiate the configuration header FILE
82210 Configuration files:
82211 $config_files
82213 Configuration headers:
82214 $config_headers
82216 Configuration commands:
82217 $config_commands
82219 Report bugs to the package provider."
82221 _ACEOF
82222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82223 ac_cs_version="\\
82224 package-unused config.status version-unused
82225 configured by $0, generated by GNU Autoconf 2.64,
82226 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82228 Copyright (C) 2009 Free Software Foundation, Inc.
82229 This config.status script is free software; the Free Software Foundation
82230 gives unlimited permission to copy, distribute and modify it."
82232 ac_pwd='$ac_pwd'
82233 srcdir='$srcdir'
82234 INSTALL='$INSTALL'
82235 MKDIR_P='$MKDIR_P'
82236 AWK='$AWK'
82237 test -n "\$AWK" || AWK=awk
82238 _ACEOF
82240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82241 # The default lists apply if the user does not specify any file.
82242 ac_need_defaults=:
82243 while test $# != 0
82245 case $1 in
82246 --*=*)
82247 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82248 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82249 ac_shift=:
82252 ac_option=$1
82253 ac_optarg=$2
82254 ac_shift=shift
82256 esac
82258 case $ac_option in
82259 # Handling of the options.
82260 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82261 ac_cs_recheck=: ;;
82262 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82263 $as_echo "$ac_cs_version"; exit ;;
82264 --debug | --debu | --deb | --de | --d | -d )
82265 debug=: ;;
82266 --file | --fil | --fi | --f )
82267 $ac_shift
82268 case $ac_optarg in
82269 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82270 esac
82271 as_fn_append CONFIG_FILES " '$ac_optarg'"
82272 ac_need_defaults=false;;
82273 --header | --heade | --head | --hea )
82274 $ac_shift
82275 case $ac_optarg in
82276 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82277 esac
82278 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82279 ac_need_defaults=false;;
82280 --he | --h)
82281 # Conflict between --help and --header
82282 as_fn_error "ambiguous option: \`$1'
82283 Try \`$0 --help' for more information.";;
82284 --help | --hel | -h )
82285 $as_echo "$ac_cs_usage"; exit ;;
82286 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82287 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82288 ac_cs_silent=: ;;
82290 # This is an error.
82291 -*) as_fn_error "unrecognized option: \`$1'
82292 Try \`$0 --help' for more information." ;;
82294 *) as_fn_append ac_config_targets " $1"
82295 ac_need_defaults=false ;;
82297 esac
82298 shift
82299 done
82301 ac_configure_extra_args=
82303 if $ac_cs_silent; then
82304 exec 6>/dev/null
82305 ac_configure_extra_args="$ac_configure_extra_args --silent"
82308 _ACEOF
82309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82310 if \$ac_cs_recheck; then
82311 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82312 shift
82313 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82314 CONFIG_SHELL='$SHELL'
82315 export CONFIG_SHELL
82316 exec "\$@"
82319 _ACEOF
82320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82321 exec 5>>config.log
82323 echo
82324 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82325 ## Running $as_me. ##
82326 _ASBOX
82327 $as_echo "$ac_log"
82328 } >&5
82330 _ACEOF
82331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82333 # INIT-COMMANDS
82336 srcdir="$srcdir"
82337 host="$host"
82338 target="$target"
82339 with_multisubdir="$with_multisubdir"
82340 with_multisrctop="$with_multisrctop"
82341 with_target_subdir="$with_target_subdir"
82342 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82343 multi_basedir="$multi_basedir"
82344 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82345 CC="$CC"
82346 CXX="$CXX"
82347 GFORTRAN="$GFORTRAN"
82350 # The HP-UX ksh and POSIX shell print the target directory to stdout
82351 # if CDPATH is set.
82352 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82354 sed_quote_subst='$sed_quote_subst'
82355 double_quote_subst='$double_quote_subst'
82356 delay_variable_subst='$delay_variable_subst'
82357 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82358 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82359 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82360 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82361 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82362 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82363 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82364 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82365 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82366 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82367 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82368 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82369 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82370 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82371 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82372 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82373 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82374 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82375 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82376 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82377 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82378 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82379 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82380 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82381 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82382 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82383 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82384 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82385 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82386 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82387 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82388 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82389 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82390 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82391 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82392 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82393 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82394 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82395 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82396 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82397 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82398 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82399 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82400 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82401 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82402 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82403 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82404 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82405 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"`'
82406 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82407 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82408 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82409 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82410 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82411 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82412 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82413 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82414 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82415 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82416 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82417 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82418 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82419 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82420 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82421 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82422 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82423 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82424 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82425 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82426 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82427 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82428 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82429 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82430 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82431 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82432 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82433 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82434 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82435 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82436 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82437 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82438 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82439 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82440 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82441 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82442 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82443 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82444 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82445 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82446 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82447 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82448 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82449 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82450 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82451 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82452 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82453 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82454 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82455 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82456 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82457 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82458 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82459 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82460 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82461 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82462 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82463 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82464 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82465 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82466 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82467 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82468 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82469 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82470 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82471 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82472 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82473 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82474 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82475 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82476 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82477 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82478 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82479 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82480 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82481 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82482 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82483 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82484 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82485 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82486 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82487 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82488 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82489 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82490 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82491 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82492 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82493 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82494 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82495 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82496 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82497 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82498 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82499 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82500 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82501 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82502 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82503 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82504 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82505 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82506 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82507 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82508 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82509 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82510 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82511 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82512 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82513 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82514 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82515 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82516 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82517 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82518 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82519 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82520 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82521 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82522 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82523 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82524 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82525 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82526 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82527 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82528 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82529 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82530 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82531 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82533 LTCC='$LTCC'
82534 LTCFLAGS='$LTCFLAGS'
82535 compiler='$compiler_DEFAULT'
82537 # A function that is used when there is no print builtin or printf.
82538 func_fallback_echo ()
82540 eval 'cat <<_LTECHO_EOF
82542 _LTECHO_EOF'
82545 # Quote evaled strings.
82546 for var in SHELL \
82547 ECHO \
82548 SED \
82549 GREP \
82550 EGREP \
82551 FGREP \
82552 LD \
82553 NM \
82554 LN_S \
82555 lt_SP2NL \
82556 lt_NL2SP \
82557 reload_flag \
82558 OBJDUMP \
82559 deplibs_check_method \
82560 file_magic_cmd \
82561 AR \
82562 AR_FLAGS \
82563 STRIP \
82564 RANLIB \
82565 CC \
82566 CFLAGS \
82567 compiler \
82568 lt_cv_sys_global_symbol_pipe \
82569 lt_cv_sys_global_symbol_to_cdecl \
82570 lt_cv_sys_global_symbol_to_c_name_address \
82571 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82572 lt_prog_compiler_no_builtin_flag \
82573 lt_prog_compiler_wl \
82574 lt_prog_compiler_pic \
82575 lt_prog_compiler_static \
82576 lt_cv_prog_compiler_c_o \
82577 need_locks \
82578 DSYMUTIL \
82579 NMEDIT \
82580 LIPO \
82581 OTOOL \
82582 OTOOL64 \
82583 shrext_cmds \
82584 export_dynamic_flag_spec \
82585 whole_archive_flag_spec \
82586 compiler_needs_object \
82587 with_gnu_ld \
82588 allow_undefined_flag \
82589 no_undefined_flag \
82590 hardcode_libdir_flag_spec \
82591 hardcode_libdir_flag_spec_ld \
82592 hardcode_libdir_separator \
82593 fix_srcfile_path \
82594 exclude_expsyms \
82595 include_expsyms \
82596 file_list_spec \
82597 variables_saved_for_relink \
82598 libname_spec \
82599 library_names_spec \
82600 soname_spec \
82601 install_override_mode \
82602 finish_eval \
82603 old_striplib \
82604 striplib \
82605 compiler_lib_search_dirs \
82606 predep_objects \
82607 postdep_objects \
82608 predeps \
82609 postdeps \
82610 compiler_lib_search_path \
82611 LD_CXX \
82612 reload_flag_CXX \
82613 compiler_CXX \
82614 lt_prog_compiler_no_builtin_flag_CXX \
82615 lt_prog_compiler_wl_CXX \
82616 lt_prog_compiler_pic_CXX \
82617 lt_prog_compiler_static_CXX \
82618 lt_cv_prog_compiler_c_o_CXX \
82619 export_dynamic_flag_spec_CXX \
82620 whole_archive_flag_spec_CXX \
82621 compiler_needs_object_CXX \
82622 with_gnu_ld_CXX \
82623 allow_undefined_flag_CXX \
82624 no_undefined_flag_CXX \
82625 hardcode_libdir_flag_spec_CXX \
82626 hardcode_libdir_flag_spec_ld_CXX \
82627 hardcode_libdir_separator_CXX \
82628 fix_srcfile_path_CXX \
82629 exclude_expsyms_CXX \
82630 include_expsyms_CXX \
82631 file_list_spec_CXX \
82632 compiler_lib_search_dirs_CXX \
82633 predep_objects_CXX \
82634 postdep_objects_CXX \
82635 predeps_CXX \
82636 postdeps_CXX \
82637 compiler_lib_search_path_CXX; do
82638 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82639 *[\\\\\\\`\\"\\\$]*)
82640 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82643 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82645 esac
82646 done
82648 # Double-quote double-evaled strings.
82649 for var in reload_cmds \
82650 old_postinstall_cmds \
82651 old_postuninstall_cmds \
82652 old_archive_cmds \
82653 extract_expsyms_cmds \
82654 old_archive_from_new_cmds \
82655 old_archive_from_expsyms_cmds \
82656 archive_cmds \
82657 archive_expsym_cmds \
82658 module_cmds \
82659 module_expsym_cmds \
82660 export_symbols_cmds \
82661 prelink_cmds \
82662 postinstall_cmds \
82663 postuninstall_cmds \
82664 finish_cmds \
82665 sys_lib_search_path_spec \
82666 sys_lib_dlsearch_path_spec \
82667 reload_cmds_CXX \
82668 old_archive_cmds_CXX \
82669 old_archive_from_new_cmds_CXX \
82670 old_archive_from_expsyms_cmds_CXX \
82671 archive_cmds_CXX \
82672 archive_expsym_cmds_CXX \
82673 module_cmds_CXX \
82674 module_expsym_cmds_CXX \
82675 export_symbols_cmds_CXX \
82676 prelink_cmds_CXX; do
82677 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82678 *[\\\\\\\`\\"\\\$]*)
82679 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82682 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82684 esac
82685 done
82687 ac_aux_dir='$ac_aux_dir'
82688 xsi_shell='$xsi_shell'
82689 lt_shell_append='$lt_shell_append'
82691 # See if we are running on zsh, and set the options which allow our
82692 # commands through without removal of \ escapes INIT.
82693 if test -n "\${ZSH_VERSION+set}" ; then
82694 setopt NO_GLOB_SUBST
82698 PACKAGE='$PACKAGE'
82699 VERSION='$VERSION'
82700 TIMESTAMP='$TIMESTAMP'
82701 RM='$RM'
82702 ofile='$ofile'
82709 GCC="$GCC"
82710 CC="$CC"
82711 acx_cv_header_stdint="$acx_cv_header_stdint"
82712 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82713 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82714 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82715 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82716 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82717 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82718 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82719 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82720 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82721 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82722 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82723 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82724 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82727 _ACEOF
82729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82731 # Handling of arguments.
82732 for ac_config_target in $ac_config_targets
82734 case $ac_config_target in
82735 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82736 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82737 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82738 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82739 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82740 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82741 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82742 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82743 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82744 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82745 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82746 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82747 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82748 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82749 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82750 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82751 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82752 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82753 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82755 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82756 esac
82757 done
82760 # If the user did not use the arguments to specify the items to instantiate,
82761 # then the envvar interface is used. Set only those that are not.
82762 # We use the long form for the default assignment because of an extremely
82763 # bizarre bug on SunOS 4.1.3.
82764 if $ac_need_defaults; then
82765 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82766 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82767 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82770 # Have a temporary directory for convenience. Make it in the build tree
82771 # simply because there is no reason against having it here, and in addition,
82772 # creating and moving files from /tmp can sometimes cause problems.
82773 # Hook for its removal unless debugging.
82774 # Note that there is a small window in which the directory will not be cleaned:
82775 # after its creation but before its name has been assigned to `$tmp'.
82776 $debug ||
82778 tmp=
82779 trap 'exit_status=$?
82780 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82782 trap 'as_fn_exit 1' 1 2 13 15
82784 # Create a (secure) tmp directory for tmp files.
82787 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82788 test -n "$tmp" && test -d "$tmp"
82789 } ||
82791 tmp=./conf$$-$RANDOM
82792 (umask 077 && mkdir "$tmp")
82793 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82795 # Set up the scripts for CONFIG_FILES section.
82796 # No need to generate them if there are no CONFIG_FILES.
82797 # This happens for instance with `./config.status config.h'.
82798 if test -n "$CONFIG_FILES"; then
82801 ac_cr=`echo X | tr X '\015'`
82802 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82803 # But we know of no other shell where ac_cr would be empty at this
82804 # point, so we can use a bashism as a fallback.
82805 if test "x$ac_cr" = x; then
82806 eval ac_cr=\$\'\\r\'
82808 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82809 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82810 ac_cs_awk_cr='\r'
82811 else
82812 ac_cs_awk_cr=$ac_cr
82815 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82816 _ACEOF
82820 echo "cat >conf$$subs.awk <<_ACEOF" &&
82821 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82822 echo "_ACEOF"
82823 } >conf$$subs.sh ||
82824 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82825 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82826 ac_delim='%!_!# '
82827 for ac_last_try in false false false false false :; do
82828 . ./conf$$subs.sh ||
82829 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82831 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82832 if test $ac_delim_n = $ac_delim_num; then
82833 break
82834 elif $ac_last_try; then
82835 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82836 else
82837 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82839 done
82840 rm -f conf$$subs.sh
82842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82843 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82844 _ACEOF
82845 sed -n '
82847 s/^/S["/; s/!.*/"]=/
82850 s/^[^!]*!//
82851 :repl
82852 t repl
82853 s/'"$ac_delim"'$//
82854 t delim
82857 s/\(.\{148\}\).*/\1/
82858 t more1
82859 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82862 b repl
82863 :more1
82864 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82867 s/.\{148\}//
82868 t nl
82869 :delim
82871 s/\(.\{148\}\).*/\1/
82872 t more2
82873 s/["\\]/\\&/g; s/^/"/; s/$/"/
82876 :more2
82877 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82880 s/.\{148\}//
82881 t delim
82882 ' <conf$$subs.awk | sed '
82883 /^[^""]/{
82885 s/\n//
82887 ' >>$CONFIG_STATUS || ac_write_fail=1
82888 rm -f conf$$subs.awk
82889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82890 _ACAWK
82891 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82892 for (key in S) S_is_set[key] = 1
82893 FS = "\a"
82897 line = $ 0
82898 nfields = split(line, field, "@")
82899 substed = 0
82900 len = length(field[1])
82901 for (i = 2; i < nfields; i++) {
82902 key = field[i]
82903 keylen = length(key)
82904 if (S_is_set[key]) {
82905 value = S[key]
82906 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82907 len += length(value) + length(field[++i])
82908 substed = 1
82909 } else
82910 len += 1 + keylen
82913 print line
82916 _ACAWK
82917 _ACEOF
82918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82919 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82920 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82921 else
82923 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82924 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82925 _ACEOF
82927 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82928 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82929 # trailing colons and then remove the whole line if VPATH becomes empty
82930 # (actually we leave an empty line to preserve line numbers).
82931 if test "x$srcdir" = x.; then
82932 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82933 s/:*\$(srcdir):*/:/
82934 s/:*\${srcdir}:*/:/
82935 s/:*@srcdir@:*/:/
82936 s/^\([^=]*=[ ]*\):*/\1/
82937 s/:*$//
82938 s/^[^=]*=[ ]*$//
82942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82943 fi # test -n "$CONFIG_FILES"
82945 # Set up the scripts for CONFIG_HEADERS section.
82946 # No need to generate them if there are no CONFIG_HEADERS.
82947 # This happens for instance with `./config.status Makefile'.
82948 if test -n "$CONFIG_HEADERS"; then
82949 cat >"$tmp/defines.awk" <<\_ACAWK ||
82950 BEGIN {
82951 _ACEOF
82953 # Transform confdefs.h into an awk script `defines.awk', embedded as
82954 # here-document in config.status, that substitutes the proper values into
82955 # config.h.in to produce config.h.
82957 # Create a delimiter string that does not exist in confdefs.h, to ease
82958 # handling of long lines.
82959 ac_delim='%!_!# '
82960 for ac_last_try in false false :; do
82961 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82962 if test -z "$ac_t"; then
82963 break
82964 elif $ac_last_try; then
82965 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82966 else
82967 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82969 done
82971 # For the awk script, D is an array of macro values keyed by name,
82972 # likewise P contains macro parameters if any. Preserve backslash
82973 # newline sequences.
82975 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82976 sed -n '
82977 s/.\{148\}/&'"$ac_delim"'/g
82978 t rset
82979 :rset
82980 s/^[ ]*#[ ]*define[ ][ ]*/ /
82981 t def
82983 :def
82984 s/\\$//
82985 t bsnl
82986 s/["\\]/\\&/g
82987 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82988 D["\1"]=" \3"/p
82989 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82991 :bsnl
82992 s/["\\]/\\&/g
82993 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82994 D["\1"]=" \3\\\\\\n"\\/p
82995 t cont
82996 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82997 t cont
82999 :cont
83001 s/.\{148\}/&'"$ac_delim"'/g
83002 t clear
83003 :clear
83004 s/\\$//
83005 t bsnlc
83006 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83008 :bsnlc
83009 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83010 b cont
83011 ' <confdefs.h | sed '
83012 s/'"$ac_delim"'/"\\\
83013 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83016 for (key in D) D_is_set[key] = 1
83017 FS = "\a"
83019 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83020 line = \$ 0
83021 split(line, arg, " ")
83022 if (arg[1] == "#") {
83023 defundef = arg[2]
83024 mac1 = arg[3]
83025 } else {
83026 defundef = substr(arg[1], 2)
83027 mac1 = arg[2]
83029 split(mac1, mac2, "(") #)
83030 macro = mac2[1]
83031 prefix = substr(line, 1, index(line, defundef) - 1)
83032 if (D_is_set[macro]) {
83033 # Preserve the white space surrounding the "#".
83034 print prefix "define", macro P[macro] D[macro]
83035 next
83036 } else {
83037 # Replace #undef with comments. This is necessary, for example,
83038 # in the case of _POSIX_SOURCE, which is predefined and required
83039 # on some systems where configure will not decide to define it.
83040 if (defundef == "undef") {
83041 print "/*", prefix defundef, macro, "*/"
83042 next
83046 { print }
83047 _ACAWK
83048 _ACEOF
83049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83050 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83051 fi # test -n "$CONFIG_HEADERS"
83054 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83055 shift
83056 for ac_tag
83058 case $ac_tag in
83059 :[FHLC]) ac_mode=$ac_tag; continue;;
83060 esac
83061 case $ac_mode$ac_tag in
83062 :[FHL]*:*);;
83063 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83064 :[FH]-) ac_tag=-:-;;
83065 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83066 esac
83067 ac_save_IFS=$IFS
83068 IFS=:
83069 set x $ac_tag
83070 IFS=$ac_save_IFS
83071 shift
83072 ac_file=$1
83073 shift
83075 case $ac_mode in
83076 :L) ac_source=$1;;
83077 :[FH])
83078 ac_file_inputs=
83079 for ac_f
83081 case $ac_f in
83082 -) ac_f="$tmp/stdin";;
83083 *) # Look for the file first in the build tree, then in the source tree
83084 # (if the path is not absolute). The absolute path cannot be DOS-style,
83085 # because $ac_f cannot contain `:'.
83086 test -f "$ac_f" ||
83087 case $ac_f in
83088 [\\/$]*) false;;
83089 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83090 esac ||
83091 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83092 esac
83093 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83094 as_fn_append ac_file_inputs " '$ac_f'"
83095 done
83097 # Let's still pretend it is `configure' which instantiates (i.e., don't
83098 # use $as_me), people would be surprised to read:
83099 # /* config.h. Generated by config.status. */
83100 configure_input='Generated from '`
83101 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83102 `' by configure.'
83103 if test x"$ac_file" != x-; then
83104 configure_input="$ac_file. $configure_input"
83105 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83106 $as_echo "$as_me: creating $ac_file" >&6;}
83108 # Neutralize special characters interpreted by sed in replacement strings.
83109 case $configure_input in #(
83110 *\&* | *\|* | *\\* )
83111 ac_sed_conf_input=`$as_echo "$configure_input" |
83112 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83113 *) ac_sed_conf_input=$configure_input;;
83114 esac
83116 case $ac_tag in
83117 *:-:* | *:-) cat >"$tmp/stdin" \
83118 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83119 esac
83121 esac
83123 ac_dir=`$as_dirname -- "$ac_file" ||
83124 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83125 X"$ac_file" : 'X\(//\)[^/]' \| \
83126 X"$ac_file" : 'X\(//\)$' \| \
83127 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83128 $as_echo X"$ac_file" |
83129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83130 s//\1/
83133 /^X\(\/\/\)[^/].*/{
83134 s//\1/
83137 /^X\(\/\/\)$/{
83138 s//\1/
83141 /^X\(\/\).*/{
83142 s//\1/
83145 s/.*/./; q'`
83146 as_dir="$ac_dir"; as_fn_mkdir_p
83147 ac_builddir=.
83149 case "$ac_dir" in
83150 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83152 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83153 # A ".." for each directory in $ac_dir_suffix.
83154 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83155 case $ac_top_builddir_sub in
83156 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83157 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83158 esac ;;
83159 esac
83160 ac_abs_top_builddir=$ac_pwd
83161 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83162 # for backward compatibility:
83163 ac_top_builddir=$ac_top_build_prefix
83165 case $srcdir in
83166 .) # We are building in place.
83167 ac_srcdir=.
83168 ac_top_srcdir=$ac_top_builddir_sub
83169 ac_abs_top_srcdir=$ac_pwd ;;
83170 [\\/]* | ?:[\\/]* ) # Absolute name.
83171 ac_srcdir=$srcdir$ac_dir_suffix;
83172 ac_top_srcdir=$srcdir
83173 ac_abs_top_srcdir=$srcdir ;;
83174 *) # Relative name.
83175 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83176 ac_top_srcdir=$ac_top_build_prefix$srcdir
83177 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83178 esac
83179 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83182 case $ac_mode in
83185 # CONFIG_FILE
83188 case $INSTALL in
83189 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83190 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83191 esac
83192 ac_MKDIR_P=$MKDIR_P
83193 case $MKDIR_P in
83194 [\\/$]* | ?:[\\/]* ) ;;
83195 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83196 esac
83197 _ACEOF
83199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83200 # If the template does not know about datarootdir, expand it.
83201 # FIXME: This hack should be removed a few years after 2.60.
83202 ac_datarootdir_hack=; ac_datarootdir_seen=
83203 ac_sed_dataroot='
83204 /datarootdir/ {
83208 /@datadir@/p
83209 /@docdir@/p
83210 /@infodir@/p
83211 /@localedir@/p
83212 /@mandir@/p'
83213 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83214 *datarootdir*) ac_datarootdir_seen=yes;;
83215 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83217 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83218 _ACEOF
83219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83220 ac_datarootdir_hack='
83221 s&@datadir@&$datadir&g
83222 s&@docdir@&$docdir&g
83223 s&@infodir@&$infodir&g
83224 s&@localedir@&$localedir&g
83225 s&@mandir@&$mandir&g
83226 s&\\\${datarootdir}&$datarootdir&g' ;;
83227 esac
83228 _ACEOF
83230 # Neutralize VPATH when `$srcdir' = `.'.
83231 # Shell code in configure.ac might set extrasub.
83232 # FIXME: do we really want to maintain this feature?
83233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83234 ac_sed_extra="$ac_vpsub
83235 $extrasub
83236 _ACEOF
83237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83239 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83240 s|@configure_input@|$ac_sed_conf_input|;t t
83241 s&@top_builddir@&$ac_top_builddir_sub&;t t
83242 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83243 s&@srcdir@&$ac_srcdir&;t t
83244 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83245 s&@top_srcdir@&$ac_top_srcdir&;t t
83246 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83247 s&@builddir@&$ac_builddir&;t t
83248 s&@abs_builddir@&$ac_abs_builddir&;t t
83249 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83250 s&@INSTALL@&$ac_INSTALL&;t t
83251 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83252 $ac_datarootdir_hack
83254 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83255 || as_fn_error "could not create $ac_file" "$LINENO" 5
83257 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83258 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83259 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83261 which seems to be undefined. Please make sure it is defined." >&5
83262 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83263 which seems to be undefined. Please make sure it is defined." >&2;}
83265 rm -f "$tmp/stdin"
83266 case $ac_file in
83267 -) cat "$tmp/out" && rm -f "$tmp/out";;
83268 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83269 esac \
83270 || as_fn_error "could not create $ac_file" "$LINENO" 5
83274 # CONFIG_HEADER
83276 if test x"$ac_file" != x-; then
83278 $as_echo "/* $configure_input */" \
83279 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83280 } >"$tmp/config.h" \
83281 || as_fn_error "could not create $ac_file" "$LINENO" 5
83282 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83283 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83284 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83285 else
83286 rm -f "$ac_file"
83287 mv "$tmp/config.h" "$ac_file" \
83288 || as_fn_error "could not create $ac_file" "$LINENO" 5
83290 else
83291 $as_echo "/* $configure_input */" \
83292 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83293 || as_fn_error "could not create -" "$LINENO" 5
83295 # Compute "$ac_file"'s index in $config_headers.
83296 _am_arg="$ac_file"
83297 _am_stamp_count=1
83298 for _am_header in $config_headers :; do
83299 case $_am_header in
83300 $_am_arg | $_am_arg:* )
83301 break ;;
83303 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83304 esac
83305 done
83306 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83307 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83308 X"$_am_arg" : 'X\(//\)[^/]' \| \
83309 X"$_am_arg" : 'X\(//\)$' \| \
83310 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83311 $as_echo X"$_am_arg" |
83312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83313 s//\1/
83316 /^X\(\/\/\)[^/].*/{
83317 s//\1/
83320 /^X\(\/\/\)$/{
83321 s//\1/
83324 /^X\(\/\).*/{
83325 s//\1/
83328 s/.*/./; q'`/stamp-h$_am_stamp_count
83331 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83332 $as_echo "$as_me: executing $ac_file commands" >&6;}
83334 esac
83337 case $ac_file$ac_mode in
83338 "default-1":C)
83339 # Only add multilib support code if we just rebuilt the top-level
83340 # Makefile.
83341 case " $CONFIG_FILES " in
83342 *" Makefile "*)
83343 ac_file=Makefile . ${multi_basedir}/config-ml.in
83345 esac ;;
83346 "libtool":C)
83348 # See if we are running on zsh, and set the options which allow our
83349 # commands through without removal of \ escapes.
83350 if test -n "${ZSH_VERSION+set}" ; then
83351 setopt NO_GLOB_SUBST
83354 cfgfile="${ofile}T"
83355 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83356 $RM "$cfgfile"
83358 cat <<_LT_EOF >> "$cfgfile"
83359 #! $SHELL
83361 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83362 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83363 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83364 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83366 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83367 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83368 # Written by Gordon Matzigkeit, 1996
83370 # This file is part of GNU Libtool.
83372 # GNU Libtool is free software; you can redistribute it and/or
83373 # modify it under the terms of the GNU General Public License as
83374 # published by the Free Software Foundation; either version 2 of
83375 # the License, or (at your option) any later version.
83377 # As a special exception to the GNU General Public License,
83378 # if you distribute this file as part of a program or library that
83379 # is built using GNU Libtool, you may include this file under the
83380 # same distribution terms that you use for the rest of that program.
83382 # GNU Libtool is distributed in the hope that it will be useful,
83383 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83384 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83385 # GNU General Public License for more details.
83387 # You should have received a copy of the GNU General Public License
83388 # along with GNU Libtool; see the file COPYING. If not, a copy
83389 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83390 # obtained by writing to the Free Software Foundation, Inc.,
83391 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83394 # The names of the tagged configurations supported by this script.
83395 available_tags="CXX "
83397 # ### BEGIN LIBTOOL CONFIG
83399 # Which release of libtool.m4 was used?
83400 macro_version=$macro_version
83401 macro_revision=$macro_revision
83403 # Whether or not to build shared libraries.
83404 build_libtool_libs=$enable_shared
83406 # Whether or not to build static libraries.
83407 build_old_libs=$enable_static
83409 # What type of objects to build.
83410 pic_mode=$pic_mode
83412 # Whether or not to optimize for fast installation.
83413 fast_install=$enable_fast_install
83415 # Shell to use when invoking shell scripts.
83416 SHELL=$lt_SHELL
83418 # An echo program that protects backslashes.
83419 ECHO=$lt_ECHO
83421 # The host system.
83422 host_alias=$host_alias
83423 host=$host
83424 host_os=$host_os
83426 # The build system.
83427 build_alias=$build_alias
83428 build=$build
83429 build_os=$build_os
83431 # A sed program that does not truncate output.
83432 SED=$lt_SED
83434 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83435 Xsed="\$SED -e 1s/^X//"
83437 # A grep program that handles long lines.
83438 GREP=$lt_GREP
83440 # An ERE matcher.
83441 EGREP=$lt_EGREP
83443 # A literal string matcher.
83444 FGREP=$lt_FGREP
83446 # A BSD- or MS-compatible name lister.
83447 NM=$lt_NM
83449 # Whether we need soft or hard links.
83450 LN_S=$lt_LN_S
83452 # What is the maximum length of a command?
83453 max_cmd_len=$max_cmd_len
83455 # Object file suffix (normally "o").
83456 objext=$ac_objext
83458 # Executable file suffix (normally "").
83459 exeext=$exeext
83461 # whether the shell understands "unset".
83462 lt_unset=$lt_unset
83464 # turn spaces into newlines.
83465 SP2NL=$lt_lt_SP2NL
83467 # turn newlines into spaces.
83468 NL2SP=$lt_lt_NL2SP
83470 # An object symbol dumper.
83471 OBJDUMP=$lt_OBJDUMP
83473 # Method to check whether dependent libraries are shared objects.
83474 deplibs_check_method=$lt_deplibs_check_method
83476 # Command to use when deplibs_check_method == "file_magic".
83477 file_magic_cmd=$lt_file_magic_cmd
83479 # The archiver.
83480 AR=$lt_AR
83481 AR_FLAGS=$lt_AR_FLAGS
83483 # A symbol stripping program.
83484 STRIP=$lt_STRIP
83486 # Commands used to install an old-style archive.
83487 RANLIB=$lt_RANLIB
83488 old_postinstall_cmds=$lt_old_postinstall_cmds
83489 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83491 # Whether to use a lock for old archive extraction.
83492 lock_old_archive_extraction=$lock_old_archive_extraction
83494 # A C compiler.
83495 LTCC=$lt_CC
83497 # LTCC compiler flags.
83498 LTCFLAGS=$lt_CFLAGS
83500 # Take the output of nm and produce a listing of raw symbols and C names.
83501 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83503 # Transform the output of nm in a proper C declaration.
83504 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83506 # Transform the output of nm in a C name address pair.
83507 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83509 # Transform the output of nm in a C name address pair when lib prefix is needed.
83510 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83512 # The name of the directory that contains temporary libtool files.
83513 objdir=$objdir
83515 # Used to examine libraries when file_magic_cmd begins with "file".
83516 MAGIC_CMD=$MAGIC_CMD
83518 # Must we lock files when doing compilation?
83519 need_locks=$lt_need_locks
83521 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83522 DSYMUTIL=$lt_DSYMUTIL
83524 # Tool to change global to local symbols on Mac OS X.
83525 NMEDIT=$lt_NMEDIT
83527 # Tool to manipulate fat objects and archives on Mac OS X.
83528 LIPO=$lt_LIPO
83530 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83531 OTOOL=$lt_OTOOL
83533 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83534 OTOOL64=$lt_OTOOL64
83536 # Old archive suffix (normally "a").
83537 libext=$libext
83539 # Shared library suffix (normally ".so").
83540 shrext_cmds=$lt_shrext_cmds
83542 # The commands to extract the exported symbol list from a shared archive.
83543 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83545 # Variables whose values should be saved in libtool wrapper scripts and
83546 # restored at link time.
83547 variables_saved_for_relink=$lt_variables_saved_for_relink
83549 # Do we need the "lib" prefix for modules?
83550 need_lib_prefix=$need_lib_prefix
83552 # Do we need a version for libraries?
83553 need_version=$need_version
83555 # Library versioning type.
83556 version_type=$version_type
83558 # Shared library runtime path variable.
83559 runpath_var=$runpath_var
83561 # Shared library path variable.
83562 shlibpath_var=$shlibpath_var
83564 # Is shlibpath searched before the hard-coded library search path?
83565 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83567 # Format of library name prefix.
83568 libname_spec=$lt_libname_spec
83570 # List of archive names. First name is the real one, the rest are links.
83571 # The last name is the one that the linker finds with -lNAME
83572 library_names_spec=$lt_library_names_spec
83574 # The coded name of the library, if different from the real name.
83575 soname_spec=$lt_soname_spec
83577 # Permission mode override for installation of shared libraries.
83578 install_override_mode=$lt_install_override_mode
83580 # Command to use after installation of a shared archive.
83581 postinstall_cmds=$lt_postinstall_cmds
83583 # Command to use after uninstallation of a shared archive.
83584 postuninstall_cmds=$lt_postuninstall_cmds
83586 # Commands used to finish a libtool library installation in a directory.
83587 finish_cmds=$lt_finish_cmds
83589 # As "finish_cmds", except a single script fragment to be evaled but
83590 # not shown.
83591 finish_eval=$lt_finish_eval
83593 # Whether we should hardcode library paths into libraries.
83594 hardcode_into_libs=$hardcode_into_libs
83596 # Compile-time system search path for libraries.
83597 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83599 # Run-time system search path for libraries.
83600 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83602 # Whether dlopen is supported.
83603 dlopen_support=$enable_dlopen
83605 # Whether dlopen of programs is supported.
83606 dlopen_self=$enable_dlopen_self
83608 # Whether dlopen of statically linked programs is supported.
83609 dlopen_self_static=$enable_dlopen_self_static
83611 # Commands to strip libraries.
83612 old_striplib=$lt_old_striplib
83613 striplib=$lt_striplib
83616 # The linker used to build libraries.
83617 LD=$lt_LD
83619 # How to create reloadable object files.
83620 reload_flag=$lt_reload_flag
83621 reload_cmds=$lt_reload_cmds
83623 # Commands used to build an old-style archive.
83624 old_archive_cmds=$lt_old_archive_cmds
83626 # A language specific compiler.
83627 CC=$lt_compiler
83629 # Is the compiler the GNU compiler?
83630 with_gcc=$GCC
83632 # Compiler flag to turn off builtin functions.
83633 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83635 # How to pass a linker flag through the compiler.
83636 wl=$lt_lt_prog_compiler_wl
83638 # Additional compiler flags for building library objects.
83639 pic_flag=$lt_lt_prog_compiler_pic
83641 # Compiler flag to prevent dynamic linking.
83642 link_static_flag=$lt_lt_prog_compiler_static
83644 # Does compiler simultaneously support -c and -o options?
83645 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83647 # Whether or not to add -lc for building shared libraries.
83648 build_libtool_need_lc=$archive_cmds_need_lc
83650 # Whether or not to disallow shared libs when runtime libs are static.
83651 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83653 # Compiler flag to allow reflexive dlopens.
83654 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83656 # Compiler flag to generate shared objects directly from archives.
83657 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83659 # Whether the compiler copes with passing no objects directly.
83660 compiler_needs_object=$lt_compiler_needs_object
83662 # Create an old-style archive from a shared archive.
83663 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83665 # Create a temporary old-style archive to link instead of a shared archive.
83666 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83668 # Commands used to build a shared archive.
83669 archive_cmds=$lt_archive_cmds
83670 archive_expsym_cmds=$lt_archive_expsym_cmds
83672 # Commands used to build a loadable module if different from building
83673 # a shared archive.
83674 module_cmds=$lt_module_cmds
83675 module_expsym_cmds=$lt_module_expsym_cmds
83677 # Whether we are building with GNU ld or not.
83678 with_gnu_ld=$lt_with_gnu_ld
83680 # Flag that allows shared libraries with undefined symbols to be built.
83681 allow_undefined_flag=$lt_allow_undefined_flag
83683 # Flag that enforces no undefined symbols.
83684 no_undefined_flag=$lt_no_undefined_flag
83686 # Flag to hardcode \$libdir into a binary during linking.
83687 # This must work even if \$libdir does not exist
83688 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83690 # If ld is used when linking, flag to hardcode \$libdir into a binary
83691 # during linking. This must work even if \$libdir does not exist.
83692 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83694 # Whether we need a single "-rpath" flag with a separated argument.
83695 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83697 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83698 # DIR into the resulting binary.
83699 hardcode_direct=$hardcode_direct
83701 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83702 # DIR into the resulting binary and the resulting library dependency is
83703 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83704 # library is relocated.
83705 hardcode_direct_absolute=$hardcode_direct_absolute
83707 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83708 # into the resulting binary.
83709 hardcode_minus_L=$hardcode_minus_L
83711 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83712 # into the resulting binary.
83713 hardcode_shlibpath_var=$hardcode_shlibpath_var
83715 # Set to "yes" if building a shared library automatically hardcodes DIR
83716 # into the library and all subsequent libraries and executables linked
83717 # against it.
83718 hardcode_automatic=$hardcode_automatic
83720 # Set to yes if linker adds runtime paths of dependent libraries
83721 # to runtime path list.
83722 inherit_rpath=$inherit_rpath
83724 # Whether libtool must link a program against all its dependency libraries.
83725 link_all_deplibs=$link_all_deplibs
83727 # Fix the shell variable \$srcfile for the compiler.
83728 fix_srcfile_path=$lt_fix_srcfile_path
83730 # Set to "yes" if exported symbols are required.
83731 always_export_symbols=$always_export_symbols
83733 # The commands to list exported symbols.
83734 export_symbols_cmds=$lt_export_symbols_cmds
83736 # Symbols that should not be listed in the preloaded symbols.
83737 exclude_expsyms=$lt_exclude_expsyms
83739 # Symbols that must always be exported.
83740 include_expsyms=$lt_include_expsyms
83742 # Commands necessary for linking programs (against libraries) with templates.
83743 prelink_cmds=$lt_prelink_cmds
83745 # Specify filename containing input files.
83746 file_list_spec=$lt_file_list_spec
83748 # How to hardcode a shared library path into an executable.
83749 hardcode_action=$hardcode_action
83751 # The directories searched by this compiler when creating a shared library.
83752 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83754 # Dependencies to place before and after the objects being linked to
83755 # create a shared library.
83756 predep_objects=$lt_predep_objects
83757 postdep_objects=$lt_postdep_objects
83758 predeps=$lt_predeps
83759 postdeps=$lt_postdeps
83761 # The library search path used internally by the compiler when linking
83762 # a shared library.
83763 compiler_lib_search_path=$lt_compiler_lib_search_path
83765 # ### END LIBTOOL CONFIG
83767 _LT_EOF
83769 case $host_os in
83770 aix3*)
83771 cat <<\_LT_EOF >> "$cfgfile"
83772 # AIX sometimes has problems with the GCC collect2 program. For some
83773 # reason, if we set the COLLECT_NAMES environment variable, the problems
83774 # vanish in a puff of smoke.
83775 if test "X${COLLECT_NAMES+set}" != Xset; then
83776 COLLECT_NAMES=
83777 export COLLECT_NAMES
83779 _LT_EOF
83781 esac
83784 ltmain="$ac_aux_dir/ltmain.sh"
83787 # We use sed instead of cat because bash on DJGPP gets confused if
83788 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83789 # text mode, it properly converts lines to CR/LF. This bash problem
83790 # is reportedly fixed, but why not run on old versions too?
83791 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83792 || (rm -f "$cfgfile"; exit 1)
83794 case $xsi_shell in
83795 yes)
83796 cat << \_LT_EOF >> "$cfgfile"
83798 # func_dirname file append nondir_replacement
83799 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83800 # otherwise set result to NONDIR_REPLACEMENT.
83801 func_dirname ()
83803 case ${1} in
83804 */*) func_dirname_result="${1%/*}${2}" ;;
83805 * ) func_dirname_result="${3}" ;;
83806 esac
83809 # func_basename file
83810 func_basename ()
83812 func_basename_result="${1##*/}"
83815 # func_dirname_and_basename file append nondir_replacement
83816 # perform func_basename and func_dirname in a single function
83817 # call:
83818 # dirname: Compute the dirname of FILE. If nonempty,
83819 # add APPEND to the result, otherwise set result
83820 # to NONDIR_REPLACEMENT.
83821 # value returned in "$func_dirname_result"
83822 # basename: Compute filename of FILE.
83823 # value retuned in "$func_basename_result"
83824 # Implementation must be kept synchronized with func_dirname
83825 # and func_basename. For efficiency, we do not delegate to
83826 # those functions but instead duplicate the functionality here.
83827 func_dirname_and_basename ()
83829 case ${1} in
83830 */*) func_dirname_result="${1%/*}${2}" ;;
83831 * ) func_dirname_result="${3}" ;;
83832 esac
83833 func_basename_result="${1##*/}"
83836 # func_stripname prefix suffix name
83837 # strip PREFIX and SUFFIX off of NAME.
83838 # PREFIX and SUFFIX must not contain globbing or regex special
83839 # characters, hashes, percent signs, but SUFFIX may contain a leading
83840 # dot (in which case that matches only a dot).
83841 func_stripname ()
83843 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83844 # positional parameters, so assign one to ordinary parameter first.
83845 func_stripname_result=${3}
83846 func_stripname_result=${func_stripname_result#"${1}"}
83847 func_stripname_result=${func_stripname_result%"${2}"}
83850 # func_opt_split
83851 func_opt_split ()
83853 func_opt_split_opt=${1%%=*}
83854 func_opt_split_arg=${1#*=}
83857 # func_lo2o object
83858 func_lo2o ()
83860 case ${1} in
83861 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83862 *) func_lo2o_result=${1} ;;
83863 esac
83866 # func_xform libobj-or-source
83867 func_xform ()
83869 func_xform_result=${1%.*}.lo
83872 # func_arith arithmetic-term...
83873 func_arith ()
83875 func_arith_result=$(( $* ))
83878 # func_len string
83879 # STRING may not start with a hyphen.
83880 func_len ()
83882 func_len_result=${#1}
83885 _LT_EOF
83887 *) # Bourne compatible functions.
83888 cat << \_LT_EOF >> "$cfgfile"
83890 # func_dirname file append nondir_replacement
83891 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83892 # otherwise set result to NONDIR_REPLACEMENT.
83893 func_dirname ()
83895 # Extract subdirectory from the argument.
83896 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83897 if test "X$func_dirname_result" = "X${1}"; then
83898 func_dirname_result="${3}"
83899 else
83900 func_dirname_result="$func_dirname_result${2}"
83904 # func_basename file
83905 func_basename ()
83907 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83911 # func_stripname prefix suffix name
83912 # strip PREFIX and SUFFIX off of NAME.
83913 # PREFIX and SUFFIX must not contain globbing or regex special
83914 # characters, hashes, percent signs, but SUFFIX may contain a leading
83915 # dot (in which case that matches only a dot).
83916 # func_strip_suffix prefix name
83917 func_stripname ()
83919 case ${2} in
83920 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83921 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83922 esac
83925 # sed scripts:
83926 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83927 my_sed_long_arg='1s/^-[^=]*=//'
83929 # func_opt_split
83930 func_opt_split ()
83932 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83933 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83936 # func_lo2o object
83937 func_lo2o ()
83939 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83942 # func_xform libobj-or-source
83943 func_xform ()
83945 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83948 # func_arith arithmetic-term...
83949 func_arith ()
83951 func_arith_result=`expr "$@"`
83954 # func_len string
83955 # STRING may not start with a hyphen.
83956 func_len ()
83958 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83961 _LT_EOF
83962 esac
83964 case $lt_shell_append in
83965 yes)
83966 cat << \_LT_EOF >> "$cfgfile"
83968 # func_append var value
83969 # Append VALUE to the end of shell variable VAR.
83970 func_append ()
83972 eval "$1+=\$2"
83974 _LT_EOF
83977 cat << \_LT_EOF >> "$cfgfile"
83979 # func_append var value
83980 # Append VALUE to the end of shell variable VAR.
83981 func_append ()
83983 eval "$1=\$$1\$2"
83986 _LT_EOF
83988 esac
83991 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83992 || (rm -f "$cfgfile"; exit 1)
83994 mv -f "$cfgfile" "$ofile" ||
83995 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83996 chmod +x "$ofile"
83999 cat <<_LT_EOF >> "$ofile"
84001 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84003 # The linker used to build libraries.
84004 LD=$lt_LD_CXX
84006 # How to create reloadable object files.
84007 reload_flag=$lt_reload_flag_CXX
84008 reload_cmds=$lt_reload_cmds_CXX
84010 # Commands used to build an old-style archive.
84011 old_archive_cmds=$lt_old_archive_cmds_CXX
84013 # A language specific compiler.
84014 CC=$lt_compiler_CXX
84016 # Is the compiler the GNU compiler?
84017 with_gcc=$GCC_CXX
84019 # Compiler flag to turn off builtin functions.
84020 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84022 # How to pass a linker flag through the compiler.
84023 wl=$lt_lt_prog_compiler_wl_CXX
84025 # Additional compiler flags for building library objects.
84026 pic_flag=$lt_lt_prog_compiler_pic_CXX
84028 # Compiler flag to prevent dynamic linking.
84029 link_static_flag=$lt_lt_prog_compiler_static_CXX
84031 # Does compiler simultaneously support -c and -o options?
84032 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84034 # Whether or not to add -lc for building shared libraries.
84035 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84037 # Whether or not to disallow shared libs when runtime libs are static.
84038 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84040 # Compiler flag to allow reflexive dlopens.
84041 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84043 # Compiler flag to generate shared objects directly from archives.
84044 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84046 # Whether the compiler copes with passing no objects directly.
84047 compiler_needs_object=$lt_compiler_needs_object_CXX
84049 # Create an old-style archive from a shared archive.
84050 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84052 # Create a temporary old-style archive to link instead of a shared archive.
84053 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84055 # Commands used to build a shared archive.
84056 archive_cmds=$lt_archive_cmds_CXX
84057 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84059 # Commands used to build a loadable module if different from building
84060 # a shared archive.
84061 module_cmds=$lt_module_cmds_CXX
84062 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84064 # Whether we are building with GNU ld or not.
84065 with_gnu_ld=$lt_with_gnu_ld_CXX
84067 # Flag that allows shared libraries with undefined symbols to be built.
84068 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84070 # Flag that enforces no undefined symbols.
84071 no_undefined_flag=$lt_no_undefined_flag_CXX
84073 # Flag to hardcode \$libdir into a binary during linking.
84074 # This must work even if \$libdir does not exist
84075 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84077 # If ld is used when linking, flag to hardcode \$libdir into a binary
84078 # during linking. This must work even if \$libdir does not exist.
84079 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84081 # Whether we need a single "-rpath" flag with a separated argument.
84082 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84084 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84085 # DIR into the resulting binary.
84086 hardcode_direct=$hardcode_direct_CXX
84088 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84089 # DIR into the resulting binary and the resulting library dependency is
84090 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84091 # library is relocated.
84092 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84094 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84095 # into the resulting binary.
84096 hardcode_minus_L=$hardcode_minus_L_CXX
84098 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84099 # into the resulting binary.
84100 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84102 # Set to "yes" if building a shared library automatically hardcodes DIR
84103 # into the library and all subsequent libraries and executables linked
84104 # against it.
84105 hardcode_automatic=$hardcode_automatic_CXX
84107 # Set to yes if linker adds runtime paths of dependent libraries
84108 # to runtime path list.
84109 inherit_rpath=$inherit_rpath_CXX
84111 # Whether libtool must link a program against all its dependency libraries.
84112 link_all_deplibs=$link_all_deplibs_CXX
84114 # Fix the shell variable \$srcfile for the compiler.
84115 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84117 # Set to "yes" if exported symbols are required.
84118 always_export_symbols=$always_export_symbols_CXX
84120 # The commands to list exported symbols.
84121 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84123 # Symbols that should not be listed in the preloaded symbols.
84124 exclude_expsyms=$lt_exclude_expsyms_CXX
84126 # Symbols that must always be exported.
84127 include_expsyms=$lt_include_expsyms_CXX
84129 # Commands necessary for linking programs (against libraries) with templates.
84130 prelink_cmds=$lt_prelink_cmds_CXX
84132 # Specify filename containing input files.
84133 file_list_spec=$lt_file_list_spec_CXX
84135 # How to hardcode a shared library path into an executable.
84136 hardcode_action=$hardcode_action_CXX
84138 # The directories searched by this compiler when creating a shared library.
84139 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84141 # Dependencies to place before and after the objects being linked to
84142 # create a shared library.
84143 predep_objects=$lt_predep_objects_CXX
84144 postdep_objects=$lt_postdep_objects_CXX
84145 predeps=$lt_predeps_CXX
84146 postdeps=$lt_postdeps_CXX
84148 # The library search path used internally by the compiler when linking
84149 # a shared library.
84150 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84152 # ### END LIBTOOL TAG CONFIG: CXX
84153 _LT_EOF
84156 "include/gstdint.h":C)
84157 if test "$GCC" = yes; then
84158 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84159 else
84160 echo "/* generated for $CC */" > tmp-stdint.h
84163 sed 's/^ *//' >> tmp-stdint.h <<EOF
84165 #ifndef GCC_GENERATED_STDINT_H
84166 #define GCC_GENERATED_STDINT_H 1
84168 #include <sys/types.h>
84171 if test "$acx_cv_header_stdint" != stdint.h; then
84172 echo "#include <stddef.h>" >> tmp-stdint.h
84174 if test "$acx_cv_header_stdint" != stddef.h; then
84175 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84178 sed 's/^ *//' >> tmp-stdint.h <<EOF
84179 /* glibc uses these symbols as guards to prevent redefinitions. */
84180 #ifdef __int8_t_defined
84181 #define _INT8_T
84182 #define _INT16_T
84183 #define _INT32_T
84184 #endif
84185 #ifdef __uint32_t_defined
84186 #define _UINT32_T
84187 #endif
84191 # ----------------- done header, emit basic int types -------------
84192 if test "$acx_cv_header_stdint" = stddef.h; then
84193 sed 's/^ *//' >> tmp-stdint.h <<EOF
84195 #ifndef _UINT8_T
84196 #define _UINT8_T
84197 #ifndef __uint8_t_defined
84198 #define __uint8_t_defined
84199 #ifndef uint8_t
84200 typedef unsigned $acx_cv_type_int8_t uint8_t;
84201 #endif
84202 #endif
84203 #endif
84205 #ifndef _UINT16_T
84206 #define _UINT16_T
84207 #ifndef __uint16_t_defined
84208 #define __uint16_t_defined
84209 #ifndef uint16_t
84210 typedef unsigned $acx_cv_type_int16_t uint16_t;
84211 #endif
84212 #endif
84213 #endif
84215 #ifndef _UINT32_T
84216 #define _UINT32_T
84217 #ifndef __uint32_t_defined
84218 #define __uint32_t_defined
84219 #ifndef uint32_t
84220 typedef unsigned $acx_cv_type_int32_t uint32_t;
84221 #endif
84222 #endif
84223 #endif
84225 #ifndef _INT8_T
84226 #define _INT8_T
84227 #ifndef __int8_t_defined
84228 #define __int8_t_defined
84229 #ifndef int8_t
84230 typedef $acx_cv_type_int8_t int8_t;
84231 #endif
84232 #endif
84233 #endif
84235 #ifndef _INT16_T
84236 #define _INT16_T
84237 #ifndef __int16_t_defined
84238 #define __int16_t_defined
84239 #ifndef int16_t
84240 typedef $acx_cv_type_int16_t int16_t;
84241 #endif
84242 #endif
84243 #endif
84245 #ifndef _INT32_T
84246 #define _INT32_T
84247 #ifndef __int32_t_defined
84248 #define __int32_t_defined
84249 #ifndef int32_t
84250 typedef $acx_cv_type_int32_t int32_t;
84251 #endif
84252 #endif
84253 #endif
84255 elif test "$ac_cv_type_u_int32_t" = yes; then
84256 sed 's/^ *//' >> tmp-stdint.h <<EOF
84258 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84259 #ifndef _INT8_T
84260 #define _INT8_T
84261 #endif
84262 #ifndef _INT16_T
84263 #define _INT16_T
84264 #endif
84265 #ifndef _INT32_T
84266 #define _INT32_T
84267 #endif
84269 #ifndef _UINT8_T
84270 #define _UINT8_T
84271 #ifndef __uint8_t_defined
84272 #define __uint8_t_defined
84273 #ifndef uint8_t
84274 typedef u_int8_t uint8_t;
84275 #endif
84276 #endif
84277 #endif
84279 #ifndef _UINT16_T
84280 #define _UINT16_T
84281 #ifndef __uint16_t_defined
84282 #define __uint16_t_defined
84283 #ifndef uint16_t
84284 typedef u_int16_t uint16_t;
84285 #endif
84286 #endif
84287 #endif
84289 #ifndef _UINT32_T
84290 #define _UINT32_T
84291 #ifndef __uint32_t_defined
84292 #define __uint32_t_defined
84293 #ifndef uint32_t
84294 typedef u_int32_t uint32_t;
84295 #endif
84296 #endif
84297 #endif
84299 else
84300 sed 's/^ *//' >> tmp-stdint.h <<EOF
84302 /* Some systems have guard macros to prevent redefinitions, define them. */
84303 #ifndef _INT8_T
84304 #define _INT8_T
84305 #endif
84306 #ifndef _INT16_T
84307 #define _INT16_T
84308 #endif
84309 #ifndef _INT32_T
84310 #define _INT32_T
84311 #endif
84312 #ifndef _UINT8_T
84313 #define _UINT8_T
84314 #endif
84315 #ifndef _UINT16_T
84316 #define _UINT16_T
84317 #endif
84318 #ifndef _UINT32_T
84319 #define _UINT32_T
84320 #endif
84324 # ------------- done basic int types, emit int64_t types ------------
84325 if test "$ac_cv_type_uint64_t" = yes; then
84326 sed 's/^ *//' >> tmp-stdint.h <<EOF
84328 /* system headers have good uint64_t and int64_t */
84329 #ifndef _INT64_T
84330 #define _INT64_T
84331 #endif
84332 #ifndef _UINT64_T
84333 #define _UINT64_T
84334 #endif
84336 elif test "$ac_cv_type_u_int64_t" = yes; then
84337 sed 's/^ *//' >> tmp-stdint.h <<EOF
84339 /* system headers have an u_int64_t (and int64_t) */
84340 #ifndef _INT64_T
84341 #define _INT64_T
84342 #endif
84343 #ifndef _UINT64_T
84344 #define _UINT64_T
84345 #ifndef __uint64_t_defined
84346 #define __uint64_t_defined
84347 #ifndef uint64_t
84348 typedef u_int64_t uint64_t;
84349 #endif
84350 #endif
84351 #endif
84353 elif test -n "$acx_cv_type_int64_t"; then
84354 sed 's/^ *//' >> tmp-stdint.h <<EOF
84356 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84357 #ifndef _INT64_T
84358 #define _INT64_T
84359 #ifndef int64_t
84360 typedef $acx_cv_type_int64_t int64_t;
84361 #endif
84362 #endif
84363 #ifndef _UINT64_T
84364 #define _UINT64_T
84365 #ifndef __uint64_t_defined
84366 #define __uint64_t_defined
84367 #ifndef uint64_t
84368 typedef unsigned $acx_cv_type_int64_t uint64_t;
84369 #endif
84370 #endif
84371 #endif
84373 else
84374 sed 's/^ *//' >> tmp-stdint.h <<EOF
84376 /* some common heuristics for int64_t, using compiler-specific tests */
84377 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84378 #ifndef _INT64_T
84379 #define _INT64_T
84380 #ifndef __int64_t_defined
84381 #ifndef int64_t
84382 typedef long long int64_t;
84383 #endif
84384 #endif
84385 #endif
84386 #ifndef _UINT64_T
84387 #define _UINT64_T
84388 #ifndef uint64_t
84389 typedef unsigned long long uint64_t;
84390 #endif
84391 #endif
84393 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84394 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84395 does not implement __extension__. But that compiler doesn't define
84396 __GNUC_MINOR__. */
84397 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84398 # define __extension__
84399 # endif
84401 # ifndef _INT64_T
84402 # define _INT64_T
84403 # ifndef int64_t
84404 __extension__ typedef long long int64_t;
84405 # endif
84406 # endif
84407 # ifndef _UINT64_T
84408 # define _UINT64_T
84409 # ifndef uint64_t
84410 __extension__ typedef unsigned long long uint64_t;
84411 # endif
84412 # endif
84414 #elif !defined __STRICT_ANSI__
84415 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84417 # ifndef _INT64_T
84418 # define _INT64_T
84419 # ifndef int64_t
84420 typedef __int64 int64_t;
84421 # endif
84422 # endif
84423 # ifndef _UINT64_T
84424 # define _UINT64_T
84425 # ifndef uint64_t
84426 typedef unsigned __int64 uint64_t;
84427 # endif
84428 # endif
84429 # endif /* compiler */
84431 #endif /* ANSI version */
84435 # ------------- done int64_t types, emit intptr types ------------
84436 if test "$ac_cv_type_uintptr_t" != yes; then
84437 sed 's/^ *//' >> tmp-stdint.h <<EOF
84439 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84440 #ifndef __uintptr_t_defined
84441 #ifndef uintptr_t
84442 typedef u$acx_cv_type_intptr_t uintptr_t;
84443 #endif
84444 #endif
84445 #ifndef __intptr_t_defined
84446 #ifndef intptr_t
84447 typedef $acx_cv_type_intptr_t intptr_t;
84448 #endif
84449 #endif
84453 # ------------- done intptr types, emit int_least types ------------
84454 if test "$ac_cv_type_int_least32_t" != yes; then
84455 sed 's/^ *//' >> tmp-stdint.h <<EOF
84457 /* Define int_least types */
84458 typedef int8_t int_least8_t;
84459 typedef int16_t int_least16_t;
84460 typedef int32_t int_least32_t;
84461 #ifdef _INT64_T
84462 typedef int64_t int_least64_t;
84463 #endif
84465 typedef uint8_t uint_least8_t;
84466 typedef uint16_t uint_least16_t;
84467 typedef uint32_t uint_least32_t;
84468 #ifdef _UINT64_T
84469 typedef uint64_t uint_least64_t;
84470 #endif
84474 # ------------- done intptr types, emit int_fast types ------------
84475 if test "$ac_cv_type_int_fast32_t" != yes; then
84476 sed 's/^ *//' >> tmp-stdint.h <<EOF
84478 /* Define int_fast types. short is often slow */
84479 typedef int8_t int_fast8_t;
84480 typedef int int_fast16_t;
84481 typedef int32_t int_fast32_t;
84482 #ifdef _INT64_T
84483 typedef int64_t int_fast64_t;
84484 #endif
84486 typedef uint8_t uint_fast8_t;
84487 typedef unsigned int uint_fast16_t;
84488 typedef uint32_t uint_fast32_t;
84489 #ifdef _UINT64_T
84490 typedef uint64_t uint_fast64_t;
84491 #endif
84495 if test "$ac_cv_type_uintmax_t" != yes; then
84496 sed 's/^ *//' >> tmp-stdint.h <<EOF
84498 /* Define intmax based on what we found */
84499 #ifndef intmax_t
84500 #ifdef _INT64_T
84501 typedef int64_t intmax_t;
84502 #else
84503 typedef long intmax_t;
84504 #endif
84505 #endif
84506 #ifndef uintmax_t
84507 #ifdef _UINT64_T
84508 typedef uint64_t uintmax_t;
84509 #else
84510 typedef unsigned long uintmax_t;
84511 #endif
84512 #endif
84516 sed 's/^ *//' >> tmp-stdint.h <<EOF
84518 #endif /* GCC_GENERATED_STDINT_H */
84521 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84522 rm -f tmp-stdint.h
84523 else
84524 mv -f tmp-stdint.h include/gstdint.h
84528 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84529 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84530 "include/Makefile":F) cat > vpsed$$ << \_EOF
84531 s!`test -f '$<' || echo '$(srcdir)/'`!!
84532 _EOF
84533 sed -f vpsed$$ $ac_file > tmp$$
84534 mv tmp$$ $ac_file
84535 rm vpsed$$
84536 echo 'MULTISUBDIR =' >> $ac_file
84537 ml_norecursion=yes
84538 . ${multi_basedir}/config-ml.in
84539 { ml_norecursion=; unset ml_norecursion;}
84541 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84542 s!`test -f '$<' || echo '$(srcdir)/'`!!
84543 _EOF
84544 sed -f vpsed$$ $ac_file > tmp$$
84545 mv tmp$$ $ac_file
84546 rm vpsed$$
84547 echo 'MULTISUBDIR =' >> $ac_file
84548 ml_norecursion=yes
84549 . ${multi_basedir}/config-ml.in
84550 { ml_norecursion=; unset ml_norecursion;}
84552 "src/Makefile":F) cat > vpsed$$ << \_EOF
84553 s!`test -f '$<' || echo '$(srcdir)/'`!!
84554 _EOF
84555 sed -f vpsed$$ $ac_file > tmp$$
84556 mv tmp$$ $ac_file
84557 rm vpsed$$
84558 echo 'MULTISUBDIR =' >> $ac_file
84559 ml_norecursion=yes
84560 . ${multi_basedir}/config-ml.in
84561 { ml_norecursion=; unset ml_norecursion;}
84563 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84564 s!`test -f '$<' || echo '$(srcdir)/'`!!
84565 _EOF
84566 sed -f vpsed$$ $ac_file > tmp$$
84567 mv tmp$$ $ac_file
84568 rm vpsed$$
84569 echo 'MULTISUBDIR =' >> $ac_file
84570 ml_norecursion=yes
84571 . ${multi_basedir}/config-ml.in
84572 { ml_norecursion=; unset ml_norecursion;}
84574 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84575 s!`test -f '$<' || echo '$(srcdir)/'`!!
84576 _EOF
84577 sed -f vpsed$$ $ac_file > tmp$$
84578 mv tmp$$ $ac_file
84579 rm vpsed$$
84580 echo 'MULTISUBDIR =' >> $ac_file
84581 ml_norecursion=yes
84582 . ${multi_basedir}/config-ml.in
84583 { ml_norecursion=; unset ml_norecursion;}
84585 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84586 s!`test -f '$<' || echo '$(srcdir)/'`!!
84587 _EOF
84588 sed -f vpsed$$ $ac_file > tmp$$
84589 mv tmp$$ $ac_file
84590 rm vpsed$$
84591 echo 'MULTISUBDIR =' >> $ac_file
84592 ml_norecursion=yes
84593 . ${multi_basedir}/config-ml.in
84594 { ml_norecursion=; unset ml_norecursion;}
84596 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84597 s!`test -f '$<' || echo '$(srcdir)/'`!!
84598 _EOF
84599 sed -f vpsed$$ $ac_file > tmp$$
84600 mv tmp$$ $ac_file
84601 rm vpsed$$
84602 echo 'MULTISUBDIR =' >> $ac_file
84603 ml_norecursion=yes
84604 . ${multi_basedir}/config-ml.in
84605 { ml_norecursion=; unset ml_norecursion;}
84607 "po/Makefile":F) cat > vpsed$$ << \_EOF
84608 s!`test -f '$<' || echo '$(srcdir)/'`!!
84609 _EOF
84610 sed -f vpsed$$ $ac_file > tmp$$
84611 mv tmp$$ $ac_file
84612 rm vpsed$$
84613 echo 'MULTISUBDIR =' >> $ac_file
84614 ml_norecursion=yes
84615 . ${multi_basedir}/config-ml.in
84616 { ml_norecursion=; unset ml_norecursion;}
84618 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84619 s!`test -f '$<' || echo '$(srcdir)/'`!!
84620 _EOF
84621 sed -f vpsed$$ $ac_file > tmp$$
84622 mv tmp$$ $ac_file
84623 rm vpsed$$
84624 echo 'MULTISUBDIR =' >> $ac_file
84625 ml_norecursion=yes
84626 . ${multi_basedir}/config-ml.in
84627 { ml_norecursion=; unset ml_norecursion;}
84629 "python/Makefile":F) cat > vpsed$$ << \_EOF
84630 s!`test -f '$<' || echo '$(srcdir)/'`!!
84631 _EOF
84632 sed -f vpsed$$ $ac_file > tmp$$
84633 mv tmp$$ $ac_file
84634 rm vpsed$$
84635 echo 'MULTISUBDIR =' >> $ac_file
84636 ml_norecursion=yes
84637 . ${multi_basedir}/config-ml.in
84638 { ml_norecursion=; unset ml_norecursion;}
84640 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84642 esac
84643 done # for ac_tag
84646 as_fn_exit 0
84647 _ACEOF
84648 ac_clean_files=$ac_clean_files_save
84650 test $ac_write_fail = 0 ||
84651 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84654 # configure is writing to config.log, and then calls config.status.
84655 # config.status does its own redirection, appending to config.log.
84656 # Unfortunately, on DOS this fails, as config.log is still kept open
84657 # by configure, so config.status won't be able to write to it; its
84658 # output is simply discarded. So we exec the FD to /dev/null,
84659 # effectively closing config.log, so it can be properly (re)opened and
84660 # appended to by config.status. When coming back to configure, we
84661 # need to make the FD available again.
84662 if test "$no_create" != yes; then
84663 ac_cs_success=:
84664 ac_config_status_args=
84665 test "$silent" = yes &&
84666 ac_config_status_args="$ac_config_status_args --quiet"
84667 exec 5>/dev/null
84668 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84669 exec 5>>config.log
84670 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84671 # would make configure fail if this is the last instruction.
84672 $ac_cs_success || as_fn_exit $?
84674 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84676 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}