[AArch64] Separate shrink wrapping hooks implementation
[official-gcc.git] / libstdc++-v3 / configure
blob1f72e3ff9bb1dd786f132b58bb3656d4f10aac20
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 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 LONG_DOUBLE_COMPAT_FLAGS
649 ENABLE_CXX11_ABI_FALSE
650 ENABLE_CXX11_ABI_TRUE
651 glibcxx_cxx98_abi
652 ENABLE_DUAL_ABI_FALSE
653 ENABLE_DUAL_ABI_TRUE
654 ENABLE_VISIBILITY_FALSE
655 ENABLE_VISIBILITY_TRUE
656 libtool_VERSION
657 ENABLE_SYMVERS_SUN_FALSE
658 ENABLE_SYMVERS_SUN_TRUE
659 ENABLE_SYMVERS_DARWIN_FALSE
660 ENABLE_SYMVERS_DARWIN_TRUE
661 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
662 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
663 ENABLE_SYMVERS_GNU_FALSE
664 ENABLE_SYMVERS_GNU_TRUE
665 ENABLE_SYMVERS_FALSE
666 ENABLE_SYMVERS_TRUE
667 port_specific_symbol_files
668 SYMVER_FILE
669 CXXFILT
670 LTLIBICONV
671 LIBICONV
672 OPT_LDFLAGS
673 SECTION_LDFLAGS
674 GLIBCXX_LIBS
675 ENABLE_VTABLE_VERIFY_FALSE
676 ENABLE_VTABLE_VERIFY_TRUE
677 VTV_CYGMIN_FALSE
678 VTV_CYGMIN_TRUE
679 VTV_CXXLINKFLAGS
680 VTV_PCH_CXXFLAGS
681 VTV_CXXFLAGS
682 ENABLE_WERROR_FALSE
683 ENABLE_WERROR_TRUE
684 ENABLE_PYTHONDIR_FALSE
685 ENABLE_PYTHONDIR_TRUE
686 python_mod_dir
687 ENABLE_EXTERN_TEMPLATE_FALSE
688 ENABLE_EXTERN_TEMPLATE_TRUE
689 EXTRA_CXX_FLAGS
690 GLIBCXX_BUILD_DEBUG_FALSE
691 GLIBCXX_BUILD_DEBUG_TRUE
692 DEBUG_FLAGS
693 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
694 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
695 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
696 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
697 GLIBCXX_C_HEADERS_C_STD_FALSE
698 GLIBCXX_C_HEADERS_C_STD_TRUE
699 GLIBCXX_C_HEADERS_C_FALSE
700 GLIBCXX_C_HEADERS_C_TRUE
701 C_INCLUDE_DIR
702 ALLOCATOR_NAME
703 ALLOCATOR_H
704 ENABLE_ALLOCATOR_NEW_FALSE
705 ENABLE_ALLOCATOR_NEW_TRUE
706 CLOCALE_INTERNAL_H
707 CLOCALE_CC
708 CTIME_CC
709 CTIME_H
710 CNUMERIC_CC
711 CMONEY_CC
712 CMESSAGES_CC
713 CCTYPE_CC
714 CCOLLATE_CC
715 CCODECVT_CC
716 CMESSAGES_H
717 CLOCALE_H
718 USE_NLS
719 glibcxx_localedir
720 glibcxx_POFILES
721 glibcxx_MOFILES
722 check_msgfmt
723 BASIC_FILE_CC
724 BASIC_FILE_H
725 CSTDIO_H
726 SECTION_FLAGS
727 WERROR
728 thread_header
729 glibcxx_PCHFLAGS
730 GLIBCXX_BUILD_PCH_FALSE
731 GLIBCXX_BUILD_PCH_TRUE
732 GLIBCXX_HOSTED_FALSE
733 GLIBCXX_HOSTED_TRUE
734 glibcxx_compiler_shared_flag
735 glibcxx_compiler_pic_flag
736 glibcxx_lt_pic_flag
737 enable_static
738 enable_shared
739 lt_host_flags
740 CXXCPP
741 OTOOL64
742 OTOOL
743 LIPO
744 NMEDIT
745 DSYMUTIL
746 OBJDUMP
748 ac_ct_DUMPBIN
749 DUMPBIN
751 FGREP
753 LIBTOOL
754 EGREP
755 GREP
757 MAINT
758 MAINTAINER_MODE_FALSE
759 MAINTAINER_MODE_TRUE
760 RANLIB
763 LN_S
764 toplevel_srcdir
765 toplevel_builddir
766 glibcxx_srcdir
767 glibcxx_builddir
768 ac_ct_CXX
769 CXXFLAGS
771 OBJEXT
772 EXEEXT
773 ac_ct_CC
774 CPPFLAGS
775 LDFLAGS
776 CFLAGS
778 am__untar
779 am__tar
780 AMTAR
781 am__leading_dot
782 SET_MAKE
784 mkdir_p
785 MKDIR_P
786 INSTALL_STRIP_PROGRAM
787 STRIP
788 install_sh
789 MAKEINFO
790 AUTOHEADER
791 AUTOMAKE
792 AUTOCONF
793 ACLOCAL
794 VERSION
795 PACKAGE
796 CYGPATH_W
797 am__isrc
798 INSTALL_DATA
799 INSTALL_SCRIPT
800 INSTALL_PROGRAM
801 target_os
802 target_vendor
803 target_cpu
804 target
805 host_os
806 host_vendor
807 host_cpu
808 host
809 build_os
810 build_vendor
811 build_cpu
812 build
813 multi_basedir
814 target_alias
815 host_alias
816 build_alias
817 LIBS
818 ECHO_T
819 ECHO_N
820 ECHO_C
821 DEFS
822 mandir
823 localedir
824 libdir
825 psdir
826 pdfdir
827 dvidir
828 htmldir
829 infodir
830 docdir
831 oldincludedir
832 includedir
833 localstatedir
834 sharedstatedir
835 sysconfdir
836 datadir
837 datarootdir
838 libexecdir
839 sbindir
840 bindir
841 program_transform_name
842 prefix
843 exec_prefix
844 PACKAGE_URL
845 PACKAGE_BUGREPORT
846 PACKAGE_STRING
847 PACKAGE_VERSION
848 PACKAGE_TARNAME
849 PACKAGE_NAME
850 PATH_SEPARATOR
851 SHELL'
852 ac_subst_files=''
853 ac_user_opts='
854 enable_option_checking
855 enable_multilib
856 with_target_subdir
857 with_cross_host
858 with_newlib
859 enable_maintainer_mode
860 enable_shared
861 enable_static
862 with_pic
863 enable_fast_install
864 with_gnu_ld
865 enable_libtool_lock
866 enable_hosted_libstdcxx
867 enable_libstdcxx_verbose
868 enable_libstdcxx_pch
869 enable_cstdio
870 enable_clocale
871 enable_nls
872 enable_libstdcxx_allocator
873 enable_cheaders
874 enable_long_long
875 enable_wchar_t
876 enable_c99
877 enable_concept_checks
878 enable_libstdcxx_debug_flags
879 enable_libstdcxx_debug
880 enable_cxx_flags
881 enable_fully_dynamic_string
882 enable_extern_template
883 with_python_dir
884 enable_werror
885 enable_vtable_verify
886 enable_libstdcxx_time
887 enable_tls
888 enable_rpath
889 with_libiconv_prefix
890 with_system_libunwind
891 enable_linux_futex
892 enable_symvers
893 enable_libstdcxx_visibility
894 enable_libstdcxx_dual_abi
895 with_default_libstdcxx_abi
896 enable_libstdcxx_threads
897 enable_libstdcxx_filesystem_ts
898 with_gxx_include_dir
899 enable_version_specific_runtime_libs
901 ac_precious_vars='build_alias
902 host_alias
903 target_alias
905 CFLAGS
906 LDFLAGS
907 LIBS
908 CPPFLAGS
910 CXXFLAGS
913 CXXCPP
914 CXXFILT'
917 # Initialize some variables set by options.
918 ac_init_help=
919 ac_init_version=false
920 ac_unrecognized_opts=
921 ac_unrecognized_sep=
922 # The variables have the same names as the options, with
923 # dashes changed to underlines.
924 cache_file=/dev/null
925 exec_prefix=NONE
926 no_create=
927 no_recursion=
928 prefix=NONE
929 program_prefix=NONE
930 program_suffix=NONE
931 program_transform_name=s,x,x,
932 silent=
933 site=
934 srcdir=
935 verbose=
936 x_includes=NONE
937 x_libraries=NONE
939 # Installation directory options.
940 # These are left unexpanded so users can "make install exec_prefix=/foo"
941 # and all the variables that are supposed to be based on exec_prefix
942 # by default will actually change.
943 # Use braces instead of parens because sh, perl, etc. also accept them.
944 # (The list follows the same order as the GNU Coding Standards.)
945 bindir='${exec_prefix}/bin'
946 sbindir='${exec_prefix}/sbin'
947 libexecdir='${exec_prefix}/libexec'
948 datarootdir='${prefix}/share'
949 datadir='${datarootdir}'
950 sysconfdir='${prefix}/etc'
951 sharedstatedir='${prefix}/com'
952 localstatedir='${prefix}/var'
953 includedir='${prefix}/include'
954 oldincludedir='/usr/include'
955 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956 infodir='${datarootdir}/info'
957 htmldir='${docdir}'
958 dvidir='${docdir}'
959 pdfdir='${docdir}'
960 psdir='${docdir}'
961 libdir='${exec_prefix}/lib'
962 localedir='${datarootdir}/locale'
963 mandir='${datarootdir}/man'
965 ac_prev=
966 ac_dashdash=
967 for ac_option
969 # If the previous option needs an argument, assign it.
970 if test -n "$ac_prev"; then
971 eval $ac_prev=\$ac_option
972 ac_prev=
973 continue
976 case $ac_option in
977 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978 *) ac_optarg=yes ;;
979 esac
981 # Accept the important Cygnus configure options, so we can diagnose typos.
983 case $ac_dashdash$ac_option in
985 ac_dashdash=yes ;;
987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
988 ac_prev=bindir ;;
989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
990 bindir=$ac_optarg ;;
992 -build | --build | --buil | --bui | --bu)
993 ac_prev=build_alias ;;
994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
995 build_alias=$ac_optarg ;;
997 -cache-file | --cache-file | --cache-fil | --cache-fi \
998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999 ac_prev=cache_file ;;
1000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002 cache_file=$ac_optarg ;;
1004 --config-cache | -C)
1005 cache_file=config.cache ;;
1007 -datadir | --datadir | --datadi | --datad)
1008 ac_prev=datadir ;;
1009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010 datadir=$ac_optarg ;;
1012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013 | --dataroo | --dataro | --datar)
1014 ac_prev=datarootdir ;;
1015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017 datarootdir=$ac_optarg ;;
1019 -disable-* | --disable-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error "invalid feature name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_$ac_useropt"
1029 "*) ;;
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1032 esac
1033 eval enable_$ac_useropt=no ;;
1035 -docdir | --docdir | --docdi | --doc | --do)
1036 ac_prev=docdir ;;
1037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1038 docdir=$ac_optarg ;;
1040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041 ac_prev=dvidir ;;
1042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1043 dvidir=$ac_optarg ;;
1045 -enable-* | --enable-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error "invalid feature name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval enable_$ac_useropt=\$ac_optarg ;;
1061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1063 | --exec | --exe | --ex)
1064 ac_prev=exec_prefix ;;
1065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1067 | --exec=* | --exe=* | --ex=*)
1068 exec_prefix=$ac_optarg ;;
1070 -gas | --gas | --ga | --g)
1071 # Obsolete; use --with-gas.
1072 with_gas=yes ;;
1074 -help | --help | --hel | --he | -h)
1075 ac_init_help=long ;;
1076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1077 ac_init_help=recursive ;;
1078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1079 ac_init_help=short ;;
1081 -host | --host | --hos | --ho)
1082 ac_prev=host_alias ;;
1083 -host=* | --host=* | --hos=* | --ho=*)
1084 host_alias=$ac_optarg ;;
1086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087 ac_prev=htmldir ;;
1088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089 | --ht=*)
1090 htmldir=$ac_optarg ;;
1092 -includedir | --includedir | --includedi | --included | --include \
1093 | --includ | --inclu | --incl | --inc)
1094 ac_prev=includedir ;;
1095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1096 | --includ=* | --inclu=* | --incl=* | --inc=*)
1097 includedir=$ac_optarg ;;
1099 -infodir | --infodir | --infodi | --infod | --info | --inf)
1100 ac_prev=infodir ;;
1101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1102 infodir=$ac_optarg ;;
1104 -libdir | --libdir | --libdi | --libd)
1105 ac_prev=libdir ;;
1106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1107 libdir=$ac_optarg ;;
1109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1110 | --libexe | --libex | --libe)
1111 ac_prev=libexecdir ;;
1112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1113 | --libexe=* | --libex=* | --libe=*)
1114 libexecdir=$ac_optarg ;;
1116 -localedir | --localedir | --localedi | --localed | --locale)
1117 ac_prev=localedir ;;
1118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1119 localedir=$ac_optarg ;;
1121 -localstatedir | --localstatedir | --localstatedi | --localstated \
1122 | --localstate | --localstat | --localsta | --localst | --locals)
1123 ac_prev=localstatedir ;;
1124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1126 localstatedir=$ac_optarg ;;
1128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129 ac_prev=mandir ;;
1130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1131 mandir=$ac_optarg ;;
1133 -nfp | --nfp | --nf)
1134 # Obsolete; use --without-fp.
1135 with_fp=no ;;
1137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1138 | --no-cr | --no-c | -n)
1139 no_create=yes ;;
1141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1143 no_recursion=yes ;;
1145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1147 | --oldin | --oldi | --old | --ol | --o)
1148 ac_prev=oldincludedir ;;
1149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1152 oldincludedir=$ac_optarg ;;
1154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155 ac_prev=prefix ;;
1156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1157 prefix=$ac_optarg ;;
1159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1160 | --program-pre | --program-pr | --program-p)
1161 ac_prev=program_prefix ;;
1162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1164 program_prefix=$ac_optarg ;;
1166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1167 | --program-suf | --program-su | --program-s)
1168 ac_prev=program_suffix ;;
1169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1171 program_suffix=$ac_optarg ;;
1173 -program-transform-name | --program-transform-name \
1174 | --program-transform-nam | --program-transform-na \
1175 | --program-transform-n | --program-transform- \
1176 | --program-transform | --program-transfor \
1177 | --program-transfo | --program-transf \
1178 | --program-trans | --program-tran \
1179 | --progr-tra | --program-tr | --program-t)
1180 ac_prev=program_transform_name ;;
1181 -program-transform-name=* | --program-transform-name=* \
1182 | --program-transform-nam=* | --program-transform-na=* \
1183 | --program-transform-n=* | --program-transform-=* \
1184 | --program-transform=* | --program-transfor=* \
1185 | --program-transfo=* | --program-transf=* \
1186 | --program-trans=* | --program-tran=* \
1187 | --progr-tra=* | --program-tr=* | --program-t=*)
1188 program_transform_name=$ac_optarg ;;
1190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191 ac_prev=pdfdir ;;
1192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1193 pdfdir=$ac_optarg ;;
1195 -psdir | --psdir | --psdi | --psd | --ps)
1196 ac_prev=psdir ;;
1197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1198 psdir=$ac_optarg ;;
1200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201 | -silent | --silent | --silen | --sile | --sil)
1202 silent=yes ;;
1204 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205 ac_prev=sbindir ;;
1206 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207 | --sbi=* | --sb=*)
1208 sbindir=$ac_optarg ;;
1210 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1211 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1212 | --sharedst | --shareds | --shared | --share | --shar \
1213 | --sha | --sh)
1214 ac_prev=sharedstatedir ;;
1215 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1216 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1217 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218 | --sha=* | --sh=*)
1219 sharedstatedir=$ac_optarg ;;
1221 -site | --site | --sit)
1222 ac_prev=site ;;
1223 -site=* | --site=* | --sit=*)
1224 site=$ac_optarg ;;
1226 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227 ac_prev=srcdir ;;
1228 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1229 srcdir=$ac_optarg ;;
1231 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1232 | --syscon | --sysco | --sysc | --sys | --sy)
1233 ac_prev=sysconfdir ;;
1234 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1235 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1236 sysconfdir=$ac_optarg ;;
1238 -target | --target | --targe | --targ | --tar | --ta | --t)
1239 ac_prev=target_alias ;;
1240 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1241 target_alias=$ac_optarg ;;
1243 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1244 verbose=yes ;;
1246 -version | --version | --versio | --versi | --vers | -V)
1247 ac_init_version=: ;;
1249 -with-* | --with-*)
1250 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1253 as_fn_error "invalid package name: $ac_useropt"
1254 ac_useropt_orig=$ac_useropt
1255 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1258 "with_$ac_useropt"
1259 "*) ;;
1260 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep=', ';;
1262 esac
1263 eval with_$ac_useropt=\$ac_optarg ;;
1265 -without-* | --without-*)
1266 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269 as_fn_error "invalid package name: $ac_useropt"
1270 ac_useropt_orig=$ac_useropt
1271 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1274 "with_$ac_useropt"
1275 "*) ;;
1276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277 ac_unrecognized_sep=', ';;
1278 esac
1279 eval with_$ac_useropt=no ;;
1281 --x)
1282 # Obsolete; use --with-x.
1283 with_x=yes ;;
1285 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1286 | --x-incl | --x-inc | --x-in | --x-i)
1287 ac_prev=x_includes ;;
1288 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1289 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1290 x_includes=$ac_optarg ;;
1292 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1293 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1294 ac_prev=x_libraries ;;
1295 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1296 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1297 x_libraries=$ac_optarg ;;
1299 -*) as_fn_error "unrecognized option: \`$ac_option'
1300 Try \`$0 --help' for more information."
1303 *=*)
1304 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 case $ac_envvar in #(
1307 '' | [0-9]* | *[!_$as_cr_alnum]* )
1308 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1309 esac
1310 eval $ac_envvar=\$ac_optarg
1311 export $ac_envvar ;;
1314 # FIXME: should be removed in autoconf 3.0.
1315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1321 esac
1322 done
1324 if test -n "$ac_prev"; then
1325 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1326 as_fn_error "missing argument to $ac_option"
1329 if test -n "$ac_unrecognized_opts"; then
1330 case $enable_option_checking in
1331 no) ;;
1332 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1334 esac
1337 # Check all directory arguments for consistency.
1338 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1343 eval ac_val=\$$ac_var
1344 # Remove trailing slashes.
1345 case $ac_val in
1346 */ )
1347 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\$ac_val;;
1349 esac
1350 # Be sure to have absolute directory names.
1351 case $ac_val in
1352 [\\/$]* | ?:[\\/]* ) continue;;
1353 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1354 esac
1355 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1356 done
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1361 build=$build_alias
1362 host=$host_alias
1363 target=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x; then
1367 if test "x$build_alias" = x; then
1368 cross_compiling=maybe
1369 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1370 If a cross compiler is detected then cross compile mode will be used." >&2
1371 elif test "x$build_alias" != "x$host_alias"; then
1372 cross_compiling=yes
1376 ac_tool_prefix=
1377 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1379 test "$silent" = yes && exec 6>/dev/null
1382 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1383 ac_ls_di=`ls -di .` &&
1384 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1385 as_fn_error "working directory cannot be determined"
1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387 as_fn_error "pwd does not report name of working directory"
1390 # Find the source files, if location was not specified.
1391 if test -z "$srcdir"; then
1392 ac_srcdir_defaulted=yes
1393 # Try the directory containing this script, then the parent directory.
1394 ac_confdir=`$as_dirname -- "$as_myself" ||
1395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1396 X"$as_myself" : 'X\(//\)[^/]' \| \
1397 X"$as_myself" : 'X\(//\)$' \| \
1398 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1399 $as_echo X"$as_myself" |
1400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401 s//\1/
1404 /^X\(\/\/\)[^/].*/{
1405 s//\1/
1408 /^X\(\/\/\)$/{
1409 s//\1/
1412 /^X\(\/\).*/{
1413 s//\1/
1416 s/.*/./; q'`
1417 srcdir=$ac_confdir
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1419 srcdir=..
1421 else
1422 ac_srcdir_defaulted=no
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1426 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1428 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 ac_abs_confdir=`(
1430 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1431 pwd)`
1432 # When building in place, set srcdir=.
1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
1434 srcdir=.
1436 # Remove unnecessary trailing slashes from srcdir.
1437 # Double slashes in file names in object file debugging info
1438 # mess up M-x gdb in Emacs.
1439 case $srcdir in
1440 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 esac
1442 for ac_var in $ac_precious_vars; do
1443 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1444 eval ac_env_${ac_var}_value=\$${ac_var}
1445 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1446 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1447 done
1450 # Report the --help message.
1452 if test "$ac_init_help" = "long"; then
1453 # Omit some internal or obsolete options to make the list less imposing.
1454 # This message is too long to be a string in the A/UX 3.1 sh.
1455 cat <<_ACEOF
1456 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1458 Usage: $0 [OPTION]... [VAR=VALUE]...
1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461 VAR=VALUE. See below for descriptions of some of the useful variables.
1463 Defaults for the options are specified in brackets.
1465 Configuration:
1466 -h, --help display this help and exit
1467 --help=short display options specific to this package
1468 --help=recursive display the short help of all the included packages
1469 -V, --version display version information and exit
1470 -q, --quiet, --silent do not print \`checking...' messages
1471 --cache-file=FILE cache test results in FILE [disabled]
1472 -C, --config-cache alias for \`--cache-file=config.cache'
1473 -n, --no-create do not create output files
1474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1476 Installation directories:
1477 --prefix=PREFIX install architecture-independent files in PREFIX
1478 [$ac_default_prefix]
1479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1480 [PREFIX]
1482 By default, \`make install' will install all the files in
1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485 for instance \`--prefix=\$HOME'.
1487 For better control, use the options below.
1489 Fine tuning of the installation directories:
1490 --bindir=DIR user executables [EPREFIX/bin]
1491 --sbindir=DIR system admin executables [EPREFIX/sbin]
1492 --libexecdir=DIR program executables [EPREFIX/libexec]
1493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1496 --libdir=DIR object code libraries [EPREFIX/lib]
1497 --includedir=DIR C header files [PREFIX/include]
1498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1501 --infodir=DIR info documentation [DATAROOTDIR/info]
1502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1503 --mandir=DIR man documentation [DATAROOTDIR/man]
1504 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1505 --htmldir=DIR html documentation [DOCDIR]
1506 --dvidir=DIR dvi documentation [DOCDIR]
1507 --pdfdir=DIR pdf documentation [DOCDIR]
1508 --psdir=DIR ps documentation [DOCDIR]
1509 _ACEOF
1511 cat <<\_ACEOF
1513 Program names:
1514 --program-prefix=PREFIX prepend PREFIX to installed program names
1515 --program-suffix=SUFFIX append SUFFIX to installed program names
1516 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1518 System types:
1519 --build=BUILD configure for building on BUILD [guessed]
1520 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1521 --target=TARGET configure for building compilers for TARGET [HOST]
1522 _ACEOF
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive ) echo "Configuration of package-unused version-unused:";;
1528 esac
1529 cat <<\_ACEOF
1531 Optional Features:
1532 --disable-option-checking ignore unrecognized --enable/--with options
1533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1535 --enable-multilib build many library versions (default)
1536 --enable-maintainer-mode enable make rules and dependencies not useful
1537 (and sometimes confusing) to the casual installer
1538 --enable-shared[=PKGS] build shared libraries [default=yes]
1539 --enable-static[=PKGS] build static libraries [default=yes]
1540 --enable-fast-install[=PKGS]
1541 optimize for fast installation [default=yes]
1542 --disable-libtool-lock avoid locking (might break parallel builds)
1543 --disable-hosted-libstdcxx
1544 only build freestanding C++ runtime support
1545 --disable-libstdcxx-verbose
1546 disable termination messages to standard error
1547 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1548 [default=$is_hosted]
1549 --enable-cstdio[=PACKAGE]
1550 use target-specific I/O package [default=stdio]
1551 --enable-clocale[=MODEL]
1552 use MODEL for target locale package [default=auto]
1553 --enable-nls use Native Language Support (default)
1554 --enable-libstdcxx-allocator[=KIND]
1555 use KIND for target std::allocator base
1556 [default=auto]
1557 --enable-cheaders[=KIND]
1558 construct "C" headers for g++ [default=$c_model]
1559 --enable-long-long enable template specializations for 'long long'
1560 [default=yes]
1561 --enable-wchar_t enable template specializations for 'wchar_t'
1562 [default=yes]
1563 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1564 --enable-concept-checks use Boost-derived template checks [default=no]
1565 --enable-libstdcxx-debug-flags=FLAGS
1566 pass compiler FLAGS when building debug library
1567 [default="-gdwarf-4 -g3 -O0"]
1568 --enable-libstdcxx-debug
1569 build extra debug library [default=no]
1570 --enable-cxx-flags=FLAGS
1571 pass compiler FLAGS when building library [default=]
1572 --enable-fully-dynamic-string
1573 do not put empty strings in per-process static
1574 memory [default=no]
1575 --enable-extern-template
1576 enable extern template [default=yes]
1577 --enable-werror turns on -Werror [default=yes]
1578 --enable-vtable-verify enable vtable verify [default=no]
1579 --enable-libstdcxx-time[=KIND]
1580 use KIND for check type [default=auto]
1581 --enable-tls Use thread-local storage [default=yes]
1582 --disable-rpath do not hardcode runtime library paths
1583 --enable-linux-futex use the Linux futex system call [default=default]
1584 --enable-symvers[=STYLE]
1585 enables symbol versioning of the shared library
1586 [default=yes]
1587 --enable-libstdcxx-visibility
1588 enables visibility safe usage [default=yes]
1589 --enable-libstdcxx-dual-abi
1590 support two versions of std::string [default=yes]
1591 --enable-libstdcxx-threads
1592 enable C++11 threads support [default=auto]
1593 --enable-libstdcxx-filesystem-ts
1594 turns on ISO/IEC TS 18822 support [default=auto]
1595 --enable-version-specific-runtime-libs
1596 Specify that runtime libraries should be installed
1597 in a compiler-specific directory
1599 Optional Packages:
1600 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1601 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1602 --with-target-subdir=SUBDIR
1603 configuring in a subdirectory
1604 --with-cross-host=HOST configuring with a cross compiler
1605 --with-newlib assume newlib as a system C library
1606 --with-pic try to use only PIC/non-PIC objects [default=use
1607 both]
1608 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1609 --with-python-dir the location to install Python modules. This path is
1610 relative starting from the prefix.
1611 --with-gnu-ld assume the C compiler uses GNU ld default=no
1612 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1613 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1614 --with-system-libunwind use installed libunwind
1615 --with-default-libstdcxx-abi
1616 set the std::string ABI to use by default
1617 --with-gxx-include-dir=DIR
1618 installation directory for include files
1620 Some influential environment variables:
1621 CC C compiler command
1622 CFLAGS C compiler flags
1623 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1624 nonstandard directory <lib dir>
1625 LIBS libraries to pass to the linker, e.g. -l<library>
1626 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1627 you have headers in a nonstandard directory <include dir>
1628 CXX C++ compiler command
1629 CXXFLAGS C++ compiler flags
1630 CPP C preprocessor
1631 CXXCPP C++ preprocessor
1632 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1633 `c++filt', `gc++filt' on PATH.
1635 Use these variables to override the choices made by `configure' or to help
1636 it to find libraries and programs with nonstandard names/locations.
1638 Report bugs to the package provider.
1639 _ACEOF
1640 ac_status=$?
1643 if test "$ac_init_help" = "recursive"; then
1644 # If there are subdirs, report their specific --help.
1645 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1646 test -d "$ac_dir" ||
1647 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1648 continue
1649 ac_builddir=.
1651 case "$ac_dir" in
1652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1655 # A ".." for each directory in $ac_dir_suffix.
1656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1657 case $ac_top_builddir_sub in
1658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1660 esac ;;
1661 esac
1662 ac_abs_top_builddir=$ac_pwd
1663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1664 # for backward compatibility:
1665 ac_top_builddir=$ac_top_build_prefix
1667 case $srcdir in
1668 .) # We are building in place.
1669 ac_srcdir=.
1670 ac_top_srcdir=$ac_top_builddir_sub
1671 ac_abs_top_srcdir=$ac_pwd ;;
1672 [\\/]* | ?:[\\/]* ) # Absolute name.
1673 ac_srcdir=$srcdir$ac_dir_suffix;
1674 ac_top_srcdir=$srcdir
1675 ac_abs_top_srcdir=$srcdir ;;
1676 *) # Relative name.
1677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1678 ac_top_srcdir=$ac_top_build_prefix$srcdir
1679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 esac
1681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1683 cd "$ac_dir" || { ac_status=$?; continue; }
1684 # Check for guested configure.
1685 if test -f "$ac_srcdir/configure.gnu"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1688 elif test -f "$ac_srcdir/configure"; then
1689 echo &&
1690 $SHELL "$ac_srcdir/configure" --help=recursive
1691 else
1692 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 fi || ac_status=$?
1694 cd "$ac_pwd" || { ac_status=$?; break; }
1695 done
1698 test -n "$ac_init_help" && exit $ac_status
1699 if $ac_init_version; then
1700 cat <<\_ACEOF
1701 package-unused configure version-unused
1702 generated by GNU Autoconf 2.64
1704 Copyright (C) 2009 Free Software Foundation, Inc.
1705 This configure script is free software; the Free Software Foundation
1706 gives unlimited permission to copy, distribute and modify it.
1707 _ACEOF
1708 exit
1711 ## ------------------------ ##
1712 ## Autoconf initialization. ##
1713 ## ------------------------ ##
1715 # ac_fn_c_try_compile LINENO
1716 # --------------------------
1717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext
1722 if { { ac_try="$ac_compile"
1723 case "(($ac_try" in
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1730 ac_status=$?
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.$ac_objext; then :
1741 ac_retval=0
1742 else
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1746 ac_retval=1
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1749 return $ac_retval
1751 } # ac_fn_c_try_compile
1753 # ac_fn_cxx_try_compile LINENO
1754 # ----------------------------
1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_cxx_try_compile ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 rm -f conftest.$ac_objext
1760 if { { ac_try="$ac_compile"
1761 case "(($ac_try" in
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1764 esac
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_compile") 2>conftest.err
1768 ac_status=$?
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_cxx_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest.$ac_objext; then :
1779 ac_retval=0
1780 else
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1784 ac_retval=1
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1787 return $ac_retval
1789 } # ac_fn_cxx_try_compile
1791 # ac_fn_c_try_cpp LINENO
1792 # ----------------------
1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_c_try_cpp ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 if { { ac_try="$ac_cpp conftest.$ac_ext"
1798 case "(($ac_try" in
1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800 *) ac_try_echo=$ac_try;;
1801 esac
1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1805 ac_status=$?
1806 if test -s conftest.err; then
1807 grep -v '^ *+' conftest.err >conftest.er1
1808 cat conftest.er1 >&5
1809 mv -f conftest.er1 conftest.err
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } >/dev/null && {
1813 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1814 test ! -s conftest.err
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=1
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824 return $ac_retval
1826 } # ac_fn_c_try_cpp
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_link ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1836 case "(($ac_try" in
1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1839 esac
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1843 ac_status=$?
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 $as_test_x conftest$ac_exeext
1856 }; then :
1857 ac_retval=0
1858 else
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1862 ac_retval=1
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1870 return $ac_retval
1872 } # ac_fn_c_try_link
1874 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1875 # -------------------------------------------------------
1876 # Tests whether HEADER exists and can be compiled using the include files in
1877 # INCLUDES, setting the cache variable VAR accordingly.
1878 ac_fn_c_check_header_compile ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1884 $as_echo_n "(cached) " >&6
1885 else
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1889 #include <$2>
1890 _ACEOF
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892 eval "$3=yes"
1893 else
1894 eval "$3=no"
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 eval ac_res=\$$3
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 } # ac_fn_c_check_header_compile
1905 # ac_fn_c_try_run LINENO
1906 # ----------------------
1907 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1908 # that executables *can* be run.
1909 ac_fn_c_try_run ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 if { { ac_try="$ac_link"
1913 case "(($ac_try" in
1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915 *) ac_try_echo=$ac_try;;
1916 esac
1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919 (eval "$ac_link") 2>&5
1920 ac_status=$?
1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1923 { { case "(($ac_try" in
1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_try") 2>&5
1930 ac_status=$?
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; }; }; then :
1933 ac_retval=0
1934 else
1935 $as_echo "$as_me: program exited with status $ac_status" >&5
1936 $as_echo "$as_me: failed program was:" >&5
1937 sed 's/^/| /' conftest.$ac_ext >&5
1939 ac_retval=$ac_status
1941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1942 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1943 return $ac_retval
1945 } # ac_fn_c_try_run
1947 # ac_fn_c_check_func LINENO FUNC VAR
1948 # ----------------------------------
1949 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1950 ac_fn_c_check_func ()
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1955 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1956 $as_echo_n "(cached) " >&6
1957 else
1958 if test x$gcc_no_link = xyes; then
1959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1963 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1965 #define $2 innocuous_$2
1967 /* System header to define __stub macros and hopefully few prototypes,
1968 which can conflict with char $2 (); below.
1969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1970 <limits.h> exists even on freestanding compilers. */
1972 #ifdef __STDC__
1973 # include <limits.h>
1974 #else
1975 # include <assert.h>
1976 #endif
1978 #undef $2
1980 /* Override any GCC internal prototype to avoid an error.
1981 Use char because int might match the return type of a GCC
1982 builtin and then its argument prototype would still apply. */
1983 #ifdef __cplusplus
1984 extern "C"
1985 #endif
1986 char $2 ();
1987 /* The GNU C library defines this for functions which it implements
1988 to always fail with ENOSYS. Some functions are actually named
1989 something starting with __ and the normal name is an alias. */
1990 #if defined __stub_$2 || defined __stub___$2
1991 choke me
1992 #endif
1995 main ()
1997 return $2 ();
1999 return 0;
2001 _ACEOF
2002 if ac_fn_c_try_link "$LINENO"; then :
2003 eval "$3=yes"
2004 else
2005 eval "$3=no"
2007 rm -f core conftest.err conftest.$ac_objext \
2008 conftest$ac_exeext conftest.$ac_ext
2010 eval ac_res=\$$3
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015 } # ac_fn_c_check_func
2017 # ac_fn_cxx_try_cpp LINENO
2018 # ------------------------
2019 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2020 ac_fn_cxx_try_cpp ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 if { { ac_try="$ac_cpp conftest.$ac_ext"
2024 case "(($ac_try" in
2025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2027 esac
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2031 ac_status=$?
2032 if test -s conftest.err; then
2033 grep -v '^ *+' conftest.err >conftest.er1
2034 cat conftest.er1 >&5
2035 mv -f conftest.er1 conftest.err
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; } >/dev/null && {
2039 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2040 test ! -s conftest.err
2041 }; then :
2042 ac_retval=0
2043 else
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2047 ac_retval=1
2049 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2050 return $ac_retval
2052 } # ac_fn_cxx_try_cpp
2054 # ac_fn_cxx_try_link LINENO
2055 # -------------------------
2056 # Try to link conftest.$ac_ext, and return whether this succeeded.
2057 ac_fn_cxx_try_link ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 rm -f conftest.$ac_objext conftest$ac_exeext
2061 if { { ac_try="$ac_link"
2062 case "(($ac_try" in
2063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2064 *) ac_try_echo=$ac_try;;
2065 esac
2066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2067 $as_echo "$ac_try_echo"; } >&5
2068 (eval "$ac_link") 2>conftest.err
2069 ac_status=$?
2070 if test -s conftest.err; then
2071 grep -v '^ *+' conftest.err >conftest.er1
2072 cat conftest.er1 >&5
2073 mv -f conftest.er1 conftest.err
2075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076 test $ac_status = 0; } && {
2077 test -z "$ac_cxx_werror_flag" ||
2078 test ! -s conftest.err
2079 } && test -s conftest$ac_exeext && {
2080 test "$cross_compiling" = yes ||
2081 $as_test_x conftest$ac_exeext
2082 }; then :
2083 ac_retval=0
2084 else
2085 $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.$ac_ext >&5
2088 ac_retval=1
2090 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2091 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2092 # interfere with the next link command; also delete a directory that is
2093 # left behind by Apple's compiler. We do this before executing the actions.
2094 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2095 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096 return $ac_retval
2098 } # ac_fn_cxx_try_link
2100 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2101 # -------------------------------------------------------
2102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2103 # the include files in INCLUDES and setting the cache variable VAR
2104 # accordingly.
2105 ac_fn_c_check_header_mongrel ()
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2112 $as_echo_n "(cached) " >&6
2114 eval ac_res=\$$3
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2117 else
2118 # Is the header compilable?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2120 $as_echo_n "checking $2 usability... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2124 #include <$2>
2125 _ACEOF
2126 if ac_fn_c_try_compile "$LINENO"; then :
2127 ac_header_compiler=yes
2128 else
2129 ac_header_compiler=no
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2133 $as_echo "$ac_header_compiler" >&6; }
2135 # Is the header present?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2137 $as_echo_n "checking $2 presence... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2140 #include <$2>
2141 _ACEOF
2142 if ac_fn_c_try_cpp "$LINENO"; then :
2143 ac_header_preproc=yes
2144 else
2145 ac_header_preproc=no
2147 rm -f conftest.err conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2149 $as_echo "$ac_header_preproc" >&6; }
2151 # So? What about this header?
2152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2153 yes:no: )
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159 no:yes:* )
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2163 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2167 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2171 esac
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2176 else
2177 eval "$3=\$ac_header_compiler"
2179 eval ac_res=\$$3
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181 $as_echo "$ac_res" >&6; }
2183 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2185 } # ac_fn_c_check_header_mongrel
2187 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2188 # ---------------------------------------------------------
2189 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2190 # the include files in INCLUDES and setting the cache variable VAR
2191 # accordingly.
2192 ac_fn_cxx_check_header_mongrel ()
2194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2197 $as_echo_n "checking for $2... " >&6; }
2198 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2199 $as_echo_n "(cached) " >&6
2201 eval ac_res=\$$3
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2203 $as_echo "$ac_res" >&6; }
2204 else
2205 # Is the header compilable?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2207 $as_echo_n "checking $2 usability... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2211 #include <$2>
2212 _ACEOF
2213 if ac_fn_cxx_try_compile "$LINENO"; then :
2214 ac_header_compiler=yes
2215 else
2216 ac_header_compiler=no
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2220 $as_echo "$ac_header_compiler" >&6; }
2222 # Is the header present?
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2224 $as_echo_n "checking $2 presence... " >&6; }
2225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2226 /* end confdefs.h. */
2227 #include <$2>
2228 _ACEOF
2229 if ac_fn_cxx_try_cpp "$LINENO"; then :
2230 ac_header_preproc=yes
2231 else
2232 ac_header_preproc=no
2234 rm -f conftest.err conftest.$ac_ext
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2236 $as_echo "$ac_header_preproc" >&6; }
2238 # So? What about this header?
2239 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2240 yes:no: )
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2242 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2246 no:yes:* )
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2248 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2250 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2252 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2254 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2256 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2258 esac
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2260 $as_echo_n "checking for $2... " >&6; }
2261 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2262 $as_echo_n "(cached) " >&6
2263 else
2264 eval "$3=\$ac_header_compiler"
2266 eval ac_res=\$$3
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2270 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2272 } # ac_fn_cxx_check_header_mongrel
2274 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2275 # --------------------------------------------
2276 # Tries to find the compile-time value of EXPR in a program that includes
2277 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2278 # computed
2279 ac_fn_c_compute_int ()
2281 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2282 if test "$cross_compiling" = yes; then
2283 # Depending upon the size, compute the lo and hi bounds.
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2288 main ()
2290 static int test_array [1 - 2 * !(($2) >= 0)];
2291 test_array [0] = 0
2294 return 0;
2296 _ACEOF
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 ac_lo=0 ac_mid=0
2299 while :; do
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2304 main ()
2306 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2307 test_array [0] = 0
2310 return 0;
2312 _ACEOF
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_hi=$ac_mid; break
2315 else
2316 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2317 if test $ac_lo -le $ac_mid; then
2318 ac_lo= ac_hi=
2319 break
2321 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 done
2325 else
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2330 main ()
2332 static int test_array [1 - 2 * !(($2) < 0)];
2333 test_array [0] = 0
2336 return 0;
2338 _ACEOF
2339 if ac_fn_c_try_compile "$LINENO"; then :
2340 ac_hi=-1 ac_mid=-1
2341 while :; do
2342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2343 /* end confdefs.h. */
2346 main ()
2348 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2349 test_array [0] = 0
2352 return 0;
2354 _ACEOF
2355 if ac_fn_c_try_compile "$LINENO"; then :
2356 ac_lo=$ac_mid; break
2357 else
2358 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2359 if test $ac_mid -le $ac_hi; then
2360 ac_lo= ac_hi=
2361 break
2363 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 done
2367 else
2368 ac_lo= ac_hi=
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2373 # Binary search between lo and hi bounds.
2374 while test "x$ac_lo" != "x$ac_hi"; do
2375 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2380 main ()
2382 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2383 test_array [0] = 0
2386 return 0;
2388 _ACEOF
2389 if ac_fn_c_try_compile "$LINENO"; then :
2390 ac_hi=$ac_mid
2391 else
2392 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2395 done
2396 case $ac_lo in #((
2397 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2398 '') ac_retval=1 ;;
2399 esac
2400 else
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2404 static long int longval () { return $2; }
2405 static unsigned long int ulongval () { return $2; }
2406 #include <stdio.h>
2407 #include <stdlib.h>
2409 main ()
2412 FILE *f = fopen ("conftest.val", "w");
2413 if (! f)
2414 return 1;
2415 if (($2) < 0)
2417 long int i = longval ();
2418 if (i != ($2))
2419 return 1;
2420 fprintf (f, "%ld", i);
2422 else
2424 unsigned long int i = ulongval ();
2425 if (i != ($2))
2426 return 1;
2427 fprintf (f, "%lu", i);
2429 /* Do not output a trailing newline, as this causes \r\n confusion
2430 on some platforms. */
2431 return ferror (f) || fclose (f) != 0;
2434 return 0;
2436 _ACEOF
2437 if ac_fn_c_try_run "$LINENO"; then :
2438 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2439 else
2440 ac_retval=1
2442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2443 conftest.$ac_objext conftest.beam conftest.$ac_ext
2444 rm -f conftest.val
2447 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2448 return $ac_retval
2450 } # ac_fn_c_compute_int
2452 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2453 # -------------------------------------------
2454 # Tests whether TYPE exists after having included INCLUDES, setting cache
2455 # variable VAR accordingly.
2456 ac_fn_c_check_type ()
2458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2460 $as_echo_n "checking for $2... " >&6; }
2461 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2462 $as_echo_n "(cached) " >&6
2463 else
2464 eval "$3=no"
2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2469 main ()
2471 if (sizeof ($2))
2472 return 0;
2474 return 0;
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2482 main ()
2484 if (sizeof (($2)))
2485 return 0;
2487 return 0;
2489 _ACEOF
2490 if ac_fn_c_try_compile "$LINENO"; then :
2492 else
2493 eval "$3=yes"
2495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2499 eval ac_res=\$$3
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2501 $as_echo "$ac_res" >&6; }
2502 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2504 } # ac_fn_c_check_type
2506 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2507 # ---------------------------------------------
2508 # Tests whether TYPE exists after having included INCLUDES, setting cache
2509 # variable VAR accordingly.
2510 ac_fn_cxx_check_type ()
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2514 $as_echo_n "checking for $2... " >&6; }
2515 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2516 $as_echo_n "(cached) " >&6
2517 else
2518 eval "$3=no"
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2523 main ()
2525 if (sizeof ($2))
2526 return 0;
2528 return 0;
2530 _ACEOF
2531 if ac_fn_cxx_try_compile "$LINENO"; then :
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2536 main ()
2538 if (sizeof (($2)))
2539 return 0;
2541 return 0;
2543 _ACEOF
2544 if ac_fn_cxx_try_compile "$LINENO"; then :
2546 else
2547 eval "$3=yes"
2549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553 eval ac_res=\$$3
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2555 $as_echo "$ac_res" >&6; }
2556 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2558 } # ac_fn_cxx_check_type
2559 cat >config.log <<_ACEOF
2560 This file contains any messages produced by compilers while
2561 running configure, to aid debugging if configure makes a mistake.
2563 It was created by package-unused $as_me version-unused, which was
2564 generated by GNU Autoconf 2.64. Invocation command line was
2566 $ $0 $@
2568 _ACEOF
2569 exec 5>>config.log
2571 cat <<_ASUNAME
2572 ## --------- ##
2573 ## Platform. ##
2574 ## --------- ##
2576 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2577 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2578 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2579 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2580 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2582 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2583 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2585 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2586 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2587 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2588 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2589 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2590 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2591 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2593 _ASUNAME
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 for as_dir in $PATH
2598 IFS=$as_save_IFS
2599 test -z "$as_dir" && as_dir=.
2600 $as_echo "PATH: $as_dir"
2601 done
2602 IFS=$as_save_IFS
2604 } >&5
2606 cat >&5 <<_ACEOF
2609 ## ----------- ##
2610 ## Core tests. ##
2611 ## ----------- ##
2613 _ACEOF
2616 # Keep a trace of the command line.
2617 # Strip out --no-create and --no-recursion so they do not pile up.
2618 # Strip out --silent because we don't want to record it for future runs.
2619 # Also quote any args containing shell meta-characters.
2620 # Make two passes to allow for proper duplicate-argument suppression.
2621 ac_configure_args=
2622 ac_configure_args0=
2623 ac_configure_args1=
2624 ac_must_keep_next=false
2625 for ac_pass in 1 2
2627 for ac_arg
2629 case $ac_arg in
2630 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2631 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2632 | -silent | --silent | --silen | --sile | --sil)
2633 continue ;;
2634 *\'*)
2635 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2636 esac
2637 case $ac_pass in
2638 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2640 as_fn_append ac_configure_args1 " '$ac_arg'"
2641 if test $ac_must_keep_next = true; then
2642 ac_must_keep_next=false # Got value, back to normal.
2643 else
2644 case $ac_arg in
2645 *=* | --config-cache | -C | -disable-* | --disable-* \
2646 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2647 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2648 | -with-* | --with-* | -without-* | --without-* | --x)
2649 case "$ac_configure_args0 " in
2650 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2651 esac
2653 -* ) ac_must_keep_next=true ;;
2654 esac
2656 as_fn_append ac_configure_args " '$ac_arg'"
2658 esac
2659 done
2660 done
2661 { ac_configure_args0=; unset ac_configure_args0;}
2662 { ac_configure_args1=; unset ac_configure_args1;}
2664 # When interrupted or exit'd, cleanup temporary files, and complete
2665 # config.log. We remove comments because anyway the quotes in there
2666 # would cause problems or look ugly.
2667 # WARNING: Use '\'' to represent an apostrophe within the trap.
2668 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2669 trap 'exit_status=$?
2670 # Save into config.log some information that might help in debugging.
2672 echo
2674 cat <<\_ASBOX
2675 ## ---------------- ##
2676 ## Cache variables. ##
2677 ## ---------------- ##
2678 _ASBOX
2679 echo
2680 # The following way of writing the cache mishandles newlines in values,
2682 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2683 eval ac_val=\$$ac_var
2684 case $ac_val in #(
2685 *${as_nl}*)
2686 case $ac_var in #(
2687 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2688 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2689 esac
2690 case $ac_var in #(
2691 _ | IFS | as_nl) ;; #(
2692 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2693 *) { eval $ac_var=; unset $ac_var;} ;;
2694 esac ;;
2695 esac
2696 done
2697 (set) 2>&1 |
2698 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2699 *${as_nl}ac_space=\ *)
2700 sed -n \
2701 "s/'\''/'\''\\\\'\'''\''/g;
2702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2703 ;; #(
2705 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2707 esac |
2708 sort
2710 echo
2712 cat <<\_ASBOX
2713 ## ----------------- ##
2714 ## Output variables. ##
2715 ## ----------------- ##
2716 _ASBOX
2717 echo
2718 for ac_var in $ac_subst_vars
2720 eval ac_val=\$$ac_var
2721 case $ac_val in
2722 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2723 esac
2724 $as_echo "$ac_var='\''$ac_val'\''"
2725 done | sort
2726 echo
2728 if test -n "$ac_subst_files"; then
2729 cat <<\_ASBOX
2730 ## ------------------- ##
2731 ## File substitutions. ##
2732 ## ------------------- ##
2733 _ASBOX
2734 echo
2735 for ac_var in $ac_subst_files
2737 eval ac_val=\$$ac_var
2738 case $ac_val in
2739 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2740 esac
2741 $as_echo "$ac_var='\''$ac_val'\''"
2742 done | sort
2743 echo
2746 if test -s confdefs.h; then
2747 cat <<\_ASBOX
2748 ## ----------- ##
2749 ## confdefs.h. ##
2750 ## ----------- ##
2751 _ASBOX
2752 echo
2753 cat confdefs.h
2754 echo
2756 test "$ac_signal" != 0 &&
2757 $as_echo "$as_me: caught signal $ac_signal"
2758 $as_echo "$as_me: exit $exit_status"
2759 } >&5
2760 rm -f core *.core core.conftest.* &&
2761 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2762 exit $exit_status
2764 for ac_signal in 1 2 13 15; do
2765 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2766 done
2767 ac_signal=0
2769 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2770 rm -f -r conftest* confdefs.h
2772 $as_echo "/* confdefs.h */" > confdefs.h
2774 # Predefined preprocessor variables.
2776 cat >>confdefs.h <<_ACEOF
2777 #define PACKAGE_NAME "$PACKAGE_NAME"
2778 _ACEOF
2780 cat >>confdefs.h <<_ACEOF
2781 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2782 _ACEOF
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2786 _ACEOF
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_STRING "$PACKAGE_STRING"
2790 _ACEOF
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2794 _ACEOF
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE_URL "$PACKAGE_URL"
2798 _ACEOF
2801 # Let the site file select an alternate cache file if it wants to.
2802 # Prefer an explicitly selected file to automatically selected ones.
2803 ac_site_file1=NONE
2804 ac_site_file2=NONE
2805 if test -n "$CONFIG_SITE"; then
2806 ac_site_file1=$CONFIG_SITE
2807 elif test "x$prefix" != xNONE; then
2808 ac_site_file1=$prefix/share/config.site
2809 ac_site_file2=$prefix/etc/config.site
2810 else
2811 ac_site_file1=$ac_default_prefix/share/config.site
2812 ac_site_file2=$ac_default_prefix/etc/config.site
2814 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2816 test "x$ac_site_file" = xNONE && continue
2817 if test -r "$ac_site_file"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2819 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2820 sed 's/^/| /' "$ac_site_file" >&5
2821 . "$ac_site_file"
2823 done
2825 if test -r "$cache_file"; then
2826 # Some versions of bash will fail to source /dev/null (special
2827 # files actually), so we avoid doing that.
2828 if test -f "$cache_file"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2830 $as_echo "$as_me: loading cache $cache_file" >&6;}
2831 case $cache_file in
2832 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2833 *) . "./$cache_file";;
2834 esac
2836 else
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2838 $as_echo "$as_me: creating cache $cache_file" >&6;}
2839 >$cache_file
2842 # Check that the precious variables saved in the cache have kept the same
2843 # value.
2844 ac_cache_corrupted=false
2845 for ac_var in $ac_precious_vars; do
2846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2847 eval ac_new_set=\$ac_env_${ac_var}_set
2848 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2849 eval ac_new_val=\$ac_env_${ac_var}_value
2850 case $ac_old_set,$ac_new_set in
2851 set,)
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2853 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2854 ac_cache_corrupted=: ;;
2855 ,set)
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2857 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2858 ac_cache_corrupted=: ;;
2859 ,);;
2861 if test "x$ac_old_val" != "x$ac_new_val"; then
2862 # differences in whitespace do not lead to failure.
2863 ac_old_val_w=`echo x $ac_old_val`
2864 ac_new_val_w=`echo x $ac_new_val`
2865 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2867 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2868 ac_cache_corrupted=:
2869 else
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2871 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2872 eval $ac_var=\$ac_old_val
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2875 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2877 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2878 fi;;
2879 esac
2880 # Pass precious variables to config.status.
2881 if test "$ac_new_set" = set; then
2882 case $ac_new_val in
2883 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2884 *) ac_arg=$ac_var=$ac_new_val ;;
2885 esac
2886 case " $ac_configure_args " in
2887 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2888 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2889 esac
2891 done
2892 if $ac_cache_corrupted; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2896 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2897 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2899 ## -------------------- ##
2900 ## Main body of script. ##
2901 ## -------------------- ##
2903 ac_ext=c
2904 ac_cpp='$CPP $CPPFLAGS'
2905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2914 ac_config_headers="$ac_config_headers config.h"
2917 # This works around the fact that libtool configuration may change LD
2918 # for this particular configuration, but some shells, instead of
2919 # keeping the changes in LD private, export them just because LD is
2920 # exported. Only used at the end of this file.
2921 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2923 # Find the rest of the source tree framework.
2924 # Default to --enable-multilib
2925 # Check whether --enable-multilib was given.
2926 if test "${enable_multilib+set}" = set; then :
2927 enableval=$enable_multilib; case "$enableval" in
2928 yes) multilib=yes ;;
2929 no) multilib=no ;;
2930 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2931 esac
2932 else
2933 multilib=yes
2937 # We may get other options which we leave undocumented:
2938 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2939 # See config-ml.in if you want the gory details.
2941 if test "$srcdir" = "."; then
2942 if test "$with_target_subdir" != "."; then
2943 multi_basedir="$srcdir/$with_multisrctop../.."
2944 else
2945 multi_basedir="$srcdir/$with_multisrctop.."
2947 else
2948 multi_basedir="$srcdir/.."
2952 # Even if the default multilib is not a cross compilation,
2953 # it may be that some of the other multilibs are.
2954 if test $cross_compiling = no && test $multilib = yes \
2955 && test "x${with_multisubdir}" != x ; then
2956 cross_compiling=maybe
2959 ac_config_commands="$ac_config_commands default-1"
2962 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2964 # You will slowly go insane if you do not grok the following fact: when
2965 # building v3 as part of the compiler, the top-level /target/ becomes the
2966 # library's /host/. configure then causes --target to default to --host,
2967 # exactly like any other package using autoconf. Therefore, 'target' and
2968 # 'host' will always be the same. This makes sense both for native and
2969 # cross compilers, just think about it for a little while. :-)
2971 # Also, if v3 is being configured as part of a cross compiler, the top-level
2972 # configure script will pass the "real" host as $with_cross_host.
2974 # Do not delete or change the following two lines. For why, see
2975 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2976 ac_aux_dir=
2977 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2978 for ac_t in install-sh install.sh shtool; do
2979 if test -f "$ac_dir/$ac_t"; then
2980 ac_aux_dir=$ac_dir
2981 ac_install_sh="$ac_aux_dir/$ac_t -c"
2982 break 2
2984 done
2985 done
2986 if test -z "$ac_aux_dir"; then
2987 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2990 # These three variables are undocumented and unsupported,
2991 # and are intended to be withdrawn in a future Autoconf release.
2992 # They can cause serious problems if a builder's source tree is in a directory
2993 # whose full name contains unusual characters.
2994 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2995 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2996 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2999 # Make sure we can run config.sub.
3000 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3001 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3004 $as_echo_n "checking build system type... " >&6; }
3005 if test "${ac_cv_build+set}" = set; then :
3006 $as_echo_n "(cached) " >&6
3007 else
3008 ac_build_alias=$build_alias
3009 test "x$ac_build_alias" = x &&
3010 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3011 test "x$ac_build_alias" = x &&
3012 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3013 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3014 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3018 $as_echo "$ac_cv_build" >&6; }
3019 case $ac_cv_build in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3022 esac
3023 build=$ac_cv_build
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_build
3026 shift
3027 build_cpu=$1
3028 build_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 build_os=$*
3033 IFS=$ac_save_IFS
3034 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3038 $as_echo_n "checking host system type... " >&6; }
3039 if test "${ac_cv_host+set}" = set; then :
3040 $as_echo_n "(cached) " >&6
3041 else
3042 if test "x$host_alias" = x; then
3043 ac_cv_host=$ac_cv_build
3044 else
3045 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3046 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3051 $as_echo "$ac_cv_host" >&6; }
3052 case $ac_cv_host in
3053 *-*-*) ;;
3054 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3055 esac
3056 host=$ac_cv_host
3057 ac_save_IFS=$IFS; IFS='-'
3058 set x $ac_cv_host
3059 shift
3060 host_cpu=$1
3061 host_vendor=$2
3062 shift; shift
3063 # Remember, the first character of IFS is used to create $*,
3064 # except with old shells:
3065 host_os=$*
3066 IFS=$ac_save_IFS
3067 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3071 $as_echo_n "checking target system type... " >&6; }
3072 if test "${ac_cv_target+set}" = set; then :
3073 $as_echo_n "(cached) " >&6
3074 else
3075 if test "x$target_alias" = x; then
3076 ac_cv_target=$ac_cv_host
3077 else
3078 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3079 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3084 $as_echo "$ac_cv_target" >&6; }
3085 case $ac_cv_target in
3086 *-*-*) ;;
3087 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3088 esac
3089 target=$ac_cv_target
3090 ac_save_IFS=$IFS; IFS='-'
3091 set x $ac_cv_target
3092 shift
3093 target_cpu=$1
3094 target_vendor=$2
3095 shift; shift
3096 # Remember, the first character of IFS is used to create $*,
3097 # except with old shells:
3098 target_os=$*
3099 IFS=$ac_save_IFS
3100 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3103 # The aliases save the names the user supplied, while $host etc.
3104 # will get canonicalized.
3105 test -n "$target_alias" &&
3106 test "$program_prefix$program_suffix$program_transform_name" = \
3107 NONENONEs,x,x, &&
3108 program_prefix=${target_alias}-
3110 target_alias=${target_alias-$host_alias}
3112 # Handy for debugging:
3113 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3115 if test "$build" != "$host"; then
3116 # We are being configured with some form of cross compiler.
3117 GLIBCXX_IS_NATIVE=false
3118 case "$host","$target" in
3119 # Darwin crosses can use the host system's libraries and headers,
3120 # because of the fat library support. Of course, it must be the
3121 # same version of Darwin on both sides. Allow the user to
3122 # just say --target=foo-darwin without a version number to mean
3123 # "the version on this system".
3124 *-*-darwin*,*-*-darwin*)
3125 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3126 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3127 if test $hostos = $targetos -o $targetos = darwin ; then
3128 GLIBCXX_IS_NATIVE=true
3135 esac
3136 else
3137 GLIBCXX_IS_NATIVE=true
3140 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3141 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3142 # 1.x: minimum required version
3143 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3144 # of other PACKAGE_* variables will, however, and there's nothing
3145 # we can do about that; they come from AC_INIT).
3146 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3147 # file in the top srcdir, etc, etc), so stop complaining.
3148 # no-dependencies: turns off auto dependency generation (just for now)
3149 # no-dist: we don't want 'dist' and related rules.
3150 # -Wall: turns on all automake warnings...
3151 # -Wno-portability: ...except this one, since GNU make is now required.
3152 am__api_version='1.11'
3154 # Find a good install program. We prefer a C program (faster),
3155 # so one script is as good as another. But avoid the broken or
3156 # incompatible versions:
3157 # SysV /etc/install, /usr/sbin/install
3158 # SunOS /usr/etc/install
3159 # IRIX /sbin/install
3160 # AIX /bin/install
3161 # AmigaOS /C/install, which installs bootblocks on floppy discs
3162 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3163 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3164 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3165 # OS/2's system install, which has a completely different semantic
3166 # ./install, which can be erroneously created by make from ./install.sh.
3167 # Reject install programs that cannot install multiple files.
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3169 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3170 if test -z "$INSTALL"; then
3171 if test "${ac_cv_path_install+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3173 else
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3177 IFS=$as_save_IFS
3178 test -z "$as_dir" && as_dir=.
3179 # Account for people who put trailing slashes in PATH elements.
3180 case $as_dir/ in #((
3181 ./ | .// | /[cC]/* | \
3182 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3183 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3184 /usr/ucb/* ) ;;
3186 # OSF1 and SCO ODT 3.0 have their own names for install.
3187 # Don't use installbsd from OSF since it installs stuff as root
3188 # by default.
3189 for ac_prog in ginstall scoinst install; do
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3192 if test $ac_prog = install &&
3193 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3194 # AIX install. It has an incompatible calling convention.
3196 elif test $ac_prog = install &&
3197 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3198 # program-specific install script used by HP pwplus--don't use.
3200 else
3201 rm -rf conftest.one conftest.two conftest.dir
3202 echo one > conftest.one
3203 echo two > conftest.two
3204 mkdir conftest.dir
3205 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3206 test -s conftest.one && test -s conftest.two &&
3207 test -s conftest.dir/conftest.one &&
3208 test -s conftest.dir/conftest.two
3209 then
3210 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3211 break 3
3215 done
3216 done
3218 esac
3220 done
3221 IFS=$as_save_IFS
3223 rm -rf conftest.one conftest.two conftest.dir
3226 if test "${ac_cv_path_install+set}" = set; then
3227 INSTALL=$ac_cv_path_install
3228 else
3229 # As a last resort, use the slow shell script. Don't cache a
3230 # value for INSTALL within a source directory, because that will
3231 # break other packages using the cache if that directory is
3232 # removed, or if the value is a relative name.
3233 INSTALL=$ac_install_sh
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3237 $as_echo "$INSTALL" >&6; }
3239 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3240 # It thinks the first close brace ends the variable substitution.
3241 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3243 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3245 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3248 $as_echo_n "checking whether build environment is sane... " >&6; }
3249 # Just in case
3250 sleep 1
3251 echo timestamp > conftest.file
3252 # Reject unsafe characters in $srcdir or the absolute working directory
3253 # name. Accept space and tab only in the latter.
3254 am_lf='
3256 case `pwd` in
3257 *[\\\"\#\$\&\'\`$am_lf]*)
3258 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3259 esac
3260 case $srcdir in
3261 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3262 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3263 esac
3265 # Do `set' in a subshell so we don't clobber the current shell's
3266 # arguments. Must try -L first in case configure is actually a
3267 # symlink; some systems play weird games with the mod time of symlinks
3268 # (eg FreeBSD returns the mod time of the symlink's containing
3269 # directory).
3270 if (
3271 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3272 if test "$*" = "X"; then
3273 # -L didn't work.
3274 set X `ls -t "$srcdir/configure" conftest.file`
3276 rm -f conftest.file
3277 if test "$*" != "X $srcdir/configure conftest.file" \
3278 && test "$*" != "X conftest.file $srcdir/configure"; then
3280 # If neither matched, then we have a broken ls. This can happen
3281 # if, for instance, CONFIG_SHELL is bash and it inherits a
3282 # broken ls alias from the environment. This has actually
3283 # happened. Such a system could not be considered "sane".
3284 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3285 alias in your environment" "$LINENO" 5
3288 test "$2" = conftest.file
3290 then
3291 # Ok.
3293 else
3294 as_fn_error "newly created file is older than distributed files!
3295 Check your system clock" "$LINENO" 5
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3298 $as_echo "yes" >&6; }
3299 test "$program_prefix" != NONE &&
3300 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3301 # Use a double $ so make ignores it.
3302 test "$program_suffix" != NONE &&
3303 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3304 # Double any \ or $.
3305 # By default was `s,x,x', remove it if useless.
3306 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3307 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3309 # expand $ac_aux_dir to an absolute path
3310 am_aux_dir=`cd $ac_aux_dir && pwd`
3312 if test x"${MISSING+set}" != xset; then
3313 case $am_aux_dir in
3314 *\ * | *\ *)
3315 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3317 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3318 esac
3320 # Use eval to expand $SHELL
3321 if eval "$MISSING --run true"; then
3322 am_missing_run="$MISSING --run "
3323 else
3324 am_missing_run=
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3326 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3329 if test x"${install_sh}" != xset; then
3330 case $am_aux_dir in
3331 *\ * | *\ *)
3332 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3334 install_sh="\${SHELL} $am_aux_dir/install-sh"
3335 esac
3338 # Installed binaries are usually stripped using `strip' when the user
3339 # run `make install-strip'. However `strip' might not be the right
3340 # tool to use in cross-compilation environments, therefore Automake
3341 # will honor the `STRIP' environment variable to overrule this program.
3342 if test "$cross_compiling" != no; then
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}strip; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_STRIP+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3350 else
3351 if test -n "$STRIP"; then
3352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3357 IFS=$as_save_IFS
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 break 2
3365 done
3366 done
3367 IFS=$as_save_IFS
3371 STRIP=$ac_cv_prog_STRIP
3372 if test -n "$STRIP"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3374 $as_echo "$STRIP" >&6; }
3375 else
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3382 if test -z "$ac_cv_prog_STRIP"; then
3383 ac_ct_STRIP=$STRIP
3384 # Extract the first word of "strip", so it can be a program name with args.
3385 set dummy strip; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3390 else
3391 if test -n "$ac_ct_STRIP"; then
3392 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3393 else
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3397 IFS=$as_save_IFS
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_STRIP="strip"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 break 2
3405 done
3406 done
3407 IFS=$as_save_IFS
3411 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3412 if test -n "$ac_ct_STRIP"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3414 $as_echo "$ac_ct_STRIP" >&6; }
3415 else
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3420 if test "x$ac_ct_STRIP" = x; then
3421 STRIP=":"
3422 else
3423 case $cross_compiling:$ac_tool_warned in
3424 yes:)
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3428 esac
3429 STRIP=$ac_ct_STRIP
3431 else
3432 STRIP="$ac_cv_prog_STRIP"
3436 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3439 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3440 if test -z "$MKDIR_P"; then
3441 if test "${ac_cv_path_mkdir+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3447 IFS=$as_save_IFS
3448 test -z "$as_dir" && as_dir=.
3449 for ac_prog in mkdir gmkdir; do
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3452 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3453 'mkdir (GNU coreutils) '* | \
3454 'mkdir (coreutils) '* | \
3455 'mkdir (fileutils) '4.1*)
3456 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3457 break 3;;
3458 esac
3459 done
3460 done
3461 done
3462 IFS=$as_save_IFS
3466 if test "${ac_cv_path_mkdir+set}" = set; then
3467 MKDIR_P="$ac_cv_path_mkdir -p"
3468 else
3469 # As a last resort, use the slow shell script. Don't cache a
3470 # value for MKDIR_P within a source directory, because that will
3471 # break other packages using the cache if that directory is
3472 # removed, or if the value is a relative name.
3473 test -d ./--version && rmdir ./--version
3474 MKDIR_P="$ac_install_sh -d"
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3478 $as_echo "$MKDIR_P" >&6; }
3480 mkdir_p="$MKDIR_P"
3481 case $mkdir_p in
3482 [\\/$]* | ?:[\\/]*) ;;
3483 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3484 esac
3486 for ac_prog in gawk mawk nawk awk
3488 # Extract the first word of "$ac_prog", so it can be a program name with args.
3489 set dummy $ac_prog; ac_word=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if test "${ac_cv_prog_AWK+set}" = set; then :
3493 $as_echo_n "(cached) " >&6
3494 else
3495 if test -n "$AWK"; then
3496 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3497 else
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499 for as_dir in $PATH
3501 IFS=$as_save_IFS
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505 ac_cv_prog_AWK="$ac_prog"
3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 break 2
3509 done
3510 done
3511 IFS=$as_save_IFS
3515 AWK=$ac_cv_prog_AWK
3516 if test -n "$AWK"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3518 $as_echo "$AWK" >&6; }
3519 else
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3525 test -n "$AWK" && break
3526 done
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3529 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3530 set x ${MAKE-make}
3531 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3532 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3533 $as_echo_n "(cached) " >&6
3534 else
3535 cat >conftest.make <<\_ACEOF
3536 SHELL = /bin/sh
3537 all:
3538 @echo '@@@%%%=$(MAKE)=@@@%%%'
3539 _ACEOF
3540 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3541 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3542 *@@@%%%=?*=@@@%%%*)
3543 eval ac_cv_prog_make_${ac_make}_set=yes;;
3545 eval ac_cv_prog_make_${ac_make}_set=no;;
3546 esac
3547 rm -f conftest.make
3549 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3551 $as_echo "yes" >&6; }
3552 SET_MAKE=
3553 else
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3556 SET_MAKE="MAKE=${MAKE-make}"
3559 rm -rf .tst 2>/dev/null
3560 mkdir .tst 2>/dev/null
3561 if test -d .tst; then
3562 am__leading_dot=.
3563 else
3564 am__leading_dot=_
3566 rmdir .tst 2>/dev/null
3568 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3569 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3570 # is not polluted with repeated "-I."
3571 am__isrc=' -I$(srcdir)'
3572 # test to see if srcdir already configured
3573 if test -f $srcdir/config.status; then
3574 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3578 # test whether we have cygpath
3579 if test -z "$CYGPATH_W"; then
3580 if (cygpath --version) >/dev/null 2>/dev/null; then
3581 CYGPATH_W='cygpath -w'
3582 else
3583 CYGPATH_W=echo
3588 # Define the identity of the package.
3589 PACKAGE='libstdc++'
3590 VERSION='version-unused'
3593 # Some tools Automake needs.
3595 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3598 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3601 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3604 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3607 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3609 # We need awk for the "check" target. The system "awk" is bad on
3610 # some platforms.
3611 # Always define AMTAR for backward compatibility. Yes, it's still used
3612 # in the wild :-( We should find a proper way to deprecate it ...
3613 AMTAR='$${TAR-tar}'
3615 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3624 # -fno-builtin must be present here so that a non-conflicting form of
3625 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3627 save_CXXFLAGS="$CXXFLAGS"
3628 CXXFLAGS="$CXXFLAGS -fno-builtin"
3629 ac_ext=c
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3636 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC="$CC" # Let the user override the test.
3644 else
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3648 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 break 2
3656 done
3657 done
3658 IFS=$as_save_IFS
3662 CC=$ac_cv_prog_CC
3663 if test -n "$CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3666 else
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3673 if test -z "$ac_cv_prog_CC"; then
3674 ac_ct_CC=$CC
3675 # Extract the first word of "gcc", so it can be a program name with args.
3676 set dummy gcc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3681 else
3682 if test -n "$ac_ct_CC"; then
3683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 ac_cv_prog_ac_ct_CC="gcc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3696 done
3697 done
3698 IFS=$as_save_IFS
3702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3703 if test -n "$ac_ct_CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3705 $as_echo "$ac_ct_CC" >&6; }
3706 else
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3711 if test "x$ac_ct_CC" = x; then
3712 CC=""
3713 else
3714 case $cross_compiling:$ac_tool_warned in
3715 yes:)
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718 ac_tool_warned=yes ;;
3719 esac
3720 CC=$ac_ct_CC
3722 else
3723 CC="$ac_cv_prog_CC"
3726 if test -z "$CC"; then
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3729 set dummy ${ac_tool_prefix}cc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_prog_CC+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3741 IFS=$as_save_IFS
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3745 ac_cv_prog_CC="${ac_tool_prefix}cc"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 break 2
3749 done
3750 done
3751 IFS=$as_save_IFS
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3767 if test -z "$CC"; then
3768 # Extract the first word of "cc", so it can be a program name with args.
3769 set dummy cc; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if test "${ac_cv_prog_CC+set}" = set; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$CC"; then
3776 ac_cv_prog_CC="$CC" # Let the user override the test.
3777 else
3778 ac_prog_rejected=no
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3787 ac_prog_rejected=yes
3788 continue
3790 ac_cv_prog_CC="cc"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3794 done
3795 done
3796 IFS=$as_save_IFS
3798 if test $ac_prog_rejected = yes; then
3799 # We found a bogon in the path, so make sure we never use it.
3800 set dummy $ac_cv_prog_CC
3801 shift
3802 if test $# != 0; then
3803 # We chose a different compiler from the bogus one.
3804 # However, it has the same basename, so the bogon will be chosen
3805 # first if we set CC to just the basename; use the full file name.
3806 shift
3807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3812 CC=$ac_cv_prog_CC
3813 if test -n "$CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3815 $as_echo "$CC" >&6; }
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3823 if test -z "$CC"; then
3824 if test -n "$ac_tool_prefix"; then
3825 for ac_prog in cl.exe
3827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if test "${ac_cv_prog_CC+set}" = set; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$CC"; then
3835 ac_cv_prog_CC="$CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3844 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3848 done
3849 done
3850 IFS=$as_save_IFS
3854 CC=$ac_cv_prog_CC
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3864 test -n "$CC" && break
3865 done
3867 if test -z "$CC"; then
3868 ac_ct_CC=$CC
3869 for ac_prog in cl.exe
3871 # Extract the first word of "$ac_prog", so it can be a program name with args.
3872 set dummy $ac_prog; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3877 else
3878 if test -n "$ac_ct_CC"; then
3879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3880 else
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888 ac_cv_prog_ac_ct_CC="$ac_prog"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 break 2
3892 done
3893 done
3894 IFS=$as_save_IFS
3898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3899 if test -n "$ac_ct_CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3901 $as_echo "$ac_ct_CC" >&6; }
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3908 test -n "$ac_ct_CC" && break
3909 done
3911 if test "x$ac_ct_CC" = x; then
3912 CC=""
3913 else
3914 case $cross_compiling:$ac_tool_warned in
3915 yes:)
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3918 ac_tool_warned=yes ;;
3919 esac
3920 CC=$ac_ct_CC
3927 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3929 as_fn_error "no acceptable C compiler found in \$PATH
3930 See \`config.log' for more details." "$LINENO" 5; }
3932 # Provide some information about the compiler.
3933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3934 set X $ac_compile
3935 ac_compiler=$2
3936 for ac_option in --version -v -V -qversion; do
3937 { { ac_try="$ac_compiler $ac_option >&5"
3938 case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3941 esac
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3945 ac_status=$?
3946 if test -s conftest.err; then
3947 sed '10a\
3948 ... rest of stderr output deleted ...
3949 10q' conftest.err >conftest.er1
3950 cat conftest.er1 >&5
3951 rm -f conftest.er1 conftest.err
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }
3955 done
3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3961 main ()
3965 return 0;
3967 _ACEOF
3968 # FIXME: Cleanup?
3969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3970 (eval $ac_link) 2>&5
3971 ac_status=$?
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; then :
3974 gcc_no_link=no
3975 else
3976 gcc_no_link=yes
3978 if test x$gcc_no_link = xyes; then
3979 # Setting cross_compile will disable run tests; it will
3980 # also disable AC_CHECK_FILE but that's generally
3981 # correct if we can't link.
3982 cross_compiling=yes
3983 EXEEXT=
3984 else
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3989 main ()
3993 return 0;
3995 _ACEOF
3996 ac_clean_files_save=$ac_clean_files
3997 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3998 # Try to create an executable without -o first, disregard a.out.
3999 # It will help us diagnose broken compilers, and finding out an intuition
4000 # of exeext.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4002 $as_echo_n "checking for C compiler default output file name... " >&6; }
4003 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4005 # The possible output files:
4006 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4008 ac_rmfiles=
4009 for ac_file in $ac_files
4011 case $ac_file in
4012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4013 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4014 esac
4015 done
4016 rm -f $ac_rmfiles
4018 if { { ac_try="$ac_link_default"
4019 case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_link_default") 2>&5
4026 ac_status=$?
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; then :
4029 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4030 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4031 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4032 # so that the user can short-circuit this test for compilers unknown to
4033 # Autoconf.
4034 for ac_file in $ac_files ''
4036 test -f "$ac_file" || continue
4037 case $ac_file in
4038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4040 [ab].out )
4041 # We found the default executable, but exeext='' is most
4042 # certainly right.
4043 break;;
4044 *.* )
4045 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4046 then :; else
4047 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4049 # We set ac_cv_exeext here because the later test for it is not
4050 # safe: cross compilers may not add the suffix if given an `-o'
4051 # argument, so we may need to know it at that point already.
4052 # Even if this section looks crufty: it has the advantage of
4053 # actually working.
4054 break;;
4056 break;;
4057 esac
4058 done
4059 test "$ac_cv_exeext" = no && ac_cv_exeext=
4061 else
4062 ac_file=''
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4065 $as_echo "$ac_file" >&6; }
4066 if test -z "$ac_file"; then :
4067 $as_echo "$as_me: failed program was:" >&5
4068 sed 's/^/| /' conftest.$ac_ext >&5
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 { as_fn_set_status 77
4073 as_fn_error "C compiler cannot create executables
4074 See \`config.log' for more details." "$LINENO" 5; }; }
4076 ac_exeext=$ac_cv_exeext
4078 # Check that the compiler produces executables we can run. If not, either
4079 # the compiler is broken, or we cross compile.
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4081 $as_echo_n "checking whether the C compiler works... " >&6; }
4082 # If not cross compiling, check that we can run a simple program.
4083 if test "$cross_compiling" != yes; then
4084 if { ac_try='./$ac_file'
4085 { { case "(($ac_try" in
4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4088 esac
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_try") 2>&5
4092 ac_status=$?
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }; }; then
4095 cross_compiling=no
4096 else
4097 if test "$cross_compiling" = maybe; then
4098 cross_compiling=yes
4099 else
4100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4102 as_fn_error "cannot run C compiled programs.
4103 If you meant to cross compile, use \`--host'.
4104 See \`config.log' for more details." "$LINENO" 5; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4109 $as_echo "yes" >&6; }
4111 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4112 ac_clean_files=$ac_clean_files_save
4113 # Check that the compiler produces executables we can run. If not, either
4114 # the compiler is broken, or we cross compile.
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4116 $as_echo_n "checking whether we are cross compiling... " >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4118 $as_echo "$cross_compiling" >&6; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4121 $as_echo_n "checking for suffix of executables... " >&6; }
4122 if { { ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4128 $as_echo "$ac_try_echo"; } >&5
4129 (eval "$ac_link") 2>&5
4130 ac_status=$?
4131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132 test $ac_status = 0; }; then :
4133 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4134 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4135 # work properly (i.e., refer to `conftest.exe'), while it won't with
4136 # `rm'.
4137 for ac_file in conftest.exe conftest conftest.*; do
4138 test -f "$ac_file" || continue
4139 case $ac_file in
4140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4141 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4142 break;;
4143 * ) break;;
4144 esac
4145 done
4146 else
4147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error "cannot compute suffix of executables: cannot compile and link
4150 See \`config.log' for more details." "$LINENO" 5; }
4152 rm -f conftest$ac_cv_exeext
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4154 $as_echo "$ac_cv_exeext" >&6; }
4156 rm -f conftest.$ac_ext
4157 EXEEXT=$ac_cv_exeext
4158 ac_exeext=$EXEEXT
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4161 $as_echo_n "checking for suffix of object files... " >&6; }
4162 if test "${ac_cv_objext+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4169 main ()
4173 return 0;
4175 _ACEOF
4176 rm -f conftest.o conftest.obj
4177 if { { ac_try="$ac_compile"
4178 case "(($ac_try" in
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4181 esac
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184 (eval "$ac_compile") 2>&5
4185 ac_status=$?
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 test $ac_status = 0; }; then :
4188 for ac_file in conftest.o conftest.obj conftest.*; do
4189 test -f "$ac_file" || continue;
4190 case $ac_file in
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4192 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4193 break;;
4194 esac
4195 done
4196 else
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error "cannot compute suffix of object files: cannot compile
4203 See \`config.log' for more details." "$LINENO" 5; }
4205 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4208 $as_echo "$ac_cv_objext" >&6; }
4209 OBJEXT=$ac_cv_objext
4210 ac_objext=$OBJEXT
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4213 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4215 else
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4220 main ()
4222 #ifndef __GNUC__
4223 choke me
4224 #endif
4227 return 0;
4229 _ACEOF
4230 if ac_fn_c_try_compile "$LINENO"; then :
4231 ac_compiler_gnu=yes
4232 else
4233 ac_compiler_gnu=no
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4241 if test $ac_compiler_gnu = yes; then
4242 GCC=yes
4243 else
4244 GCC=
4246 ac_test_CFLAGS=${CFLAGS+set}
4247 ac_save_CFLAGS=$CFLAGS
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4250 if test "${ac_cv_prog_cc_g+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_save_c_werror_flag=$ac_c_werror_flag
4254 ac_c_werror_flag=yes
4255 ac_cv_prog_cc_g=no
4256 CFLAGS="-g"
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4261 main ()
4265 return 0;
4267 _ACEOF
4268 if ac_fn_c_try_compile "$LINENO"; then :
4269 ac_cv_prog_cc_g=yes
4270 else
4271 CFLAGS=""
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4276 main ()
4280 return 0;
4282 _ACEOF
4283 if ac_fn_c_try_compile "$LINENO"; then :
4285 else
4286 ac_c_werror_flag=$ac_save_c_werror_flag
4287 CFLAGS="-g"
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4292 main ()
4296 return 0;
4298 _ACEOF
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 ac_cv_prog_cc_g=yes
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_c_werror_flag=$ac_save_c_werror_flag
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4310 $as_echo "$ac_cv_prog_cc_g" >&6; }
4311 if test "$ac_test_CFLAGS" = set; then
4312 CFLAGS=$ac_save_CFLAGS
4313 elif test $ac_cv_prog_cc_g = yes; then
4314 if test "$GCC" = yes; then
4315 CFLAGS="-g -O2"
4316 else
4317 CFLAGS="-g"
4319 else
4320 if test "$GCC" = yes; then
4321 CFLAGS="-O2"
4322 else
4323 CFLAGS=
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4328 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4330 else
4331 ac_cv_prog_cc_c89=no
4332 ac_save_CC=$CC
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335 #include <stdarg.h>
4336 #include <stdio.h>
4337 #include <sys/types.h>
4338 #include <sys/stat.h>
4339 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4340 struct buf { int x; };
4341 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4342 static char *e (p, i)
4343 char **p;
4344 int i;
4346 return p[i];
4348 static char *f (char * (*g) (char **, int), char **p, ...)
4350 char *s;
4351 va_list v;
4352 va_start (v,p);
4353 s = g (p, va_arg (v,int));
4354 va_end (v);
4355 return s;
4358 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4359 function prototypes and stuff, but not '\xHH' hex character constants.
4360 These don't provoke an error unfortunately, instead are silently treated
4361 as 'x'. The following induces an error, until -std is added to get
4362 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4363 array size at least. It's necessary to write '\x00'==0 to get something
4364 that's true only with -std. */
4365 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4367 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4368 inside strings and character constants. */
4369 #define FOO(x) 'x'
4370 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4372 int test (int i, double x);
4373 struct s1 {int (*f) (int a);};
4374 struct s2 {int (*f) (double a);};
4375 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4376 int argc;
4377 char **argv;
4379 main ()
4381 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4383 return 0;
4385 _ACEOF
4386 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4387 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4389 CC="$ac_save_CC $ac_arg"
4390 if ac_fn_c_try_compile "$LINENO"; then :
4391 ac_cv_prog_cc_c89=$ac_arg
4393 rm -f core conftest.err conftest.$ac_objext
4394 test "x$ac_cv_prog_cc_c89" != "xno" && break
4395 done
4396 rm -f conftest.$ac_ext
4397 CC=$ac_save_CC
4400 # AC_CACHE_VAL
4401 case "x$ac_cv_prog_cc_c89" in
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4404 $as_echo "none needed" >&6; } ;;
4405 xno)
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4407 $as_echo "unsupported" >&6; } ;;
4409 CC="$CC $ac_cv_prog_cc_c89"
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4411 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4412 esac
4413 if test "x$ac_cv_prog_cc_c89" != xno; then :
4417 ac_ext=c
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4423 ac_ext=cpp
4424 ac_cpp='$CXXCPP $CPPFLAGS'
4425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4428 if test -z "$CXX"; then
4429 if test -n "$CCC"; then
4430 CXX=$CCC
4431 else
4432 if test -n "$ac_tool_prefix"; then
4433 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if test "${ac_cv_prog_CXX+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 if test -n "$CXX"; then
4443 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4444 else
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4462 CXX=$ac_cv_prog_CXX
4463 if test -n "$CXX"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4465 $as_echo "$CXX" >&6; }
4466 else
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4472 test -n "$CXX" && break
4473 done
4475 if test -z "$CXX"; then
4476 ac_ct_CXX=$CXX
4477 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4479 # Extract the first word of "$ac_prog", so it can be a program name with args.
4480 set dummy $ac_prog; ac_word=$2
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4482 $as_echo_n "checking for $ac_word... " >&6; }
4483 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 if test -n "$ac_ct_CXX"; then
4487 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496 ac_cv_prog_ac_ct_CXX="$ac_prog"
4497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 break 2
4500 done
4501 done
4502 IFS=$as_save_IFS
4506 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4507 if test -n "$ac_ct_CXX"; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4509 $as_echo "$ac_ct_CXX" >&6; }
4510 else
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4512 $as_echo "no" >&6; }
4516 test -n "$ac_ct_CXX" && break
4517 done
4519 if test "x$ac_ct_CXX" = x; then
4520 CXX="g++"
4521 else
4522 case $cross_compiling:$ac_tool_warned in
4523 yes:)
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4526 ac_tool_warned=yes ;;
4527 esac
4528 CXX=$ac_ct_CXX
4534 # Provide some information about the compiler.
4535 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4536 set X $ac_compile
4537 ac_compiler=$2
4538 for ac_option in --version -v -V -qversion; do
4539 { { ac_try="$ac_compiler $ac_option >&5"
4540 case "(($ac_try" in
4541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4543 esac
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 $as_echo "$ac_try_echo"; } >&5
4546 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4547 ac_status=$?
4548 if test -s conftest.err; then
4549 sed '10a\
4550 ... rest of stderr output deleted ...
4551 10q' conftest.err >conftest.er1
4552 cat conftest.er1 >&5
4553 rm -f conftest.er1 conftest.err
4555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4556 test $ac_status = 0; }
4557 done
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4560 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4568 main ()
4570 #ifndef __GNUC__
4571 choke me
4572 #endif
4575 return 0;
4577 _ACEOF
4578 if ac_fn_cxx_try_compile "$LINENO"; then :
4579 ac_compiler_gnu=yes
4580 else
4581 ac_compiler_gnu=no
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4588 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4589 if test $ac_compiler_gnu = yes; then
4590 GXX=yes
4591 else
4592 GXX=
4594 ac_test_CXXFLAGS=${CXXFLAGS+set}
4595 ac_save_CXXFLAGS=$CXXFLAGS
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4597 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4598 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4602 ac_cxx_werror_flag=yes
4603 ac_cv_prog_cxx_g=no
4604 CXXFLAGS="-g"
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4609 main ()
4613 return 0;
4615 _ACEOF
4616 if ac_fn_cxx_try_compile "$LINENO"; then :
4617 ac_cv_prog_cxx_g=yes
4618 else
4619 CXXFLAGS=""
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4624 main ()
4628 return 0;
4630 _ACEOF
4631 if ac_fn_cxx_try_compile "$LINENO"; then :
4633 else
4634 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4635 CXXFLAGS="-g"
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4640 main ()
4644 return 0;
4646 _ACEOF
4647 if ac_fn_cxx_try_compile "$LINENO"; then :
4648 ac_cv_prog_cxx_g=yes
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4658 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4659 if test "$ac_test_CXXFLAGS" = set; then
4660 CXXFLAGS=$ac_save_CXXFLAGS
4661 elif test $ac_cv_prog_cxx_g = yes; then
4662 if test "$GXX" = yes; then
4663 CXXFLAGS="-g -O2"
4664 else
4665 CXXFLAGS="-g"
4667 else
4668 if test "$GXX" = yes; then
4669 CXXFLAGS="-O2"
4670 else
4671 CXXFLAGS=
4674 ac_ext=c
4675 ac_cpp='$CPP $CPPFLAGS'
4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4680 CXXFLAGS="$save_CXXFLAGS"
4682 # Runs configure.host, and assorted other critical bits. Sets
4683 # up critical shell variables.
4685 ac_ext=c
4686 ac_cpp='$CPP $CPPFLAGS'
4687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4691 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4692 # On Suns, sometimes $CPP names a directory.
4693 if test -n "$CPP" && test -d "$CPP"; then
4694 CPP=
4696 if test -z "$CPP"; then
4697 if test "${ac_cv_prog_CPP+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 # Double quotes because CPP needs to be expanded
4701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4703 ac_preproc_ok=false
4704 for ac_c_preproc_warn_flag in '' yes
4706 # Use a header file that comes with gcc, so configuring glibc
4707 # with a fresh cross-compiler works.
4708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4709 # <limits.h> exists even on freestanding compilers.
4710 # On the NeXT, cc -E runs the code through the compiler's parser,
4711 # not just through cpp. "Syntax error" is here to catch this case.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #ifdef __STDC__
4715 # include <limits.h>
4716 #else
4717 # include <assert.h>
4718 #endif
4719 Syntax error
4720 _ACEOF
4721 if ac_fn_c_try_cpp "$LINENO"; then :
4723 else
4724 # Broken: fails on valid input.
4725 continue
4727 rm -f conftest.err conftest.$ac_ext
4729 # OK, works on sane cases. Now check whether nonexistent headers
4730 # can be detected and how.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 #include <ac_nonexistent.h>
4734 _ACEOF
4735 if ac_fn_c_try_cpp "$LINENO"; then :
4736 # Broken: success on invalid input.
4737 continue
4738 else
4739 # Passes both tests.
4740 ac_preproc_ok=:
4741 break
4743 rm -f conftest.err conftest.$ac_ext
4745 done
4746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4747 rm -f conftest.err conftest.$ac_ext
4748 if $ac_preproc_ok; then :
4749 break
4752 done
4753 ac_cv_prog_CPP=$CPP
4756 CPP=$ac_cv_prog_CPP
4757 else
4758 ac_cv_prog_CPP=$CPP
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4761 $as_echo "$CPP" >&6; }
4762 ac_preproc_ok=false
4763 for ac_c_preproc_warn_flag in '' yes
4765 # Use a header file that comes with gcc, so configuring glibc
4766 # with a fresh cross-compiler works.
4767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4768 # <limits.h> exists even on freestanding compilers.
4769 # On the NeXT, cc -E runs the code through the compiler's parser,
4770 # not just through cpp. "Syntax error" is here to catch this case.
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4773 #ifdef __STDC__
4774 # include <limits.h>
4775 #else
4776 # include <assert.h>
4777 #endif
4778 Syntax error
4779 _ACEOF
4780 if ac_fn_c_try_cpp "$LINENO"; then :
4782 else
4783 # Broken: fails on valid input.
4784 continue
4786 rm -f conftest.err conftest.$ac_ext
4788 # OK, works on sane cases. Now check whether nonexistent headers
4789 # can be detected and how.
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4792 #include <ac_nonexistent.h>
4793 _ACEOF
4794 if ac_fn_c_try_cpp "$LINENO"; then :
4795 # Broken: success on invalid input.
4796 continue
4797 else
4798 # Passes both tests.
4799 ac_preproc_ok=:
4800 break
4802 rm -f conftest.err conftest.$ac_ext
4804 done
4805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4806 rm -f conftest.err conftest.$ac_ext
4807 if $ac_preproc_ok; then :
4809 else
4810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4812 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4813 See \`config.log' for more details." "$LINENO" 5; }
4816 ac_ext=c
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4824 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4825 if test "${ac_cv_path_GREP+set}" = set; then :
4826 $as_echo_n "(cached) " >&6
4827 else
4828 if test -z "$GREP"; then
4829 ac_path_GREP_found=false
4830 # Loop through the user's path and test for each of PROGNAME-LIST
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_prog in grep ggrep; do
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4839 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4840 # Check for GNU ac_path_GREP and select it if it is found.
4841 # Check for GNU $ac_path_GREP
4842 case `"$ac_path_GREP" --version 2>&1` in
4843 *GNU*)
4844 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4846 ac_count=0
4847 $as_echo_n 0123456789 >"conftest.in"
4848 while :
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
4851 mv "conftest.tmp" "conftest.in"
4852 cp "conftest.in" "conftest.nl"
4853 $as_echo 'GREP' >> "conftest.nl"
4854 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4856 as_fn_arith $ac_count + 1 && ac_count=$as_val
4857 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4858 # Best one so far, save it but keep looking for a better one
4859 ac_cv_path_GREP="$ac_path_GREP"
4860 ac_path_GREP_max=$ac_count
4862 # 10*(2^10) chars as input seems more than enough
4863 test $ac_count -gt 10 && break
4864 done
4865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 esac
4868 $ac_path_GREP_found && break 3
4869 done
4870 done
4871 done
4872 IFS=$as_save_IFS
4873 if test -z "$ac_cv_path_GREP"; then
4874 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4876 else
4877 ac_cv_path_GREP=$GREP
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4882 $as_echo "$ac_cv_path_GREP" >&6; }
4883 GREP="$ac_cv_path_GREP"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4887 $as_echo_n "checking for egrep... " >&6; }
4888 if test "${ac_cv_path_EGREP+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4892 then ac_cv_path_EGREP="$GREP -E"
4893 else
4894 if test -z "$EGREP"; then
4895 ac_path_EGREP_found=false
4896 # Loop through the user's path and test for each of PROGNAME-LIST
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4900 IFS=$as_save_IFS
4901 test -z "$as_dir" && as_dir=.
4902 for ac_prog in egrep; do
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4905 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4906 # Check for GNU ac_path_EGREP and select it if it is found.
4907 # Check for GNU $ac_path_EGREP
4908 case `"$ac_path_EGREP" --version 2>&1` in
4909 *GNU*)
4910 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4912 ac_count=0
4913 $as_echo_n 0123456789 >"conftest.in"
4914 while :
4916 cat "conftest.in" "conftest.in" >"conftest.tmp"
4917 mv "conftest.tmp" "conftest.in"
4918 cp "conftest.in" "conftest.nl"
4919 $as_echo 'EGREP' >> "conftest.nl"
4920 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4921 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4922 as_fn_arith $ac_count + 1 && ac_count=$as_val
4923 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4924 # Best one so far, save it but keep looking for a better one
4925 ac_cv_path_EGREP="$ac_path_EGREP"
4926 ac_path_EGREP_max=$ac_count
4928 # 10*(2^10) chars as input seems more than enough
4929 test $ac_count -gt 10 && break
4930 done
4931 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4932 esac
4934 $ac_path_EGREP_found && break 3
4935 done
4936 done
4937 done
4938 IFS=$as_save_IFS
4939 if test -z "$ac_cv_path_EGREP"; then
4940 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4942 else
4943 ac_cv_path_EGREP=$EGREP
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4949 $as_echo "$ac_cv_path_EGREP" >&6; }
4950 EGREP="$ac_cv_path_EGREP"
4954 # Keep these sync'd with the list in Makefile.am. The first provides an
4955 # expandable list at autoconf time; the second provides an expandable list
4956 # (i.e., shell variable) at configure time.
4958 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4960 # These need to be absolute paths, yet at the same time need to
4961 # canonicalize only relative paths, because then amd will not unmount
4962 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4963 glibcxx_builddir=`${PWDCMD-pwd}`
4964 case $srcdir in
4965 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4966 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4967 esac
4968 toplevel_builddir=${glibcxx_builddir}/..
4969 toplevel_srcdir=${glibcxx_srcdir}/..
4975 # We use these options to decide which functions to include. They are
4976 # set from the top level.
4978 # Check whether --with-target-subdir was given.
4979 if test "${with_target_subdir+set}" = set; then :
4980 withval=$with_target_subdir;
4985 # Check whether --with-cross-host was given.
4986 if test "${with_cross_host+set}" = set; then :
4987 withval=$with_cross_host;
4992 # Check whether --with-newlib was given.
4993 if test "${with_newlib+set}" = set; then :
4994 withval=$with_newlib;
4998 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4999 # available). Uncomment the next line to force a particular method.
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5001 $as_echo_n "checking whether ln -s works... " >&6; }
5002 LN_S=$as_ln_s
5003 if test "$LN_S" = "ln -s"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5008 $as_echo "no, using $LN_S" >&6; }
5011 #LN_S='cp -p'
5013 if test -n "$ac_tool_prefix"; then
5014 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5015 set dummy ${ac_tool_prefix}as; ac_word=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if test "${ac_cv_prog_AS+set}" = set; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021 if test -n "$AS"; then
5022 ac_cv_prog_AS="$AS" # Let the user override the test.
5023 else
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in $PATH
5027 IFS=$as_save_IFS
5028 test -z "$as_dir" && as_dir=.
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5031 ac_cv_prog_AS="${ac_tool_prefix}as"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 break 2
5035 done
5036 done
5037 IFS=$as_save_IFS
5041 AS=$ac_cv_prog_AS
5042 if test -n "$AS"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5044 $as_echo "$AS" >&6; }
5045 else
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5052 if test -z "$ac_cv_prog_AS"; then
5053 ac_ct_AS=$AS
5054 # Extract the first word of "as", so it can be a program name with args.
5055 set dummy as; ac_word=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5059 $as_echo_n "(cached) " >&6
5060 else
5061 if test -n "$ac_ct_AS"; then
5062 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5063 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5067 IFS=$as_save_IFS
5068 test -z "$as_dir" && as_dir=.
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5071 ac_cv_prog_ac_ct_AS="as"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 break 2
5075 done
5076 done
5077 IFS=$as_save_IFS
5081 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5082 if test -n "$ac_ct_AS"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5084 $as_echo "$ac_ct_AS" >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5090 if test "x$ac_ct_AS" = x; then
5091 AS=""
5092 else
5093 case $cross_compiling:$ac_tool_warned in
5094 yes:)
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5097 ac_tool_warned=yes ;;
5098 esac
5099 AS=$ac_ct_AS
5101 else
5102 AS="$ac_cv_prog_AS"
5105 if test -n "$ac_tool_prefix"; then
5106 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5107 set dummy ${ac_tool_prefix}ar; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_prog_AR+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 if test -n "$AR"; then
5114 ac_cv_prog_AR="$AR" # Let the user override the test.
5115 else
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 for as_dir in $PATH
5119 IFS=$as_save_IFS
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 ac_cv_prog_AR="${ac_tool_prefix}ar"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 break 2
5127 done
5128 done
5129 IFS=$as_save_IFS
5133 AR=$ac_cv_prog_AR
5134 if test -n "$AR"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5136 $as_echo "$AR" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5144 if test -z "$ac_cv_prog_AR"; then
5145 ac_ct_AR=$AR
5146 # Extract the first word of "ar", so it can be a program name with args.
5147 set dummy ar; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$ac_ct_AR"; then
5154 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5163 ac_cv_prog_ac_ct_AR="ar"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5174 if test -n "$ac_ct_AR"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5176 $as_echo "$ac_ct_AR" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5182 if test "x$ac_ct_AR" = x; then
5183 AR=""
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5189 ac_tool_warned=yes ;;
5190 esac
5191 AR=$ac_ct_AR
5193 else
5194 AR="$ac_cv_prog_AR"
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5199 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$RANLIB"; then
5206 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5219 done
5220 done
5221 IFS=$as_save_IFS
5225 RANLIB=$ac_cv_prog_RANLIB
5226 if test -n "$RANLIB"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5228 $as_echo "$RANLIB" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5236 if test -z "$ac_cv_prog_RANLIB"; then
5237 ac_ct_RANLIB=$RANLIB
5238 # Extract the first word of "ranlib", so it can be a program name with args.
5239 set dummy ranlib; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$ac_ct_RANLIB"; then
5246 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255 ac_cv_prog_ac_ct_RANLIB="ranlib"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5259 done
5260 done
5261 IFS=$as_save_IFS
5265 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5266 if test -n "$ac_ct_RANLIB"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5268 $as_echo "$ac_ct_RANLIB" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5274 if test "x$ac_ct_RANLIB" = x; then
5275 RANLIB="ranlib-not-found-in-path-error"
5276 else
5277 case $cross_compiling:$ac_tool_warned in
5278 yes:)
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5281 ac_tool_warned=yes ;;
5282 esac
5283 RANLIB=$ac_ct_RANLIB
5285 else
5286 RANLIB="$ac_cv_prog_RANLIB"
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5292 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5293 # Check whether --enable-maintainer-mode was given.
5294 if test "${enable_maintainer_mode+set}" = set; then :
5295 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5296 else
5297 USE_MAINTAINER_MODE=no
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5301 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5302 if test $USE_MAINTAINER_MODE = yes; then
5303 MAINTAINER_MODE_TRUE=
5304 MAINTAINER_MODE_FALSE='#'
5305 else
5306 MAINTAINER_MODE_TRUE='#'
5307 MAINTAINER_MODE_FALSE=
5310 MAINT=$MAINTAINER_MODE_TRUE
5314 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5315 # which are themselves conditionally expanded.
5316 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5317 ## other macros from doing the same. This should be automated.) -pme
5319 # Check for C library flavor since GNU/Linux platforms use different
5320 # configuration directories depending on the C library in use.
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5324 #include <stdio.h>
5325 #if __UCLIBC__
5326 _using_uclibc
5327 #endif
5329 _ACEOF
5330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5331 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5332 uclibc=yes
5333 else
5334 uclibc=no
5336 rm -f conftest*
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5342 #include <stdio.h>
5343 #if __BIONIC__
5344 _using_bionic
5345 #endif
5347 _ACEOF
5348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5349 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5350 bionic=yes
5351 else
5352 bionic=no
5354 rm -f conftest*
5357 # Find platform-specific directories containing configuration info.
5358 # Also possibly modify flags used elsewhere, as needed by the platform.
5360 . $glibcxx_srcdir/configure.host
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5362 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5364 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5368 # Libtool setup.
5369 if test "x${with_newlib}" != "xyes"; then
5370 enable_dlopen=yes
5375 case `pwd` in
5376 *\ * | *\ *)
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5378 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5379 esac
5383 macro_version='2.2.7a'
5384 macro_revision='1.3134'
5398 ltmain="$ac_aux_dir/ltmain.sh"
5400 # Backslashify metacharacters that are still active within
5401 # double-quoted strings.
5402 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5404 # Same as above, but do not quote variable references.
5405 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5407 # Sed substitution to delay expansion of an escaped shell variable in a
5408 # double_quote_subst'ed string.
5409 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5411 # Sed substitution to delay expansion of an escaped single quote.
5412 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5414 # Sed substitution to avoid accidental globbing in evaled expressions
5415 no_glob_subst='s/\*/\\\*/g'
5417 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5419 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5422 $as_echo_n "checking how to print strings... " >&6; }
5423 # Test print first, because it will be a builtin if present.
5424 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5425 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5426 ECHO='print -r --'
5427 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5428 ECHO='printf %s\n'
5429 else
5430 # Use this function as a fallback that always works.
5431 func_fallback_echo ()
5433 eval 'cat <<_LTECHO_EOF
5435 _LTECHO_EOF'
5437 ECHO='func_fallback_echo'
5440 # func_echo_all arg...
5441 # Invoke $ECHO with all args, space-separated.
5442 func_echo_all ()
5444 $ECHO ""
5447 case "$ECHO" in
5448 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5449 $as_echo "printf" >&6; } ;;
5450 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5451 $as_echo "print -r" >&6; } ;;
5452 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5453 $as_echo "cat" >&6; } ;;
5454 esac
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5470 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5471 if test "${ac_cv_path_SED+set}" = set; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5475 for ac_i in 1 2 3 4 5 6 7; do
5476 ac_script="$ac_script$as_nl$ac_script"
5477 done
5478 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5479 { ac_script=; unset ac_script;}
5480 if test -z "$SED"; then
5481 ac_path_SED_found=false
5482 # Loop through the user's path and test for each of PROGNAME-LIST
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_prog in sed gsed; do
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5491 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5492 # Check for GNU ac_path_SED and select it if it is found.
5493 # Check for GNU $ac_path_SED
5494 case `"$ac_path_SED" --version 2>&1` in
5495 *GNU*)
5496 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5498 ac_count=0
5499 $as_echo_n 0123456789 >"conftest.in"
5500 while :
5502 cat "conftest.in" "conftest.in" >"conftest.tmp"
5503 mv "conftest.tmp" "conftest.in"
5504 cp "conftest.in" "conftest.nl"
5505 $as_echo '' >> "conftest.nl"
5506 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5507 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5508 as_fn_arith $ac_count + 1 && ac_count=$as_val
5509 if test $ac_count -gt ${ac_path_SED_max-0}; then
5510 # Best one so far, save it but keep looking for a better one
5511 ac_cv_path_SED="$ac_path_SED"
5512 ac_path_SED_max=$ac_count
5514 # 10*(2^10) chars as input seems more than enough
5515 test $ac_count -gt 10 && break
5516 done
5517 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5518 esac
5520 $ac_path_SED_found && break 3
5521 done
5522 done
5523 done
5524 IFS=$as_save_IFS
5525 if test -z "$ac_cv_path_SED"; then
5526 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5528 else
5529 ac_cv_path_SED=$SED
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5534 $as_echo "$ac_cv_path_SED" >&6; }
5535 SED="$ac_cv_path_SED"
5536 rm -f conftest.sed
5538 test -z "$SED" && SED=sed
5539 Xsed="$SED -e 1s/^X//"
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5552 $as_echo_n "checking for fgrep... " >&6; }
5553 if test "${ac_cv_path_FGREP+set}" = set; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5557 then ac_cv_path_FGREP="$GREP -F"
5558 else
5559 if test -z "$FGREP"; then
5560 ac_path_FGREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in fgrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5570 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5571 # Check for GNU ac_path_FGREP and select it if it is found.
5572 # Check for GNU $ac_path_FGREP
5573 case `"$ac_path_FGREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'FGREP' >> "conftest.nl"
5585 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_FGREP="$ac_path_FGREP"
5591 ac_path_FGREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5599 $ac_path_FGREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_FGREP"; then
5605 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 else
5608 ac_cv_path_FGREP=$FGREP
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5614 $as_echo "$ac_cv_path_FGREP" >&6; }
5615 FGREP="$ac_cv_path_FGREP"
5618 test -z "$GREP" && GREP=grep
5638 # Check whether --with-gnu-ld was given.
5639 if test "${with_gnu_ld+set}" = set; then :
5640 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5641 else
5642 with_gnu_ld=no
5645 ac_prog=ld
5646 if test "$GCC" = yes; then
5647 # Check if gcc -print-prog-name=ld gives a path.
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5649 $as_echo_n "checking for ld used by $CC... " >&6; }
5650 case $host in
5651 *-*-mingw*)
5652 # gcc leaves a trailing carriage return which upsets mingw
5653 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5655 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5656 esac
5657 case $ac_prog in
5658 # Accept absolute paths.
5659 [\\/]* | ?:[\\/]*)
5660 re_direlt='/[^/][^/]*/\.\./'
5661 # Canonicalize the pathname of ld
5662 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5663 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5664 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5665 done
5666 test -z "$LD" && LD="$ac_prog"
5669 # If it fails, then pretend we aren't using GCC.
5670 ac_prog=ld
5673 # If it is relative, then search for the first ld in PATH.
5674 with_gnu_ld=unknown
5676 esac
5677 elif test "$with_gnu_ld" = yes; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5679 $as_echo_n "checking for GNU ld... " >&6; }
5680 else
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5682 $as_echo_n "checking for non-GNU ld... " >&6; }
5684 if test "${lt_cv_path_LD+set}" = set; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -z "$LD"; then
5688 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5689 for ac_dir in $PATH; do
5690 IFS="$lt_save_ifs"
5691 test -z "$ac_dir" && ac_dir=.
5692 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5693 lt_cv_path_LD="$ac_dir/$ac_prog"
5694 # Check to see if the program is GNU ld. I'd rather use --version,
5695 # but apparently some variants of GNU ld only accept -v.
5696 # Break only if it was the GNU/non-GNU ld that we prefer.
5697 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5698 *GNU* | *'with BFD'*)
5699 test "$with_gnu_ld" != no && break
5702 test "$with_gnu_ld" != yes && break
5704 esac
5706 done
5707 IFS="$lt_save_ifs"
5708 else
5709 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5713 LD="$lt_cv_path_LD"
5714 if test -n "$LD"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5716 $as_echo "$LD" >&6; }
5717 else
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5721 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5723 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5724 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5728 case `$LD -v 2>&1 </dev/null` in
5729 *GNU* | *'with BFD'*)
5730 lt_cv_prog_gnu_ld=yes
5733 lt_cv_prog_gnu_ld=no
5735 esac
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5738 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5739 with_gnu_ld=$lt_cv_prog_gnu_ld
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5750 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5751 if test "${lt_cv_path_NM+set}" = set; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 if test -n "$NM"; then
5755 # Let the user override the test.
5756 lt_cv_path_NM="$NM"
5757 else
5758 lt_nm_to_check="${ac_tool_prefix}nm"
5759 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5760 lt_nm_to_check="$lt_nm_to_check nm"
5762 for lt_tmp_nm in $lt_nm_to_check; do
5763 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5764 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5765 IFS="$lt_save_ifs"
5766 test -z "$ac_dir" && ac_dir=.
5767 tmp_nm="$ac_dir/$lt_tmp_nm"
5768 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5769 # Check to see if the nm accepts a BSD-compat flag.
5770 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5771 # nm: unknown option "B" ignored
5772 # Tru64's nm complains that /dev/null is an invalid object file
5773 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5774 */dev/null* | *'Invalid file or object type'*)
5775 lt_cv_path_NM="$tmp_nm -B"
5776 break
5779 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5780 */dev/null*)
5781 lt_cv_path_NM="$tmp_nm -p"
5782 break
5785 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5786 continue # so that we can try to find one that supports BSD flags
5788 esac
5790 esac
5792 done
5793 IFS="$lt_save_ifs"
5794 done
5795 : ${lt_cv_path_NM=no}
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5799 $as_echo "$lt_cv_path_NM" >&6; }
5800 if test "$lt_cv_path_NM" != "no"; then
5801 NM="$lt_cv_path_NM"
5802 else
5803 # Didn't find any BSD compatible name lister, look for dumpbin.
5804 if test -n "$DUMPBIN"; then :
5805 # Let the user override the test.
5806 else
5807 if test -n "$ac_tool_prefix"; then
5808 for ac_prog in dumpbin "link -dump"
5810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5815 $as_echo_n "(cached) " >&6
5816 else
5817 if test -n "$DUMPBIN"; then
5818 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5819 else
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH
5823 IFS=$as_save_IFS
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 break 2
5831 done
5832 done
5833 IFS=$as_save_IFS
5837 DUMPBIN=$ac_cv_prog_DUMPBIN
5838 if test -n "$DUMPBIN"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5840 $as_echo "$DUMPBIN" >&6; }
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5847 test -n "$DUMPBIN" && break
5848 done
5850 if test -z "$DUMPBIN"; then
5851 ac_ct_DUMPBIN=$DUMPBIN
5852 for ac_prog in dumpbin "link -dump"
5854 # Extract the first word of "$ac_prog", so it can be a program name with args.
5855 set dummy $ac_prog; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 if test -n "$ac_ct_DUMPBIN"; then
5862 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5867 IFS=$as_save_IFS
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 break 2
5875 done
5876 done
5877 IFS=$as_save_IFS
5881 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5882 if test -n "$ac_ct_DUMPBIN"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5884 $as_echo "$ac_ct_DUMPBIN" >&6; }
5885 else
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5891 test -n "$ac_ct_DUMPBIN" && break
5892 done
5894 if test "x$ac_ct_DUMPBIN" = x; then
5895 DUMPBIN=":"
5896 else
5897 case $cross_compiling:$ac_tool_warned in
5898 yes:)
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901 ac_tool_warned=yes ;;
5902 esac
5903 DUMPBIN=$ac_ct_DUMPBIN
5907 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5908 *COFF*)
5909 DUMPBIN="$DUMPBIN -symbols"
5912 DUMPBIN=:
5914 esac
5917 if test "$DUMPBIN" != ":"; then
5918 NM="$DUMPBIN"
5921 test -z "$NM" && NM=nm
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5929 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5930 if test "${lt_cv_nm_interface+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 lt_cv_nm_interface="BSD nm"
5934 echo "int some_variable = 0;" > conftest.$ac_ext
5935 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5936 (eval "$ac_compile" 2>conftest.err)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5939 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5940 cat conftest.err >&5
5941 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5942 cat conftest.out >&5
5943 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5944 lt_cv_nm_interface="MS dumpbin"
5946 rm -f conftest*
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5949 $as_echo "$lt_cv_nm_interface" >&6; }
5951 # find the maximum length of command line arguments
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5953 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5954 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5958 teststring="ABCD"
5960 case $build_os in
5961 msdosdjgpp*)
5962 # On DJGPP, this test can blow up pretty badly due to problems in libc
5963 # (any single argument exceeding 2000 bytes causes a buffer overrun
5964 # during glob expansion). Even if it were fixed, the result of this
5965 # check would be larger than it should be.
5966 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5969 gnu*)
5970 # Under GNU Hurd, this test is not required because there is
5971 # no limit to the length of command line arguments.
5972 # Libtool will interpret -1 as no limit whatsoever
5973 lt_cv_sys_max_cmd_len=-1;
5976 cygwin* | mingw* | cegcc*)
5977 # On Win9x/ME, this test blows up -- it succeeds, but takes
5978 # about 5 minutes as the teststring grows exponentially.
5979 # Worse, since 9x/ME are not pre-emptively multitasking,
5980 # you end up with a "frozen" computer, even though with patience
5981 # the test eventually succeeds (with a max line length of 256k).
5982 # Instead, let's just punt: use the minimum linelength reported by
5983 # all of the supported platforms: 8192 (on NT/2K/XP).
5984 lt_cv_sys_max_cmd_len=8192;
5987 mint*)
5988 # On MiNT this can take a long time and run out of memory.
5989 lt_cv_sys_max_cmd_len=8192;
5992 amigaos*)
5993 # On AmigaOS with pdksh, this test takes hours, literally.
5994 # So we just punt and use a minimum line length of 8192.
5995 lt_cv_sys_max_cmd_len=8192;
5998 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5999 # This has been around since 386BSD, at least. Likely further.
6000 if test -x /sbin/sysctl; then
6001 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6002 elif test -x /usr/sbin/sysctl; then
6003 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6004 else
6005 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6007 # And add a safety zone
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6012 interix*)
6013 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6014 lt_cv_sys_max_cmd_len=196608
6017 osf*)
6018 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6019 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6020 # nice to cause kernel panics so lets avoid the loop below.
6021 # First set a reasonable default.
6022 lt_cv_sys_max_cmd_len=16384
6024 if test -x /sbin/sysconfig; then
6025 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6026 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6027 esac
6030 sco3.2v5*)
6031 lt_cv_sys_max_cmd_len=102400
6033 sysv5* | sco5v6* | sysv4.2uw2*)
6034 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6035 if test -n "$kargmax"; then
6036 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6037 else
6038 lt_cv_sys_max_cmd_len=32768
6042 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6043 if test -n "$lt_cv_sys_max_cmd_len"; then
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6045 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6046 else
6047 # Make teststring a little bigger before we do anything with it.
6048 # a 1K string should be a reasonable start.
6049 for i in 1 2 3 4 5 6 7 8 ; do
6050 teststring=$teststring$teststring
6051 done
6052 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6053 # If test is not a shell built-in, we'll probably end up computing a
6054 # maximum length that is only half of the actual maximum length, but
6055 # we can't tell.
6056 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6057 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6058 test $i != 17 # 1/2 MB should be enough
6060 i=`expr $i + 1`
6061 teststring=$teststring$teststring
6062 done
6063 # Only check the string length outside the loop.
6064 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6065 teststring=
6066 # Add a significant safety factor because C++ compilers can tack on
6067 # massive amounts of additional arguments before passing them to the
6068 # linker. It appears as though 1/2 is a usable value.
6069 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6072 esac
6076 if test -n $lt_cv_sys_max_cmd_len ; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6078 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6081 $as_echo "none" >&6; }
6083 max_cmd_len=$lt_cv_sys_max_cmd_len
6090 : ${CP="cp -f"}
6091 : ${MV="mv -f"}
6092 : ${RM="rm -f"}
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6095 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6096 # Try some XSI features
6097 xsi_shell=no
6098 ( _lt_dummy="a/b/c"
6099 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6100 = c,a/b,, \
6101 && eval 'test $(( 1 + 1 )) -eq 2 \
6102 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6103 && xsi_shell=yes
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6105 $as_echo "$xsi_shell" >&6; }
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6109 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6110 lt_shell_append=no
6111 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6112 >/dev/null 2>&1 \
6113 && lt_shell_append=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6115 $as_echo "$lt_shell_append" >&6; }
6118 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6119 lt_unset=unset
6120 else
6121 lt_unset=false
6128 # test EBCDIC or ASCII
6129 case `echo X|tr X '\101'` in
6130 A) # ASCII based system
6131 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6132 lt_SP2NL='tr \040 \012'
6133 lt_NL2SP='tr \015\012 \040\040'
6135 *) # EBCDIC based system
6136 lt_SP2NL='tr \100 \n'
6137 lt_NL2SP='tr \r\n \100\100'
6139 esac
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6150 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6151 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 lt_cv_ld_reload_flag='-r'
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6157 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6158 reload_flag=$lt_cv_ld_reload_flag
6159 case $reload_flag in
6160 "" | " "*) ;;
6161 *) reload_flag=" $reload_flag" ;;
6162 esac
6163 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6164 case $host_os in
6165 darwin*)
6166 if test "$GCC" = yes; then
6167 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6168 else
6169 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6172 esac
6182 if test -n "$ac_tool_prefix"; then
6183 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6184 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186 $as_echo_n "checking for $ac_word... " >&6; }
6187 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6188 $as_echo_n "(cached) " >&6
6189 else
6190 if test -n "$OBJDUMP"; then
6191 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6192 else
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 for as_dir in $PATH
6196 IFS=$as_save_IFS
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 break 2
6204 done
6205 done
6206 IFS=$as_save_IFS
6210 OBJDUMP=$ac_cv_prog_OBJDUMP
6211 if test -n "$OBJDUMP"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6213 $as_echo "$OBJDUMP" >&6; }
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6221 if test -z "$ac_cv_prog_OBJDUMP"; then
6222 ac_ct_OBJDUMP=$OBJDUMP
6223 # Extract the first word of "objdump", so it can be a program name with args.
6224 set dummy objdump; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 $as_echo_n "checking for $ac_word... " >&6; }
6227 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 if test -n "$ac_ct_OBJDUMP"; then
6231 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6232 else
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6234 for as_dir in $PATH
6236 IFS=$as_save_IFS
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 break 2
6244 done
6245 done
6246 IFS=$as_save_IFS
6250 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6251 if test -n "$ac_ct_OBJDUMP"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6253 $as_echo "$ac_ct_OBJDUMP" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6259 if test "x$ac_ct_OBJDUMP" = x; then
6260 OBJDUMP="false"
6261 else
6262 case $cross_compiling:$ac_tool_warned in
6263 yes:)
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6266 ac_tool_warned=yes ;;
6267 esac
6268 OBJDUMP=$ac_ct_OBJDUMP
6270 else
6271 OBJDUMP="$ac_cv_prog_OBJDUMP"
6274 test -z "$OBJDUMP" && OBJDUMP=objdump
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6285 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6286 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 lt_cv_file_magic_cmd='$MAGIC_CMD'
6290 lt_cv_file_magic_test_file=
6291 lt_cv_deplibs_check_method='unknown'
6292 # Need to set the preceding variable on all platforms that support
6293 # interlibrary dependencies.
6294 # 'none' -- dependencies not supported.
6295 # `unknown' -- same as none, but documents that we really don't know.
6296 # 'pass_all' -- all dependencies passed with no checks.
6297 # 'test_compile' -- check by making test program.
6298 # 'file_magic [[regex]]' -- check by looking for files in library path
6299 # which responds to the $file_magic_cmd with a given extended regex.
6300 # If you have `file' or equivalent on your system and you're not sure
6301 # whether `pass_all' will *always* work, you probably want this one.
6303 case $host_os in
6304 aix[4-9]*)
6305 lt_cv_deplibs_check_method=pass_all
6308 beos*)
6309 lt_cv_deplibs_check_method=pass_all
6312 bsdi[45]*)
6313 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6314 lt_cv_file_magic_cmd='/usr/bin/file -L'
6315 lt_cv_file_magic_test_file=/shlib/libc.so
6318 cygwin*)
6319 # func_win32_libid is a shell function defined in ltmain.sh
6320 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6321 lt_cv_file_magic_cmd='func_win32_libid'
6324 mingw* | pw32*)
6325 # Base MSYS/MinGW do not provide the 'file' command needed by
6326 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6327 # unless we find 'file', for example because we are cross-compiling.
6328 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6329 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331 lt_cv_file_magic_cmd='func_win32_libid'
6332 else
6333 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6334 lt_cv_file_magic_cmd='$OBJDUMP -f'
6338 cegcc*)
6339 # use the weaker test based on 'objdump'. See mingw*.
6340 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6341 lt_cv_file_magic_cmd='$OBJDUMP -f'
6344 darwin* | rhapsody*)
6345 lt_cv_deplibs_check_method=pass_all
6348 freebsd* | dragonfly*)
6349 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6350 case $host_cpu in
6351 i*86 )
6352 # Not sure whether the presence of OpenBSD here was a mistake.
6353 # Let's accept both of them until this is cleared up.
6354 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6355 lt_cv_file_magic_cmd=/usr/bin/file
6356 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6358 esac
6359 else
6360 lt_cv_deplibs_check_method=pass_all
6364 gnu*)
6365 lt_cv_deplibs_check_method=pass_all
6368 haiku*)
6369 lt_cv_deplibs_check_method=pass_all
6372 hpux10.20* | hpux11*)
6373 lt_cv_file_magic_cmd=/usr/bin/file
6374 case $host_cpu in
6375 ia64*)
6376 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6377 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6379 hppa*64*)
6380 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]'
6381 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6384 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6385 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6387 esac
6390 interix[3-9]*)
6391 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6395 irix5* | irix6* | nonstopux*)
6396 case $LD in
6397 *-32|*"-32 ") libmagic=32-bit;;
6398 *-n32|*"-n32 ") libmagic=N32;;
6399 *-64|*"-64 ") libmagic=64-bit;;
6400 *) libmagic=never-match;;
6401 esac
6402 lt_cv_deplibs_check_method=pass_all
6405 # This must be Linux ELF.
6406 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6407 lt_cv_deplibs_check_method=pass_all
6410 netbsd*)
6411 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6412 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6413 else
6414 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6418 newos6*)
6419 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6420 lt_cv_file_magic_cmd=/usr/bin/file
6421 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6424 *nto* | *qnx*)
6425 lt_cv_deplibs_check_method=pass_all
6428 openbsd*)
6429 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6431 else
6432 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6436 osf3* | osf4* | osf5*)
6437 lt_cv_deplibs_check_method=pass_all
6440 rdos*)
6441 lt_cv_deplibs_check_method=pass_all
6444 solaris*)
6445 lt_cv_deplibs_check_method=pass_all
6448 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6449 lt_cv_deplibs_check_method=pass_all
6452 sysv4 | sysv4.3*)
6453 case $host_vendor in
6454 motorola)
6455 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]'
6456 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6458 ncr)
6459 lt_cv_deplibs_check_method=pass_all
6461 sequent)
6462 lt_cv_file_magic_cmd='/bin/file'
6463 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6465 sni)
6466 lt_cv_file_magic_cmd='/bin/file'
6467 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6468 lt_cv_file_magic_test_file=/lib/libc.so
6470 siemens)
6471 lt_cv_deplibs_check_method=pass_all
6474 lt_cv_deplibs_check_method=pass_all
6476 esac
6479 tpf*)
6480 lt_cv_deplibs_check_method=pass_all
6482 esac
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6486 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6487 file_magic_cmd=$lt_cv_file_magic_cmd
6488 deplibs_check_method=$lt_cv_deplibs_check_method
6489 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6502 if test -n "$ac_tool_prefix"; then
6503 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6504 set dummy ${ac_tool_prefix}ar; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if test "${ac_cv_prog_AR+set}" = set; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 if test -n "$AR"; then
6511 ac_cv_prog_AR="$AR" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6516 IFS=$as_save_IFS
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6520 ac_cv_prog_AR="${ac_tool_prefix}ar"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6530 AR=$ac_cv_prog_AR
6531 if test -n "$AR"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6533 $as_echo "$AR" >&6; }
6534 else
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6541 if test -z "$ac_cv_prog_AR"; then
6542 ac_ct_AR=$AR
6543 # Extract the first word of "ar", so it can be a program name with args.
6544 set dummy ar; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -n "$ac_ct_AR"; then
6551 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6556 IFS=$as_save_IFS
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6560 ac_cv_prog_ac_ct_AR="ar"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6571 if test -n "$ac_ct_AR"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6573 $as_echo "$ac_ct_AR" >&6; }
6574 else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6579 if test "x$ac_ct_AR" = x; then
6580 AR="false"
6581 else
6582 case $cross_compiling:$ac_tool_warned in
6583 yes:)
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6586 ac_tool_warned=yes ;;
6587 esac
6588 AR=$ac_ct_AR
6590 else
6591 AR="$ac_cv_prog_AR"
6594 test -z "$AR" && AR=ar
6595 test -z "$AR_FLAGS" && AR_FLAGS=cru
6607 if test -n "$ac_tool_prefix"; then
6608 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6609 set dummy ${ac_tool_prefix}strip; ac_word=$2
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6611 $as_echo_n "checking for $ac_word... " >&6; }
6612 if test "${ac_cv_prog_STRIP+set}" = set; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 if test -n "$STRIP"; then
6616 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6617 else
6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 for as_dir in $PATH
6621 IFS=$as_save_IFS
6622 test -z "$as_dir" && as_dir=.
6623 for ac_exec_ext in '' $ac_executable_extensions; do
6624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6625 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627 break 2
6629 done
6630 done
6631 IFS=$as_save_IFS
6635 STRIP=$ac_cv_prog_STRIP
6636 if test -n "$STRIP"; then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6638 $as_echo "$STRIP" >&6; }
6639 else
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 $as_echo "no" >&6; }
6646 if test -z "$ac_cv_prog_STRIP"; then
6647 ac_ct_STRIP=$STRIP
6648 # Extract the first word of "strip", so it can be a program name with args.
6649 set dummy strip; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$ac_ct_STRIP"; then
6656 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_prog_ac_ct_STRIP="strip"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6669 done
6670 done
6671 IFS=$as_save_IFS
6675 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6676 if test -n "$ac_ct_STRIP"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6678 $as_echo "$ac_ct_STRIP" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6684 if test "x$ac_ct_STRIP" = x; then
6685 STRIP=":"
6686 else
6687 case $cross_compiling:$ac_tool_warned in
6688 yes:)
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6691 ac_tool_warned=yes ;;
6692 esac
6693 STRIP=$ac_ct_STRIP
6695 else
6696 STRIP="$ac_cv_prog_STRIP"
6699 test -z "$STRIP" && STRIP=:
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 $as_echo_n "checking for $ac_word... " >&6; }
6711 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6712 $as_echo_n "(cached) " >&6
6713 else
6714 if test -n "$RANLIB"; then
6715 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6716 else
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 for as_dir in $PATH
6720 IFS=$as_save_IFS
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726 break 2
6728 done
6729 done
6730 IFS=$as_save_IFS
6734 RANLIB=$ac_cv_prog_RANLIB
6735 if test -n "$RANLIB"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6737 $as_echo "$RANLIB" >&6; }
6738 else
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6745 if test -z "$ac_cv_prog_RANLIB"; then
6746 ac_ct_RANLIB=$RANLIB
6747 # Extract the first word of "ranlib", so it can be a program name with args.
6748 set dummy ranlib; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6752 $as_echo_n "(cached) " >&6
6753 else
6754 if test -n "$ac_ct_RANLIB"; then
6755 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6760 IFS=$as_save_IFS
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_prog_ac_ct_RANLIB="ranlib"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 break 2
6768 done
6769 done
6770 IFS=$as_save_IFS
6774 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6775 if test -n "$ac_ct_RANLIB"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6777 $as_echo "$ac_ct_RANLIB" >&6; }
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6783 if test "x$ac_ct_RANLIB" = x; then
6784 RANLIB=":"
6785 else
6786 case $cross_compiling:$ac_tool_warned in
6787 yes:)
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6790 ac_tool_warned=yes ;;
6791 esac
6792 RANLIB=$ac_ct_RANLIB
6794 else
6795 RANLIB="$ac_cv_prog_RANLIB"
6798 test -z "$RANLIB" && RANLIB=:
6805 # Determine commands to create old-style static archives.
6806 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6807 old_postinstall_cmds='chmod 644 $oldlib'
6808 old_postuninstall_cmds=
6810 if test -n "$RANLIB"; then
6811 case $host_os in
6812 openbsd*)
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6816 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6818 esac
6819 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6822 case $host_os in
6823 darwin*)
6824 lock_old_archive_extraction=yes ;;
6826 lock_old_archive_extraction=no ;;
6827 esac
6867 # If no C compiler was specified, use CC.
6868 LTCC=${LTCC-"$CC"}
6870 # If no C compiler flags were specified, use CFLAGS.
6871 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6873 # Allow CC to be a program name with arguments.
6874 compiler=$CC
6877 # Check for command to grab the raw symbol name followed by C symbol from nm.
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6879 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6880 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6881 $as_echo_n "(cached) " >&6
6882 else
6884 # These are sane defaults that work on at least a few old systems.
6885 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6887 # Character class describing NM global symbol codes.
6888 symcode='[BCDEGRST]'
6890 # Regexp to match symbols that can be accessed directly from C.
6891 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6893 # Define system-specific variables.
6894 case $host_os in
6895 aix*)
6896 symcode='[BCDT]'
6898 cygwin* | mingw* | pw32* | cegcc*)
6899 symcode='[ABCDGISTW]'
6901 hpux*)
6902 if test "$host_cpu" = ia64; then
6903 symcode='[ABCDEGRST]'
6906 irix* | nonstopux*)
6907 symcode='[BCDEGRST]'
6909 osf*)
6910 symcode='[BCDEGQRST]'
6912 solaris*)
6913 symcode='[BDRT]'
6915 sco3.2v5*)
6916 symcode='[DT]'
6918 sysv4.2uw2*)
6919 symcode='[DT]'
6921 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6922 symcode='[ABDT]'
6924 sysv4)
6925 symcode='[DFNSTU]'
6927 esac
6929 # If we're using GNU nm, then use its standard symbol codes.
6930 case `$NM -V 2>&1` in
6931 *GNU* | *'with BFD'*)
6932 symcode='[ABCDGIRSTW]' ;;
6933 esac
6935 # Transform an extracted symbol line into a proper C declaration.
6936 # Some systems (esp. on ia64) link data and code symbols differently,
6937 # so use this general approach.
6938 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6940 # Transform an extracted symbol line into symbol name and symbol address
6941 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6942 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'"
6944 # Handle CRLF in mingw tool chain
6945 opt_cr=
6946 case $build_os in
6947 mingw*)
6948 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6950 esac
6952 # Try without a prefix underscore, then with it.
6953 for ac_symprfx in "" "_"; do
6955 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6956 symxfrm="\\1 $ac_symprfx\\2 \\2"
6958 # Write the raw and C identifiers.
6959 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6960 # Fake it for dumpbin and say T for any non-static function
6961 # and D for any global variable.
6962 # Also find C++ and __fastcall symbols from MSVC++,
6963 # which start with @ or ?.
6964 lt_cv_sys_global_symbol_pipe="$AWK '"\
6965 " {last_section=section; section=\$ 3};"\
6966 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6967 " \$ 0!~/External *\|/{next};"\
6968 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6969 " {if(hide[section]) next};"\
6970 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6971 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6972 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6973 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6974 " ' prfx=^$ac_symprfx"
6975 else
6976 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6979 # Check to see that the pipe works correctly.
6980 pipe_works=no
6982 rm -f conftest*
6983 cat > conftest.$ac_ext <<_LT_EOF
6984 #ifdef __cplusplus
6985 extern "C" {
6986 #endif
6987 char nm_test_var;
6988 void nm_test_func(void);
6989 void nm_test_func(void){}
6990 #ifdef __cplusplus
6992 #endif
6993 int main(){nm_test_var='a';nm_test_func();return(0);}
6994 _LT_EOF
6996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6997 (eval $ac_compile) 2>&5
6998 ac_status=$?
6999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7000 test $ac_status = 0; }; then
7001 # Now try to grab the symbols.
7002 nlist=conftest.nm
7003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7004 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7005 ac_status=$?
7006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7007 test $ac_status = 0; } && test -s "$nlist"; then
7008 # Try sorting and uniquifying the output.
7009 if sort "$nlist" | uniq > "$nlist"T; then
7010 mv -f "$nlist"T "$nlist"
7011 else
7012 rm -f "$nlist"T
7015 # Make sure that we snagged all the symbols we need.
7016 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7017 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7018 cat <<_LT_EOF > conftest.$ac_ext
7019 #ifdef __cplusplus
7020 extern "C" {
7021 #endif
7023 _LT_EOF
7024 # Now generate the symbol file.
7025 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7027 cat <<_LT_EOF >> conftest.$ac_ext
7029 /* The mapping between symbol names and symbols. */
7030 const struct {
7031 const char *name;
7032 void *address;
7034 lt__PROGRAM__LTX_preloaded_symbols[] =
7036 { "@PROGRAM@", (void *) 0 },
7037 _LT_EOF
7038 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7039 cat <<\_LT_EOF >> conftest.$ac_ext
7040 {0, (void *) 0}
7043 /* This works around a problem in FreeBSD linker */
7044 #ifdef FREEBSD_WORKAROUND
7045 static const void *lt_preloaded_setup() {
7046 return lt__PROGRAM__LTX_preloaded_symbols;
7048 #endif
7050 #ifdef __cplusplus
7052 #endif
7053 _LT_EOF
7054 # Now try linking the two files.
7055 mv conftest.$ac_objext conftstm.$ac_objext
7056 lt_save_LIBS="$LIBS"
7057 lt_save_CFLAGS="$CFLAGS"
7058 LIBS="conftstm.$ac_objext"
7059 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7061 (eval $ac_link) 2>&5
7062 ac_status=$?
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7065 pipe_works=yes
7067 LIBS="$lt_save_LIBS"
7068 CFLAGS="$lt_save_CFLAGS"
7069 else
7070 echo "cannot find nm_test_func in $nlist" >&5
7072 else
7073 echo "cannot find nm_test_var in $nlist" >&5
7075 else
7076 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7078 else
7079 echo "$progname: failed program was:" >&5
7080 cat conftest.$ac_ext >&5
7082 rm -rf conftest* conftst*
7084 # Do not use the global_symbol_pipe unless it works.
7085 if test "$pipe_works" = yes; then
7086 break
7087 else
7088 lt_cv_sys_global_symbol_pipe=
7090 done
7094 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7095 lt_cv_sys_global_symbol_to_cdecl=
7097 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7099 $as_echo "failed" >&6; }
7100 else
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7102 $as_echo "ok" >&6; }
7126 # Check whether --enable-libtool-lock was given.
7127 if test "${enable_libtool_lock+set}" = set; then :
7128 enableval=$enable_libtool_lock;
7131 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7133 # Some flags need to be propagated to the compiler or linker for good
7134 # libtool support.
7135 case $host in
7136 ia64-*-hpux*)
7137 # Find out which ABI we are using.
7138 echo 'int i;' > conftest.$ac_ext
7139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7140 (eval $ac_compile) 2>&5
7141 ac_status=$?
7142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7143 test $ac_status = 0; }; then
7144 case `/usr/bin/file conftest.$ac_objext` in
7145 *ELF-32*)
7146 HPUX_IA64_MODE="32"
7148 *ELF-64*)
7149 HPUX_IA64_MODE="64"
7151 esac
7153 rm -rf conftest*
7155 *-*-irix6*)
7156 # Find out which ABI we are using.
7157 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7159 (eval $ac_compile) 2>&5
7160 ac_status=$?
7161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7162 test $ac_status = 0; }; then
7163 if test "$lt_cv_prog_gnu_ld" = yes; then
7164 case `/usr/bin/file conftest.$ac_objext` in
7165 *32-bit*)
7166 LD="${LD-ld} -melf32bsmip"
7168 *N32*)
7169 LD="${LD-ld} -melf32bmipn32"
7171 *64-bit*)
7172 LD="${LD-ld} -melf64bmip"
7174 esac
7175 else
7176 case `/usr/bin/file conftest.$ac_objext` in
7177 *32-bit*)
7178 LD="${LD-ld} -32"
7180 *N32*)
7181 LD="${LD-ld} -n32"
7183 *64-bit*)
7184 LD="${LD-ld} -64"
7186 esac
7189 rm -rf conftest*
7192 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7193 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7194 # Find out which ABI we are using.
7195 echo 'int i;' > conftest.$ac_ext
7196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7197 (eval $ac_compile) 2>&5
7198 ac_status=$?
7199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7200 test $ac_status = 0; }; then
7201 case `/usr/bin/file conftest.o` in
7202 *32-bit*)
7203 case $host in
7204 x86_64-*kfreebsd*-gnu)
7205 LD="${LD-ld} -m elf_i386_fbsd"
7207 x86_64-*linux*)
7208 case `/usr/bin/file conftest.o` in
7209 *x86-64*)
7210 LD="${LD-ld} -m elf32_x86_64"
7213 LD="${LD-ld} -m elf_i386"
7215 esac
7217 powerpc64le-*linux*)
7218 LD="${LD-ld} -m elf32lppclinux"
7220 powerpc64-*linux*)
7221 LD="${LD-ld} -m elf32ppclinux"
7223 s390x-*linux*)
7224 LD="${LD-ld} -m elf_s390"
7226 sparc64-*linux*)
7227 LD="${LD-ld} -m elf32_sparc"
7229 esac
7231 *64-bit*)
7232 case $host in
7233 x86_64-*kfreebsd*-gnu)
7234 LD="${LD-ld} -m elf_x86_64_fbsd"
7236 x86_64-*linux*)
7237 LD="${LD-ld} -m elf_x86_64"
7239 powerpcle-*linux*)
7240 LD="${LD-ld} -m elf64lppc"
7242 powerpc-*linux*)
7243 LD="${LD-ld} -m elf64ppc"
7245 s390*-*linux*|s390*-*tpf*)
7246 LD="${LD-ld} -m elf64_s390"
7248 sparc*-*linux*)
7249 LD="${LD-ld} -m elf64_sparc"
7251 esac
7253 esac
7255 rm -rf conftest*
7258 *-*-sco3.2v5*)
7259 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7260 SAVE_CFLAGS="$CFLAGS"
7261 CFLAGS="$CFLAGS -belf"
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7263 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7264 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7265 $as_echo_n "(cached) " >&6
7266 else
7267 ac_ext=c
7268 ac_cpp='$CPP $CPPFLAGS'
7269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7273 if test x$gcc_no_link = xyes; then
7274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7280 main ()
7284 return 0;
7286 _ACEOF
7287 if ac_fn_c_try_link "$LINENO"; then :
7288 lt_cv_cc_needs_belf=yes
7289 else
7290 lt_cv_cc_needs_belf=no
7292 rm -f core conftest.err conftest.$ac_objext \
7293 conftest$ac_exeext conftest.$ac_ext
7294 ac_ext=c
7295 ac_cpp='$CPP $CPPFLAGS'
7296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7302 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7303 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7304 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7305 CFLAGS="$SAVE_CFLAGS"
7308 sparc*-*solaris*)
7309 # Find out which ABI we are using.
7310 echo 'int i;' > conftest.$ac_ext
7311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7312 (eval $ac_compile) 2>&5
7313 ac_status=$?
7314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7315 test $ac_status = 0; }; then
7316 case `/usr/bin/file conftest.o` in
7317 *64-bit*)
7318 case $lt_cv_prog_gnu_ld in
7319 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7321 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7322 LD="${LD-ld} -64"
7325 esac
7327 esac
7329 rm -rf conftest*
7331 esac
7333 need_locks="$enable_libtool_lock"
7336 case $host_os in
7337 rhapsody* | darwin*)
7338 if test -n "$ac_tool_prefix"; then
7339 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 if test -n "$DSYMUTIL"; then
7347 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7352 IFS=$as_save_IFS
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 break 2
7360 done
7361 done
7362 IFS=$as_save_IFS
7366 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7367 if test -n "$DSYMUTIL"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7369 $as_echo "$DSYMUTIL" >&6; }
7370 else
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7377 if test -z "$ac_cv_prog_DSYMUTIL"; then
7378 ac_ct_DSYMUTIL=$DSYMUTIL
7379 # Extract the first word of "dsymutil", so it can be a program name with args.
7380 set dummy dsymutil; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$ac_ct_DSYMUTIL"; then
7387 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7407 if test -n "$ac_ct_DSYMUTIL"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7409 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7415 if test "x$ac_ct_DSYMUTIL" = x; then
7416 DSYMUTIL=":"
7417 else
7418 case $cross_compiling:$ac_tool_warned in
7419 yes:)
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7422 ac_tool_warned=yes ;;
7423 esac
7424 DSYMUTIL=$ac_ct_DSYMUTIL
7426 else
7427 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7436 $as_echo_n "(cached) " >&6
7437 else
7438 if test -n "$NMEDIT"; then
7439 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7440 else
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 for as_dir in $PATH
7444 IFS=$as_save_IFS
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 break 2
7452 done
7453 done
7454 IFS=$as_save_IFS
7458 NMEDIT=$ac_cv_prog_NMEDIT
7459 if test -n "$NMEDIT"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7461 $as_echo "$NMEDIT" >&6; }
7462 else
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7469 if test -z "$ac_cv_prog_NMEDIT"; then
7470 ac_ct_NMEDIT=$NMEDIT
7471 # Extract the first word of "nmedit", so it can be a program name with args.
7472 set dummy nmedit; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -n "$ac_ct_NMEDIT"; then
7479 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7492 done
7493 done
7494 IFS=$as_save_IFS
7498 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7499 if test -n "$ac_ct_NMEDIT"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7501 $as_echo "$ac_ct_NMEDIT" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7507 if test "x$ac_ct_NMEDIT" = x; then
7508 NMEDIT=":"
7509 else
7510 case $cross_compiling:$ac_tool_warned in
7511 yes:)
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned=yes ;;
7515 esac
7516 NMEDIT=$ac_ct_NMEDIT
7518 else
7519 NMEDIT="$ac_cv_prog_NMEDIT"
7522 if test -n "$ac_tool_prefix"; then
7523 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7524 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if test "${ac_cv_prog_LIPO+set}" = set; then :
7528 $as_echo_n "(cached) " >&6
7529 else
7530 if test -n "$LIPO"; then
7531 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7532 else
7533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 for as_dir in $PATH
7536 IFS=$as_save_IFS
7537 test -z "$as_dir" && as_dir=.
7538 for ac_exec_ext in '' $ac_executable_extensions; do
7539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7540 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 break 2
7544 done
7545 done
7546 IFS=$as_save_IFS
7550 LIPO=$ac_cv_prog_LIPO
7551 if test -n "$LIPO"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7553 $as_echo "$LIPO" >&6; }
7554 else
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7561 if test -z "$ac_cv_prog_LIPO"; then
7562 ac_ct_LIPO=$LIPO
7563 # Extract the first word of "lipo", so it can be a program name with args.
7564 set dummy lipo; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7569 else
7570 if test -n "$ac_ct_LIPO"; then
7571 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7572 else
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 for as_dir in $PATH
7576 IFS=$as_save_IFS
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_ac_ct_LIPO="lipo"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 break 2
7584 done
7585 done
7586 IFS=$as_save_IFS
7590 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7591 if test -n "$ac_ct_LIPO"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7593 $as_echo "$ac_ct_LIPO" >&6; }
7594 else
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7599 if test "x$ac_ct_LIPO" = x; then
7600 LIPO=":"
7601 else
7602 case $cross_compiling:$ac_tool_warned in
7603 yes:)
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7606 ac_tool_warned=yes ;;
7607 esac
7608 LIPO=$ac_ct_LIPO
7610 else
7611 LIPO="$ac_cv_prog_LIPO"
7614 if test -n "$ac_tool_prefix"; then
7615 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7616 set dummy ${ac_tool_prefix}otool; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7620 $as_echo_n "(cached) " >&6
7621 else
7622 if test -n "$OTOOL"; then
7623 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7624 else
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 for as_dir in $PATH
7628 IFS=$as_save_IFS
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634 break 2
7636 done
7637 done
7638 IFS=$as_save_IFS
7642 OTOOL=$ac_cv_prog_OTOOL
7643 if test -n "$OTOOL"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7645 $as_echo "$OTOOL" >&6; }
7646 else
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7653 if test -z "$ac_cv_prog_OTOOL"; then
7654 ac_ct_OTOOL=$OTOOL
7655 # Extract the first word of "otool", so it can be a program name with args.
7656 set dummy otool; ac_word=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 $as_echo_n "checking for $ac_word... " >&6; }
7659 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7660 $as_echo_n "(cached) " >&6
7661 else
7662 if test -n "$ac_ct_OTOOL"; then
7663 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7664 else
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666 for as_dir in $PATH
7668 IFS=$as_save_IFS
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7672 ac_cv_prog_ac_ct_OTOOL="otool"
7673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7674 break 2
7676 done
7677 done
7678 IFS=$as_save_IFS
7682 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7683 if test -n "$ac_ct_OTOOL"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7685 $as_echo "$ac_ct_OTOOL" >&6; }
7686 else
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7688 $as_echo "no" >&6; }
7691 if test "x$ac_ct_OTOOL" = x; then
7692 OTOOL=":"
7693 else
7694 case $cross_compiling:$ac_tool_warned in
7695 yes:)
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7698 ac_tool_warned=yes ;;
7699 esac
7700 OTOOL=$ac_ct_OTOOL
7702 else
7703 OTOOL="$ac_cv_prog_OTOOL"
7706 if test -n "$ac_tool_prefix"; then
7707 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7708 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7710 $as_echo_n "checking for $ac_word... " >&6; }
7711 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7712 $as_echo_n "(cached) " >&6
7713 else
7714 if test -n "$OTOOL64"; then
7715 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7716 else
7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 for as_dir in $PATH
7720 IFS=$as_save_IFS
7721 test -z "$as_dir" && as_dir=.
7722 for ac_exec_ext in '' $ac_executable_extensions; do
7723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7724 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 break 2
7728 done
7729 done
7730 IFS=$as_save_IFS
7734 OTOOL64=$ac_cv_prog_OTOOL64
7735 if test -n "$OTOOL64"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7737 $as_echo "$OTOOL64" >&6; }
7738 else
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7740 $as_echo "no" >&6; }
7745 if test -z "$ac_cv_prog_OTOOL64"; then
7746 ac_ct_OTOOL64=$OTOOL64
7747 # Extract the first word of "otool64", so it can be a program name with args.
7748 set dummy otool64; ac_word=$2
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750 $as_echo_n "checking for $ac_word... " >&6; }
7751 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7752 $as_echo_n "(cached) " >&6
7753 else
7754 if test -n "$ac_ct_OTOOL64"; then
7755 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7756 else
7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 for as_dir in $PATH
7760 IFS=$as_save_IFS
7761 test -z "$as_dir" && as_dir=.
7762 for ac_exec_ext in '' $ac_executable_extensions; do
7763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764 ac_cv_prog_ac_ct_OTOOL64="otool64"
7765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 break 2
7768 done
7769 done
7770 IFS=$as_save_IFS
7774 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7775 if test -n "$ac_ct_OTOOL64"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7777 $as_echo "$ac_ct_OTOOL64" >&6; }
7778 else
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }
7783 if test "x$ac_ct_OTOOL64" = x; then
7784 OTOOL64=":"
7785 else
7786 case $cross_compiling:$ac_tool_warned in
7787 yes:)
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7790 ac_tool_warned=yes ;;
7791 esac
7792 OTOOL64=$ac_ct_OTOOL64
7794 else
7795 OTOOL64="$ac_cv_prog_OTOOL64"
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7825 $as_echo_n "checking for -single_module linker flag... " >&6; }
7826 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7827 $as_echo_n "(cached) " >&6
7828 else
7829 lt_cv_apple_cc_single_mod=no
7830 if test -z "${LT_MULTI_MODULE}"; then
7831 # By default we will add the -single_module flag. You can override
7832 # by either setting the environment variable LT_MULTI_MODULE
7833 # non-empty at configure time, or by adding -multi_module to the
7834 # link flags.
7835 rm -rf libconftest.dylib*
7836 echo "int foo(void){return 1;}" > conftest.c
7837 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7838 -dynamiclib -Wl,-single_module conftest.c" >&5
7839 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7840 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7841 _lt_result=$?
7842 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7843 lt_cv_apple_cc_single_mod=yes
7844 else
7845 cat conftest.err >&5
7847 rm -rf libconftest.dylib*
7848 rm -f conftest.*
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7852 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7854 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7855 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 lt_cv_ld_exported_symbols_list=no
7859 save_LDFLAGS=$LDFLAGS
7860 echo "_main" > conftest.sym
7861 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7862 if test x$gcc_no_link = xyes; then
7863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7869 main ()
7873 return 0;
7875 _ACEOF
7876 if ac_fn_c_try_link "$LINENO"; then :
7877 lt_cv_ld_exported_symbols_list=yes
7878 else
7879 lt_cv_ld_exported_symbols_list=no
7881 rm -f core conftest.err conftest.$ac_objext \
7882 conftest$ac_exeext conftest.$ac_ext
7883 LDFLAGS="$save_LDFLAGS"
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7887 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7889 $as_echo_n "checking for -force_load linker flag... " >&6; }
7890 if test "${lt_cv_ld_force_load+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7892 else
7893 lt_cv_ld_force_load=no
7894 cat > conftest.c << _LT_EOF
7895 int forced_loaded() { return 2;}
7896 _LT_EOF
7897 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7898 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7899 echo "$AR cru libconftest.a conftest.o" >&5
7900 $AR cru libconftest.a conftest.o 2>&5
7901 cat > conftest.c << _LT_EOF
7902 int main() { return 0;}
7903 _LT_EOF
7904 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7905 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7906 _lt_result=$?
7907 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7908 lt_cv_ld_force_load=yes
7909 else
7910 cat conftest.err >&5
7912 rm -f conftest.err libconftest.a conftest conftest.c
7913 rm -rf conftest.dSYM
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7917 $as_echo "$lt_cv_ld_force_load" >&6; }
7918 case $host_os in
7919 rhapsody* | darwin1.[012])
7920 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7921 darwin1.*)
7922 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7923 darwin*) # darwin 5.x on
7924 # if running on 10.5 or later, the deployment target defaults
7925 # to the OS version, if on x86, and 10.4, the deployment
7926 # target defaults to 10.4. Don't you love it?
7927 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7928 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7929 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7930 10.[012][,.]*)
7931 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7932 10.*)
7933 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7934 esac
7936 esac
7937 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7938 _lt_dar_single_mod='$single_module'
7940 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7941 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7942 else
7943 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7945 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7946 _lt_dsymutil='~$DSYMUTIL $lib || :'
7947 else
7948 _lt_dsymutil=
7951 esac
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7954 $as_echo_n "checking for ANSI C header files... " >&6; }
7955 if test "${ac_cv_header_stdc+set}" = set; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7960 #include <stdlib.h>
7961 #include <stdarg.h>
7962 #include <string.h>
7963 #include <float.h>
7966 main ()
7970 return 0;
7972 _ACEOF
7973 if ac_fn_c_try_compile "$LINENO"; then :
7974 ac_cv_header_stdc=yes
7975 else
7976 ac_cv_header_stdc=no
7978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7980 if test $ac_cv_header_stdc = yes; then
7981 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7983 /* end confdefs.h. */
7984 #include <string.h>
7986 _ACEOF
7987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7988 $EGREP "memchr" >/dev/null 2>&1; then :
7990 else
7991 ac_cv_header_stdc=no
7993 rm -f conftest*
7997 if test $ac_cv_header_stdc = yes; then
7998 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 #include <stdlib.h>
8003 _ACEOF
8004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8005 $EGREP "free" >/dev/null 2>&1; then :
8007 else
8008 ac_cv_header_stdc=no
8010 rm -f conftest*
8014 if test $ac_cv_header_stdc = yes; then
8015 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8016 if test "$cross_compiling" = yes; then :
8018 else
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 #include <ctype.h>
8022 #include <stdlib.h>
8023 #if ((' ' & 0x0FF) == 0x020)
8024 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8025 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8026 #else
8027 # define ISLOWER(c) \
8028 (('a' <= (c) && (c) <= 'i') \
8029 || ('j' <= (c) && (c) <= 'r') \
8030 || ('s' <= (c) && (c) <= 'z'))
8031 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8032 #endif
8034 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8036 main ()
8038 int i;
8039 for (i = 0; i < 256; i++)
8040 if (XOR (islower (i), ISLOWER (i))
8041 || toupper (i) != TOUPPER (i))
8042 return 2;
8043 return 0;
8045 _ACEOF
8046 if ac_fn_c_try_run "$LINENO"; then :
8048 else
8049 ac_cv_header_stdc=no
8051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8052 conftest.$ac_objext conftest.beam conftest.$ac_ext
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8058 $as_echo "$ac_cv_header_stdc" >&6; }
8059 if test $ac_cv_header_stdc = yes; then
8061 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8065 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8066 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8067 inttypes.h stdint.h unistd.h
8068 do :
8069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8070 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8072 eval as_val=\$$as_ac_Header
8073 if test "x$as_val" = x""yes; then :
8074 cat >>confdefs.h <<_ACEOF
8075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 _ACEOF
8080 done
8083 for ac_header in dlfcn.h
8084 do :
8085 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8087 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_DLFCN_H 1
8090 _ACEOF
8094 done
8101 # Set options
8106 enable_win32_dll=no
8109 # Check whether --enable-shared was given.
8110 if test "${enable_shared+set}" = set; then :
8111 enableval=$enable_shared; p=${PACKAGE-default}
8112 case $enableval in
8113 yes) enable_shared=yes ;;
8114 no) enable_shared=no ;;
8116 enable_shared=no
8117 # Look at the argument we got. We use all the common list separators.
8118 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8119 for pkg in $enableval; do
8120 IFS="$lt_save_ifs"
8121 if test "X$pkg" = "X$p"; then
8122 enable_shared=yes
8124 done
8125 IFS="$lt_save_ifs"
8127 esac
8128 else
8129 enable_shared=yes
8140 # Check whether --enable-static was given.
8141 if test "${enable_static+set}" = set; then :
8142 enableval=$enable_static; p=${PACKAGE-default}
8143 case $enableval in
8144 yes) enable_static=yes ;;
8145 no) enable_static=no ;;
8147 enable_static=no
8148 # Look at the argument we got. We use all the common list separators.
8149 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8150 for pkg in $enableval; do
8151 IFS="$lt_save_ifs"
8152 if test "X$pkg" = "X$p"; then
8153 enable_static=yes
8155 done
8156 IFS="$lt_save_ifs"
8158 esac
8159 else
8160 enable_static=yes
8172 # Check whether --with-pic was given.
8173 if test "${with_pic+set}" = set; then :
8174 withval=$with_pic; pic_mode="$withval"
8175 else
8176 pic_mode=default
8180 test -z "$pic_mode" && pic_mode=default
8188 # Check whether --enable-fast-install was given.
8189 if test "${enable_fast_install+set}" = set; then :
8190 enableval=$enable_fast_install; p=${PACKAGE-default}
8191 case $enableval in
8192 yes) enable_fast_install=yes ;;
8193 no) enable_fast_install=no ;;
8195 enable_fast_install=no
8196 # Look at the argument we got. We use all the common list separators.
8197 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8198 for pkg in $enableval; do
8199 IFS="$lt_save_ifs"
8200 if test "X$pkg" = "X$p"; then
8201 enable_fast_install=yes
8203 done
8204 IFS="$lt_save_ifs"
8206 esac
8207 else
8208 enable_fast_install=yes
8221 # This can be used to rebuild libtool when needed
8222 LIBTOOL_DEPS="$ltmain"
8224 # Always use our own libtool.
8225 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8252 test -z "$LN_S" && LN_S="ln -s"
8267 if test -n "${ZSH_VERSION+set}" ; then
8268 setopt NO_GLOB_SUBST
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8272 $as_echo_n "checking for objdir... " >&6; }
8273 if test "${lt_cv_objdir+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 rm -f .libs 2>/dev/null
8277 mkdir .libs 2>/dev/null
8278 if test -d .libs; then
8279 lt_cv_objdir=.libs
8280 else
8281 # MS-DOS does not allow filenames that begin with a dot.
8282 lt_cv_objdir=_libs
8284 rmdir .libs 2>/dev/null
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8287 $as_echo "$lt_cv_objdir" >&6; }
8288 objdir=$lt_cv_objdir
8294 cat >>confdefs.h <<_ACEOF
8295 #define LT_OBJDIR "$lt_cv_objdir/"
8296 _ACEOF
8301 case $host_os in
8302 aix3*)
8303 # AIX sometimes has problems with the GCC collect2 program. For some
8304 # reason, if we set the COLLECT_NAMES environment variable, the problems
8305 # vanish in a puff of smoke.
8306 if test "X${COLLECT_NAMES+set}" != Xset; then
8307 COLLECT_NAMES=
8308 export COLLECT_NAMES
8311 esac
8313 # Global variables:
8314 ofile=libtool
8315 can_build_shared=yes
8317 # All known linkers require a `.a' archive for static linking (except MSVC,
8318 # which needs '.lib').
8319 libext=a
8321 with_gnu_ld="$lt_cv_prog_gnu_ld"
8323 old_CC="$CC"
8324 old_CFLAGS="$CFLAGS"
8326 # Set sane defaults for various variables
8327 test -z "$CC" && CC=cc
8328 test -z "$LTCC" && LTCC=$CC
8329 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8330 test -z "$LD" && LD=ld
8331 test -z "$ac_objext" && ac_objext=o
8333 for cc_temp in $compiler""; do
8334 case $cc_temp in
8335 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8336 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8337 \-*) ;;
8338 *) break;;
8339 esac
8340 done
8341 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8344 # Only perform the check for file, if the check method requires it
8345 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8346 case $deplibs_check_method in
8347 file_magic*)
8348 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8350 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8351 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 case $MAGIC_CMD in
8355 [\\/*] | ?:[\\/]*)
8356 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8359 lt_save_MAGIC_CMD="$MAGIC_CMD"
8360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8361 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8362 for ac_dir in $ac_dummy; do
8363 IFS="$lt_save_ifs"
8364 test -z "$ac_dir" && ac_dir=.
8365 if test -f $ac_dir/${ac_tool_prefix}file; then
8366 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8367 if test -n "$file_magic_test_file"; then
8368 case $deplibs_check_method in
8369 "file_magic "*)
8370 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8373 $EGREP "$file_magic_regex" > /dev/null; then
8375 else
8376 cat <<_LT_EOF 1>&2
8378 *** Warning: the command libtool uses to detect shared libraries,
8379 *** $file_magic_cmd, produces output that libtool cannot recognize.
8380 *** The result is that libtool may fail to recognize shared libraries
8381 *** as such. This will affect the creation of libtool libraries that
8382 *** depend on shared libraries, but programs linked with such libtool
8383 *** libraries will work regardless of this problem. Nevertheless, you
8384 *** may want to report the problem to your system manager and/or to
8385 *** bug-libtool@gnu.org
8387 _LT_EOF
8388 fi ;;
8389 esac
8391 break
8393 done
8394 IFS="$lt_save_ifs"
8395 MAGIC_CMD="$lt_save_MAGIC_CMD"
8397 esac
8400 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8401 if test -n "$MAGIC_CMD"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8403 $as_echo "$MAGIC_CMD" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8413 if test -z "$lt_cv_path_MAGIC_CMD"; then
8414 if test -n "$ac_tool_prefix"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8416 $as_echo_n "checking for file... " >&6; }
8417 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 case $MAGIC_CMD in
8421 [\\/*] | ?:[\\/]*)
8422 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8425 lt_save_MAGIC_CMD="$MAGIC_CMD"
8426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8427 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8428 for ac_dir in $ac_dummy; do
8429 IFS="$lt_save_ifs"
8430 test -z "$ac_dir" && ac_dir=.
8431 if test -f $ac_dir/file; then
8432 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8433 if test -n "$file_magic_test_file"; then
8434 case $deplibs_check_method in
8435 "file_magic "*)
8436 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8437 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8438 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8439 $EGREP "$file_magic_regex" > /dev/null; then
8441 else
8442 cat <<_LT_EOF 1>&2
8444 *** Warning: the command libtool uses to detect shared libraries,
8445 *** $file_magic_cmd, produces output that libtool cannot recognize.
8446 *** The result is that libtool may fail to recognize shared libraries
8447 *** as such. This will affect the creation of libtool libraries that
8448 *** depend on shared libraries, but programs linked with such libtool
8449 *** libraries will work regardless of this problem. Nevertheless, you
8450 *** may want to report the problem to your system manager and/or to
8451 *** bug-libtool@gnu.org
8453 _LT_EOF
8454 fi ;;
8455 esac
8457 break
8459 done
8460 IFS="$lt_save_ifs"
8461 MAGIC_CMD="$lt_save_MAGIC_CMD"
8463 esac
8466 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8467 if test -n "$MAGIC_CMD"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8469 $as_echo "$MAGIC_CMD" >&6; }
8470 else
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 $as_echo "no" >&6; }
8476 else
8477 MAGIC_CMD=:
8483 esac
8485 # Use C for the default configuration in the libtool script
8487 lt_save_CC="$CC"
8488 ac_ext=c
8489 ac_cpp='$CPP $CPPFLAGS'
8490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8495 # Source file extension for C test sources.
8496 ac_ext=c
8498 # Object file extension for compiled C test sources.
8499 objext=o
8500 objext=$objext
8502 # Code to be used in simple compile tests
8503 lt_simple_compile_test_code="int some_variable = 0;"
8505 # Code to be used in simple link tests
8506 lt_simple_link_test_code='int main(){return(0);}'
8514 # If no C compiler was specified, use CC.
8515 LTCC=${LTCC-"$CC"}
8517 # If no C compiler flags were specified, use CFLAGS.
8518 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8520 # Allow CC to be a program name with arguments.
8521 compiler=$CC
8523 # Save the default compiler, since it gets overwritten when the other
8524 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8525 compiler_DEFAULT=$CC
8527 # save warnings/boilerplate of simple test code
8528 ac_outfile=conftest.$ac_objext
8529 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8530 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8531 _lt_compiler_boilerplate=`cat conftest.err`
8532 $RM conftest*
8534 ac_outfile=conftest.$ac_objext
8535 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8536 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8537 _lt_linker_boilerplate=`cat conftest.err`
8538 $RM -r conftest*
8541 ## CAVEAT EMPTOR:
8542 ## There is no encapsulation within the following macros, do not change
8543 ## the running order or otherwise move them around unless you know exactly
8544 ## what you are doing...
8545 if test -n "$compiler"; then
8547 lt_prog_compiler_no_builtin_flag=
8549 if test "$GCC" = yes; then
8550 case $cc_basename in
8551 nvcc*)
8552 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8554 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8555 esac
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8558 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8559 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 lt_cv_prog_compiler_rtti_exceptions=no
8563 ac_outfile=conftest.$ac_objext
8564 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8565 lt_compiler_flag="-fno-rtti -fno-exceptions"
8566 # Insert the option either (1) after the last *FLAGS variable, or
8567 # (2) before a word containing "conftest.", or (3) at the end.
8568 # Note that $ac_compile itself does not contain backslashes and begins
8569 # with a dollar sign (not a hyphen), so the echo should work correctly.
8570 # The option is referenced via a variable to avoid confusing sed.
8571 lt_compile=`echo "$ac_compile" | $SED \
8572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8574 -e 's:$: $lt_compiler_flag:'`
8575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8576 (eval "$lt_compile" 2>conftest.err)
8577 ac_status=$?
8578 cat conftest.err >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 if (exit $ac_status) && test -s "$ac_outfile"; then
8581 # The compiler can only warn and ignore the option if not recognized
8582 # So say no if there are warnings other than the usual output.
8583 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8585 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8586 lt_cv_prog_compiler_rtti_exceptions=yes
8589 $RM conftest*
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8593 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8595 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8596 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8597 else
8608 lt_prog_compiler_wl=
8609 lt_prog_compiler_pic=
8610 lt_prog_compiler_static=
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8613 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8615 if test "$GCC" = yes; then
8616 lt_prog_compiler_wl='-Wl,'
8617 lt_prog_compiler_static='-static'
8619 case $host_os in
8620 aix*)
8621 # All AIX code is PIC.
8622 if test "$host_cpu" = ia64; then
8623 # AIX 5 now supports IA64 processor
8624 lt_prog_compiler_static='-Bstatic'
8626 lt_prog_compiler_pic='-fPIC'
8629 amigaos*)
8630 case $host_cpu in
8631 powerpc)
8632 # see comment about AmigaOS4 .so support
8633 lt_prog_compiler_pic='-fPIC'
8635 m68k)
8636 # FIXME: we need at least 68020 code to build shared libraries, but
8637 # adding the `-m68020' flag to GCC prevents building anything better,
8638 # like `-m68040'.
8639 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8641 esac
8644 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8645 # PIC is the default for these OSes.
8648 mingw* | cygwin* | pw32* | os2* | cegcc*)
8649 # This hack is so that the source file can tell whether it is being
8650 # built for inclusion in a dll (and should export symbols for example).
8651 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8652 # (--disable-auto-import) libraries
8653 lt_prog_compiler_pic='-DDLL_EXPORT'
8656 darwin* | rhapsody*)
8657 # PIC is the default on this platform
8658 # Common symbols not allowed in MH_DYLIB files
8659 lt_prog_compiler_pic='-fno-common'
8662 haiku*)
8663 # PIC is the default for Haiku.
8664 # The "-static" flag exists, but is broken.
8665 lt_prog_compiler_static=
8668 hpux*)
8669 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8670 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8671 # sets the default TLS model and affects inlining.
8672 case $host_cpu in
8673 hppa*64*)
8674 # +Z the default
8677 lt_prog_compiler_pic='-fPIC'
8679 esac
8682 interix[3-9]*)
8683 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8684 # Instead, we relocate shared libraries at runtime.
8687 msdosdjgpp*)
8688 # Just because we use GCC doesn't mean we suddenly get shared libraries
8689 # on systems that don't support them.
8690 lt_prog_compiler_can_build_shared=no
8691 enable_shared=no
8694 *nto* | *qnx*)
8695 # QNX uses GNU C++, but need to define -shared option too, otherwise
8696 # it will coredump.
8697 lt_prog_compiler_pic='-fPIC -shared'
8700 sysv4*MP*)
8701 if test -d /usr/nec; then
8702 lt_prog_compiler_pic=-Kconform_pic
8707 lt_prog_compiler_pic='-fPIC'
8709 esac
8711 case $cc_basename in
8712 nvcc*) # Cuda Compiler Driver 2.2
8713 lt_prog_compiler_wl='-Xlinker '
8714 lt_prog_compiler_pic='-Xcompiler -fPIC'
8716 esac
8717 else
8718 # PORTME Check for flag to pass linker flags through the system compiler.
8719 case $host_os in
8720 aix*)
8721 lt_prog_compiler_wl='-Wl,'
8722 if test "$host_cpu" = ia64; then
8723 # AIX 5 now supports IA64 processor
8724 lt_prog_compiler_static='-Bstatic'
8725 else
8726 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8730 mingw* | cygwin* | pw32* | os2* | cegcc*)
8731 # This hack is so that the source file can tell whether it is being
8732 # built for inclusion in a dll (and should export symbols for example).
8733 lt_prog_compiler_pic='-DDLL_EXPORT'
8736 hpux9* | hpux10* | hpux11*)
8737 lt_prog_compiler_wl='-Wl,'
8738 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8739 # not for PA HP-UX.
8740 case $host_cpu in
8741 hppa*64*|ia64*)
8742 # +Z the default
8745 lt_prog_compiler_pic='+Z'
8747 esac
8748 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8749 lt_prog_compiler_static='${wl}-a ${wl}archive'
8752 irix5* | irix6* | nonstopux*)
8753 lt_prog_compiler_wl='-Wl,'
8754 # PIC (with -KPIC) is the default.
8755 lt_prog_compiler_static='-non_shared'
8758 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8759 case $cc_basename in
8760 # old Intel for x86_64 which still supported -KPIC.
8761 ecc*)
8762 lt_prog_compiler_wl='-Wl,'
8763 lt_prog_compiler_pic='-KPIC'
8764 lt_prog_compiler_static='-static'
8766 # icc used to be incompatible with GCC.
8767 # ICC 10 doesn't accept -KPIC any more.
8768 icc* | ifort*)
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_pic='-fPIC'
8771 lt_prog_compiler_static='-static'
8773 # Lahey Fortran 8.1.
8774 lf95*)
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_pic='--shared'
8777 lt_prog_compiler_static='--static'
8779 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8780 # Portland Group compilers (*not* the Pentium gcc compiler,
8781 # which looks to be a dead project)
8782 lt_prog_compiler_wl='-Wl,'
8783 lt_prog_compiler_pic='-fpic'
8784 lt_prog_compiler_static='-Bstatic'
8786 ccc*)
8787 lt_prog_compiler_wl='-Wl,'
8788 # All Alpha code is PIC.
8789 lt_prog_compiler_static='-non_shared'
8791 xl* | bgxl* | bgf* | mpixl*)
8792 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8793 lt_prog_compiler_wl='-Wl,'
8794 lt_prog_compiler_pic='-qpic'
8795 lt_prog_compiler_static='-qstaticlink'
8798 case `$CC -V 2>&1 | sed 5q` in
8799 *Sun\ F* | *Sun*Fortran*)
8800 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8801 lt_prog_compiler_pic='-KPIC'
8802 lt_prog_compiler_static='-Bstatic'
8803 lt_prog_compiler_wl=''
8805 *Sun\ C*)
8806 # Sun C 5.9
8807 lt_prog_compiler_pic='-KPIC'
8808 lt_prog_compiler_static='-Bstatic'
8809 lt_prog_compiler_wl='-Wl,'
8811 esac
8813 esac
8816 newsos6)
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-Bstatic'
8821 *nto* | *qnx*)
8822 # QNX uses GNU C++, but need to define -shared option too, otherwise
8823 # it will coredump.
8824 lt_prog_compiler_pic='-fPIC -shared'
8827 osf3* | osf4* | osf5*)
8828 lt_prog_compiler_wl='-Wl,'
8829 # All OSF/1 code is PIC.
8830 lt_prog_compiler_static='-non_shared'
8833 rdos*)
8834 lt_prog_compiler_static='-non_shared'
8837 solaris*)
8838 lt_prog_compiler_pic='-KPIC'
8839 lt_prog_compiler_static='-Bstatic'
8840 case $cc_basename in
8841 f77* | f90* | f95*)
8842 lt_prog_compiler_wl='-Qoption ld ';;
8844 lt_prog_compiler_wl='-Wl,';;
8845 esac
8848 sunos4*)
8849 lt_prog_compiler_wl='-Qoption ld '
8850 lt_prog_compiler_pic='-PIC'
8851 lt_prog_compiler_static='-Bstatic'
8854 sysv4 | sysv4.2uw2* | sysv4.3*)
8855 lt_prog_compiler_wl='-Wl,'
8856 lt_prog_compiler_pic='-KPIC'
8857 lt_prog_compiler_static='-Bstatic'
8860 sysv4*MP*)
8861 if test -d /usr/nec ;then
8862 lt_prog_compiler_pic='-Kconform_pic'
8863 lt_prog_compiler_static='-Bstatic'
8867 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8868 lt_prog_compiler_wl='-Wl,'
8869 lt_prog_compiler_pic='-KPIC'
8870 lt_prog_compiler_static='-Bstatic'
8873 unicos*)
8874 lt_prog_compiler_wl='-Wl,'
8875 lt_prog_compiler_can_build_shared=no
8878 uts4*)
8879 lt_prog_compiler_pic='-pic'
8880 lt_prog_compiler_static='-Bstatic'
8884 lt_prog_compiler_can_build_shared=no
8886 esac
8889 case $host_os in
8890 # For platforms which do not support PIC, -DPIC is meaningless:
8891 *djgpp*)
8892 lt_prog_compiler_pic=
8895 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8897 esac
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8899 $as_echo "$lt_prog_compiler_pic" >&6; }
8907 # Check to make sure the PIC flag actually works.
8909 if test -n "$lt_prog_compiler_pic"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8911 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8912 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8913 $as_echo_n "(cached) " >&6
8914 else
8915 lt_cv_prog_compiler_pic_works=no
8916 ac_outfile=conftest.$ac_objext
8917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8918 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8919 # Insert the option either (1) after the last *FLAGS variable, or
8920 # (2) before a word containing "conftest.", or (3) at the end.
8921 # Note that $ac_compile itself does not contain backslashes and begins
8922 # with a dollar sign (not a hyphen), so the echo should work correctly.
8923 # The option is referenced via a variable to avoid confusing sed.
8924 lt_compile=`echo "$ac_compile" | $SED \
8925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8927 -e 's:$: $lt_compiler_flag:'`
8928 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8929 (eval "$lt_compile" 2>conftest.err)
8930 ac_status=$?
8931 cat conftest.err >&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 if (exit $ac_status) && test -s "$ac_outfile"; then
8934 # The compiler can only warn and ignore the option if not recognized
8935 # So say no if there are warnings other than the usual output.
8936 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8937 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8938 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8939 lt_cv_prog_compiler_pic_works=yes
8942 $RM conftest*
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8946 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8948 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8949 case $lt_prog_compiler_pic in
8950 "" | " "*) ;;
8951 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8952 esac
8953 else
8954 lt_prog_compiler_pic=
8955 lt_prog_compiler_can_build_shared=no
8966 # Check to make sure the static flag actually works.
8968 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8970 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8971 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8972 $as_echo_n "(cached) " >&6
8973 else
8974 lt_cv_prog_compiler_static_works=no
8975 save_LDFLAGS="$LDFLAGS"
8976 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8977 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8978 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8979 # The linker can only warn and ignore the option if not recognized
8980 # So say no if there are warnings
8981 if test -s conftest.err; then
8982 # Append any errors to the config.log.
8983 cat conftest.err 1>&5
8984 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8985 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8986 if diff conftest.exp conftest.er2 >/dev/null; then
8987 lt_cv_prog_compiler_static_works=yes
8989 else
8990 lt_cv_prog_compiler_static_works=yes
8993 $RM -r conftest*
8994 LDFLAGS="$save_LDFLAGS"
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8998 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9000 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9002 else
9003 lt_prog_compiler_static=
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9014 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9015 $as_echo_n "(cached) " >&6
9016 else
9017 lt_cv_prog_compiler_c_o=no
9018 $RM -r conftest 2>/dev/null
9019 mkdir conftest
9020 cd conftest
9021 mkdir out
9022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9024 lt_compiler_flag="-o out/conftest2.$ac_objext"
9025 # Insert the option either (1) after the last *FLAGS variable, or
9026 # (2) before a word containing "conftest.", or (3) at the end.
9027 # Note that $ac_compile itself does not contain backslashes and begins
9028 # with a dollar sign (not a hyphen), so the echo should work correctly.
9029 lt_compile=`echo "$ac_compile" | $SED \
9030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9032 -e 's:$: $lt_compiler_flag:'`
9033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9034 (eval "$lt_compile" 2>out/conftest.err)
9035 ac_status=$?
9036 cat out/conftest.err >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9039 then
9040 # The compiler can only warn and ignore the option if not recognized
9041 # So say no if there are warnings
9042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9043 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9044 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9045 lt_cv_prog_compiler_c_o=yes
9048 chmod u+w . 2>&5
9049 $RM conftest*
9050 # SGI C++ compiler will create directory out/ii_files/ for
9051 # template instantiation
9052 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9053 $RM out/* && rmdir out
9054 cd ..
9055 $RM -r conftest
9056 $RM conftest*
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9060 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9069 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9070 $as_echo_n "(cached) " >&6
9071 else
9072 lt_cv_prog_compiler_c_o=no
9073 $RM -r conftest 2>/dev/null
9074 mkdir conftest
9075 cd conftest
9076 mkdir out
9077 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9079 lt_compiler_flag="-o out/conftest2.$ac_objext"
9080 # Insert the option either (1) after the last *FLAGS variable, or
9081 # (2) before a word containing "conftest.", or (3) at the end.
9082 # Note that $ac_compile itself does not contain backslashes and begins
9083 # with a dollar sign (not a hyphen), so the echo should work correctly.
9084 lt_compile=`echo "$ac_compile" | $SED \
9085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9087 -e 's:$: $lt_compiler_flag:'`
9088 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9089 (eval "$lt_compile" 2>out/conftest.err)
9090 ac_status=$?
9091 cat out/conftest.err >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9094 then
9095 # The compiler can only warn and ignore the option if not recognized
9096 # So say no if there are warnings
9097 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9098 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9099 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9100 lt_cv_prog_compiler_c_o=yes
9103 chmod u+w . 2>&5
9104 $RM conftest*
9105 # SGI C++ compiler will create directory out/ii_files/ for
9106 # template instantiation
9107 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9108 $RM out/* && rmdir out
9109 cd ..
9110 $RM -r conftest
9111 $RM conftest*
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9120 hard_links="nottested"
9121 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9122 # do not overwrite the value of need_locks provided by the user
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9124 $as_echo_n "checking if we can lock with hard links... " >&6; }
9125 hard_links=yes
9126 $RM conftest*
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 touch conftest.a
9129 ln conftest.a conftest.b 2>&5 || hard_links=no
9130 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9132 $as_echo "$hard_links" >&6; }
9133 if test "$hard_links" = no; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9135 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9136 need_locks=warn
9138 else
9139 need_locks=no
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9148 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9150 runpath_var=
9151 allow_undefined_flag=
9152 always_export_symbols=no
9153 archive_cmds=
9154 archive_expsym_cmds=
9155 compiler_needs_object=no
9156 enable_shared_with_static_runtimes=no
9157 export_dynamic_flag_spec=
9158 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9159 hardcode_automatic=no
9160 hardcode_direct=no
9161 hardcode_direct_absolute=no
9162 hardcode_libdir_flag_spec=
9163 hardcode_libdir_flag_spec_ld=
9164 hardcode_libdir_separator=
9165 hardcode_minus_L=no
9166 hardcode_shlibpath_var=unsupported
9167 inherit_rpath=no
9168 link_all_deplibs=unknown
9169 module_cmds=
9170 module_expsym_cmds=
9171 old_archive_from_new_cmds=
9172 old_archive_from_expsyms_cmds=
9173 thread_safe_flag_spec=
9174 whole_archive_flag_spec=
9175 # include_expsyms should be a list of space-separated symbols to be *always*
9176 # included in the symbol list
9177 include_expsyms=
9178 # exclude_expsyms can be an extended regexp of symbols to exclude
9179 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9180 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9181 # as well as any symbol that contains `d'.
9182 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9183 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9184 # platforms (ab)use it in PIC code, but their linkers get confused if
9185 # the symbol is explicitly referenced. Since portable code cannot
9186 # rely on this symbol name, it's probably fine to never include it in
9187 # preloaded symbol tables.
9188 # Exclude shared library initialization/finalization symbols.
9189 extract_expsyms_cmds=
9191 case $host_os in
9192 cygwin* | mingw* | pw32* | cegcc*)
9193 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9194 # When not using gcc, we currently assume that we are using
9195 # Microsoft Visual C++.
9196 if test "$GCC" != yes; then
9197 with_gnu_ld=no
9200 interix*)
9201 # we just hope/assume this is gcc and not c89 (= MSVC++)
9202 with_gnu_ld=yes
9204 openbsd*)
9205 with_gnu_ld=no
9207 esac
9209 ld_shlibs=yes
9211 # On some targets, GNU ld is compatible enough with the native linker
9212 # that we're better off using the native interface for both.
9213 lt_use_gnu_ld_interface=no
9214 if test "$with_gnu_ld" = yes; then
9215 case $host_os in
9216 aix*)
9217 # The AIX port of GNU ld has always aspired to compatibility
9218 # with the native linker. However, as the warning in the GNU ld
9219 # block says, versions before 2.19.5* couldn't really create working
9220 # shared libraries, regardless of the interface used.
9221 case `$LD -v 2>&1` in
9222 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9223 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9224 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9226 lt_use_gnu_ld_interface=yes
9228 esac
9231 lt_use_gnu_ld_interface=yes
9233 esac
9236 if test "$lt_use_gnu_ld_interface" = yes; then
9237 # If archive_cmds runs LD, not CC, wlarc should be empty
9238 wlarc='${wl}'
9240 # Set some defaults for GNU ld with shared library support. These
9241 # are reset later if shared libraries are not supported. Putting them
9242 # here allows them to be overridden if necessary.
9243 runpath_var=LD_RUN_PATH
9244 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9245 export_dynamic_flag_spec='${wl}--export-dynamic'
9246 # ancient GNU ld didn't support --whole-archive et. al.
9247 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9248 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9249 else
9250 whole_archive_flag_spec=
9252 supports_anon_versioning=no
9253 case `$LD -v 2>&1` in
9254 *GNU\ gold*) supports_anon_versioning=yes ;;
9255 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9256 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9257 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9258 *\ 2.11.*) ;; # other 2.11 versions
9259 *) supports_anon_versioning=yes ;;
9260 esac
9262 # See if GNU ld supports shared libraries.
9263 case $host_os in
9264 aix[3-9]*)
9265 # On AIX/PPC, the GNU linker is very broken
9266 if test "$host_cpu" != ia64; then
9267 ld_shlibs=no
9268 cat <<_LT_EOF 1>&2
9270 *** Warning: the GNU linker, at least up to release 2.19, is reported
9271 *** to be unable to reliably create shared libraries on AIX.
9272 *** Therefore, libtool is disabling shared libraries support. If you
9273 *** really care for shared libraries, you may want to install binutils
9274 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9275 *** You will then need to restart the configuration process.
9277 _LT_EOF
9281 amigaos*)
9282 case $host_cpu in
9283 powerpc)
9284 # see comment about AmigaOS4 .so support
9285 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286 archive_expsym_cmds=''
9288 m68k)
9289 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)'
9290 hardcode_libdir_flag_spec='-L$libdir'
9291 hardcode_minus_L=yes
9293 esac
9296 beos*)
9297 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9298 allow_undefined_flag=unsupported
9299 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9300 # support --undefined. This deserves some investigation. FIXME
9301 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 else
9303 ld_shlibs=no
9307 cygwin* | mingw* | pw32* | cegcc*)
9308 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9309 # as there is no search path for DLLs.
9310 hardcode_libdir_flag_spec='-L$libdir'
9311 export_dynamic_flag_spec='${wl}--export-all-symbols'
9312 allow_undefined_flag=unsupported
9313 always_export_symbols=no
9314 enable_shared_with_static_runtimes=yes
9315 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9317 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9319 # If the export-symbols file already is a .def file (1st line
9320 # is EXPORTS), use it as is; otherwise, prepend...
9321 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9322 cp $export_symbols $output_objdir/$soname.def;
9323 else
9324 echo EXPORTS > $output_objdir/$soname.def;
9325 cat $export_symbols >> $output_objdir/$soname.def;
9327 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9328 else
9329 ld_shlibs=no
9333 haiku*)
9334 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 link_all_deplibs=yes
9338 interix[3-9]*)
9339 hardcode_direct=no
9340 hardcode_shlibpath_var=no
9341 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9342 export_dynamic_flag_spec='${wl}-E'
9343 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9344 # Instead, shared libraries are loaded at an image base (0x10000000 by
9345 # default) and relocated if they conflict, which is a slow very memory
9346 # consuming and fragmenting process. To avoid this, we pick a random,
9347 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9348 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9349 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9350 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'
9353 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9354 tmp_diet=no
9355 if test "$host_os" = linux-dietlibc; then
9356 case $cc_basename in
9357 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9358 esac
9360 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9361 && test "$tmp_diet" = no
9362 then
9363 tmp_addflag=' $pic_flag'
9364 tmp_sharedflag='-shared'
9365 case $cc_basename,$host_cpu in
9366 pgcc*) # Portland Group C compiler
9367 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'
9368 tmp_addflag=' $pic_flag'
9370 pgf77* | pgf90* | pgf95* | pgfortran*)
9371 # Portland Group f77 and f90 compilers
9372 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'
9373 tmp_addflag=' $pic_flag -Mnomain' ;;
9374 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9375 tmp_addflag=' -i_dynamic' ;;
9376 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9377 tmp_addflag=' -i_dynamic -nofor_main' ;;
9378 ifc* | ifort*) # Intel Fortran compiler
9379 tmp_addflag=' -nofor_main' ;;
9380 lf95*) # Lahey Fortran 8.1
9381 whole_archive_flag_spec=
9382 tmp_sharedflag='--shared' ;;
9383 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9384 tmp_sharedflag='-qmkshrobj'
9385 tmp_addflag= ;;
9386 nvcc*) # Cuda Compiler Driver 2.2
9387 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'
9388 compiler_needs_object=yes
9390 esac
9391 case `$CC -V 2>&1 | sed 5q` in
9392 *Sun\ C*) # Sun C 5.9
9393 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'
9394 compiler_needs_object=yes
9395 tmp_sharedflag='-G' ;;
9396 *Sun\ F*) # Sun Fortran 8.3
9397 tmp_sharedflag='-G' ;;
9398 esac
9399 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 if test "x$supports_anon_versioning" = xyes; then
9402 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9403 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9404 echo "local: *; };" >> $output_objdir/$libname.ver~
9405 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9408 case $cc_basename in
9409 xlf* | bgf* | bgxlf* | mpixlf*)
9410 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9411 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9412 hardcode_libdir_flag_spec=
9413 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9414 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9415 if test "x$supports_anon_versioning" = xyes; then
9416 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9417 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9418 echo "local: *; };" >> $output_objdir/$libname.ver~
9419 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9422 esac
9423 else
9424 ld_shlibs=no
9428 netbsd*)
9429 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9430 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9431 wlarc=
9432 else
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9438 solaris*)
9439 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9440 ld_shlibs=no
9441 cat <<_LT_EOF 1>&2
9443 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9444 *** create shared libraries on Solaris systems. Therefore, libtool
9445 *** is disabling shared libraries support. We urge you to upgrade GNU
9446 *** binutils to release 2.9.1 or newer. Another option is to modify
9447 *** your PATH or compiler configuration so that the native linker is
9448 *** used, and then restart.
9450 _LT_EOF
9451 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9452 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9453 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9454 else
9455 ld_shlibs=no
9459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9460 case `$LD -v 2>&1` in
9461 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9462 ld_shlibs=no
9463 cat <<_LT_EOF 1>&2
9465 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9466 *** reliably create shared libraries on SCO systems. Therefore, libtool
9467 *** is disabling shared libraries support. We urge you to upgrade GNU
9468 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9469 *** your PATH or compiler configuration so that the native linker is
9470 *** used, and then restart.
9472 _LT_EOF
9475 # For security reasons, it is highly recommended that you always
9476 # use absolute paths for naming shared libraries, and exclude the
9477 # DT_RUNPATH tag from executables and libraries. But doing so
9478 # requires that you compile everything twice, which is a pain.
9479 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9480 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9481 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9483 else
9484 ld_shlibs=no
9487 esac
9490 sunos4*)
9491 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9492 wlarc=
9493 hardcode_direct=yes
9494 hardcode_shlibpath_var=no
9498 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9501 else
9502 ld_shlibs=no
9505 esac
9507 if test "$ld_shlibs" = no; then
9508 runpath_var=
9509 hardcode_libdir_flag_spec=
9510 export_dynamic_flag_spec=
9511 whole_archive_flag_spec=
9513 else
9514 # PORTME fill in a description of your system's linker (not GNU ld)
9515 case $host_os in
9516 aix3*)
9517 allow_undefined_flag=unsupported
9518 always_export_symbols=yes
9519 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'
9520 # Note: this linker hardcodes the directories in LIBPATH if there
9521 # are no directories specified by -L.
9522 hardcode_minus_L=yes
9523 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9524 # Neither direct hardcoding nor static linking is supported with a
9525 # broken collect2.
9526 hardcode_direct=unsupported
9530 aix[4-9]*)
9531 if test "$host_cpu" = ia64; then
9532 # On IA64, the linker does run time linking by default, so we don't
9533 # have to do anything special.
9534 aix_use_runtimelinking=no
9535 exp_sym_flag='-Bexport'
9536 no_entry_flag=""
9537 else
9538 # If we're using GNU nm, then we don't want the "-C" option.
9539 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9540 # Also, AIX nm treats weak defined symbols like other global
9541 # defined symbols, whereas GNU nm marks them as "W".
9542 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9543 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'
9544 else
9545 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'
9547 aix_use_runtimelinking=no
9549 # Test if we are trying to use run time linking or normal
9550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9551 # need to do runtime linking.
9552 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9553 for ld_flag in $LDFLAGS; do
9554 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9555 aix_use_runtimelinking=yes
9556 break
9558 done
9560 esac
9562 exp_sym_flag='-bexport'
9563 no_entry_flag='-bnoentry'
9566 # When large executables or shared objects are built, AIX ld can
9567 # have problems creating the table of contents. If linking a library
9568 # or program results in "error TOC overflow" add -mminimal-toc to
9569 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9570 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9572 archive_cmds=''
9573 hardcode_direct=yes
9574 hardcode_direct_absolute=yes
9575 hardcode_libdir_separator=':'
9576 link_all_deplibs=yes
9577 file_list_spec='${wl}-f,'
9579 if test "$GCC" = yes; then
9580 case $host_os in aix4.[012]|aix4.[012].*)
9581 # We only want to do this on AIX 4.2 and lower, the check
9582 # below for broken collect2 doesn't work under 4.3+
9583 collect2name=`${CC} -print-prog-name=collect2`
9584 if test -f "$collect2name" &&
9585 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9586 then
9587 # We have reworked collect2
9589 else
9590 # We have old collect2
9591 hardcode_direct=unsupported
9592 # It fails to find uninstalled libraries when the uninstalled
9593 # path is not listed in the libpath. Setting hardcode_minus_L
9594 # to unsupported forces relinking
9595 hardcode_minus_L=yes
9596 hardcode_libdir_flag_spec='-L$libdir'
9597 hardcode_libdir_separator=
9600 esac
9601 shared_flag='-shared'
9602 if test "$aix_use_runtimelinking" = yes; then
9603 shared_flag="$shared_flag "'${wl}-G'
9605 else
9606 # not using gcc
9607 if test "$host_cpu" = ia64; then
9608 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9609 # chokes on -Wl,-G. The following line is correct:
9610 shared_flag='-G'
9611 else
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag='${wl}-G'
9614 else
9615 shared_flag='${wl}-bM:SRE'
9620 export_dynamic_flag_spec='${wl}-bexpall'
9621 # It seems that -bexpall does not export symbols beginning with
9622 # underscore (_), so it is better to generate a list of symbols to export.
9623 always_export_symbols=yes
9624 if test "$aix_use_runtimelinking" = yes; then
9625 # Warning - without using the other runtime loading flags (-brtl),
9626 # -berok will link without error, but may produce a broken library.
9627 allow_undefined_flag='-berok'
9628 # Determine the default libpath from the value encoded in an
9629 # empty executable.
9630 if test x$gcc_no_link = xyes; then
9631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9637 main ()
9641 return 0;
9643 _ACEOF
9644 if ac_fn_c_try_link "$LINENO"; then :
9646 lt_aix_libpath_sed='
9647 /Import File Strings/,/^$/ {
9648 /^0/ {
9649 s/^0 *\(.*\)$/\1/
9653 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 # Check for a 64-bit object if we didn't find anything.
9655 if test -z "$aix_libpath"; then
9656 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9659 rm -f core conftest.err conftest.$ac_objext \
9660 conftest$ac_exeext conftest.$ac_ext
9661 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9663 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9664 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"
9665 else
9666 if test "$host_cpu" = ia64; then
9667 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9668 allow_undefined_flag="-z nodefs"
9669 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"
9670 else
9671 # Determine the default libpath from the value encoded in an
9672 # empty executable.
9673 if test x$gcc_no_link = xyes; then
9674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9680 main ()
9684 return 0;
9686 _ACEOF
9687 if ac_fn_c_try_link "$LINENO"; then :
9689 lt_aix_libpath_sed='
9690 /Import File Strings/,/^$/ {
9691 /^0/ {
9692 s/^0 *\(.*\)$/\1/
9696 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 # Check for a 64-bit object if we didn't find anything.
9698 if test -z "$aix_libpath"; then
9699 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9706 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9707 # Warning - without using the other run time loading flags,
9708 # -berok will link without error, but may produce a broken library.
9709 no_undefined_flag=' ${wl}-bernotok'
9710 allow_undefined_flag=' ${wl}-berok'
9711 if test "$with_gnu_ld" = yes; then
9712 # We only use this code for GNU lds that support --whole-archive.
9713 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9714 else
9715 # Exported symbols can be pulled into shared objects from archives
9716 whole_archive_flag_spec='$convenience'
9718 archive_cmds_need_lc=yes
9719 # This is similar to how AIX traditionally builds its shared libraries.
9720 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'
9725 amigaos*)
9726 case $host_cpu in
9727 powerpc)
9728 # see comment about AmigaOS4 .so support
9729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730 archive_expsym_cmds=''
9732 m68k)
9733 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)'
9734 hardcode_libdir_flag_spec='-L$libdir'
9735 hardcode_minus_L=yes
9737 esac
9740 bsdi[45]*)
9741 export_dynamic_flag_spec=-rdynamic
9744 cygwin* | mingw* | pw32* | cegcc*)
9745 # When not using gcc, we currently assume that we are using
9746 # Microsoft Visual C++.
9747 # hardcode_libdir_flag_spec is actually meaningless, as there is
9748 # no search path for DLLs.
9749 hardcode_libdir_flag_spec=' '
9750 allow_undefined_flag=unsupported
9751 # Tell ltmain to make .lib files, not .a files.
9752 libext=lib
9753 # Tell ltmain to make .dll files, not .so files.
9754 shrext_cmds=".dll"
9755 # FIXME: Setting linknames here is a bad hack.
9756 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9757 # The linker will automatically build a .lib file if we build a DLL.
9758 old_archive_from_new_cmds='true'
9759 # FIXME: Should let the user specify the lib program.
9760 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9761 fix_srcfile_path='`cygpath -w "$srcfile"`'
9762 enable_shared_with_static_runtimes=yes
9765 darwin* | rhapsody*)
9768 archive_cmds_need_lc=no
9769 hardcode_direct=no
9770 hardcode_automatic=yes
9771 hardcode_shlibpath_var=unsupported
9772 if test "$lt_cv_ld_force_load" = "yes"; then
9773 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\"`'
9774 else
9775 whole_archive_flag_spec=''
9777 link_all_deplibs=yes
9778 allow_undefined_flag="$_lt_dar_allow_undefined"
9779 case $cc_basename in
9780 ifort*) _lt_dar_can_shared=yes ;;
9781 *) _lt_dar_can_shared=$GCC ;;
9782 esac
9783 if test "$_lt_dar_can_shared" = "yes"; then
9784 output_verbose_link_cmd=func_echo_all
9785 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9786 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9787 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}"
9788 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}"
9790 else
9791 ld_shlibs=no
9796 dgux*)
9797 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9798 hardcode_libdir_flag_spec='-L$libdir'
9799 hardcode_shlibpath_var=no
9802 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9803 # support. Future versions do this automatically, but an explicit c++rt0.o
9804 # does not break anything, and helps significantly (at the cost of a little
9805 # extra space).
9806 freebsd2.2*)
9807 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9808 hardcode_libdir_flag_spec='-R$libdir'
9809 hardcode_direct=yes
9810 hardcode_shlibpath_var=no
9813 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9814 freebsd2.*)
9815 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9816 hardcode_direct=yes
9817 hardcode_minus_L=yes
9818 hardcode_shlibpath_var=no
9821 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9822 freebsd* | dragonfly*)
9823 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9824 hardcode_libdir_flag_spec='-R$libdir'
9825 hardcode_direct=yes
9826 hardcode_shlibpath_var=no
9829 hpux9*)
9830 if test "$GCC" = yes; then
9831 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'
9832 else
9833 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'
9835 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9836 hardcode_libdir_separator=:
9837 hardcode_direct=yes
9839 # hardcode_minus_L: Not really in the search PATH,
9840 # but as the default location of the library.
9841 hardcode_minus_L=yes
9842 export_dynamic_flag_spec='${wl}-E'
9845 hpux10*)
9846 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9847 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9848 else
9849 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9851 if test "$with_gnu_ld" = no; then
9852 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9853 hardcode_libdir_flag_spec_ld='+b $libdir'
9854 hardcode_libdir_separator=:
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9858 # hardcode_minus_L: Not really in the search PATH,
9859 # but as the default location of the library.
9860 hardcode_minus_L=yes
9864 hpux11*)
9865 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9866 case $host_cpu in
9867 hppa*64*)
9868 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9870 ia64*)
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9876 esac
9877 else
9878 case $host_cpu in
9879 hppa*64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9882 ia64*)
9883 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9887 # Older versions of the 11.00 compiler do not understand -b yet
9888 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9890 $as_echo_n "checking if $CC understands -b... " >&6; }
9891 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 lt_cv_prog_compiler__b=no
9895 save_LDFLAGS="$LDFLAGS"
9896 LDFLAGS="$LDFLAGS -b"
9897 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9898 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9899 # The linker can only warn and ignore the option if not recognized
9900 # So say no if there are warnings
9901 if test -s conftest.err; then
9902 # Append any errors to the config.log.
9903 cat conftest.err 1>&5
9904 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9905 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9906 if diff conftest.exp conftest.er2 >/dev/null; then
9907 lt_cv_prog_compiler__b=yes
9909 else
9910 lt_cv_prog_compiler__b=yes
9913 $RM -r conftest*
9914 LDFLAGS="$save_LDFLAGS"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9918 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9920 if test x"$lt_cv_prog_compiler__b" = xyes; then
9921 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9922 else
9923 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9927 esac
9929 if test "$with_gnu_ld" = no; then
9930 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9931 hardcode_libdir_separator=:
9933 case $host_cpu in
9934 hppa*64*|ia64*)
9935 hardcode_direct=no
9936 hardcode_shlibpath_var=no
9939 hardcode_direct=yes
9940 hardcode_direct_absolute=yes
9941 export_dynamic_flag_spec='${wl}-E'
9943 # hardcode_minus_L: Not really in the search PATH,
9944 # but as the default location of the library.
9945 hardcode_minus_L=yes
9947 esac
9951 irix5* | irix6* | nonstopux*)
9952 if test "$GCC" = yes; then
9953 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'
9954 # Try to use the -exported_symbol ld option, if it does not
9955 # work, assume that -exports_file does not work either and
9956 # implicitly export all symbols.
9957 save_LDFLAGS="$LDFLAGS"
9958 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9959 if test x$gcc_no_link = xyes; then
9960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9964 int foo(void) {}
9965 _ACEOF
9966 if ac_fn_c_try_link "$LINENO"; then :
9967 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'
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 LDFLAGS="$save_LDFLAGS"
9973 else
9974 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'
9975 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'
9977 archive_cmds_need_lc='no'
9978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9979 hardcode_libdir_separator=:
9980 inherit_rpath=yes
9981 link_all_deplibs=yes
9984 netbsd*)
9985 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9986 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9987 else
9988 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9990 hardcode_libdir_flag_spec='-R$libdir'
9991 hardcode_direct=yes
9992 hardcode_shlibpath_var=no
9995 newsos6)
9996 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9997 hardcode_direct=yes
9998 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9999 hardcode_libdir_separator=:
10000 hardcode_shlibpath_var=no
10003 *nto* | *qnx*)
10006 openbsd*)
10007 if test -f /usr/libexec/ld.so; then
10008 hardcode_direct=yes
10009 hardcode_shlibpath_var=no
10010 hardcode_direct_absolute=yes
10011 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10012 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10014 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10015 export_dynamic_flag_spec='${wl}-E'
10016 else
10017 case $host_os in
10018 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10019 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_libdir_flag_spec='-R$libdir'
10023 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10026 esac
10028 else
10029 ld_shlibs=no
10033 os2*)
10034 hardcode_libdir_flag_spec='-L$libdir'
10035 hardcode_minus_L=yes
10036 allow_undefined_flag=unsupported
10037 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'
10038 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10041 osf3*)
10042 if test "$GCC" = yes; then
10043 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10044 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'
10045 else
10046 allow_undefined_flag=' -expect_unresolved \*'
10047 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'
10049 archive_cmds_need_lc='no'
10050 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10051 hardcode_libdir_separator=:
10054 osf4* | osf5*) # as osf3* with the addition of -msym flag
10055 if test "$GCC" = yes; then
10056 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10057 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'
10058 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10059 else
10060 allow_undefined_flag=' -expect_unresolved \*'
10061 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'
10062 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~
10063 $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'
10065 # Both c and cxx compiler support -rpath directly
10066 hardcode_libdir_flag_spec='-rpath $libdir'
10068 archive_cmds_need_lc='no'
10069 hardcode_libdir_separator=:
10072 solaris*)
10073 no_undefined_flag=' -z defs'
10074 if test "$GCC" = yes; then
10075 wlarc='${wl}'
10076 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10078 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10079 else
10080 case `$CC -V 2>&1` in
10081 *"Compilers 5.0"*)
10082 wlarc=''
10083 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10084 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10085 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10088 wlarc='${wl}'
10089 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10091 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10093 esac
10095 hardcode_libdir_flag_spec='-R$libdir'
10096 hardcode_shlibpath_var=no
10097 case $host_os in
10098 solaris2.[0-5] | solaris2.[0-5].*) ;;
10100 # The compiler driver will combine and reorder linker options,
10101 # but understands `-z linker_flag'. GCC discards it without `$wl',
10102 # but is careful enough not to reorder.
10103 # Supported since Solaris 2.6 (maybe 2.5.1?)
10104 if test "$GCC" = yes; then
10105 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10106 else
10107 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10110 esac
10111 link_all_deplibs=yes
10114 sunos4*)
10115 if test "x$host_vendor" = xsequent; then
10116 # Use $CC to link under sequent, because it throws in some extra .o
10117 # files that make .init and .fini sections work.
10118 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10119 else
10120 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10122 hardcode_libdir_flag_spec='-L$libdir'
10123 hardcode_direct=yes
10124 hardcode_minus_L=yes
10125 hardcode_shlibpath_var=no
10128 sysv4)
10129 case $host_vendor in
10130 sni)
10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_direct=yes # is this really true???
10134 siemens)
10135 ## LD is ld it makes a PLAMLIB
10136 ## CC just makes a GrossModule.
10137 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10138 reload_cmds='$CC -r -o $output$reload_objs'
10139 hardcode_direct=no
10141 motorola)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10145 esac
10146 runpath_var='LD_RUN_PATH'
10147 hardcode_shlibpath_var=no
10150 sysv4.3*)
10151 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152 hardcode_shlibpath_var=no
10153 export_dynamic_flag_spec='-Bexport'
10156 sysv4*MP*)
10157 if test -d /usr/nec; then
10158 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10159 hardcode_shlibpath_var=no
10160 runpath_var=LD_RUN_PATH
10161 hardcode_runpath_var=yes
10162 ld_shlibs=yes
10166 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10167 no_undefined_flag='${wl}-z,text'
10168 archive_cmds_need_lc=no
10169 hardcode_shlibpath_var=no
10170 runpath_var='LD_RUN_PATH'
10172 if test "$GCC" = yes; then
10173 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175 else
10176 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10177 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 sysv5* | sco3.2v5* | sco5v6*)
10182 # Note: We can NOT use -z defs as we might desire, because we do not
10183 # link with -lc, and that would cause any symbols used from libc to
10184 # always be unresolved, which means just about no library would
10185 # ever link correctly. If we're not using GNU ld we use -z text
10186 # though, which does catch some bad symbols but isn't as heavy-handed
10187 # as -z defs.
10188 no_undefined_flag='${wl}-z,text'
10189 allow_undefined_flag='${wl}-z,nodefs'
10190 archive_cmds_need_lc=no
10191 hardcode_shlibpath_var=no
10192 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10193 hardcode_libdir_separator=':'
10194 link_all_deplibs=yes
10195 export_dynamic_flag_spec='${wl}-Bexport'
10196 runpath_var='LD_RUN_PATH'
10198 if test "$GCC" = yes; then
10199 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 else
10202 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10203 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 uts4*)
10208 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10209 hardcode_libdir_flag_spec='-L$libdir'
10210 hardcode_shlibpath_var=no
10214 ld_shlibs=no
10216 esac
10218 if test x$host_vendor = xsni; then
10219 case $host in
10220 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10221 export_dynamic_flag_spec='${wl}-Blargedynsym'
10223 esac
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10228 $as_echo "$ld_shlibs" >&6; }
10229 test "$ld_shlibs" = no && can_build_shared=no
10231 with_gnu_ld=$with_gnu_ld
10248 # Do we need to explicitly link libc?
10250 case "x$archive_cmds_need_lc" in
10251 x|xyes)
10252 # Assume -lc should be added
10253 archive_cmds_need_lc=yes
10255 if test "$enable_shared" = yes && test "$GCC" = yes; then
10256 case $archive_cmds in
10257 *'~'*)
10258 # FIXME: we may have to deal with multi-command sequences.
10260 '$CC '*)
10261 # Test whether the compiler implicitly links with -lc since on some
10262 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10263 # to ld, don't add -lc before -lgcc.
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10265 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10266 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 $RM conftest*
10270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10273 (eval $ac_compile) 2>&5
10274 ac_status=$?
10275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10276 test $ac_status = 0; } 2>conftest.err; then
10277 soname=conftest
10278 lib=conftest
10279 libobjs=conftest.$ac_objext
10280 deplibs=
10281 wl=$lt_prog_compiler_wl
10282 pic_flag=$lt_prog_compiler_pic
10283 compiler_flags=-v
10284 linker_flags=-v
10285 verstring=
10286 output_objdir=.
10287 libname=conftest
10288 lt_save_allow_undefined_flag=$allow_undefined_flag
10289 allow_undefined_flag=
10290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10291 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10292 ac_status=$?
10293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10294 test $ac_status = 0; }
10295 then
10296 lt_cv_archive_cmds_need_lc=no
10297 else
10298 lt_cv_archive_cmds_need_lc=yes
10300 allow_undefined_flag=$lt_save_allow_undefined_flag
10301 else
10302 cat conftest.err 1>&5
10304 $RM conftest*
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10308 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10309 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10311 esac
10314 esac
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10473 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10475 if test "$GCC" = yes; then
10476 case $host_os in
10477 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10478 *) lt_awk_arg="/^libraries:/" ;;
10479 esac
10480 case $host_os in
10481 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10482 *) lt_sed_strip_eq="s,=/,/,g" ;;
10483 esac
10484 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10485 case $lt_search_path_spec in
10486 *\;*)
10487 # if the path contains ";" then we assume it to be the separator
10488 # otherwise default to the standard path separator (i.e. ":") - it is
10489 # assumed that no part of a normal pathname contains ";" but that should
10490 # okay in the real world where ";" in dirpaths is itself problematic.
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10494 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10496 esac
10497 # Ok, now we have the path, separated by spaces, we can step through it
10498 # and add multilib dir if necessary.
10499 lt_tmp_lt_search_path_spec=
10500 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10501 for lt_sys_path in $lt_search_path_spec; do
10502 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10504 else
10505 test -d "$lt_sys_path" && \
10506 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10508 done
10509 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10510 BEGIN {RS=" "; FS="/|\n";} {
10511 lt_foo="";
10512 lt_count=0;
10513 for (lt_i = NF; lt_i > 0; lt_i--) {
10514 if ($lt_i != "" && $lt_i != ".") {
10515 if ($lt_i == "..") {
10516 lt_count++;
10517 } else {
10518 if (lt_count == 0) {
10519 lt_foo="/" $lt_i lt_foo;
10520 } else {
10521 lt_count--;
10526 if (lt_foo != "") { lt_freq[lt_foo]++; }
10527 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10529 # AWK program above erroneously prepends '/' to C:/dos/paths
10530 # for these hosts.
10531 case $host_os in
10532 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10533 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10534 esac
10535 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10536 else
10537 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10539 library_names_spec=
10540 libname_spec='lib$name'
10541 soname_spec=
10542 shrext_cmds=".so"
10543 postinstall_cmds=
10544 postuninstall_cmds=
10545 finish_cmds=
10546 finish_eval=
10547 shlibpath_var=
10548 shlibpath_overrides_runpath=unknown
10549 version_type=none
10550 dynamic_linker="$host_os ld.so"
10551 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10552 need_lib_prefix=unknown
10553 hardcode_into_libs=no
10555 # when you set need_version to no, make sure it does not cause -set_version
10556 # flags to be left without arguments
10557 need_version=unknown
10559 case $host_os in
10560 aix3*)
10561 version_type=linux
10562 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10563 shlibpath_var=LIBPATH
10565 # AIX 3 has no versioning support, so we append a major version to the name.
10566 soname_spec='${libname}${release}${shared_ext}$major'
10569 aix[4-9]*)
10570 version_type=linux
10571 need_lib_prefix=no
10572 need_version=no
10573 hardcode_into_libs=yes
10574 if test "$host_cpu" = ia64; then
10575 # AIX 5 supports IA64
10576 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10577 shlibpath_var=LD_LIBRARY_PATH
10578 else
10579 # With GCC up to 2.95.x, collect2 would create an import file
10580 # for dependence libraries. The import file would start with
10581 # the line `#! .'. This would cause the generated library to
10582 # depend on `.', always an invalid library. This was fixed in
10583 # development snapshots of GCC prior to 3.0.
10584 case $host_os in
10585 aix4 | aix4.[01] | aix4.[01].*)
10586 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10587 echo ' yes '
10588 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10590 else
10591 can_build_shared=no
10594 esac
10595 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10596 # soname into executable. Probably we can add versioning support to
10597 # collect2, so additional links can be useful in future.
10598 if test "$aix_use_runtimelinking" = yes; then
10599 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10600 # instead of lib<name>.a to let people know that these are not
10601 # typical AIX shared libraries.
10602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 else
10604 # We preserve .a as extension for shared libraries through AIX4.2
10605 # and later when we are not doing run time linking.
10606 library_names_spec='${libname}${release}.a $libname.a'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10609 shlibpath_var=LIBPATH
10613 amigaos*)
10614 case $host_cpu in
10615 powerpc)
10616 # Since July 2007 AmigaOS4 officially supports .so libraries.
10617 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620 m68k)
10621 library_names_spec='$libname.ixlibrary $libname.a'
10622 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10623 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'
10625 esac
10628 beos*)
10629 library_names_spec='${libname}${shared_ext}'
10630 dynamic_linker="$host_os ld.so"
10631 shlibpath_var=LIBRARY_PATH
10634 bsdi[45]*)
10635 version_type=linux
10636 need_version=no
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec='${libname}${release}${shared_ext}$major'
10639 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10640 shlibpath_var=LD_LIBRARY_PATH
10641 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10642 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10643 # the default ld.so.conf also contains /usr/contrib/lib and
10644 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10645 # libtool to hard-code these into programs
10648 cygwin* | mingw* | pw32* | cegcc*)
10649 version_type=windows
10650 shrext_cmds=".dll"
10651 need_version=no
10652 need_lib_prefix=no
10654 case $GCC,$host_os in
10655 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10656 library_names_spec='$libname.dll.a'
10657 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10658 postinstall_cmds='base_file=`basename \${file}`~
10659 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10660 dldir=$destdir/`dirname \$dlpath`~
10661 test -d \$dldir || mkdir -p \$dldir~
10662 $install_prog $dir/$dlname \$dldir/$dlname~
10663 chmod a+x \$dldir/$dlname~
10664 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10665 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10667 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10668 dlpath=$dir/\$dldll~
10669 $RM \$dlpath'
10670 shlibpath_overrides_runpath=yes
10672 case $host_os in
10673 cygwin*)
10674 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10675 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10677 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10679 mingw* | cegcc*)
10680 # MinGW DLLs use traditional 'lib' prefix
10681 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683 pw32*)
10684 # pw32 DLLs use 'pw' prefix rather than 'lib'
10685 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687 esac
10691 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10693 esac
10694 dynamic_linker='Win32 ld.exe'
10695 # FIXME: first we should search . and the directory the executable is in
10696 shlibpath_var=PATH
10699 darwin* | rhapsody*)
10700 dynamic_linker="$host_os dyld"
10701 version_type=darwin
10702 need_lib_prefix=no
10703 need_version=no
10704 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10705 soname_spec='${libname}${release}${major}$shared_ext'
10706 shlibpath_overrides_runpath=yes
10707 shlibpath_var=DYLD_LIBRARY_PATH
10708 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10710 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10711 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10714 dgux*)
10715 version_type=linux
10716 need_lib_prefix=no
10717 need_version=no
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 shlibpath_var=LD_LIBRARY_PATH
10723 freebsd* | dragonfly*)
10724 # DragonFly does not have aout. When/if they implement a new
10725 # versioning mechanism, adjust this.
10726 if test -x /usr/bin/objformat; then
10727 objformat=`/usr/bin/objformat`
10728 else
10729 case $host_os in
10730 freebsd[23].*) objformat=aout ;;
10731 *) objformat=elf ;;
10732 esac
10734 version_type=freebsd-$objformat
10735 case $version_type in
10736 freebsd-elf*)
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10738 need_version=no
10739 need_lib_prefix=no
10741 freebsd-*)
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10743 need_version=yes
10745 esac
10746 shlibpath_var=LD_LIBRARY_PATH
10747 case $host_os in
10748 freebsd2.*)
10749 shlibpath_overrides_runpath=yes
10751 freebsd3.[01]* | freebsdelf3.[01]*)
10752 shlibpath_overrides_runpath=yes
10753 hardcode_into_libs=yes
10755 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10756 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10757 shlibpath_overrides_runpath=no
10758 hardcode_into_libs=yes
10760 *) # from 4.6 on, and DragonFly
10761 shlibpath_overrides_runpath=yes
10762 hardcode_into_libs=yes
10764 esac
10767 gnu*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 hardcode_into_libs=yes
10777 haiku*)
10778 version_type=linux
10779 need_lib_prefix=no
10780 need_version=no
10781 dynamic_linker="$host_os runtime_loader"
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 shlibpath_var=LIBRARY_PATH
10785 shlibpath_overrides_runpath=yes
10786 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10787 hardcode_into_libs=yes
10790 hpux9* | hpux10* | hpux11*)
10791 # Give a soname corresponding to the major version so that dld.sl refuses to
10792 # link against other versions.
10793 version_type=sunos
10794 need_lib_prefix=no
10795 need_version=no
10796 case $host_cpu in
10797 ia64*)
10798 shrext_cmds='.so'
10799 hardcode_into_libs=yes
10800 dynamic_linker="$host_os dld.so"
10801 shlibpath_var=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 if test "X$HPUX_IA64_MODE" = X32; then
10806 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10807 else
10808 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10810 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10812 hppa*64*)
10813 shrext_cmds='.sl'
10814 hardcode_into_libs=yes
10815 dynamic_linker="$host_os dld.sl"
10816 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10817 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10821 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10824 shrext_cmds='.sl'
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=SHLIB_PATH
10827 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10831 esac
10832 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10833 postinstall_cmds='chmod 555 $lib'
10834 # or fails outright, so override atomically:
10835 install_override_mode=555
10838 interix[3-9]*)
10839 version_type=linux
10840 need_lib_prefix=no
10841 need_version=no
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10843 soname_spec='${libname}${release}${shared_ext}$major'
10844 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10845 shlibpath_var=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath=no
10847 hardcode_into_libs=yes
10850 irix5* | irix6* | nonstopux*)
10851 case $host_os in
10852 nonstopux*) version_type=nonstopux ;;
10854 if test "$lt_cv_prog_gnu_ld" = yes; then
10855 version_type=linux
10856 else
10857 version_type=irix
10858 fi ;;
10859 esac
10860 need_lib_prefix=no
10861 need_version=no
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10864 case $host_os in
10865 irix5* | nonstopux*)
10866 libsuff= shlibsuff=
10869 case $LD in # libtool.m4 will add one of these switches to LD
10870 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10871 libsuff= shlibsuff= libmagic=32-bit;;
10872 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10873 libsuff=32 shlibsuff=N32 libmagic=N32;;
10874 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10875 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10876 *) libsuff= shlibsuff= libmagic=never-match;;
10877 esac
10879 esac
10880 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10881 shlibpath_overrides_runpath=no
10882 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10883 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10884 hardcode_into_libs=yes
10887 # No shared lib support for Linux oldld, aout, or coff.
10888 linux*oldld* | linux*aout* | linux*coff*)
10889 dynamic_linker=no
10892 # This must be Linux ELF.
10893 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10894 version_type=linux
10895 need_lib_prefix=no
10896 need_version=no
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 soname_spec='${libname}${release}${shared_ext}$major'
10899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10900 shlibpath_var=LD_LIBRARY_PATH
10901 shlibpath_overrides_runpath=no
10903 # Some binutils ld are patched to set DT_RUNPATH
10904 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10905 $as_echo_n "(cached) " >&6
10906 else
10907 lt_cv_shlibpath_overrides_runpath=no
10908 save_LDFLAGS=$LDFLAGS
10909 save_libdir=$libdir
10910 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10911 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10912 if test x$gcc_no_link = xyes; then
10913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10919 main ()
10923 return 0;
10925 _ACEOF
10926 if ac_fn_c_try_link "$LINENO"; then :
10927 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10928 lt_cv_shlibpath_overrides_runpath=yes
10931 rm -f core conftest.err conftest.$ac_objext \
10932 conftest$ac_exeext conftest.$ac_ext
10933 LDFLAGS=$save_LDFLAGS
10934 libdir=$save_libdir
10938 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10940 # This implies no fast_install, which is unacceptable.
10941 # Some rework will be needed to allow for fast_install
10942 # before this can be enabled.
10943 hardcode_into_libs=yes
10945 # Append ld.so.conf contents to the search path
10946 if test -f /etc/ld.so.conf; then
10947 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' ' '`
10948 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10951 # We used to test for /lib/ld.so.1 and disable shared libraries on
10952 # powerpc, because MkLinux only supported shared libraries with the
10953 # GNU dynamic linker. Since this was broken with cross compilers,
10954 # most powerpc-linux boxes support dynamic linking these days and
10955 # people can always --disable-shared, the test was removed, and we
10956 # assume the GNU/Linux dynamic linker is in use.
10957 dynamic_linker='GNU/Linux ld.so'
10960 netbsd*)
10961 version_type=sunos
10962 need_lib_prefix=no
10963 need_version=no
10964 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10967 dynamic_linker='NetBSD (a.out) ld.so'
10968 else
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 dynamic_linker='NetBSD ld.elf_so'
10973 shlibpath_var=LD_LIBRARY_PATH
10974 shlibpath_overrides_runpath=yes
10975 hardcode_into_libs=yes
10978 newsos6)
10979 version_type=linux
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10985 *nto* | *qnx*)
10986 version_type=qnx
10987 need_lib_prefix=no
10988 need_version=no
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 soname_spec='${libname}${release}${shared_ext}$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=no
10993 hardcode_into_libs=yes
10994 dynamic_linker='ldqnx.so'
10997 openbsd*)
10998 version_type=sunos
10999 sys_lib_dlsearch_path_spec="/usr/lib"
11000 need_lib_prefix=no
11001 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11002 case $host_os in
11003 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11004 *) need_version=no ;;
11005 esac
11006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11007 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11008 shlibpath_var=LD_LIBRARY_PATH
11009 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11010 case $host_os in
11011 openbsd2.[89] | openbsd2.[89].*)
11012 shlibpath_overrides_runpath=no
11015 shlibpath_overrides_runpath=yes
11017 esac
11018 else
11019 shlibpath_overrides_runpath=yes
11023 os2*)
11024 libname_spec='$name'
11025 shrext_cmds=".dll"
11026 need_lib_prefix=no
11027 library_names_spec='$libname${shared_ext} $libname.a'
11028 dynamic_linker='OS/2 ld.exe'
11029 shlibpath_var=LIBPATH
11032 osf3* | osf4* | osf5*)
11033 version_type=osf
11034 need_lib_prefix=no
11035 need_version=no
11036 soname_spec='${libname}${release}${shared_ext}$major'
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11040 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11043 rdos*)
11044 dynamic_linker=no
11047 solaris*)
11048 version_type=linux
11049 need_lib_prefix=no
11050 need_version=no
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 shlibpath_var=LD_LIBRARY_PATH
11054 shlibpath_overrides_runpath=yes
11055 hardcode_into_libs=yes
11056 # ldd complains unless libraries are executable
11057 postinstall_cmds='chmod +x $lib'
11060 sunos4*)
11061 version_type=sunos
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11063 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=yes
11066 if test "$with_gnu_ld" = yes; then
11067 need_lib_prefix=no
11069 need_version=yes
11072 sysv4 | sysv4.3*)
11073 version_type=linux
11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075 soname_spec='${libname}${release}${shared_ext}$major'
11076 shlibpath_var=LD_LIBRARY_PATH
11077 case $host_vendor in
11078 sni)
11079 shlibpath_overrides_runpath=no
11080 need_lib_prefix=no
11081 runpath_var=LD_RUN_PATH
11083 siemens)
11084 need_lib_prefix=no
11086 motorola)
11087 need_lib_prefix=no
11088 need_version=no
11089 shlibpath_overrides_runpath=no
11090 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11092 esac
11095 sysv4*MP*)
11096 if test -d /usr/nec ;then
11097 version_type=linux
11098 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11099 soname_spec='$libname${shared_ext}.$major'
11100 shlibpath_var=LD_LIBRARY_PATH
11104 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11105 version_type=freebsd-elf
11106 need_lib_prefix=no
11107 need_version=no
11108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11109 soname_spec='${libname}${release}${shared_ext}$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11111 shlibpath_overrides_runpath=yes
11112 hardcode_into_libs=yes
11113 if test "$with_gnu_ld" = yes; then
11114 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11115 else
11116 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11117 case $host_os in
11118 sco3.2v5*)
11119 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11121 esac
11123 sys_lib_dlsearch_path_spec='/usr/lib'
11126 tpf*)
11127 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11128 version_type=linux
11129 need_lib_prefix=no
11130 need_version=no
11131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 shlibpath_var=LD_LIBRARY_PATH
11133 shlibpath_overrides_runpath=no
11134 hardcode_into_libs=yes
11137 uts4*)
11138 version_type=linux
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 soname_spec='${libname}${release}${shared_ext}$major'
11141 shlibpath_var=LD_LIBRARY_PATH
11145 dynamic_linker=no
11147 esac
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11149 $as_echo "$dynamic_linker" >&6; }
11150 test "$dynamic_linker" = no && can_build_shared=no
11152 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11153 if test "$GCC" = yes; then
11154 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11157 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11158 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11160 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11161 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11256 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11257 hardcode_action=
11258 if test -n "$hardcode_libdir_flag_spec" ||
11259 test -n "$runpath_var" ||
11260 test "X$hardcode_automatic" = "Xyes" ; then
11262 # We can hardcode non-existent directories.
11263 if test "$hardcode_direct" != no &&
11264 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11265 # have to relink, otherwise we might link with an installed library
11266 # when we should be linking with a yet-to-be-installed one
11267 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11268 test "$hardcode_minus_L" != no; then
11269 # Linking always hardcodes the temporary library directory.
11270 hardcode_action=relink
11271 else
11272 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11273 hardcode_action=immediate
11275 else
11276 # We cannot hardcode anything, or else we can only hardcode existing
11277 # directories.
11278 hardcode_action=unsupported
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11281 $as_echo "$hardcode_action" >&6; }
11283 if test "$hardcode_action" = relink ||
11284 test "$inherit_rpath" = yes; then
11285 # Fast installation is not supported
11286 enable_fast_install=no
11287 elif test "$shlibpath_overrides_runpath" = yes ||
11288 test "$enable_shared" = no; then
11289 # Fast installation is not necessary
11290 enable_fast_install=needless
11298 if test "x$enable_dlopen" != xyes; then
11299 enable_dlopen=unknown
11300 enable_dlopen_self=unknown
11301 enable_dlopen_self_static=unknown
11302 else
11303 lt_cv_dlopen=no
11304 lt_cv_dlopen_libs=
11306 case $host_os in
11307 beos*)
11308 lt_cv_dlopen="load_add_on"
11309 lt_cv_dlopen_libs=
11310 lt_cv_dlopen_self=yes
11313 mingw* | pw32* | cegcc*)
11314 lt_cv_dlopen="LoadLibrary"
11315 lt_cv_dlopen_libs=
11318 cygwin*)
11319 lt_cv_dlopen="dlopen"
11320 lt_cv_dlopen_libs=
11323 darwin*)
11324 # if libdl is installed we need to link against it
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11327 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-ldl $LIBS"
11332 if test x$gcc_no_link = xyes; then
11333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11338 /* Override any GCC internal prototype to avoid an error.
11339 Use char because int might match the return type of a GCC
11340 builtin and then its argument prototype would still apply. */
11341 #ifdef __cplusplus
11342 extern "C"
11343 #endif
11344 char dlopen ();
11346 main ()
11348 return dlopen ();
11350 return 0;
11352 _ACEOF
11353 if ac_fn_c_try_link "$LINENO"; then :
11354 ac_cv_lib_dl_dlopen=yes
11355 else
11356 ac_cv_lib_dl_dlopen=no
11358 rm -f core conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_lib_save_LIBS
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11363 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11364 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11365 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11366 else
11368 lt_cv_dlopen="dyld"
11369 lt_cv_dlopen_libs=
11370 lt_cv_dlopen_self=yes
11377 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11378 if test "x$ac_cv_func_shl_load" = x""yes; then :
11379 lt_cv_dlopen="shl_load"
11380 else
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11382 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11383 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_lib_save_LIBS=$LIBS
11387 LIBS="-ldld $LIBS"
11388 if test x$gcc_no_link = xyes; then
11389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char shl_load ();
11402 main ()
11404 return shl_load ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 ac_cv_lib_dld_shl_load=yes
11411 else
11412 ac_cv_lib_dld_shl_load=no
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11419 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11420 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11421 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11422 else
11423 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11424 if test "x$ac_cv_func_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11428 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11429 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldl $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dlopen ();
11448 main ()
11450 return dlopen ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dl_dlopen=yes
11457 else
11458 ac_cv_lib_dl_dlopen=no
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11465 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11466 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11467 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11468 else
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11470 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11471 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_lib_save_LIBS=$LIBS
11475 LIBS="-lsvld $LIBS"
11476 if test x$gcc_no_link = xyes; then
11477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char dlopen ();
11490 main ()
11492 return dlopen ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 ac_cv_lib_svld_dlopen=yes
11499 else
11500 ac_cv_lib_svld_dlopen=no
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_lib_save_LIBS
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11507 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11508 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11509 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11510 else
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11512 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11513 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_lib_save_LIBS=$LIBS
11517 LIBS="-ldld $LIBS"
11518 if test x$gcc_no_link = xyes; then
11519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char dld_link ();
11532 main ()
11534 return dld_link ();
11536 return 0;
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"; then :
11540 ac_cv_lib_dld_dld_link=yes
11541 else
11542 ac_cv_lib_dld_dld_link=no
11544 rm -f core conftest.err conftest.$ac_objext \
11545 conftest$ac_exeext conftest.$ac_ext
11546 LIBS=$ac_check_lib_save_LIBS
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11549 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11550 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11551 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11570 esac
11572 if test "x$lt_cv_dlopen" != xno; then
11573 enable_dlopen=yes
11574 else
11575 enable_dlopen=no
11578 case $lt_cv_dlopen in
11579 dlopen)
11580 save_CPPFLAGS="$CPPFLAGS"
11581 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11583 save_LDFLAGS="$LDFLAGS"
11584 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11586 save_LIBS="$LIBS"
11587 LIBS="$lt_cv_dlopen_libs $LIBS"
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11590 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11591 if test "${lt_cv_dlopen_self+set}" = set; then :
11592 $as_echo_n "(cached) " >&6
11593 else
11594 if test "$cross_compiling" = yes; then :
11595 lt_cv_dlopen_self=cross
11596 else
11597 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11598 lt_status=$lt_dlunknown
11599 cat > conftest.$ac_ext <<_LT_EOF
11600 #line 11600 "configure"
11601 #include "confdefs.h"
11603 #if HAVE_DLFCN_H
11604 #include <dlfcn.h>
11605 #endif
11607 #include <stdio.h>
11609 #ifdef RTLD_GLOBAL
11610 # define LT_DLGLOBAL RTLD_GLOBAL
11611 #else
11612 # ifdef DL_GLOBAL
11613 # define LT_DLGLOBAL DL_GLOBAL
11614 # else
11615 # define LT_DLGLOBAL 0
11616 # endif
11617 #endif
11619 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11620 find out it does not work in some platform. */
11621 #ifndef LT_DLLAZY_OR_NOW
11622 # ifdef RTLD_LAZY
11623 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11624 # else
11625 # ifdef DL_LAZY
11626 # define LT_DLLAZY_OR_NOW DL_LAZY
11627 # else
11628 # ifdef RTLD_NOW
11629 # define LT_DLLAZY_OR_NOW RTLD_NOW
11630 # else
11631 # ifdef DL_NOW
11632 # define LT_DLLAZY_OR_NOW DL_NOW
11633 # else
11634 # define LT_DLLAZY_OR_NOW 0
11635 # endif
11636 # endif
11637 # endif
11638 # endif
11639 #endif
11641 /* When -fvisbility=hidden is used, assume the code has been annotated
11642 correspondingly for the symbols needed. */
11643 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11644 void fnord () __attribute__((visibility("default")));
11645 #endif
11647 void fnord () { int i=42; }
11648 int main ()
11650 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11651 int status = $lt_dlunknown;
11653 if (self)
11655 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11656 else
11658 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11659 else puts (dlerror ());
11661 /* dlclose (self); */
11663 else
11664 puts (dlerror ());
11666 return status;
11668 _LT_EOF
11669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11670 (eval $ac_link) 2>&5
11671 ac_status=$?
11672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11673 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11674 (./conftest; exit; ) >&5 2>/dev/null
11675 lt_status=$?
11676 case x$lt_status in
11677 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11679 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11680 esac
11681 else :
11682 # compilation failed
11683 lt_cv_dlopen_self=no
11686 rm -fr conftest*
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11691 $as_echo "$lt_cv_dlopen_self" >&6; }
11693 if test "x$lt_cv_dlopen_self" = xyes; then
11694 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11696 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11697 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 if test "$cross_compiling" = yes; then :
11701 lt_cv_dlopen_self_static=cross
11702 else
11703 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11704 lt_status=$lt_dlunknown
11705 cat > conftest.$ac_ext <<_LT_EOF
11706 #line 11706 "configure"
11707 #include "confdefs.h"
11709 #if HAVE_DLFCN_H
11710 #include <dlfcn.h>
11711 #endif
11713 #include <stdio.h>
11715 #ifdef RTLD_GLOBAL
11716 # define LT_DLGLOBAL RTLD_GLOBAL
11717 #else
11718 # ifdef DL_GLOBAL
11719 # define LT_DLGLOBAL DL_GLOBAL
11720 # else
11721 # define LT_DLGLOBAL 0
11722 # endif
11723 #endif
11725 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11726 find out it does not work in some platform. */
11727 #ifndef LT_DLLAZY_OR_NOW
11728 # ifdef RTLD_LAZY
11729 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11730 # else
11731 # ifdef DL_LAZY
11732 # define LT_DLLAZY_OR_NOW DL_LAZY
11733 # else
11734 # ifdef RTLD_NOW
11735 # define LT_DLLAZY_OR_NOW RTLD_NOW
11736 # else
11737 # ifdef DL_NOW
11738 # define LT_DLLAZY_OR_NOW DL_NOW
11739 # else
11740 # define LT_DLLAZY_OR_NOW 0
11741 # endif
11742 # endif
11743 # endif
11744 # endif
11745 #endif
11747 /* When -fvisbility=hidden is used, assume the code has been annotated
11748 correspondingly for the symbols needed. */
11749 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11750 void fnord () __attribute__((visibility("default")));
11751 #endif
11753 void fnord () { int i=42; }
11754 int main ()
11756 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11757 int status = $lt_dlunknown;
11759 if (self)
11761 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11762 else
11764 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11765 else puts (dlerror ());
11767 /* dlclose (self); */
11769 else
11770 puts (dlerror ());
11772 return status;
11774 _LT_EOF
11775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11776 (eval $ac_link) 2>&5
11777 ac_status=$?
11778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11779 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11780 (./conftest; exit; ) >&5 2>/dev/null
11781 lt_status=$?
11782 case x$lt_status in
11783 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11785 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11786 esac
11787 else :
11788 # compilation failed
11789 lt_cv_dlopen_self_static=no
11792 rm -fr conftest*
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11797 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11800 CPPFLAGS="$save_CPPFLAGS"
11801 LDFLAGS="$save_LDFLAGS"
11802 LIBS="$save_LIBS"
11804 esac
11806 case $lt_cv_dlopen_self in
11807 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11808 *) enable_dlopen_self=unknown ;;
11809 esac
11811 case $lt_cv_dlopen_self_static in
11812 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11813 *) enable_dlopen_self_static=unknown ;;
11814 esac
11833 striplib=
11834 old_striplib=
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11836 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11837 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11838 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11839 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11841 $as_echo "yes" >&6; }
11842 else
11843 # FIXME - insert some real tests, host_os isn't really good enough
11844 case $host_os in
11845 darwin*)
11846 if test -n "$STRIP" ; then
11847 striplib="$STRIP -x"
11848 old_striplib="$STRIP -S"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11850 $as_echo "yes" >&6; }
11851 else
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11858 $as_echo "no" >&6; }
11860 esac
11874 # Report which library types will actually be built
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11876 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11878 $as_echo "$can_build_shared" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11881 $as_echo_n "checking whether to build shared libraries... " >&6; }
11882 test "$can_build_shared" = "no" && enable_shared=no
11884 # On AIX, shared libraries and static libraries use the same namespace, and
11885 # are all built from PIC.
11886 case $host_os in
11887 aix3*)
11888 test "$enable_shared" = yes && enable_static=no
11889 if test -n "$RANLIB"; then
11890 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11891 postinstall_cmds='$RANLIB $lib'
11895 aix[4-9]*)
11896 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11897 test "$enable_shared" = yes && enable_static=no
11900 esac
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11902 $as_echo "$enable_shared" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11905 $as_echo_n "checking whether to build static libraries... " >&6; }
11906 # Make sure either enable_shared or enable_static is yes.
11907 test "$enable_shared" = yes || enable_static=yes
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11909 $as_echo "$enable_static" >&6; }
11915 ac_ext=c
11916 ac_cpp='$CPP $CPPFLAGS'
11917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11921 CC="$lt_save_CC"
11923 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11924 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11925 (test "X$CXX" != "Xg++"))) ; then
11926 ac_ext=cpp
11927 ac_cpp='$CXXCPP $CPPFLAGS'
11928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11932 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11933 if test -z "$CXXCPP"; then
11934 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937 # Double quotes because CXXCPP needs to be expanded
11938 for CXXCPP in "$CXX -E" "/lib/cpp"
11940 ac_preproc_ok=false
11941 for ac_cxx_preproc_warn_flag in '' yes
11943 # Use a header file that comes with gcc, so configuring glibc
11944 # with a fresh cross-compiler works.
11945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11946 # <limits.h> exists even on freestanding compilers.
11947 # On the NeXT, cc -E runs the code through the compiler's parser,
11948 # not just through cpp. "Syntax error" is here to catch this case.
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #ifdef __STDC__
11952 # include <limits.h>
11953 #else
11954 # include <assert.h>
11955 #endif
11956 Syntax error
11957 _ACEOF
11958 if ac_fn_cxx_try_cpp "$LINENO"; then :
11960 else
11961 # Broken: fails on valid input.
11962 continue
11964 rm -f conftest.err conftest.$ac_ext
11966 # OK, works on sane cases. Now check whether nonexistent headers
11967 # can be detected and how.
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11970 #include <ac_nonexistent.h>
11971 _ACEOF
11972 if ac_fn_cxx_try_cpp "$LINENO"; then :
11973 # Broken: success on invalid input.
11974 continue
11975 else
11976 # Passes both tests.
11977 ac_preproc_ok=:
11978 break
11980 rm -f conftest.err conftest.$ac_ext
11982 done
11983 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11984 rm -f conftest.err conftest.$ac_ext
11985 if $ac_preproc_ok; then :
11986 break
11989 done
11990 ac_cv_prog_CXXCPP=$CXXCPP
11993 CXXCPP=$ac_cv_prog_CXXCPP
11994 else
11995 ac_cv_prog_CXXCPP=$CXXCPP
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11998 $as_echo "$CXXCPP" >&6; }
11999 ac_preproc_ok=false
12000 for ac_cxx_preproc_warn_flag in '' yes
12002 # Use a header file that comes with gcc, so configuring glibc
12003 # with a fresh cross-compiler works.
12004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12005 # <limits.h> exists even on freestanding compilers.
12006 # On the NeXT, cc -E runs the code through the compiler's parser,
12007 # not just through cpp. "Syntax error" is here to catch this case.
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12010 #ifdef __STDC__
12011 # include <limits.h>
12012 #else
12013 # include <assert.h>
12014 #endif
12015 Syntax error
12016 _ACEOF
12017 if ac_fn_cxx_try_cpp "$LINENO"; then :
12019 else
12020 # Broken: fails on valid input.
12021 continue
12023 rm -f conftest.err conftest.$ac_ext
12025 # OK, works on sane cases. Now check whether nonexistent headers
12026 # can be detected and how.
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12029 #include <ac_nonexistent.h>
12030 _ACEOF
12031 if ac_fn_cxx_try_cpp "$LINENO"; then :
12032 # Broken: success on invalid input.
12033 continue
12034 else
12035 # Passes both tests.
12036 ac_preproc_ok=:
12037 break
12039 rm -f conftest.err conftest.$ac_ext
12041 done
12042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12043 rm -f conftest.err conftest.$ac_ext
12044 if $ac_preproc_ok; then :
12046 else
12047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12049 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12050 See \`config.log' for more details." "$LINENO" 5; }
12053 ac_ext=c
12054 ac_cpp='$CPP $CPPFLAGS'
12055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12059 else
12060 _lt_caught_CXX_error=yes
12063 ac_ext=cpp
12064 ac_cpp='$CXXCPP $CPPFLAGS'
12065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12069 archive_cmds_need_lc_CXX=no
12070 allow_undefined_flag_CXX=
12071 always_export_symbols_CXX=no
12072 archive_expsym_cmds_CXX=
12073 compiler_needs_object_CXX=no
12074 export_dynamic_flag_spec_CXX=
12075 hardcode_direct_CXX=no
12076 hardcode_direct_absolute_CXX=no
12077 hardcode_libdir_flag_spec_CXX=
12078 hardcode_libdir_flag_spec_ld_CXX=
12079 hardcode_libdir_separator_CXX=
12080 hardcode_minus_L_CXX=no
12081 hardcode_shlibpath_var_CXX=unsupported
12082 hardcode_automatic_CXX=no
12083 inherit_rpath_CXX=no
12084 module_cmds_CXX=
12085 module_expsym_cmds_CXX=
12086 link_all_deplibs_CXX=unknown
12087 old_archive_cmds_CXX=$old_archive_cmds
12088 reload_flag_CXX=$reload_flag
12089 reload_cmds_CXX=$reload_cmds
12090 no_undefined_flag_CXX=
12091 whole_archive_flag_spec_CXX=
12092 enable_shared_with_static_runtimes_CXX=no
12094 # Source file extension for C++ test sources.
12095 ac_ext=cpp
12097 # Object file extension for compiled C++ test sources.
12098 objext=o
12099 objext_CXX=$objext
12101 # No sense in running all these tests if we already determined that
12102 # the CXX compiler isn't working. Some variables (like enable_shared)
12103 # are currently assumed to apply to all compilers on this platform,
12104 # and will be corrupted by setting them based on a non-working compiler.
12105 if test "$_lt_caught_CXX_error" != yes; then
12106 # Code to be used in simple compile tests
12107 lt_simple_compile_test_code="int some_variable = 0;"
12109 # Code to be used in simple link tests
12110 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12112 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12119 # If no C compiler was specified, use CC.
12120 LTCC=${LTCC-"$CC"}
12122 # If no C compiler flags were specified, use CFLAGS.
12123 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12125 # Allow CC to be a program name with arguments.
12126 compiler=$CC
12129 # save warnings/boilerplate of simple test code
12130 ac_outfile=conftest.$ac_objext
12131 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12132 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12133 _lt_compiler_boilerplate=`cat conftest.err`
12134 $RM conftest*
12136 ac_outfile=conftest.$ac_objext
12137 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12138 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12139 _lt_linker_boilerplate=`cat conftest.err`
12140 $RM -r conftest*
12143 # Allow CC to be a program name with arguments.
12144 lt_save_CC=$CC
12145 lt_save_LD=$LD
12146 lt_save_GCC=$GCC
12147 GCC=$GXX
12148 lt_save_with_gnu_ld=$with_gnu_ld
12149 lt_save_path_LD=$lt_cv_path_LD
12150 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12151 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12152 else
12153 $as_unset lt_cv_prog_gnu_ld
12155 if test -n "${lt_cv_path_LDCXX+set}"; then
12156 lt_cv_path_LD=$lt_cv_path_LDCXX
12157 else
12158 $as_unset lt_cv_path_LD
12160 test -z "${LDCXX+set}" || LD=$LDCXX
12161 CC=${CXX-"c++"}
12162 compiler=$CC
12163 compiler_CXX=$CC
12164 for cc_temp in $compiler""; do
12165 case $cc_temp in
12166 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12167 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12168 \-*) ;;
12169 *) break;;
12170 esac
12171 done
12172 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12175 if test -n "$compiler"; then
12176 # We don't want -fno-exception when compiling C++ code, so set the
12177 # no_builtin_flag separately
12178 if test "$GXX" = yes; then
12179 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12180 else
12181 lt_prog_compiler_no_builtin_flag_CXX=
12184 if test "$GXX" = yes; then
12185 # Set up default GNU C++ configuration
12189 # Check whether --with-gnu-ld was given.
12190 if test "${with_gnu_ld+set}" = set; then :
12191 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12192 else
12193 with_gnu_ld=no
12196 ac_prog=ld
12197 if test "$GCC" = yes; then
12198 # Check if gcc -print-prog-name=ld gives a path.
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12200 $as_echo_n "checking for ld used by $CC... " >&6; }
12201 case $host in
12202 *-*-mingw*)
12203 # gcc leaves a trailing carriage return which upsets mingw
12204 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12206 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12207 esac
12208 case $ac_prog in
12209 # Accept absolute paths.
12210 [\\/]* | ?:[\\/]*)
12211 re_direlt='/[^/][^/]*/\.\./'
12212 # Canonicalize the pathname of ld
12213 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12214 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12215 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12216 done
12217 test -z "$LD" && LD="$ac_prog"
12220 # If it fails, then pretend we aren't using GCC.
12221 ac_prog=ld
12224 # If it is relative, then search for the first ld in PATH.
12225 with_gnu_ld=unknown
12227 esac
12228 elif test "$with_gnu_ld" = yes; then
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12230 $as_echo_n "checking for GNU ld... " >&6; }
12231 else
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12233 $as_echo_n "checking for non-GNU ld... " >&6; }
12235 if test "${lt_cv_path_LD+set}" = set; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 if test -z "$LD"; then
12239 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12240 for ac_dir in $PATH; do
12241 IFS="$lt_save_ifs"
12242 test -z "$ac_dir" && ac_dir=.
12243 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12244 lt_cv_path_LD="$ac_dir/$ac_prog"
12245 # Check to see if the program is GNU ld. I'd rather use --version,
12246 # but apparently some variants of GNU ld only accept -v.
12247 # Break only if it was the GNU/non-GNU ld that we prefer.
12248 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12249 *GNU* | *'with BFD'*)
12250 test "$with_gnu_ld" != no && break
12253 test "$with_gnu_ld" != yes && break
12255 esac
12257 done
12258 IFS="$lt_save_ifs"
12259 else
12260 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12264 LD="$lt_cv_path_LD"
12265 if test -n "$LD"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12267 $as_echo "$LD" >&6; }
12268 else
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12272 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12274 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12275 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12276 $as_echo_n "(cached) " >&6
12277 else
12278 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12279 case `$LD -v 2>&1 </dev/null` in
12280 *GNU* | *'with BFD'*)
12281 lt_cv_prog_gnu_ld=yes
12284 lt_cv_prog_gnu_ld=no
12286 esac
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12289 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12290 with_gnu_ld=$lt_cv_prog_gnu_ld
12298 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12299 # archiving commands below assume that GNU ld is being used.
12300 if test "$with_gnu_ld" = yes; then
12301 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12302 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'
12304 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12305 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12307 # If archive_cmds runs LD, not CC, wlarc should be empty
12308 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12309 # investigate it a little bit more. (MM)
12310 wlarc='${wl}'
12312 # ancient GNU ld didn't support --whole-archive et. al.
12313 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12314 $GREP 'no-whole-archive' > /dev/null; then
12315 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12316 else
12317 whole_archive_flag_spec_CXX=
12319 else
12320 with_gnu_ld=no
12321 wlarc=
12323 # A generic and very simple default shared library creation
12324 # command for GNU C++ for the case where it uses the native
12325 # linker, instead of GNU ld. If possible, this setting should
12326 # overridden to take advantage of the native linker features on
12327 # the platform it is being used on.
12328 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12331 # Commands to make compiler produce verbose output that lists
12332 # what "hidden" libraries, object files and flags are used when
12333 # linking a shared library.
12334 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12336 else
12337 GXX=no
12338 with_gnu_ld=no
12339 wlarc=
12342 # PORTME: fill in a description of your system's C++ link characteristics
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12344 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12345 ld_shlibs_CXX=yes
12346 case $host_os in
12347 aix3*)
12348 # FIXME: insert proper C++ library support
12349 ld_shlibs_CXX=no
12351 aix[4-9]*)
12352 if test "$host_cpu" = ia64; then
12353 # On IA64, the linker does run time linking by default, so we don't
12354 # have to do anything special.
12355 aix_use_runtimelinking=no
12356 exp_sym_flag='-Bexport'
12357 no_entry_flag=""
12358 else
12359 aix_use_runtimelinking=no
12361 # Test if we are trying to use run time linking or normal
12362 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12363 # need to do runtime linking.
12364 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12365 for ld_flag in $LDFLAGS; do
12366 case $ld_flag in
12367 *-brtl*)
12368 aix_use_runtimelinking=yes
12369 break
12371 esac
12372 done
12374 esac
12376 exp_sym_flag='-bexport'
12377 no_entry_flag='-bnoentry'
12380 # When large executables or shared objects are built, AIX ld can
12381 # have problems creating the table of contents. If linking a library
12382 # or program results in "error TOC overflow" add -mminimal-toc to
12383 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12384 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12386 archive_cmds_CXX=''
12387 hardcode_direct_CXX=yes
12388 hardcode_direct_absolute_CXX=yes
12389 hardcode_libdir_separator_CXX=':'
12390 link_all_deplibs_CXX=yes
12391 file_list_spec_CXX='${wl}-f,'
12393 if test "$GXX" = yes; then
12394 case $host_os in aix4.[012]|aix4.[012].*)
12395 # We only want to do this on AIX 4.2 and lower, the check
12396 # below for broken collect2 doesn't work under 4.3+
12397 collect2name=`${CC} -print-prog-name=collect2`
12398 if test -f "$collect2name" &&
12399 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12400 then
12401 # We have reworked collect2
12403 else
12404 # We have old collect2
12405 hardcode_direct_CXX=unsupported
12406 # It fails to find uninstalled libraries when the uninstalled
12407 # path is not listed in the libpath. Setting hardcode_minus_L
12408 # to unsupported forces relinking
12409 hardcode_minus_L_CXX=yes
12410 hardcode_libdir_flag_spec_CXX='-L$libdir'
12411 hardcode_libdir_separator_CXX=
12413 esac
12414 shared_flag='-shared'
12415 if test "$aix_use_runtimelinking" = yes; then
12416 shared_flag="$shared_flag "'${wl}-G'
12418 else
12419 # not using gcc
12420 if test "$host_cpu" = ia64; then
12421 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12422 # chokes on -Wl,-G. The following line is correct:
12423 shared_flag='-G'
12424 else
12425 if test "$aix_use_runtimelinking" = yes; then
12426 shared_flag='${wl}-G'
12427 else
12428 shared_flag='${wl}-bM:SRE'
12433 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12434 # It seems that -bexpall does not export symbols beginning with
12435 # underscore (_), so it is better to generate a list of symbols to
12436 # export.
12437 always_export_symbols_CXX=yes
12438 if test "$aix_use_runtimelinking" = yes; then
12439 # Warning - without using the other runtime loading flags (-brtl),
12440 # -berok will link without error, but may produce a broken library.
12441 allow_undefined_flag_CXX='-berok'
12442 # Determine the default libpath from the value encoded in an empty
12443 # executable.
12444 if test x$gcc_no_link = xyes; then
12445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12451 main ()
12455 return 0;
12457 _ACEOF
12458 if ac_fn_cxx_try_link "$LINENO"; then :
12460 lt_aix_libpath_sed='
12461 /Import File Strings/,/^$/ {
12462 /^0/ {
12463 s/^0 *\(.*\)$/\1/
12467 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12468 # Check for a 64-bit object if we didn't find anything.
12469 if test -z "$aix_libpath"; then
12470 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12477 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12479 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"
12480 else
12481 if test "$host_cpu" = ia64; then
12482 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12483 allow_undefined_flag_CXX="-z nodefs"
12484 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"
12485 else
12486 # Determine the default libpath from the value encoded in an
12487 # empty executable.
12488 if test x$gcc_no_link = xyes; then
12489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12495 main ()
12499 return 0;
12501 _ACEOF
12502 if ac_fn_cxx_try_link "$LINENO"; then :
12504 lt_aix_libpath_sed='
12505 /Import File Strings/,/^$/ {
12506 /^0/ {
12507 s/^0 *\(.*\)$/\1/
12511 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12512 # Check for a 64-bit object if we didn't find anything.
12513 if test -z "$aix_libpath"; then
12514 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12521 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12522 # Warning - without using the other run time loading flags,
12523 # -berok will link without error, but may produce a broken library.
12524 no_undefined_flag_CXX=' ${wl}-bernotok'
12525 allow_undefined_flag_CXX=' ${wl}-berok'
12526 if test "$with_gnu_ld" = yes; then
12527 # We only use this code for GNU lds that support --whole-archive.
12528 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12529 else
12530 # Exported symbols can be pulled into shared objects from archives
12531 whole_archive_flag_spec_CXX='$convenience'
12533 archive_cmds_need_lc_CXX=yes
12534 # This is similar to how AIX traditionally builds its shared
12535 # libraries.
12536 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'
12541 beos*)
12542 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12543 allow_undefined_flag_CXX=unsupported
12544 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12545 # support --undefined. This deserves some investigation. FIXME
12546 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 else
12548 ld_shlibs_CXX=no
12552 chorus*)
12553 case $cc_basename in
12555 # FIXME: insert proper C++ library support
12556 ld_shlibs_CXX=no
12558 esac
12561 cygwin* | mingw* | pw32* | cegcc*)
12562 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12563 # as there is no search path for DLLs.
12564 hardcode_libdir_flag_spec_CXX='-L$libdir'
12565 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12566 allow_undefined_flag_CXX=unsupported
12567 always_export_symbols_CXX=no
12568 enable_shared_with_static_runtimes_CXX=yes
12570 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12571 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'
12572 # If the export-symbols file already is a .def file (1st line
12573 # is EXPORTS), use it as is; otherwise, prepend...
12574 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12575 cp $export_symbols $output_objdir/$soname.def;
12576 else
12577 echo EXPORTS > $output_objdir/$soname.def;
12578 cat $export_symbols >> $output_objdir/$soname.def;
12580 $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'
12581 else
12582 ld_shlibs_CXX=no
12585 darwin* | rhapsody*)
12588 archive_cmds_need_lc_CXX=no
12589 hardcode_direct_CXX=no
12590 hardcode_automatic_CXX=yes
12591 hardcode_shlibpath_var_CXX=unsupported
12592 if test "$lt_cv_ld_force_load" = "yes"; then
12593 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\"`'
12594 else
12595 whole_archive_flag_spec_CXX=''
12597 link_all_deplibs_CXX=yes
12598 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12599 case $cc_basename in
12600 ifort*) _lt_dar_can_shared=yes ;;
12601 *) _lt_dar_can_shared=$GCC ;;
12602 esac
12603 if test "$_lt_dar_can_shared" = "yes"; then
12604 output_verbose_link_cmd=func_echo_all
12605 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}"
12606 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12607 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}"
12608 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}"
12609 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12610 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}"
12611 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}"
12614 else
12615 ld_shlibs_CXX=no
12620 dgux*)
12621 case $cc_basename in
12622 ec++*)
12623 # FIXME: insert proper C++ library support
12624 ld_shlibs_CXX=no
12626 ghcx*)
12627 # Green Hills C++ Compiler
12628 # FIXME: insert proper C++ library support
12629 ld_shlibs_CXX=no
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12635 esac
12638 freebsd2.*)
12639 # C++ shared libraries reported to be fairly broken before
12640 # switch to ELF
12641 ld_shlibs_CXX=no
12644 freebsd-elf*)
12645 archive_cmds_need_lc_CXX=no
12648 freebsd* | dragonfly*)
12649 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12650 # conventions
12651 ld_shlibs_CXX=yes
12654 gnu*)
12657 haiku*)
12658 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12659 link_all_deplibs_CXX=yes
12662 hpux9*)
12663 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12664 hardcode_libdir_separator_CXX=:
12665 export_dynamic_flag_spec_CXX='${wl}-E'
12666 hardcode_direct_CXX=yes
12667 hardcode_minus_L_CXX=yes # Not in the search PATH,
12668 # but as the default
12669 # location of the library.
12671 case $cc_basename in
12672 CC*)
12673 # FIXME: insert proper C++ library support
12674 ld_shlibs_CXX=no
12676 aCC*)
12677 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'
12678 # Commands to make compiler produce verbose output that lists
12679 # what "hidden" libraries, object files and flags are used when
12680 # linking a shared library.
12682 # There doesn't appear to be a way to prevent this compiler from
12683 # explicitly linking system object files so we need to strip them
12684 # from the output so that they don't get included in the library
12685 # dependencies.
12686 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"'
12689 if test "$GXX" = yes; then
12690 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'
12691 else
12692 # FIXME: insert proper C++ library support
12693 ld_shlibs_CXX=no
12696 esac
12699 hpux10*|hpux11*)
12700 if test $with_gnu_ld = no; then
12701 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12702 hardcode_libdir_separator_CXX=:
12704 case $host_cpu in
12705 hppa*64*|ia64*)
12708 export_dynamic_flag_spec_CXX='${wl}-E'
12710 esac
12712 case $host_cpu in
12713 hppa*64*|ia64*)
12714 hardcode_direct_CXX=no
12715 hardcode_shlibpath_var_CXX=no
12718 hardcode_direct_CXX=yes
12719 hardcode_direct_absolute_CXX=yes
12720 hardcode_minus_L_CXX=yes # Not in the search PATH,
12721 # but as the default
12722 # location of the library.
12724 esac
12726 case $cc_basename in
12727 CC*)
12728 # FIXME: insert proper C++ library support
12729 ld_shlibs_CXX=no
12731 aCC*)
12732 case $host_cpu in
12733 hppa*64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12736 ia64*)
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12740 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12742 esac
12743 # Commands to make compiler produce verbose output that lists
12744 # what "hidden" libraries, object files and flags are used when
12745 # linking a shared library.
12747 # There doesn't appear to be a way to prevent this compiler from
12748 # explicitly linking system object files so we need to strip them
12749 # from the output so that they don't get included in the library
12750 # dependencies.
12751 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"'
12754 if test "$GXX" = yes; then
12755 if test $with_gnu_ld = no; then
12756 case $host_cpu in
12757 hppa*64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12760 ia64*)
12761 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12764 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'
12766 esac
12768 else
12769 # FIXME: insert proper C++ library support
12770 ld_shlibs_CXX=no
12773 esac
12776 interix[3-9]*)
12777 hardcode_direct_CXX=no
12778 hardcode_shlibpath_var_CXX=no
12779 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12780 export_dynamic_flag_spec_CXX='${wl}-E'
12781 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12782 # Instead, shared libraries are loaded at an image base (0x10000000 by
12783 # default) and relocated if they conflict, which is a slow very memory
12784 # consuming and fragmenting process. To avoid this, we pick a random,
12785 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12786 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12787 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'
12788 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'
12790 irix5* | irix6*)
12791 case $cc_basename in
12792 CC*)
12793 # SGI C++
12794 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'
12796 # Archives containing C++ object files must be created using
12797 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12798 # necessary to make sure instantiated templates are included
12799 # in the archive.
12800 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12803 if test "$GXX" = yes; then
12804 if test "$with_gnu_ld" = no; then
12805 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'
12806 else
12807 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'
12810 link_all_deplibs_CXX=yes
12812 esac
12813 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12814 hardcode_libdir_separator_CXX=:
12815 inherit_rpath_CXX=yes
12818 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12819 case $cc_basename in
12820 KCC*)
12821 # Kuck and Associates, Inc. (KAI) C++ Compiler
12823 # KCC will only create a shared library if the output file
12824 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12825 # to its proper name (with version) after linking.
12826 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'
12827 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'
12828 # Commands to make compiler produce verbose output that lists
12829 # what "hidden" libraries, object files and flags are used when
12830 # linking a shared library.
12832 # There doesn't appear to be a way to prevent this compiler from
12833 # explicitly linking system object files so we need to strip them
12834 # from the output so that they don't get included in the library
12835 # dependencies.
12836 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"'
12838 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12839 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 # Archives containing C++ object files must be created using
12842 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12843 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12845 icpc* | ecpc* )
12846 # Intel C++
12847 with_gnu_ld=yes
12848 # version 8.0 and above of icpc choke on multiply defined symbols
12849 # if we add $predep_objects and $postdep_objects, however 7.1 and
12850 # earlier do not add the objects themselves.
12851 case `$CC -V 2>&1` in
12852 *"Version 7."*)
12853 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12854 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'
12856 *) # Version 8.0 or newer
12857 tmp_idyn=
12858 case $host_cpu in
12859 ia64*) tmp_idyn=' -i_dynamic';;
12860 esac
12861 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862 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'
12864 esac
12865 archive_cmds_need_lc_CXX=no
12866 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12867 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12868 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12870 pgCC* | pgcpp*)
12871 # Portland Group C++ compiler
12872 case `$CC -V` in
12873 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12874 prelink_cmds_CXX='tpldir=Template.dir~
12875 rm -rf $tpldir~
12876 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12877 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12878 old_archive_cmds_CXX='tpldir=Template.dir~
12879 rm -rf $tpldir~
12880 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12881 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12882 $RANLIB $oldlib'
12883 archive_cmds_CXX='tpldir=Template.dir~
12884 rm -rf $tpldir~
12885 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12886 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12887 archive_expsym_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 ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12892 *) # Version 6 and above use weak symbols
12893 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12894 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'
12896 esac
12898 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12899 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12900 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'
12902 cxx*)
12903 # Compaq C++
12904 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12905 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'
12907 runpath_var=LD_RUN_PATH
12908 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12909 hardcode_libdir_separator_CXX=:
12911 # Commands to make compiler produce verbose output that lists
12912 # what "hidden" libraries, object files and flags are used when
12913 # linking a shared library.
12915 # There doesn't appear to be a way to prevent this compiler from
12916 # explicitly linking system object files so we need to strip them
12917 # from the output so that they don't get included in the library
12918 # dependencies.
12919 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'
12921 xl* | mpixl* | bgxl*)
12922 # IBM XL 8.0 on PPC, with GNU ld
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12924 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12925 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12926 if test "x$supports_anon_versioning" = xyes; then
12927 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12928 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12929 echo "local: *; };" >> $output_objdir/$libname.ver~
12930 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12934 case `$CC -V 2>&1 | sed 5q` in
12935 *Sun\ C*)
12936 # Sun C++ 5.9
12937 no_undefined_flag_CXX=' -zdefs'
12938 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12939 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'
12940 hardcode_libdir_flag_spec_CXX='-R$libdir'
12941 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'
12942 compiler_needs_object_CXX=yes
12944 # Not sure whether something based on
12945 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12946 # would be better.
12947 output_verbose_link_cmd='func_echo_all'
12949 # Archives containing C++ object files must be created using
12950 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12951 # necessary to make sure instantiated templates are included
12952 # in the archive.
12953 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12955 esac
12957 esac
12960 lynxos*)
12961 # FIXME: insert proper C++ library support
12962 ld_shlibs_CXX=no
12965 m88k*)
12966 # FIXME: insert proper C++ library support
12967 ld_shlibs_CXX=no
12970 mvs*)
12971 case $cc_basename in
12972 cxx*)
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12977 # FIXME: insert proper C++ library support
12978 ld_shlibs_CXX=no
12980 esac
12983 netbsd*)
12984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12985 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12986 wlarc=
12987 hardcode_libdir_flag_spec_CXX='-R$libdir'
12988 hardcode_direct_CXX=yes
12989 hardcode_shlibpath_var_CXX=no
12991 # Workaround some broken pre-1.5 toolchains
12992 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12995 *nto* | *qnx*)
12996 ld_shlibs_CXX=yes
12999 openbsd2*)
13000 # C++ shared libraries are fairly broken
13001 ld_shlibs_CXX=no
13004 openbsd*)
13005 if test -f /usr/libexec/ld.so; then
13006 hardcode_direct_CXX=yes
13007 hardcode_shlibpath_var_CXX=no
13008 hardcode_direct_absolute_CXX=yes
13009 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13010 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13011 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13012 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13013 export_dynamic_flag_spec_CXX='${wl}-E'
13014 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13016 output_verbose_link_cmd=func_echo_all
13017 else
13018 ld_shlibs_CXX=no
13022 osf3* | osf4* | osf5*)
13023 case $cc_basename in
13024 KCC*)
13025 # Kuck and Associates, Inc. (KAI) C++ Compiler
13027 # KCC will only create a shared library if the output file
13028 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13029 # to its proper name (with version) after linking.
13030 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'
13032 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13033 hardcode_libdir_separator_CXX=:
13035 # Archives containing C++ object files must be created using
13036 # the KAI C++ compiler.
13037 case $host in
13038 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13039 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13040 esac
13042 RCC*)
13043 # Rational C++ 2.4.1
13044 # FIXME: insert proper C++ library support
13045 ld_shlibs_CXX=no
13047 cxx*)
13048 case $host in
13049 osf3*)
13050 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13051 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'
13052 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13055 allow_undefined_flag_CXX=' -expect_unresolved \*'
13056 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'
13057 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13058 echo "-hidden">> $lib.exp~
13059 $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~
13060 $RM $lib.exp'
13061 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13063 esac
13065 hardcode_libdir_separator_CXX=:
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13071 # There doesn't appear to be a way to prevent this compiler from
13072 # explicitly linking system object files so we need to strip them
13073 # from the output so that they don't get included in the library
13074 # dependencies.
13075 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"'
13078 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13079 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13080 case $host in
13081 osf3*)
13082 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'
13085 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'
13087 esac
13089 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13090 hardcode_libdir_separator_CXX=:
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13097 else
13098 # FIXME: insert proper C++ library support
13099 ld_shlibs_CXX=no
13102 esac
13105 psos*)
13106 # FIXME: insert proper C++ library support
13107 ld_shlibs_CXX=no
13110 sunos4*)
13111 case $cc_basename in
13112 CC*)
13113 # Sun C++ 4.x
13114 # FIXME: insert proper C++ library support
13115 ld_shlibs_CXX=no
13117 lcc*)
13118 # Lucid
13119 # FIXME: insert proper C++ library support
13120 ld_shlibs_CXX=no
13123 # FIXME: insert proper C++ library support
13124 ld_shlibs_CXX=no
13126 esac
13129 solaris*)
13130 case $cc_basename in
13131 CC*)
13132 # Sun C++ 4.2, 5.x and Centerline C++
13133 archive_cmds_need_lc_CXX=yes
13134 no_undefined_flag_CXX=' -zdefs'
13135 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13136 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13137 $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'
13139 hardcode_libdir_flag_spec_CXX='-R$libdir'
13140 hardcode_shlibpath_var_CXX=no
13141 case $host_os in
13142 solaris2.[0-5] | solaris2.[0-5].*) ;;
13144 # The compiler driver will combine and reorder linker options,
13145 # but understands `-z linker_flag'.
13146 # Supported since Solaris 2.6 (maybe 2.5.1?)
13147 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13149 esac
13150 link_all_deplibs_CXX=yes
13152 output_verbose_link_cmd='func_echo_all'
13154 # Archives containing C++ object files must be created using
13155 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13156 # necessary to make sure instantiated templates are included
13157 # in the archive.
13158 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13160 gcx*)
13161 # Green Hills C++ Compiler
13162 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13164 # The C++ compiler must be used to create the archive.
13165 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13168 # GNU C++ compiler with Solaris linker
13169 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13170 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13171 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13172 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13173 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13174 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13176 # Commands to make compiler produce verbose output that lists
13177 # what "hidden" libraries, object files and flags are used when
13178 # linking a shared library.
13179 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13180 else
13181 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13182 # platform.
13183 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13184 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13185 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13187 # Commands to make compiler produce verbose output that lists
13188 # what "hidden" libraries, object files and flags are used when
13189 # linking a shared library.
13190 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13193 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13194 case $host_os in
13195 solaris2.[0-5] | solaris2.[0-5].*) ;;
13197 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13199 esac
13202 esac
13205 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13206 no_undefined_flag_CXX='${wl}-z,text'
13207 archive_cmds_need_lc_CXX=no
13208 hardcode_shlibpath_var_CXX=no
13209 runpath_var='LD_RUN_PATH'
13211 case $cc_basename in
13212 CC*)
13213 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13218 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13220 esac
13223 sysv5* | sco3.2v5* | sco5v6*)
13224 # Note: We can NOT use -z defs as we might desire, because we do not
13225 # link with -lc, and that would cause any symbols used from libc to
13226 # always be unresolved, which means just about no library would
13227 # ever link correctly. If we're not using GNU ld we use -z text
13228 # though, which does catch some bad symbols but isn't as heavy-handed
13229 # as -z defs.
13230 no_undefined_flag_CXX='${wl}-z,text'
13231 allow_undefined_flag_CXX='${wl}-z,nodefs'
13232 archive_cmds_need_lc_CXX=no
13233 hardcode_shlibpath_var_CXX=no
13234 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13235 hardcode_libdir_separator_CXX=':'
13236 link_all_deplibs_CXX=yes
13237 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13238 runpath_var='LD_RUN_PATH'
13240 case $cc_basename in
13241 CC*)
13242 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13244 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13245 '"$old_archive_cmds_CXX"
13246 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13247 '"$reload_cmds_CXX"
13250 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 esac
13256 tandem*)
13257 case $cc_basename in
13258 NCC*)
13259 # NonStop-UX NCC 3.20
13260 # FIXME: insert proper C++ library support
13261 ld_shlibs_CXX=no
13264 # FIXME: insert proper C++ library support
13265 ld_shlibs_CXX=no
13267 esac
13270 vxworks*)
13271 # FIXME: insert proper C++ library support
13272 ld_shlibs_CXX=no
13276 # FIXME: insert proper C++ library support
13277 ld_shlibs_CXX=no
13279 esac
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13282 $as_echo "$ld_shlibs_CXX" >&6; }
13283 test "$ld_shlibs_CXX" = no && can_build_shared=no
13285 GCC_CXX="$GXX"
13286 LD_CXX="$LD"
13288 ## CAVEAT EMPTOR:
13289 ## There is no encapsulation within the following macros, do not change
13290 ## the running order or otherwise move them around unless you know exactly
13291 ## what you are doing...
13292 # Dependencies to place before and after the object being linked:
13293 predep_objects_CXX=
13294 postdep_objects_CXX=
13295 predeps_CXX=
13296 postdeps_CXX=
13297 compiler_lib_search_path_CXX=
13299 cat > conftest.$ac_ext <<_LT_EOF
13300 class Foo
13302 public:
13303 Foo (void) { a = 0; }
13304 private:
13305 int a;
13307 _LT_EOF
13309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13310 (eval $ac_compile) 2>&5
13311 ac_status=$?
13312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13313 test $ac_status = 0; }; then
13314 # Parse the compiler output and extract the necessary
13315 # objects, libraries and library flags.
13317 # Sentinel used to keep track of whether or not we are before
13318 # the conftest object file.
13319 pre_test_object_deps_done=no
13321 for p in `eval "$output_verbose_link_cmd"`; do
13322 case $p in
13324 -L* | -R* | -l*)
13325 # Some compilers place space between "-{L,R}" and the path.
13326 # Remove the space.
13327 if test $p = "-L" ||
13328 test $p = "-R"; then
13329 prev=$p
13330 continue
13331 else
13332 prev=
13335 if test "$pre_test_object_deps_done" = no; then
13336 case $p in
13337 -L* | -R*)
13338 # Internal compiler library paths should come after those
13339 # provided the user. The postdeps already come after the
13340 # user supplied libs so there is no need to process them.
13341 if test -z "$compiler_lib_search_path_CXX"; then
13342 compiler_lib_search_path_CXX="${prev}${p}"
13343 else
13344 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13347 # The "-l" case would never come before the object being
13348 # linked, so don't bother handling this case.
13349 esac
13350 else
13351 if test -z "$postdeps_CXX"; then
13352 postdeps_CXX="${prev}${p}"
13353 else
13354 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13359 *.$objext)
13360 # This assumes that the test object file only shows up
13361 # once in the compiler output.
13362 if test "$p" = "conftest.$objext"; then
13363 pre_test_object_deps_done=yes
13364 continue
13367 if test "$pre_test_object_deps_done" = no; then
13368 if test -z "$predep_objects_CXX"; then
13369 predep_objects_CXX="$p"
13370 else
13371 predep_objects_CXX="$predep_objects_CXX $p"
13373 else
13374 if test -z "$postdep_objects_CXX"; then
13375 postdep_objects_CXX="$p"
13376 else
13377 postdep_objects_CXX="$postdep_objects_CXX $p"
13382 *) ;; # Ignore the rest.
13384 esac
13385 done
13387 # Clean up.
13388 rm -f a.out a.exe
13389 else
13390 echo "libtool.m4: error: problem compiling CXX test program"
13393 $RM -f confest.$objext
13395 # PORTME: override above test on systems where it is broken
13396 case $host_os in
13397 interix[3-9]*)
13398 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13399 # hack all around it, let's just trust "g++" to DTRT.
13400 predep_objects_CXX=
13401 postdep_objects_CXX=
13402 postdeps_CXX=
13405 linux*)
13406 case `$CC -V 2>&1 | sed 5q` in
13407 *Sun\ C*)
13408 # Sun C++ 5.9
13410 # The more standards-conforming stlport4 library is
13411 # incompatible with the Cstd library. Avoid specifying
13412 # it if it's in CXXFLAGS. Ignore libCrun as
13413 # -library=stlport4 depends on it.
13414 case " $CXX $CXXFLAGS " in
13415 *" -library=stlport4 "*)
13416 solaris_use_stlport4=yes
13418 esac
13420 if test "$solaris_use_stlport4" != yes; then
13421 postdeps_CXX='-library=Cstd -library=Crun'
13424 esac
13427 solaris*)
13428 case $cc_basename in
13429 CC*)
13430 # The more standards-conforming stlport4 library is
13431 # incompatible with the Cstd library. Avoid specifying
13432 # it if it's in CXXFLAGS. Ignore libCrun as
13433 # -library=stlport4 depends on it.
13434 case " $CXX $CXXFLAGS " in
13435 *" -library=stlport4 "*)
13436 solaris_use_stlport4=yes
13438 esac
13440 # Adding this requires a known-good setup of shared libraries for
13441 # Sun compiler versions before 5.6, else PIC objects from an old
13442 # archive will be linked into the output, leading to subtle bugs.
13443 if test "$solaris_use_stlport4" != yes; then
13444 postdeps_CXX='-library=Cstd -library=Crun'
13447 esac
13449 esac
13452 case " $postdeps_CXX " in
13453 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13454 esac
13455 compiler_lib_search_dirs_CXX=
13456 if test -n "${compiler_lib_search_path_CXX}"; then
13457 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13490 lt_prog_compiler_wl_CXX=
13491 lt_prog_compiler_pic_CXX=
13492 lt_prog_compiler_static_CXX=
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13495 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13497 # C++ specific cases for pic, static, wl, etc.
13498 if test "$GXX" = yes; then
13499 lt_prog_compiler_wl_CXX='-Wl,'
13500 lt_prog_compiler_static_CXX='-static'
13502 case $host_os in
13503 aix*)
13504 # All AIX code is PIC.
13505 if test "$host_cpu" = ia64; then
13506 # AIX 5 now supports IA64 processor
13507 lt_prog_compiler_static_CXX='-Bstatic'
13509 lt_prog_compiler_pic_CXX='-fPIC'
13512 amigaos*)
13513 case $host_cpu in
13514 powerpc)
13515 # see comment about AmigaOS4 .so support
13516 lt_prog_compiler_pic_CXX='-fPIC'
13518 m68k)
13519 # FIXME: we need at least 68020 code to build shared libraries, but
13520 # adding the `-m68020' flag to GCC prevents building anything better,
13521 # like `-m68040'.
13522 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13524 esac
13527 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13528 # PIC is the default for these OSes.
13530 mingw* | cygwin* | os2* | pw32* | cegcc*)
13531 # This hack is so that the source file can tell whether it is being
13532 # built for inclusion in a dll (and should export symbols for example).
13533 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13534 # (--disable-auto-import) libraries
13535 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13537 darwin* | rhapsody*)
13538 # PIC is the default on this platform
13539 # Common symbols not allowed in MH_DYLIB files
13540 lt_prog_compiler_pic_CXX='-fno-common'
13542 *djgpp*)
13543 # DJGPP does not support shared libraries at all
13544 lt_prog_compiler_pic_CXX=
13546 haiku*)
13547 # PIC is the default for Haiku.
13548 # The "-static" flag exists, but is broken.
13549 lt_prog_compiler_static_CXX=
13551 interix[3-9]*)
13552 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13553 # Instead, we relocate shared libraries at runtime.
13555 sysv4*MP*)
13556 if test -d /usr/nec; then
13557 lt_prog_compiler_pic_CXX=-Kconform_pic
13560 hpux*)
13561 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13562 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13563 # sets the default TLS model and affects inlining.
13564 case $host_cpu in
13565 hppa*64*)
13568 lt_prog_compiler_pic_CXX='-fPIC'
13570 esac
13572 *qnx* | *nto*)
13573 # QNX uses GNU C++, but need to define -shared option too, otherwise
13574 # it will coredump.
13575 lt_prog_compiler_pic_CXX='-fPIC -shared'
13578 lt_prog_compiler_pic_CXX='-fPIC'
13580 esac
13581 else
13582 case $host_os in
13583 aix[4-9]*)
13584 # All AIX code is PIC.
13585 if test "$host_cpu" = ia64; then
13586 # AIX 5 now supports IA64 processor
13587 lt_prog_compiler_static_CXX='-Bstatic'
13588 else
13589 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13592 chorus*)
13593 case $cc_basename in
13594 cxch68*)
13595 # Green Hills C++ Compiler
13596 # _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"
13598 esac
13600 dgux*)
13601 case $cc_basename in
13602 ec++*)
13603 lt_prog_compiler_pic_CXX='-KPIC'
13605 ghcx*)
13606 # Green Hills C++ Compiler
13607 lt_prog_compiler_pic_CXX='-pic'
13611 esac
13613 freebsd* | dragonfly*)
13614 # FreeBSD uses GNU C++
13616 hpux9* | hpux10* | hpux11*)
13617 case $cc_basename in
13618 CC*)
13619 lt_prog_compiler_wl_CXX='-Wl,'
13620 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13621 if test "$host_cpu" != ia64; then
13622 lt_prog_compiler_pic_CXX='+Z'
13625 aCC*)
13626 lt_prog_compiler_wl_CXX='-Wl,'
13627 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13628 case $host_cpu in
13629 hppa*64*|ia64*)
13630 # +Z the default
13633 lt_prog_compiler_pic_CXX='+Z'
13635 esac
13639 esac
13641 interix*)
13642 # This is c89, which is MS Visual C++ (no shared libs)
13643 # Anyone wants to do a port?
13645 irix5* | irix6* | nonstopux*)
13646 case $cc_basename in
13647 CC*)
13648 lt_prog_compiler_wl_CXX='-Wl,'
13649 lt_prog_compiler_static_CXX='-non_shared'
13650 # CC pic flag -KPIC is the default.
13654 esac
13656 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13657 case $cc_basename in
13658 KCC*)
13659 # KAI C++ Compiler
13660 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 lt_prog_compiler_pic_CXX='-fPIC'
13663 ecpc* )
13664 # old Intel C++ for x86_64 which still supported -KPIC.
13665 lt_prog_compiler_wl_CXX='-Wl,'
13666 lt_prog_compiler_pic_CXX='-KPIC'
13667 lt_prog_compiler_static_CXX='-static'
13669 icpc* )
13670 # Intel C++, used to be incompatible with GCC.
13671 # ICC 10 doesn't accept -KPIC any more.
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 lt_prog_compiler_pic_CXX='-fPIC'
13674 lt_prog_compiler_static_CXX='-static'
13676 pgCC* | pgcpp*)
13677 # Portland Group C++ compiler
13678 lt_prog_compiler_wl_CXX='-Wl,'
13679 lt_prog_compiler_pic_CXX='-fpic'
13680 lt_prog_compiler_static_CXX='-Bstatic'
13682 cxx*)
13683 # Compaq C++
13684 # Make sure the PIC flag is empty. It appears that all Alpha
13685 # Linux and Compaq Tru64 Unix objects are PIC.
13686 lt_prog_compiler_pic_CXX=
13687 lt_prog_compiler_static_CXX='-non_shared'
13689 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13690 # IBM XL 8.0, 9.0 on PPC and BlueGene
13691 lt_prog_compiler_wl_CXX='-Wl,'
13692 lt_prog_compiler_pic_CXX='-qpic'
13693 lt_prog_compiler_static_CXX='-qstaticlink'
13696 case `$CC -V 2>&1 | sed 5q` in
13697 *Sun\ C*)
13698 # Sun C++ 5.9
13699 lt_prog_compiler_pic_CXX='-KPIC'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13701 lt_prog_compiler_wl_CXX='-Qoption ld '
13703 esac
13705 esac
13707 lynxos*)
13709 m88k*)
13711 mvs*)
13712 case $cc_basename in
13713 cxx*)
13714 lt_prog_compiler_pic_CXX='-W c,exportall'
13718 esac
13720 netbsd*)
13722 *qnx* | *nto*)
13723 # QNX uses GNU C++, but need to define -shared option too, otherwise
13724 # it will coredump.
13725 lt_prog_compiler_pic_CXX='-fPIC -shared'
13727 osf3* | osf4* | osf5*)
13728 case $cc_basename in
13729 KCC*)
13730 lt_prog_compiler_wl_CXX='--backend -Wl,'
13732 RCC*)
13733 # Rational C++ 2.4.1
13734 lt_prog_compiler_pic_CXX='-pic'
13736 cxx*)
13737 # Digital/Compaq C++
13738 lt_prog_compiler_wl_CXX='-Wl,'
13739 # Make sure the PIC flag is empty. It appears that all Alpha
13740 # Linux and Compaq Tru64 Unix objects are PIC.
13741 lt_prog_compiler_pic_CXX=
13742 lt_prog_compiler_static_CXX='-non_shared'
13746 esac
13748 psos*)
13750 solaris*)
13751 case $cc_basename in
13752 CC*)
13753 # Sun C++ 4.2, 5.x and Centerline C++
13754 lt_prog_compiler_pic_CXX='-KPIC'
13755 lt_prog_compiler_static_CXX='-Bstatic'
13756 lt_prog_compiler_wl_CXX='-Qoption ld '
13758 gcx*)
13759 # Green Hills C++ Compiler
13760 lt_prog_compiler_pic_CXX='-PIC'
13764 esac
13766 sunos4*)
13767 case $cc_basename in
13768 CC*)
13769 # Sun C++ 4.x
13770 lt_prog_compiler_pic_CXX='-pic'
13771 lt_prog_compiler_static_CXX='-Bstatic'
13773 lcc*)
13774 # Lucid
13775 lt_prog_compiler_pic_CXX='-pic'
13779 esac
13781 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13782 case $cc_basename in
13783 CC*)
13784 lt_prog_compiler_wl_CXX='-Wl,'
13785 lt_prog_compiler_pic_CXX='-KPIC'
13786 lt_prog_compiler_static_CXX='-Bstatic'
13788 esac
13790 tandem*)
13791 case $cc_basename in
13792 NCC*)
13793 # NonStop-UX NCC 3.20
13794 lt_prog_compiler_pic_CXX='-KPIC'
13798 esac
13800 vxworks*)
13803 lt_prog_compiler_can_build_shared_CXX=no
13805 esac
13808 case $host_os in
13809 # For platforms which do not support PIC, -DPIC is meaningless:
13810 *djgpp*)
13811 lt_prog_compiler_pic_CXX=
13814 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13816 esac
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13818 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13823 # Check to make sure the PIC flag actually works.
13825 if test -n "$lt_prog_compiler_pic_CXX"; then
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13828 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 lt_cv_prog_compiler_pic_works_CXX=no
13832 ac_outfile=conftest.$ac_objext
13833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13834 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13835 # Insert the option either (1) after the last *FLAGS variable, or
13836 # (2) before a word containing "conftest.", or (3) at the end.
13837 # Note that $ac_compile itself does not contain backslashes and begins
13838 # with a dollar sign (not a hyphen), so the echo should work correctly.
13839 # The option is referenced via a variable to avoid confusing sed.
13840 lt_compile=`echo "$ac_compile" | $SED \
13841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13843 -e 's:$: $lt_compiler_flag:'`
13844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13845 (eval "$lt_compile" 2>conftest.err)
13846 ac_status=$?
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 if (exit $ac_status) && test -s "$ac_outfile"; then
13850 # The compiler can only warn and ignore the option if not recognized
13851 # So say no if there are warnings other than the usual output.
13852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13855 lt_cv_prog_compiler_pic_works_CXX=yes
13858 $RM conftest*
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13862 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13864 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13865 case $lt_prog_compiler_pic_CXX in
13866 "" | " "*) ;;
13867 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13868 esac
13869 else
13870 lt_prog_compiler_pic_CXX=
13871 lt_prog_compiler_can_build_shared_CXX=no
13879 # Check to make sure the static flag actually works.
13881 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13883 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13884 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 lt_cv_prog_compiler_static_works_CXX=no
13888 save_LDFLAGS="$LDFLAGS"
13889 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13890 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13891 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13892 # The linker can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 if test -s conftest.err; then
13895 # Append any errors to the config.log.
13896 cat conftest.err 1>&5
13897 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13898 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13899 if diff conftest.exp conftest.er2 >/dev/null; then
13900 lt_cv_prog_compiler_static_works_CXX=yes
13902 else
13903 lt_cv_prog_compiler_static_works_CXX=yes
13906 $RM -r conftest*
13907 LDFLAGS="$save_LDFLAGS"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13911 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13913 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13915 else
13916 lt_prog_compiler_static_CXX=
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13924 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 lt_cv_prog_compiler_c_o_CXX=no
13928 $RM -r conftest 2>/dev/null
13929 mkdir conftest
13930 cd conftest
13931 mkdir out
13932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13934 lt_compiler_flag="-o out/conftest2.$ac_objext"
13935 # Insert the option either (1) after the last *FLAGS variable, or
13936 # (2) before a word containing "conftest.", or (3) at the end.
13937 # Note that $ac_compile itself does not contain backslashes and begins
13938 # with a dollar sign (not a hyphen), so the echo should work correctly.
13939 lt_compile=`echo "$ac_compile" | $SED \
13940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13942 -e 's:$: $lt_compiler_flag:'`
13943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13944 (eval "$lt_compile" 2>out/conftest.err)
13945 ac_status=$?
13946 cat out/conftest.err >&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13949 then
13950 # The compiler can only warn and ignore the option if not recognized
13951 # So say no if there are warnings
13952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13955 lt_cv_prog_compiler_c_o_CXX=yes
13958 chmod u+w . 2>&5
13959 $RM conftest*
13960 # SGI C++ compiler will create directory out/ii_files/ for
13961 # template instantiation
13962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13963 $RM out/* && rmdir out
13964 cd ..
13965 $RM -r conftest
13966 $RM conftest*
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13970 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13976 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 lt_cv_prog_compiler_c_o_CXX=no
13980 $RM -r conftest 2>/dev/null
13981 mkdir conftest
13982 cd conftest
13983 mkdir out
13984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13986 lt_compiler_flag="-o out/conftest2.$ac_objext"
13987 # Insert the option either (1) after the last *FLAGS variable, or
13988 # (2) before a word containing "conftest.", or (3) at the end.
13989 # Note that $ac_compile itself does not contain backslashes and begins
13990 # with a dollar sign (not a hyphen), so the echo should work correctly.
13991 lt_compile=`echo "$ac_compile" | $SED \
13992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13994 -e 's:$: $lt_compiler_flag:'`
13995 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13996 (eval "$lt_compile" 2>out/conftest.err)
13997 ac_status=$?
13998 cat out/conftest.err >&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14001 then
14002 # The compiler can only warn and ignore the option if not recognized
14003 # So say no if there are warnings
14004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14007 lt_cv_prog_compiler_c_o_CXX=yes
14010 chmod u+w . 2>&5
14011 $RM conftest*
14012 # SGI C++ compiler will create directory out/ii_files/ for
14013 # template instantiation
14014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14015 $RM out/* && rmdir out
14016 cd ..
14017 $RM -r conftest
14018 $RM conftest*
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14022 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14027 hard_links="nottested"
14028 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14029 # do not overwrite the value of need_locks provided by the user
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14031 $as_echo_n "checking if we can lock with hard links... " >&6; }
14032 hard_links=yes
14033 $RM conftest*
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 touch conftest.a
14036 ln conftest.a conftest.b 2>&5 || hard_links=no
14037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14039 $as_echo "$hard_links" >&6; }
14040 if test "$hard_links" = no; then
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14042 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14043 need_locks=warn
14045 else
14046 need_locks=no
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14052 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14054 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14055 case $host_os in
14056 aix[4-9]*)
14057 # If we're using GNU nm, then we don't want the "-C" option.
14058 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14059 # Also, AIX nm treats weak defined symbols like other global defined
14060 # symbols, whereas GNU nm marks them as "W".
14061 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14062 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'
14063 else
14064 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'
14067 pw32*)
14068 export_symbols_cmds_CXX="$ltdll_cmds"
14070 cygwin* | mingw* | cegcc*)
14071 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'
14074 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14076 esac
14077 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14080 $as_echo "$ld_shlibs_CXX" >&6; }
14081 test "$ld_shlibs_CXX" = no && can_build_shared=no
14083 with_gnu_ld_CXX=$with_gnu_ld
14091 # Do we need to explicitly link libc?
14093 case "x$archive_cmds_need_lc_CXX" in
14094 x|xyes)
14095 # Assume -lc should be added
14096 archive_cmds_need_lc_CXX=yes
14098 if test "$enable_shared" = yes && test "$GCC" = yes; then
14099 case $archive_cmds_CXX in
14100 *'~'*)
14101 # FIXME: we may have to deal with multi-command sequences.
14103 '$CC '*)
14104 # Test whether the compiler implicitly links with -lc since on some
14105 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14106 # to ld, don't add -lc before -lgcc.
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14108 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14109 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14110 $as_echo_n "(cached) " >&6
14111 else
14112 $RM conftest*
14113 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14116 (eval $ac_compile) 2>&5
14117 ac_status=$?
14118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14119 test $ac_status = 0; } 2>conftest.err; then
14120 soname=conftest
14121 lib=conftest
14122 libobjs=conftest.$ac_objext
14123 deplibs=
14124 wl=$lt_prog_compiler_wl_CXX
14125 pic_flag=$lt_prog_compiler_pic_CXX
14126 compiler_flags=-v
14127 linker_flags=-v
14128 verstring=
14129 output_objdir=.
14130 libname=conftest
14131 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14132 allow_undefined_flag_CXX=
14133 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14134 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14135 ac_status=$?
14136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14137 test $ac_status = 0; }
14138 then
14139 lt_cv_archive_cmds_need_lc_CXX=no
14140 else
14141 lt_cv_archive_cmds_need_lc_CXX=yes
14143 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14144 else
14145 cat conftest.err 1>&5
14147 $RM conftest*
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14151 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14152 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14154 esac
14157 esac
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14223 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14225 library_names_spec=
14226 libname_spec='lib$name'
14227 soname_spec=
14228 shrext_cmds=".so"
14229 postinstall_cmds=
14230 postuninstall_cmds=
14231 finish_cmds=
14232 finish_eval=
14233 shlibpath_var=
14234 shlibpath_overrides_runpath=unknown
14235 version_type=none
14236 dynamic_linker="$host_os ld.so"
14237 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14238 need_lib_prefix=unknown
14239 hardcode_into_libs=no
14241 # when you set need_version to no, make sure it does not cause -set_version
14242 # flags to be left without arguments
14243 need_version=unknown
14245 case $host_os in
14246 aix3*)
14247 version_type=linux
14248 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14249 shlibpath_var=LIBPATH
14251 # AIX 3 has no versioning support, so we append a major version to the name.
14252 soname_spec='${libname}${release}${shared_ext}$major'
14255 aix[4-9]*)
14256 version_type=linux
14257 need_lib_prefix=no
14258 need_version=no
14259 hardcode_into_libs=yes
14260 if test "$host_cpu" = ia64; then
14261 # AIX 5 supports IA64
14262 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14263 shlibpath_var=LD_LIBRARY_PATH
14264 else
14265 # With GCC up to 2.95.x, collect2 would create an import file
14266 # for dependence libraries. The import file would start with
14267 # the line `#! .'. This would cause the generated library to
14268 # depend on `.', always an invalid library. This was fixed in
14269 # development snapshots of GCC prior to 3.0.
14270 case $host_os in
14271 aix4 | aix4.[01] | aix4.[01].*)
14272 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14273 echo ' yes '
14274 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14276 else
14277 can_build_shared=no
14280 esac
14281 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14282 # soname into executable. Probably we can add versioning support to
14283 # collect2, so additional links can be useful in future.
14284 if test "$aix_use_runtimelinking" = yes; then
14285 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14286 # instead of lib<name>.a to let people know that these are not
14287 # typical AIX shared libraries.
14288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14289 else
14290 # We preserve .a as extension for shared libraries through AIX4.2
14291 # and later when we are not doing run time linking.
14292 library_names_spec='${libname}${release}.a $libname.a'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14295 shlibpath_var=LIBPATH
14299 amigaos*)
14300 case $host_cpu in
14301 powerpc)
14302 # Since July 2007 AmigaOS4 officially supports .so libraries.
14303 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14306 m68k)
14307 library_names_spec='$libname.ixlibrary $libname.a'
14308 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14309 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'
14311 esac
14314 beos*)
14315 library_names_spec='${libname}${shared_ext}'
14316 dynamic_linker="$host_os ld.so"
14317 shlibpath_var=LIBRARY_PATH
14320 bsdi[45]*)
14321 version_type=linux
14322 need_version=no
14323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 soname_spec='${libname}${release}${shared_ext}$major'
14325 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14326 shlibpath_var=LD_LIBRARY_PATH
14327 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14328 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14329 # the default ld.so.conf also contains /usr/contrib/lib and
14330 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14331 # libtool to hard-code these into programs
14334 cygwin* | mingw* | pw32* | cegcc*)
14335 version_type=windows
14336 shrext_cmds=".dll"
14337 need_version=no
14338 need_lib_prefix=no
14340 case $GCC,$host_os in
14341 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14342 library_names_spec='$libname.dll.a'
14343 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14344 postinstall_cmds='base_file=`basename \${file}`~
14345 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14346 dldir=$destdir/`dirname \$dlpath`~
14347 test -d \$dldir || mkdir -p \$dldir~
14348 $install_prog $dir/$dlname \$dldir/$dlname~
14349 chmod a+x \$dldir/$dlname~
14350 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14351 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14353 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14354 dlpath=$dir/\$dldll~
14355 $RM \$dlpath'
14356 shlibpath_overrides_runpath=yes
14358 case $host_os in
14359 cygwin*)
14360 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14361 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14364 mingw* | cegcc*)
14365 # MinGW DLLs use traditional 'lib' prefix
14366 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 pw32*)
14369 # pw32 DLLs use 'pw' prefix rather than 'lib'
14370 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14372 esac
14376 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14378 esac
14379 dynamic_linker='Win32 ld.exe'
14380 # FIXME: first we should search . and the directory the executable is in
14381 shlibpath_var=PATH
14384 darwin* | rhapsody*)
14385 dynamic_linker="$host_os dyld"
14386 version_type=darwin
14387 need_lib_prefix=no
14388 need_version=no
14389 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14390 soname_spec='${libname}${release}${major}$shared_ext'
14391 shlibpath_overrides_runpath=yes
14392 shlibpath_var=DYLD_LIBRARY_PATH
14393 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14395 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14398 dgux*)
14399 version_type=linux
14400 need_lib_prefix=no
14401 need_version=no
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 shlibpath_var=LD_LIBRARY_PATH
14407 freebsd* | dragonfly*)
14408 # DragonFly does not have aout. When/if they implement a new
14409 # versioning mechanism, adjust this.
14410 if test -x /usr/bin/objformat; then
14411 objformat=`/usr/bin/objformat`
14412 else
14413 case $host_os in
14414 freebsd[23].*) objformat=aout ;;
14415 *) objformat=elf ;;
14416 esac
14418 version_type=freebsd-$objformat
14419 case $version_type in
14420 freebsd-elf*)
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14422 need_version=no
14423 need_lib_prefix=no
14425 freebsd-*)
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14427 need_version=yes
14429 esac
14430 shlibpath_var=LD_LIBRARY_PATH
14431 case $host_os in
14432 freebsd2.*)
14433 shlibpath_overrides_runpath=yes
14435 freebsd3.[01]* | freebsdelf3.[01]*)
14436 shlibpath_overrides_runpath=yes
14437 hardcode_into_libs=yes
14439 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14440 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14441 shlibpath_overrides_runpath=no
14442 hardcode_into_libs=yes
14444 *) # from 4.6 on, and DragonFly
14445 shlibpath_overrides_runpath=yes
14446 hardcode_into_libs=yes
14448 esac
14451 gnu*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 shlibpath_var=LD_LIBRARY_PATH
14458 hardcode_into_libs=yes
14461 haiku*)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 dynamic_linker="$host_os runtime_loader"
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 shlibpath_var=LIBRARY_PATH
14469 shlibpath_overrides_runpath=yes
14470 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14471 hardcode_into_libs=yes
14474 hpux9* | hpux10* | hpux11*)
14475 # Give a soname corresponding to the major version so that dld.sl refuses to
14476 # link against other versions.
14477 version_type=sunos
14478 need_lib_prefix=no
14479 need_version=no
14480 case $host_cpu in
14481 ia64*)
14482 shrext_cmds='.so'
14483 hardcode_into_libs=yes
14484 dynamic_linker="$host_os dld.so"
14485 shlibpath_var=LD_LIBRARY_PATH
14486 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 if test "X$HPUX_IA64_MODE" = X32; then
14490 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14491 else
14492 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14494 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14496 hppa*64*)
14497 shrext_cmds='.sl'
14498 hardcode_into_libs=yes
14499 dynamic_linker="$host_os dld.sl"
14500 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14501 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14503 soname_spec='${libname}${release}${shared_ext}$major'
14504 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14505 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14508 shrext_cmds='.sl'
14509 dynamic_linker="$host_os dld.sl"
14510 shlibpath_var=SHLIB_PATH
14511 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14515 esac
14516 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14517 postinstall_cmds='chmod 555 $lib'
14518 # or fails outright, so override atomically:
14519 install_override_mode=555
14522 interix[3-9]*)
14523 version_type=linux
14524 need_lib_prefix=no
14525 need_version=no
14526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14527 soname_spec='${libname}${release}${shared_ext}$major'
14528 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14529 shlibpath_var=LD_LIBRARY_PATH
14530 shlibpath_overrides_runpath=no
14531 hardcode_into_libs=yes
14534 irix5* | irix6* | nonstopux*)
14535 case $host_os in
14536 nonstopux*) version_type=nonstopux ;;
14538 if test "$lt_cv_prog_gnu_ld" = yes; then
14539 version_type=linux
14540 else
14541 version_type=irix
14542 fi ;;
14543 esac
14544 need_lib_prefix=no
14545 need_version=no
14546 soname_spec='${libname}${release}${shared_ext}$major'
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14548 case $host_os in
14549 irix5* | nonstopux*)
14550 libsuff= shlibsuff=
14553 case $LD in # libtool.m4 will add one of these switches to LD
14554 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14555 libsuff= shlibsuff= libmagic=32-bit;;
14556 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14557 libsuff=32 shlibsuff=N32 libmagic=N32;;
14558 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14559 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14560 *) libsuff= shlibsuff= libmagic=never-match;;
14561 esac
14563 esac
14564 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14565 shlibpath_overrides_runpath=no
14566 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14567 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14568 hardcode_into_libs=yes
14571 # No shared lib support for Linux oldld, aout, or coff.
14572 linux*oldld* | linux*aout* | linux*coff*)
14573 dynamic_linker=no
14576 # This must be Linux ELF.
14577 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14578 version_type=linux
14579 need_lib_prefix=no
14580 need_version=no
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 soname_spec='${libname}${release}${shared_ext}$major'
14583 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14584 shlibpath_var=LD_LIBRARY_PATH
14585 shlibpath_overrides_runpath=no
14587 # Some binutils ld are patched to set DT_RUNPATH
14588 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14589 $as_echo_n "(cached) " >&6
14590 else
14591 lt_cv_shlibpath_overrides_runpath=no
14592 save_LDFLAGS=$LDFLAGS
14593 save_libdir=$libdir
14594 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14595 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14596 if test x$gcc_no_link = xyes; then
14597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14603 main ()
14607 return 0;
14609 _ACEOF
14610 if ac_fn_cxx_try_link "$LINENO"; then :
14611 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14612 lt_cv_shlibpath_overrides_runpath=yes
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext conftest.$ac_ext
14617 LDFLAGS=$save_LDFLAGS
14618 libdir=$save_libdir
14622 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14624 # This implies no fast_install, which is unacceptable.
14625 # Some rework will be needed to allow for fast_install
14626 # before this can be enabled.
14627 hardcode_into_libs=yes
14629 # Append ld.so.conf contents to the search path
14630 if test -f /etc/ld.so.conf; then
14631 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' ' '`
14632 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14635 # We used to test for /lib/ld.so.1 and disable shared libraries on
14636 # powerpc, because MkLinux only supported shared libraries with the
14637 # GNU dynamic linker. Since this was broken with cross compilers,
14638 # most powerpc-linux boxes support dynamic linking these days and
14639 # people can always --disable-shared, the test was removed, and we
14640 # assume the GNU/Linux dynamic linker is in use.
14641 dynamic_linker='GNU/Linux ld.so'
14644 netbsd*)
14645 version_type=sunos
14646 need_lib_prefix=no
14647 need_version=no
14648 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14650 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14651 dynamic_linker='NetBSD (a.out) ld.so'
14652 else
14653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14654 soname_spec='${libname}${release}${shared_ext}$major'
14655 dynamic_linker='NetBSD ld.elf_so'
14657 shlibpath_var=LD_LIBRARY_PATH
14658 shlibpath_overrides_runpath=yes
14659 hardcode_into_libs=yes
14662 newsos6)
14663 version_type=linux
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 shlibpath_var=LD_LIBRARY_PATH
14666 shlibpath_overrides_runpath=yes
14669 *nto* | *qnx*)
14670 version_type=qnx
14671 need_lib_prefix=no
14672 need_version=no
14673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14674 soname_spec='${libname}${release}${shared_ext}$major'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 shlibpath_overrides_runpath=no
14677 hardcode_into_libs=yes
14678 dynamic_linker='ldqnx.so'
14681 openbsd*)
14682 version_type=sunos
14683 sys_lib_dlsearch_path_spec="/usr/lib"
14684 need_lib_prefix=no
14685 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14686 case $host_os in
14687 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14688 *) need_version=no ;;
14689 esac
14690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14691 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14692 shlibpath_var=LD_LIBRARY_PATH
14693 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14694 case $host_os in
14695 openbsd2.[89] | openbsd2.[89].*)
14696 shlibpath_overrides_runpath=no
14699 shlibpath_overrides_runpath=yes
14701 esac
14702 else
14703 shlibpath_overrides_runpath=yes
14707 os2*)
14708 libname_spec='$name'
14709 shrext_cmds=".dll"
14710 need_lib_prefix=no
14711 library_names_spec='$libname${shared_ext} $libname.a'
14712 dynamic_linker='OS/2 ld.exe'
14713 shlibpath_var=LIBPATH
14716 osf3* | osf4* | osf5*)
14717 version_type=osf
14718 need_lib_prefix=no
14719 need_version=no
14720 soname_spec='${libname}${release}${shared_ext}$major'
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14722 shlibpath_var=LD_LIBRARY_PATH
14723 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14724 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14727 rdos*)
14728 dynamic_linker=no
14731 solaris*)
14732 version_type=linux
14733 need_lib_prefix=no
14734 need_version=no
14735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 soname_spec='${libname}${release}${shared_ext}$major'
14737 shlibpath_var=LD_LIBRARY_PATH
14738 shlibpath_overrides_runpath=yes
14739 hardcode_into_libs=yes
14740 # ldd complains unless libraries are executable
14741 postinstall_cmds='chmod +x $lib'
14744 sunos4*)
14745 version_type=sunos
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14747 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14748 shlibpath_var=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath=yes
14750 if test "$with_gnu_ld" = yes; then
14751 need_lib_prefix=no
14753 need_version=yes
14756 sysv4 | sysv4.3*)
14757 version_type=linux
14758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14759 soname_spec='${libname}${release}${shared_ext}$major'
14760 shlibpath_var=LD_LIBRARY_PATH
14761 case $host_vendor in
14762 sni)
14763 shlibpath_overrides_runpath=no
14764 need_lib_prefix=no
14765 runpath_var=LD_RUN_PATH
14767 siemens)
14768 need_lib_prefix=no
14770 motorola)
14771 need_lib_prefix=no
14772 need_version=no
14773 shlibpath_overrides_runpath=no
14774 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14776 esac
14779 sysv4*MP*)
14780 if test -d /usr/nec ;then
14781 version_type=linux
14782 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14783 soname_spec='$libname${shared_ext}.$major'
14784 shlibpath_var=LD_LIBRARY_PATH
14788 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14789 version_type=freebsd-elf
14790 need_lib_prefix=no
14791 need_version=no
14792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14793 soname_spec='${libname}${release}${shared_ext}$major'
14794 shlibpath_var=LD_LIBRARY_PATH
14795 shlibpath_overrides_runpath=yes
14796 hardcode_into_libs=yes
14797 if test "$with_gnu_ld" = yes; then
14798 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14799 else
14800 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14801 case $host_os in
14802 sco3.2v5*)
14803 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14805 esac
14807 sys_lib_dlsearch_path_spec='/usr/lib'
14810 tpf*)
14811 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14812 version_type=linux
14813 need_lib_prefix=no
14814 need_version=no
14815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14816 shlibpath_var=LD_LIBRARY_PATH
14817 shlibpath_overrides_runpath=no
14818 hardcode_into_libs=yes
14821 uts4*)
14822 version_type=linux
14823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14824 soname_spec='${libname}${release}${shared_ext}$major'
14825 shlibpath_var=LD_LIBRARY_PATH
14829 dynamic_linker=no
14831 esac
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14833 $as_echo "$dynamic_linker" >&6; }
14834 test "$dynamic_linker" = no && can_build_shared=no
14836 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14837 if test "$GCC" = yes; then
14838 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14841 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14842 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14844 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14845 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14886 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14887 hardcode_action_CXX=
14888 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14889 test -n "$runpath_var_CXX" ||
14890 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14892 # We can hardcode non-existent directories.
14893 if test "$hardcode_direct_CXX" != no &&
14894 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14895 # have to relink, otherwise we might link with an installed library
14896 # when we should be linking with a yet-to-be-installed one
14897 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14898 test "$hardcode_minus_L_CXX" != no; then
14899 # Linking always hardcodes the temporary library directory.
14900 hardcode_action_CXX=relink
14901 else
14902 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14903 hardcode_action_CXX=immediate
14905 else
14906 # We cannot hardcode anything, or else we can only hardcode existing
14907 # directories.
14908 hardcode_action_CXX=unsupported
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14911 $as_echo "$hardcode_action_CXX" >&6; }
14913 if test "$hardcode_action_CXX" = relink ||
14914 test "$inherit_rpath_CXX" = yes; then
14915 # Fast installation is not supported
14916 enable_fast_install=no
14917 elif test "$shlibpath_overrides_runpath" = yes ||
14918 test "$enable_shared" = no; then
14919 # Fast installation is not necessary
14920 enable_fast_install=needless
14929 fi # test -n "$compiler"
14931 CC=$lt_save_CC
14932 LDCXX=$LD
14933 LD=$lt_save_LD
14934 GCC=$lt_save_GCC
14935 with_gnu_ld=$lt_save_with_gnu_ld
14936 lt_cv_path_LDCXX=$lt_cv_path_LD
14937 lt_cv_path_LD=$lt_save_path_LD
14938 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14939 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14940 fi # test "$_lt_caught_CXX_error" != yes
14942 ac_ext=c
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14960 ac_config_commands="$ac_config_commands libtool"
14965 # Only expand once:
14971 case $host in
14972 *-cygwin* | *-mingw*)
14973 # 'host' will be top-level target in the case of a target lib,
14974 # we must compare to with_cross_host to decide if this is a native
14975 # or cross-compiler and select where to install dlls appropriately.
14976 if test -n "$with_cross_host" &&
14977 test x"$with_cross_host" != x"no"; then
14978 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14979 else
14980 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14984 lt_host_flags=
14986 esac
14993 if test "$enable_vtable_verify" = yes; then
14994 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14995 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14999 # libtool variables for C++ shared and position-independent compiles.
15001 # Use glibcxx_lt_pic_flag to designate the automake variable
15002 # used to encapsulate the default libtool approach to creating objects
15003 # with position-independent code. Default: -prefer-pic.
15005 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15006 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15008 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15009 # creating position-independent objects. This varies with the target
15010 # hardware and operating system, but is often: -DPIC -fPIC.
15011 if test "$enable_shared" = yes; then
15012 glibcxx_lt_pic_flag="-prefer-pic"
15013 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15014 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15016 else
15017 glibcxx_lt_pic_flag=
15018 glibcxx_compiler_pic_flag=
15019 glibcxx_compiler_shared_flag=
15025 # Override the libtool's pic_flag and pic_mode.
15026 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15027 # NB: this impacts --with-pic and --without-pic.
15028 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15029 pic_mode='default'
15031 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15032 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15034 # Possibly disable most of the library.
15035 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15036 ## than just ignoring the results. Faster /and/ more correct, win win.
15038 # Check whether --enable-hosted-libstdcxx was given.
15039 if test "${enable_hosted_libstdcxx+set}" = set; then :
15040 enableval=$enable_hosted_libstdcxx;
15041 else
15042 case "$host" in
15043 arm*-*-symbianelf*)
15044 enable_hosted_libstdcxx=no
15047 enable_hosted_libstdcxx=yes
15049 esac
15052 if test "$enable_hosted_libstdcxx" = no; then
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15054 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15055 is_hosted=no
15056 hosted_define=0
15057 enable_abi_check=no
15058 enable_libstdcxx_pch=no
15059 else
15060 is_hosted=yes
15061 hosted_define=1
15065 cat >>confdefs.h <<_ACEOF
15066 #define _GLIBCXX_HOSTED $hosted_define
15067 _ACEOF
15071 # Enable descriptive messages to standard output on termination.
15073 # Check whether --enable-libstdcxx-verbose was given.
15074 if test "${enable_libstdcxx_verbose+set}" = set; then :
15075 enableval=$enable_libstdcxx_verbose;
15076 else
15077 enable_libstdcxx_verbose=yes
15080 if test x"$enable_libstdcxx_verbose" = xyes; then
15081 verbose_define=1
15082 else
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15084 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15085 verbose_define=0
15088 cat >>confdefs.h <<_ACEOF
15089 #define _GLIBCXX_VERBOSE $verbose_define
15090 _ACEOF
15094 # Enable compiler support that doesn't require linking.
15096 # Check whether --enable-libstdcxx-pch was given.
15097 if test "${enable_libstdcxx_pch+set}" = set; then :
15098 enableval=$enable_libstdcxx_pch;
15099 case "$enableval" in
15100 yes|no) ;;
15101 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15102 esac
15104 else
15105 enable_libstdcxx_pch=$is_hosted
15109 if test $enable_libstdcxx_pch = yes; then
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15111 $as_echo_n "checking for compiler with PCH support... " >&6; }
15112 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 ac_save_CXXFLAGS="$CXXFLAGS"
15116 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15118 ac_ext=cpp
15119 ac_cpp='$CXXCPP $CPPFLAGS'
15120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15124 echo '#include <math.h>' > conftest.h
15125 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15126 -o conftest.h.gch 1>&5 2>&1 &&
15127 echo '#error "pch failed"' > conftest.h &&
15128 echo '#include "conftest.h"' > conftest.cc &&
15129 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15130 then
15131 glibcxx_cv_prog_CXX_pch=yes
15132 else
15133 glibcxx_cv_prog_CXX_pch=no
15135 rm -f conftest*
15136 CXXFLAGS=$ac_save_CXXFLAGS
15137 ac_ext=c
15138 ac_cpp='$CPP $CPPFLAGS'
15139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15146 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15147 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15151 $as_echo_n "checking for enabled PCH... " >&6; }
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15153 $as_echo "$enable_libstdcxx_pch" >&6; }
15156 if test $enable_libstdcxx_pch = yes; then
15157 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15158 else
15159 glibcxx_PCHFLAGS=""
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15165 $as_echo_n "checking for thread model used by GCC... " >&6; }
15166 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15168 $as_echo "$target_thread_file" >&6; }
15170 case $target_thread_file in
15171 aix) thread_header=config/rs6000/gthr-aix.h ;;
15172 dce) thread_header=config/pa/gthr-dce.h ;;
15173 lynx) thread_header=config/gthr-lynx.h ;;
15174 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15175 posix) thread_header=gthr-posix.h ;;
15176 rtems) thread_header=config/gthr-rtems.h ;;
15177 single) thread_header=gthr-single.h ;;
15178 tpf) thread_header=config/s390/gthr-tpf.h ;;
15179 vxworks) thread_header=config/gthr-vxworks.h ;;
15180 win32) thread_header=config/i386/gthr-win32.h ;;
15181 esac
15187 ac_ext=cpp
15188 ac_cpp='$CXXCPP $CPPFLAGS'
15189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15193 old_CXXFLAGS="$CXXFLAGS"
15195 # Do link tests if possible, instead asm tests, limited to some platforms
15196 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15197 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15198 atomic_builtins_link_tests=no
15199 if test x$gcc_no_link != xyes; then
15200 # Can do link tests. Limit to some tested platforms
15201 case "$host" in
15202 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15203 atomic_builtins_link_tests=yes
15205 esac
15208 if test x$atomic_builtins_link_tests = xyes; then
15210 # Do link tests.
15212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15215 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15216 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15220 if test x$gcc_no_link = xyes; then
15221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15227 main ()
15229 typedef bool atomic_type;
15230 atomic_type c1;
15231 atomic_type c2;
15232 atomic_type c3(0);
15233 // N.B. __atomic_fetch_add is not supported for bool.
15234 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15235 __ATOMIC_RELAXED);
15236 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15237 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15240 return 0;
15242 _ACEOF
15243 if ac_fn_cxx_try_link "$LINENO"; then :
15244 glibcxx_cv_atomic_bool=yes
15245 else
15246 glibcxx_cv_atomic_bool=no
15248 rm -f core conftest.err conftest.$ac_objext \
15249 conftest$ac_exeext conftest.$ac_ext
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15254 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15257 $as_echo_n "checking for atomic builtins for short... " >&6; }
15258 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15262 if test x$gcc_no_link = xyes; then
15263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15269 main ()
15271 typedef short atomic_type;
15272 atomic_type c1;
15273 atomic_type c2;
15274 atomic_type c3(0);
15275 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15276 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15277 __ATOMIC_RELAXED);
15278 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15279 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15282 return 0;
15284 _ACEOF
15285 if ac_fn_cxx_try_link "$LINENO"; then :
15286 glibcxx_cv_atomic_short=yes
15287 else
15288 glibcxx_cv_atomic_short=no
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15296 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15299 $as_echo_n "checking for atomic builtins for int... " >&6; }
15300 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15304 if test x$gcc_no_link = xyes; then
15305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15311 main ()
15313 typedef int atomic_type;
15314 atomic_type c1;
15315 atomic_type c2;
15316 atomic_type c3(0);
15317 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15318 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15319 __ATOMIC_RELAXED);
15320 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15321 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15324 return 0;
15326 _ACEOF
15327 if ac_fn_cxx_try_link "$LINENO"; then :
15328 glibcxx_cv_atomic_int=yes
15329 else
15330 glibcxx_cv_atomic_int=no
15332 rm -f core conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15338 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15341 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15342 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15343 $as_echo_n "(cached) " >&6
15344 else
15346 if test x$gcc_no_link = xyes; then
15347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15353 main ()
15355 typedef long long atomic_type;
15356 atomic_type c1;
15357 atomic_type c2;
15358 atomic_type c3(0);
15359 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15360 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15361 __ATOMIC_RELAXED);
15362 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15363 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15366 return 0;
15368 _ACEOF
15369 if ac_fn_cxx_try_link "$LINENO"; then :
15370 glibcxx_cv_atomic_long_long=yes
15371 else
15372 glibcxx_cv_atomic_long_long=no
15374 rm -f core conftest.err conftest.$ac_objext \
15375 conftest$ac_exeext conftest.$ac_ext
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15380 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15382 else
15384 # Do asm tests.
15386 # Compile unoptimized.
15387 CXXFLAGS='-O0 -S'
15389 # Fake what AC_TRY_COMPILE does.
15391 cat > conftest.$ac_ext << EOF
15392 #line 15392 "configure"
15393 int main()
15395 typedef bool atomic_type;
15396 atomic_type c1;
15397 atomic_type c2;
15398 atomic_type c3(0);
15399 // N.B. __atomic_fetch_add is not supported for bool.
15400 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15401 __ATOMIC_RELAXED);
15402 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15403 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15405 return 0;
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15410 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15412 (eval $ac_compile) 2>&5
15413 ac_status=$?
15414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15415 test $ac_status = 0; }; then
15416 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15417 glibcxx_cv_atomic_bool=no
15418 else
15419 glibcxx_cv_atomic_bool=yes
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15423 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15424 rm -f conftest*
15426 cat > conftest.$ac_ext << EOF
15427 #line 15427 "configure"
15428 int main()
15430 typedef short atomic_type;
15431 atomic_type c1;
15432 atomic_type c2;
15433 atomic_type c3(0);
15434 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15435 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15436 __ATOMIC_RELAXED);
15437 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15438 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15440 return 0;
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15445 $as_echo_n "checking for atomic builtins for short... " >&6; }
15446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15447 (eval $ac_compile) 2>&5
15448 ac_status=$?
15449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15450 test $ac_status = 0; }; then
15451 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15452 glibcxx_cv_atomic_short=no
15453 else
15454 glibcxx_cv_atomic_short=yes
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15458 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15459 rm -f conftest*
15461 cat > conftest.$ac_ext << EOF
15462 #line 15462 "configure"
15463 int main()
15465 // NB: _Atomic_word not necessarily int.
15466 typedef int atomic_type;
15467 atomic_type c1;
15468 atomic_type c2;
15469 atomic_type c3(0);
15470 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15471 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15472 __ATOMIC_RELAXED);
15473 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15474 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15476 return 0;
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15481 $as_echo_n "checking for atomic builtins for int... " >&6; }
15482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15483 (eval $ac_compile) 2>&5
15484 ac_status=$?
15485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15486 test $ac_status = 0; }; then
15487 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15488 glibcxx_cv_atomic_int=no
15489 else
15490 glibcxx_cv_atomic_int=yes
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15494 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15495 rm -f conftest*
15497 cat > conftest.$ac_ext << EOF
15498 #line 15498 "configure"
15499 int main()
15501 typedef long long atomic_type;
15502 atomic_type c1;
15503 atomic_type c2;
15504 atomic_type c3(0);
15505 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15506 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15507 __ATOMIC_RELAXED);
15508 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15509 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15511 return 0;
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15516 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15518 (eval $ac_compile) 2>&5
15519 ac_status=$?
15520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15521 test $ac_status = 0; }; then
15522 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15523 glibcxx_cv_atomic_long_long=no
15524 else
15525 glibcxx_cv_atomic_long_long=yes
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15529 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15530 rm -f conftest*
15534 CXXFLAGS="$old_CXXFLAGS"
15535 ac_ext=c
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15542 # Set atomicity_dir to builtins if all but the long long test above passes,
15543 # or if the builtins were already chosen (e.g. by configure.host).
15544 if { test "$glibcxx_cv_atomic_bool" = yes \
15545 && test "$glibcxx_cv_atomic_short" = yes \
15546 && test "$glibcxx_cv_atomic_int" = yes; } \
15547 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15549 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15551 atomicity_dir=cpu/generic/atomicity_builtins
15554 # If still generic, set to mutex.
15555 if test $atomicity_dir = "cpu/generic" ; then
15556 atomicity_dir=cpu/generic/atomicity_mutex
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15558 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15559 if test "x$target_thread_file" = xsingle; then
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15561 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15563 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15564 else
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15566 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15568 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15575 # Fake what AC_TRY_COMPILE does, without linking as this is
15576 # unnecessary for this test.
15578 cat > conftest.$ac_ext << EOF
15579 #line 15579 "configure"
15580 int main()
15582 _Decimal32 d1;
15583 _Decimal64 d2;
15584 _Decimal128 d3;
15585 return 0;
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15590 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15592 (eval $ac_compile) 2>&5
15593 ac_status=$?
15594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15595 test $ac_status = 0; }; then
15597 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15599 enable_dfp=yes
15600 else
15601 enable_dfp=no
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15604 $as_echo "$enable_dfp" >&6; }
15605 rm -f conftest*
15610 ac_ext=cpp
15611 ac_cpp='$CXXCPP $CPPFLAGS'
15612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15617 # Fake what AC_TRY_COMPILE does, without linking as this is
15618 # unnecessary for this test.
15620 cat > conftest.$ac_ext << EOF
15621 #line 15621 "configure"
15622 template<typename T1, typename T2>
15623 struct same
15624 { typedef T2 type; };
15626 template<typename T>
15627 struct same<T, T>;
15629 int main()
15631 typename same<long, __int128>::type i1;
15632 typename same<long long, __int128>::type i2;
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15637 $as_echo_n "checking for __int128... " >&6; }
15638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15639 (eval $ac_compile) 2>&5
15640 ac_status=$?
15641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15642 test $ac_status = 0; }; then
15644 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15646 enable_int128=yes
15647 else
15648 enable_int128=no
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15651 $as_echo "$enable_int128" >&6; }
15652 rm -f conftest*
15654 cat > conftest.$ac_ext << EOF
15655 #line 15655 "configure"
15656 template<typename T1, typename T2>
15657 struct same
15658 { typedef T2 type; };
15660 template<typename T>
15661 struct same<T, T>;
15663 int main()
15665 typename same<double, __float128>::type f1;
15666 typename same<long double, __float128>::type f2;
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15671 $as_echo_n "checking for __float128... " >&6; }
15672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15673 (eval $ac_compile) 2>&5
15674 ac_status=$?
15675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15676 test $ac_status = 0; }; then
15678 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15680 enable_float128=yes
15681 else
15682 enable_float128=no
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15685 $as_echo "$enable_float128" >&6; }
15686 rm -f conftest*
15688 ac_ext=c
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15695 if test "$enable_float128" = yes; then
15696 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15699 # Checks for compiler support that doesn't require linking.
15701 # All these tests are for C++; save the language and the compiler flags.
15702 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15703 # found in GLIBCXX_CONFIGURE.
15705 ac_ext=cpp
15706 ac_cpp='$CXXCPP $CPPFLAGS'
15707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15711 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15712 ac_save_CXXFLAGS="$CXXFLAGS"
15714 # Check for maintainer-mode bits.
15715 if test x"$USE_MAINTAINER_MODE" = xno; then
15716 WERROR=''
15717 else
15718 WERROR='-Werror'
15721 # Check for -ffunction-sections -fdata-sections
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15723 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15724 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15727 int foo; void bar() { };
15729 main ()
15733 return 0;
15735 _ACEOF
15736 if ac_fn_cxx_try_compile "$LINENO"; then :
15737 ac_fdsections=yes
15738 else
15739 ac_fdsections=no
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742 if test "$ac_test_CXXFLAGS" = set; then
15743 CXXFLAGS="$ac_save_CXXFLAGS"
15744 else
15745 # this is the suspicious part
15746 CXXFLAGS=''
15748 if test x"$ac_fdsections" = x"yes"; then
15749 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15752 $as_echo "$ac_fdsections" >&6; }
15754 ac_ext=c
15755 ac_cpp='$CPP $CPPFLAGS'
15756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15764 # Enable all the variable C++ runtime options that don't require linking.
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15767 $as_echo_n "checking for underlying I/O to use... " >&6; }
15768 # Check whether --enable-cstdio was given.
15769 if test "${enable_cstdio+set}" = set; then :
15770 enableval=$enable_cstdio;
15771 case "$enableval" in
15772 stdio) ;;
15773 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15774 esac
15776 else
15777 enable_cstdio=stdio
15782 # Now that libio has been removed, you can have any color you want as long
15783 # as it's black. This is one big no-op until other packages are added, but
15784 # showing the framework never hurts.
15785 case ${enable_cstdio} in
15786 stdio)
15787 CSTDIO_H=config/io/c_io_stdio.h
15788 BASIC_FILE_H=config/io/basic_file_stdio.h
15789 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15791 $as_echo "stdio" >&6; }
15793 esac
15800 # Check whether --enable-clocale was given.
15801 if test "${enable_clocale+set}" = set; then :
15802 enableval=$enable_clocale;
15803 case "$enableval" in
15804 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15805 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15806 esac
15808 else
15809 enable_clocale=auto
15814 # Deal with gettext issues. Default to not using it (=no) until we detect
15815 # support for it later. Let the user turn it off via --e/d, but let that
15816 # default to on for easier handling.
15817 USE_NLS=no
15818 # Check whether --enable-nls was given.
15819 if test "${enable_nls+set}" = set; then :
15820 enableval=$enable_nls;
15821 else
15822 enable_nls=yes
15826 # Either a known package, or "auto"
15827 if test $enable_clocale = no || test $enable_clocale = yes; then
15828 enable_clocale=auto
15830 enable_clocale_flag=$enable_clocale
15832 # Probe for locale model to use if none specified.
15833 # Default to "generic".
15834 if test $enable_clocale_flag = auto; then
15835 case ${target_os} in
15836 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15837 enable_clocale_flag=gnu
15839 darwin*)
15840 enable_clocale_flag=darwin
15842 dragonfly* | freebsd*)
15843 enable_clocale_flag=dragonfly
15845 openbsd*)
15846 enable_clocale_flag=newlib
15849 if test x"$with_newlib" = x"yes"; then
15850 enable_clocale_flag=newlib
15851 else
15852 enable_clocale_flag=generic
15855 esac
15858 # Sanity check model, and test for special functionality.
15859 if test $enable_clocale_flag = gnu; then
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15863 #include <features.h>
15864 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15865 _GLIBCXX_ok
15866 #endif
15868 _ACEOF
15869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15870 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15871 enable_clocale_flag=gnu
15872 else
15873 enable_clocale_flag=generic
15875 rm -f conftest*
15878 # Set it to scream when it hurts.
15879 ac_save_CFLAGS="$CFLAGS"
15880 CFLAGS="-Wimplicit-function-declaration -Werror"
15882 # Use strxfrm_l if available.
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #define _GNU_SOURCE 1
15886 #include <string.h>
15887 #include <locale.h>
15889 main ()
15891 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15893 return 0;
15895 _ACEOF
15896 if ac_fn_c_try_compile "$LINENO"; then :
15898 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903 # Use strerror_l if available.
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE 1
15907 #include <string.h>
15908 #include <locale.h>
15910 main ()
15912 __locale_t loc; strerror_l(5, loc);
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15919 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924 CFLAGS="$ac_save_CFLAGS"
15927 # Perhaps use strerror_r if available, and strerror_l isn't.
15928 ac_save_CFLAGS="$CFLAGS"
15929 CFLAGS="-Wimplicit-function-declaration -Werror"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15936 main ()
15938 char s[128]; strerror_r(5, s, 128);
15940 return 0;
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15945 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949 CFLAGS="$ac_save_CFLAGS"
15951 # Set configure bits for specified locale package
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15953 $as_echo_n "checking for C locale to use... " >&6; }
15954 case ${enable_clocale_flag} in
15955 generic)
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15957 $as_echo "generic" >&6; }
15959 CLOCALE_H=config/locale/generic/c_locale.h
15960 CLOCALE_CC=config/locale/generic/c_locale.cc
15961 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15962 CCOLLATE_CC=config/locale/generic/collate_members.cc
15963 CCTYPE_CC=config/locale/generic/ctype_members.cc
15964 CMESSAGES_H=config/locale/generic/messages_members.h
15965 CMESSAGES_CC=config/locale/generic/messages_members.cc
15966 CMONEY_CC=config/locale/generic/monetary_members.cc
15967 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15968 CTIME_H=config/locale/generic/time_members.h
15969 CTIME_CC=config/locale/generic/time_members.cc
15970 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15972 darwin)
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15974 $as_echo "darwin" >&6; }
15976 CLOCALE_H=config/locale/generic/c_locale.h
15977 CLOCALE_CC=config/locale/generic/c_locale.cc
15978 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15979 CCOLLATE_CC=config/locale/generic/collate_members.cc
15980 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15981 CMESSAGES_H=config/locale/generic/messages_members.h
15982 CMESSAGES_CC=config/locale/generic/messages_members.cc
15983 CMONEY_CC=config/locale/generic/monetary_members.cc
15984 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15985 CTIME_H=config/locale/generic/time_members.h
15986 CTIME_CC=config/locale/generic/time_members.cc
15987 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15990 dragonfly)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15992 $as_echo "dragonfly or freebsd" >&6; }
15994 CLOCALE_H=config/locale/dragonfly/c_locale.h
15995 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15996 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15998 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16002 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16003 CTIME_H=config/locale/dragonfly/time_members.h
16004 CTIME_CC=config/locale/dragonfly/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16008 gnu)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16010 $as_echo "gnu" >&6; }
16012 # Declare intention to use gettext, and add support for specific
16013 # languages.
16014 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16015 ALL_LINGUAS="de fr"
16017 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16018 # Extract the first word of "msgfmt", so it can be a program name with args.
16019 set dummy msgfmt; ac_word=$2
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16021 $as_echo_n "checking for $ac_word... " >&6; }
16022 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 if test -n "$check_msgfmt"; then
16026 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16027 else
16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16029 for as_dir in $PATH
16031 IFS=$as_save_IFS
16032 test -z "$as_dir" && as_dir=.
16033 for ac_exec_ext in '' $ac_executable_extensions; do
16034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16035 ac_cv_prog_check_msgfmt="yes"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16037 break 2
16039 done
16040 done
16041 IFS=$as_save_IFS
16043 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16046 check_msgfmt=$ac_cv_prog_check_msgfmt
16047 if test -n "$check_msgfmt"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16049 $as_echo "$check_msgfmt" >&6; }
16050 else
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16056 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16057 USE_NLS=yes
16059 # Export the build objects.
16060 for ling in $ALL_LINGUAS; do \
16061 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16062 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16063 done
16067 CLOCALE_H=config/locale/gnu/c_locale.h
16068 CLOCALE_CC=config/locale/gnu/c_locale.cc
16069 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16070 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16071 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16072 CMESSAGES_H=config/locale/gnu/messages_members.h
16073 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16074 CMONEY_CC=config/locale/gnu/monetary_members.cc
16075 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16076 CTIME_H=config/locale/gnu/time_members.h
16077 CTIME_CC=config/locale/gnu/time_members.cc
16078 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16080 ieee_1003.1-2001)
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16082 $as_echo "IEEE 1003.1" >&6; }
16084 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16085 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16086 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16087 CCOLLATE_CC=config/locale/generic/collate_members.cc
16088 CCTYPE_CC=config/locale/generic/ctype_members.cc
16089 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16090 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16091 CMONEY_CC=config/locale/generic/monetary_members.cc
16092 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16093 CTIME_H=config/locale/generic/time_members.h
16094 CTIME_CC=config/locale/generic/time_members.cc
16095 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16097 newlib)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16099 $as_echo "newlib" >&6; }
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16114 esac
16116 # This is where the testsuite looks for locale catalogs, using the
16117 # -DLOCALEDIR define during testsuite compilation.
16118 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16121 # A standalone libintl (e.g., GNU libintl) may be in use.
16122 if test $USE_NLS = yes; then
16123 for ac_header in libintl.h
16124 do :
16125 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_LIBINTL_H 1
16129 _ACEOF
16131 else
16132 USE_NLS=no
16135 done
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16138 $as_echo_n "checking for library containing gettext... " >&6; }
16139 if test "${ac_cv_search_gettext+set}" = set; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 ac_func_search_save_LIBS=$LIBS
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char gettext ();
16154 main ()
16156 return gettext ();
16158 return 0;
16160 _ACEOF
16161 for ac_lib in '' intl; do
16162 if test -z "$ac_lib"; then
16163 ac_res="none required"
16164 else
16165 ac_res=-l$ac_lib
16166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16168 if test x$gcc_no_link = xyes; then
16169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_search_gettext=$ac_res
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext
16176 if test "${ac_cv_search_gettext+set}" = set; then :
16177 break
16179 done
16180 if test "${ac_cv_search_gettext+set}" = set; then :
16182 else
16183 ac_cv_search_gettext=no
16185 rm conftest.$ac_ext
16186 LIBS=$ac_func_search_save_LIBS
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16189 $as_echo "$ac_cv_search_gettext" >&6; }
16190 ac_res=$ac_cv_search_gettext
16191 if test "$ac_res" != no; then :
16192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16194 else
16195 USE_NLS=no
16199 if test $USE_NLS = yes; then
16201 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16221 $as_echo_n "checking for std::allocator base class... " >&6; }
16222 # Check whether --enable-libstdcxx-allocator was given.
16223 if test "${enable_libstdcxx_allocator+set}" = set; then :
16224 enableval=$enable_libstdcxx_allocator;
16225 case "$enableval" in
16226 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16227 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16228 esac
16230 else
16231 enable_libstdcxx_allocator=auto
16236 # If they didn't use this option switch, or if they specified --enable
16237 # with no specific model, we'll have to look for one. If they
16238 # specified --disable (???), do likewise.
16239 if test $enable_libstdcxx_allocator = no ||
16240 test $enable_libstdcxx_allocator = yes;
16241 then
16242 enable_libstdcxx_allocator=auto
16245 # Either a known package, or "auto". Auto implies the default choice
16246 # for a particular platform.
16247 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16249 # Probe for host-specific support if no specific model is specified.
16250 # Default to "new".
16251 if test $enable_libstdcxx_allocator_flag = auto; then
16252 case ${target_os} in
16253 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16254 enable_libstdcxx_allocator_flag=new
16257 enable_libstdcxx_allocator_flag=new
16259 esac
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16262 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16265 # Set configure bits for specified locale package
16266 case ${enable_libstdcxx_allocator_flag} in
16267 bitmap)
16268 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16269 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16271 malloc)
16272 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16273 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16276 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16279 new)
16280 ALLOCATOR_H=config/allocator/new_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16283 pool)
16284 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16287 esac
16294 # Check whether --enable-cheaders was given.
16295 if test "${enable_cheaders+set}" = set; then :
16296 enableval=$enable_cheaders;
16297 case "$enableval" in
16298 c|c_std|c_global) ;;
16299 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16300 esac
16302 else
16303 enable_cheaders=$c_model
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16308 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16310 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16312 # Allow overrides to configure.host here.
16313 if test $enable_cheaders = c_global; then
16314 c_compatibility=yes
16323 # Check whether --enable-long-long was given.
16324 if test "${enable_long_long+set}" = set; then :
16325 enableval=$enable_long_long;
16326 case "$enableval" in
16327 yes|no) ;;
16328 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16329 esac
16331 else
16332 enable_long_long=yes
16336 if test $enable_long_long = yes; then
16338 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16342 $as_echo_n "checking for enabled long long specializations... " >&6; }
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16344 $as_echo "$enable_long_long" >&6; }
16347 # Check whether --enable-wchar_t was given.
16348 if test "${enable_wchar_t+set}" = set; then :
16349 enableval=$enable_wchar_t;
16350 case "$enableval" in
16351 yes|no) ;;
16352 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16353 esac
16355 else
16356 enable_wchar_t=yes
16361 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16362 for ac_header in wchar.h
16363 do :
16364 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_WCHAR_H 1
16368 _ACEOF
16369 ac_has_wchar_h=yes
16370 else
16371 ac_has_wchar_h=no
16374 done
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16377 $as_echo_n "checking for mbstate_t... " >&6; }
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <wchar.h>
16382 main ()
16384 mbstate_t teststate;
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_compile "$LINENO"; then :
16390 have_mbstate_t=yes
16391 else
16392 have_mbstate_t=no
16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16396 $as_echo "$have_mbstate_t" >&6; }
16397 if test x"$have_mbstate_t" = xyes; then
16399 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16403 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16404 # ac_has_wchar_h.
16405 for ac_header in wctype.h
16406 do :
16407 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_WCTYPE_H 1
16411 _ACEOF
16412 ac_has_wctype_h=yes
16413 else
16414 ac_has_wctype_h=no
16417 done
16420 if test x"$enable_wchar_t" = x"yes"; then
16423 ac_ext=cpp
16424 ac_cpp='$CXXCPP $CPPFLAGS'
16425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16430 if test x"$ac_has_wchar_h" = xyes &&
16431 test x"$ac_has_wctype_h" = xyes; then
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #include <wchar.h>
16435 #include <stddef.h>
16436 wint_t i;
16437 long l = WEOF;
16438 long j = WCHAR_MIN;
16439 long k = WCHAR_MAX;
16440 namespace test
16442 using ::btowc;
16443 using ::fgetwc;
16444 using ::fgetws;
16445 using ::fputwc;
16446 using ::fputws;
16447 using ::fwide;
16448 using ::fwprintf;
16449 using ::fwscanf;
16450 using ::getwc;
16451 using ::getwchar;
16452 using ::mbrlen;
16453 using ::mbrtowc;
16454 using ::mbsinit;
16455 using ::mbsrtowcs;
16456 using ::putwc;
16457 using ::putwchar;
16458 using ::swprintf;
16459 using ::swscanf;
16460 using ::ungetwc;
16461 using ::vfwprintf;
16462 using ::vswprintf;
16463 using ::vwprintf;
16464 using ::wcrtomb;
16465 using ::wcscat;
16466 using ::wcschr;
16467 using ::wcscmp;
16468 using ::wcscoll;
16469 using ::wcscpy;
16470 using ::wcscspn;
16471 using ::wcsftime;
16472 using ::wcslen;
16473 using ::wcsncat;
16474 using ::wcsncmp;
16475 using ::wcsncpy;
16476 using ::wcspbrk;
16477 using ::wcsrchr;
16478 using ::wcsrtombs;
16479 using ::wcsspn;
16480 using ::wcsstr;
16481 using ::wcstod;
16482 using ::wcstok;
16483 using ::wcstol;
16484 using ::wcstoul;
16485 using ::wcsxfrm;
16486 using ::wctob;
16487 using ::wmemchr;
16488 using ::wmemcmp;
16489 using ::wmemcpy;
16490 using ::wmemmove;
16491 using ::wmemset;
16492 using ::wprintf;
16493 using ::wscanf;
16497 main ()
16501 return 0;
16503 _ACEOF
16504 if ac_fn_cxx_try_compile "$LINENO"; then :
16506 else
16507 enable_wchar_t=no
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510 else
16511 enable_wchar_t=no
16514 ac_ext=c
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16522 if test x"$enable_wchar_t" = x"yes"; then
16524 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16529 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16531 $as_echo "$enable_wchar_t" >&6; }
16535 # Check whether --enable-c99 was given.
16536 if test "${enable_c99+set}" = set; then :
16537 enableval=$enable_c99;
16538 case "$enableval" in
16539 yes|no) ;;
16540 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16541 esac
16543 else
16544 enable_c99=yes
16549 if test x"$enable_c99" = x"yes"; then
16551 ac_ext=cpp
16552 ac_cpp='$CXXCPP $CPPFLAGS'
16553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16558 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16559 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16560 # to be spuriously enabled.
16561 ac_save_CXXFLAGS="$CXXFLAGS"
16562 CXXFLAGS="$CXXFLAGS -std=c++98"
16563 ac_save_LIBS="$LIBS"
16564 ac_save_gcc_no_link="$gcc_no_link"
16566 if test x$gcc_no_link != xyes; then
16567 # Use -fno-exceptions to that the C driver can link these tests without
16568 # hitting undefined references to personality routines.
16569 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16571 $as_echo_n "checking for sin in -lm... " >&6; }
16572 if test "${ac_cv_lib_m_sin+set}" = set; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_check_lib_save_LIBS=$LIBS
16576 LIBS="-lm $LIBS"
16577 if test x$gcc_no_link = xyes; then
16578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16583 /* Override any GCC internal prototype to avoid an error.
16584 Use char because int might match the return type of a GCC
16585 builtin and then its argument prototype would still apply. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 char sin ();
16591 main ()
16593 return sin ();
16595 return 0;
16597 _ACEOF
16598 if ac_fn_cxx_try_link "$LINENO"; then :
16599 ac_cv_lib_m_sin=yes
16600 else
16601 ac_cv_lib_m_sin=no
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_lib_save_LIBS
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16608 $as_echo "$ac_cv_lib_m_sin" >&6; }
16609 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16610 LIBS="$LIBS -lm"
16611 else
16613 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16614 gcc_no_link=yes
16620 # Check for the existence of <math.h> functions used if C99 is enabled.
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16622 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16623 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <math.h>
16631 volatile double d1, d2;
16632 volatile int i;
16634 main ()
16636 i = fpclassify(d1);
16637 i = isfinite(d1);
16638 i = isinf(d1);
16639 i = isnan(d1);
16640 i = isnormal(d1);
16641 i = signbit(d1);
16642 i = isgreater(d1, d2);
16643 i = isgreaterequal(d1, d2);
16644 i = isless(d1, d2);
16645 i = islessequal(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = islessgreater(d1, d2);
16648 i = isunordered(d1, d2);
16651 return 0;
16653 _ACEOF
16654 if ac_fn_cxx_try_compile "$LINENO"; then :
16655 glibcxx_cv_c99_math_cxx98=yes
16656 else
16657 glibcxx_cv_c99_math_cxx98=no
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 else
16661 if test x$gcc_no_link = xyes; then
16662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <math.h>
16667 volatile double d1, d2;
16668 volatile int i;
16670 main ()
16672 i = fpclassify(d1);
16673 i = isfinite(d1);
16674 i = isinf(d1);
16675 i = isnan(d1);
16676 i = isnormal(d1);
16677 i = signbit(d1);
16678 i = isgreater(d1, d2);
16679 i = isgreaterequal(d1, d2);
16680 i = isless(d1, d2);
16681 i = islessequal(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = islessgreater(d1, d2);
16684 i = isunordered(d1, d2);
16687 return 0;
16689 _ACEOF
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691 glibcxx_cv_c99_math_cxx98=yes
16692 else
16693 glibcxx_cv_c99_math_cxx98=no
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16702 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16703 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16705 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16709 # Check for the existence of <complex.h> complex math functions.
16710 # This is necessary even though libstdc++ uses the builtin versions
16711 # of these functions, because if the builtin cannot be used, a reference
16712 # to the library function is emitted.
16713 for ac_header in tgmath.h
16714 do :
16715 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16716 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_TGMATH_H 1
16719 _ACEOF
16720 ac_has_tgmath_h=yes
16721 else
16722 ac_has_tgmath_h=no
16725 done
16727 for ac_header in complex.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_complex_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_COMPLEX_H 1
16733 _ACEOF
16734 ac_has_complex_h=yes
16735 else
16736 ac_has_complex_h=no
16739 done
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16744 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16748 if test x$gcc_no_link = xyes; then
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <complex.h>
16752 typedef __complex__ float float_type;
16753 typedef __complex__ double double_type;
16754 typedef __complex__ long double ld_type;
16755 volatile float_type tmpf;
16756 volatile double_type tmpd;
16757 volatile ld_type tmpld;
16758 volatile float f;
16759 volatile double d;
16760 volatile long double ld;
16762 main ()
16764 f = cabsf(tmpf);
16765 f = cargf(tmpf);
16766 tmpf = ccosf(tmpf);
16767 tmpf = ccoshf(tmpf);
16768 tmpf = cexpf(tmpf);
16769 tmpf = clogf(tmpf);
16770 tmpf = csinf(tmpf);
16771 tmpf = csinhf(tmpf);
16772 tmpf = csqrtf(tmpf);
16773 tmpf = ctanf(tmpf);
16774 tmpf = ctanhf(tmpf);
16775 tmpf = cpowf(tmpf, tmpf);
16776 tmpf = cprojf(tmpf);
16777 d = cabs(tmpd);
16778 d = carg(tmpd);
16779 tmpd = ccos(tmpd);
16780 tmpd = ccosh(tmpd);
16781 tmpd = cexp(tmpd);
16782 tmpd = clog(tmpd);
16783 tmpd = csin(tmpd);
16784 tmpd = csinh(tmpd);
16785 tmpd = csqrt(tmpd);
16786 tmpd = ctan(tmpd);
16787 tmpd = ctanh(tmpd);
16788 tmpd = cpow(tmpd, tmpd);
16789 tmpd = cproj(tmpd);
16790 ld = cabsl(tmpld);
16791 ld = cargl(tmpld);
16792 tmpld = ccosl(tmpld);
16793 tmpld = ccoshl(tmpld);
16794 tmpld = cexpl(tmpld);
16795 tmpld = clogl(tmpld);
16796 tmpld = csinl(tmpld);
16797 tmpld = csinhl(tmpld);
16798 tmpld = csqrtl(tmpld);
16799 tmpld = ctanl(tmpld);
16800 tmpld = ctanhl(tmpld);
16801 tmpld = cpowl(tmpld, tmpld);
16802 tmpld = cprojl(tmpld);
16805 return 0;
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_complex_cxx98=yes
16810 else
16811 glibcxx_cv_c99_complex_cxx98=no
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 else
16815 if test x$gcc_no_link = xyes; then
16816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <complex.h>
16821 typedef __complex__ float float_type;
16822 typedef __complex__ double double_type;
16823 typedef __complex__ long double ld_type;
16824 volatile float_type tmpf;
16825 volatile double_type tmpd;
16826 volatile ld_type tmpld;
16827 volatile float f;
16828 volatile double d;
16829 volatile long double ld;
16831 main ()
16833 f = cabsf(tmpf);
16834 f = cargf(tmpf);
16835 tmpf = ccosf(tmpf);
16836 tmpf = ccoshf(tmpf);
16837 tmpf = cexpf(tmpf);
16838 tmpf = clogf(tmpf);
16839 tmpf = csinf(tmpf);
16840 tmpf = csinhf(tmpf);
16841 tmpf = csqrtf(tmpf);
16842 tmpf = ctanf(tmpf);
16843 tmpf = ctanhf(tmpf);
16844 tmpf = cpowf(tmpf, tmpf);
16845 tmpf = cprojf(tmpf);
16846 d = cabs(tmpd);
16847 d = carg(tmpd);
16848 tmpd = ccos(tmpd);
16849 tmpd = ccosh(tmpd);
16850 tmpd = cexp(tmpd);
16851 tmpd = clog(tmpd);
16852 tmpd = csin(tmpd);
16853 tmpd = csinh(tmpd);
16854 tmpd = csqrt(tmpd);
16855 tmpd = ctan(tmpd);
16856 tmpd = ctanh(tmpd);
16857 tmpd = cpow(tmpd, tmpd);
16858 tmpd = cproj(tmpd);
16859 ld = cabsl(tmpld);
16860 ld = cargl(tmpld);
16861 tmpld = ccosl(tmpld);
16862 tmpld = ccoshl(tmpld);
16863 tmpld = cexpl(tmpld);
16864 tmpld = clogl(tmpld);
16865 tmpld = csinl(tmpld);
16866 tmpld = csinhl(tmpld);
16867 tmpld = csqrtl(tmpld);
16868 tmpld = ctanl(tmpld);
16869 tmpld = ctanhl(tmpld);
16870 tmpld = cpowl(tmpld, tmpld);
16871 tmpld = cprojl(tmpld);
16874 return 0;
16876 _ACEOF
16877 if ac_fn_cxx_try_link "$LINENO"; then :
16878 glibcxx_cv_c99_complex_cxx98=yes
16879 else
16880 glibcxx_cv_c99_complex_cxx98=no
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16890 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16891 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16893 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16897 # Check for the existence in <stdio.h> of vscanf, et. al.
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16899 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16900 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16904 if test x$gcc_no_link = xyes; then
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16907 #include <stdio.h>
16908 #include <stdarg.h>
16909 void foo(char* fmt, ...)
16911 va_list args; va_start(args, fmt);
16912 vfscanf(stderr, "%i", args);
16913 vscanf("%i", args);
16914 vsnprintf(fmt, 0, "%i", args);
16915 vsscanf(fmt, "%i", args);
16916 snprintf(fmt, 0, "%i");
16919 main ()
16923 return 0;
16925 _ACEOF
16926 if ac_fn_cxx_try_compile "$LINENO"; then :
16927 glibcxx_cv_c99_stdio_cxx98=yes
16928 else
16929 glibcxx_cv_c99_stdio_cxx98=no
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <stdio.h>
16939 #include <stdarg.h>
16940 void foo(char* fmt, ...)
16942 va_list args; va_start(args, fmt);
16943 vfscanf(stderr, "%i", args);
16944 vscanf("%i", args);
16945 vsnprintf(fmt, 0, "%i", args);
16946 vsscanf(fmt, "%i", args);
16947 snprintf(fmt, 0, "%i");
16950 main ()
16954 return 0;
16956 _ACEOF
16957 if ac_fn_cxx_try_link "$LINENO"; then :
16958 glibcxx_cv_c99_stdio_cxx98=yes
16959 else
16960 glibcxx_cv_c99_stdio_cxx98=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16969 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16970 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16972 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16976 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16978 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16979 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16983 if test x$gcc_no_link = xyes; then
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <stdlib.h>
16987 volatile float f;
16988 volatile long double ld;
16989 volatile unsigned long long ll;
16990 lldiv_t mydivt;
16992 main ()
16994 char* tmp;
16995 f = strtof("gnu", &tmp);
16996 ld = strtold("gnu", &tmp);
16997 ll = strtoll("gnu", &tmp, 10);
16998 ll = strtoull("gnu", &tmp, 10);
16999 ll = llabs(10);
17000 mydivt = lldiv(10,1);
17001 ll = mydivt.quot;
17002 ll = mydivt.rem;
17003 ll = atoll("10");
17004 _Exit(0);
17007 return 0;
17009 _ACEOF
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17011 glibcxx_cv_c99_stdlib_cxx98=yes
17012 else
17013 glibcxx_cv_c99_stdlib_cxx98=no
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 else
17017 if test x$gcc_no_link = xyes; then
17018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <stdlib.h>
17023 volatile float f;
17024 volatile long double ld;
17025 volatile unsigned long long ll;
17026 lldiv_t mydivt;
17028 main ()
17030 char* tmp;
17031 f = strtof("gnu", &tmp);
17032 ld = strtold("gnu", &tmp);
17033 ll = strtoll("gnu", &tmp, 10);
17034 ll = strtoull("gnu", &tmp, 10);
17035 ll = llabs(10);
17036 mydivt = lldiv(10,1);
17037 ll = mydivt.quot;
17038 ll = mydivt.rem;
17039 ll = atoll("10");
17040 _Exit(0);
17043 return 0;
17045 _ACEOF
17046 if ac_fn_cxx_try_link "$LINENO"; then :
17047 glibcxx_cv_c99_stdlib_cxx98=yes
17048 else
17049 glibcxx_cv_c99_stdlib_cxx98=no
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17058 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17059 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17061 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17065 # Check for the existence in <wchar.h> of wcstold, etc.
17066 if test x"$ac_has_wchar_h" = xyes &&
17067 test x"$ac_has_wctype_h" = xyes; then
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17070 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17085 main ()
17089 return 0;
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar_cxx98=yes
17094 else
17095 glibcxx_cv_c99_wchar_cxx98=no
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17111 main ()
17115 return 0;
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17130 main ()
17134 return 0;
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17149 main ()
17153 return 0;
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17168 main ()
17172 return 0;
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17186 main ()
17188 wint_t t; int i = iswblank(t);
17190 return 0;
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17204 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17209 # Option parsed, now set things appropriately.
17210 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17212 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17214 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17215 enable_c99=no;
17216 else
17218 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17222 gcc_no_link="$ac_save_gcc_no_link"
17223 LIBS="$ac_save_LIBS"
17224 CXXFLAGS="$ac_save_CXXFLAGS"
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17233 ac_ext=cpp
17234 ac_cpp='$CXXCPP $CPPFLAGS'
17235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17240 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17241 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17242 ac_save_CXXFLAGS="$CXXFLAGS"
17243 CXXFLAGS="$CXXFLAGS -std=c++11"
17244 ac_save_LIBS="$LIBS"
17245 ac_save_gcc_no_link="$gcc_no_link"
17247 if test x$gcc_no_link != xyes; then
17248 # Use -fno-exceptions to that the C driver can link these tests without
17249 # hitting undefined references to personality routines.
17250 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17252 $as_echo_n "checking for sin in -lm... " >&6; }
17253 if test "${ac_cv_lib_m_sin+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_check_lib_save_LIBS=$LIBS
17257 LIBS="-lm $LIBS"
17258 if test x$gcc_no_link = xyes; then
17259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 #ifdef __cplusplus
17268 extern "C"
17269 #endif
17270 char sin ();
17272 main ()
17274 return sin ();
17276 return 0;
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 ac_cv_lib_m_sin=yes
17281 else
17282 ac_cv_lib_m_sin=no
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17289 $as_echo "$ac_cv_lib_m_sin" >&6; }
17290 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17291 LIBS="$LIBS -lm"
17292 else
17294 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17295 gcc_no_link=yes
17301 # Check for the existence of <math.h> functions used if C99 is enabled.
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17303 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17304 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17308 if test x$gcc_no_link = xyes; then
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <math.h>
17312 volatile double d1, d2;
17313 volatile int i;
17315 main ()
17317 i = fpclassify(d1);
17318 i = isfinite(d1);
17319 i = isinf(d1);
17320 i = isnan(d1);
17321 i = isnormal(d1);
17322 i = signbit(d1);
17323 i = isgreater(d1, d2);
17324 i = isgreaterequal(d1, d2);
17325 i = isless(d1, d2);
17326 i = islessequal(d1, d2);
17327 i = islessgreater(d1, d2);
17328 i = islessgreater(d1, d2);
17329 i = isunordered(d1, d2);
17332 return 0;
17334 _ACEOF
17335 if ac_fn_cxx_try_compile "$LINENO"; then :
17336 glibcxx_cv_c99_math_cxx11=yes
17337 else
17338 glibcxx_cv_c99_math_cxx11=no
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #include <math.h>
17348 volatile double d1, d2;
17349 volatile int i;
17351 main ()
17353 i = fpclassify(d1);
17354 i = isfinite(d1);
17355 i = isinf(d1);
17356 i = isnan(d1);
17357 i = isnormal(d1);
17358 i = signbit(d1);
17359 i = isgreater(d1, d2);
17360 i = isgreaterequal(d1, d2);
17361 i = isless(d1, d2);
17362 i = islessequal(d1, d2);
17363 i = islessgreater(d1, d2);
17364 i = islessgreater(d1, d2);
17365 i = isunordered(d1, d2);
17368 return 0;
17370 _ACEOF
17371 if ac_fn_cxx_try_link "$LINENO"; then :
17372 glibcxx_cv_c99_math_cxx11=yes
17373 else
17374 glibcxx_cv_c99_math_cxx11=no
17376 rm -f core conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17383 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17384 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17386 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17390 # Check for the existence of <complex.h> complex math functions.
17391 # This is necessary even though libstdc++ uses the builtin versions
17392 # of these functions, because if the builtin cannot be used, a reference
17393 # to the library function is emitted.
17394 for ac_header in tgmath.h
17395 do :
17396 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17397 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_TGMATH_H 1
17400 _ACEOF
17401 ac_has_tgmath_h=yes
17402 else
17403 ac_has_tgmath_h=no
17406 done
17408 for ac_header in complex.h
17409 do :
17410 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17411 if test "x$ac_cv_header_complex_h" = x""yes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_COMPLEX_H 1
17414 _ACEOF
17415 ac_has_complex_h=yes
17416 else
17417 ac_has_complex_h=no
17420 done
17422 if test x"$ac_has_complex_h" = x"yes"; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17424 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17425 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17429 if test x$gcc_no_link = xyes; then
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <complex.h>
17433 typedef __complex__ float float_type;
17434 typedef __complex__ double double_type;
17435 typedef __complex__ long double ld_type;
17436 volatile float_type tmpf;
17437 volatile double_type tmpd;
17438 volatile ld_type tmpld;
17439 volatile float f;
17440 volatile double d;
17441 volatile long double ld;
17443 main ()
17445 f = cabsf(tmpf);
17446 f = cargf(tmpf);
17447 tmpf = ccosf(tmpf);
17448 tmpf = ccoshf(tmpf);
17449 tmpf = cexpf(tmpf);
17450 tmpf = clogf(tmpf);
17451 tmpf = csinf(tmpf);
17452 tmpf = csinhf(tmpf);
17453 tmpf = csqrtf(tmpf);
17454 tmpf = ctanf(tmpf);
17455 tmpf = ctanhf(tmpf);
17456 tmpf = cpowf(tmpf, tmpf);
17457 tmpf = cprojf(tmpf);
17458 d = cabs(tmpd);
17459 d = carg(tmpd);
17460 tmpd = ccos(tmpd);
17461 tmpd = ccosh(tmpd);
17462 tmpd = cexp(tmpd);
17463 tmpd = clog(tmpd);
17464 tmpd = csin(tmpd);
17465 tmpd = csinh(tmpd);
17466 tmpd = csqrt(tmpd);
17467 tmpd = ctan(tmpd);
17468 tmpd = ctanh(tmpd);
17469 tmpd = cpow(tmpd, tmpd);
17470 tmpd = cproj(tmpd);
17471 ld = cabsl(tmpld);
17472 ld = cargl(tmpld);
17473 tmpld = ccosl(tmpld);
17474 tmpld = ccoshl(tmpld);
17475 tmpld = cexpl(tmpld);
17476 tmpld = clogl(tmpld);
17477 tmpld = csinl(tmpld);
17478 tmpld = csinhl(tmpld);
17479 tmpld = csqrtl(tmpld);
17480 tmpld = ctanl(tmpld);
17481 tmpld = ctanhl(tmpld);
17482 tmpld = cpowl(tmpld, tmpld);
17483 tmpld = cprojl(tmpld);
17486 return 0;
17488 _ACEOF
17489 if ac_fn_cxx_try_compile "$LINENO"; then :
17490 glibcxx_cv_c99_complex_cxx11=yes
17491 else
17492 glibcxx_cv_c99_complex_cxx11=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 else
17496 if test x$gcc_no_link = xyes; then
17497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <complex.h>
17502 typedef __complex__ float float_type;
17503 typedef __complex__ double double_type;
17504 typedef __complex__ long double ld_type;
17505 volatile float_type tmpf;
17506 volatile double_type tmpd;
17507 volatile ld_type tmpld;
17508 volatile float f;
17509 volatile double d;
17510 volatile long double ld;
17512 main ()
17514 f = cabsf(tmpf);
17515 f = cargf(tmpf);
17516 tmpf = ccosf(tmpf);
17517 tmpf = ccoshf(tmpf);
17518 tmpf = cexpf(tmpf);
17519 tmpf = clogf(tmpf);
17520 tmpf = csinf(tmpf);
17521 tmpf = csinhf(tmpf);
17522 tmpf = csqrtf(tmpf);
17523 tmpf = ctanf(tmpf);
17524 tmpf = ctanhf(tmpf);
17525 tmpf = cpowf(tmpf, tmpf);
17526 tmpf = cprojf(tmpf);
17527 d = cabs(tmpd);
17528 d = carg(tmpd);
17529 tmpd = ccos(tmpd);
17530 tmpd = ccosh(tmpd);
17531 tmpd = cexp(tmpd);
17532 tmpd = clog(tmpd);
17533 tmpd = csin(tmpd);
17534 tmpd = csinh(tmpd);
17535 tmpd = csqrt(tmpd);
17536 tmpd = ctan(tmpd);
17537 tmpd = ctanh(tmpd);
17538 tmpd = cpow(tmpd, tmpd);
17539 tmpd = cproj(tmpd);
17540 ld = cabsl(tmpld);
17541 ld = cargl(tmpld);
17542 tmpld = ccosl(tmpld);
17543 tmpld = ccoshl(tmpld);
17544 tmpld = cexpl(tmpld);
17545 tmpld = clogl(tmpld);
17546 tmpld = csinl(tmpld);
17547 tmpld = csinhl(tmpld);
17548 tmpld = csqrtl(tmpld);
17549 tmpld = ctanl(tmpld);
17550 tmpld = ctanhl(tmpld);
17551 tmpld = cpowl(tmpld, tmpld);
17552 tmpld = cprojl(tmpld);
17555 return 0;
17557 _ACEOF
17558 if ac_fn_cxx_try_link "$LINENO"; then :
17559 glibcxx_cv_c99_complex_cxx11=yes
17560 else
17561 glibcxx_cv_c99_complex_cxx11=no
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17571 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17572 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17574 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17578 # Check for the existence in <stdio.h> of vscanf, et. al.
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17580 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17581 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17585 if test x$gcc_no_link = xyes; then
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <stdio.h>
17589 #include <stdarg.h>
17590 void foo(char* fmt, ...)
17592 va_list args; va_start(args, fmt);
17593 vfscanf(stderr, "%i", args);
17594 vscanf("%i", args);
17595 vsnprintf(fmt, 0, "%i", args);
17596 vsscanf(fmt, "%i", args);
17597 snprintf(fmt, 0, "%i");
17600 main ()
17604 return 0;
17606 _ACEOF
17607 if ac_fn_cxx_try_compile "$LINENO"; then :
17608 glibcxx_cv_c99_stdio_cxx11=yes
17609 else
17610 glibcxx_cv_c99_stdio_cxx11=no
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 else
17614 if test x$gcc_no_link = xyes; then
17615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <stdio.h>
17620 #include <stdarg.h>
17621 void foo(char* fmt, ...)
17623 va_list args; va_start(args, fmt);
17624 vfscanf(stderr, "%i", args);
17625 vscanf("%i", args);
17626 vsnprintf(fmt, 0, "%i", args);
17627 vsscanf(fmt, "%i", args);
17628 snprintf(fmt, 0, "%i");
17631 main ()
17635 return 0;
17637 _ACEOF
17638 if ac_fn_cxx_try_link "$LINENO"; then :
17639 glibcxx_cv_c99_stdio_cxx11=yes
17640 else
17641 glibcxx_cv_c99_stdio_cxx11=no
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17650 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17651 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17653 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17657 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17659 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17660 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17664 if test x$gcc_no_link = xyes; then
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <stdlib.h>
17668 volatile float f;
17669 volatile long double ld;
17670 volatile unsigned long long ll;
17671 lldiv_t mydivt;
17673 main ()
17675 char* tmp;
17676 f = strtof("gnu", &tmp);
17677 ld = strtold("gnu", &tmp);
17678 ll = strtoll("gnu", &tmp, 10);
17679 ll = strtoull("gnu", &tmp, 10);
17680 ll = llabs(10);
17681 mydivt = lldiv(10,1);
17682 ll = mydivt.quot;
17683 ll = mydivt.rem;
17684 ll = atoll("10");
17685 _Exit(0);
17688 return 0;
17690 _ACEOF
17691 if ac_fn_cxx_try_compile "$LINENO"; then :
17692 glibcxx_cv_c99_stdlib_cxx11=yes
17693 else
17694 glibcxx_cv_c99_stdlib_cxx11=no
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <stdlib.h>
17704 volatile float f;
17705 volatile long double ld;
17706 volatile unsigned long long ll;
17707 lldiv_t mydivt;
17709 main ()
17711 char* tmp;
17712 f = strtof("gnu", &tmp);
17713 ld = strtold("gnu", &tmp);
17714 ll = strtoll("gnu", &tmp, 10);
17715 ll = strtoull("gnu", &tmp, 10);
17716 ll = llabs(10);
17717 mydivt = lldiv(10,1);
17718 ll = mydivt.quot;
17719 ll = mydivt.rem;
17720 ll = atoll("10");
17721 _Exit(0);
17724 return 0;
17726 _ACEOF
17727 if ac_fn_cxx_try_link "$LINENO"; then :
17728 glibcxx_cv_c99_stdlib_cxx11=yes
17729 else
17730 glibcxx_cv_c99_stdlib_cxx11=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17739 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17740 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17742 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17746 # Check for the existence in <wchar.h> of wcstold, etc.
17747 if test x"$ac_has_wchar_h" = xyes &&
17748 test x"$ac_has_wctype_h" = xyes; then
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17750 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17751 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test
17760 using ::wcstold;
17761 using ::wcstoll;
17762 using ::wcstoull;
17766 main ()
17770 return 0;
17772 _ACEOF
17773 if ac_fn_cxx_try_compile "$LINENO"; then :
17774 glibcxx_cv_c99_wchar_cxx11=yes
17775 else
17776 glibcxx_cv_c99_wchar_cxx11=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783 # Checks for wide character functions that may not be present.
17784 # Injection of these is wrapped with guard macros.
17785 # NB: only put functions here, instead of immediately above, if
17786 # absolutely necessary.
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <wchar.h>
17790 namespace test { using ::vfwscanf; }
17792 main ()
17796 return 0;
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17801 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test { using ::vswscanf; }
17811 main ()
17815 return 0;
17817 _ACEOF
17818 if ac_fn_cxx_try_compile "$LINENO"; then :
17820 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <wchar.h>
17828 namespace test { using ::vwscanf; }
17830 main ()
17834 return 0;
17836 _ACEOF
17837 if ac_fn_cxx_try_compile "$LINENO"; then :
17839 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <wchar.h>
17847 namespace test { using ::wcstof; }
17849 main ()
17853 return 0;
17855 _ACEOF
17856 if ac_fn_cxx_try_compile "$LINENO"; then :
17858 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <wctype.h>
17867 main ()
17869 wint_t t; int i = iswblank(t);
17871 return 0;
17873 _ACEOF
17874 if ac_fn_cxx_try_compile "$LINENO"; then :
17876 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17885 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17890 gcc_no_link="$ac_save_gcc_no_link"
17891 LIBS="$ac_save_LIBS"
17892 CXXFLAGS="$ac_save_CXXFLAGS"
17893 ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17902 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17904 $as_echo "$enable_c99" >&6; }
17907 # Check whether --enable-concept-checks was given.
17908 if test "${enable_concept_checks+set}" = set; then :
17909 enableval=$enable_concept_checks;
17910 case "$enableval" in
17911 yes|no) ;;
17912 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17913 esac
17915 else
17916 enable_concept_checks=no
17920 if test $enable_concept_checks = yes; then
17922 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17927 # Check whether --enable-libstdcxx-debug-flags was given.
17928 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17929 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17930 xno | x) enable_libstdcxx_debug_flags= ;;
17931 x-*) ;;
17932 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17933 esac
17934 else
17935 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17940 # Option parsed, now set things appropriately
17941 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17945 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17949 $as_echo_n "checking for additional debug build... " >&6; }
17950 # Check whether --enable-libstdcxx-debug was given.
17951 if test "${enable_libstdcxx_debug+set}" = set; then :
17952 enableval=$enable_libstdcxx_debug;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17956 esac
17958 else
17959 enable_libstdcxx_debug=no
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17964 $as_echo "$enable_libstdcxx_debug" >&6; }
17969 enable_parallel=no;
17971 # See if configured libgomp/omp.h exists. (libgomp may be in
17972 # noconfigdirs but not explicitly disabled.)
17973 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17974 enable_parallel=yes;
17975 else
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17977 $as_echo "$as_me: target-libgomp not built" >&6;}
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17981 $as_echo_n "checking for parallel mode support... " >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17983 $as_echo "$enable_parallel" >&6; }
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17986 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17987 # Check whether --enable-cxx-flags was given.
17988 if test "${enable_cxx_flags+set}" = set; then :
17989 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17990 xno | x) enable_cxx_flags= ;;
17991 x-*) ;;
17992 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17993 esac
17994 else
17995 enable_cxx_flags=
18000 # Run through flags (either default or command-line) and set anything
18001 # extra (e.g., #defines) that must accompany particular g++ options.
18002 if test -n "$enable_cxx_flags"; then
18003 for f in $enable_cxx_flags; do
18004 case "$f" in
18005 -fhonor-std) ;;
18006 -*) ;;
18007 *) # and we're trying to pass /what/ exactly?
18008 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18009 esac
18010 done
18013 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18015 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18019 # Check whether --enable-fully-dynamic-string was given.
18020 if test "${enable_fully_dynamic_string+set}" = set; then :
18021 enableval=$enable_fully_dynamic_string;
18022 case "$enableval" in
18023 yes|no) ;;
18024 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18025 esac
18027 else
18028 enable_fully_dynamic_string=no
18032 if test $enable_fully_dynamic_string = yes; then
18033 enable_fully_dynamic_string_def=1
18034 else
18035 enable_fully_dynamic_string_def=0
18038 cat >>confdefs.h <<_ACEOF
18039 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18040 _ACEOF
18045 # Check whether --enable-extern-template was given.
18046 if test "${enable_extern_template+set}" = set; then :
18047 enableval=$enable_extern_template;
18048 case "$enableval" in
18049 yes|no) ;;
18050 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18051 esac
18053 else
18054 enable_extern_template=yes
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18060 $as_echo_n "checking for extern template support... " >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18062 $as_echo "$enable_extern_template" >&6; }
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18069 $as_echo_n "checking for custom python install directory... " >&6; }
18071 # Check whether --with-python-dir was given.
18072 if test "${with_python_dir+set}" = set; then :
18073 withval=$with_python_dir; with_python_dir=$withval
18074 else
18075 with_python_dir="no"
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18079 $as_echo "${with_python_dir}" >&6; }
18081 # Needed for installing Python modules during make install.
18082 python_mod_dir="${with_python_dir}"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18088 $as_echo_n "checking for -Werror... " >&6; }
18089 # Check whether --enable-werror was given.
18090 if test "${enable_werror+set}" = set; then :
18091 enableval=$enable_werror;
18092 case "$enableval" in
18093 yes|no) ;;
18094 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18095 esac
18097 else
18098 enable_werror=yes
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18103 $as_echo "$enable_werror" >&6; }
18108 # Check whether --enable-vtable-verify was given.
18109 if test "${enable_vtable_verify+set}" = set; then :
18110 enableval=$enable_vtable_verify;
18111 case "$enableval" in
18112 yes|no) ;;
18113 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18114 esac
18116 else
18117 enable_vtable_verify=no
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18123 $as_echo_n "checking for vtable verify support... " >&6; }
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18125 $as_echo "$enable_vtable_verify" >&6; }
18127 vtv_cygmin=no
18128 if test $enable_vtable_verify = yes; then
18129 case ${target_os} in
18130 cygwin*|mingw32*)
18131 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18132 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18133 vtv_cygmin=yes
18135 darwin*)
18136 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18137 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18139 solaris2*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
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,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18147 esac
18148 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18149 else
18150 VTV_CXXFLAGS=
18151 VTV_PCH_CXXFLAGS=
18152 VTV_CXXLINKFLAGS=
18158 if test x$vtv_cygmin = xyes; then
18159 VTV_CYGMIN_TRUE=
18160 VTV_CYGMIN_FALSE='#'
18161 else
18162 VTV_CYGMIN_TRUE='#'
18163 VTV_CYGMIN_FALSE=
18169 # Checks for operating systems support that doesn't require linking.
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18179 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18180 # and we don't need a declaration for C++14 anyway.
18181 ac_save_CXXFLAGS="$CXXFLAGS"
18182 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18185 $as_echo_n "checking for gets declaration... " >&6; }
18186 if test "${glibcxx_cv_gets+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18192 #include <stdio.h>
18193 namespace test
18195 using ::gets;
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_gets=yes
18201 else
18202 glibcxx_cv_gets=no
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 if test $glibcxx_cv_gets = yes; then
18211 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18215 $as_echo "$glibcxx_cv_gets" >&6; }
18217 CXXFLAGS="$ac_save_CXXFLAGS"
18218 ac_ext=c
18219 ac_cpp='$CPP $CPPFLAGS'
18220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18228 ac_ext=cpp
18229 ac_cpp='$CXXCPP $CPPFLAGS'
18230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18234 ac_save_CXXFLAGS="$CXXFLAGS"
18235 CXXFLAGS="$CXXFLAGS -std=c++11"
18237 case "$host" in
18238 *-*-solaris2.*)
18239 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18240 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18242 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18243 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18244 $as_echo_n "(cached) " >&6
18245 else
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <math.h>
18250 #undef isfinite
18251 namespace std {
18252 inline bool isfinite(float __x)
18253 { return __builtin_isfinite(__x); }
18256 _ACEOF
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 glibcxx_cv_math11_fp_overload=no
18259 else
18260 glibcxx_cv_math11_fp_overload=yes
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267 # autoheader cannot handle indented templates.
18270 if test $glibcxx_cv_math11_fp_overload = yes; then
18271 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18275 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18277 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18278 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18280 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18281 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <math.h>
18288 namespace std {
18289 template<typename _Tp>
18290 struct __is_integer;
18291 template<>
18292 struct __is_integer<int>
18294 enum { __value = 1 };
18297 namespace __gnu_cxx {
18298 template<bool, typename>
18299 struct __enable_if;
18300 template<typename _Tp>
18301 struct __enable_if<true, _Tp>
18302 { typedef _Tp __type; };
18304 namespace std {
18305 template<typename _Tp>
18306 constexpr typename __gnu_cxx::__enable_if
18307 <__is_integer<_Tp>::__value, double>::__type
18308 log2(_Tp __x)
18309 { return __builtin_log2(__x); }
18312 main (void)
18314 int i = 1000;
18315 return std::log2(i);
18318 _ACEOF
18319 if ac_fn_cxx_try_compile "$LINENO"; then :
18320 glibcxx_cv_math11_int_overload=no
18321 else
18322 glibcxx_cv_math11_int_overload=yes
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 # autoheader cannot handle indented templates.
18332 if test $glibcxx_cv_math11_int_overload = yes; then
18333 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18337 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18340 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18341 # functions (instead of or as well as the C99 generic macros) then we
18342 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18343 # and must use the ones from <math.h> instead.
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18345 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18346 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18347 $as_echo_n "(cached) " >&6
18348 else
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18352 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18353 #include <math.h>
18354 #undef isinf
18355 namespace std {
18356 using ::isinf;
18357 bool isinf(float);
18358 bool isinf(long double);
18360 using std::isinf;
18361 bool b = isinf(0.0);
18363 _ACEOF
18364 if ac_fn_cxx_try_compile "$LINENO"; then :
18365 glibcxx_cv_obsolete_isinf=yes
18366 else
18367 glibcxx_cv_obsolete_isinf=no
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18374 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18375 if test $glibcxx_cv_obsolete_isinf = yes; then
18377 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18382 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18383 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18384 $as_echo_n "(cached) " >&6
18385 else
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #include <math.h>
18390 #undef isnan
18391 namespace std {
18392 using ::isnan;
18393 bool isnan(float);
18394 bool isnan(long double);
18396 using std::isnan;
18397 bool b = isnan(0.0);
18399 _ACEOF
18400 if ac_fn_cxx_try_compile "$LINENO"; then :
18401 glibcxx_cv_obsolete_isnan=yes
18402 else
18403 glibcxx_cv_obsolete_isnan=no
18406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18410 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18411 if test $glibcxx_cv_obsolete_isnan = yes; then
18413 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18417 esac
18419 CXXFLAGS="$ac_save_CXXFLAGS"
18420 ac_ext=c
18421 ac_cpp='$CPP $CPPFLAGS'
18422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18430 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18431 if test "${glibcxx_cv_system_error1+set}" = set; then :
18432 $as_echo_n "(cached) " >&6
18433 else
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18437 #include <errno.h>
18439 main ()
18441 int i = EOWNERDEAD;
18443 return 0;
18445 _ACEOF
18446 if ac_fn_c_try_compile "$LINENO"; then :
18447 glibcxx_cv_system_error1=yes
18448 else
18449 glibcxx_cv_system_error1=no
18451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18456 $as_echo "$glibcxx_cv_system_error1" >&6; }
18457 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18459 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18463 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18464 if test "${glibcxx_cv_system_error2+set}" = set; then :
18465 $as_echo_n "(cached) " >&6
18466 else
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18470 #include <errno.h>
18472 main ()
18474 int i = ENOTRECOVERABLE;
18476 return 0;
18478 _ACEOF
18479 if ac_fn_c_try_compile "$LINENO"; then :
18480 glibcxx_cv_system_error2=yes
18481 else
18482 glibcxx_cv_system_error2=no
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18489 $as_echo "$glibcxx_cv_system_error2" >&6; }
18490 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18492 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18496 $as_echo_n "checking for ENOLINK... " >&6; }
18497 if test "${glibcxx_cv_system_error3+set}" = set; then :
18498 $as_echo_n "(cached) " >&6
18499 else
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18503 #include <errno.h>
18505 main ()
18507 int i = ENOLINK;
18509 return 0;
18511 _ACEOF
18512 if ac_fn_c_try_compile "$LINENO"; then :
18513 glibcxx_cv_system_error3=yes
18514 else
18515 glibcxx_cv_system_error3=no
18517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18522 $as_echo "$glibcxx_cv_system_error3" >&6; }
18523 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18525 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18529 $as_echo_n "checking for EPROTO... " >&6; }
18530 if test "${glibcxx_cv_system_error4+set}" = set; then :
18531 $as_echo_n "(cached) " >&6
18532 else
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18536 #include <errno.h>
18538 main ()
18540 int i = EPROTO;
18542 return 0;
18544 _ACEOF
18545 if ac_fn_c_try_compile "$LINENO"; then :
18546 glibcxx_cv_system_error4=yes
18547 else
18548 glibcxx_cv_system_error4=no
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18555 $as_echo "$glibcxx_cv_system_error4" >&6; }
18556 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18558 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18562 $as_echo_n "checking for ENODATA... " >&6; }
18563 if test "${glibcxx_cv_system_error5+set}" = set; then :
18564 $as_echo_n "(cached) " >&6
18565 else
18567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h. */
18569 #include <errno.h>
18571 main ()
18573 int i = ENODATA;
18575 return 0;
18577 _ACEOF
18578 if ac_fn_c_try_compile "$LINENO"; then :
18579 glibcxx_cv_system_error5=yes
18580 else
18581 glibcxx_cv_system_error5=no
18583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18588 $as_echo "$glibcxx_cv_system_error5" >&6; }
18589 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18591 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18595 $as_echo_n "checking for ENOSR... " >&6; }
18596 if test "${glibcxx_cv_system_error6+set}" = set; then :
18597 $as_echo_n "(cached) " >&6
18598 else
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18602 #include <errno.h>
18604 main ()
18606 int i = ENOSR;
18608 return 0;
18610 _ACEOF
18611 if ac_fn_c_try_compile "$LINENO"; then :
18612 glibcxx_cv_system_error6=yes
18613 else
18614 glibcxx_cv_system_error6=no
18616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18621 $as_echo "$glibcxx_cv_system_error6" >&6; }
18622 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18624 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18628 $as_echo_n "checking for ENOSTR... " >&6; }
18629 if test "${glibcxx_cv_system_error7+set}" = set; then :
18630 $as_echo_n "(cached) " >&6
18631 else
18633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18635 #include <errno.h>
18637 main ()
18639 int i = ENOSTR;
18641 return 0;
18643 _ACEOF
18644 if ac_fn_c_try_compile "$LINENO"; then :
18645 glibcxx_cv_system_error7=yes
18646 else
18647 glibcxx_cv_system_error7=no
18649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18654 $as_echo "$glibcxx_cv_system_error7" >&6; }
18655 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18657 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18661 $as_echo_n "checking for ETIME... " >&6; }
18662 if test "${glibcxx_cv_system_error8+set}" = set; then :
18663 $as_echo_n "(cached) " >&6
18664 else
18666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18668 #include <errno.h>
18670 main ()
18672 int i = ETIME;
18674 return 0;
18676 _ACEOF
18677 if ac_fn_c_try_compile "$LINENO"; then :
18678 glibcxx_cv_system_error8=yes
18679 else
18680 glibcxx_cv_system_error8=no
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18687 $as_echo "$glibcxx_cv_system_error8" >&6; }
18688 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18690 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18694 $as_echo_n "checking for EBADMSG... " >&6; }
18695 if test "${glibcxx_cv_system_error9+set}" = set; then :
18696 $as_echo_n "(cached) " >&6
18697 else
18699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18701 #include <errno.h>
18703 main ()
18705 int i = EBADMSG;
18707 return 0;
18709 _ACEOF
18710 if ac_fn_c_try_compile "$LINENO"; then :
18711 glibcxx_cv_system_error9=yes
18712 else
18713 glibcxx_cv_system_error9=no
18715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18720 $as_echo "$glibcxx_cv_system_error9" >&6; }
18721 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18723 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18727 $as_echo_n "checking for ECANCELED... " >&6; }
18728 if test "${glibcxx_cv_system_error10+set}" = set; then :
18729 $as_echo_n "(cached) " >&6
18730 else
18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h. */
18734 #include <errno.h>
18736 main ()
18738 int i = ECANCELED;
18740 return 0;
18742 _ACEOF
18743 if ac_fn_c_try_compile "$LINENO"; then :
18744 glibcxx_cv_system_error10=yes
18745 else
18746 glibcxx_cv_system_error10=no
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18753 $as_echo "$glibcxx_cv_system_error10" >&6; }
18754 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18756 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18760 $as_echo_n "checking for EOVERFLOW... " >&6; }
18761 if test "${glibcxx_cv_system_error11+set}" = set; then :
18762 $as_echo_n "(cached) " >&6
18763 else
18765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18766 /* end confdefs.h. */
18767 #include <errno.h>
18769 main ()
18771 int i = EOVERFLOW;
18773 return 0;
18775 _ACEOF
18776 if ac_fn_c_try_compile "$LINENO"; then :
18777 glibcxx_cv_system_error11=yes
18778 else
18779 glibcxx_cv_system_error11=no
18781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18786 $as_echo "$glibcxx_cv_system_error11" >&6; }
18787 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18789 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18793 $as_echo_n "checking for ENOTSUP... " >&6; }
18794 if test "${glibcxx_cv_system_error12+set}" = set; then :
18795 $as_echo_n "(cached) " >&6
18796 else
18798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18799 /* end confdefs.h. */
18800 #include <errno.h>
18802 main ()
18804 int i = ENOTSUP;
18806 return 0;
18808 _ACEOF
18809 if ac_fn_c_try_compile "$LINENO"; then :
18810 glibcxx_cv_system_error12=yes
18811 else
18812 glibcxx_cv_system_error12=no
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18819 $as_echo "$glibcxx_cv_system_error12" >&6; }
18820 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18822 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18826 $as_echo_n "checking for EIDRM... " >&6; }
18827 if test "${glibcxx_cv_system_error13+set}" = set; then :
18828 $as_echo_n "(cached) " >&6
18829 else
18831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18833 #include <errno.h>
18835 main ()
18837 int i = EIDRM;
18839 return 0;
18841 _ACEOF
18842 if ac_fn_c_try_compile "$LINENO"; then :
18843 glibcxx_cv_system_error13=yes
18844 else
18845 glibcxx_cv_system_error13=no
18847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18852 $as_echo "$glibcxx_cv_system_error13" >&6; }
18853 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18855 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18859 $as_echo_n "checking for ETXTBSY... " >&6; }
18860 if test "${glibcxx_cv_system_error14+set}" = set; then :
18861 $as_echo_n "(cached) " >&6
18862 else
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 #include <errno.h>
18868 main ()
18870 int i = ETXTBSY;
18872 return 0;
18874 _ACEOF
18875 if ac_fn_c_try_compile "$LINENO"; then :
18876 glibcxx_cv_system_error14=yes
18877 else
18878 glibcxx_cv_system_error14=no
18880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18885 $as_echo "$glibcxx_cv_system_error14" >&6; }
18886 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18888 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18892 $as_echo_n "checking for ECHILD... " >&6; }
18893 if test "${glibcxx_cv_system_error15+set}" = set; then :
18894 $as_echo_n "(cached) " >&6
18895 else
18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18899 #include <errno.h>
18901 main ()
18903 int i = ECHILD;
18905 return 0;
18907 _ACEOF
18908 if ac_fn_c_try_compile "$LINENO"; then :
18909 glibcxx_cv_system_error15=yes
18910 else
18911 glibcxx_cv_system_error15=no
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18918 $as_echo "$glibcxx_cv_system_error15" >&6; }
18919 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18921 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18925 $as_echo_n "checking for ENOSPC... " >&6; }
18926 if test "${glibcxx_cv_system_error16+set}" = set; then :
18927 $as_echo_n "(cached) " >&6
18928 else
18930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18931 /* end confdefs.h. */
18932 #include <errno.h>
18934 main ()
18936 int i = ENOSPC;
18938 return 0;
18940 _ACEOF
18941 if ac_fn_c_try_compile "$LINENO"; then :
18942 glibcxx_cv_system_error16=yes
18943 else
18944 glibcxx_cv_system_error16=no
18946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18951 $as_echo "$glibcxx_cv_system_error16" >&6; }
18952 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18954 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18958 $as_echo_n "checking for EPERM... " >&6; }
18959 if test "${glibcxx_cv_system_error17+set}" = set; then :
18960 $as_echo_n "(cached) " >&6
18961 else
18963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18964 /* end confdefs.h. */
18965 #include <errno.h>
18967 main ()
18969 int i = EPERM;
18971 return 0;
18973 _ACEOF
18974 if ac_fn_c_try_compile "$LINENO"; then :
18975 glibcxx_cv_system_error17=yes
18976 else
18977 glibcxx_cv_system_error17=no
18979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18984 $as_echo "$glibcxx_cv_system_error17" >&6; }
18985 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18987 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18991 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18992 if test "${glibcxx_cv_system_error18+set}" = set; then :
18993 $as_echo_n "(cached) " >&6
18994 else
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998 #include <errno.h>
19000 main ()
19002 int i = ETIMEDOUT;
19004 return 0;
19006 _ACEOF
19007 if ac_fn_c_try_compile "$LINENO"; then :
19008 glibcxx_cv_system_error18=yes
19009 else
19010 glibcxx_cv_system_error18=no
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19017 $as_echo "$glibcxx_cv_system_error18" >&6; }
19018 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19020 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19024 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19025 if test "${glibcxx_cv_system_error19+set}" = set; then :
19026 $as_echo_n "(cached) " >&6
19027 else
19029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19031 #include <errno.h>
19033 main ()
19035 int i = EWOULDBLOCK;
19037 return 0;
19039 _ACEOF
19040 if ac_fn_c_try_compile "$LINENO"; then :
19041 glibcxx_cv_system_error19=yes
19042 else
19043 glibcxx_cv_system_error19=no
19045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19050 $as_echo "$glibcxx_cv_system_error19" >&6; }
19051 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19053 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19060 # Test uchar.h.
19061 for ac_header in uchar.h
19062 do :
19063 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19064 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_UCHAR_H 1
19067 _ACEOF
19068 ac_has_uchar_h=yes
19069 else
19070 ac_has_uchar_h=no
19073 done
19077 ac_ext=cpp
19078 ac_cpp='$CXXCPP $CPPFLAGS'
19079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19083 ac_save_CXXFLAGS="$CXXFLAGS"
19084 CXXFLAGS="$CXXFLAGS -std=c++11"
19086 if test x"$ac_has_uchar_h" = x"yes"; then
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19088 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091 #include <uchar.h>
19092 #ifdef __STDC_UTF_16__
19093 long i = __STDC_UTF_16__;
19094 #endif
19095 #ifdef __STDC_UTF_32__
19096 long j = __STDC_UTF_32__;
19097 #endif
19098 namespace test
19100 using ::c16rtomb;
19101 using ::c32rtomb;
19102 using ::mbrtoc16;
19103 using ::mbrtoc32;
19107 main ()
19111 return 0;
19113 _ACEOF
19114 if ac_fn_cxx_try_compile "$LINENO"; then :
19115 ac_c11_uchar_cxx11=yes
19116 else
19117 ac_c11_uchar_cxx11=no
19119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19120 else
19121 ac_c11_uchar_cxx11=no
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19124 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19125 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19127 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19131 CXXFLAGS="$ac_save_CXXFLAGS"
19132 ac_ext=c
19133 ac_cpp='$CPP $CPPFLAGS'
19134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19140 # For the streamoff typedef.
19144 ac_ext=cpp
19145 ac_cpp='$CXXCPP $CPPFLAGS'
19146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19152 $as_echo_n "checking for int64_t... " >&6; }
19153 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19154 $as_echo_n "(cached) " >&6
19155 else
19157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19158 /* end confdefs.h. */
19159 #include <stdint.h>
19161 main ()
19163 int64_t var;
19165 return 0;
19167 _ACEOF
19168 if ac_fn_cxx_try_compile "$LINENO"; then :
19169 glibcxx_cv_INT64_T=yes
19170 else
19171 glibcxx_cv_INT64_T=no
19173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19178 if test $glibcxx_cv_INT64_T = yes; then
19180 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19183 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19186 $as_echo_n "checking for int64_t as long... " >&6; }
19187 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19188 $as_echo_n "(cached) " >&6
19189 else
19191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19192 /* end confdefs.h. */
19193 #include <stdint.h>
19194 template<typename, typename> struct same { enum { value = -1 }; };
19195 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19196 int array[same<int64_t, long>::value];
19198 main ()
19202 return 0;
19204 _ACEOF
19205 if ac_fn_cxx_try_compile "$LINENO"; then :
19206 glibcxx_cv_int64_t_long=yes
19207 else
19208 glibcxx_cv_int64_t_long=no
19210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 if test $glibcxx_cv_int64_t_long = yes; then
19217 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19220 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19224 $as_echo_n "checking for int64_t as long long... " >&6; }
19225 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19226 $as_echo_n "(cached) " >&6
19227 else
19229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19231 #include <stdint.h>
19232 template<typename, typename> struct same { enum { value = -1 }; };
19233 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19234 int array[same<int64_t, long long>::value];
19236 main ()
19240 return 0;
19242 _ACEOF
19243 if ac_fn_cxx_try_compile "$LINENO"; then :
19244 glibcxx_cv_int64_t_long_long=yes
19245 else
19246 glibcxx_cv_int64_t_long_long=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 if test $glibcxx_cv_int64_t_long_long = yes; then
19255 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19258 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19262 ac_ext=c
19263 ac_cpp='$CPP $CPPFLAGS'
19264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19270 # For LFS support.
19273 ac_ext=cpp
19274 ac_cpp='$CXXCPP $CPPFLAGS'
19275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19279 ac_save_CXXFLAGS="$CXXFLAGS"
19280 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19282 $as_echo_n "checking for LFS support... " >&6; }
19283 if test "${glibcxx_cv_LFS+set}" = set; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19287 if test x$gcc_no_link = xyes; then
19288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19290 #include <unistd.h>
19291 #include <stdio.h>
19292 #include <sys/stat.h>
19295 main ()
19297 FILE* fp;
19298 fopen64("t", "w");
19299 fseeko64(fp, 0, SEEK_CUR);
19300 ftello64(fp);
19301 lseek64(1, 0, SEEK_CUR);
19302 struct stat64 buf;
19303 fstat64(1, &buf);
19305 return 0;
19307 _ACEOF
19308 if ac_fn_cxx_try_compile "$LINENO"; then :
19309 glibcxx_cv_LFS=yes
19310 else
19311 glibcxx_cv_LFS=no
19313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 else
19315 if test x$gcc_no_link = xyes; then
19316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19319 /* end confdefs.h. */
19320 #include <unistd.h>
19321 #include <stdio.h>
19322 #include <sys/stat.h>
19325 main ()
19327 FILE* fp;
19328 fopen64("t", "w");
19329 fseeko64(fp, 0, SEEK_CUR);
19330 ftello64(fp);
19331 lseek64(1, 0, SEEK_CUR);
19332 struct stat64 buf;
19333 fstat64(1, &buf);
19335 return 0;
19337 _ACEOF
19338 if ac_fn_cxx_try_link "$LINENO"; then :
19339 glibcxx_cv_LFS=yes
19340 else
19341 glibcxx_cv_LFS=no
19343 rm -f core conftest.err conftest.$ac_objext \
19344 conftest$ac_exeext conftest.$ac_ext
19349 if test $glibcxx_cv_LFS = yes; then
19351 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19355 $as_echo "$glibcxx_cv_LFS" >&6; }
19356 CXXFLAGS="$ac_save_CXXFLAGS"
19357 ac_ext=c
19358 ac_cpp='$CPP $CPPFLAGS'
19359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19365 # For showmanyc_helper().
19366 for ac_header in sys/ioctl.h sys/filio.h
19367 do :
19368 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19369 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19370 eval as_val=\$$as_ac_Header
19371 if test "x$as_val" = x""yes; then :
19372 cat >>confdefs.h <<_ACEOF
19373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19374 _ACEOF
19378 done
19383 ac_ext=cpp
19384 ac_cpp='$CXXCPP $CPPFLAGS'
19385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19389 ac_save_CXXFLAGS="$CXXFLAGS"
19390 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19393 $as_echo_n "checking for poll... " >&6; }
19394 if test "${glibcxx_cv_POLL+set}" = set; then :
19395 $as_echo_n "(cached) " >&6
19396 else
19398 if test x$gcc_no_link = xyes; then
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 #include <poll.h>
19403 main ()
19405 struct pollfd pfd[1];
19406 pfd[0].events = POLLIN;
19407 poll(pfd, 1, 0);
19409 return 0;
19411 _ACEOF
19412 if ac_fn_cxx_try_compile "$LINENO"; then :
19413 glibcxx_cv_POLL=yes
19414 else
19415 glibcxx_cv_POLL=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 else
19419 if test x$gcc_no_link = xyes; then
19420 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19424 #include <poll.h>
19426 main ()
19428 struct pollfd pfd[1];
19429 pfd[0].events = POLLIN;
19430 poll(pfd, 1, 0);
19432 return 0;
19434 _ACEOF
19435 if ac_fn_cxx_try_link "$LINENO"; then :
19436 glibcxx_cv_POLL=yes
19437 else
19438 glibcxx_cv_POLL=no
19440 rm -f core conftest.err conftest.$ac_objext \
19441 conftest$ac_exeext conftest.$ac_ext
19446 if test $glibcxx_cv_POLL = yes; then
19448 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19452 $as_echo "$glibcxx_cv_POLL" >&6; }
19454 CXXFLAGS="$ac_save_CXXFLAGS"
19455 ac_ext=c
19456 ac_cpp='$CPP $CPPFLAGS'
19457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19465 ac_ext=cpp
19466 ac_cpp='$CXXCPP $CPPFLAGS'
19467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19471 ac_save_CXXFLAGS="$CXXFLAGS"
19472 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19475 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19476 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19480 if test x$gcc_no_link = xyes; then
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 #include <sys/stat.h>
19485 main ()
19487 struct stat buffer;
19488 fstat(0, &buffer);
19489 S_ISREG(buffer.st_mode);
19491 return 0;
19493 _ACEOF
19494 if ac_fn_cxx_try_compile "$LINENO"; then :
19495 glibcxx_cv_S_ISREG=yes
19496 else
19497 glibcxx_cv_S_ISREG=no
19499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500 else
19501 if test x$gcc_no_link = xyes; then
19502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 #include <sys/stat.h>
19508 main ()
19510 struct stat buffer;
19511 fstat(0, &buffer);
19512 S_ISREG(buffer.st_mode);
19514 return 0;
19516 _ACEOF
19517 if ac_fn_cxx_try_link "$LINENO"; then :
19518 glibcxx_cv_S_ISREG=yes
19519 else
19520 glibcxx_cv_S_ISREG=no
19522 rm -f core conftest.err conftest.$ac_objext \
19523 conftest$ac_exeext conftest.$ac_ext
19528 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19529 $as_echo_n "(cached) " >&6
19530 else
19532 if test x$gcc_no_link = xyes; then
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19535 #include <sys/stat.h>
19537 main ()
19539 struct stat buffer;
19540 fstat(0, &buffer);
19541 S_IFREG & buffer.st_mode;
19543 return 0;
19545 _ACEOF
19546 if ac_fn_cxx_try_compile "$LINENO"; then :
19547 glibcxx_cv_S_IFREG=yes
19548 else
19549 glibcxx_cv_S_IFREG=no
19551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19552 else
19553 if test x$gcc_no_link = xyes; then
19554 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <sys/stat.h>
19560 main ()
19562 struct stat buffer;
19563 fstat(0, &buffer);
19564 S_IFREG & buffer.st_mode;
19566 return 0;
19568 _ACEOF
19569 if ac_fn_cxx_try_link "$LINENO"; then :
19570 glibcxx_cv_S_IFREG=yes
19571 else
19572 glibcxx_cv_S_IFREG=no
19574 rm -f core conftest.err conftest.$ac_objext \
19575 conftest$ac_exeext conftest.$ac_ext
19580 res=no
19581 if test $glibcxx_cv_S_ISREG = yes; then
19583 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19585 res=S_ISREG
19586 elif test $glibcxx_cv_S_IFREG = yes; then
19588 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19590 res=S_IFREG
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19593 $as_echo "$res" >&6; }
19595 CXXFLAGS="$ac_save_CXXFLAGS"
19596 ac_ext=c
19597 ac_cpp='$CPP $CPPFLAGS'
19598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19604 # For xsputn_2().
19605 for ac_header in sys/uio.h
19606 do :
19607 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19608 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19609 cat >>confdefs.h <<_ACEOF
19610 #define HAVE_SYS_UIO_H 1
19611 _ACEOF
19615 done
19620 ac_ext=cpp
19621 ac_cpp='$CXXCPP $CPPFLAGS'
19622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19626 ac_save_CXXFLAGS="$CXXFLAGS"
19627 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19630 $as_echo_n "checking for writev... " >&6; }
19631 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19632 $as_echo_n "(cached) " >&6
19633 else
19635 if test x$gcc_no_link = xyes; then
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #include <sys/uio.h>
19640 main ()
19642 struct iovec iov[2];
19643 writev(0, iov, 0);
19645 return 0;
19647 _ACEOF
19648 if ac_fn_cxx_try_compile "$LINENO"; then :
19649 glibcxx_cv_WRITEV=yes
19650 else
19651 glibcxx_cv_WRITEV=no
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 else
19655 if test x$gcc_no_link = xyes; then
19656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19660 #include <sys/uio.h>
19662 main ()
19664 struct iovec iov[2];
19665 writev(0, iov, 0);
19667 return 0;
19669 _ACEOF
19670 if ac_fn_cxx_try_link "$LINENO"; then :
19671 glibcxx_cv_WRITEV=yes
19672 else
19673 glibcxx_cv_WRITEV=no
19675 rm -f core conftest.err conftest.$ac_objext \
19676 conftest$ac_exeext conftest.$ac_ext
19681 if test $glibcxx_cv_WRITEV = yes; then
19683 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19687 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19689 CXXFLAGS="$ac_save_CXXFLAGS"
19690 ac_ext=c
19691 ac_cpp='$CPP $CPPFLAGS'
19692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19698 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19699 # so that the check is done with the C compiler (not C++).
19700 # Checking with C++ can break a canadian cross build if either
19701 # file does not exist in C but does in C++.
19702 for ac_header in fenv.h complex.h
19703 do :
19704 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19705 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19706 eval as_val=\$$as_ac_Header
19707 if test "x$as_val" = x""yes; then :
19708 cat >>confdefs.h <<_ACEOF
19709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19710 _ACEOF
19714 done
19717 # For C99 support to TR1.
19721 ac_ext=cpp
19722 ac_cpp='$CXXCPP $CPPFLAGS'
19723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19728 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19729 # undefined and fake C99 facilities may be spuriously enabled.
19730 ac_save_CXXFLAGS="$CXXFLAGS"
19731 CXXFLAGS="$CXXFLAGS -std=c++98"
19733 # Check for the existence of <complex.h> complex math functions used
19734 # by tr1/complex.
19735 for ac_header in complex.h
19736 do :
19737 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19738 if test "x$ac_cv_header_complex_h" = x""yes; then :
19739 cat >>confdefs.h <<_ACEOF
19740 #define HAVE_COMPLEX_H 1
19741 _ACEOF
19742 ac_has_complex_h=yes
19743 else
19744 ac_has_complex_h=no
19747 done
19749 ac_c99_complex_tr1=no;
19750 if test x"$ac_has_complex_h" = x"yes"; then
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19752 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 #include <complex.h>
19757 main ()
19759 typedef __complex__ float float_type; float_type tmpf;
19760 cacosf(tmpf);
19761 casinf(tmpf);
19762 catanf(tmpf);
19763 cacoshf(tmpf);
19764 casinhf(tmpf);
19765 catanhf(tmpf);
19766 typedef __complex__ double double_type; double_type tmpd;
19767 cacos(tmpd);
19768 casin(tmpd);
19769 catan(tmpd);
19770 cacosh(tmpd);
19771 casinh(tmpd);
19772 catanh(tmpd);
19773 typedef __complex__ long double ld_type; ld_type tmpld;
19774 cacosl(tmpld);
19775 casinl(tmpld);
19776 catanl(tmpld);
19777 cacoshl(tmpld);
19778 casinhl(tmpld);
19779 catanhl(tmpld);
19782 return 0;
19784 _ACEOF
19785 if ac_fn_cxx_try_compile "$LINENO"; then :
19786 ac_c99_complex_tr1=yes
19787 else
19788 ac_c99_complex_tr1=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19793 $as_echo "$ac_c99_complex_tr1" >&6; }
19794 if test x"$ac_c99_complex_tr1" = x"yes"; then
19796 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19800 # Check for the existence of <ctype.h> functions.
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19802 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19803 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19804 $as_echo_n "(cached) " >&6
19805 else
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19809 #include <ctype.h>
19811 main ()
19813 int ch;
19814 int ret;
19815 ret = isblank(ch);
19818 return 0;
19820 _ACEOF
19821 if ac_fn_cxx_try_compile "$LINENO"; then :
19822 glibcxx_cv_c99_ctype_tr1=yes
19823 else
19824 glibcxx_cv_c99_ctype_tr1=no
19826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19831 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19832 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19834 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19838 # Check for the existence of <fenv.h> functions.
19839 for ac_header in fenv.h
19840 do :
19841 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19842 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19843 cat >>confdefs.h <<_ACEOF
19844 #define HAVE_FENV_H 1
19845 _ACEOF
19846 ac_has_fenv_h=yes
19847 else
19848 ac_has_fenv_h=no
19851 done
19853 ac_c99_fenv_tr1=no;
19854 if test x"$ac_has_fenv_h" = x"yes"; then
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19856 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19858 /* end confdefs.h. */
19859 #include <fenv.h>
19861 main ()
19863 int except, mode;
19864 fexcept_t* pflag;
19865 fenv_t* penv;
19866 int ret;
19867 ret = feclearexcept(except);
19868 ret = fegetexceptflag(pflag, except);
19869 ret = feraiseexcept(except);
19870 ret = fesetexceptflag(pflag, except);
19871 ret = fetestexcept(except);
19872 ret = fegetround();
19873 ret = fesetround(mode);
19874 ret = fegetenv(penv);
19875 ret = feholdexcept(penv);
19876 ret = fesetenv(penv);
19877 ret = feupdateenv(penv);
19880 return 0;
19882 _ACEOF
19883 if ac_fn_cxx_try_compile "$LINENO"; then :
19884 ac_c99_fenv_tr1=yes
19885 else
19886 ac_c99_fenv_tr1=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19891 $as_echo "$ac_c99_fenv_tr1" >&6; }
19892 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19894 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19898 # Check for the existence of <stdint.h> types.
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19900 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19901 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19902 $as_echo_n "(cached) " >&6
19903 else
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19907 #define __STDC_LIMIT_MACROS
19908 #define __STDC_CONSTANT_MACROS
19909 #include <stdint.h>
19911 main ()
19913 typedef int8_t my_int8_t;
19914 my_int8_t i8 = INT8_MIN;
19915 i8 = INT8_MAX;
19916 typedef int16_t my_int16_t;
19917 my_int16_t i16 = INT16_MIN;
19918 i16 = INT16_MAX;
19919 typedef int32_t my_int32_t;
19920 my_int32_t i32 = INT32_MIN;
19921 i32 = INT32_MAX;
19922 typedef int64_t my_int64_t;
19923 my_int64_t i64 = INT64_MIN;
19924 i64 = INT64_MAX;
19925 typedef int_fast8_t my_int_fast8_t;
19926 my_int_fast8_t if8 = INT_FAST8_MIN;
19927 if8 = INT_FAST8_MAX;
19928 typedef int_fast16_t my_int_fast16_t;
19929 my_int_fast16_t if16 = INT_FAST16_MIN;
19930 if16 = INT_FAST16_MAX;
19931 typedef int_fast32_t my_int_fast32_t;
19932 my_int_fast32_t if32 = INT_FAST32_MIN;
19933 if32 = INT_FAST32_MAX;
19934 typedef int_fast64_t my_int_fast64_t;
19935 my_int_fast64_t if64 = INT_FAST64_MIN;
19936 if64 = INT_FAST64_MAX;
19937 typedef int_least8_t my_int_least8_t;
19938 my_int_least8_t il8 = INT_LEAST8_MIN;
19939 il8 = INT_LEAST8_MAX;
19940 typedef int_least16_t my_int_least16_t;
19941 my_int_least16_t il16 = INT_LEAST16_MIN;
19942 il16 = INT_LEAST16_MAX;
19943 typedef int_least32_t my_int_least32_t;
19944 my_int_least32_t il32 = INT_LEAST32_MIN;
19945 il32 = INT_LEAST32_MAX;
19946 typedef int_least64_t my_int_least64_t;
19947 my_int_least64_t il64 = INT_LEAST64_MIN;
19948 il64 = INT_LEAST64_MAX;
19949 typedef intmax_t my_intmax_t;
19950 my_intmax_t im = INTMAX_MAX;
19951 im = INTMAX_MIN;
19952 typedef intptr_t my_intptr_t;
19953 my_intptr_t ip = INTPTR_MAX;
19954 ip = INTPTR_MIN;
19955 typedef uint8_t my_uint8_t;
19956 my_uint8_t ui8 = UINT8_MAX;
19957 ui8 = UINT8_MAX;
19958 typedef uint16_t my_uint16_t;
19959 my_uint16_t ui16 = UINT16_MAX;
19960 ui16 = UINT16_MAX;
19961 typedef uint32_t my_uint32_t;
19962 my_uint32_t ui32 = UINT32_MAX;
19963 ui32 = UINT32_MAX;
19964 typedef uint64_t my_uint64_t;
19965 my_uint64_t ui64 = UINT64_MAX;
19966 ui64 = UINT64_MAX;
19967 typedef uint_fast8_t my_uint_fast8_t;
19968 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19969 uif8 = UINT_FAST8_MAX;
19970 typedef uint_fast16_t my_uint_fast16_t;
19971 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19972 uif16 = UINT_FAST16_MAX;
19973 typedef uint_fast32_t my_uint_fast32_t;
19974 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19975 uif32 = UINT_FAST32_MAX;
19976 typedef uint_fast64_t my_uint_fast64_t;
19977 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19978 uif64 = UINT_FAST64_MAX;
19979 typedef uint_least8_t my_uint_least8_t;
19980 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19981 uil8 = UINT_LEAST8_MAX;
19982 typedef uint_least16_t my_uint_least16_t;
19983 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19984 uil16 = UINT_LEAST16_MAX;
19985 typedef uint_least32_t my_uint_least32_t;
19986 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19987 uil32 = UINT_LEAST32_MAX;
19988 typedef uint_least64_t my_uint_least64_t;
19989 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19990 uil64 = UINT_LEAST64_MAX;
19991 typedef uintmax_t my_uintmax_t;
19992 my_uintmax_t uim = UINTMAX_MAX;
19993 uim = UINTMAX_MAX;
19994 typedef uintptr_t my_uintptr_t;
19995 my_uintptr_t uip = UINTPTR_MAX;
19996 uip = UINTPTR_MAX;
19999 return 0;
20001 _ACEOF
20002 if ac_fn_cxx_try_compile "$LINENO"; then :
20003 glibcxx_cv_c99_stdint_tr1=yes
20004 else
20005 glibcxx_cv_c99_stdint_tr1=no
20007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20012 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20013 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20015 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20019 # Check for the existence of <math.h> functions.
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20021 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20022 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20023 $as_echo_n "(cached) " >&6
20024 else
20026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20027 /* end confdefs.h. */
20028 #include <math.h>
20030 main ()
20032 typedef double_t my_double_t;
20033 typedef float_t my_float_t;
20034 acosh(0.0);
20035 acoshf(0.0f);
20036 acoshl(0.0l);
20037 asinh(0.0);
20038 asinhf(0.0f);
20039 asinhl(0.0l);
20040 atanh(0.0);
20041 atanhf(0.0f);
20042 atanhl(0.0l);
20043 cbrt(0.0);
20044 cbrtf(0.0f);
20045 cbrtl(0.0l);
20046 copysign(0.0, 0.0);
20047 copysignf(0.0f, 0.0f);
20048 copysignl(0.0l, 0.0l);
20049 erf(0.0);
20050 erff(0.0f);
20051 erfl(0.0l);
20052 erfc(0.0);
20053 erfcf(0.0f);
20054 erfcl(0.0l);
20055 exp2(0.0);
20056 exp2f(0.0f);
20057 exp2l(0.0l);
20058 expm1(0.0);
20059 expm1f(0.0f);
20060 expm1l(0.0l);
20061 fdim(0.0, 0.0);
20062 fdimf(0.0f, 0.0f);
20063 fdiml(0.0l, 0.0l);
20064 fma(0.0, 0.0, 0.0);
20065 fmaf(0.0f, 0.0f, 0.0f);
20066 fmal(0.0l, 0.0l, 0.0l);
20067 fmax(0.0, 0.0);
20068 fmaxf(0.0f, 0.0f);
20069 fmaxl(0.0l, 0.0l);
20070 fmin(0.0, 0.0);
20071 fminf(0.0f, 0.0f);
20072 fminl(0.0l, 0.0l);
20073 hypot(0.0, 0.0);
20074 hypotf(0.0f, 0.0f);
20075 hypotl(0.0l, 0.0l);
20076 ilogb(0.0);
20077 ilogbf(0.0f);
20078 ilogbl(0.0l);
20079 lgamma(0.0);
20080 lgammaf(0.0f);
20081 lgammal(0.0l);
20082 llrint(0.0);
20083 llrintf(0.0f);
20084 llrintl(0.0l);
20085 llround(0.0);
20086 llroundf(0.0f);
20087 llroundl(0.0l);
20088 log1p(0.0);
20089 log1pf(0.0f);
20090 log1pl(0.0l);
20091 log2(0.0);
20092 log2f(0.0f);
20093 log2l(0.0l);
20094 logb(0.0);
20095 logbf(0.0f);
20096 logbl(0.0l);
20097 lrint(0.0);
20098 lrintf(0.0f);
20099 lrintl(0.0l);
20100 lround(0.0);
20101 lroundf(0.0f);
20102 lroundl(0.0l);
20103 nan(0);
20104 nanf(0);
20105 nanl(0);
20106 nearbyint(0.0);
20107 nearbyintf(0.0f);
20108 nearbyintl(0.0l);
20109 nextafter(0.0, 0.0);
20110 nextafterf(0.0f, 0.0f);
20111 nextafterl(0.0l, 0.0l);
20112 nexttoward(0.0, 0.0);
20113 nexttowardf(0.0f, 0.0f);
20114 nexttowardl(0.0l, 0.0l);
20115 remainder(0.0, 0.0);
20116 remainderf(0.0f, 0.0f);
20117 remainderl(0.0l, 0.0l);
20118 remquo(0.0, 0.0, 0);
20119 remquof(0.0f, 0.0f, 0);
20120 remquol(0.0l, 0.0l, 0);
20121 rint(0.0);
20122 rintf(0.0f);
20123 rintl(0.0l);
20124 round(0.0);
20125 roundf(0.0f);
20126 roundl(0.0l);
20127 scalbln(0.0, 0l);
20128 scalblnf(0.0f, 0l);
20129 scalblnl(0.0l, 0l);
20130 scalbn(0.0, 0);
20131 scalbnf(0.0f, 0);
20132 scalbnl(0.0l, 0);
20133 tgamma(0.0);
20134 tgammaf(0.0f);
20135 tgammal(0.0l);
20136 trunc(0.0);
20137 truncf(0.0f);
20138 truncl(0.0l);
20141 return 0;
20143 _ACEOF
20144 if ac_fn_cxx_try_compile "$LINENO"; then :
20145 glibcxx_cv_c99_math_tr1=yes
20146 else
20147 glibcxx_cv_c99_math_tr1=no
20149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20154 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20155 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20157 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20161 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20162 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20163 ac_c99_inttypes_tr1=no;
20164 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20166 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h. */
20169 #include <inttypes.h>
20171 main ()
20173 intmax_t i, numer, denom, base;
20174 const char* s;
20175 char** endptr;
20176 intmax_t ret = imaxabs(i);
20177 imaxdiv_t dret = imaxdiv(numer, denom);
20178 ret = strtoimax(s, endptr, base);
20179 uintmax_t uret = strtoumax(s, endptr, base);
20182 return 0;
20184 _ACEOF
20185 if ac_fn_cxx_try_compile "$LINENO"; then :
20186 ac_c99_inttypes_tr1=yes
20187 else
20188 ac_c99_inttypes_tr1=no
20190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20193 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20194 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20196 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20200 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20201 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20202 ac_c99_inttypes_wchar_t_tr1=no;
20203 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20205 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20207 /* end confdefs.h. */
20208 #include <inttypes.h>
20210 main ()
20212 intmax_t base;
20213 const wchar_t* s;
20214 wchar_t** endptr;
20215 intmax_t ret = wcstoimax(s, endptr, base);
20216 uintmax_t uret = wcstoumax(s, endptr, base);
20219 return 0;
20221 _ACEOF
20222 if ac_fn_cxx_try_compile "$LINENO"; then :
20223 ac_c99_inttypes_wchar_t_tr1=yes
20224 else
20225 ac_c99_inttypes_wchar_t_tr1=no
20227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20230 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20231 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20233 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20237 # Check for the existence of the <stdbool.h> header.
20238 for ac_header in stdbool.h
20239 do :
20240 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20241 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20242 cat >>confdefs.h <<_ACEOF
20243 #define HAVE_STDBOOL_H 1
20244 _ACEOF
20248 done
20251 # Check for the existence of the <stdalign.h> header.
20252 for ac_header in stdalign.h
20253 do :
20254 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20255 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20256 cat >>confdefs.h <<_ACEOF
20257 #define HAVE_STDALIGN_H 1
20258 _ACEOF
20262 done
20265 CXXFLAGS="$ac_save_CXXFLAGS"
20266 ac_ext=c
20267 ac_cpp='$CPP $CPPFLAGS'
20268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20274 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20278 $as_echo_n "checking for the value of EOF... " >&6; }
20279 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20280 $as_echo_n "(cached) " >&6
20281 else
20283 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20285 else
20286 as_fn_error "computing EOF failed" "$LINENO" 5
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20292 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20294 cat >>confdefs.h <<_ACEOF
20295 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20296 _ACEOF
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20300 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20301 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20302 $as_echo_n "(cached) " >&6
20303 else
20305 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20307 else
20308 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20314 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20316 cat >>confdefs.h <<_ACEOF
20317 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20318 _ACEOF
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20322 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20323 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20324 $as_echo_n "(cached) " >&6
20325 else
20327 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20329 else
20330 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20336 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20338 cat >>confdefs.h <<_ACEOF
20339 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20340 _ACEOF
20344 # For gettimeofday support.
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20348 $as_echo_n "checking for gettimeofday... " >&6; }
20351 ac_ext=cpp
20352 ac_cpp='$CXXCPP $CPPFLAGS'
20353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20357 ac_save_CXXFLAGS="$CXXFLAGS"
20358 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20360 ac_has_gettimeofday=no;
20361 for ac_header in sys/time.h
20362 do :
20363 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20364 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20365 cat >>confdefs.h <<_ACEOF
20366 #define HAVE_SYS_TIME_H 1
20367 _ACEOF
20368 ac_has_sys_time_h=yes
20369 else
20370 ac_has_sys_time_h=no
20373 done
20375 if test x"$ac_has_sys_time_h" = x"yes"; then
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20377 $as_echo_n "checking for gettimeofday... " >&6; }
20378 if test x$gcc_no_link = xyes; then
20379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20380 /* end confdefs.h. */
20381 #include <sys/time.h>
20383 main ()
20385 timeval tv; gettimeofday(&tv, 0);
20387 return 0;
20389 _ACEOF
20390 if ac_fn_cxx_try_compile "$LINENO"; then :
20391 ac_has_gettimeofday=yes
20392 else
20393 ac_has_gettimeofday=no
20395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20396 else
20397 if test x$gcc_no_link = xyes; then
20398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20401 /* end confdefs.h. */
20402 #include <sys/time.h>
20404 main ()
20406 timeval tv; gettimeofday(&tv, 0);
20408 return 0;
20410 _ACEOF
20411 if ac_fn_cxx_try_link "$LINENO"; then :
20412 ac_has_gettimeofday=yes
20413 else
20414 ac_has_gettimeofday=no
20416 rm -f core conftest.err conftest.$ac_objext \
20417 conftest$ac_exeext conftest.$ac_ext
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20421 $as_echo "$ac_has_gettimeofday" >&6; }
20424 if test x"$ac_has_gettimeofday" = x"yes"; then
20426 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20430 CXXFLAGS="$ac_save_CXXFLAGS"
20431 ac_ext=c
20432 ac_cpp='$CPP $CPPFLAGS'
20433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20439 # For clock_gettime, nanosleep and sched_yield support.
20442 # Check whether --enable-libstdcxx-time was given.
20443 if test "${enable_libstdcxx_time+set}" = set; then :
20444 enableval=$enable_libstdcxx_time;
20445 case "$enableval" in
20446 yes|no|rt) ;;
20447 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20448 esac
20450 else
20451 enable_libstdcxx_time=auto
20457 ac_ext=cpp
20458 ac_cpp='$CXXCPP $CPPFLAGS'
20459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20463 ac_save_CXXFLAGS="$CXXFLAGS"
20464 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20465 ac_save_LIBS="$LIBS"
20467 ac_has_clock_monotonic=no
20468 ac_has_clock_realtime=no
20469 ac_has_nanosleep=no
20470 ac_has_sched_yield=no
20472 if test x"$enable_libstdcxx_time" = x"auto"; then
20474 case "${target_os}" in
20475 cygwin*)
20476 ac_has_nanosleep=yes
20478 darwin*)
20479 ac_has_nanosleep=yes
20480 ac_has_sched_yield=yes
20482 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20484 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h. */
20487 #include <features.h>
20489 main ()
20492 #if ! __GLIBC_PREREQ(2, 17)
20493 #error
20494 #endif
20497 return 0;
20499 _ACEOF
20500 if ac_fn_cxx_try_compile "$LINENO"; then :
20501 glibcxx_glibc217=yes
20502 else
20503 glibcxx_glibc217=no
20505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20507 $as_echo "$glibcxx_glibc217" >&6; }
20509 if test x"$glibcxx_glibc217" = x"yes"; then
20510 ac_has_clock_monotonic=yes
20511 ac_has_clock_realtime=yes
20513 ac_has_nanosleep=yes
20514 ac_has_sched_yield=yes
20516 freebsd*|netbsd*|dragonfly*)
20517 ac_has_clock_monotonic=yes
20518 ac_has_clock_realtime=yes
20519 ac_has_nanosleep=yes
20520 ac_has_sched_yield=yes
20522 openbsd*)
20523 ac_has_clock_monotonic=yes
20524 ac_has_clock_realtime=yes
20525 ac_has_nanosleep=yes
20527 solaris*)
20528 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20529 ac_has_clock_monotonic=yes
20530 ac_has_clock_realtime=yes
20531 ac_has_nanosleep=yes
20532 ac_has_sched_yield=yes
20534 esac
20536 elif test x"$enable_libstdcxx_time" != x"no"; then
20538 if test x"$enable_libstdcxx_time" = x"rt"; then
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20540 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20541 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20542 $as_echo_n "(cached) " >&6
20543 else
20544 ac_func_search_save_LIBS=$LIBS
20545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20546 /* end confdefs.h. */
20548 /* Override any GCC internal prototype to avoid an error.
20549 Use char because int might match the return type of a GCC
20550 builtin and then its argument prototype would still apply. */
20551 #ifdef __cplusplus
20552 extern "C"
20553 #endif
20554 char clock_gettime ();
20556 main ()
20558 return clock_gettime ();
20560 return 0;
20562 _ACEOF
20563 for ac_lib in '' rt posix4; do
20564 if test -z "$ac_lib"; then
20565 ac_res="none required"
20566 else
20567 ac_res=-l$ac_lib
20568 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20570 if test x$gcc_no_link = xyes; then
20571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20573 if ac_fn_cxx_try_link "$LINENO"; then :
20574 ac_cv_search_clock_gettime=$ac_res
20576 rm -f core conftest.err conftest.$ac_objext \
20577 conftest$ac_exeext
20578 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20579 break
20581 done
20582 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20584 else
20585 ac_cv_search_clock_gettime=no
20587 rm conftest.$ac_ext
20588 LIBS=$ac_func_search_save_LIBS
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20591 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20592 ac_res=$ac_cv_search_clock_gettime
20593 if test "$ac_res" != no; then :
20594 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20599 $as_echo_n "checking for library containing nanosleep... " >&6; }
20600 if test "${ac_cv_search_nanosleep+set}" = set; then :
20601 $as_echo_n "(cached) " >&6
20602 else
20603 ac_func_search_save_LIBS=$LIBS
20604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20605 /* end confdefs.h. */
20607 /* Override any GCC internal prototype to avoid an error.
20608 Use char because int might match the return type of a GCC
20609 builtin and then its argument prototype would still apply. */
20610 #ifdef __cplusplus
20611 extern "C"
20612 #endif
20613 char nanosleep ();
20615 main ()
20617 return nanosleep ();
20619 return 0;
20621 _ACEOF
20622 for ac_lib in '' rt posix4; do
20623 if test -z "$ac_lib"; then
20624 ac_res="none required"
20625 else
20626 ac_res=-l$ac_lib
20627 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20629 if test x$gcc_no_link = xyes; then
20630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20632 if ac_fn_cxx_try_link "$LINENO"; then :
20633 ac_cv_search_nanosleep=$ac_res
20635 rm -f core conftest.err conftest.$ac_objext \
20636 conftest$ac_exeext
20637 if test "${ac_cv_search_nanosleep+set}" = set; then :
20638 break
20640 done
20641 if test "${ac_cv_search_nanosleep+set}" = set; then :
20643 else
20644 ac_cv_search_nanosleep=no
20646 rm conftest.$ac_ext
20647 LIBS=$ac_func_search_save_LIBS
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20650 $as_echo "$ac_cv_search_nanosleep" >&6; }
20651 ac_res=$ac_cv_search_nanosleep
20652 if test "$ac_res" != no; then :
20653 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20657 else
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20659 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20660 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20661 $as_echo_n "(cached) " >&6
20662 else
20663 ac_func_search_save_LIBS=$LIBS
20664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20665 /* end confdefs.h. */
20667 /* Override any GCC internal prototype to avoid an error.
20668 Use char because int might match the return type of a GCC
20669 builtin and then its argument prototype would still apply. */
20670 #ifdef __cplusplus
20671 extern "C"
20672 #endif
20673 char clock_gettime ();
20675 main ()
20677 return clock_gettime ();
20679 return 0;
20681 _ACEOF
20682 for ac_lib in '' posix4; do
20683 if test -z "$ac_lib"; then
20684 ac_res="none required"
20685 else
20686 ac_res=-l$ac_lib
20687 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20689 if test x$gcc_no_link = xyes; then
20690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20692 if ac_fn_cxx_try_link "$LINENO"; then :
20693 ac_cv_search_clock_gettime=$ac_res
20695 rm -f core conftest.err conftest.$ac_objext \
20696 conftest$ac_exeext
20697 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20698 break
20700 done
20701 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20703 else
20704 ac_cv_search_clock_gettime=no
20706 rm conftest.$ac_ext
20707 LIBS=$ac_func_search_save_LIBS
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20710 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20711 ac_res=$ac_cv_search_clock_gettime
20712 if test "$ac_res" != no; then :
20713 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20718 $as_echo_n "checking for library containing nanosleep... " >&6; }
20719 if test "${ac_cv_search_nanosleep+set}" = set; then :
20720 $as_echo_n "(cached) " >&6
20721 else
20722 ac_func_search_save_LIBS=$LIBS
20723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20726 /* Override any GCC internal prototype to avoid an error.
20727 Use char because int might match the return type of a GCC
20728 builtin and then its argument prototype would still apply. */
20729 #ifdef __cplusplus
20730 extern "C"
20731 #endif
20732 char nanosleep ();
20734 main ()
20736 return nanosleep ();
20738 return 0;
20740 _ACEOF
20741 for ac_lib in '' posix4; do
20742 if test -z "$ac_lib"; then
20743 ac_res="none required"
20744 else
20745 ac_res=-l$ac_lib
20746 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20748 if test x$gcc_no_link = xyes; then
20749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20751 if ac_fn_cxx_try_link "$LINENO"; then :
20752 ac_cv_search_nanosleep=$ac_res
20754 rm -f core conftest.err conftest.$ac_objext \
20755 conftest$ac_exeext
20756 if test "${ac_cv_search_nanosleep+set}" = set; then :
20757 break
20759 done
20760 if test "${ac_cv_search_nanosleep+set}" = set; then :
20762 else
20763 ac_cv_search_nanosleep=no
20765 rm conftest.$ac_ext
20766 LIBS=$ac_func_search_save_LIBS
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20769 $as_echo "$ac_cv_search_nanosleep" >&6; }
20770 ac_res=$ac_cv_search_nanosleep
20771 if test "$ac_res" != no; then :
20772 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20778 case "$ac_cv_search_clock_gettime" in
20779 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20781 esac
20782 case "$ac_cv_search_nanosleep" in
20783 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20785 esac
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20788 $as_echo_n "checking for library containing sched_yield... " >&6; }
20789 if test "${ac_cv_search_sched_yield+set}" = set; then :
20790 $as_echo_n "(cached) " >&6
20791 else
20792 ac_func_search_save_LIBS=$LIBS
20793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20794 /* end confdefs.h. */
20796 /* Override any GCC internal prototype to avoid an error.
20797 Use char because int might match the return type of a GCC
20798 builtin and then its argument prototype would still apply. */
20799 #ifdef __cplusplus
20800 extern "C"
20801 #endif
20802 char sched_yield ();
20804 main ()
20806 return sched_yield ();
20808 return 0;
20810 _ACEOF
20811 for ac_lib in '' rt posix4; do
20812 if test -z "$ac_lib"; then
20813 ac_res="none required"
20814 else
20815 ac_res=-l$ac_lib
20816 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20818 if test x$gcc_no_link = xyes; then
20819 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20821 if ac_fn_cxx_try_link "$LINENO"; then :
20822 ac_cv_search_sched_yield=$ac_res
20824 rm -f core conftest.err conftest.$ac_objext \
20825 conftest$ac_exeext
20826 if test "${ac_cv_search_sched_yield+set}" = set; then :
20827 break
20829 done
20830 if test "${ac_cv_search_sched_yield+set}" = set; then :
20832 else
20833 ac_cv_search_sched_yield=no
20835 rm conftest.$ac_ext
20836 LIBS=$ac_func_search_save_LIBS
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20839 $as_echo "$ac_cv_search_sched_yield" >&6; }
20840 ac_res=$ac_cv_search_sched_yield
20841 if test "$ac_res" != no; then :
20842 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20847 case "$ac_cv_search_sched_yield" in
20848 -lposix4*)
20849 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20850 ac_has_sched_yield=yes
20852 -lrt*)
20853 if test x"$enable_libstdcxx_time" = x"rt"; then
20854 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20855 ac_has_sched_yield=yes
20859 ac_has_sched_yield=yes
20861 esac
20863 for ac_header in unistd.h
20864 do :
20865 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20866 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20867 cat >>confdefs.h <<_ACEOF
20868 #define HAVE_UNISTD_H 1
20869 _ACEOF
20870 ac_has_unistd_h=yes
20871 else
20872 ac_has_unistd_h=no
20875 done
20878 if test x"$ac_has_unistd_h" = x"yes"; then
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20880 $as_echo_n "checking for monotonic clock... " >&6; }
20881 if test x$gcc_no_link = xyes; then
20882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20885 /* end confdefs.h. */
20886 #include <unistd.h>
20887 #include <time.h>
20890 main ()
20892 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20893 timespec tp;
20894 #endif
20895 clock_gettime(CLOCK_MONOTONIC, &tp);
20898 return 0;
20900 _ACEOF
20901 if ac_fn_cxx_try_link "$LINENO"; then :
20902 ac_has_clock_monotonic=yes
20903 else
20904 ac_has_clock_monotonic=no
20906 rm -f core conftest.err conftest.$ac_objext \
20907 conftest$ac_exeext conftest.$ac_ext
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20910 $as_echo "$ac_has_clock_monotonic" >&6; }
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20913 $as_echo_n "checking for realtime clock... " >&6; }
20914 if test x$gcc_no_link = xyes; then
20915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20919 #include <unistd.h>
20920 #include <time.h>
20923 main ()
20925 #if _POSIX_TIMERS > 0
20926 timespec tp;
20927 #endif
20928 clock_gettime(CLOCK_REALTIME, &tp);
20931 return 0;
20933 _ACEOF
20934 if ac_fn_cxx_try_link "$LINENO"; then :
20935 ac_has_clock_realtime=yes
20936 else
20937 ac_has_clock_realtime=no
20939 rm -f core conftest.err conftest.$ac_objext \
20940 conftest$ac_exeext conftest.$ac_ext
20942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20943 $as_echo "$ac_has_clock_realtime" >&6; }
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20946 $as_echo_n "checking for nanosleep... " >&6; }
20947 if test x$gcc_no_link = xyes; then
20948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20951 /* end confdefs.h. */
20952 #include <unistd.h>
20953 #include <time.h>
20956 main ()
20958 #if _POSIX_TIMERS > 0
20959 timespec tp;
20960 #endif
20961 nanosleep(&tp, 0);
20964 return 0;
20966 _ACEOF
20967 if ac_fn_cxx_try_link "$LINENO"; then :
20968 ac_has_nanosleep=yes
20969 else
20970 ac_has_nanosleep=no
20972 rm -f core conftest.err conftest.$ac_objext \
20973 conftest$ac_exeext conftest.$ac_ext
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20976 $as_echo "$ac_has_nanosleep" >&6; }
20980 if test x"$ac_has_clock_monotonic" != x"yes"; then
20981 case ${target_os} in
20982 linux*)
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20984 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h. */
20987 #include <unistd.h>
20988 #include <time.h>
20989 #include <sys/syscall.h>
20992 main ()
20994 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20995 timespec tp;
20996 #endif
20997 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20998 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21001 return 0;
21003 _ACEOF
21004 if ac_fn_cxx_try_compile "$LINENO"; then :
21005 ac_has_clock_monotonic_syscall=yes
21006 else
21007 ac_has_clock_monotonic_syscall=no
21009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21011 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21012 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21014 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21016 ac_has_clock_monotonic=yes
21017 ac_has_clock_realtime=yes
21018 fi;;
21019 esac
21022 if test x"$ac_has_clock_monotonic" = x"yes"; then
21024 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21028 if test x"$ac_has_clock_realtime" = x"yes"; then
21030 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21034 if test x"$ac_has_sched_yield" = x"yes"; then
21036 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21040 if test x"$ac_has_nanosleep" = x"yes"; then
21042 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21044 else
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21046 $as_echo_n "checking for sleep... " >&6; }
21047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h. */
21049 #include <unistd.h>
21051 main ()
21053 sleep(1)
21055 return 0;
21057 _ACEOF
21058 if ac_fn_cxx_try_compile "$LINENO"; then :
21059 ac_has_sleep=yes
21060 else
21061 ac_has_sleep=no
21063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21064 if test x"$ac_has_sleep" = x"yes"; then
21066 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21070 $as_echo "$ac_has_sleep" >&6; }
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21072 $as_echo_n "checking for usleep... " >&6; }
21073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21075 #include <unistd.h>
21077 main ()
21079 sleep(1);
21080 usleep(100);
21082 return 0;
21084 _ACEOF
21085 if ac_fn_cxx_try_compile "$LINENO"; then :
21086 ac_has_usleep=yes
21087 else
21088 ac_has_usleep=no
21090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21091 if test x"$ac_has_usleep" = x"yes"; then
21093 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21097 $as_echo "$ac_has_usleep" >&6; }
21100 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21102 $as_echo_n "checking for Sleep... " >&6; }
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 #include <windows.h>
21107 main ()
21109 Sleep(1)
21111 return 0;
21113 _ACEOF
21114 if ac_fn_cxx_try_compile "$LINENO"; then :
21115 ac_has_win32_sleep=yes
21116 else
21117 ac_has_win32_sleep=no
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 if test x"$ac_has_win32_sleep" = x"yes"; then
21122 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21126 $as_echo "$ac_has_win32_sleep" >&6; }
21131 CXXFLAGS="$ac_save_CXXFLAGS"
21132 LIBS="$ac_save_LIBS"
21133 ac_ext=c
21134 ac_cpp='$CPP $CPPFLAGS'
21135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21141 # Check for tmpnam which is obsolescent in POSIX.1-2008
21143 ac_ext=cpp
21144 ac_cpp='$CXXCPP $CPPFLAGS'
21145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21149 ac_save_CXXFLAGS="$CXXFLAGS"
21150 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21152 $as_echo_n "checking for tmpnam... " >&6; }
21153 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21154 $as_echo_n "(cached) " >&6
21155 else
21156 if test x$gcc_no_link = xyes; then
21157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21159 #include <stdio.h>
21161 main ()
21163 char *tmp = tmpnam(NULL);
21165 return 0;
21167 _ACEOF
21168 if ac_fn_cxx_try_compile "$LINENO"; then :
21169 glibcxx_cv_TMPNAM=yes
21170 else
21171 glibcxx_cv_TMPNAM=no
21173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21174 else
21175 if test x$gcc_no_link = xyes; then
21176 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21179 /* end confdefs.h. */
21180 #include <stdio.h>
21182 main ()
21184 char *tmp = tmpnam(NULL);
21186 return 0;
21188 _ACEOF
21189 if ac_fn_cxx_try_link "$LINENO"; then :
21190 glibcxx_cv_TMPNAM=yes
21191 else
21192 glibcxx_cv_TMPNAM=no
21194 rm -f core conftest.err conftest.$ac_objext \
21195 conftest$ac_exeext conftest.$ac_ext
21200 if test $glibcxx_cv_TMPNAM = yes; then
21202 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21206 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21207 CXXFLAGS="$ac_save_CXXFLAGS"
21208 ac_ext=c
21209 ac_cpp='$CPP $CPPFLAGS'
21210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21217 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21218 if test "x$ac_cv_header_locale_h" = x""yes; then :
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21221 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21222 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21223 $as_echo_n "(cached) " >&6
21224 else
21225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21226 /* end confdefs.h. */
21227 #include <locale.h>
21229 main ()
21231 return LC_MESSAGES
21233 return 0;
21235 _ACEOF
21236 if ac_fn_c_try_compile "$LINENO"; then :
21237 ac_cv_val_LC_MESSAGES=yes
21238 else
21239 ac_cv_val_LC_MESSAGES=no
21241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21244 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21245 if test $ac_cv_val_LC_MESSAGES = yes; then
21247 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21256 # For hardware_concurrency
21257 for ac_header in sys/sysinfo.h
21258 do :
21259 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21260 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21261 cat >>confdefs.h <<_ACEOF
21262 #define HAVE_SYS_SYSINFO_H 1
21263 _ACEOF
21267 done
21272 ac_ext=cpp
21273 ac_cpp='$CXXCPP $CPPFLAGS'
21274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21278 ac_save_CXXFLAGS="$CXXFLAGS"
21279 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21282 $as_echo_n "checking for get_nprocs... " >&6; }
21283 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21284 $as_echo_n "(cached) " >&6
21285 else
21287 if test x$gcc_no_link = xyes; then
21288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21289 /* end confdefs.h. */
21290 #include <sys/sysinfo.h>
21292 main ()
21294 int n = get_nprocs();
21296 return 0;
21298 _ACEOF
21299 if ac_fn_cxx_try_compile "$LINENO"; then :
21300 glibcxx_cv_GET_NPROCS=yes
21301 else
21302 glibcxx_cv_GET_NPROCS=no
21304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21305 else
21306 if test x$gcc_no_link = xyes; then
21307 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21310 /* end confdefs.h. */
21311 #include <sys/sysinfo.h>
21313 main ()
21315 int n = get_nprocs();
21317 return 0;
21319 _ACEOF
21320 if ac_fn_cxx_try_link "$LINENO"; then :
21321 glibcxx_cv_GET_NPROCS=yes
21322 else
21323 glibcxx_cv_GET_NPROCS=no
21325 rm -f core conftest.err conftest.$ac_objext \
21326 conftest$ac_exeext conftest.$ac_ext
21331 if test $glibcxx_cv_GET_NPROCS = yes; then
21333 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21337 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21339 CXXFLAGS="$ac_save_CXXFLAGS"
21340 ac_ext=c
21341 ac_cpp='$CPP $CPPFLAGS'
21342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21347 for ac_header in unistd.h
21348 do :
21349 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21350 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21351 cat >>confdefs.h <<_ACEOF
21352 #define HAVE_UNISTD_H 1
21353 _ACEOF
21357 done
21362 ac_ext=cpp
21363 ac_cpp='$CXXCPP $CPPFLAGS'
21364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21368 ac_save_CXXFLAGS="$CXXFLAGS"
21369 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21372 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21373 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21374 $as_echo_n "(cached) " >&6
21375 else
21377 if test x$gcc_no_link = xyes; then
21378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21379 /* end confdefs.h. */
21380 #include <unistd.h>
21382 main ()
21384 int n = sysconf(_SC_NPROCESSORS_ONLN);
21386 return 0;
21388 _ACEOF
21389 if ac_fn_cxx_try_compile "$LINENO"; then :
21390 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21391 else
21392 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 else
21396 if test x$gcc_no_link = xyes; then
21397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21400 /* end confdefs.h. */
21401 #include <unistd.h>
21403 main ()
21405 int n = sysconf(_SC_NPROCESSORS_ONLN);
21407 return 0;
21409 _ACEOF
21410 if ac_fn_cxx_try_link "$LINENO"; then :
21411 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21412 else
21413 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21415 rm -f core conftest.err conftest.$ac_objext \
21416 conftest$ac_exeext conftest.$ac_ext
21421 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21423 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21427 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21429 CXXFLAGS="$ac_save_CXXFLAGS"
21430 ac_ext=c
21431 ac_cpp='$CPP $CPPFLAGS'
21432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21440 ac_ext=cpp
21441 ac_cpp='$CXXCPP $CPPFLAGS'
21442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21446 ac_save_CXXFLAGS="$CXXFLAGS"
21447 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21450 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21451 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21452 $as_echo_n "(cached) " >&6
21453 else
21455 if test x$gcc_no_link = xyes; then
21456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21457 /* end confdefs.h. */
21458 #include <unistd.h>
21460 main ()
21462 int n = sysconf(_SC_NPROC_ONLN);
21464 return 0;
21466 _ACEOF
21467 if ac_fn_cxx_try_compile "$LINENO"; then :
21468 glibcxx_cv_SC_NPROC_ONLN=yes
21469 else
21470 glibcxx_cv_SC_NPROC_ONLN=no
21472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21473 else
21474 if test x$gcc_no_link = xyes; then
21475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21479 #include <unistd.h>
21481 main ()
21483 int n = sysconf(_SC_NPROC_ONLN);
21485 return 0;
21487 _ACEOF
21488 if ac_fn_cxx_try_link "$LINENO"; then :
21489 glibcxx_cv_SC_NPROC_ONLN=yes
21490 else
21491 glibcxx_cv_SC_NPROC_ONLN=no
21493 rm -f core conftest.err conftest.$ac_objext \
21494 conftest$ac_exeext conftest.$ac_ext
21499 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21501 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21505 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21507 CXXFLAGS="$ac_save_CXXFLAGS"
21508 ac_ext=c
21509 ac_cpp='$CPP $CPPFLAGS'
21510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21518 ac_ext=cpp
21519 ac_cpp='$CXXCPP $CPPFLAGS'
21520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21524 ac_save_CXXFLAGS="$CXXFLAGS"
21525 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21528 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21529 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21530 $as_echo_n "(cached) " >&6
21531 else
21533 if test x$gcc_no_link = xyes; then
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <pthread.h>
21538 main ()
21540 int n = pthread_num_processors_np();
21542 return 0;
21544 _ACEOF
21545 if ac_fn_cxx_try_compile "$LINENO"; then :
21546 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21547 else
21548 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21551 else
21552 if test x$gcc_no_link = xyes; then
21553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21556 /* end confdefs.h. */
21557 #include <pthread.h>
21559 main ()
21561 int n = pthread_num_processors_np();
21563 return 0;
21565 _ACEOF
21566 if ac_fn_cxx_try_link "$LINENO"; then :
21567 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21568 else
21569 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21571 rm -f core conftest.err conftest.$ac_objext \
21572 conftest$ac_exeext conftest.$ac_ext
21577 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21579 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21583 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21585 CXXFLAGS="$ac_save_CXXFLAGS"
21586 ac_ext=c
21587 ac_cpp='$CPP $CPPFLAGS'
21588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21596 ac_ext=cpp
21597 ac_cpp='$CXXCPP $CPPFLAGS'
21598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21602 ac_save_CXXFLAGS="$CXXFLAGS"
21603 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21606 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21607 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21608 $as_echo_n "(cached) " >&6
21609 else
21611 if test x$gcc_no_link = xyes; then
21612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21613 /* end confdefs.h. */
21615 #include <stddef.h>
21616 #include <sys/sysctl.h>
21619 main ()
21622 int count;
21623 size_t size = sizeof(count);
21624 int mib[] = { CTL_HW, HW_NCPU };
21625 sysctl(mib, 2, &count, &size, NULL, 0);
21628 return 0;
21630 _ACEOF
21631 if ac_fn_cxx_try_compile "$LINENO"; then :
21632 glibcxx_cv_SYSCTL_HW_NCPU=yes
21633 else
21634 glibcxx_cv_SYSCTL_HW_NCPU=no
21636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21637 else
21638 if test x$gcc_no_link = xyes; then
21639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21642 /* end confdefs.h. */
21644 #include <stddef.h>
21645 #include <sys/sysctl.h>
21648 main ()
21651 int count;
21652 size_t size = sizeof(count);
21653 int mib[] = { CTL_HW, HW_NCPU };
21654 sysctl(mib, 2, &count, &size, NULL, 0);
21657 return 0;
21659 _ACEOF
21660 if ac_fn_cxx_try_link "$LINENO"; then :
21661 glibcxx_cv_SYSCTL_HW_NCPU=yes
21662 else
21663 glibcxx_cv_SYSCTL_HW_NCPU=no
21665 rm -f core conftest.err conftest.$ac_objext \
21666 conftest$ac_exeext conftest.$ac_ext
21671 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21673 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21677 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21679 CXXFLAGS="$ac_save_CXXFLAGS"
21680 ac_ext=c
21681 ac_cpp='$CPP $CPPFLAGS'
21682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21689 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21690 # Note that this test has to be run with the C language.
21691 # Otherwise, sdt.h will try to include some headers from
21692 # libstdc++ itself.
21694 ac_ext=c
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21700 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21701 $as_echo_n "(cached) " >&6
21702 else
21704 # Because we have to run the test in C, we use grep rather
21705 # than the compiler to check for the bug. The bug is that
21706 # were strings without trailing whitespace, causing g++
21707 # to look for operator"". The pattern searches for the fixed
21708 # output.
21709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21710 /* end confdefs.h. */
21712 #include <sys/sdt.h>
21713 int f() { STAP_PROBE(hi, bob); }
21715 _ACEOF
21716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21717 $EGREP " \",\" " >/dev/null 2>&1; then :
21718 glibcxx_cv_sys_sdt_h=yes
21719 else
21720 glibcxx_cv_sys_sdt_h=no
21722 rm -f conftest*
21727 ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21733 if test $glibcxx_cv_sys_sdt_h = yes; then
21735 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21739 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21742 # Check for available headers.
21743 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21744 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21745 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21746 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21747 wchar.h wctype.h
21748 do :
21749 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21750 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21751 eval as_val=\$$as_ac_Header
21752 if test "x$as_val" = x""yes; then :
21753 cat >>confdefs.h <<_ACEOF
21754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21755 _ACEOF
21759 done
21762 # Only do link tests if native. Else, hardcode.
21763 if $GLIBCXX_IS_NATIVE; then
21765 # We can do more elaborate tests that assume a working linker.
21766 CANADIAN=no
21770 # Check whether --with-gnu-ld was given.
21771 if test "${with_gnu_ld+set}" = set; then :
21772 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21773 else
21774 with_gnu_ld=no
21777 ac_prog=ld
21778 if test "$GCC" = yes; then
21779 # Check if gcc -print-prog-name=ld gives a path.
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21781 $as_echo_n "checking for ld used by $CC... " >&6; }
21782 case $host in
21783 *-*-mingw*)
21784 # gcc leaves a trailing carriage return which upsets mingw
21785 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21787 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21788 esac
21789 case $ac_prog in
21790 # Accept absolute paths.
21791 [\\/]* | ?:[\\/]*)
21792 re_direlt='/[^/][^/]*/\.\./'
21793 # Canonicalize the pathname of ld
21794 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21795 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21796 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21797 done
21798 test -z "$LD" && LD="$ac_prog"
21801 # If it fails, then pretend we aren't using GCC.
21802 ac_prog=ld
21805 # If it is relative, then search for the first ld in PATH.
21806 with_gnu_ld=unknown
21808 esac
21809 elif test "$with_gnu_ld" = yes; then
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21811 $as_echo_n "checking for GNU ld... " >&6; }
21812 else
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21814 $as_echo_n "checking for non-GNU ld... " >&6; }
21816 if test "${lt_cv_path_LD+set}" = set; then :
21817 $as_echo_n "(cached) " >&6
21818 else
21819 if test -z "$LD"; then
21820 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21821 for ac_dir in $PATH; do
21822 IFS="$lt_save_ifs"
21823 test -z "$ac_dir" && ac_dir=.
21824 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21825 lt_cv_path_LD="$ac_dir/$ac_prog"
21826 # Check to see if the program is GNU ld. I'd rather use --version,
21827 # but apparently some variants of GNU ld only accept -v.
21828 # Break only if it was the GNU/non-GNU ld that we prefer.
21829 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21830 *GNU* | *'with BFD'*)
21831 test "$with_gnu_ld" != no && break
21834 test "$with_gnu_ld" != yes && break
21836 esac
21838 done
21839 IFS="$lt_save_ifs"
21840 else
21841 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21845 LD="$lt_cv_path_LD"
21846 if test -n "$LD"; then
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21848 $as_echo "$LD" >&6; }
21849 else
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21851 $as_echo "no" >&6; }
21853 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21855 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21856 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21857 $as_echo_n "(cached) " >&6
21858 else
21859 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21860 case `$LD -v 2>&1 </dev/null` in
21861 *GNU* | *'with BFD'*)
21862 lt_cv_prog_gnu_ld=yes
21865 lt_cv_prog_gnu_ld=no
21867 esac
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21870 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21871 with_gnu_ld=$lt_cv_prog_gnu_ld
21879 # If we're not using GNU ld, then there's no point in even trying these
21880 # tests. Check for that first. We should have already tested for gld
21881 # by now (in libtool), but require it now just to be safe...
21882 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21883 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21887 # The name set by libtool depends on the version of libtool. Shame on us
21888 # for depending on an impl detail, but c'est la vie. Older versions used
21889 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21890 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21891 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21892 # set (hence we're using an older libtool), then set it.
21893 if test x${with_gnu_ld+set} != xset; then
21894 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21895 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21896 with_gnu_ld=no
21897 else
21898 with_gnu_ld=$ac_cv_prog_gnu_ld
21902 # Start by getting the version number. I think the libtool test already
21903 # does some of this, but throws away the result.
21904 glibcxx_ld_is_gold=no
21905 if test x"$with_gnu_ld" = x"yes"; then
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21907 $as_echo_n "checking for ld version... " >&6; }
21909 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21910 glibcxx_ld_is_gold=yes
21912 ldver=`$LD --version 2>/dev/null |
21913 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'`
21915 glibcxx_gnu_ld_version=`echo $ldver | \
21916 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21918 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21921 # Set --gc-sections.
21922 glibcxx_have_gc_sections=no
21923 if test "$glibcxx_ld_is_gold" = "yes"; then
21924 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21925 glibcxx_have_gc_sections=yes
21927 else
21928 glibcxx_gcsections_min_ld=21602
21929 if test x"$with_gnu_ld" = x"yes" &&
21930 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21931 glibcxx_have_gc_sections=yes
21934 if test "$glibcxx_have_gc_sections" = "yes"; then
21935 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21936 # NB: This flag only works reliably after 2.16.1. Configure tests
21937 # for this are difficult, so hard wire a value that should work.
21939 ac_test_CFLAGS="${CFLAGS+set}"
21940 ac_save_CFLAGS="$CFLAGS"
21941 CFLAGS='-Wl,--gc-sections'
21943 # Check for -Wl,--gc-sections
21944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21945 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21946 if test x$gcc_no_link = xyes; then
21947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21950 /* end confdefs.h. */
21951 int one(void) { return 1; }
21952 int two(void) { return 2; }
21955 main ()
21957 two();
21959 return 0;
21961 _ACEOF
21962 if ac_fn_c_try_link "$LINENO"; then :
21963 ac_gcsections=yes
21964 else
21965 ac_gcsections=no
21967 rm -f core conftest.err conftest.$ac_objext \
21968 conftest$ac_exeext conftest.$ac_ext
21969 if test "$ac_gcsections" = "yes"; then
21970 rm -f conftest.c
21971 touch conftest.c
21972 if $CC -c conftest.c; then
21973 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21974 grep "Warning: gc-sections option ignored" > /dev/null; then
21975 ac_gcsections=no
21978 rm -f conftest.c conftest.o conftest
21980 if test "$ac_gcsections" = "yes"; then
21981 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21984 $as_echo "$ac_gcsections" >&6; }
21986 if test "$ac_test_CFLAGS" = set; then
21987 CFLAGS="$ac_save_CFLAGS"
21988 else
21989 # this is the suspicious part
21990 CFLAGS=''
21994 # Set -z,relro.
21995 # Note this is only for shared objects.
21996 ac_ld_relro=no
21997 if test x"$with_gnu_ld" = x"yes"; then
21998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21999 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22000 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22001 if test -n "$cxx_z_relo"; then
22002 OPT_LDFLAGS="-Wl,-z,relro"
22003 ac_ld_relro=yes
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22006 $as_echo "$ac_ld_relro" >&6; }
22009 # Set linker optimization flags.
22010 if test x"$with_gnu_ld" = x"yes"; then
22011 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22018 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22019 ac_save_CXXFLAGS="$CXXFLAGS"
22020 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22023 $as_echo_n "checking for sin in -lm... " >&6; }
22024 if test "${ac_cv_lib_m_sin+set}" = set; then :
22025 $as_echo_n "(cached) " >&6
22026 else
22027 ac_check_lib_save_LIBS=$LIBS
22028 LIBS="-lm $LIBS"
22029 if test x$gcc_no_link = xyes; then
22030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22033 /* end confdefs.h. */
22035 /* Override any GCC internal prototype to avoid an error.
22036 Use char because int might match the return type of a GCC
22037 builtin and then its argument prototype would still apply. */
22038 #ifdef __cplusplus
22039 extern "C"
22040 #endif
22041 char sin ();
22043 main ()
22045 return sin ();
22047 return 0;
22049 _ACEOF
22050 if ac_fn_c_try_link "$LINENO"; then :
22051 ac_cv_lib_m_sin=yes
22052 else
22053 ac_cv_lib_m_sin=no
22055 rm -f core conftest.err conftest.$ac_objext \
22056 conftest$ac_exeext conftest.$ac_ext
22057 LIBS=$ac_check_lib_save_LIBS
22059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22060 $as_echo "$ac_cv_lib_m_sin" >&6; }
22061 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22062 libm="-lm"
22065 ac_save_LIBS="$LIBS"
22066 LIBS="$LIBS $libm"
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22071 $as_echo_n "checking for isinf declaration... " >&6; }
22072 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22073 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22074 $as_echo_n "(cached) " >&6
22075 else
22078 ac_ext=cpp
22079 ac_cpp='$CXXCPP $CPPFLAGS'
22080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22085 /* end confdefs.h. */
22086 #include <math.h>
22087 #ifdef HAVE_IEEEFP_H
22088 #include <ieeefp.h>
22089 #endif
22092 main ()
22094 isinf(0);
22096 return 0;
22098 _ACEOF
22099 if ac_fn_cxx_try_compile "$LINENO"; then :
22100 glibcxx_cv_func_isinf_use=yes
22101 else
22102 glibcxx_cv_func_isinf_use=no
22104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22105 ac_ext=c
22106 ac_cpp='$CPP $CPPFLAGS'
22107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22116 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22118 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22119 for ac_func in isinf
22120 do :
22121 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22122 if test "x$ac_cv_func_isinf" = x""yes; then :
22123 cat >>confdefs.h <<_ACEOF
22124 #define HAVE_ISINF 1
22125 _ACEOF
22128 done
22130 else
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22133 $as_echo_n "checking for _isinf declaration... " >&6; }
22134 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22135 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22136 $as_echo_n "(cached) " >&6
22137 else
22140 ac_ext=cpp
22141 ac_cpp='$CXXCPP $CPPFLAGS'
22142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22147 /* end confdefs.h. */
22148 #include <math.h>
22149 #ifdef HAVE_IEEEFP_H
22150 #include <ieeefp.h>
22151 #endif
22154 main ()
22156 _isinf(0);
22158 return 0;
22160 _ACEOF
22161 if ac_fn_cxx_try_compile "$LINENO"; then :
22162 glibcxx_cv_func__isinf_use=yes
22163 else
22164 glibcxx_cv_func__isinf_use=no
22166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 ac_ext=c
22168 ac_cpp='$CPP $CPPFLAGS'
22169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22178 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22180 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22181 for ac_func in _isinf
22182 do :
22183 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22184 if test "x$ac_cv_func__isinf" = x""yes; then :
22185 cat >>confdefs.h <<_ACEOF
22186 #define HAVE__ISINF 1
22187 _ACEOF
22190 done
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22200 $as_echo_n "checking for isnan declaration... " >&6; }
22201 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22202 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22203 $as_echo_n "(cached) " >&6
22204 else
22207 ac_ext=cpp
22208 ac_cpp='$CXXCPP $CPPFLAGS'
22209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22215 #include <math.h>
22216 #ifdef HAVE_IEEEFP_H
22217 #include <ieeefp.h>
22218 #endif
22221 main ()
22223 isnan(0);
22225 return 0;
22227 _ACEOF
22228 if ac_fn_cxx_try_compile "$LINENO"; then :
22229 glibcxx_cv_func_isnan_use=yes
22230 else
22231 glibcxx_cv_func_isnan_use=no
22233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22234 ac_ext=c
22235 ac_cpp='$CPP $CPPFLAGS'
22236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22245 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22247 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22248 for ac_func in isnan
22249 do :
22250 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22251 if test "x$ac_cv_func_isnan" = x""yes; then :
22252 cat >>confdefs.h <<_ACEOF
22253 #define HAVE_ISNAN 1
22254 _ACEOF
22257 done
22259 else
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22262 $as_echo_n "checking for _isnan declaration... " >&6; }
22263 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22264 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22265 $as_echo_n "(cached) " >&6
22266 else
22269 ac_ext=cpp
22270 ac_cpp='$CXXCPP $CPPFLAGS'
22271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22276 /* end confdefs.h. */
22277 #include <math.h>
22278 #ifdef HAVE_IEEEFP_H
22279 #include <ieeefp.h>
22280 #endif
22283 main ()
22285 _isnan(0);
22287 return 0;
22289 _ACEOF
22290 if ac_fn_cxx_try_compile "$LINENO"; then :
22291 glibcxx_cv_func__isnan_use=yes
22292 else
22293 glibcxx_cv_func__isnan_use=no
22295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22296 ac_ext=c
22297 ac_cpp='$CPP $CPPFLAGS'
22298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22307 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22309 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22310 for ac_func in _isnan
22311 do :
22312 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22313 if test "x$ac_cv_func__isnan" = x""yes; then :
22314 cat >>confdefs.h <<_ACEOF
22315 #define HAVE__ISNAN 1
22316 _ACEOF
22319 done
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22329 $as_echo_n "checking for finite declaration... " >&6; }
22330 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22331 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22332 $as_echo_n "(cached) " >&6
22333 else
22336 ac_ext=cpp
22337 ac_cpp='$CXXCPP $CPPFLAGS'
22338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22343 /* end confdefs.h. */
22344 #include <math.h>
22345 #ifdef HAVE_IEEEFP_H
22346 #include <ieeefp.h>
22347 #endif
22350 main ()
22352 finite(0);
22354 return 0;
22356 _ACEOF
22357 if ac_fn_cxx_try_compile "$LINENO"; then :
22358 glibcxx_cv_func_finite_use=yes
22359 else
22360 glibcxx_cv_func_finite_use=no
22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22363 ac_ext=c
22364 ac_cpp='$CPP $CPPFLAGS'
22365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22374 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22376 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22377 for ac_func in finite
22378 do :
22379 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22380 if test "x$ac_cv_func_finite" = x""yes; then :
22381 cat >>confdefs.h <<_ACEOF
22382 #define HAVE_FINITE 1
22383 _ACEOF
22386 done
22388 else
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22391 $as_echo_n "checking for _finite declaration... " >&6; }
22392 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22393 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22394 $as_echo_n "(cached) " >&6
22395 else
22398 ac_ext=cpp
22399 ac_cpp='$CXXCPP $CPPFLAGS'
22400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22405 /* end confdefs.h. */
22406 #include <math.h>
22407 #ifdef HAVE_IEEEFP_H
22408 #include <ieeefp.h>
22409 #endif
22412 main ()
22414 _finite(0);
22416 return 0;
22418 _ACEOF
22419 if ac_fn_cxx_try_compile "$LINENO"; then :
22420 glibcxx_cv_func__finite_use=yes
22421 else
22422 glibcxx_cv_func__finite_use=no
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22425 ac_ext=c
22426 ac_cpp='$CPP $CPPFLAGS'
22427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22436 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22438 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22439 for ac_func in _finite
22440 do :
22441 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22442 if test "x$ac_cv_func__finite" = x""yes; then :
22443 cat >>confdefs.h <<_ACEOF
22444 #define HAVE__FINITE 1
22445 _ACEOF
22448 done
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22458 $as_echo_n "checking for sincos declaration... " >&6; }
22459 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22460 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22461 $as_echo_n "(cached) " >&6
22462 else
22465 ac_ext=cpp
22466 ac_cpp='$CXXCPP $CPPFLAGS'
22467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22473 #include <math.h>
22475 main ()
22477 sincos(0, 0, 0);
22479 return 0;
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483 glibcxx_cv_func_sincos_use=yes
22484 else
22485 glibcxx_cv_func_sincos_use=no
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22499 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22501 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22502 for ac_func in sincos
22503 do :
22504 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22505 if test "x$ac_cv_func_sincos" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE_SINCOS 1
22508 _ACEOF
22511 done
22513 else
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22516 $as_echo_n "checking for _sincos declaration... " >&6; }
22517 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22518 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22519 $as_echo_n "(cached) " >&6
22520 else
22523 ac_ext=cpp
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22531 #include <math.h>
22533 main ()
22535 _sincos(0, 0, 0);
22537 return 0;
22539 _ACEOF
22540 if ac_fn_cxx_try_compile "$LINENO"; then :
22541 glibcxx_cv_func__sincos_use=yes
22542 else
22543 glibcxx_cv_func__sincos_use=no
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22546 ac_ext=c
22547 ac_cpp='$CPP $CPPFLAGS'
22548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22557 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22559 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22560 for ac_func in _sincos
22561 do :
22562 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22563 if test "x$ac_cv_func__sincos" = x""yes; then :
22564 cat >>confdefs.h <<_ACEOF
22565 #define HAVE__SINCOS 1
22566 _ACEOF
22569 done
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22579 $as_echo_n "checking for fpclass declaration... " >&6; }
22580 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22581 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22583 else
22586 ac_ext=cpp
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594 #include <math.h>
22595 #ifdef HAVE_IEEEFP_H
22596 #include <ieeefp.h>
22597 #endif
22600 main ()
22602 fpclass(0);
22604 return 0;
22606 _ACEOF
22607 if ac_fn_cxx_try_compile "$LINENO"; then :
22608 glibcxx_cv_func_fpclass_use=yes
22609 else
22610 glibcxx_cv_func_fpclass_use=no
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613 ac_ext=c
22614 ac_cpp='$CPP $CPPFLAGS'
22615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22624 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22626 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22627 for ac_func in fpclass
22628 do :
22629 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22630 if test "x$ac_cv_func_fpclass" = x""yes; then :
22631 cat >>confdefs.h <<_ACEOF
22632 #define HAVE_FPCLASS 1
22633 _ACEOF
22636 done
22638 else
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22641 $as_echo_n "checking for _fpclass declaration... " >&6; }
22642 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22643 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22644 $as_echo_n "(cached) " >&6
22645 else
22648 ac_ext=cpp
22649 ac_cpp='$CXXCPP $CPPFLAGS'
22650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22655 /* end confdefs.h. */
22656 #include <math.h>
22657 #ifdef HAVE_IEEEFP_H
22658 #include <ieeefp.h>
22659 #endif
22662 main ()
22664 _fpclass(0);
22666 return 0;
22668 _ACEOF
22669 if ac_fn_cxx_try_compile "$LINENO"; then :
22670 glibcxx_cv_func__fpclass_use=yes
22671 else
22672 glibcxx_cv_func__fpclass_use=no
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675 ac_ext=c
22676 ac_cpp='$CPP $CPPFLAGS'
22677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22686 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22688 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22689 for ac_func in _fpclass
22690 do :
22691 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22692 if test "x$ac_cv_func__fpclass" = x""yes; then :
22693 cat >>confdefs.h <<_ACEOF
22694 #define HAVE__FPCLASS 1
22695 _ACEOF
22698 done
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22708 $as_echo_n "checking for qfpclass declaration... " >&6; }
22709 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22710 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22711 $as_echo_n "(cached) " >&6
22712 else
22715 ac_ext=cpp
22716 ac_cpp='$CXXCPP $CPPFLAGS'
22717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22722 /* end confdefs.h. */
22723 #include <math.h>
22724 #ifdef HAVE_IEEEFP_H
22725 #include <ieeefp.h>
22726 #endif
22729 main ()
22731 qfpclass(0);
22733 return 0;
22735 _ACEOF
22736 if ac_fn_cxx_try_compile "$LINENO"; then :
22737 glibcxx_cv_func_qfpclass_use=yes
22738 else
22739 glibcxx_cv_func_qfpclass_use=no
22741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22742 ac_ext=c
22743 ac_cpp='$CPP $CPPFLAGS'
22744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22753 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22755 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22756 for ac_func in qfpclass
22757 do :
22758 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22759 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22760 cat >>confdefs.h <<_ACEOF
22761 #define HAVE_QFPCLASS 1
22762 _ACEOF
22765 done
22767 else
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22770 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22771 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22772 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22773 $as_echo_n "(cached) " >&6
22774 else
22777 ac_ext=cpp
22778 ac_cpp='$CXXCPP $CPPFLAGS'
22779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22784 /* end confdefs.h. */
22785 #include <math.h>
22786 #ifdef HAVE_IEEEFP_H
22787 #include <ieeefp.h>
22788 #endif
22791 main ()
22793 _qfpclass(0);
22795 return 0;
22797 _ACEOF
22798 if ac_fn_cxx_try_compile "$LINENO"; then :
22799 glibcxx_cv_func__qfpclass_use=yes
22800 else
22801 glibcxx_cv_func__qfpclass_use=no
22803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 ac_ext=c
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22815 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22817 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22818 for ac_func in _qfpclass
22819 do :
22820 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22821 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22822 cat >>confdefs.h <<_ACEOF
22823 #define HAVE__QFPCLASS 1
22824 _ACEOF
22827 done
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22837 $as_echo_n "checking for hypot declaration... " >&6; }
22838 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22839 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22840 $as_echo_n "(cached) " >&6
22841 else
22844 ac_ext=cpp
22845 ac_cpp='$CXXCPP $CPPFLAGS'
22846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22851 /* end confdefs.h. */
22852 #include <math.h>
22854 main ()
22856 hypot(0, 0);
22858 return 0;
22860 _ACEOF
22861 if ac_fn_cxx_try_compile "$LINENO"; then :
22862 glibcxx_cv_func_hypot_use=yes
22863 else
22864 glibcxx_cv_func_hypot_use=no
22866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22867 ac_ext=c
22868 ac_cpp='$CPP $CPPFLAGS'
22869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22878 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22880 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22881 for ac_func in hypot
22882 do :
22883 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22884 if test "x$ac_cv_func_hypot" = x""yes; then :
22885 cat >>confdefs.h <<_ACEOF
22886 #define HAVE_HYPOT 1
22887 _ACEOF
22890 done
22892 else
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22895 $as_echo_n "checking for _hypot declaration... " >&6; }
22896 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22897 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22898 $as_echo_n "(cached) " >&6
22899 else
22902 ac_ext=cpp
22903 ac_cpp='$CXXCPP $CPPFLAGS'
22904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22909 /* end confdefs.h. */
22910 #include <math.h>
22912 main ()
22914 _hypot(0, 0);
22916 return 0;
22918 _ACEOF
22919 if ac_fn_cxx_try_compile "$LINENO"; then :
22920 glibcxx_cv_func__hypot_use=yes
22921 else
22922 glibcxx_cv_func__hypot_use=no
22924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22925 ac_ext=c
22926 ac_cpp='$CPP $CPPFLAGS'
22927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22936 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22938 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22939 for ac_func in _hypot
22940 do :
22941 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22942 if test "x$ac_cv_func__hypot" = x""yes; then :
22943 cat >>confdefs.h <<_ACEOF
22944 #define HAVE__HYPOT 1
22945 _ACEOF
22948 done
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22958 $as_echo_n "checking for float trig functions... " >&6; }
22959 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22960 $as_echo_n "(cached) " >&6
22961 else
22964 ac_ext=cpp
22965 ac_cpp='$CXXCPP $CPPFLAGS'
22966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22971 /* end confdefs.h. */
22972 #include <math.h>
22974 main ()
22976 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22978 return 0;
22980 _ACEOF
22981 if ac_fn_cxx_try_compile "$LINENO"; then :
22982 glibcxx_cv_func_float_trig_use=yes
22983 else
22984 glibcxx_cv_func_float_trig_use=no
22986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22987 ac_ext=c
22988 ac_cpp='$CPP $CPPFLAGS'
22989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22996 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22997 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22998 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22999 do :
23000 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23001 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23002 eval as_val=\$$as_ac_var
23003 if test "x$as_val" = x""yes; then :
23004 cat >>confdefs.h <<_ACEOF
23005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23006 _ACEOF
23009 done
23011 else
23012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23013 $as_echo_n "checking for _float trig functions... " >&6; }
23014 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23015 $as_echo_n "(cached) " >&6
23016 else
23019 ac_ext=cpp
23020 ac_cpp='$CXXCPP $CPPFLAGS'
23021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23027 #include <math.h>
23029 main ()
23031 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23033 return 0;
23035 _ACEOF
23036 if ac_fn_cxx_try_compile "$LINENO"; then :
23037 glibcxx_cv_func__float_trig_use=yes
23038 else
23039 glibcxx_cv_func__float_trig_use=no
23041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23042 ac_ext=c
23043 ac_cpp='$CPP $CPPFLAGS'
23044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23051 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23052 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23053 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23054 do :
23055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23057 eval as_val=\$$as_ac_var
23058 if test "x$as_val" = x""yes; then :
23059 cat >>confdefs.h <<_ACEOF
23060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23061 _ACEOF
23064 done
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23074 $as_echo_n "checking for float round functions... " >&6; }
23075 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23076 $as_echo_n "(cached) " >&6
23077 else
23080 ac_ext=cpp
23081 ac_cpp='$CXXCPP $CPPFLAGS'
23082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23087 /* end confdefs.h. */
23088 #include <math.h>
23090 main ()
23092 ceilf (0); floorf (0);
23094 return 0;
23096 _ACEOF
23097 if ac_fn_cxx_try_compile "$LINENO"; then :
23098 glibcxx_cv_func_float_round_use=yes
23099 else
23100 glibcxx_cv_func_float_round_use=no
23102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23103 ac_ext=c
23104 ac_cpp='$CPP $CPPFLAGS'
23105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23112 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23113 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23114 for ac_func in ceilf floorf
23115 do :
23116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23118 eval as_val=\$$as_ac_var
23119 if test "x$as_val" = x""yes; then :
23120 cat >>confdefs.h <<_ACEOF
23121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23122 _ACEOF
23125 done
23127 else
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23129 $as_echo_n "checking for _float round functions... " >&6; }
23130 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23131 $as_echo_n "(cached) " >&6
23132 else
23135 ac_ext=cpp
23136 ac_cpp='$CXXCPP $CPPFLAGS'
23137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23142 /* end confdefs.h. */
23143 #include <math.h>
23145 main ()
23147 _ceilf (0); _floorf (0);
23149 return 0;
23151 _ACEOF
23152 if ac_fn_cxx_try_compile "$LINENO"; then :
23153 glibcxx_cv_func__float_round_use=yes
23154 else
23155 glibcxx_cv_func__float_round_use=no
23157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158 ac_ext=c
23159 ac_cpp='$CPP $CPPFLAGS'
23160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23167 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23168 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23169 for ac_func in _ceilf _floorf
23170 do :
23171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23173 eval as_val=\$$as_ac_var
23174 if test "x$as_val" = x""yes; then :
23175 cat >>confdefs.h <<_ACEOF
23176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23177 _ACEOF
23180 done
23190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23191 $as_echo_n "checking for expf declaration... " >&6; }
23192 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23193 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23194 $as_echo_n "(cached) " >&6
23195 else
23198 ac_ext=cpp
23199 ac_cpp='$CXXCPP $CPPFLAGS'
23200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23205 /* end confdefs.h. */
23206 #include <math.h>
23207 #ifdef HAVE_IEEEFP_H
23208 #include <ieeefp.h>
23209 #endif
23212 main ()
23214 expf(0);
23216 return 0;
23218 _ACEOF
23219 if ac_fn_cxx_try_compile "$LINENO"; then :
23220 glibcxx_cv_func_expf_use=yes
23221 else
23222 glibcxx_cv_func_expf_use=no
23224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23225 ac_ext=c
23226 ac_cpp='$CPP $CPPFLAGS'
23227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23236 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23238 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23239 for ac_func in expf
23240 do :
23241 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23242 if test "x$ac_cv_func_expf" = x""yes; then :
23243 cat >>confdefs.h <<_ACEOF
23244 #define HAVE_EXPF 1
23245 _ACEOF
23248 done
23250 else
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23253 $as_echo_n "checking for _expf declaration... " >&6; }
23254 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23255 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23256 $as_echo_n "(cached) " >&6
23257 else
23260 ac_ext=cpp
23261 ac_cpp='$CXXCPP $CPPFLAGS'
23262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23267 /* end confdefs.h. */
23268 #include <math.h>
23269 #ifdef HAVE_IEEEFP_H
23270 #include <ieeefp.h>
23271 #endif
23274 main ()
23276 _expf(0);
23278 return 0;
23280 _ACEOF
23281 if ac_fn_cxx_try_compile "$LINENO"; then :
23282 glibcxx_cv_func__expf_use=yes
23283 else
23284 glibcxx_cv_func__expf_use=no
23286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23287 ac_ext=c
23288 ac_cpp='$CPP $CPPFLAGS'
23289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23298 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23300 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23301 for ac_func in _expf
23302 do :
23303 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23304 if test "x$ac_cv_func__expf" = x""yes; then :
23305 cat >>confdefs.h <<_ACEOF
23306 #define HAVE__EXPF 1
23307 _ACEOF
23310 done
23319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23320 $as_echo_n "checking for isnanf declaration... " >&6; }
23321 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23322 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23323 $as_echo_n "(cached) " >&6
23324 else
23327 ac_ext=cpp
23328 ac_cpp='$CXXCPP $CPPFLAGS'
23329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23334 /* end confdefs.h. */
23335 #include <math.h>
23336 #ifdef HAVE_IEEEFP_H
23337 #include <ieeefp.h>
23338 #endif
23341 main ()
23343 isnanf(0);
23345 return 0;
23347 _ACEOF
23348 if ac_fn_cxx_try_compile "$LINENO"; then :
23349 glibcxx_cv_func_isnanf_use=yes
23350 else
23351 glibcxx_cv_func_isnanf_use=no
23353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23354 ac_ext=c
23355 ac_cpp='$CPP $CPPFLAGS'
23356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23365 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23367 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23368 for ac_func in isnanf
23369 do :
23370 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23371 if test "x$ac_cv_func_isnanf" = x""yes; then :
23372 cat >>confdefs.h <<_ACEOF
23373 #define HAVE_ISNANF 1
23374 _ACEOF
23377 done
23379 else
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23382 $as_echo_n "checking for _isnanf declaration... " >&6; }
23383 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23384 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23385 $as_echo_n "(cached) " >&6
23386 else
23389 ac_ext=cpp
23390 ac_cpp='$CXXCPP $CPPFLAGS'
23391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23396 /* end confdefs.h. */
23397 #include <math.h>
23398 #ifdef HAVE_IEEEFP_H
23399 #include <ieeefp.h>
23400 #endif
23403 main ()
23405 _isnanf(0);
23407 return 0;
23409 _ACEOF
23410 if ac_fn_cxx_try_compile "$LINENO"; then :
23411 glibcxx_cv_func__isnanf_use=yes
23412 else
23413 glibcxx_cv_func__isnanf_use=no
23415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23416 ac_ext=c
23417 ac_cpp='$CPP $CPPFLAGS'
23418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23427 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23429 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23430 for ac_func in _isnanf
23431 do :
23432 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23433 if test "x$ac_cv_func__isnanf" = x""yes; then :
23434 cat >>confdefs.h <<_ACEOF
23435 #define HAVE__ISNANF 1
23436 _ACEOF
23439 done
23448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23449 $as_echo_n "checking for isinff declaration... " >&6; }
23450 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23451 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23452 $as_echo_n "(cached) " >&6
23453 else
23456 ac_ext=cpp
23457 ac_cpp='$CXXCPP $CPPFLAGS'
23458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23463 /* end confdefs.h. */
23464 #include <math.h>
23465 #ifdef HAVE_IEEEFP_H
23466 #include <ieeefp.h>
23467 #endif
23470 main ()
23472 isinff(0);
23474 return 0;
23476 _ACEOF
23477 if ac_fn_cxx_try_compile "$LINENO"; then :
23478 glibcxx_cv_func_isinff_use=yes
23479 else
23480 glibcxx_cv_func_isinff_use=no
23482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23483 ac_ext=c
23484 ac_cpp='$CPP $CPPFLAGS'
23485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23494 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23496 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23497 for ac_func in isinff
23498 do :
23499 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23500 if test "x$ac_cv_func_isinff" = x""yes; then :
23501 cat >>confdefs.h <<_ACEOF
23502 #define HAVE_ISINFF 1
23503 _ACEOF
23506 done
23508 else
23510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23511 $as_echo_n "checking for _isinff declaration... " >&6; }
23512 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23513 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23514 $as_echo_n "(cached) " >&6
23515 else
23518 ac_ext=cpp
23519 ac_cpp='$CXXCPP $CPPFLAGS'
23520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23525 /* end confdefs.h. */
23526 #include <math.h>
23527 #ifdef HAVE_IEEEFP_H
23528 #include <ieeefp.h>
23529 #endif
23532 main ()
23534 _isinff(0);
23536 return 0;
23538 _ACEOF
23539 if ac_fn_cxx_try_compile "$LINENO"; then :
23540 glibcxx_cv_func__isinff_use=yes
23541 else
23542 glibcxx_cv_func__isinff_use=no
23544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23545 ac_ext=c
23546 ac_cpp='$CPP $CPPFLAGS'
23547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23556 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23558 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23559 for ac_func in _isinff
23560 do :
23561 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23562 if test "x$ac_cv_func__isinff" = x""yes; then :
23563 cat >>confdefs.h <<_ACEOF
23564 #define HAVE__ISINFF 1
23565 _ACEOF
23568 done
23577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23578 $as_echo_n "checking for atan2f declaration... " >&6; }
23579 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23580 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23581 $as_echo_n "(cached) " >&6
23582 else
23585 ac_ext=cpp
23586 ac_cpp='$CXXCPP $CPPFLAGS'
23587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23592 /* end confdefs.h. */
23593 #include <math.h>
23595 main ()
23597 atan2f(0, 0);
23599 return 0;
23601 _ACEOF
23602 if ac_fn_cxx_try_compile "$LINENO"; then :
23603 glibcxx_cv_func_atan2f_use=yes
23604 else
23605 glibcxx_cv_func_atan2f_use=no
23607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23608 ac_ext=c
23609 ac_cpp='$CPP $CPPFLAGS'
23610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23619 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23621 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23622 for ac_func in atan2f
23623 do :
23624 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23625 if test "x$ac_cv_func_atan2f" = x""yes; then :
23626 cat >>confdefs.h <<_ACEOF
23627 #define HAVE_ATAN2F 1
23628 _ACEOF
23631 done
23633 else
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23636 $as_echo_n "checking for _atan2f declaration... " >&6; }
23637 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23638 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23639 $as_echo_n "(cached) " >&6
23640 else
23643 ac_ext=cpp
23644 ac_cpp='$CXXCPP $CPPFLAGS'
23645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h. */
23651 #include <math.h>
23653 main ()
23655 _atan2f(0, 0);
23657 return 0;
23659 _ACEOF
23660 if ac_fn_cxx_try_compile "$LINENO"; then :
23661 glibcxx_cv_func__atan2f_use=yes
23662 else
23663 glibcxx_cv_func__atan2f_use=no
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23677 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23679 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23680 for ac_func in _atan2f
23681 do :
23682 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23683 if test "x$ac_cv_func__atan2f" = x""yes; then :
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE__ATAN2F 1
23686 _ACEOF
23689 done
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23699 $as_echo_n "checking for fabsf declaration... " >&6; }
23700 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23701 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23702 $as_echo_n "(cached) " >&6
23703 else
23706 ac_ext=cpp
23707 ac_cpp='$CXXCPP $CPPFLAGS'
23708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23713 /* end confdefs.h. */
23714 #include <math.h>
23715 #ifdef HAVE_IEEEFP_H
23716 #include <ieeefp.h>
23717 #endif
23720 main ()
23722 fabsf(0);
23724 return 0;
23726 _ACEOF
23727 if ac_fn_cxx_try_compile "$LINENO"; then :
23728 glibcxx_cv_func_fabsf_use=yes
23729 else
23730 glibcxx_cv_func_fabsf_use=no
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23733 ac_ext=c
23734 ac_cpp='$CPP $CPPFLAGS'
23735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23744 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23746 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23747 for ac_func in fabsf
23748 do :
23749 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23750 if test "x$ac_cv_func_fabsf" = x""yes; then :
23751 cat >>confdefs.h <<_ACEOF
23752 #define HAVE_FABSF 1
23753 _ACEOF
23756 done
23758 else
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23761 $as_echo_n "checking for _fabsf declaration... " >&6; }
23762 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23763 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23764 $as_echo_n "(cached) " >&6
23765 else
23768 ac_ext=cpp
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23776 #include <math.h>
23777 #ifdef HAVE_IEEEFP_H
23778 #include <ieeefp.h>
23779 #endif
23782 main ()
23784 _fabsf(0);
23786 return 0;
23788 _ACEOF
23789 if ac_fn_cxx_try_compile "$LINENO"; then :
23790 glibcxx_cv_func__fabsf_use=yes
23791 else
23792 glibcxx_cv_func__fabsf_use=no
23794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23795 ac_ext=c
23796 ac_cpp='$CPP $CPPFLAGS'
23797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23806 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23808 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23809 for ac_func in _fabsf
23810 do :
23811 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23812 if test "x$ac_cv_func__fabsf" = x""yes; then :
23813 cat >>confdefs.h <<_ACEOF
23814 #define HAVE__FABSF 1
23815 _ACEOF
23818 done
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23828 $as_echo_n "checking for fmodf declaration... " >&6; }
23829 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23830 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23831 $as_echo_n "(cached) " >&6
23832 else
23835 ac_ext=cpp
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23842 /* end confdefs.h. */
23843 #include <math.h>
23845 main ()
23847 fmodf(0, 0);
23849 return 0;
23851 _ACEOF
23852 if ac_fn_cxx_try_compile "$LINENO"; then :
23853 glibcxx_cv_func_fmodf_use=yes
23854 else
23855 glibcxx_cv_func_fmodf_use=no
23857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23858 ac_ext=c
23859 ac_cpp='$CPP $CPPFLAGS'
23860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23869 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23871 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23872 for ac_func in fmodf
23873 do :
23874 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23875 if test "x$ac_cv_func_fmodf" = x""yes; then :
23876 cat >>confdefs.h <<_ACEOF
23877 #define HAVE_FMODF 1
23878 _ACEOF
23881 done
23883 else
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23886 $as_echo_n "checking for _fmodf declaration... " >&6; }
23887 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23888 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23889 $as_echo_n "(cached) " >&6
23890 else
23893 ac_ext=cpp
23894 ac_cpp='$CXXCPP $CPPFLAGS'
23895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23900 /* end confdefs.h. */
23901 #include <math.h>
23903 main ()
23905 _fmodf(0, 0);
23907 return 0;
23909 _ACEOF
23910 if ac_fn_cxx_try_compile "$LINENO"; then :
23911 glibcxx_cv_func__fmodf_use=yes
23912 else
23913 glibcxx_cv_func__fmodf_use=no
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23916 ac_ext=c
23917 ac_cpp='$CPP $CPPFLAGS'
23918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23927 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23929 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23930 for ac_func in _fmodf
23931 do :
23932 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23933 if test "x$ac_cv_func__fmodf" = x""yes; then :
23934 cat >>confdefs.h <<_ACEOF
23935 #define HAVE__FMODF 1
23936 _ACEOF
23939 done
23948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23949 $as_echo_n "checking for frexpf declaration... " >&6; }
23950 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23951 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23952 $as_echo_n "(cached) " >&6
23953 else
23956 ac_ext=cpp
23957 ac_cpp='$CXXCPP $CPPFLAGS'
23958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23963 /* end confdefs.h. */
23964 #include <math.h>
23966 main ()
23968 frexpf(0, 0);
23970 return 0;
23972 _ACEOF
23973 if ac_fn_cxx_try_compile "$LINENO"; then :
23974 glibcxx_cv_func_frexpf_use=yes
23975 else
23976 glibcxx_cv_func_frexpf_use=no
23978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23979 ac_ext=c
23980 ac_cpp='$CPP $CPPFLAGS'
23981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23990 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23992 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23993 for ac_func in frexpf
23994 do :
23995 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23996 if test "x$ac_cv_func_frexpf" = x""yes; then :
23997 cat >>confdefs.h <<_ACEOF
23998 #define HAVE_FREXPF 1
23999 _ACEOF
24002 done
24004 else
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24007 $as_echo_n "checking for _frexpf declaration... " >&6; }
24008 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24009 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24010 $as_echo_n "(cached) " >&6
24011 else
24014 ac_ext=cpp
24015 ac_cpp='$CXXCPP $CPPFLAGS'
24016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24022 #include <math.h>
24024 main ()
24026 _frexpf(0, 0);
24028 return 0;
24030 _ACEOF
24031 if ac_fn_cxx_try_compile "$LINENO"; then :
24032 glibcxx_cv_func__frexpf_use=yes
24033 else
24034 glibcxx_cv_func__frexpf_use=no
24036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24037 ac_ext=c
24038 ac_cpp='$CPP $CPPFLAGS'
24039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24048 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24050 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24051 for ac_func in _frexpf
24052 do :
24053 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24054 if test "x$ac_cv_func__frexpf" = x""yes; then :
24055 cat >>confdefs.h <<_ACEOF
24056 #define HAVE__FREXPF 1
24057 _ACEOF
24060 done
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24070 $as_echo_n "checking for hypotf declaration... " >&6; }
24071 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24072 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24073 $as_echo_n "(cached) " >&6
24074 else
24077 ac_ext=cpp
24078 ac_cpp='$CXXCPP $CPPFLAGS'
24079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24084 /* end confdefs.h. */
24085 #include <math.h>
24087 main ()
24089 hypotf(0, 0);
24091 return 0;
24093 _ACEOF
24094 if ac_fn_cxx_try_compile "$LINENO"; then :
24095 glibcxx_cv_func_hypotf_use=yes
24096 else
24097 glibcxx_cv_func_hypotf_use=no
24099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24100 ac_ext=c
24101 ac_cpp='$CPP $CPPFLAGS'
24102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24111 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24113 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24114 for ac_func in hypotf
24115 do :
24116 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24117 if test "x$ac_cv_func_hypotf" = x""yes; then :
24118 cat >>confdefs.h <<_ACEOF
24119 #define HAVE_HYPOTF 1
24120 _ACEOF
24123 done
24125 else
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24128 $as_echo_n "checking for _hypotf declaration... " >&6; }
24129 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24130 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24131 $as_echo_n "(cached) " >&6
24132 else
24135 ac_ext=cpp
24136 ac_cpp='$CXXCPP $CPPFLAGS'
24137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24142 /* end confdefs.h. */
24143 #include <math.h>
24145 main ()
24147 _hypotf(0, 0);
24149 return 0;
24151 _ACEOF
24152 if ac_fn_cxx_try_compile "$LINENO"; then :
24153 glibcxx_cv_func__hypotf_use=yes
24154 else
24155 glibcxx_cv_func__hypotf_use=no
24157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24158 ac_ext=c
24159 ac_cpp='$CPP $CPPFLAGS'
24160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24169 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24171 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24172 for ac_func in _hypotf
24173 do :
24174 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24175 if test "x$ac_cv_func__hypotf" = x""yes; then :
24176 cat >>confdefs.h <<_ACEOF
24177 #define HAVE__HYPOTF 1
24178 _ACEOF
24181 done
24190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24191 $as_echo_n "checking for ldexpf declaration... " >&6; }
24192 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24193 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24194 $as_echo_n "(cached) " >&6
24195 else
24198 ac_ext=cpp
24199 ac_cpp='$CXXCPP $CPPFLAGS'
24200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24205 /* end confdefs.h. */
24206 #include <math.h>
24208 main ()
24210 ldexpf(0, 0);
24212 return 0;
24214 _ACEOF
24215 if ac_fn_cxx_try_compile "$LINENO"; then :
24216 glibcxx_cv_func_ldexpf_use=yes
24217 else
24218 glibcxx_cv_func_ldexpf_use=no
24220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24221 ac_ext=c
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24232 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24234 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24235 for ac_func in ldexpf
24236 do :
24237 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24238 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24239 cat >>confdefs.h <<_ACEOF
24240 #define HAVE_LDEXPF 1
24241 _ACEOF
24244 done
24246 else
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24249 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24250 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24251 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24252 $as_echo_n "(cached) " >&6
24253 else
24256 ac_ext=cpp
24257 ac_cpp='$CXXCPP $CPPFLAGS'
24258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24263 /* end confdefs.h. */
24264 #include <math.h>
24266 main ()
24268 _ldexpf(0, 0);
24270 return 0;
24272 _ACEOF
24273 if ac_fn_cxx_try_compile "$LINENO"; then :
24274 glibcxx_cv_func__ldexpf_use=yes
24275 else
24276 glibcxx_cv_func__ldexpf_use=no
24278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24279 ac_ext=c
24280 ac_cpp='$CPP $CPPFLAGS'
24281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24290 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24292 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24293 for ac_func in _ldexpf
24294 do :
24295 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24296 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24297 cat >>confdefs.h <<_ACEOF
24298 #define HAVE__LDEXPF 1
24299 _ACEOF
24302 done
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24312 $as_echo_n "checking for logf declaration... " >&6; }
24313 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24314 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24315 $as_echo_n "(cached) " >&6
24316 else
24319 ac_ext=cpp
24320 ac_cpp='$CXXCPP $CPPFLAGS'
24321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24327 #include <math.h>
24328 #ifdef HAVE_IEEEFP_H
24329 #include <ieeefp.h>
24330 #endif
24333 main ()
24335 logf(0);
24337 return 0;
24339 _ACEOF
24340 if ac_fn_cxx_try_compile "$LINENO"; then :
24341 glibcxx_cv_func_logf_use=yes
24342 else
24343 glibcxx_cv_func_logf_use=no
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346 ac_ext=c
24347 ac_cpp='$CPP $CPPFLAGS'
24348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24357 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24359 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24360 for ac_func in logf
24361 do :
24362 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24363 if test "x$ac_cv_func_logf" = x""yes; then :
24364 cat >>confdefs.h <<_ACEOF
24365 #define HAVE_LOGF 1
24366 _ACEOF
24369 done
24371 else
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24374 $as_echo_n "checking for _logf declaration... " >&6; }
24375 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24376 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24377 $as_echo_n "(cached) " >&6
24378 else
24381 ac_ext=cpp
24382 ac_cpp='$CXXCPP $CPPFLAGS'
24383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24388 /* end confdefs.h. */
24389 #include <math.h>
24390 #ifdef HAVE_IEEEFP_H
24391 #include <ieeefp.h>
24392 #endif
24395 main ()
24397 _logf(0);
24399 return 0;
24401 _ACEOF
24402 if ac_fn_cxx_try_compile "$LINENO"; then :
24403 glibcxx_cv_func__logf_use=yes
24404 else
24405 glibcxx_cv_func__logf_use=no
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 ac_ext=c
24409 ac_cpp='$CPP $CPPFLAGS'
24410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24419 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24421 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24422 for ac_func in _logf
24423 do :
24424 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24425 if test "x$ac_cv_func__logf" = x""yes; then :
24426 cat >>confdefs.h <<_ACEOF
24427 #define HAVE__LOGF 1
24428 _ACEOF
24431 done
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24441 $as_echo_n "checking for log10f declaration... " >&6; }
24442 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24443 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24444 $as_echo_n "(cached) " >&6
24445 else
24448 ac_ext=cpp
24449 ac_cpp='$CXXCPP $CPPFLAGS'
24450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24455 /* end confdefs.h. */
24456 #include <math.h>
24457 #ifdef HAVE_IEEEFP_H
24458 #include <ieeefp.h>
24459 #endif
24462 main ()
24464 log10f(0);
24466 return 0;
24468 _ACEOF
24469 if ac_fn_cxx_try_compile "$LINENO"; then :
24470 glibcxx_cv_func_log10f_use=yes
24471 else
24472 glibcxx_cv_func_log10f_use=no
24474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24475 ac_ext=c
24476 ac_cpp='$CPP $CPPFLAGS'
24477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24486 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24488 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24489 for ac_func in log10f
24490 do :
24491 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24492 if test "x$ac_cv_func_log10f" = x""yes; then :
24493 cat >>confdefs.h <<_ACEOF
24494 #define HAVE_LOG10F 1
24495 _ACEOF
24498 done
24500 else
24502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24503 $as_echo_n "checking for _log10f declaration... " >&6; }
24504 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24505 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24506 $as_echo_n "(cached) " >&6
24507 else
24510 ac_ext=cpp
24511 ac_cpp='$CXXCPP $CPPFLAGS'
24512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24517 /* end confdefs.h. */
24518 #include <math.h>
24519 #ifdef HAVE_IEEEFP_H
24520 #include <ieeefp.h>
24521 #endif
24524 main ()
24526 _log10f(0);
24528 return 0;
24530 _ACEOF
24531 if ac_fn_cxx_try_compile "$LINENO"; then :
24532 glibcxx_cv_func__log10f_use=yes
24533 else
24534 glibcxx_cv_func__log10f_use=no
24536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24537 ac_ext=c
24538 ac_cpp='$CPP $CPPFLAGS'
24539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24548 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24550 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24551 for ac_func in _log10f
24552 do :
24553 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24554 if test "x$ac_cv_func__log10f" = x""yes; then :
24555 cat >>confdefs.h <<_ACEOF
24556 #define HAVE__LOG10F 1
24557 _ACEOF
24560 done
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24570 $as_echo_n "checking for modff declaration... " >&6; }
24571 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24572 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24573 $as_echo_n "(cached) " >&6
24574 else
24577 ac_ext=cpp
24578 ac_cpp='$CXXCPP $CPPFLAGS'
24579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24584 /* end confdefs.h. */
24585 #include <math.h>
24587 main ()
24589 modff(0, 0);
24591 return 0;
24593 _ACEOF
24594 if ac_fn_cxx_try_compile "$LINENO"; then :
24595 glibcxx_cv_func_modff_use=yes
24596 else
24597 glibcxx_cv_func_modff_use=no
24599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24600 ac_ext=c
24601 ac_cpp='$CPP $CPPFLAGS'
24602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24611 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24613 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24614 for ac_func in modff
24615 do :
24616 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24617 if test "x$ac_cv_func_modff" = x""yes; then :
24618 cat >>confdefs.h <<_ACEOF
24619 #define HAVE_MODFF 1
24620 _ACEOF
24623 done
24625 else
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24628 $as_echo_n "checking for _modff declaration... " >&6; }
24629 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24630 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24631 $as_echo_n "(cached) " >&6
24632 else
24635 ac_ext=cpp
24636 ac_cpp='$CXXCPP $CPPFLAGS'
24637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24642 /* end confdefs.h. */
24643 #include <math.h>
24645 main ()
24647 _modff(0, 0);
24649 return 0;
24651 _ACEOF
24652 if ac_fn_cxx_try_compile "$LINENO"; then :
24653 glibcxx_cv_func__modff_use=yes
24654 else
24655 glibcxx_cv_func__modff_use=no
24657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24658 ac_ext=c
24659 ac_cpp='$CPP $CPPFLAGS'
24660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24669 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24671 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24672 for ac_func in _modff
24673 do :
24674 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24675 if test "x$ac_cv_func__modff" = x""yes; then :
24676 cat >>confdefs.h <<_ACEOF
24677 #define HAVE__MODFF 1
24678 _ACEOF
24681 done
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24691 $as_echo_n "checking for modf declaration... " >&6; }
24692 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24693 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24694 $as_echo_n "(cached) " >&6
24695 else
24698 ac_ext=cpp
24699 ac_cpp='$CXXCPP $CPPFLAGS'
24700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 /* end confdefs.h. */
24706 #include <math.h>
24708 main ()
24710 modf(0, 0);
24712 return 0;
24714 _ACEOF
24715 if ac_fn_cxx_try_compile "$LINENO"; then :
24716 glibcxx_cv_func_modf_use=yes
24717 else
24718 glibcxx_cv_func_modf_use=no
24720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721 ac_ext=c
24722 ac_cpp='$CPP $CPPFLAGS'
24723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24732 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24734 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24735 for ac_func in modf
24736 do :
24737 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24738 if test "x$ac_cv_func_modf" = x""yes; then :
24739 cat >>confdefs.h <<_ACEOF
24740 #define HAVE_MODF 1
24741 _ACEOF
24744 done
24746 else
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24749 $as_echo_n "checking for _modf declaration... " >&6; }
24750 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24751 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24752 $as_echo_n "(cached) " >&6
24753 else
24756 ac_ext=cpp
24757 ac_cpp='$CXXCPP $CPPFLAGS'
24758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24764 #include <math.h>
24766 main ()
24768 _modf(0, 0);
24770 return 0;
24772 _ACEOF
24773 if ac_fn_cxx_try_compile "$LINENO"; then :
24774 glibcxx_cv_func__modf_use=yes
24775 else
24776 glibcxx_cv_func__modf_use=no
24778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 ac_ext=c
24780 ac_cpp='$CPP $CPPFLAGS'
24781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24790 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24792 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24793 for ac_func in _modf
24794 do :
24795 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24796 if test "x$ac_cv_func__modf" = x""yes; then :
24797 cat >>confdefs.h <<_ACEOF
24798 #define HAVE__MODF 1
24799 _ACEOF
24802 done
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24812 $as_echo_n "checking for powf declaration... " >&6; }
24813 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24814 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24815 $as_echo_n "(cached) " >&6
24816 else
24819 ac_ext=cpp
24820 ac_cpp='$CXXCPP $CPPFLAGS'
24821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h. */
24827 #include <math.h>
24829 main ()
24831 powf(0, 0);
24833 return 0;
24835 _ACEOF
24836 if ac_fn_cxx_try_compile "$LINENO"; then :
24837 glibcxx_cv_func_powf_use=yes
24838 else
24839 glibcxx_cv_func_powf_use=no
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842 ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24853 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24855 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24856 for ac_func in powf
24857 do :
24858 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24859 if test "x$ac_cv_func_powf" = x""yes; then :
24860 cat >>confdefs.h <<_ACEOF
24861 #define HAVE_POWF 1
24862 _ACEOF
24865 done
24867 else
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24870 $as_echo_n "checking for _powf declaration... " >&6; }
24871 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24872 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24873 $as_echo_n "(cached) " >&6
24874 else
24877 ac_ext=cpp
24878 ac_cpp='$CXXCPP $CPPFLAGS'
24879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24884 /* end confdefs.h. */
24885 #include <math.h>
24887 main ()
24889 _powf(0, 0);
24891 return 0;
24893 _ACEOF
24894 if ac_fn_cxx_try_compile "$LINENO"; then :
24895 glibcxx_cv_func__powf_use=yes
24896 else
24897 glibcxx_cv_func__powf_use=no
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 ac_ext=c
24901 ac_cpp='$CPP $CPPFLAGS'
24902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24911 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24913 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24914 for ac_func in _powf
24915 do :
24916 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24917 if test "x$ac_cv_func__powf" = x""yes; then :
24918 cat >>confdefs.h <<_ACEOF
24919 #define HAVE__POWF 1
24920 _ACEOF
24923 done
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24933 $as_echo_n "checking for sqrtf declaration... " >&6; }
24934 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24935 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24936 $as_echo_n "(cached) " >&6
24937 else
24940 ac_ext=cpp
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h. */
24948 #include <math.h>
24949 #ifdef HAVE_IEEEFP_H
24950 #include <ieeefp.h>
24951 #endif
24954 main ()
24956 sqrtf(0);
24958 return 0;
24960 _ACEOF
24961 if ac_fn_cxx_try_compile "$LINENO"; then :
24962 glibcxx_cv_func_sqrtf_use=yes
24963 else
24964 glibcxx_cv_func_sqrtf_use=no
24966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24967 ac_ext=c
24968 ac_cpp='$CPP $CPPFLAGS'
24969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24978 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24980 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24981 for ac_func in sqrtf
24982 do :
24983 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24984 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_SQRTF 1
24987 _ACEOF
24990 done
24992 else
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24995 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24996 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24997 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24998 $as_echo_n "(cached) " >&6
24999 else
25002 ac_ext=cpp
25003 ac_cpp='$CXXCPP $CPPFLAGS'
25004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25009 /* end confdefs.h. */
25010 #include <math.h>
25011 #ifdef HAVE_IEEEFP_H
25012 #include <ieeefp.h>
25013 #endif
25016 main ()
25018 _sqrtf(0);
25020 return 0;
25022 _ACEOF
25023 if ac_fn_cxx_try_compile "$LINENO"; then :
25024 glibcxx_cv_func__sqrtf_use=yes
25025 else
25026 glibcxx_cv_func__sqrtf_use=no
25028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25029 ac_ext=c
25030 ac_cpp='$CPP $CPPFLAGS'
25031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25040 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25042 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25043 for ac_func in _sqrtf
25044 do :
25045 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25046 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25047 cat >>confdefs.h <<_ACEOF
25048 #define HAVE__SQRTF 1
25049 _ACEOF
25052 done
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25062 $as_echo_n "checking for sincosf declaration... " >&6; }
25063 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25064 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25065 $as_echo_n "(cached) " >&6
25066 else
25069 ac_ext=cpp
25070 ac_cpp='$CXXCPP $CPPFLAGS'
25071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25076 /* end confdefs.h. */
25077 #include <math.h>
25079 main ()
25081 sincosf(0, 0, 0);
25083 return 0;
25085 _ACEOF
25086 if ac_fn_cxx_try_compile "$LINENO"; then :
25087 glibcxx_cv_func_sincosf_use=yes
25088 else
25089 glibcxx_cv_func_sincosf_use=no
25091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092 ac_ext=c
25093 ac_cpp='$CPP $CPPFLAGS'
25094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25103 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25105 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25106 for ac_func in sincosf
25107 do :
25108 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25109 if test "x$ac_cv_func_sincosf" = x""yes; then :
25110 cat >>confdefs.h <<_ACEOF
25111 #define HAVE_SINCOSF 1
25112 _ACEOF
25115 done
25117 else
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25120 $as_echo_n "checking for _sincosf declaration... " >&6; }
25121 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25122 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25123 $as_echo_n "(cached) " >&6
25124 else
25127 ac_ext=cpp
25128 ac_cpp='$CXXCPP $CPPFLAGS'
25129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25134 /* end confdefs.h. */
25135 #include <math.h>
25137 main ()
25139 _sincosf(0, 0, 0);
25141 return 0;
25143 _ACEOF
25144 if ac_fn_cxx_try_compile "$LINENO"; then :
25145 glibcxx_cv_func__sincosf_use=yes
25146 else
25147 glibcxx_cv_func__sincosf_use=no
25149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25150 ac_ext=c
25151 ac_cpp='$CPP $CPPFLAGS'
25152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25161 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25163 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25164 for ac_func in _sincosf
25165 do :
25166 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25167 if test "x$ac_cv_func__sincosf" = x""yes; then :
25168 cat >>confdefs.h <<_ACEOF
25169 #define HAVE__SINCOSF 1
25170 _ACEOF
25173 done
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25183 $as_echo_n "checking for finitef declaration... " >&6; }
25184 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25185 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25186 $as_echo_n "(cached) " >&6
25187 else
25190 ac_ext=cpp
25191 ac_cpp='$CXXCPP $CPPFLAGS'
25192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25197 /* end confdefs.h. */
25198 #include <math.h>
25199 #ifdef HAVE_IEEEFP_H
25200 #include <ieeefp.h>
25201 #endif
25204 main ()
25206 finitef(0);
25208 return 0;
25210 _ACEOF
25211 if ac_fn_cxx_try_compile "$LINENO"; then :
25212 glibcxx_cv_func_finitef_use=yes
25213 else
25214 glibcxx_cv_func_finitef_use=no
25216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25217 ac_ext=c
25218 ac_cpp='$CPP $CPPFLAGS'
25219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25228 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25230 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25231 for ac_func in finitef
25232 do :
25233 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25234 if test "x$ac_cv_func_finitef" = x""yes; then :
25235 cat >>confdefs.h <<_ACEOF
25236 #define HAVE_FINITEF 1
25237 _ACEOF
25240 done
25242 else
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25245 $as_echo_n "checking for _finitef declaration... " >&6; }
25246 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25247 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25248 $as_echo_n "(cached) " >&6
25249 else
25252 ac_ext=cpp
25253 ac_cpp='$CXXCPP $CPPFLAGS'
25254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25260 #include <math.h>
25261 #ifdef HAVE_IEEEFP_H
25262 #include <ieeefp.h>
25263 #endif
25266 main ()
25268 _finitef(0);
25270 return 0;
25272 _ACEOF
25273 if ac_fn_cxx_try_compile "$LINENO"; then :
25274 glibcxx_cv_func__finitef_use=yes
25275 else
25276 glibcxx_cv_func__finitef_use=no
25278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25279 ac_ext=c
25280 ac_cpp='$CPP $CPPFLAGS'
25281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25290 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25292 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25293 for ac_func in _finitef
25294 do :
25295 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25296 if test "x$ac_cv_func__finitef" = x""yes; then :
25297 cat >>confdefs.h <<_ACEOF
25298 #define HAVE__FINITEF 1
25299 _ACEOF
25302 done
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25312 $as_echo_n "checking for long double trig functions... " >&6; }
25313 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25314 $as_echo_n "(cached) " >&6
25315 else
25318 ac_ext=cpp
25319 ac_cpp='$CXXCPP $CPPFLAGS'
25320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25325 /* end confdefs.h. */
25326 #include <math.h>
25328 main ()
25330 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25332 return 0;
25334 _ACEOF
25335 if ac_fn_cxx_try_compile "$LINENO"; then :
25336 glibcxx_cv_func_long_double_trig_use=yes
25337 else
25338 glibcxx_cv_func_long_double_trig_use=no
25340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25341 ac_ext=c
25342 ac_cpp='$CPP $CPPFLAGS'
25343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25350 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25351 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25352 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25353 do :
25354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25356 eval as_val=\$$as_ac_var
25357 if test "x$as_val" = x""yes; then :
25358 cat >>confdefs.h <<_ACEOF
25359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25360 _ACEOF
25363 done
25365 else
25366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25367 $as_echo_n "checking for _long double trig functions... " >&6; }
25368 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25369 $as_echo_n "(cached) " >&6
25370 else
25373 ac_ext=cpp
25374 ac_cpp='$CXXCPP $CPPFLAGS'
25375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25380 /* end confdefs.h. */
25381 #include <math.h>
25383 main ()
25385 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25387 return 0;
25389 _ACEOF
25390 if ac_fn_cxx_try_compile "$LINENO"; then :
25391 glibcxx_cv_func__long_double_trig_use=yes
25392 else
25393 glibcxx_cv_func__long_double_trig_use=no
25395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25396 ac_ext=c
25397 ac_cpp='$CPP $CPPFLAGS'
25398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25405 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25406 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25407 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25408 do :
25409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25411 eval as_val=\$$as_ac_var
25412 if test "x$as_val" = x""yes; then :
25413 cat >>confdefs.h <<_ACEOF
25414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25415 _ACEOF
25418 done
25427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25428 $as_echo_n "checking for long double round functions... " >&6; }
25429 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25430 $as_echo_n "(cached) " >&6
25431 else
25434 ac_ext=cpp
25435 ac_cpp='$CXXCPP $CPPFLAGS'
25436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25441 /* end confdefs.h. */
25442 #include <math.h>
25444 main ()
25446 ceill (0); floorl (0);
25448 return 0;
25450 _ACEOF
25451 if ac_fn_cxx_try_compile "$LINENO"; then :
25452 glibcxx_cv_func_long_double_round_use=yes
25453 else
25454 glibcxx_cv_func_long_double_round_use=no
25456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25457 ac_ext=c
25458 ac_cpp='$CPP $CPPFLAGS'
25459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25466 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25467 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25468 for ac_func in ceill floorl
25469 do :
25470 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25471 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25472 eval as_val=\$$as_ac_var
25473 if test "x$as_val" = x""yes; then :
25474 cat >>confdefs.h <<_ACEOF
25475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25476 _ACEOF
25479 done
25481 else
25482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25483 $as_echo_n "checking for _long double round functions... " >&6; }
25484 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25485 $as_echo_n "(cached) " >&6
25486 else
25489 ac_ext=cpp
25490 ac_cpp='$CXXCPP $CPPFLAGS'
25491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25496 /* end confdefs.h. */
25497 #include <math.h>
25499 main ()
25501 _ceill (0); _floorl (0);
25503 return 0;
25505 _ACEOF
25506 if ac_fn_cxx_try_compile "$LINENO"; then :
25507 glibcxx_cv_func__long_double_round_use=yes
25508 else
25509 glibcxx_cv_func__long_double_round_use=no
25511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25512 ac_ext=c
25513 ac_cpp='$CPP $CPPFLAGS'
25514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25521 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25522 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25523 for ac_func in _ceill _floorl
25524 do :
25525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25527 eval as_val=\$$as_ac_var
25528 if test "x$as_val" = x""yes; then :
25529 cat >>confdefs.h <<_ACEOF
25530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25531 _ACEOF
25534 done
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25545 $as_echo_n "checking for isnanl declaration... " >&6; }
25546 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25547 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25548 $as_echo_n "(cached) " >&6
25549 else
25552 ac_ext=cpp
25553 ac_cpp='$CXXCPP $CPPFLAGS'
25554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25559 /* end confdefs.h. */
25560 #include <math.h>
25561 #ifdef HAVE_IEEEFP_H
25562 #include <ieeefp.h>
25563 #endif
25566 main ()
25568 isnanl(0);
25570 return 0;
25572 _ACEOF
25573 if ac_fn_cxx_try_compile "$LINENO"; then :
25574 glibcxx_cv_func_isnanl_use=yes
25575 else
25576 glibcxx_cv_func_isnanl_use=no
25578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25579 ac_ext=c
25580 ac_cpp='$CPP $CPPFLAGS'
25581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25590 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25592 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25593 for ac_func in isnanl
25594 do :
25595 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25596 if test "x$ac_cv_func_isnanl" = x""yes; then :
25597 cat >>confdefs.h <<_ACEOF
25598 #define HAVE_ISNANL 1
25599 _ACEOF
25602 done
25604 else
25606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25607 $as_echo_n "checking for _isnanl declaration... " >&6; }
25608 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25609 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25610 $as_echo_n "(cached) " >&6
25611 else
25614 ac_ext=cpp
25615 ac_cpp='$CXXCPP $CPPFLAGS'
25616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25621 /* end confdefs.h. */
25622 #include <math.h>
25623 #ifdef HAVE_IEEEFP_H
25624 #include <ieeefp.h>
25625 #endif
25628 main ()
25630 _isnanl(0);
25632 return 0;
25634 _ACEOF
25635 if ac_fn_cxx_try_compile "$LINENO"; then :
25636 glibcxx_cv_func__isnanl_use=yes
25637 else
25638 glibcxx_cv_func__isnanl_use=no
25640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25641 ac_ext=c
25642 ac_cpp='$CPP $CPPFLAGS'
25643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25652 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25654 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25655 for ac_func in _isnanl
25656 do :
25657 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25658 if test "x$ac_cv_func__isnanl" = x""yes; then :
25659 cat >>confdefs.h <<_ACEOF
25660 #define HAVE__ISNANL 1
25661 _ACEOF
25664 done
25673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25674 $as_echo_n "checking for isinfl declaration... " >&6; }
25675 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25676 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25677 $as_echo_n "(cached) " >&6
25678 else
25681 ac_ext=cpp
25682 ac_cpp='$CXXCPP $CPPFLAGS'
25683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25688 /* end confdefs.h. */
25689 #include <math.h>
25690 #ifdef HAVE_IEEEFP_H
25691 #include <ieeefp.h>
25692 #endif
25695 main ()
25697 isinfl(0);
25699 return 0;
25701 _ACEOF
25702 if ac_fn_cxx_try_compile "$LINENO"; then :
25703 glibcxx_cv_func_isinfl_use=yes
25704 else
25705 glibcxx_cv_func_isinfl_use=no
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25708 ac_ext=c
25709 ac_cpp='$CPP $CPPFLAGS'
25710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25719 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25721 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25722 for ac_func in isinfl
25723 do :
25724 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25725 if test "x$ac_cv_func_isinfl" = x""yes; then :
25726 cat >>confdefs.h <<_ACEOF
25727 #define HAVE_ISINFL 1
25728 _ACEOF
25731 done
25733 else
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25736 $as_echo_n "checking for _isinfl declaration... " >&6; }
25737 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25738 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25739 $as_echo_n "(cached) " >&6
25740 else
25743 ac_ext=cpp
25744 ac_cpp='$CXXCPP $CPPFLAGS'
25745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25750 /* end confdefs.h. */
25751 #include <math.h>
25752 #ifdef HAVE_IEEEFP_H
25753 #include <ieeefp.h>
25754 #endif
25757 main ()
25759 _isinfl(0);
25761 return 0;
25763 _ACEOF
25764 if ac_fn_cxx_try_compile "$LINENO"; then :
25765 glibcxx_cv_func__isinfl_use=yes
25766 else
25767 glibcxx_cv_func__isinfl_use=no
25769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25770 ac_ext=c
25771 ac_cpp='$CPP $CPPFLAGS'
25772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25781 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25783 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25784 for ac_func in _isinfl
25785 do :
25786 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25787 if test "x$ac_cv_func__isinfl" = x""yes; then :
25788 cat >>confdefs.h <<_ACEOF
25789 #define HAVE__ISINFL 1
25790 _ACEOF
25793 done
25802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25803 $as_echo_n "checking for atan2l declaration... " >&6; }
25804 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25805 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25806 $as_echo_n "(cached) " >&6
25807 else
25810 ac_ext=cpp
25811 ac_cpp='$CXXCPP $CPPFLAGS'
25812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25817 /* end confdefs.h. */
25818 #include <math.h>
25820 main ()
25822 atan2l(0, 0);
25824 return 0;
25826 _ACEOF
25827 if ac_fn_cxx_try_compile "$LINENO"; then :
25828 glibcxx_cv_func_atan2l_use=yes
25829 else
25830 glibcxx_cv_func_atan2l_use=no
25832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25833 ac_ext=c
25834 ac_cpp='$CPP $CPPFLAGS'
25835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25844 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25846 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25847 for ac_func in atan2l
25848 do :
25849 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25850 if test "x$ac_cv_func_atan2l" = x""yes; then :
25851 cat >>confdefs.h <<_ACEOF
25852 #define HAVE_ATAN2L 1
25853 _ACEOF
25856 done
25858 else
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25861 $as_echo_n "checking for _atan2l declaration... " >&6; }
25862 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25863 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25864 $as_echo_n "(cached) " >&6
25865 else
25868 ac_ext=cpp
25869 ac_cpp='$CXXCPP $CPPFLAGS'
25870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25875 /* end confdefs.h. */
25876 #include <math.h>
25878 main ()
25880 _atan2l(0, 0);
25882 return 0;
25884 _ACEOF
25885 if ac_fn_cxx_try_compile "$LINENO"; then :
25886 glibcxx_cv_func__atan2l_use=yes
25887 else
25888 glibcxx_cv_func__atan2l_use=no
25890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25891 ac_ext=c
25892 ac_cpp='$CPP $CPPFLAGS'
25893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25902 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25904 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25905 for ac_func in _atan2l
25906 do :
25907 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25908 if test "x$ac_cv_func__atan2l" = x""yes; then :
25909 cat >>confdefs.h <<_ACEOF
25910 #define HAVE__ATAN2L 1
25911 _ACEOF
25914 done
25923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25924 $as_echo_n "checking for expl declaration... " >&6; }
25925 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25926 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25927 $as_echo_n "(cached) " >&6
25928 else
25931 ac_ext=cpp
25932 ac_cpp='$CXXCPP $CPPFLAGS'
25933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25938 /* end confdefs.h. */
25939 #include <math.h>
25940 #ifdef HAVE_IEEEFP_H
25941 #include <ieeefp.h>
25942 #endif
25945 main ()
25947 expl(0);
25949 return 0;
25951 _ACEOF
25952 if ac_fn_cxx_try_compile "$LINENO"; then :
25953 glibcxx_cv_func_expl_use=yes
25954 else
25955 glibcxx_cv_func_expl_use=no
25957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25958 ac_ext=c
25959 ac_cpp='$CPP $CPPFLAGS'
25960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25969 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25971 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25972 for ac_func in expl
25973 do :
25974 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25975 if test "x$ac_cv_func_expl" = x""yes; then :
25976 cat >>confdefs.h <<_ACEOF
25977 #define HAVE_EXPL 1
25978 _ACEOF
25981 done
25983 else
25985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25986 $as_echo_n "checking for _expl declaration... " >&6; }
25987 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25988 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25989 $as_echo_n "(cached) " >&6
25990 else
25993 ac_ext=cpp
25994 ac_cpp='$CXXCPP $CPPFLAGS'
25995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26000 /* end confdefs.h. */
26001 #include <math.h>
26002 #ifdef HAVE_IEEEFP_H
26003 #include <ieeefp.h>
26004 #endif
26007 main ()
26009 _expl(0);
26011 return 0;
26013 _ACEOF
26014 if ac_fn_cxx_try_compile "$LINENO"; then :
26015 glibcxx_cv_func__expl_use=yes
26016 else
26017 glibcxx_cv_func__expl_use=no
26019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26020 ac_ext=c
26021 ac_cpp='$CPP $CPPFLAGS'
26022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26031 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26033 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26034 for ac_func in _expl
26035 do :
26036 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26037 if test "x$ac_cv_func__expl" = x""yes; then :
26038 cat >>confdefs.h <<_ACEOF
26039 #define HAVE__EXPL 1
26040 _ACEOF
26043 done
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26053 $as_echo_n "checking for fabsl declaration... " >&6; }
26054 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26055 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26056 $as_echo_n "(cached) " >&6
26057 else
26060 ac_ext=cpp
26061 ac_cpp='$CXXCPP $CPPFLAGS'
26062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26067 /* end confdefs.h. */
26068 #include <math.h>
26069 #ifdef HAVE_IEEEFP_H
26070 #include <ieeefp.h>
26071 #endif
26074 main ()
26076 fabsl(0);
26078 return 0;
26080 _ACEOF
26081 if ac_fn_cxx_try_compile "$LINENO"; then :
26082 glibcxx_cv_func_fabsl_use=yes
26083 else
26084 glibcxx_cv_func_fabsl_use=no
26086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26087 ac_ext=c
26088 ac_cpp='$CPP $CPPFLAGS'
26089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26098 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26100 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26101 for ac_func in fabsl
26102 do :
26103 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26104 if test "x$ac_cv_func_fabsl" = x""yes; then :
26105 cat >>confdefs.h <<_ACEOF
26106 #define HAVE_FABSL 1
26107 _ACEOF
26110 done
26112 else
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26115 $as_echo_n "checking for _fabsl declaration... " >&6; }
26116 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26117 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26118 $as_echo_n "(cached) " >&6
26119 else
26122 ac_ext=cpp
26123 ac_cpp='$CXXCPP $CPPFLAGS'
26124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26129 /* end confdefs.h. */
26130 #include <math.h>
26131 #ifdef HAVE_IEEEFP_H
26132 #include <ieeefp.h>
26133 #endif
26136 main ()
26138 _fabsl(0);
26140 return 0;
26142 _ACEOF
26143 if ac_fn_cxx_try_compile "$LINENO"; then :
26144 glibcxx_cv_func__fabsl_use=yes
26145 else
26146 glibcxx_cv_func__fabsl_use=no
26148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26149 ac_ext=c
26150 ac_cpp='$CPP $CPPFLAGS'
26151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26160 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26162 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26163 for ac_func in _fabsl
26164 do :
26165 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26166 if test "x$ac_cv_func__fabsl" = x""yes; then :
26167 cat >>confdefs.h <<_ACEOF
26168 #define HAVE__FABSL 1
26169 _ACEOF
26172 done
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26182 $as_echo_n "checking for fmodl declaration... " >&6; }
26183 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26184 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26185 $as_echo_n "(cached) " >&6
26186 else
26189 ac_ext=cpp
26190 ac_cpp='$CXXCPP $CPPFLAGS'
26191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26196 /* end confdefs.h. */
26197 #include <math.h>
26199 main ()
26201 fmodl(0, 0);
26203 return 0;
26205 _ACEOF
26206 if ac_fn_cxx_try_compile "$LINENO"; then :
26207 glibcxx_cv_func_fmodl_use=yes
26208 else
26209 glibcxx_cv_func_fmodl_use=no
26211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26212 ac_ext=c
26213 ac_cpp='$CPP $CPPFLAGS'
26214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26223 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26225 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26226 for ac_func in fmodl
26227 do :
26228 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26229 if test "x$ac_cv_func_fmodl" = x""yes; then :
26230 cat >>confdefs.h <<_ACEOF
26231 #define HAVE_FMODL 1
26232 _ACEOF
26235 done
26237 else
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26240 $as_echo_n "checking for _fmodl declaration... " >&6; }
26241 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26242 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26243 $as_echo_n "(cached) " >&6
26244 else
26247 ac_ext=cpp
26248 ac_cpp='$CXXCPP $CPPFLAGS'
26249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26254 /* end confdefs.h. */
26255 #include <math.h>
26257 main ()
26259 _fmodl(0, 0);
26261 return 0;
26263 _ACEOF
26264 if ac_fn_cxx_try_compile "$LINENO"; then :
26265 glibcxx_cv_func__fmodl_use=yes
26266 else
26267 glibcxx_cv_func__fmodl_use=no
26269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26270 ac_ext=c
26271 ac_cpp='$CPP $CPPFLAGS'
26272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26281 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26283 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26284 for ac_func in _fmodl
26285 do :
26286 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26287 if test "x$ac_cv_func__fmodl" = x""yes; then :
26288 cat >>confdefs.h <<_ACEOF
26289 #define HAVE__FMODL 1
26290 _ACEOF
26293 done
26302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26303 $as_echo_n "checking for frexpl declaration... " >&6; }
26304 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26305 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26306 $as_echo_n "(cached) " >&6
26307 else
26310 ac_ext=cpp
26311 ac_cpp='$CXXCPP $CPPFLAGS'
26312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26317 /* end confdefs.h. */
26318 #include <math.h>
26320 main ()
26322 frexpl(0, 0);
26324 return 0;
26326 _ACEOF
26327 if ac_fn_cxx_try_compile "$LINENO"; then :
26328 glibcxx_cv_func_frexpl_use=yes
26329 else
26330 glibcxx_cv_func_frexpl_use=no
26332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26333 ac_ext=c
26334 ac_cpp='$CPP $CPPFLAGS'
26335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26344 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26346 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26347 for ac_func in frexpl
26348 do :
26349 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26350 if test "x$ac_cv_func_frexpl" = x""yes; then :
26351 cat >>confdefs.h <<_ACEOF
26352 #define HAVE_FREXPL 1
26353 _ACEOF
26356 done
26358 else
26360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26361 $as_echo_n "checking for _frexpl declaration... " >&6; }
26362 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26363 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26364 $as_echo_n "(cached) " >&6
26365 else
26368 ac_ext=cpp
26369 ac_cpp='$CXXCPP $CPPFLAGS'
26370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26375 /* end confdefs.h. */
26376 #include <math.h>
26378 main ()
26380 _frexpl(0, 0);
26382 return 0;
26384 _ACEOF
26385 if ac_fn_cxx_try_compile "$LINENO"; then :
26386 glibcxx_cv_func__frexpl_use=yes
26387 else
26388 glibcxx_cv_func__frexpl_use=no
26390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26391 ac_ext=c
26392 ac_cpp='$CPP $CPPFLAGS'
26393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26402 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26404 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26405 for ac_func in _frexpl
26406 do :
26407 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26408 if test "x$ac_cv_func__frexpl" = x""yes; then :
26409 cat >>confdefs.h <<_ACEOF
26410 #define HAVE__FREXPL 1
26411 _ACEOF
26414 done
26423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26424 $as_echo_n "checking for hypotl declaration... " >&6; }
26425 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26426 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26427 $as_echo_n "(cached) " >&6
26428 else
26431 ac_ext=cpp
26432 ac_cpp='$CXXCPP $CPPFLAGS'
26433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26438 /* end confdefs.h. */
26439 #include <math.h>
26441 main ()
26443 hypotl(0, 0);
26445 return 0;
26447 _ACEOF
26448 if ac_fn_cxx_try_compile "$LINENO"; then :
26449 glibcxx_cv_func_hypotl_use=yes
26450 else
26451 glibcxx_cv_func_hypotl_use=no
26453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26454 ac_ext=c
26455 ac_cpp='$CPP $CPPFLAGS'
26456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26465 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26467 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26468 for ac_func in hypotl
26469 do :
26470 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26471 if test "x$ac_cv_func_hypotl" = x""yes; then :
26472 cat >>confdefs.h <<_ACEOF
26473 #define HAVE_HYPOTL 1
26474 _ACEOF
26477 done
26479 else
26481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26482 $as_echo_n "checking for _hypotl declaration... " >&6; }
26483 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26484 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26485 $as_echo_n "(cached) " >&6
26486 else
26489 ac_ext=cpp
26490 ac_cpp='$CXXCPP $CPPFLAGS'
26491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26496 /* end confdefs.h. */
26497 #include <math.h>
26499 main ()
26501 _hypotl(0, 0);
26503 return 0;
26505 _ACEOF
26506 if ac_fn_cxx_try_compile "$LINENO"; then :
26507 glibcxx_cv_func__hypotl_use=yes
26508 else
26509 glibcxx_cv_func__hypotl_use=no
26511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26512 ac_ext=c
26513 ac_cpp='$CPP $CPPFLAGS'
26514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26523 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26525 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26526 for ac_func in _hypotl
26527 do :
26528 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26529 if test "x$ac_cv_func__hypotl" = x""yes; then :
26530 cat >>confdefs.h <<_ACEOF
26531 #define HAVE__HYPOTL 1
26532 _ACEOF
26535 done
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26545 $as_echo_n "checking for ldexpl declaration... " >&6; }
26546 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26547 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26548 $as_echo_n "(cached) " >&6
26549 else
26552 ac_ext=cpp
26553 ac_cpp='$CXXCPP $CPPFLAGS'
26554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26559 /* end confdefs.h. */
26560 #include <math.h>
26562 main ()
26564 ldexpl(0, 0);
26566 return 0;
26568 _ACEOF
26569 if ac_fn_cxx_try_compile "$LINENO"; then :
26570 glibcxx_cv_func_ldexpl_use=yes
26571 else
26572 glibcxx_cv_func_ldexpl_use=no
26574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26575 ac_ext=c
26576 ac_cpp='$CPP $CPPFLAGS'
26577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26586 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26588 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26589 for ac_func in ldexpl
26590 do :
26591 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26592 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26593 cat >>confdefs.h <<_ACEOF
26594 #define HAVE_LDEXPL 1
26595 _ACEOF
26598 done
26600 else
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26603 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26604 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26605 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26606 $as_echo_n "(cached) " >&6
26607 else
26610 ac_ext=cpp
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26617 /* end confdefs.h. */
26618 #include <math.h>
26620 main ()
26622 _ldexpl(0, 0);
26624 return 0;
26626 _ACEOF
26627 if ac_fn_cxx_try_compile "$LINENO"; then :
26628 glibcxx_cv_func__ldexpl_use=yes
26629 else
26630 glibcxx_cv_func__ldexpl_use=no
26632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26633 ac_ext=c
26634 ac_cpp='$CPP $CPPFLAGS'
26635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26644 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26646 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26647 for ac_func in _ldexpl
26648 do :
26649 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26650 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26651 cat >>confdefs.h <<_ACEOF
26652 #define HAVE__LDEXPL 1
26653 _ACEOF
26656 done
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26666 $as_echo_n "checking for logl declaration... " >&6; }
26667 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26668 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26669 $as_echo_n "(cached) " >&6
26670 else
26673 ac_ext=cpp
26674 ac_cpp='$CXXCPP $CPPFLAGS'
26675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26680 /* end confdefs.h. */
26681 #include <math.h>
26682 #ifdef HAVE_IEEEFP_H
26683 #include <ieeefp.h>
26684 #endif
26687 main ()
26689 logl(0);
26691 return 0;
26693 _ACEOF
26694 if ac_fn_cxx_try_compile "$LINENO"; then :
26695 glibcxx_cv_func_logl_use=yes
26696 else
26697 glibcxx_cv_func_logl_use=no
26699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26700 ac_ext=c
26701 ac_cpp='$CPP $CPPFLAGS'
26702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26711 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26713 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26714 for ac_func in logl
26715 do :
26716 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26717 if test "x$ac_cv_func_logl" = x""yes; then :
26718 cat >>confdefs.h <<_ACEOF
26719 #define HAVE_LOGL 1
26720 _ACEOF
26723 done
26725 else
26727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26728 $as_echo_n "checking for _logl declaration... " >&6; }
26729 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26730 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26731 $as_echo_n "(cached) " >&6
26732 else
26735 ac_ext=cpp
26736 ac_cpp='$CXXCPP $CPPFLAGS'
26737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26742 /* end confdefs.h. */
26743 #include <math.h>
26744 #ifdef HAVE_IEEEFP_H
26745 #include <ieeefp.h>
26746 #endif
26749 main ()
26751 _logl(0);
26753 return 0;
26755 _ACEOF
26756 if ac_fn_cxx_try_compile "$LINENO"; then :
26757 glibcxx_cv_func__logl_use=yes
26758 else
26759 glibcxx_cv_func__logl_use=no
26761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26762 ac_ext=c
26763 ac_cpp='$CPP $CPPFLAGS'
26764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26773 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26775 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26776 for ac_func in _logl
26777 do :
26778 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26779 if test "x$ac_cv_func__logl" = x""yes; then :
26780 cat >>confdefs.h <<_ACEOF
26781 #define HAVE__LOGL 1
26782 _ACEOF
26785 done
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26795 $as_echo_n "checking for log10l declaration... " >&6; }
26796 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26797 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26798 $as_echo_n "(cached) " >&6
26799 else
26802 ac_ext=cpp
26803 ac_cpp='$CXXCPP $CPPFLAGS'
26804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26809 /* end confdefs.h. */
26810 #include <math.h>
26811 #ifdef HAVE_IEEEFP_H
26812 #include <ieeefp.h>
26813 #endif
26816 main ()
26818 log10l(0);
26820 return 0;
26822 _ACEOF
26823 if ac_fn_cxx_try_compile "$LINENO"; then :
26824 glibcxx_cv_func_log10l_use=yes
26825 else
26826 glibcxx_cv_func_log10l_use=no
26828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26829 ac_ext=c
26830 ac_cpp='$CPP $CPPFLAGS'
26831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26840 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26842 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26843 for ac_func in log10l
26844 do :
26845 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26846 if test "x$ac_cv_func_log10l" = x""yes; then :
26847 cat >>confdefs.h <<_ACEOF
26848 #define HAVE_LOG10L 1
26849 _ACEOF
26852 done
26854 else
26856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26857 $as_echo_n "checking for _log10l declaration... " >&6; }
26858 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26859 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26860 $as_echo_n "(cached) " >&6
26861 else
26864 ac_ext=cpp
26865 ac_cpp='$CXXCPP $CPPFLAGS'
26866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26871 /* end confdefs.h. */
26872 #include <math.h>
26873 #ifdef HAVE_IEEEFP_H
26874 #include <ieeefp.h>
26875 #endif
26878 main ()
26880 _log10l(0);
26882 return 0;
26884 _ACEOF
26885 if ac_fn_cxx_try_compile "$LINENO"; then :
26886 glibcxx_cv_func__log10l_use=yes
26887 else
26888 glibcxx_cv_func__log10l_use=no
26890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26891 ac_ext=c
26892 ac_cpp='$CPP $CPPFLAGS'
26893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26902 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26904 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26905 for ac_func in _log10l
26906 do :
26907 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26908 if test "x$ac_cv_func__log10l" = x""yes; then :
26909 cat >>confdefs.h <<_ACEOF
26910 #define HAVE__LOG10L 1
26911 _ACEOF
26914 done
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26924 $as_echo_n "checking for modfl declaration... " >&6; }
26925 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26926 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26927 $as_echo_n "(cached) " >&6
26928 else
26931 ac_ext=cpp
26932 ac_cpp='$CXXCPP $CPPFLAGS'
26933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26938 /* end confdefs.h. */
26939 #include <math.h>
26941 main ()
26943 modfl(0, 0);
26945 return 0;
26947 _ACEOF
26948 if ac_fn_cxx_try_compile "$LINENO"; then :
26949 glibcxx_cv_func_modfl_use=yes
26950 else
26951 glibcxx_cv_func_modfl_use=no
26953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26954 ac_ext=c
26955 ac_cpp='$CPP $CPPFLAGS'
26956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26965 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26967 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26968 for ac_func in modfl
26969 do :
26970 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26971 if test "x$ac_cv_func_modfl" = x""yes; then :
26972 cat >>confdefs.h <<_ACEOF
26973 #define HAVE_MODFL 1
26974 _ACEOF
26977 done
26979 else
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26982 $as_echo_n "checking for _modfl declaration... " >&6; }
26983 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26984 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26985 $as_echo_n "(cached) " >&6
26986 else
26989 ac_ext=cpp
26990 ac_cpp='$CXXCPP $CPPFLAGS'
26991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26996 /* end confdefs.h. */
26997 #include <math.h>
26999 main ()
27001 _modfl(0, 0);
27003 return 0;
27005 _ACEOF
27006 if ac_fn_cxx_try_compile "$LINENO"; then :
27007 glibcxx_cv_func__modfl_use=yes
27008 else
27009 glibcxx_cv_func__modfl_use=no
27011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27012 ac_ext=c
27013 ac_cpp='$CPP $CPPFLAGS'
27014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27023 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27025 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27026 for ac_func in _modfl
27027 do :
27028 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27029 if test "x$ac_cv_func__modfl" = x""yes; then :
27030 cat >>confdefs.h <<_ACEOF
27031 #define HAVE__MODFL 1
27032 _ACEOF
27035 done
27044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27045 $as_echo_n "checking for powl declaration... " >&6; }
27046 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27047 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27048 $as_echo_n "(cached) " >&6
27049 else
27052 ac_ext=cpp
27053 ac_cpp='$CXXCPP $CPPFLAGS'
27054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27059 /* end confdefs.h. */
27060 #include <math.h>
27062 main ()
27064 powl(0, 0);
27066 return 0;
27068 _ACEOF
27069 if ac_fn_cxx_try_compile "$LINENO"; then :
27070 glibcxx_cv_func_powl_use=yes
27071 else
27072 glibcxx_cv_func_powl_use=no
27074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27075 ac_ext=c
27076 ac_cpp='$CPP $CPPFLAGS'
27077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27086 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27088 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27089 for ac_func in powl
27090 do :
27091 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27092 if test "x$ac_cv_func_powl" = x""yes; then :
27093 cat >>confdefs.h <<_ACEOF
27094 #define HAVE_POWL 1
27095 _ACEOF
27098 done
27100 else
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27103 $as_echo_n "checking for _powl declaration... " >&6; }
27104 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27105 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27106 $as_echo_n "(cached) " >&6
27107 else
27110 ac_ext=cpp
27111 ac_cpp='$CXXCPP $CPPFLAGS'
27112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27117 /* end confdefs.h. */
27118 #include <math.h>
27120 main ()
27122 _powl(0, 0);
27124 return 0;
27126 _ACEOF
27127 if ac_fn_cxx_try_compile "$LINENO"; then :
27128 glibcxx_cv_func__powl_use=yes
27129 else
27130 glibcxx_cv_func__powl_use=no
27132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27133 ac_ext=c
27134 ac_cpp='$CPP $CPPFLAGS'
27135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27144 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27146 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27147 for ac_func in _powl
27148 do :
27149 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27150 if test "x$ac_cv_func__powl" = x""yes; then :
27151 cat >>confdefs.h <<_ACEOF
27152 #define HAVE__POWL 1
27153 _ACEOF
27156 done
27165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27166 $as_echo_n "checking for sqrtl declaration... " >&6; }
27167 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27168 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27169 $as_echo_n "(cached) " >&6
27170 else
27173 ac_ext=cpp
27174 ac_cpp='$CXXCPP $CPPFLAGS'
27175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27180 /* end confdefs.h. */
27181 #include <math.h>
27182 #ifdef HAVE_IEEEFP_H
27183 #include <ieeefp.h>
27184 #endif
27187 main ()
27189 sqrtl(0);
27191 return 0;
27193 _ACEOF
27194 if ac_fn_cxx_try_compile "$LINENO"; then :
27195 glibcxx_cv_func_sqrtl_use=yes
27196 else
27197 glibcxx_cv_func_sqrtl_use=no
27199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27200 ac_ext=c
27201 ac_cpp='$CPP $CPPFLAGS'
27202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27211 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27213 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27214 for ac_func in sqrtl
27215 do :
27216 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27217 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27218 cat >>confdefs.h <<_ACEOF
27219 #define HAVE_SQRTL 1
27220 _ACEOF
27223 done
27225 else
27227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27228 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27229 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27230 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27231 $as_echo_n "(cached) " >&6
27232 else
27235 ac_ext=cpp
27236 ac_cpp='$CXXCPP $CPPFLAGS'
27237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27242 /* end confdefs.h. */
27243 #include <math.h>
27244 #ifdef HAVE_IEEEFP_H
27245 #include <ieeefp.h>
27246 #endif
27249 main ()
27251 _sqrtl(0);
27253 return 0;
27255 _ACEOF
27256 if ac_fn_cxx_try_compile "$LINENO"; then :
27257 glibcxx_cv_func__sqrtl_use=yes
27258 else
27259 glibcxx_cv_func__sqrtl_use=no
27261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27262 ac_ext=c
27263 ac_cpp='$CPP $CPPFLAGS'
27264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27273 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27275 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27276 for ac_func in _sqrtl
27277 do :
27278 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27279 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27280 cat >>confdefs.h <<_ACEOF
27281 #define HAVE__SQRTL 1
27282 _ACEOF
27285 done
27294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27295 $as_echo_n "checking for sincosl declaration... " >&6; }
27296 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27297 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27298 $as_echo_n "(cached) " >&6
27299 else
27302 ac_ext=cpp
27303 ac_cpp='$CXXCPP $CPPFLAGS'
27304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27309 /* end confdefs.h. */
27310 #include <math.h>
27312 main ()
27314 sincosl(0, 0, 0);
27316 return 0;
27318 _ACEOF
27319 if ac_fn_cxx_try_compile "$LINENO"; then :
27320 glibcxx_cv_func_sincosl_use=yes
27321 else
27322 glibcxx_cv_func_sincosl_use=no
27324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27325 ac_ext=c
27326 ac_cpp='$CPP $CPPFLAGS'
27327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27336 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27338 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27339 for ac_func in sincosl
27340 do :
27341 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27342 if test "x$ac_cv_func_sincosl" = x""yes; then :
27343 cat >>confdefs.h <<_ACEOF
27344 #define HAVE_SINCOSL 1
27345 _ACEOF
27348 done
27350 else
27352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27353 $as_echo_n "checking for _sincosl declaration... " >&6; }
27354 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27355 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27356 $as_echo_n "(cached) " >&6
27357 else
27360 ac_ext=cpp
27361 ac_cpp='$CXXCPP $CPPFLAGS'
27362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27367 /* end confdefs.h. */
27368 #include <math.h>
27370 main ()
27372 _sincosl(0, 0, 0);
27374 return 0;
27376 _ACEOF
27377 if ac_fn_cxx_try_compile "$LINENO"; then :
27378 glibcxx_cv_func__sincosl_use=yes
27379 else
27380 glibcxx_cv_func__sincosl_use=no
27382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27383 ac_ext=c
27384 ac_cpp='$CPP $CPPFLAGS'
27385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27394 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27396 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27397 for ac_func in _sincosl
27398 do :
27399 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27400 if test "x$ac_cv_func__sincosl" = x""yes; then :
27401 cat >>confdefs.h <<_ACEOF
27402 #define HAVE__SINCOSL 1
27403 _ACEOF
27406 done
27415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27416 $as_echo_n "checking for finitel declaration... " >&6; }
27417 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27418 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27419 $as_echo_n "(cached) " >&6
27420 else
27423 ac_ext=cpp
27424 ac_cpp='$CXXCPP $CPPFLAGS'
27425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27430 /* end confdefs.h. */
27431 #include <math.h>
27432 #ifdef HAVE_IEEEFP_H
27433 #include <ieeefp.h>
27434 #endif
27437 main ()
27439 finitel(0);
27441 return 0;
27443 _ACEOF
27444 if ac_fn_cxx_try_compile "$LINENO"; then :
27445 glibcxx_cv_func_finitel_use=yes
27446 else
27447 glibcxx_cv_func_finitel_use=no
27449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27450 ac_ext=c
27451 ac_cpp='$CPP $CPPFLAGS'
27452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27461 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27463 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27464 for ac_func in finitel
27465 do :
27466 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27467 if test "x$ac_cv_func_finitel" = x""yes; then :
27468 cat >>confdefs.h <<_ACEOF
27469 #define HAVE_FINITEL 1
27470 _ACEOF
27473 done
27475 else
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27478 $as_echo_n "checking for _finitel declaration... " >&6; }
27479 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27480 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27481 $as_echo_n "(cached) " >&6
27482 else
27485 ac_ext=cpp
27486 ac_cpp='$CXXCPP $CPPFLAGS'
27487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27492 /* end confdefs.h. */
27493 #include <math.h>
27494 #ifdef HAVE_IEEEFP_H
27495 #include <ieeefp.h>
27496 #endif
27499 main ()
27501 _finitel(0);
27503 return 0;
27505 _ACEOF
27506 if ac_fn_cxx_try_compile "$LINENO"; then :
27507 glibcxx_cv_func__finitel_use=yes
27508 else
27509 glibcxx_cv_func__finitel_use=no
27511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27512 ac_ext=c
27513 ac_cpp='$CPP $CPPFLAGS'
27514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27523 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27525 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27526 for ac_func in _finitel
27527 do :
27528 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27529 if test "x$ac_cv_func__finitel" = x""yes; then :
27530 cat >>confdefs.h <<_ACEOF
27531 #define HAVE__FINITEL 1
27532 _ACEOF
27535 done
27543 LIBS="$ac_save_LIBS"
27544 CXXFLAGS="$ac_save_CXXFLAGS"
27547 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27548 ac_save_CXXFLAGS="$CXXFLAGS"
27549 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27553 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27554 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27555 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27556 $as_echo_n "(cached) " >&6
27557 else
27560 ac_ext=cpp
27561 ac_cpp='$CXXCPP $CPPFLAGS'
27562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27567 /* end confdefs.h. */
27568 #include <stdlib.h>
27570 main ()
27572 at_quick_exit(0);
27574 return 0;
27576 _ACEOF
27577 if ac_fn_cxx_try_compile "$LINENO"; then :
27578 glibcxx_cv_func_at_quick_exit_use=yes
27579 else
27580 glibcxx_cv_func_at_quick_exit_use=no
27582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27583 ac_ext=c
27584 ac_cpp='$CPP $CPPFLAGS'
27585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27594 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27595 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27596 for ac_func in at_quick_exit
27597 do :
27598 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27599 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27600 cat >>confdefs.h <<_ACEOF
27601 #define HAVE_AT_QUICK_EXIT 1
27602 _ACEOF
27605 done
27610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27611 $as_echo_n "checking for quick_exit declaration... " >&6; }
27612 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27613 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27614 $as_echo_n "(cached) " >&6
27615 else
27618 ac_ext=cpp
27619 ac_cpp='$CXXCPP $CPPFLAGS'
27620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27625 /* end confdefs.h. */
27626 #include <stdlib.h>
27628 main ()
27630 quick_exit(0);
27632 return 0;
27634 _ACEOF
27635 if ac_fn_cxx_try_compile "$LINENO"; then :
27636 glibcxx_cv_func_quick_exit_use=yes
27637 else
27638 glibcxx_cv_func_quick_exit_use=no
27640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27641 ac_ext=c
27642 ac_cpp='$CPP $CPPFLAGS'
27643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27652 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27653 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27654 for ac_func in quick_exit
27655 do :
27656 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27657 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27658 cat >>confdefs.h <<_ACEOF
27659 #define HAVE_QUICK_EXIT 1
27660 _ACEOF
27663 done
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27669 $as_echo_n "checking for strtold declaration... " >&6; }
27670 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27671 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27672 $as_echo_n "(cached) " >&6
27673 else
27676 ac_ext=cpp
27677 ac_cpp='$CXXCPP $CPPFLAGS'
27678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27683 /* end confdefs.h. */
27684 #include <stdlib.h>
27686 main ()
27688 strtold(0, 0);
27690 return 0;
27692 _ACEOF
27693 if ac_fn_cxx_try_compile "$LINENO"; then :
27694 glibcxx_cv_func_strtold_use=yes
27695 else
27696 glibcxx_cv_func_strtold_use=no
27698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27699 ac_ext=c
27700 ac_cpp='$CPP $CPPFLAGS'
27701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27710 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27711 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27712 for ac_func in strtold
27713 do :
27714 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27715 if test "x$ac_cv_func_strtold" = x""yes; then :
27716 cat >>confdefs.h <<_ACEOF
27717 #define HAVE_STRTOLD 1
27718 _ACEOF
27721 done
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27729 $as_echo_n "checking for strtof declaration... " >&6; }
27730 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27731 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27732 $as_echo_n "(cached) " >&6
27733 else
27736 ac_ext=cpp
27737 ac_cpp='$CXXCPP $CPPFLAGS'
27738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27743 /* end confdefs.h. */
27744 #include <stdlib.h>
27746 main ()
27748 strtof(0, 0);
27750 return 0;
27752 _ACEOF
27753 if ac_fn_cxx_try_compile "$LINENO"; then :
27754 glibcxx_cv_func_strtof_use=yes
27755 else
27756 glibcxx_cv_func_strtof_use=no
27758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27759 ac_ext=c
27760 ac_cpp='$CPP $CPPFLAGS'
27761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27770 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27771 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27772 for ac_func in strtof
27773 do :
27774 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27775 if test "x$ac_cv_func_strtof" = x""yes; then :
27776 cat >>confdefs.h <<_ACEOF
27777 #define HAVE_STRTOF 1
27778 _ACEOF
27781 done
27788 CXXFLAGS="$ac_save_CXXFLAGS"
27791 # For /dev/random and /dev/urandom for TR1.
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27795 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27796 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27797 $as_echo_n "(cached) " >&6
27798 else
27800 if test -r /dev/random && test -r /dev/urandom; then
27801 ## For MSys environment the test above is detect as false-positive
27802 ## on mingw-targets. So disable it explicit for them.
27803 case ${target_os} in
27804 *mingw*) glibcxx_cv_random_tr1=no ;;
27805 *) glibcxx_cv_random_tr1=yes ;;
27806 esac
27807 else
27808 glibcxx_cv_random_tr1=no;
27813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27814 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27816 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27818 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27824 # For TLS support.
27827 # Check whether --enable-tls was given.
27828 if test "${enable_tls+set}" = set; then :
27829 enableval=$enable_tls;
27830 case "$enableval" in
27831 yes|no) ;;
27832 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27833 esac
27835 else
27836 enable_tls=yes
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27841 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27842 if test "${gcc_cv_have_tls+set}" = set; then :
27843 $as_echo_n "(cached) " >&6
27844 else
27846 if test "$cross_compiling" = yes; then :
27847 if test x$gcc_no_link = xyes; then
27848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27851 /* end confdefs.h. */
27852 __thread int a; int b; int main() { return a = b; }
27853 _ACEOF
27854 if ac_fn_c_try_link "$LINENO"; then :
27855 chktls_save_LDFLAGS="$LDFLAGS"
27856 case $host in
27857 *-*-linux*)
27858 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27860 esac
27861 chktls_save_CFLAGS="$CFLAGS"
27862 CFLAGS="-fPIC $CFLAGS"
27863 if test x$gcc_no_link = xyes; then
27864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27867 /* end confdefs.h. */
27868 int f() { return 0; }
27869 _ACEOF
27870 if ac_fn_c_try_link "$LINENO"; then :
27871 if test x$gcc_no_link = xyes; then
27872 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27875 /* end confdefs.h. */
27876 __thread int a; int b; int f() { return a = b; }
27877 _ACEOF
27878 if ac_fn_c_try_link "$LINENO"; then :
27879 gcc_cv_have_tls=yes
27880 else
27881 gcc_cv_have_tls=no
27883 rm -f core conftest.err conftest.$ac_objext \
27884 conftest$ac_exeext conftest.$ac_ext
27885 else
27886 gcc_cv_have_tls=yes
27888 rm -f core conftest.err conftest.$ac_objext \
27889 conftest$ac_exeext conftest.$ac_ext
27890 CFLAGS="$chktls_save_CFLAGS"
27891 LDFLAGS="$chktls_save_LDFLAGS"
27892 else
27893 gcc_cv_have_tls=no
27895 rm -f core conftest.err conftest.$ac_objext \
27896 conftest$ac_exeext conftest.$ac_ext
27899 else
27900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27901 /* end confdefs.h. */
27902 __thread int a; int b; int main() { return a = b; }
27903 _ACEOF
27904 if ac_fn_c_try_run "$LINENO"; then :
27905 chktls_save_LDFLAGS="$LDFLAGS"
27906 LDFLAGS="-static $LDFLAGS"
27907 if test x$gcc_no_link = xyes; then
27908 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27911 /* end confdefs.h. */
27912 int main() { return 0; }
27913 _ACEOF
27914 if ac_fn_c_try_link "$LINENO"; then :
27915 if test "$cross_compiling" = yes; then :
27916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27917 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27918 as_fn_error "cannot run test program while cross compiling
27919 See \`config.log' for more details." "$LINENO" 5; }
27920 else
27921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27922 /* end confdefs.h. */
27923 __thread int a; int b; int main() { return a = b; }
27924 _ACEOF
27925 if ac_fn_c_try_run "$LINENO"; then :
27926 gcc_cv_have_tls=yes
27927 else
27928 gcc_cv_have_tls=no
27930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27931 conftest.$ac_objext conftest.beam conftest.$ac_ext
27934 else
27935 gcc_cv_have_tls=yes
27937 rm -f core conftest.err conftest.$ac_objext \
27938 conftest$ac_exeext conftest.$ac_ext
27939 LDFLAGS="$chktls_save_LDFLAGS"
27940 if test $gcc_cv_have_tls = yes; then
27941 chktls_save_CFLAGS="$CFLAGS"
27942 thread_CFLAGS=failed
27943 for flag in '' '-pthread' '-lpthread'; do
27944 CFLAGS="$flag $chktls_save_CFLAGS"
27945 if test x$gcc_no_link = xyes; then
27946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27949 /* end confdefs.h. */
27950 #include <pthread.h>
27951 void *g(void *d) { return NULL; }
27953 main ()
27955 pthread_t t; pthread_create(&t,NULL,g,NULL);
27957 return 0;
27959 _ACEOF
27960 if ac_fn_c_try_link "$LINENO"; then :
27961 thread_CFLAGS="$flag"
27963 rm -f core conftest.err conftest.$ac_objext \
27964 conftest$ac_exeext conftest.$ac_ext
27965 if test "X$thread_CFLAGS" != Xfailed; then
27966 break
27968 done
27969 CFLAGS="$chktls_save_CFLAGS"
27970 if test "X$thread_CFLAGS" != Xfailed; then
27971 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27972 if test "$cross_compiling" = yes; then :
27973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27975 as_fn_error "cannot run test program while cross compiling
27976 See \`config.log' for more details." "$LINENO" 5; }
27977 else
27978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27979 /* end confdefs.h. */
27980 #include <pthread.h>
27981 __thread int a;
27982 static int *volatile a_in_other_thread;
27983 static void *
27984 thread_func (void *arg)
27986 a_in_other_thread = &a;
27987 return (void *)0;
27990 main ()
27992 pthread_t thread;
27993 void *thread_retval;
27994 int *volatile a_in_main_thread;
27995 a_in_main_thread = &a;
27996 if (pthread_create (&thread, (pthread_attr_t *)0,
27997 thread_func, (void *)0))
27998 return 0;
27999 if (pthread_join (thread, &thread_retval))
28000 return 0;
28001 return (a_in_other_thread == a_in_main_thread);
28003 return 0;
28005 _ACEOF
28006 if ac_fn_c_try_run "$LINENO"; then :
28007 gcc_cv_have_tls=yes
28008 else
28009 gcc_cv_have_tls=no
28011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28012 conftest.$ac_objext conftest.beam conftest.$ac_ext
28015 CFLAGS="$chktls_save_CFLAGS"
28018 else
28019 gcc_cv_have_tls=no
28021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28022 conftest.$ac_objext conftest.beam conftest.$ac_ext
28026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28027 $as_echo "$gcc_cv_have_tls" >&6; }
28028 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28030 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28034 for ac_func in __cxa_thread_atexit_impl
28035 do :
28036 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
28037 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
28038 cat >>confdefs.h <<_ACEOF
28039 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
28040 _ACEOF
28043 done
28045 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28046 do :
28047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28048 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28049 eval as_val=\$$as_ac_var
28050 if test "x$as_val" = x""yes; then :
28051 cat >>confdefs.h <<_ACEOF
28052 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28053 _ACEOF
28056 done
28059 # For iconv support.
28061 if test "X$prefix" = "XNONE"; then
28062 acl_final_prefix="$ac_default_prefix"
28063 else
28064 acl_final_prefix="$prefix"
28066 if test "X$exec_prefix" = "XNONE"; then
28067 acl_final_exec_prefix='${prefix}'
28068 else
28069 acl_final_exec_prefix="$exec_prefix"
28071 acl_save_prefix="$prefix"
28072 prefix="$acl_final_prefix"
28073 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28074 prefix="$acl_save_prefix"
28077 # Check whether --with-gnu-ld was given.
28078 if test "${with_gnu_ld+set}" = set; then :
28079 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28080 else
28081 with_gnu_ld=no
28084 # Prepare PATH_SEPARATOR.
28085 # The user is always right.
28086 if test "${PATH_SEPARATOR+set}" != set; then
28087 echo "#! /bin/sh" >conf$$.sh
28088 echo "exit 0" >>conf$$.sh
28089 chmod +x conf$$.sh
28090 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28091 PATH_SEPARATOR=';'
28092 else
28093 PATH_SEPARATOR=:
28095 rm -f conf$$.sh
28097 ac_prog=ld
28098 if test "$GCC" = yes; then
28099 # Check if gcc -print-prog-name=ld gives a path.
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28101 $as_echo_n "checking for ld used by GCC... " >&6; }
28102 case $host in
28103 *-*-mingw*)
28104 # gcc leaves a trailing carriage return which upsets mingw
28105 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28107 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28108 esac
28109 case $ac_prog in
28110 # Accept absolute paths.
28111 [\\/]* | [A-Za-z]:[\\/]*)
28112 re_direlt='/[^/][^/]*/\.\./'
28113 # Canonicalize the path of ld
28114 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28115 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28116 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28117 done
28118 test -z "$LD" && LD="$ac_prog"
28121 # If it fails, then pretend we aren't using GCC.
28122 ac_prog=ld
28125 # If it is relative, then search for the first ld in PATH.
28126 with_gnu_ld=unknown
28128 esac
28129 elif test "$with_gnu_ld" = yes; then
28130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28131 $as_echo_n "checking for GNU ld... " >&6; }
28132 else
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28134 $as_echo_n "checking for non-GNU ld... " >&6; }
28136 if test "${acl_cv_path_LD+set}" = set; then :
28137 $as_echo_n "(cached) " >&6
28138 else
28139 if test -z "$LD"; then
28140 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28141 for ac_dir in $PATH; do
28142 test -z "$ac_dir" && ac_dir=.
28143 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28144 acl_cv_path_LD="$ac_dir/$ac_prog"
28145 # Check to see if the program is GNU ld. I'd rather use --version,
28146 # but apparently some GNU ld's only accept -v.
28147 # Break only if it was the GNU/non-GNU ld that we prefer.
28148 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28149 test "$with_gnu_ld" != no && break
28150 else
28151 test "$with_gnu_ld" != yes && break
28154 done
28155 IFS="$ac_save_ifs"
28156 else
28157 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28161 LD="$acl_cv_path_LD"
28162 if test -n "$LD"; then
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28164 $as_echo "$LD" >&6; }
28165 else
28166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28167 $as_echo "no" >&6; }
28169 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28171 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28172 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28173 $as_echo_n "(cached) " >&6
28174 else
28175 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28176 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28177 acl_cv_prog_gnu_ld=yes
28178 else
28179 acl_cv_prog_gnu_ld=no
28182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28183 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28184 with_gnu_ld=$acl_cv_prog_gnu_ld
28188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28189 $as_echo_n "checking for shared library run path origin... " >&6; }
28190 if test "${acl_cv_rpath+set}" = set; then :
28191 $as_echo_n "(cached) " >&6
28192 else
28194 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28195 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28196 . ./conftest.sh
28197 rm -f ./conftest.sh
28198 acl_cv_rpath=done
28201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28202 $as_echo "$acl_cv_rpath" >&6; }
28203 wl="$acl_cv_wl"
28204 libext="$acl_cv_libext"
28205 shlibext="$acl_cv_shlibext"
28206 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28207 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28208 hardcode_direct="$acl_cv_hardcode_direct"
28209 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28210 # Check whether --enable-rpath was given.
28211 if test "${enable_rpath+set}" = set; then :
28212 enableval=$enable_rpath; :
28213 else
28214 enable_rpath=yes
28224 use_additional=yes
28226 acl_save_prefix="$prefix"
28227 prefix="$acl_final_prefix"
28228 acl_save_exec_prefix="$exec_prefix"
28229 exec_prefix="$acl_final_exec_prefix"
28231 eval additional_includedir=\"$includedir\"
28232 eval additional_libdir=\"$libdir\"
28234 exec_prefix="$acl_save_exec_prefix"
28235 prefix="$acl_save_prefix"
28238 # Check whether --with-libiconv-prefix was given.
28239 if test "${with_libiconv_prefix+set}" = set; then :
28240 withval=$with_libiconv_prefix;
28241 if test "X$withval" = "Xno"; then
28242 use_additional=no
28243 else
28244 if test "X$withval" = "X"; then
28246 acl_save_prefix="$prefix"
28247 prefix="$acl_final_prefix"
28248 acl_save_exec_prefix="$exec_prefix"
28249 exec_prefix="$acl_final_exec_prefix"
28251 eval additional_includedir=\"$includedir\"
28252 eval additional_libdir=\"$libdir\"
28254 exec_prefix="$acl_save_exec_prefix"
28255 prefix="$acl_save_prefix"
28257 else
28258 additional_includedir="$withval/include"
28259 additional_libdir="$withval/lib"
28265 LIBICONV=
28266 LTLIBICONV=
28267 INCICONV=
28268 rpathdirs=
28269 ltrpathdirs=
28270 names_already_handled=
28271 names_next_round='iconv '
28272 while test -n "$names_next_round"; do
28273 names_this_round="$names_next_round"
28274 names_next_round=
28275 for name in $names_this_round; do
28276 already_handled=
28277 for n in $names_already_handled; do
28278 if test "$n" = "$name"; then
28279 already_handled=yes
28280 break
28282 done
28283 if test -z "$already_handled"; then
28284 names_already_handled="$names_already_handled $name"
28285 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28286 eval value=\"\$HAVE_LIB$uppername\"
28287 if test -n "$value"; then
28288 if test "$value" = yes; then
28289 eval value=\"\$LIB$uppername\"
28290 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28291 eval value=\"\$LTLIB$uppername\"
28292 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28293 else
28296 else
28297 found_dir=
28298 found_la=
28299 found_so=
28300 found_a=
28301 if test $use_additional = yes; then
28302 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28303 found_dir="$additional_libdir"
28304 found_so="$additional_libdir/lib$name.$shlibext"
28305 if test -f "$additional_libdir/lib$name.la"; then
28306 found_la="$additional_libdir/lib$name.la"
28308 else
28309 if test -f "$additional_libdir/lib$name.$libext"; then
28310 found_dir="$additional_libdir"
28311 found_a="$additional_libdir/lib$name.$libext"
28312 if test -f "$additional_libdir/lib$name.la"; then
28313 found_la="$additional_libdir/lib$name.la"
28318 if test "X$found_dir" = "X"; then
28319 for x in $LDFLAGS $LTLIBICONV; do
28321 acl_save_prefix="$prefix"
28322 prefix="$acl_final_prefix"
28323 acl_save_exec_prefix="$exec_prefix"
28324 exec_prefix="$acl_final_exec_prefix"
28325 eval x=\"$x\"
28326 exec_prefix="$acl_save_exec_prefix"
28327 prefix="$acl_save_prefix"
28329 case "$x" in
28330 -L*)
28331 dir=`echo "X$x" | sed -e 's/^X-L//'`
28332 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28333 found_dir="$dir"
28334 found_so="$dir/lib$name.$shlibext"
28335 if test -f "$dir/lib$name.la"; then
28336 found_la="$dir/lib$name.la"
28338 else
28339 if test -f "$dir/lib$name.$libext"; then
28340 found_dir="$dir"
28341 found_a="$dir/lib$name.$libext"
28342 if test -f "$dir/lib$name.la"; then
28343 found_la="$dir/lib$name.la"
28348 esac
28349 if test "X$found_dir" != "X"; then
28350 break
28352 done
28354 if test "X$found_dir" != "X"; then
28355 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28356 if test "X$found_so" != "X"; then
28357 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28358 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28359 else
28360 haveit=
28361 for x in $ltrpathdirs; do
28362 if test "X$x" = "X$found_dir"; then
28363 haveit=yes
28364 break
28366 done
28367 if test -z "$haveit"; then
28368 ltrpathdirs="$ltrpathdirs $found_dir"
28370 if test "$hardcode_direct" = yes; then
28371 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28372 else
28373 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28374 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28375 haveit=
28376 for x in $rpathdirs; do
28377 if test "X$x" = "X$found_dir"; then
28378 haveit=yes
28379 break
28381 done
28382 if test -z "$haveit"; then
28383 rpathdirs="$rpathdirs $found_dir"
28385 else
28386 haveit=
28387 for x in $LDFLAGS $LIBICONV; do
28389 acl_save_prefix="$prefix"
28390 prefix="$acl_final_prefix"
28391 acl_save_exec_prefix="$exec_prefix"
28392 exec_prefix="$acl_final_exec_prefix"
28393 eval x=\"$x\"
28394 exec_prefix="$acl_save_exec_prefix"
28395 prefix="$acl_save_prefix"
28397 if test "X$x" = "X-L$found_dir"; then
28398 haveit=yes
28399 break
28401 done
28402 if test -z "$haveit"; then
28403 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28405 if test "$hardcode_minus_L" != no; then
28406 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28407 else
28408 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28413 else
28414 if test "X$found_a" != "X"; then
28415 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28416 else
28417 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28420 additional_includedir=
28421 case "$found_dir" in
28422 */lib | */lib/)
28423 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28424 additional_includedir="$basedir/include"
28426 esac
28427 if test "X$additional_includedir" != "X"; then
28428 if test "X$additional_includedir" != "X/usr/include"; then
28429 haveit=
28430 if test "X$additional_includedir" = "X/usr/local/include"; then
28431 if test -n "$GCC"; then
28432 case $host_os in
28433 linux*) haveit=yes;;
28434 esac
28437 if test -z "$haveit"; then
28438 for x in $CPPFLAGS $INCICONV; do
28440 acl_save_prefix="$prefix"
28441 prefix="$acl_final_prefix"
28442 acl_save_exec_prefix="$exec_prefix"
28443 exec_prefix="$acl_final_exec_prefix"
28444 eval x=\"$x\"
28445 exec_prefix="$acl_save_exec_prefix"
28446 prefix="$acl_save_prefix"
28448 if test "X$x" = "X-I$additional_includedir"; then
28449 haveit=yes
28450 break
28452 done
28453 if test -z "$haveit"; then
28454 if test -d "$additional_includedir"; then
28455 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28461 if test -n "$found_la"; then
28462 save_libdir="$libdir"
28463 case "$found_la" in
28464 */* | *\\*) . "$found_la" ;;
28465 *) . "./$found_la" ;;
28466 esac
28467 libdir="$save_libdir"
28468 for dep in $dependency_libs; do
28469 case "$dep" in
28470 -L*)
28471 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28472 if test "X$additional_libdir" != "X/usr/lib"; then
28473 haveit=
28474 if test "X$additional_libdir" = "X/usr/local/lib"; then
28475 if test -n "$GCC"; then
28476 case $host_os in
28477 linux*) haveit=yes;;
28478 esac
28481 if test -z "$haveit"; then
28482 haveit=
28483 for x in $LDFLAGS $LIBICONV; do
28485 acl_save_prefix="$prefix"
28486 prefix="$acl_final_prefix"
28487 acl_save_exec_prefix="$exec_prefix"
28488 exec_prefix="$acl_final_exec_prefix"
28489 eval x=\"$x\"
28490 exec_prefix="$acl_save_exec_prefix"
28491 prefix="$acl_save_prefix"
28493 if test "X$x" = "X-L$additional_libdir"; then
28494 haveit=yes
28495 break
28497 done
28498 if test -z "$haveit"; then
28499 if test -d "$additional_libdir"; then
28500 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28503 haveit=
28504 for x in $LDFLAGS $LTLIBICONV; do
28506 acl_save_prefix="$prefix"
28507 prefix="$acl_final_prefix"
28508 acl_save_exec_prefix="$exec_prefix"
28509 exec_prefix="$acl_final_exec_prefix"
28510 eval x=\"$x\"
28511 exec_prefix="$acl_save_exec_prefix"
28512 prefix="$acl_save_prefix"
28514 if test "X$x" = "X-L$additional_libdir"; then
28515 haveit=yes
28516 break
28518 done
28519 if test -z "$haveit"; then
28520 if test -d "$additional_libdir"; then
28521 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28527 -R*)
28528 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28529 if test "$enable_rpath" != no; then
28530 haveit=
28531 for x in $rpathdirs; do
28532 if test "X$x" = "X$dir"; then
28533 haveit=yes
28534 break
28536 done
28537 if test -z "$haveit"; then
28538 rpathdirs="$rpathdirs $dir"
28540 haveit=
28541 for x in $ltrpathdirs; do
28542 if test "X$x" = "X$dir"; then
28543 haveit=yes
28544 break
28546 done
28547 if test -z "$haveit"; then
28548 ltrpathdirs="$ltrpathdirs $dir"
28552 -l*)
28553 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28555 *.la)
28556 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28559 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28560 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28562 esac
28563 done
28565 else
28566 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28567 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28571 done
28572 done
28573 if test "X$rpathdirs" != "X"; then
28574 if test -n "$hardcode_libdir_separator"; then
28575 alldirs=
28576 for found_dir in $rpathdirs; do
28577 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28578 done
28579 acl_save_libdir="$libdir"
28580 libdir="$alldirs"
28581 eval flag=\"$hardcode_libdir_flag_spec\"
28582 libdir="$acl_save_libdir"
28583 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28584 else
28585 for found_dir in $rpathdirs; do
28586 acl_save_libdir="$libdir"
28587 libdir="$found_dir"
28588 eval flag=\"$hardcode_libdir_flag_spec\"
28589 libdir="$acl_save_libdir"
28590 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28591 done
28594 if test "X$ltrpathdirs" != "X"; then
28595 for found_dir in $ltrpathdirs; do
28596 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28597 done
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28607 $as_echo_n "checking for iconv... " >&6; }
28608 if test "${am_cv_func_iconv+set}" = set; then :
28609 $as_echo_n "(cached) " >&6
28610 else
28612 am_cv_func_iconv="no, consider installing GNU libiconv"
28613 am_cv_lib_iconv=no
28614 am_save_CPPFLAGS="$CPPFLAGS"
28615 CPPFLAGS="$CPPFLAGS $INCICONV"
28616 if test x$gcc_no_link = xyes; then
28617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28620 /* end confdefs.h. */
28621 #include <stdlib.h>
28622 #include <iconv.h>
28624 main ()
28626 iconv_t cd = iconv_open("","");
28627 iconv(cd,NULL,NULL,NULL,NULL);
28628 iconv_close(cd);
28630 return 0;
28632 _ACEOF
28633 if ac_fn_c_try_link "$LINENO"; then :
28634 am_cv_func_iconv=yes
28636 rm -f core conftest.err conftest.$ac_objext \
28637 conftest$ac_exeext conftest.$ac_ext
28638 CPPFLAGS="$am_save_CPPFLAGS"
28640 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28641 for _libs in .libs _libs; do
28642 am_save_CPPFLAGS="$CPPFLAGS"
28643 am_save_LIBS="$LIBS"
28644 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28645 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28646 if test x$gcc_no_link = xyes; then
28647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28650 /* end confdefs.h. */
28651 #include <stdlib.h>
28652 #include <iconv.h>
28654 main ()
28656 iconv_t cd = iconv_open("","");
28657 iconv(cd,NULL,NULL,NULL,NULL);
28658 iconv_close(cd);
28660 return 0;
28662 _ACEOF
28663 if ac_fn_c_try_link "$LINENO"; then :
28664 INCICONV="-I../libiconv/include"
28665 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28666 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28667 am_cv_lib_iconv=yes
28668 am_cv_func_iconv=yes
28670 rm -f core conftest.err conftest.$ac_objext \
28671 conftest$ac_exeext conftest.$ac_ext
28672 CPPFLAGS="$am_save_CPPFLAGS"
28673 LIBS="$am_save_LIBS"
28674 if test "$am_cv_func_iconv" = "yes"; then
28675 break
28677 done
28680 if test "$am_cv_func_iconv" != yes; then
28681 am_save_CPPFLAGS="$CPPFLAGS"
28682 am_save_LIBS="$LIBS"
28683 CPPFLAGS="$LIBS $INCICONV"
28684 LIBS="$LIBS $LIBICONV"
28685 if test x$gcc_no_link = xyes; then
28686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28689 /* end confdefs.h. */
28690 #include <stdlib.h>
28691 #include <iconv.h>
28693 main ()
28695 iconv_t cd = iconv_open("","");
28696 iconv(cd,NULL,NULL,NULL,NULL);
28697 iconv_close(cd);
28699 return 0;
28701 _ACEOF
28702 if ac_fn_c_try_link "$LINENO"; then :
28703 am_cv_lib_iconv=yes
28704 am_cv_func_iconv=yes
28706 rm -f core conftest.err conftest.$ac_objext \
28707 conftest$ac_exeext conftest.$ac_ext
28708 CPPFLAGS="$am_save_CPPFLAGS"
28709 LIBS="$am_save_LIBS"
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28714 $as_echo "$am_cv_func_iconv" >&6; }
28715 if test "$am_cv_func_iconv" = yes; then
28717 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28720 if test "$am_cv_lib_iconv" = yes; then
28722 for element in $INCICONV; do
28723 haveit=
28724 for x in $CPPFLAGS; do
28726 acl_save_prefix="$prefix"
28727 prefix="$acl_final_prefix"
28728 acl_save_exec_prefix="$exec_prefix"
28729 exec_prefix="$acl_final_exec_prefix"
28730 eval x=\"$x\"
28731 exec_prefix="$acl_save_exec_prefix"
28732 prefix="$acl_save_prefix"
28734 if test "X$x" = "X$element"; then
28735 haveit=yes
28736 break
28738 done
28739 if test -z "$haveit"; then
28740 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28742 done
28744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28745 $as_echo_n "checking how to link with libiconv... " >&6; }
28746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28747 $as_echo "$LIBICONV" >&6; }
28748 else
28749 LIBICONV=
28750 LTLIBICONV=
28755 if test "$am_cv_func_iconv" = yes; then
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28757 $as_echo_n "checking for iconv declaration... " >&6; }
28758 if test "${am_cv_proto_iconv+set}" = set; then :
28759 $as_echo_n "(cached) " >&6
28760 else
28762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28763 /* end confdefs.h. */
28765 #include <stdlib.h>
28766 #include <iconv.h>
28767 extern
28768 #ifdef __cplusplus
28770 #endif
28771 #if defined(__STDC__) || defined(__cplusplus)
28772 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28773 #else
28774 size_t iconv();
28775 #endif
28778 main ()
28782 return 0;
28784 _ACEOF
28785 if ac_fn_c_try_compile "$LINENO"; then :
28786 am_cv_proto_iconv_arg1=""
28787 else
28788 am_cv_proto_iconv_arg1="const"
28790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28791 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);"
28794 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28796 }$am_cv_proto_iconv" >&5
28797 $as_echo "${ac_t:-
28798 }$am_cv_proto_iconv" >&6; }
28800 cat >>confdefs.h <<_ACEOF
28801 #define ICONV_CONST $am_cv_proto_iconv_arg1
28802 _ACEOF
28807 else
28809 # This lets us hard-code the functionality we know we'll have in the cross
28810 # target environment. "Let" is a sugar-coated word placed on an especially
28811 # dull and tedious hack, actually.
28813 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28814 # that involve linking, can't be used:
28815 # "cannot open sim-crt0.o"
28816 # "cannot open crt0.o"
28817 # etc. All this is because there currently exists no unified, consistent
28818 # way for top level CC information to be passed down to target directories:
28819 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28820 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28821 # crosses can be removed.
28823 # If Canadian cross, then don't pick up tools from the build directory.
28824 # Used only in GLIBCXX_EXPORT_INCLUDES.
28825 if test -n "$with_cross_host" &&
28826 test x"$build_alias" != x"$with_cross_host" &&
28827 test x"$build" != x"$target";
28828 then
28829 CANADIAN=yes
28830 else
28831 CANADIAN=no
28834 # Construct crosses by hand, eliminating bits that need ld...
28835 # GLIBCXX_CHECK_MATH_SUPPORT
28837 # First, test for "known" system libraries. We may be using newlib even
28838 # on a hosted environment.
28839 if test "x${with_newlib}" = "xyes"; then
28840 os_include_dir="os/newlib"
28841 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28844 # GLIBCXX_CHECK_STDLIB_SUPPORT
28845 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28848 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28850 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28852 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28854 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28856 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28858 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28860 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28862 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28864 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28866 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28868 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28870 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28872 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28874 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28876 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28878 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28880 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28882 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28884 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28886 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28888 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28890 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28893 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28895 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28897 else
28899 # Base decisions on target environment.
28900 case "${host}" in
28901 arm*-*-symbianelf*)
28902 # This is a freestanding configuration; there is nothing to do here.
28905 mips*-sde-elf*)
28906 # These definitions are for the SDE C library rather than newlib.
28907 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28910 # All these tests are for C++; save the language and the compiler flags.
28911 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28912 # found in GLIBCXX_CONFIGURE.
28914 ac_ext=cpp
28915 ac_cpp='$CXXCPP $CPPFLAGS'
28916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28920 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28921 ac_save_CXXFLAGS="$CXXFLAGS"
28923 # Check for maintainer-mode bits.
28924 if test x"$USE_MAINTAINER_MODE" = xno; then
28925 WERROR=''
28926 else
28927 WERROR='-Werror'
28930 # Check for -ffunction-sections -fdata-sections
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28932 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28933 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28935 /* end confdefs.h. */
28936 int foo; void bar() { };
28938 main ()
28942 return 0;
28944 _ACEOF
28945 if ac_fn_cxx_try_compile "$LINENO"; then :
28946 ac_fdsections=yes
28947 else
28948 ac_fdsections=no
28950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28951 if test "$ac_test_CXXFLAGS" = set; then
28952 CXXFLAGS="$ac_save_CXXFLAGS"
28953 else
28954 # this is the suspicious part
28955 CXXFLAGS=''
28957 if test x"$ac_fdsections" = x"yes"; then
28958 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28961 $as_echo "$ac_fdsections" >&6; }
28963 ac_ext=c
28964 ac_cpp='$CPP $CPPFLAGS'
28965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973 # If we're not using GNU ld, then there's no point in even trying these
28974 # tests. Check for that first. We should have already tested for gld
28975 # by now (in libtool), but require it now just to be safe...
28976 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28977 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28981 # The name set by libtool depends on the version of libtool. Shame on us
28982 # for depending on an impl detail, but c'est la vie. Older versions used
28983 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28984 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28985 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28986 # set (hence we're using an older libtool), then set it.
28987 if test x${with_gnu_ld+set} != xset; then
28988 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28989 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28990 with_gnu_ld=no
28991 else
28992 with_gnu_ld=$ac_cv_prog_gnu_ld
28996 # Start by getting the version number. I think the libtool test already
28997 # does some of this, but throws away the result.
28998 glibcxx_ld_is_gold=no
28999 if test x"$with_gnu_ld" = x"yes"; then
29000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29001 $as_echo_n "checking for ld version... " >&6; }
29003 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29004 glibcxx_ld_is_gold=yes
29006 ldver=`$LD --version 2>/dev/null |
29007 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'`
29009 glibcxx_gnu_ld_version=`echo $ldver | \
29010 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29012 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29015 # Set --gc-sections.
29016 glibcxx_have_gc_sections=no
29017 if test "$glibcxx_ld_is_gold" = "yes"; then
29018 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29019 glibcxx_have_gc_sections=yes
29021 else
29022 glibcxx_gcsections_min_ld=21602
29023 if test x"$with_gnu_ld" = x"yes" &&
29024 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29025 glibcxx_have_gc_sections=yes
29028 if test "$glibcxx_have_gc_sections" = "yes"; then
29029 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29030 # NB: This flag only works reliably after 2.16.1. Configure tests
29031 # for this are difficult, so hard wire a value that should work.
29033 ac_test_CFLAGS="${CFLAGS+set}"
29034 ac_save_CFLAGS="$CFLAGS"
29035 CFLAGS='-Wl,--gc-sections'
29037 # Check for -Wl,--gc-sections
29038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29039 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29040 if test x$gcc_no_link = xyes; then
29041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29044 /* end confdefs.h. */
29045 int one(void) { return 1; }
29046 int two(void) { return 2; }
29049 main ()
29051 two();
29053 return 0;
29055 _ACEOF
29056 if ac_fn_c_try_link "$LINENO"; then :
29057 ac_gcsections=yes
29058 else
29059 ac_gcsections=no
29061 rm -f core conftest.err conftest.$ac_objext \
29062 conftest$ac_exeext conftest.$ac_ext
29063 if test "$ac_gcsections" = "yes"; then
29064 rm -f conftest.c
29065 touch conftest.c
29066 if $CC -c conftest.c; then
29067 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29068 grep "Warning: gc-sections option ignored" > /dev/null; then
29069 ac_gcsections=no
29072 rm -f conftest.c conftest.o conftest
29074 if test "$ac_gcsections" = "yes"; then
29075 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29078 $as_echo "$ac_gcsections" >&6; }
29080 if test "$ac_test_CFLAGS" = set; then
29081 CFLAGS="$ac_save_CFLAGS"
29082 else
29083 # this is the suspicious part
29084 CFLAGS=''
29088 # Set -z,relro.
29089 # Note this is only for shared objects.
29090 ac_ld_relro=no
29091 if test x"$with_gnu_ld" = x"yes"; then
29092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29093 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29094 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29095 if test -n "$cxx_z_relo"; then
29096 OPT_LDFLAGS="-Wl,-z,relro"
29097 ac_ld_relro=yes
29099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29100 $as_echo "$ac_ld_relro" >&6; }
29103 # Set linker optimization flags.
29104 if test x"$with_gnu_ld" = x"yes"; then
29105 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29112 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29113 ac_save_CXXFLAGS="$CXXFLAGS"
29114 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29117 $as_echo_n "checking for sin in -lm... " >&6; }
29118 if test "${ac_cv_lib_m_sin+set}" = set; then :
29119 $as_echo_n "(cached) " >&6
29120 else
29121 ac_check_lib_save_LIBS=$LIBS
29122 LIBS="-lm $LIBS"
29123 if test x$gcc_no_link = xyes; then
29124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29127 /* end confdefs.h. */
29129 /* Override any GCC internal prototype to avoid an error.
29130 Use char because int might match the return type of a GCC
29131 builtin and then its argument prototype would still apply. */
29132 #ifdef __cplusplus
29133 extern "C"
29134 #endif
29135 char sin ();
29137 main ()
29139 return sin ();
29141 return 0;
29143 _ACEOF
29144 if ac_fn_c_try_link "$LINENO"; then :
29145 ac_cv_lib_m_sin=yes
29146 else
29147 ac_cv_lib_m_sin=no
29149 rm -f core conftest.err conftest.$ac_objext \
29150 conftest$ac_exeext conftest.$ac_ext
29151 LIBS=$ac_check_lib_save_LIBS
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29154 $as_echo "$ac_cv_lib_m_sin" >&6; }
29155 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29156 libm="-lm"
29159 ac_save_LIBS="$LIBS"
29160 LIBS="$LIBS $libm"
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29165 $as_echo_n "checking for isinf declaration... " >&6; }
29166 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29167 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29168 $as_echo_n "(cached) " >&6
29169 else
29172 ac_ext=cpp
29173 ac_cpp='$CXXCPP $CPPFLAGS'
29174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29179 /* end confdefs.h. */
29180 #include <math.h>
29181 #ifdef HAVE_IEEEFP_H
29182 #include <ieeefp.h>
29183 #endif
29186 main ()
29188 isinf(0);
29190 return 0;
29192 _ACEOF
29193 if ac_fn_cxx_try_compile "$LINENO"; then :
29194 glibcxx_cv_func_isinf_use=yes
29195 else
29196 glibcxx_cv_func_isinf_use=no
29198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29199 ac_ext=c
29200 ac_cpp='$CPP $CPPFLAGS'
29201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29210 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29212 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29213 for ac_func in isinf
29214 do :
29215 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29216 if test "x$ac_cv_func_isinf" = x""yes; then :
29217 cat >>confdefs.h <<_ACEOF
29218 #define HAVE_ISINF 1
29219 _ACEOF
29222 done
29224 else
29226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29227 $as_echo_n "checking for _isinf declaration... " >&6; }
29228 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29229 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29230 $as_echo_n "(cached) " >&6
29231 else
29234 ac_ext=cpp
29235 ac_cpp='$CXXCPP $CPPFLAGS'
29236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29241 /* end confdefs.h. */
29242 #include <math.h>
29243 #ifdef HAVE_IEEEFP_H
29244 #include <ieeefp.h>
29245 #endif
29248 main ()
29250 _isinf(0);
29252 return 0;
29254 _ACEOF
29255 if ac_fn_cxx_try_compile "$LINENO"; then :
29256 glibcxx_cv_func__isinf_use=yes
29257 else
29258 glibcxx_cv_func__isinf_use=no
29260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29261 ac_ext=c
29262 ac_cpp='$CPP $CPPFLAGS'
29263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29272 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29274 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29275 for ac_func in _isinf
29276 do :
29277 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29278 if test "x$ac_cv_func__isinf" = x""yes; then :
29279 cat >>confdefs.h <<_ACEOF
29280 #define HAVE__ISINF 1
29281 _ACEOF
29284 done
29293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29294 $as_echo_n "checking for isnan declaration... " >&6; }
29295 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29296 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29297 $as_echo_n "(cached) " >&6
29298 else
29301 ac_ext=cpp
29302 ac_cpp='$CXXCPP $CPPFLAGS'
29303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29308 /* end confdefs.h. */
29309 #include <math.h>
29310 #ifdef HAVE_IEEEFP_H
29311 #include <ieeefp.h>
29312 #endif
29315 main ()
29317 isnan(0);
29319 return 0;
29321 _ACEOF
29322 if ac_fn_cxx_try_compile "$LINENO"; then :
29323 glibcxx_cv_func_isnan_use=yes
29324 else
29325 glibcxx_cv_func_isnan_use=no
29327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29328 ac_ext=c
29329 ac_cpp='$CPP $CPPFLAGS'
29330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29339 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29341 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29342 for ac_func in isnan
29343 do :
29344 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29345 if test "x$ac_cv_func_isnan" = x""yes; then :
29346 cat >>confdefs.h <<_ACEOF
29347 #define HAVE_ISNAN 1
29348 _ACEOF
29351 done
29353 else
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29356 $as_echo_n "checking for _isnan declaration... " >&6; }
29357 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29358 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29359 $as_echo_n "(cached) " >&6
29360 else
29363 ac_ext=cpp
29364 ac_cpp='$CXXCPP $CPPFLAGS'
29365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29370 /* end confdefs.h. */
29371 #include <math.h>
29372 #ifdef HAVE_IEEEFP_H
29373 #include <ieeefp.h>
29374 #endif
29377 main ()
29379 _isnan(0);
29381 return 0;
29383 _ACEOF
29384 if ac_fn_cxx_try_compile "$LINENO"; then :
29385 glibcxx_cv_func__isnan_use=yes
29386 else
29387 glibcxx_cv_func__isnan_use=no
29389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 ac_ext=c
29391 ac_cpp='$CPP $CPPFLAGS'
29392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29401 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29403 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29404 for ac_func in _isnan
29405 do :
29406 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29407 if test "x$ac_cv_func__isnan" = x""yes; then :
29408 cat >>confdefs.h <<_ACEOF
29409 #define HAVE__ISNAN 1
29410 _ACEOF
29413 done
29422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29423 $as_echo_n "checking for finite declaration... " >&6; }
29424 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29425 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29426 $as_echo_n "(cached) " >&6
29427 else
29430 ac_ext=cpp
29431 ac_cpp='$CXXCPP $CPPFLAGS'
29432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29437 /* end confdefs.h. */
29438 #include <math.h>
29439 #ifdef HAVE_IEEEFP_H
29440 #include <ieeefp.h>
29441 #endif
29444 main ()
29446 finite(0);
29448 return 0;
29450 _ACEOF
29451 if ac_fn_cxx_try_compile "$LINENO"; then :
29452 glibcxx_cv_func_finite_use=yes
29453 else
29454 glibcxx_cv_func_finite_use=no
29456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29457 ac_ext=c
29458 ac_cpp='$CPP $CPPFLAGS'
29459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29468 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29470 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29471 for ac_func in finite
29472 do :
29473 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29474 if test "x$ac_cv_func_finite" = x""yes; then :
29475 cat >>confdefs.h <<_ACEOF
29476 #define HAVE_FINITE 1
29477 _ACEOF
29480 done
29482 else
29484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29485 $as_echo_n "checking for _finite declaration... " >&6; }
29486 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29487 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29488 $as_echo_n "(cached) " >&6
29489 else
29492 ac_ext=cpp
29493 ac_cpp='$CXXCPP $CPPFLAGS'
29494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29499 /* end confdefs.h. */
29500 #include <math.h>
29501 #ifdef HAVE_IEEEFP_H
29502 #include <ieeefp.h>
29503 #endif
29506 main ()
29508 _finite(0);
29510 return 0;
29512 _ACEOF
29513 if ac_fn_cxx_try_compile "$LINENO"; then :
29514 glibcxx_cv_func__finite_use=yes
29515 else
29516 glibcxx_cv_func__finite_use=no
29518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29519 ac_ext=c
29520 ac_cpp='$CPP $CPPFLAGS'
29521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29530 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29532 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29533 for ac_func in _finite
29534 do :
29535 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29536 if test "x$ac_cv_func__finite" = x""yes; then :
29537 cat >>confdefs.h <<_ACEOF
29538 #define HAVE__FINITE 1
29539 _ACEOF
29542 done
29551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29552 $as_echo_n "checking for sincos declaration... " >&6; }
29553 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29554 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29555 $as_echo_n "(cached) " >&6
29556 else
29559 ac_ext=cpp
29560 ac_cpp='$CXXCPP $CPPFLAGS'
29561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29566 /* end confdefs.h. */
29567 #include <math.h>
29569 main ()
29571 sincos(0, 0, 0);
29573 return 0;
29575 _ACEOF
29576 if ac_fn_cxx_try_compile "$LINENO"; then :
29577 glibcxx_cv_func_sincos_use=yes
29578 else
29579 glibcxx_cv_func_sincos_use=no
29581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29582 ac_ext=c
29583 ac_cpp='$CPP $CPPFLAGS'
29584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29593 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29595 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29596 for ac_func in sincos
29597 do :
29598 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29599 if test "x$ac_cv_func_sincos" = x""yes; then :
29600 cat >>confdefs.h <<_ACEOF
29601 #define HAVE_SINCOS 1
29602 _ACEOF
29605 done
29607 else
29609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29610 $as_echo_n "checking for _sincos declaration... " >&6; }
29611 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29612 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29613 $as_echo_n "(cached) " >&6
29614 else
29617 ac_ext=cpp
29618 ac_cpp='$CXXCPP $CPPFLAGS'
29619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29624 /* end confdefs.h. */
29625 #include <math.h>
29627 main ()
29629 _sincos(0, 0, 0);
29631 return 0;
29633 _ACEOF
29634 if ac_fn_cxx_try_compile "$LINENO"; then :
29635 glibcxx_cv_func__sincos_use=yes
29636 else
29637 glibcxx_cv_func__sincos_use=no
29639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29640 ac_ext=c
29641 ac_cpp='$CPP $CPPFLAGS'
29642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29651 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29653 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29654 for ac_func in _sincos
29655 do :
29656 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29657 if test "x$ac_cv_func__sincos" = x""yes; then :
29658 cat >>confdefs.h <<_ACEOF
29659 #define HAVE__SINCOS 1
29660 _ACEOF
29663 done
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29673 $as_echo_n "checking for fpclass declaration... " >&6; }
29674 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29675 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29676 $as_echo_n "(cached) " >&6
29677 else
29680 ac_ext=cpp
29681 ac_cpp='$CXXCPP $CPPFLAGS'
29682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29687 /* end confdefs.h. */
29688 #include <math.h>
29689 #ifdef HAVE_IEEEFP_H
29690 #include <ieeefp.h>
29691 #endif
29694 main ()
29696 fpclass(0);
29698 return 0;
29700 _ACEOF
29701 if ac_fn_cxx_try_compile "$LINENO"; then :
29702 glibcxx_cv_func_fpclass_use=yes
29703 else
29704 glibcxx_cv_func_fpclass_use=no
29706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29707 ac_ext=c
29708 ac_cpp='$CPP $CPPFLAGS'
29709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29718 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29720 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29721 for ac_func in fpclass
29722 do :
29723 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29724 if test "x$ac_cv_func_fpclass" = x""yes; then :
29725 cat >>confdefs.h <<_ACEOF
29726 #define HAVE_FPCLASS 1
29727 _ACEOF
29730 done
29732 else
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29735 $as_echo_n "checking for _fpclass declaration... " >&6; }
29736 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29737 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29738 $as_echo_n "(cached) " >&6
29739 else
29742 ac_ext=cpp
29743 ac_cpp='$CXXCPP $CPPFLAGS'
29744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29749 /* end confdefs.h. */
29750 #include <math.h>
29751 #ifdef HAVE_IEEEFP_H
29752 #include <ieeefp.h>
29753 #endif
29756 main ()
29758 _fpclass(0);
29760 return 0;
29762 _ACEOF
29763 if ac_fn_cxx_try_compile "$LINENO"; then :
29764 glibcxx_cv_func__fpclass_use=yes
29765 else
29766 glibcxx_cv_func__fpclass_use=no
29768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29769 ac_ext=c
29770 ac_cpp='$CPP $CPPFLAGS'
29771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29780 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29782 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29783 for ac_func in _fpclass
29784 do :
29785 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29786 if test "x$ac_cv_func__fpclass" = x""yes; then :
29787 cat >>confdefs.h <<_ACEOF
29788 #define HAVE__FPCLASS 1
29789 _ACEOF
29792 done
29801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29802 $as_echo_n "checking for qfpclass declaration... " >&6; }
29803 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29804 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29805 $as_echo_n "(cached) " >&6
29806 else
29809 ac_ext=cpp
29810 ac_cpp='$CXXCPP $CPPFLAGS'
29811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29816 /* end confdefs.h. */
29817 #include <math.h>
29818 #ifdef HAVE_IEEEFP_H
29819 #include <ieeefp.h>
29820 #endif
29823 main ()
29825 qfpclass(0);
29827 return 0;
29829 _ACEOF
29830 if ac_fn_cxx_try_compile "$LINENO"; then :
29831 glibcxx_cv_func_qfpclass_use=yes
29832 else
29833 glibcxx_cv_func_qfpclass_use=no
29835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29836 ac_ext=c
29837 ac_cpp='$CPP $CPPFLAGS'
29838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29847 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29849 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29850 for ac_func in qfpclass
29851 do :
29852 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29853 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29854 cat >>confdefs.h <<_ACEOF
29855 #define HAVE_QFPCLASS 1
29856 _ACEOF
29859 done
29861 else
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29864 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29865 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29866 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29867 $as_echo_n "(cached) " >&6
29868 else
29871 ac_ext=cpp
29872 ac_cpp='$CXXCPP $CPPFLAGS'
29873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29878 /* end confdefs.h. */
29879 #include <math.h>
29880 #ifdef HAVE_IEEEFP_H
29881 #include <ieeefp.h>
29882 #endif
29885 main ()
29887 _qfpclass(0);
29889 return 0;
29891 _ACEOF
29892 if ac_fn_cxx_try_compile "$LINENO"; then :
29893 glibcxx_cv_func__qfpclass_use=yes
29894 else
29895 glibcxx_cv_func__qfpclass_use=no
29897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29898 ac_ext=c
29899 ac_cpp='$CPP $CPPFLAGS'
29900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29909 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29911 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29912 for ac_func in _qfpclass
29913 do :
29914 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29915 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29916 cat >>confdefs.h <<_ACEOF
29917 #define HAVE__QFPCLASS 1
29918 _ACEOF
29921 done
29930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29931 $as_echo_n "checking for hypot declaration... " >&6; }
29932 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29933 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29934 $as_echo_n "(cached) " >&6
29935 else
29938 ac_ext=cpp
29939 ac_cpp='$CXXCPP $CPPFLAGS'
29940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29945 /* end confdefs.h. */
29946 #include <math.h>
29948 main ()
29950 hypot(0, 0);
29952 return 0;
29954 _ACEOF
29955 if ac_fn_cxx_try_compile "$LINENO"; then :
29956 glibcxx_cv_func_hypot_use=yes
29957 else
29958 glibcxx_cv_func_hypot_use=no
29960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961 ac_ext=c
29962 ac_cpp='$CPP $CPPFLAGS'
29963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29972 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29974 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29975 for ac_func in hypot
29976 do :
29977 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29978 if test "x$ac_cv_func_hypot" = x""yes; then :
29979 cat >>confdefs.h <<_ACEOF
29980 #define HAVE_HYPOT 1
29981 _ACEOF
29984 done
29986 else
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29989 $as_echo_n "checking for _hypot declaration... " >&6; }
29990 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29991 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29996 ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h. */
30004 #include <math.h>
30006 main ()
30008 _hypot(0, 0);
30010 return 0;
30012 _ACEOF
30013 if ac_fn_cxx_try_compile "$LINENO"; then :
30014 glibcxx_cv_func__hypot_use=yes
30015 else
30016 glibcxx_cv_func__hypot_use=no
30018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30019 ac_ext=c
30020 ac_cpp='$CPP $CPPFLAGS'
30021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30030 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30032 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30033 for ac_func in _hypot
30034 do :
30035 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30036 if test "x$ac_cv_func__hypot" = x""yes; then :
30037 cat >>confdefs.h <<_ACEOF
30038 #define HAVE__HYPOT 1
30039 _ACEOF
30042 done
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30052 $as_echo_n "checking for float trig functions... " >&6; }
30053 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30054 $as_echo_n "(cached) " >&6
30055 else
30058 ac_ext=cpp
30059 ac_cpp='$CXXCPP $CPPFLAGS'
30060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30065 /* end confdefs.h. */
30066 #include <math.h>
30068 main ()
30070 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30072 return 0;
30074 _ACEOF
30075 if ac_fn_cxx_try_compile "$LINENO"; then :
30076 glibcxx_cv_func_float_trig_use=yes
30077 else
30078 glibcxx_cv_func_float_trig_use=no
30080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30081 ac_ext=c
30082 ac_cpp='$CPP $CPPFLAGS'
30083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30090 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30091 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30092 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30093 do :
30094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30096 eval as_val=\$$as_ac_var
30097 if test "x$as_val" = x""yes; then :
30098 cat >>confdefs.h <<_ACEOF
30099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30100 _ACEOF
30103 done
30105 else
30106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30107 $as_echo_n "checking for _float trig functions... " >&6; }
30108 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30109 $as_echo_n "(cached) " >&6
30110 else
30113 ac_ext=cpp
30114 ac_cpp='$CXXCPP $CPPFLAGS'
30115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30120 /* end confdefs.h. */
30121 #include <math.h>
30123 main ()
30125 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30127 return 0;
30129 _ACEOF
30130 if ac_fn_cxx_try_compile "$LINENO"; then :
30131 glibcxx_cv_func__float_trig_use=yes
30132 else
30133 glibcxx_cv_func__float_trig_use=no
30135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30136 ac_ext=c
30137 ac_cpp='$CPP $CPPFLAGS'
30138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30145 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30146 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30147 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30148 do :
30149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30151 eval as_val=\$$as_ac_var
30152 if test "x$as_val" = x""yes; then :
30153 cat >>confdefs.h <<_ACEOF
30154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30155 _ACEOF
30158 done
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30168 $as_echo_n "checking for float round functions... " >&6; }
30169 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30170 $as_echo_n "(cached) " >&6
30171 else
30174 ac_ext=cpp
30175 ac_cpp='$CXXCPP $CPPFLAGS'
30176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30181 /* end confdefs.h. */
30182 #include <math.h>
30184 main ()
30186 ceilf (0); floorf (0);
30188 return 0;
30190 _ACEOF
30191 if ac_fn_cxx_try_compile "$LINENO"; then :
30192 glibcxx_cv_func_float_round_use=yes
30193 else
30194 glibcxx_cv_func_float_round_use=no
30196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30197 ac_ext=c
30198 ac_cpp='$CPP $CPPFLAGS'
30199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30206 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30207 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30208 for ac_func in ceilf floorf
30209 do :
30210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30212 eval as_val=\$$as_ac_var
30213 if test "x$as_val" = x""yes; then :
30214 cat >>confdefs.h <<_ACEOF
30215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30216 _ACEOF
30219 done
30221 else
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30223 $as_echo_n "checking for _float round functions... " >&6; }
30224 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30225 $as_echo_n "(cached) " >&6
30226 else
30229 ac_ext=cpp
30230 ac_cpp='$CXXCPP $CPPFLAGS'
30231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30236 /* end confdefs.h. */
30237 #include <math.h>
30239 main ()
30241 _ceilf (0); _floorf (0);
30243 return 0;
30245 _ACEOF
30246 if ac_fn_cxx_try_compile "$LINENO"; then :
30247 glibcxx_cv_func__float_round_use=yes
30248 else
30249 glibcxx_cv_func__float_round_use=no
30251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30252 ac_ext=c
30253 ac_cpp='$CPP $CPPFLAGS'
30254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30261 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30262 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30263 for ac_func in _ceilf _floorf
30264 do :
30265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30267 eval as_val=\$$as_ac_var
30268 if test "x$as_val" = x""yes; then :
30269 cat >>confdefs.h <<_ACEOF
30270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30271 _ACEOF
30274 done
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30285 $as_echo_n "checking for expf declaration... " >&6; }
30286 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30287 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30288 $as_echo_n "(cached) " >&6
30289 else
30292 ac_ext=cpp
30293 ac_cpp='$CXXCPP $CPPFLAGS'
30294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30299 /* end confdefs.h. */
30300 #include <math.h>
30301 #ifdef HAVE_IEEEFP_H
30302 #include <ieeefp.h>
30303 #endif
30306 main ()
30308 expf(0);
30310 return 0;
30312 _ACEOF
30313 if ac_fn_cxx_try_compile "$LINENO"; then :
30314 glibcxx_cv_func_expf_use=yes
30315 else
30316 glibcxx_cv_func_expf_use=no
30318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30319 ac_ext=c
30320 ac_cpp='$CPP $CPPFLAGS'
30321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30330 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30332 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30333 for ac_func in expf
30334 do :
30335 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30336 if test "x$ac_cv_func_expf" = x""yes; then :
30337 cat >>confdefs.h <<_ACEOF
30338 #define HAVE_EXPF 1
30339 _ACEOF
30342 done
30344 else
30346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30347 $as_echo_n "checking for _expf declaration... " >&6; }
30348 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30349 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30350 $as_echo_n "(cached) " >&6
30351 else
30354 ac_ext=cpp
30355 ac_cpp='$CXXCPP $CPPFLAGS'
30356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30361 /* end confdefs.h. */
30362 #include <math.h>
30363 #ifdef HAVE_IEEEFP_H
30364 #include <ieeefp.h>
30365 #endif
30368 main ()
30370 _expf(0);
30372 return 0;
30374 _ACEOF
30375 if ac_fn_cxx_try_compile "$LINENO"; then :
30376 glibcxx_cv_func__expf_use=yes
30377 else
30378 glibcxx_cv_func__expf_use=no
30380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30381 ac_ext=c
30382 ac_cpp='$CPP $CPPFLAGS'
30383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30392 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30394 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30395 for ac_func in _expf
30396 do :
30397 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30398 if test "x$ac_cv_func__expf" = x""yes; then :
30399 cat >>confdefs.h <<_ACEOF
30400 #define HAVE__EXPF 1
30401 _ACEOF
30404 done
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30414 $as_echo_n "checking for isnanf declaration... " >&6; }
30415 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30416 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30417 $as_echo_n "(cached) " >&6
30418 else
30421 ac_ext=cpp
30422 ac_cpp='$CXXCPP $CPPFLAGS'
30423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30428 /* end confdefs.h. */
30429 #include <math.h>
30430 #ifdef HAVE_IEEEFP_H
30431 #include <ieeefp.h>
30432 #endif
30435 main ()
30437 isnanf(0);
30439 return 0;
30441 _ACEOF
30442 if ac_fn_cxx_try_compile "$LINENO"; then :
30443 glibcxx_cv_func_isnanf_use=yes
30444 else
30445 glibcxx_cv_func_isnanf_use=no
30447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30448 ac_ext=c
30449 ac_cpp='$CPP $CPPFLAGS'
30450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30459 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30461 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30462 for ac_func in isnanf
30463 do :
30464 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30465 if test "x$ac_cv_func_isnanf" = x""yes; then :
30466 cat >>confdefs.h <<_ACEOF
30467 #define HAVE_ISNANF 1
30468 _ACEOF
30471 done
30473 else
30475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30476 $as_echo_n "checking for _isnanf declaration... " >&6; }
30477 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30478 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30479 $as_echo_n "(cached) " >&6
30480 else
30483 ac_ext=cpp
30484 ac_cpp='$CXXCPP $CPPFLAGS'
30485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30490 /* end confdefs.h. */
30491 #include <math.h>
30492 #ifdef HAVE_IEEEFP_H
30493 #include <ieeefp.h>
30494 #endif
30497 main ()
30499 _isnanf(0);
30501 return 0;
30503 _ACEOF
30504 if ac_fn_cxx_try_compile "$LINENO"; then :
30505 glibcxx_cv_func__isnanf_use=yes
30506 else
30507 glibcxx_cv_func__isnanf_use=no
30509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30510 ac_ext=c
30511 ac_cpp='$CPP $CPPFLAGS'
30512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30521 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30523 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30524 for ac_func in _isnanf
30525 do :
30526 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30527 if test "x$ac_cv_func__isnanf" = x""yes; then :
30528 cat >>confdefs.h <<_ACEOF
30529 #define HAVE__ISNANF 1
30530 _ACEOF
30533 done
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30543 $as_echo_n "checking for isinff declaration... " >&6; }
30544 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30545 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30546 $as_echo_n "(cached) " >&6
30547 else
30550 ac_ext=cpp
30551 ac_cpp='$CXXCPP $CPPFLAGS'
30552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30557 /* end confdefs.h. */
30558 #include <math.h>
30559 #ifdef HAVE_IEEEFP_H
30560 #include <ieeefp.h>
30561 #endif
30564 main ()
30566 isinff(0);
30568 return 0;
30570 _ACEOF
30571 if ac_fn_cxx_try_compile "$LINENO"; then :
30572 glibcxx_cv_func_isinff_use=yes
30573 else
30574 glibcxx_cv_func_isinff_use=no
30576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30577 ac_ext=c
30578 ac_cpp='$CPP $CPPFLAGS'
30579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30588 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30590 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30591 for ac_func in isinff
30592 do :
30593 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30594 if test "x$ac_cv_func_isinff" = x""yes; then :
30595 cat >>confdefs.h <<_ACEOF
30596 #define HAVE_ISINFF 1
30597 _ACEOF
30600 done
30602 else
30604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30605 $as_echo_n "checking for _isinff declaration... " >&6; }
30606 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30607 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30608 $as_echo_n "(cached) " >&6
30609 else
30612 ac_ext=cpp
30613 ac_cpp='$CXXCPP $CPPFLAGS'
30614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30619 /* end confdefs.h. */
30620 #include <math.h>
30621 #ifdef HAVE_IEEEFP_H
30622 #include <ieeefp.h>
30623 #endif
30626 main ()
30628 _isinff(0);
30630 return 0;
30632 _ACEOF
30633 if ac_fn_cxx_try_compile "$LINENO"; then :
30634 glibcxx_cv_func__isinff_use=yes
30635 else
30636 glibcxx_cv_func__isinff_use=no
30638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30639 ac_ext=c
30640 ac_cpp='$CPP $CPPFLAGS'
30641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30650 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30652 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30653 for ac_func in _isinff
30654 do :
30655 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30656 if test "x$ac_cv_func__isinff" = x""yes; then :
30657 cat >>confdefs.h <<_ACEOF
30658 #define HAVE__ISINFF 1
30659 _ACEOF
30662 done
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30672 $as_echo_n "checking for atan2f declaration... " >&6; }
30673 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30674 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30675 $as_echo_n "(cached) " >&6
30676 else
30679 ac_ext=cpp
30680 ac_cpp='$CXXCPP $CPPFLAGS'
30681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30686 /* end confdefs.h. */
30687 #include <math.h>
30689 main ()
30691 atan2f(0, 0);
30693 return 0;
30695 _ACEOF
30696 if ac_fn_cxx_try_compile "$LINENO"; then :
30697 glibcxx_cv_func_atan2f_use=yes
30698 else
30699 glibcxx_cv_func_atan2f_use=no
30701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30702 ac_ext=c
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30713 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30715 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30716 for ac_func in atan2f
30717 do :
30718 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30719 if test "x$ac_cv_func_atan2f" = x""yes; then :
30720 cat >>confdefs.h <<_ACEOF
30721 #define HAVE_ATAN2F 1
30722 _ACEOF
30725 done
30727 else
30729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30730 $as_echo_n "checking for _atan2f declaration... " >&6; }
30731 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30732 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30733 $as_echo_n "(cached) " >&6
30734 else
30737 ac_ext=cpp
30738 ac_cpp='$CXXCPP $CPPFLAGS'
30739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 /* end confdefs.h. */
30745 #include <math.h>
30747 main ()
30749 _atan2f(0, 0);
30751 return 0;
30753 _ACEOF
30754 if ac_fn_cxx_try_compile "$LINENO"; then :
30755 glibcxx_cv_func__atan2f_use=yes
30756 else
30757 glibcxx_cv_func__atan2f_use=no
30759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30760 ac_ext=c
30761 ac_cpp='$CPP $CPPFLAGS'
30762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30771 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30773 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30774 for ac_func in _atan2f
30775 do :
30776 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30777 if test "x$ac_cv_func__atan2f" = x""yes; then :
30778 cat >>confdefs.h <<_ACEOF
30779 #define HAVE__ATAN2F 1
30780 _ACEOF
30783 done
30792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30793 $as_echo_n "checking for fabsf declaration... " >&6; }
30794 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30795 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30796 $as_echo_n "(cached) " >&6
30797 else
30800 ac_ext=cpp
30801 ac_cpp='$CXXCPP $CPPFLAGS'
30802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30807 /* end confdefs.h. */
30808 #include <math.h>
30809 #ifdef HAVE_IEEEFP_H
30810 #include <ieeefp.h>
30811 #endif
30814 main ()
30816 fabsf(0);
30818 return 0;
30820 _ACEOF
30821 if ac_fn_cxx_try_compile "$LINENO"; then :
30822 glibcxx_cv_func_fabsf_use=yes
30823 else
30824 glibcxx_cv_func_fabsf_use=no
30826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30827 ac_ext=c
30828 ac_cpp='$CPP $CPPFLAGS'
30829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30838 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30840 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30841 for ac_func in fabsf
30842 do :
30843 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30844 if test "x$ac_cv_func_fabsf" = x""yes; then :
30845 cat >>confdefs.h <<_ACEOF
30846 #define HAVE_FABSF 1
30847 _ACEOF
30850 done
30852 else
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30855 $as_echo_n "checking for _fabsf declaration... " >&6; }
30856 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30857 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30858 $as_echo_n "(cached) " >&6
30859 else
30862 ac_ext=cpp
30863 ac_cpp='$CXXCPP $CPPFLAGS'
30864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30869 /* end confdefs.h. */
30870 #include <math.h>
30871 #ifdef HAVE_IEEEFP_H
30872 #include <ieeefp.h>
30873 #endif
30876 main ()
30878 _fabsf(0);
30880 return 0;
30882 _ACEOF
30883 if ac_fn_cxx_try_compile "$LINENO"; then :
30884 glibcxx_cv_func__fabsf_use=yes
30885 else
30886 glibcxx_cv_func__fabsf_use=no
30888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30889 ac_ext=c
30890 ac_cpp='$CPP $CPPFLAGS'
30891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30900 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30902 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30903 for ac_func in _fabsf
30904 do :
30905 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30906 if test "x$ac_cv_func__fabsf" = x""yes; then :
30907 cat >>confdefs.h <<_ACEOF
30908 #define HAVE__FABSF 1
30909 _ACEOF
30912 done
30921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30922 $as_echo_n "checking for fmodf declaration... " >&6; }
30923 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30924 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30925 $as_echo_n "(cached) " >&6
30926 else
30929 ac_ext=cpp
30930 ac_cpp='$CXXCPP $CPPFLAGS'
30931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30936 /* end confdefs.h. */
30937 #include <math.h>
30939 main ()
30941 fmodf(0, 0);
30943 return 0;
30945 _ACEOF
30946 if ac_fn_cxx_try_compile "$LINENO"; then :
30947 glibcxx_cv_func_fmodf_use=yes
30948 else
30949 glibcxx_cv_func_fmodf_use=no
30951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30952 ac_ext=c
30953 ac_cpp='$CPP $CPPFLAGS'
30954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30963 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30965 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30966 for ac_func in fmodf
30967 do :
30968 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30969 if test "x$ac_cv_func_fmodf" = x""yes; then :
30970 cat >>confdefs.h <<_ACEOF
30971 #define HAVE_FMODF 1
30972 _ACEOF
30975 done
30977 else
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30980 $as_echo_n "checking for _fmodf declaration... " >&6; }
30981 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30982 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30983 $as_echo_n "(cached) " >&6
30984 else
30987 ac_ext=cpp
30988 ac_cpp='$CXXCPP $CPPFLAGS'
30989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30994 /* end confdefs.h. */
30995 #include <math.h>
30997 main ()
30999 _fmodf(0, 0);
31001 return 0;
31003 _ACEOF
31004 if ac_fn_cxx_try_compile "$LINENO"; then :
31005 glibcxx_cv_func__fmodf_use=yes
31006 else
31007 glibcxx_cv_func__fmodf_use=no
31009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31010 ac_ext=c
31011 ac_cpp='$CPP $CPPFLAGS'
31012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31021 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31023 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31024 for ac_func in _fmodf
31025 do :
31026 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31027 if test "x$ac_cv_func__fmodf" = x""yes; then :
31028 cat >>confdefs.h <<_ACEOF
31029 #define HAVE__FMODF 1
31030 _ACEOF
31033 done
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31043 $as_echo_n "checking for frexpf declaration... " >&6; }
31044 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31045 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31046 $as_echo_n "(cached) " >&6
31047 else
31050 ac_ext=cpp
31051 ac_cpp='$CXXCPP $CPPFLAGS'
31052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h. */
31058 #include <math.h>
31060 main ()
31062 frexpf(0, 0);
31064 return 0;
31066 _ACEOF
31067 if ac_fn_cxx_try_compile "$LINENO"; then :
31068 glibcxx_cv_func_frexpf_use=yes
31069 else
31070 glibcxx_cv_func_frexpf_use=no
31072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31073 ac_ext=c
31074 ac_cpp='$CPP $CPPFLAGS'
31075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31084 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31086 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31087 for ac_func in frexpf
31088 do :
31089 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31090 if test "x$ac_cv_func_frexpf" = x""yes; then :
31091 cat >>confdefs.h <<_ACEOF
31092 #define HAVE_FREXPF 1
31093 _ACEOF
31096 done
31098 else
31100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31101 $as_echo_n "checking for _frexpf declaration... " >&6; }
31102 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31103 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31104 $as_echo_n "(cached) " >&6
31105 else
31108 ac_ext=cpp
31109 ac_cpp='$CXXCPP $CPPFLAGS'
31110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31115 /* end confdefs.h. */
31116 #include <math.h>
31118 main ()
31120 _frexpf(0, 0);
31122 return 0;
31124 _ACEOF
31125 if ac_fn_cxx_try_compile "$LINENO"; then :
31126 glibcxx_cv_func__frexpf_use=yes
31127 else
31128 glibcxx_cv_func__frexpf_use=no
31130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31131 ac_ext=c
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31142 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31144 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31145 for ac_func in _frexpf
31146 do :
31147 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31148 if test "x$ac_cv_func__frexpf" = x""yes; then :
31149 cat >>confdefs.h <<_ACEOF
31150 #define HAVE__FREXPF 1
31151 _ACEOF
31154 done
31163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31164 $as_echo_n "checking for hypotf declaration... " >&6; }
31165 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31166 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31167 $as_echo_n "(cached) " >&6
31168 else
31171 ac_ext=cpp
31172 ac_cpp='$CXXCPP $CPPFLAGS'
31173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31178 /* end confdefs.h. */
31179 #include <math.h>
31181 main ()
31183 hypotf(0, 0);
31185 return 0;
31187 _ACEOF
31188 if ac_fn_cxx_try_compile "$LINENO"; then :
31189 glibcxx_cv_func_hypotf_use=yes
31190 else
31191 glibcxx_cv_func_hypotf_use=no
31193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31194 ac_ext=c
31195 ac_cpp='$CPP $CPPFLAGS'
31196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31205 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31207 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31208 for ac_func in hypotf
31209 do :
31210 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31211 if test "x$ac_cv_func_hypotf" = x""yes; then :
31212 cat >>confdefs.h <<_ACEOF
31213 #define HAVE_HYPOTF 1
31214 _ACEOF
31217 done
31219 else
31221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31222 $as_echo_n "checking for _hypotf declaration... " >&6; }
31223 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31224 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31225 $as_echo_n "(cached) " >&6
31226 else
31229 ac_ext=cpp
31230 ac_cpp='$CXXCPP $CPPFLAGS'
31231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31236 /* end confdefs.h. */
31237 #include <math.h>
31239 main ()
31241 _hypotf(0, 0);
31243 return 0;
31245 _ACEOF
31246 if ac_fn_cxx_try_compile "$LINENO"; then :
31247 glibcxx_cv_func__hypotf_use=yes
31248 else
31249 glibcxx_cv_func__hypotf_use=no
31251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31252 ac_ext=c
31253 ac_cpp='$CPP $CPPFLAGS'
31254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31263 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31265 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31266 for ac_func in _hypotf
31267 do :
31268 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31269 if test "x$ac_cv_func__hypotf" = x""yes; then :
31270 cat >>confdefs.h <<_ACEOF
31271 #define HAVE__HYPOTF 1
31272 _ACEOF
31275 done
31284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31285 $as_echo_n "checking for ldexpf declaration... " >&6; }
31286 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31287 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31288 $as_echo_n "(cached) " >&6
31289 else
31292 ac_ext=cpp
31293 ac_cpp='$CXXCPP $CPPFLAGS'
31294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31299 /* end confdefs.h. */
31300 #include <math.h>
31302 main ()
31304 ldexpf(0, 0);
31306 return 0;
31308 _ACEOF
31309 if ac_fn_cxx_try_compile "$LINENO"; then :
31310 glibcxx_cv_func_ldexpf_use=yes
31311 else
31312 glibcxx_cv_func_ldexpf_use=no
31314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31326 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31328 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31329 for ac_func in ldexpf
31330 do :
31331 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31332 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31333 cat >>confdefs.h <<_ACEOF
31334 #define HAVE_LDEXPF 1
31335 _ACEOF
31338 done
31340 else
31342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31343 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31344 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31345 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31346 $as_echo_n "(cached) " >&6
31347 else
31350 ac_ext=cpp
31351 ac_cpp='$CXXCPP $CPPFLAGS'
31352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31357 /* end confdefs.h. */
31358 #include <math.h>
31360 main ()
31362 _ldexpf(0, 0);
31364 return 0;
31366 _ACEOF
31367 if ac_fn_cxx_try_compile "$LINENO"; then :
31368 glibcxx_cv_func__ldexpf_use=yes
31369 else
31370 glibcxx_cv_func__ldexpf_use=no
31372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31373 ac_ext=c
31374 ac_cpp='$CPP $CPPFLAGS'
31375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31384 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31386 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31387 for ac_func in _ldexpf
31388 do :
31389 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31390 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31391 cat >>confdefs.h <<_ACEOF
31392 #define HAVE__LDEXPF 1
31393 _ACEOF
31396 done
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31406 $as_echo_n "checking for logf declaration... " >&6; }
31407 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31408 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31409 $as_echo_n "(cached) " >&6
31410 else
31413 ac_ext=cpp
31414 ac_cpp='$CXXCPP $CPPFLAGS'
31415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h. */
31421 #include <math.h>
31422 #ifdef HAVE_IEEEFP_H
31423 #include <ieeefp.h>
31424 #endif
31427 main ()
31429 logf(0);
31431 return 0;
31433 _ACEOF
31434 if ac_fn_cxx_try_compile "$LINENO"; then :
31435 glibcxx_cv_func_logf_use=yes
31436 else
31437 glibcxx_cv_func_logf_use=no
31439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31440 ac_ext=c
31441 ac_cpp='$CPP $CPPFLAGS'
31442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31451 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31453 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31454 for ac_func in logf
31455 do :
31456 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31457 if test "x$ac_cv_func_logf" = x""yes; then :
31458 cat >>confdefs.h <<_ACEOF
31459 #define HAVE_LOGF 1
31460 _ACEOF
31463 done
31465 else
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31468 $as_echo_n "checking for _logf declaration... " >&6; }
31469 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31470 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31471 $as_echo_n "(cached) " >&6
31472 else
31475 ac_ext=cpp
31476 ac_cpp='$CXXCPP $CPPFLAGS'
31477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31482 /* end confdefs.h. */
31483 #include <math.h>
31484 #ifdef HAVE_IEEEFP_H
31485 #include <ieeefp.h>
31486 #endif
31489 main ()
31491 _logf(0);
31493 return 0;
31495 _ACEOF
31496 if ac_fn_cxx_try_compile "$LINENO"; then :
31497 glibcxx_cv_func__logf_use=yes
31498 else
31499 glibcxx_cv_func__logf_use=no
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31502 ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31513 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31515 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31516 for ac_func in _logf
31517 do :
31518 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31519 if test "x$ac_cv_func__logf" = x""yes; then :
31520 cat >>confdefs.h <<_ACEOF
31521 #define HAVE__LOGF 1
31522 _ACEOF
31525 done
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31535 $as_echo_n "checking for log10f declaration... " >&6; }
31536 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31537 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31538 $as_echo_n "(cached) " >&6
31539 else
31542 ac_ext=cpp
31543 ac_cpp='$CXXCPP $CPPFLAGS'
31544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31549 /* end confdefs.h. */
31550 #include <math.h>
31551 #ifdef HAVE_IEEEFP_H
31552 #include <ieeefp.h>
31553 #endif
31556 main ()
31558 log10f(0);
31560 return 0;
31562 _ACEOF
31563 if ac_fn_cxx_try_compile "$LINENO"; then :
31564 glibcxx_cv_func_log10f_use=yes
31565 else
31566 glibcxx_cv_func_log10f_use=no
31568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31569 ac_ext=c
31570 ac_cpp='$CPP $CPPFLAGS'
31571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31580 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31582 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31583 for ac_func in log10f
31584 do :
31585 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31586 if test "x$ac_cv_func_log10f" = x""yes; then :
31587 cat >>confdefs.h <<_ACEOF
31588 #define HAVE_LOG10F 1
31589 _ACEOF
31592 done
31594 else
31596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31597 $as_echo_n "checking for _log10f declaration... " >&6; }
31598 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31599 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31600 $as_echo_n "(cached) " >&6
31601 else
31604 ac_ext=cpp
31605 ac_cpp='$CXXCPP $CPPFLAGS'
31606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31611 /* end confdefs.h. */
31612 #include <math.h>
31613 #ifdef HAVE_IEEEFP_H
31614 #include <ieeefp.h>
31615 #endif
31618 main ()
31620 _log10f(0);
31622 return 0;
31624 _ACEOF
31625 if ac_fn_cxx_try_compile "$LINENO"; then :
31626 glibcxx_cv_func__log10f_use=yes
31627 else
31628 glibcxx_cv_func__log10f_use=no
31630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31631 ac_ext=c
31632 ac_cpp='$CPP $CPPFLAGS'
31633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31642 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31644 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31645 for ac_func in _log10f
31646 do :
31647 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31648 if test "x$ac_cv_func__log10f" = x""yes; then :
31649 cat >>confdefs.h <<_ACEOF
31650 #define HAVE__LOG10F 1
31651 _ACEOF
31654 done
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31664 $as_echo_n "checking for modff declaration... " >&6; }
31665 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31666 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31667 $as_echo_n "(cached) " >&6
31668 else
31671 ac_ext=cpp
31672 ac_cpp='$CXXCPP $CPPFLAGS'
31673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31678 /* end confdefs.h. */
31679 #include <math.h>
31681 main ()
31683 modff(0, 0);
31685 return 0;
31687 _ACEOF
31688 if ac_fn_cxx_try_compile "$LINENO"; then :
31689 glibcxx_cv_func_modff_use=yes
31690 else
31691 glibcxx_cv_func_modff_use=no
31693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31694 ac_ext=c
31695 ac_cpp='$CPP $CPPFLAGS'
31696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31705 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31707 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31708 for ac_func in modff
31709 do :
31710 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31711 if test "x$ac_cv_func_modff" = x""yes; then :
31712 cat >>confdefs.h <<_ACEOF
31713 #define HAVE_MODFF 1
31714 _ACEOF
31717 done
31719 else
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31722 $as_echo_n "checking for _modff declaration... " >&6; }
31723 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31724 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31725 $as_echo_n "(cached) " >&6
31726 else
31729 ac_ext=cpp
31730 ac_cpp='$CXXCPP $CPPFLAGS'
31731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31736 /* end confdefs.h. */
31737 #include <math.h>
31739 main ()
31741 _modff(0, 0);
31743 return 0;
31745 _ACEOF
31746 if ac_fn_cxx_try_compile "$LINENO"; then :
31747 glibcxx_cv_func__modff_use=yes
31748 else
31749 glibcxx_cv_func__modff_use=no
31751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31752 ac_ext=c
31753 ac_cpp='$CPP $CPPFLAGS'
31754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31763 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31765 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31766 for ac_func in _modff
31767 do :
31768 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31769 if test "x$ac_cv_func__modff" = x""yes; then :
31770 cat >>confdefs.h <<_ACEOF
31771 #define HAVE__MODFF 1
31772 _ACEOF
31775 done
31784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31785 $as_echo_n "checking for modf declaration... " >&6; }
31786 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31787 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31788 $as_echo_n "(cached) " >&6
31789 else
31792 ac_ext=cpp
31793 ac_cpp='$CXXCPP $CPPFLAGS'
31794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h. */
31800 #include <math.h>
31802 main ()
31804 modf(0, 0);
31806 return 0;
31808 _ACEOF
31809 if ac_fn_cxx_try_compile "$LINENO"; then :
31810 glibcxx_cv_func_modf_use=yes
31811 else
31812 glibcxx_cv_func_modf_use=no
31814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31815 ac_ext=c
31816 ac_cpp='$CPP $CPPFLAGS'
31817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31826 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31828 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31829 for ac_func in modf
31830 do :
31831 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31832 if test "x$ac_cv_func_modf" = x""yes; then :
31833 cat >>confdefs.h <<_ACEOF
31834 #define HAVE_MODF 1
31835 _ACEOF
31838 done
31840 else
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31843 $as_echo_n "checking for _modf declaration... " >&6; }
31844 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31845 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31846 $as_echo_n "(cached) " >&6
31847 else
31850 ac_ext=cpp
31851 ac_cpp='$CXXCPP $CPPFLAGS'
31852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31857 /* end confdefs.h. */
31858 #include <math.h>
31860 main ()
31862 _modf(0, 0);
31864 return 0;
31866 _ACEOF
31867 if ac_fn_cxx_try_compile "$LINENO"; then :
31868 glibcxx_cv_func__modf_use=yes
31869 else
31870 glibcxx_cv_func__modf_use=no
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873 ac_ext=c
31874 ac_cpp='$CPP $CPPFLAGS'
31875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31884 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31886 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31887 for ac_func in _modf
31888 do :
31889 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31890 if test "x$ac_cv_func__modf" = x""yes; then :
31891 cat >>confdefs.h <<_ACEOF
31892 #define HAVE__MODF 1
31893 _ACEOF
31896 done
31905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31906 $as_echo_n "checking for powf declaration... " >&6; }
31907 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31908 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31909 $as_echo_n "(cached) " >&6
31910 else
31913 ac_ext=cpp
31914 ac_cpp='$CXXCPP $CPPFLAGS'
31915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31920 /* end confdefs.h. */
31921 #include <math.h>
31923 main ()
31925 powf(0, 0);
31927 return 0;
31929 _ACEOF
31930 if ac_fn_cxx_try_compile "$LINENO"; then :
31931 glibcxx_cv_func_powf_use=yes
31932 else
31933 glibcxx_cv_func_powf_use=no
31935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31936 ac_ext=c
31937 ac_cpp='$CPP $CPPFLAGS'
31938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31947 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31949 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31950 for ac_func in powf
31951 do :
31952 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31953 if test "x$ac_cv_func_powf" = x""yes; then :
31954 cat >>confdefs.h <<_ACEOF
31955 #define HAVE_POWF 1
31956 _ACEOF
31959 done
31961 else
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31964 $as_echo_n "checking for _powf declaration... " >&6; }
31965 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31966 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31967 $as_echo_n "(cached) " >&6
31968 else
31971 ac_ext=cpp
31972 ac_cpp='$CXXCPP $CPPFLAGS'
31973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31978 /* end confdefs.h. */
31979 #include <math.h>
31981 main ()
31983 _powf(0, 0);
31985 return 0;
31987 _ACEOF
31988 if ac_fn_cxx_try_compile "$LINENO"; then :
31989 glibcxx_cv_func__powf_use=yes
31990 else
31991 glibcxx_cv_func__powf_use=no
31993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31994 ac_ext=c
31995 ac_cpp='$CPP $CPPFLAGS'
31996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32005 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32007 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32008 for ac_func in _powf
32009 do :
32010 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32011 if test "x$ac_cv_func__powf" = x""yes; then :
32012 cat >>confdefs.h <<_ACEOF
32013 #define HAVE__POWF 1
32014 _ACEOF
32017 done
32026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32027 $as_echo_n "checking for sqrtf declaration... " >&6; }
32028 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32029 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32030 $as_echo_n "(cached) " >&6
32031 else
32034 ac_ext=cpp
32035 ac_cpp='$CXXCPP $CPPFLAGS'
32036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32041 /* end confdefs.h. */
32042 #include <math.h>
32043 #ifdef HAVE_IEEEFP_H
32044 #include <ieeefp.h>
32045 #endif
32048 main ()
32050 sqrtf(0);
32052 return 0;
32054 _ACEOF
32055 if ac_fn_cxx_try_compile "$LINENO"; then :
32056 glibcxx_cv_func_sqrtf_use=yes
32057 else
32058 glibcxx_cv_func_sqrtf_use=no
32060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32061 ac_ext=c
32062 ac_cpp='$CPP $CPPFLAGS'
32063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32072 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32074 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32075 for ac_func in sqrtf
32076 do :
32077 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32078 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32079 cat >>confdefs.h <<_ACEOF
32080 #define HAVE_SQRTF 1
32081 _ACEOF
32084 done
32086 else
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32089 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32090 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32091 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32092 $as_echo_n "(cached) " >&6
32093 else
32096 ac_ext=cpp
32097 ac_cpp='$CXXCPP $CPPFLAGS'
32098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32103 /* end confdefs.h. */
32104 #include <math.h>
32105 #ifdef HAVE_IEEEFP_H
32106 #include <ieeefp.h>
32107 #endif
32110 main ()
32112 _sqrtf(0);
32114 return 0;
32116 _ACEOF
32117 if ac_fn_cxx_try_compile "$LINENO"; then :
32118 glibcxx_cv_func__sqrtf_use=yes
32119 else
32120 glibcxx_cv_func__sqrtf_use=no
32122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32123 ac_ext=c
32124 ac_cpp='$CPP $CPPFLAGS'
32125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32134 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32136 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32137 for ac_func in _sqrtf
32138 do :
32139 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32140 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32141 cat >>confdefs.h <<_ACEOF
32142 #define HAVE__SQRTF 1
32143 _ACEOF
32146 done
32155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32156 $as_echo_n "checking for sincosf declaration... " >&6; }
32157 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32158 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32159 $as_echo_n "(cached) " >&6
32160 else
32163 ac_ext=cpp
32164 ac_cpp='$CXXCPP $CPPFLAGS'
32165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32170 /* end confdefs.h. */
32171 #include <math.h>
32173 main ()
32175 sincosf(0, 0, 0);
32177 return 0;
32179 _ACEOF
32180 if ac_fn_cxx_try_compile "$LINENO"; then :
32181 glibcxx_cv_func_sincosf_use=yes
32182 else
32183 glibcxx_cv_func_sincosf_use=no
32185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32186 ac_ext=c
32187 ac_cpp='$CPP $CPPFLAGS'
32188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32197 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32199 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32200 for ac_func in sincosf
32201 do :
32202 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32203 if test "x$ac_cv_func_sincosf" = x""yes; then :
32204 cat >>confdefs.h <<_ACEOF
32205 #define HAVE_SINCOSF 1
32206 _ACEOF
32209 done
32211 else
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32214 $as_echo_n "checking for _sincosf declaration... " >&6; }
32215 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32216 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32217 $as_echo_n "(cached) " >&6
32218 else
32221 ac_ext=cpp
32222 ac_cpp='$CXXCPP $CPPFLAGS'
32223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32228 /* end confdefs.h. */
32229 #include <math.h>
32231 main ()
32233 _sincosf(0, 0, 0);
32235 return 0;
32237 _ACEOF
32238 if ac_fn_cxx_try_compile "$LINENO"; then :
32239 glibcxx_cv_func__sincosf_use=yes
32240 else
32241 glibcxx_cv_func__sincosf_use=no
32243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32244 ac_ext=c
32245 ac_cpp='$CPP $CPPFLAGS'
32246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32255 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32257 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32258 for ac_func in _sincosf
32259 do :
32260 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32261 if test "x$ac_cv_func__sincosf" = x""yes; then :
32262 cat >>confdefs.h <<_ACEOF
32263 #define HAVE__SINCOSF 1
32264 _ACEOF
32267 done
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32277 $as_echo_n "checking for finitef declaration... " >&6; }
32278 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32279 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32280 $as_echo_n "(cached) " >&6
32281 else
32284 ac_ext=cpp
32285 ac_cpp='$CXXCPP $CPPFLAGS'
32286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32291 /* end confdefs.h. */
32292 #include <math.h>
32293 #ifdef HAVE_IEEEFP_H
32294 #include <ieeefp.h>
32295 #endif
32298 main ()
32300 finitef(0);
32302 return 0;
32304 _ACEOF
32305 if ac_fn_cxx_try_compile "$LINENO"; then :
32306 glibcxx_cv_func_finitef_use=yes
32307 else
32308 glibcxx_cv_func_finitef_use=no
32310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32311 ac_ext=c
32312 ac_cpp='$CPP $CPPFLAGS'
32313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32322 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32324 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32325 for ac_func in finitef
32326 do :
32327 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32328 if test "x$ac_cv_func_finitef" = x""yes; then :
32329 cat >>confdefs.h <<_ACEOF
32330 #define HAVE_FINITEF 1
32331 _ACEOF
32334 done
32336 else
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32339 $as_echo_n "checking for _finitef declaration... " >&6; }
32340 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32341 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32342 $as_echo_n "(cached) " >&6
32343 else
32346 ac_ext=cpp
32347 ac_cpp='$CXXCPP $CPPFLAGS'
32348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32353 /* end confdefs.h. */
32354 #include <math.h>
32355 #ifdef HAVE_IEEEFP_H
32356 #include <ieeefp.h>
32357 #endif
32360 main ()
32362 _finitef(0);
32364 return 0;
32366 _ACEOF
32367 if ac_fn_cxx_try_compile "$LINENO"; then :
32368 glibcxx_cv_func__finitef_use=yes
32369 else
32370 glibcxx_cv_func__finitef_use=no
32372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32373 ac_ext=c
32374 ac_cpp='$CPP $CPPFLAGS'
32375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32384 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32386 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32387 for ac_func in _finitef
32388 do :
32389 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32390 if test "x$ac_cv_func__finitef" = x""yes; then :
32391 cat >>confdefs.h <<_ACEOF
32392 #define HAVE__FINITEF 1
32393 _ACEOF
32396 done
32405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32406 $as_echo_n "checking for long double trig functions... " >&6; }
32407 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32408 $as_echo_n "(cached) " >&6
32409 else
32412 ac_ext=cpp
32413 ac_cpp='$CXXCPP $CPPFLAGS'
32414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32419 /* end confdefs.h. */
32420 #include <math.h>
32422 main ()
32424 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32426 return 0;
32428 _ACEOF
32429 if ac_fn_cxx_try_compile "$LINENO"; then :
32430 glibcxx_cv_func_long_double_trig_use=yes
32431 else
32432 glibcxx_cv_func_long_double_trig_use=no
32434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32435 ac_ext=c
32436 ac_cpp='$CPP $CPPFLAGS'
32437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32444 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32445 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32446 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32447 do :
32448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32450 eval as_val=\$$as_ac_var
32451 if test "x$as_val" = x""yes; then :
32452 cat >>confdefs.h <<_ACEOF
32453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32454 _ACEOF
32457 done
32459 else
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32461 $as_echo_n "checking for _long double trig functions... " >&6; }
32462 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32463 $as_echo_n "(cached) " >&6
32464 else
32467 ac_ext=cpp
32468 ac_cpp='$CXXCPP $CPPFLAGS'
32469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32474 /* end confdefs.h. */
32475 #include <math.h>
32477 main ()
32479 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32481 return 0;
32483 _ACEOF
32484 if ac_fn_cxx_try_compile "$LINENO"; then :
32485 glibcxx_cv_func__long_double_trig_use=yes
32486 else
32487 glibcxx_cv_func__long_double_trig_use=no
32489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32490 ac_ext=c
32491 ac_cpp='$CPP $CPPFLAGS'
32492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32499 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32500 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32501 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32502 do :
32503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32505 eval as_val=\$$as_ac_var
32506 if test "x$as_val" = x""yes; then :
32507 cat >>confdefs.h <<_ACEOF
32508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32509 _ACEOF
32512 done
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32522 $as_echo_n "checking for long double round functions... " >&6; }
32523 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32524 $as_echo_n "(cached) " >&6
32525 else
32528 ac_ext=cpp
32529 ac_cpp='$CXXCPP $CPPFLAGS'
32530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32535 /* end confdefs.h. */
32536 #include <math.h>
32538 main ()
32540 ceill (0); floorl (0);
32542 return 0;
32544 _ACEOF
32545 if ac_fn_cxx_try_compile "$LINENO"; then :
32546 glibcxx_cv_func_long_double_round_use=yes
32547 else
32548 glibcxx_cv_func_long_double_round_use=no
32550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32551 ac_ext=c
32552 ac_cpp='$CPP $CPPFLAGS'
32553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32560 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32561 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32562 for ac_func in ceill floorl
32563 do :
32564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32566 eval as_val=\$$as_ac_var
32567 if test "x$as_val" = x""yes; then :
32568 cat >>confdefs.h <<_ACEOF
32569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32570 _ACEOF
32573 done
32575 else
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32577 $as_echo_n "checking for _long double round functions... " >&6; }
32578 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32579 $as_echo_n "(cached) " >&6
32580 else
32583 ac_ext=cpp
32584 ac_cpp='$CXXCPP $CPPFLAGS'
32585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32590 /* end confdefs.h. */
32591 #include <math.h>
32593 main ()
32595 _ceill (0); _floorl (0);
32597 return 0;
32599 _ACEOF
32600 if ac_fn_cxx_try_compile "$LINENO"; then :
32601 glibcxx_cv_func__long_double_round_use=yes
32602 else
32603 glibcxx_cv_func__long_double_round_use=no
32605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32606 ac_ext=c
32607 ac_cpp='$CPP $CPPFLAGS'
32608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32615 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32616 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32617 for ac_func in _ceill _floorl
32618 do :
32619 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32620 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32621 eval as_val=\$$as_ac_var
32622 if test "x$as_val" = x""yes; then :
32623 cat >>confdefs.h <<_ACEOF
32624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32625 _ACEOF
32628 done
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32639 $as_echo_n "checking for isnanl declaration... " >&6; }
32640 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32641 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32642 $as_echo_n "(cached) " >&6
32643 else
32646 ac_ext=cpp
32647 ac_cpp='$CXXCPP $CPPFLAGS'
32648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32653 /* end confdefs.h. */
32654 #include <math.h>
32655 #ifdef HAVE_IEEEFP_H
32656 #include <ieeefp.h>
32657 #endif
32660 main ()
32662 isnanl(0);
32664 return 0;
32666 _ACEOF
32667 if ac_fn_cxx_try_compile "$LINENO"; then :
32668 glibcxx_cv_func_isnanl_use=yes
32669 else
32670 glibcxx_cv_func_isnanl_use=no
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32673 ac_ext=c
32674 ac_cpp='$CPP $CPPFLAGS'
32675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32684 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32686 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32687 for ac_func in isnanl
32688 do :
32689 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32690 if test "x$ac_cv_func_isnanl" = x""yes; then :
32691 cat >>confdefs.h <<_ACEOF
32692 #define HAVE_ISNANL 1
32693 _ACEOF
32696 done
32698 else
32700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32701 $as_echo_n "checking for _isnanl declaration... " >&6; }
32702 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32703 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32704 $as_echo_n "(cached) " >&6
32705 else
32708 ac_ext=cpp
32709 ac_cpp='$CXXCPP $CPPFLAGS'
32710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32715 /* end confdefs.h. */
32716 #include <math.h>
32717 #ifdef HAVE_IEEEFP_H
32718 #include <ieeefp.h>
32719 #endif
32722 main ()
32724 _isnanl(0);
32726 return 0;
32728 _ACEOF
32729 if ac_fn_cxx_try_compile "$LINENO"; then :
32730 glibcxx_cv_func__isnanl_use=yes
32731 else
32732 glibcxx_cv_func__isnanl_use=no
32734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32735 ac_ext=c
32736 ac_cpp='$CPP $CPPFLAGS'
32737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32746 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32748 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32749 for ac_func in _isnanl
32750 do :
32751 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32752 if test "x$ac_cv_func__isnanl" = x""yes; then :
32753 cat >>confdefs.h <<_ACEOF
32754 #define HAVE__ISNANL 1
32755 _ACEOF
32758 done
32767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32768 $as_echo_n "checking for isinfl declaration... " >&6; }
32769 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32770 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32771 $as_echo_n "(cached) " >&6
32772 else
32775 ac_ext=cpp
32776 ac_cpp='$CXXCPP $CPPFLAGS'
32777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32782 /* end confdefs.h. */
32783 #include <math.h>
32784 #ifdef HAVE_IEEEFP_H
32785 #include <ieeefp.h>
32786 #endif
32789 main ()
32791 isinfl(0);
32793 return 0;
32795 _ACEOF
32796 if ac_fn_cxx_try_compile "$LINENO"; then :
32797 glibcxx_cv_func_isinfl_use=yes
32798 else
32799 glibcxx_cv_func_isinfl_use=no
32801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32802 ac_ext=c
32803 ac_cpp='$CPP $CPPFLAGS'
32804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32813 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32815 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32816 for ac_func in isinfl
32817 do :
32818 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32819 if test "x$ac_cv_func_isinfl" = x""yes; then :
32820 cat >>confdefs.h <<_ACEOF
32821 #define HAVE_ISINFL 1
32822 _ACEOF
32825 done
32827 else
32829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32830 $as_echo_n "checking for _isinfl declaration... " >&6; }
32831 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32832 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32833 $as_echo_n "(cached) " >&6
32834 else
32837 ac_ext=cpp
32838 ac_cpp='$CXXCPP $CPPFLAGS'
32839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32844 /* end confdefs.h. */
32845 #include <math.h>
32846 #ifdef HAVE_IEEEFP_H
32847 #include <ieeefp.h>
32848 #endif
32851 main ()
32853 _isinfl(0);
32855 return 0;
32857 _ACEOF
32858 if ac_fn_cxx_try_compile "$LINENO"; then :
32859 glibcxx_cv_func__isinfl_use=yes
32860 else
32861 glibcxx_cv_func__isinfl_use=no
32863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32864 ac_ext=c
32865 ac_cpp='$CPP $CPPFLAGS'
32866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32875 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32877 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32878 for ac_func in _isinfl
32879 do :
32880 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32881 if test "x$ac_cv_func__isinfl" = x""yes; then :
32882 cat >>confdefs.h <<_ACEOF
32883 #define HAVE__ISINFL 1
32884 _ACEOF
32887 done
32896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32897 $as_echo_n "checking for atan2l declaration... " >&6; }
32898 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32899 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32900 $as_echo_n "(cached) " >&6
32901 else
32904 ac_ext=cpp
32905 ac_cpp='$CXXCPP $CPPFLAGS'
32906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32911 /* end confdefs.h. */
32912 #include <math.h>
32914 main ()
32916 atan2l(0, 0);
32918 return 0;
32920 _ACEOF
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922 glibcxx_cv_func_atan2l_use=yes
32923 else
32924 glibcxx_cv_func_atan2l_use=no
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32927 ac_ext=c
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32938 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32940 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32941 for ac_func in atan2l
32942 do :
32943 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32944 if test "x$ac_cv_func_atan2l" = x""yes; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define HAVE_ATAN2L 1
32947 _ACEOF
32950 done
32952 else
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32955 $as_echo_n "checking for _atan2l declaration... " >&6; }
32956 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32957 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32958 $as_echo_n "(cached) " >&6
32959 else
32962 ac_ext=cpp
32963 ac_cpp='$CXXCPP $CPPFLAGS'
32964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h. */
32970 #include <math.h>
32972 main ()
32974 _atan2l(0, 0);
32976 return 0;
32978 _ACEOF
32979 if ac_fn_cxx_try_compile "$LINENO"; then :
32980 glibcxx_cv_func__atan2l_use=yes
32981 else
32982 glibcxx_cv_func__atan2l_use=no
32984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32985 ac_ext=c
32986 ac_cpp='$CPP $CPPFLAGS'
32987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32996 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32998 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32999 for ac_func in _atan2l
33000 do :
33001 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33002 if test "x$ac_cv_func__atan2l" = x""yes; then :
33003 cat >>confdefs.h <<_ACEOF
33004 #define HAVE__ATAN2L 1
33005 _ACEOF
33008 done
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33018 $as_echo_n "checking for expl declaration... " >&6; }
33019 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33020 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33021 $as_echo_n "(cached) " >&6
33022 else
33025 ac_ext=cpp
33026 ac_cpp='$CXXCPP $CPPFLAGS'
33027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33033 #include <math.h>
33034 #ifdef HAVE_IEEEFP_H
33035 #include <ieeefp.h>
33036 #endif
33039 main ()
33041 expl(0);
33043 return 0;
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 glibcxx_cv_func_expl_use=yes
33048 else
33049 glibcxx_cv_func_expl_use=no
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33052 ac_ext=c
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33063 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33065 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33066 for ac_func in expl
33067 do :
33068 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33069 if test "x$ac_cv_func_expl" = x""yes; then :
33070 cat >>confdefs.h <<_ACEOF
33071 #define HAVE_EXPL 1
33072 _ACEOF
33075 done
33077 else
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33080 $as_echo_n "checking for _expl declaration... " >&6; }
33081 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33082 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33083 $as_echo_n "(cached) " >&6
33084 else
33087 ac_ext=cpp
33088 ac_cpp='$CXXCPP $CPPFLAGS'
33089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33094 /* end confdefs.h. */
33095 #include <math.h>
33096 #ifdef HAVE_IEEEFP_H
33097 #include <ieeefp.h>
33098 #endif
33101 main ()
33103 _expl(0);
33105 return 0;
33107 _ACEOF
33108 if ac_fn_cxx_try_compile "$LINENO"; then :
33109 glibcxx_cv_func__expl_use=yes
33110 else
33111 glibcxx_cv_func__expl_use=no
33113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33114 ac_ext=c
33115 ac_cpp='$CPP $CPPFLAGS'
33116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33125 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33127 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33128 for ac_func in _expl
33129 do :
33130 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33131 if test "x$ac_cv_func__expl" = x""yes; then :
33132 cat >>confdefs.h <<_ACEOF
33133 #define HAVE__EXPL 1
33134 _ACEOF
33137 done
33146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33147 $as_echo_n "checking for fabsl declaration... " >&6; }
33148 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33149 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33150 $as_echo_n "(cached) " >&6
33151 else
33154 ac_ext=cpp
33155 ac_cpp='$CXXCPP $CPPFLAGS'
33156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33161 /* end confdefs.h. */
33162 #include <math.h>
33163 #ifdef HAVE_IEEEFP_H
33164 #include <ieeefp.h>
33165 #endif
33168 main ()
33170 fabsl(0);
33172 return 0;
33174 _ACEOF
33175 if ac_fn_cxx_try_compile "$LINENO"; then :
33176 glibcxx_cv_func_fabsl_use=yes
33177 else
33178 glibcxx_cv_func_fabsl_use=no
33180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33181 ac_ext=c
33182 ac_cpp='$CPP $CPPFLAGS'
33183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33192 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33194 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33195 for ac_func in fabsl
33196 do :
33197 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33198 if test "x$ac_cv_func_fabsl" = x""yes; then :
33199 cat >>confdefs.h <<_ACEOF
33200 #define HAVE_FABSL 1
33201 _ACEOF
33204 done
33206 else
33208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33209 $as_echo_n "checking for _fabsl declaration... " >&6; }
33210 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33211 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33212 $as_echo_n "(cached) " >&6
33213 else
33216 ac_ext=cpp
33217 ac_cpp='$CXXCPP $CPPFLAGS'
33218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33223 /* end confdefs.h. */
33224 #include <math.h>
33225 #ifdef HAVE_IEEEFP_H
33226 #include <ieeefp.h>
33227 #endif
33230 main ()
33232 _fabsl(0);
33234 return 0;
33236 _ACEOF
33237 if ac_fn_cxx_try_compile "$LINENO"; then :
33238 glibcxx_cv_func__fabsl_use=yes
33239 else
33240 glibcxx_cv_func__fabsl_use=no
33242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33243 ac_ext=c
33244 ac_cpp='$CPP $CPPFLAGS'
33245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33254 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33256 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33257 for ac_func in _fabsl
33258 do :
33259 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33260 if test "x$ac_cv_func__fabsl" = x""yes; then :
33261 cat >>confdefs.h <<_ACEOF
33262 #define HAVE__FABSL 1
33263 _ACEOF
33266 done
33275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33276 $as_echo_n "checking for fmodl declaration... " >&6; }
33277 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33278 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33279 $as_echo_n "(cached) " >&6
33280 else
33283 ac_ext=cpp
33284 ac_cpp='$CXXCPP $CPPFLAGS'
33285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33290 /* end confdefs.h. */
33291 #include <math.h>
33293 main ()
33295 fmodl(0, 0);
33297 return 0;
33299 _ACEOF
33300 if ac_fn_cxx_try_compile "$LINENO"; then :
33301 glibcxx_cv_func_fmodl_use=yes
33302 else
33303 glibcxx_cv_func_fmodl_use=no
33305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33306 ac_ext=c
33307 ac_cpp='$CPP $CPPFLAGS'
33308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33317 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33319 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33320 for ac_func in fmodl
33321 do :
33322 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33323 if test "x$ac_cv_func_fmodl" = x""yes; then :
33324 cat >>confdefs.h <<_ACEOF
33325 #define HAVE_FMODL 1
33326 _ACEOF
33329 done
33331 else
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33334 $as_echo_n "checking for _fmodl declaration... " >&6; }
33335 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33336 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33337 $as_echo_n "(cached) " >&6
33338 else
33341 ac_ext=cpp
33342 ac_cpp='$CXXCPP $CPPFLAGS'
33343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33348 /* end confdefs.h. */
33349 #include <math.h>
33351 main ()
33353 _fmodl(0, 0);
33355 return 0;
33357 _ACEOF
33358 if ac_fn_cxx_try_compile "$LINENO"; then :
33359 glibcxx_cv_func__fmodl_use=yes
33360 else
33361 glibcxx_cv_func__fmodl_use=no
33363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33364 ac_ext=c
33365 ac_cpp='$CPP $CPPFLAGS'
33366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33375 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33377 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33378 for ac_func in _fmodl
33379 do :
33380 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33381 if test "x$ac_cv_func__fmodl" = x""yes; then :
33382 cat >>confdefs.h <<_ACEOF
33383 #define HAVE__FMODL 1
33384 _ACEOF
33387 done
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33397 $as_echo_n "checking for frexpl declaration... " >&6; }
33398 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33399 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33400 $as_echo_n "(cached) " >&6
33401 else
33404 ac_ext=cpp
33405 ac_cpp='$CXXCPP $CPPFLAGS'
33406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33411 /* end confdefs.h. */
33412 #include <math.h>
33414 main ()
33416 frexpl(0, 0);
33418 return 0;
33420 _ACEOF
33421 if ac_fn_cxx_try_compile "$LINENO"; then :
33422 glibcxx_cv_func_frexpl_use=yes
33423 else
33424 glibcxx_cv_func_frexpl_use=no
33426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33427 ac_ext=c
33428 ac_cpp='$CPP $CPPFLAGS'
33429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33438 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33440 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33441 for ac_func in frexpl
33442 do :
33443 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33444 if test "x$ac_cv_func_frexpl" = x""yes; then :
33445 cat >>confdefs.h <<_ACEOF
33446 #define HAVE_FREXPL 1
33447 _ACEOF
33450 done
33452 else
33454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33455 $as_echo_n "checking for _frexpl declaration... " >&6; }
33456 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33457 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33458 $as_echo_n "(cached) " >&6
33459 else
33462 ac_ext=cpp
33463 ac_cpp='$CXXCPP $CPPFLAGS'
33464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33469 /* end confdefs.h. */
33470 #include <math.h>
33472 main ()
33474 _frexpl(0, 0);
33476 return 0;
33478 _ACEOF
33479 if ac_fn_cxx_try_compile "$LINENO"; then :
33480 glibcxx_cv_func__frexpl_use=yes
33481 else
33482 glibcxx_cv_func__frexpl_use=no
33484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33485 ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33496 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33498 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33499 for ac_func in _frexpl
33500 do :
33501 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33502 if test "x$ac_cv_func__frexpl" = x""yes; then :
33503 cat >>confdefs.h <<_ACEOF
33504 #define HAVE__FREXPL 1
33505 _ACEOF
33508 done
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33518 $as_echo_n "checking for hypotl declaration... " >&6; }
33519 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33520 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33521 $as_echo_n "(cached) " >&6
33522 else
33525 ac_ext=cpp
33526 ac_cpp='$CXXCPP $CPPFLAGS'
33527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33532 /* end confdefs.h. */
33533 #include <math.h>
33535 main ()
33537 hypotl(0, 0);
33539 return 0;
33541 _ACEOF
33542 if ac_fn_cxx_try_compile "$LINENO"; then :
33543 glibcxx_cv_func_hypotl_use=yes
33544 else
33545 glibcxx_cv_func_hypotl_use=no
33547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548 ac_ext=c
33549 ac_cpp='$CPP $CPPFLAGS'
33550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33559 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33561 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33562 for ac_func in hypotl
33563 do :
33564 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33565 if test "x$ac_cv_func_hypotl" = x""yes; then :
33566 cat >>confdefs.h <<_ACEOF
33567 #define HAVE_HYPOTL 1
33568 _ACEOF
33571 done
33573 else
33575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33576 $as_echo_n "checking for _hypotl declaration... " >&6; }
33577 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33578 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33579 $as_echo_n "(cached) " >&6
33580 else
33583 ac_ext=cpp
33584 ac_cpp='$CXXCPP $CPPFLAGS'
33585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33590 /* end confdefs.h. */
33591 #include <math.h>
33593 main ()
33595 _hypotl(0, 0);
33597 return 0;
33599 _ACEOF
33600 if ac_fn_cxx_try_compile "$LINENO"; then :
33601 glibcxx_cv_func__hypotl_use=yes
33602 else
33603 glibcxx_cv_func__hypotl_use=no
33605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33606 ac_ext=c
33607 ac_cpp='$CPP $CPPFLAGS'
33608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33617 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33619 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33620 for ac_func in _hypotl
33621 do :
33622 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33623 if test "x$ac_cv_func__hypotl" = x""yes; then :
33624 cat >>confdefs.h <<_ACEOF
33625 #define HAVE__HYPOTL 1
33626 _ACEOF
33629 done
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33639 $as_echo_n "checking for ldexpl declaration... " >&6; }
33640 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33641 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33642 $as_echo_n "(cached) " >&6
33643 else
33646 ac_ext=cpp
33647 ac_cpp='$CXXCPP $CPPFLAGS'
33648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33653 /* end confdefs.h. */
33654 #include <math.h>
33656 main ()
33658 ldexpl(0, 0);
33660 return 0;
33662 _ACEOF
33663 if ac_fn_cxx_try_compile "$LINENO"; then :
33664 glibcxx_cv_func_ldexpl_use=yes
33665 else
33666 glibcxx_cv_func_ldexpl_use=no
33668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33669 ac_ext=c
33670 ac_cpp='$CPP $CPPFLAGS'
33671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33680 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33682 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33683 for ac_func in ldexpl
33684 do :
33685 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33686 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33687 cat >>confdefs.h <<_ACEOF
33688 #define HAVE_LDEXPL 1
33689 _ACEOF
33692 done
33694 else
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33697 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33698 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33699 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33700 $as_echo_n "(cached) " >&6
33701 else
33704 ac_ext=cpp
33705 ac_cpp='$CXXCPP $CPPFLAGS'
33706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33711 /* end confdefs.h. */
33712 #include <math.h>
33714 main ()
33716 _ldexpl(0, 0);
33718 return 0;
33720 _ACEOF
33721 if ac_fn_cxx_try_compile "$LINENO"; then :
33722 glibcxx_cv_func__ldexpl_use=yes
33723 else
33724 glibcxx_cv_func__ldexpl_use=no
33726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33727 ac_ext=c
33728 ac_cpp='$CPP $CPPFLAGS'
33729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33738 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33740 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33741 for ac_func in _ldexpl
33742 do :
33743 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33744 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33745 cat >>confdefs.h <<_ACEOF
33746 #define HAVE__LDEXPL 1
33747 _ACEOF
33750 done
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33760 $as_echo_n "checking for logl declaration... " >&6; }
33761 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33762 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33763 $as_echo_n "(cached) " >&6
33764 else
33767 ac_ext=cpp
33768 ac_cpp='$CXXCPP $CPPFLAGS'
33769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33774 /* end confdefs.h. */
33775 #include <math.h>
33776 #ifdef HAVE_IEEEFP_H
33777 #include <ieeefp.h>
33778 #endif
33781 main ()
33783 logl(0);
33785 return 0;
33787 _ACEOF
33788 if ac_fn_cxx_try_compile "$LINENO"; then :
33789 glibcxx_cv_func_logl_use=yes
33790 else
33791 glibcxx_cv_func_logl_use=no
33793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33794 ac_ext=c
33795 ac_cpp='$CPP $CPPFLAGS'
33796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33805 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33807 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33808 for ac_func in logl
33809 do :
33810 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33811 if test "x$ac_cv_func_logl" = x""yes; then :
33812 cat >>confdefs.h <<_ACEOF
33813 #define HAVE_LOGL 1
33814 _ACEOF
33817 done
33819 else
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33822 $as_echo_n "checking for _logl declaration... " >&6; }
33823 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33824 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33825 $as_echo_n "(cached) " >&6
33826 else
33829 ac_ext=cpp
33830 ac_cpp='$CXXCPP $CPPFLAGS'
33831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33836 /* end confdefs.h. */
33837 #include <math.h>
33838 #ifdef HAVE_IEEEFP_H
33839 #include <ieeefp.h>
33840 #endif
33843 main ()
33845 _logl(0);
33847 return 0;
33849 _ACEOF
33850 if ac_fn_cxx_try_compile "$LINENO"; then :
33851 glibcxx_cv_func__logl_use=yes
33852 else
33853 glibcxx_cv_func__logl_use=no
33855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33856 ac_ext=c
33857 ac_cpp='$CPP $CPPFLAGS'
33858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33867 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33869 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33870 for ac_func in _logl
33871 do :
33872 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33873 if test "x$ac_cv_func__logl" = x""yes; then :
33874 cat >>confdefs.h <<_ACEOF
33875 #define HAVE__LOGL 1
33876 _ACEOF
33879 done
33888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33889 $as_echo_n "checking for log10l declaration... " >&6; }
33890 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33891 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33892 $as_echo_n "(cached) " >&6
33893 else
33896 ac_ext=cpp
33897 ac_cpp='$CXXCPP $CPPFLAGS'
33898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33903 /* end confdefs.h. */
33904 #include <math.h>
33905 #ifdef HAVE_IEEEFP_H
33906 #include <ieeefp.h>
33907 #endif
33910 main ()
33912 log10l(0);
33914 return 0;
33916 _ACEOF
33917 if ac_fn_cxx_try_compile "$LINENO"; then :
33918 glibcxx_cv_func_log10l_use=yes
33919 else
33920 glibcxx_cv_func_log10l_use=no
33922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33923 ac_ext=c
33924 ac_cpp='$CPP $CPPFLAGS'
33925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33934 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33936 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33937 for ac_func in log10l
33938 do :
33939 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33940 if test "x$ac_cv_func_log10l" = x""yes; then :
33941 cat >>confdefs.h <<_ACEOF
33942 #define HAVE_LOG10L 1
33943 _ACEOF
33946 done
33948 else
33950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33951 $as_echo_n "checking for _log10l declaration... " >&6; }
33952 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33953 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33954 $as_echo_n "(cached) " >&6
33955 else
33958 ac_ext=cpp
33959 ac_cpp='$CXXCPP $CPPFLAGS'
33960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33965 /* end confdefs.h. */
33966 #include <math.h>
33967 #ifdef HAVE_IEEEFP_H
33968 #include <ieeefp.h>
33969 #endif
33972 main ()
33974 _log10l(0);
33976 return 0;
33978 _ACEOF
33979 if ac_fn_cxx_try_compile "$LINENO"; then :
33980 glibcxx_cv_func__log10l_use=yes
33981 else
33982 glibcxx_cv_func__log10l_use=no
33984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33985 ac_ext=c
33986 ac_cpp='$CPP $CPPFLAGS'
33987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33996 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33998 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33999 for ac_func in _log10l
34000 do :
34001 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34002 if test "x$ac_cv_func__log10l" = x""yes; then :
34003 cat >>confdefs.h <<_ACEOF
34004 #define HAVE__LOG10L 1
34005 _ACEOF
34008 done
34017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34018 $as_echo_n "checking for modfl declaration... " >&6; }
34019 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34020 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34021 $as_echo_n "(cached) " >&6
34022 else
34025 ac_ext=cpp
34026 ac_cpp='$CXXCPP $CPPFLAGS'
34027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34032 /* end confdefs.h. */
34033 #include <math.h>
34035 main ()
34037 modfl(0, 0);
34039 return 0;
34041 _ACEOF
34042 if ac_fn_cxx_try_compile "$LINENO"; then :
34043 glibcxx_cv_func_modfl_use=yes
34044 else
34045 glibcxx_cv_func_modfl_use=no
34047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34048 ac_ext=c
34049 ac_cpp='$CPP $CPPFLAGS'
34050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34059 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34061 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34062 for ac_func in modfl
34063 do :
34064 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34065 if test "x$ac_cv_func_modfl" = x""yes; then :
34066 cat >>confdefs.h <<_ACEOF
34067 #define HAVE_MODFL 1
34068 _ACEOF
34071 done
34073 else
34075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34076 $as_echo_n "checking for _modfl declaration... " >&6; }
34077 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34078 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34079 $as_echo_n "(cached) " >&6
34080 else
34083 ac_ext=cpp
34084 ac_cpp='$CXXCPP $CPPFLAGS'
34085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34090 /* end confdefs.h. */
34091 #include <math.h>
34093 main ()
34095 _modfl(0, 0);
34097 return 0;
34099 _ACEOF
34100 if ac_fn_cxx_try_compile "$LINENO"; then :
34101 glibcxx_cv_func__modfl_use=yes
34102 else
34103 glibcxx_cv_func__modfl_use=no
34105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34106 ac_ext=c
34107 ac_cpp='$CPP $CPPFLAGS'
34108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34117 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34119 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34120 for ac_func in _modfl
34121 do :
34122 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34123 if test "x$ac_cv_func__modfl" = x""yes; then :
34124 cat >>confdefs.h <<_ACEOF
34125 #define HAVE__MODFL 1
34126 _ACEOF
34129 done
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34139 $as_echo_n "checking for powl declaration... " >&6; }
34140 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34141 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34142 $as_echo_n "(cached) " >&6
34143 else
34146 ac_ext=cpp
34147 ac_cpp='$CXXCPP $CPPFLAGS'
34148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34153 /* end confdefs.h. */
34154 #include <math.h>
34156 main ()
34158 powl(0, 0);
34160 return 0;
34162 _ACEOF
34163 if ac_fn_cxx_try_compile "$LINENO"; then :
34164 glibcxx_cv_func_powl_use=yes
34165 else
34166 glibcxx_cv_func_powl_use=no
34168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34169 ac_ext=c
34170 ac_cpp='$CPP $CPPFLAGS'
34171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34180 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34182 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34183 for ac_func in powl
34184 do :
34185 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34186 if test "x$ac_cv_func_powl" = x""yes; then :
34187 cat >>confdefs.h <<_ACEOF
34188 #define HAVE_POWL 1
34189 _ACEOF
34192 done
34194 else
34196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34197 $as_echo_n "checking for _powl declaration... " >&6; }
34198 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34199 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34200 $as_echo_n "(cached) " >&6
34201 else
34204 ac_ext=cpp
34205 ac_cpp='$CXXCPP $CPPFLAGS'
34206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34211 /* end confdefs.h. */
34212 #include <math.h>
34214 main ()
34216 _powl(0, 0);
34218 return 0;
34220 _ACEOF
34221 if ac_fn_cxx_try_compile "$LINENO"; then :
34222 glibcxx_cv_func__powl_use=yes
34223 else
34224 glibcxx_cv_func__powl_use=no
34226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34227 ac_ext=c
34228 ac_cpp='$CPP $CPPFLAGS'
34229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34238 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34240 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34241 for ac_func in _powl
34242 do :
34243 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34244 if test "x$ac_cv_func__powl" = x""yes; then :
34245 cat >>confdefs.h <<_ACEOF
34246 #define HAVE__POWL 1
34247 _ACEOF
34250 done
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34260 $as_echo_n "checking for sqrtl declaration... " >&6; }
34261 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34262 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34263 $as_echo_n "(cached) " >&6
34264 else
34267 ac_ext=cpp
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h. */
34275 #include <math.h>
34276 #ifdef HAVE_IEEEFP_H
34277 #include <ieeefp.h>
34278 #endif
34281 main ()
34283 sqrtl(0);
34285 return 0;
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func_sqrtl_use=yes
34290 else
34291 glibcxx_cv_func_sqrtl_use=no
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294 ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34305 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34307 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34308 for ac_func in sqrtl
34309 do :
34310 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34311 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define HAVE_SQRTL 1
34314 _ACEOF
34317 done
34319 else
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34322 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34323 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34324 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34325 $as_echo_n "(cached) " >&6
34326 else
34329 ac_ext=cpp
34330 ac_cpp='$CXXCPP $CPPFLAGS'
34331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336 /* end confdefs.h. */
34337 #include <math.h>
34338 #ifdef HAVE_IEEEFP_H
34339 #include <ieeefp.h>
34340 #endif
34343 main ()
34345 _sqrtl(0);
34347 return 0;
34349 _ACEOF
34350 if ac_fn_cxx_try_compile "$LINENO"; then :
34351 glibcxx_cv_func__sqrtl_use=yes
34352 else
34353 glibcxx_cv_func__sqrtl_use=no
34355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34356 ac_ext=c
34357 ac_cpp='$CPP $CPPFLAGS'
34358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34367 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34369 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34370 for ac_func in _sqrtl
34371 do :
34372 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34373 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34374 cat >>confdefs.h <<_ACEOF
34375 #define HAVE__SQRTL 1
34376 _ACEOF
34379 done
34388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34389 $as_echo_n "checking for sincosl declaration... " >&6; }
34390 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34391 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34392 $as_echo_n "(cached) " >&6
34393 else
34396 ac_ext=cpp
34397 ac_cpp='$CXXCPP $CPPFLAGS'
34398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34403 /* end confdefs.h. */
34404 #include <math.h>
34406 main ()
34408 sincosl(0, 0, 0);
34410 return 0;
34412 _ACEOF
34413 if ac_fn_cxx_try_compile "$LINENO"; then :
34414 glibcxx_cv_func_sincosl_use=yes
34415 else
34416 glibcxx_cv_func_sincosl_use=no
34418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34419 ac_ext=c
34420 ac_cpp='$CPP $CPPFLAGS'
34421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34430 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34432 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34433 for ac_func in sincosl
34434 do :
34435 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34436 if test "x$ac_cv_func_sincosl" = x""yes; then :
34437 cat >>confdefs.h <<_ACEOF
34438 #define HAVE_SINCOSL 1
34439 _ACEOF
34442 done
34444 else
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34447 $as_echo_n "checking for _sincosl declaration... " >&6; }
34448 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34449 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34450 $as_echo_n "(cached) " >&6
34451 else
34454 ac_ext=cpp
34455 ac_cpp='$CXXCPP $CPPFLAGS'
34456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34461 /* end confdefs.h. */
34462 #include <math.h>
34464 main ()
34466 _sincosl(0, 0, 0);
34468 return 0;
34470 _ACEOF
34471 if ac_fn_cxx_try_compile "$LINENO"; then :
34472 glibcxx_cv_func__sincosl_use=yes
34473 else
34474 glibcxx_cv_func__sincosl_use=no
34476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34477 ac_ext=c
34478 ac_cpp='$CPP $CPPFLAGS'
34479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34488 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34490 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34491 for ac_func in _sincosl
34492 do :
34493 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34494 if test "x$ac_cv_func__sincosl" = x""yes; then :
34495 cat >>confdefs.h <<_ACEOF
34496 #define HAVE__SINCOSL 1
34497 _ACEOF
34500 done
34509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34510 $as_echo_n "checking for finitel declaration... " >&6; }
34511 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34512 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34513 $as_echo_n "(cached) " >&6
34514 else
34517 ac_ext=cpp
34518 ac_cpp='$CXXCPP $CPPFLAGS'
34519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34524 /* end confdefs.h. */
34525 #include <math.h>
34526 #ifdef HAVE_IEEEFP_H
34527 #include <ieeefp.h>
34528 #endif
34531 main ()
34533 finitel(0);
34535 return 0;
34537 _ACEOF
34538 if ac_fn_cxx_try_compile "$LINENO"; then :
34539 glibcxx_cv_func_finitel_use=yes
34540 else
34541 glibcxx_cv_func_finitel_use=no
34543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34544 ac_ext=c
34545 ac_cpp='$CPP $CPPFLAGS'
34546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34555 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34557 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34558 for ac_func in finitel
34559 do :
34560 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34561 if test "x$ac_cv_func_finitel" = x""yes; then :
34562 cat >>confdefs.h <<_ACEOF
34563 #define HAVE_FINITEL 1
34564 _ACEOF
34567 done
34569 else
34571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34572 $as_echo_n "checking for _finitel declaration... " >&6; }
34573 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34574 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34575 $as_echo_n "(cached) " >&6
34576 else
34579 ac_ext=cpp
34580 ac_cpp='$CXXCPP $CPPFLAGS'
34581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34586 /* end confdefs.h. */
34587 #include <math.h>
34588 #ifdef HAVE_IEEEFP_H
34589 #include <ieeefp.h>
34590 #endif
34593 main ()
34595 _finitel(0);
34597 return 0;
34599 _ACEOF
34600 if ac_fn_cxx_try_compile "$LINENO"; then :
34601 glibcxx_cv_func__finitel_use=yes
34602 else
34603 glibcxx_cv_func__finitel_use=no
34605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34606 ac_ext=c
34607 ac_cpp='$CPP $CPPFLAGS'
34608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34617 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34619 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34620 for ac_func in _finitel
34621 do :
34622 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34623 if test "x$ac_cv_func__finitel" = x""yes; then :
34624 cat >>confdefs.h <<_ACEOF
34625 #define HAVE__FINITEL 1
34626 _ACEOF
34629 done
34637 LIBS="$ac_save_LIBS"
34638 CXXFLAGS="$ac_save_CXXFLAGS"
34641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34642 ac_save_CXXFLAGS="$CXXFLAGS"
34643 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34647 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34648 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34649 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34650 $as_echo_n "(cached) " >&6
34651 else
34654 ac_ext=cpp
34655 ac_cpp='$CXXCPP $CPPFLAGS'
34656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34661 /* end confdefs.h. */
34662 #include <stdlib.h>
34664 main ()
34666 at_quick_exit(0);
34668 return 0;
34670 _ACEOF
34671 if ac_fn_cxx_try_compile "$LINENO"; then :
34672 glibcxx_cv_func_at_quick_exit_use=yes
34673 else
34674 glibcxx_cv_func_at_quick_exit_use=no
34676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34677 ac_ext=c
34678 ac_cpp='$CPP $CPPFLAGS'
34679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34688 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34689 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34690 for ac_func in at_quick_exit
34691 do :
34692 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34693 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34694 cat >>confdefs.h <<_ACEOF
34695 #define HAVE_AT_QUICK_EXIT 1
34696 _ACEOF
34699 done
34704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34705 $as_echo_n "checking for quick_exit declaration... " >&6; }
34706 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34707 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34708 $as_echo_n "(cached) " >&6
34709 else
34712 ac_ext=cpp
34713 ac_cpp='$CXXCPP $CPPFLAGS'
34714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34719 /* end confdefs.h. */
34720 #include <stdlib.h>
34722 main ()
34724 quick_exit(0);
34726 return 0;
34728 _ACEOF
34729 if ac_fn_cxx_try_compile "$LINENO"; then :
34730 glibcxx_cv_func_quick_exit_use=yes
34731 else
34732 glibcxx_cv_func_quick_exit_use=no
34734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34735 ac_ext=c
34736 ac_cpp='$CPP $CPPFLAGS'
34737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34746 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34747 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34748 for ac_func in quick_exit
34749 do :
34750 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34751 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34752 cat >>confdefs.h <<_ACEOF
34753 #define HAVE_QUICK_EXIT 1
34754 _ACEOF
34757 done
34762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34763 $as_echo_n "checking for strtold declaration... " >&6; }
34764 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34765 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34766 $as_echo_n "(cached) " >&6
34767 else
34770 ac_ext=cpp
34771 ac_cpp='$CXXCPP $CPPFLAGS'
34772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34777 /* end confdefs.h. */
34778 #include <stdlib.h>
34780 main ()
34782 strtold(0, 0);
34784 return 0;
34786 _ACEOF
34787 if ac_fn_cxx_try_compile "$LINENO"; then :
34788 glibcxx_cv_func_strtold_use=yes
34789 else
34790 glibcxx_cv_func_strtold_use=no
34792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34793 ac_ext=c
34794 ac_cpp='$CPP $CPPFLAGS'
34795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34804 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34805 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34806 for ac_func in strtold
34807 do :
34808 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34809 if test "x$ac_cv_func_strtold" = x""yes; then :
34810 cat >>confdefs.h <<_ACEOF
34811 #define HAVE_STRTOLD 1
34812 _ACEOF
34815 done
34822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34823 $as_echo_n "checking for strtof declaration... " >&6; }
34824 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34825 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34826 $as_echo_n "(cached) " >&6
34827 else
34830 ac_ext=cpp
34831 ac_cpp='$CXXCPP $CPPFLAGS'
34832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34837 /* end confdefs.h. */
34838 #include <stdlib.h>
34840 main ()
34842 strtof(0, 0);
34844 return 0;
34846 _ACEOF
34847 if ac_fn_cxx_try_compile "$LINENO"; then :
34848 glibcxx_cv_func_strtof_use=yes
34849 else
34850 glibcxx_cv_func_strtof_use=no
34852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34853 ac_ext=c
34854 ac_cpp='$CPP $CPPFLAGS'
34855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34864 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34865 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34866 for ac_func in strtof
34867 do :
34868 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34869 if test "x$ac_cv_func_strtof" = x""yes; then :
34870 cat >>confdefs.h <<_ACEOF
34871 #define HAVE_STRTOF 1
34872 _ACEOF
34875 done
34882 CXXFLAGS="$ac_save_CXXFLAGS"
34885 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34887 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34889 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34891 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34894 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34896 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34898 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34902 spu-*-elf*)
34904 # All these tests are for C++; save the language and the compiler flags.
34905 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34906 # found in GLIBCXX_CONFIGURE.
34908 ac_ext=cpp
34909 ac_cpp='$CXXCPP $CPPFLAGS'
34910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34914 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34915 ac_save_CXXFLAGS="$CXXFLAGS"
34917 # Check for maintainer-mode bits.
34918 if test x"$USE_MAINTAINER_MODE" = xno; then
34919 WERROR=''
34920 else
34921 WERROR='-Werror'
34924 # Check for -ffunction-sections -fdata-sections
34925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34926 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34927 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34929 /* end confdefs.h. */
34930 int foo; void bar() { };
34932 main ()
34936 return 0;
34938 _ACEOF
34939 if ac_fn_cxx_try_compile "$LINENO"; then :
34940 ac_fdsections=yes
34941 else
34942 ac_fdsections=no
34944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34945 if test "$ac_test_CXXFLAGS" = set; then
34946 CXXFLAGS="$ac_save_CXXFLAGS"
34947 else
34948 # this is the suspicious part
34949 CXXFLAGS=''
34951 if test x"$ac_fdsections" = x"yes"; then
34952 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34955 $as_echo "$ac_fdsections" >&6; }
34957 ac_ext=c
34958 ac_cpp='$CPP $CPPFLAGS'
34959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34967 # If we're not using GNU ld, then there's no point in even trying these
34968 # tests. Check for that first. We should have already tested for gld
34969 # by now (in libtool), but require it now just to be safe...
34970 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34971 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34975 # The name set by libtool depends on the version of libtool. Shame on us
34976 # for depending on an impl detail, but c'est la vie. Older versions used
34977 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34978 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34979 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34980 # set (hence we're using an older libtool), then set it.
34981 if test x${with_gnu_ld+set} != xset; then
34982 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34983 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34984 with_gnu_ld=no
34985 else
34986 with_gnu_ld=$ac_cv_prog_gnu_ld
34990 # Start by getting the version number. I think the libtool test already
34991 # does some of this, but throws away the result.
34992 glibcxx_ld_is_gold=no
34993 if test x"$with_gnu_ld" = x"yes"; then
34994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34995 $as_echo_n "checking for ld version... " >&6; }
34997 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34998 glibcxx_ld_is_gold=yes
35000 ldver=`$LD --version 2>/dev/null |
35001 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'`
35003 glibcxx_gnu_ld_version=`echo $ldver | \
35004 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35006 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35009 # Set --gc-sections.
35010 glibcxx_have_gc_sections=no
35011 if test "$glibcxx_ld_is_gold" = "yes"; then
35012 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35013 glibcxx_have_gc_sections=yes
35015 else
35016 glibcxx_gcsections_min_ld=21602
35017 if test x"$with_gnu_ld" = x"yes" &&
35018 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35019 glibcxx_have_gc_sections=yes
35022 if test "$glibcxx_have_gc_sections" = "yes"; then
35023 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35024 # NB: This flag only works reliably after 2.16.1. Configure tests
35025 # for this are difficult, so hard wire a value that should work.
35027 ac_test_CFLAGS="${CFLAGS+set}"
35028 ac_save_CFLAGS="$CFLAGS"
35029 CFLAGS='-Wl,--gc-sections'
35031 # Check for -Wl,--gc-sections
35032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35033 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35034 if test x$gcc_no_link = xyes; then
35035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35038 /* end confdefs.h. */
35039 int one(void) { return 1; }
35040 int two(void) { return 2; }
35043 main ()
35045 two();
35047 return 0;
35049 _ACEOF
35050 if ac_fn_c_try_link "$LINENO"; then :
35051 ac_gcsections=yes
35052 else
35053 ac_gcsections=no
35055 rm -f core conftest.err conftest.$ac_objext \
35056 conftest$ac_exeext conftest.$ac_ext
35057 if test "$ac_gcsections" = "yes"; then
35058 rm -f conftest.c
35059 touch conftest.c
35060 if $CC -c conftest.c; then
35061 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35062 grep "Warning: gc-sections option ignored" > /dev/null; then
35063 ac_gcsections=no
35066 rm -f conftest.c conftest.o conftest
35068 if test "$ac_gcsections" = "yes"; then
35069 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35072 $as_echo "$ac_gcsections" >&6; }
35074 if test "$ac_test_CFLAGS" = set; then
35075 CFLAGS="$ac_save_CFLAGS"
35076 else
35077 # this is the suspicious part
35078 CFLAGS=''
35082 # Set -z,relro.
35083 # Note this is only for shared objects.
35084 ac_ld_relro=no
35085 if test x"$with_gnu_ld" = x"yes"; then
35086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35087 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35088 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35089 if test -n "$cxx_z_relo"; then
35090 OPT_LDFLAGS="-Wl,-z,relro"
35091 ac_ld_relro=yes
35093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35094 $as_echo "$ac_ld_relro" >&6; }
35097 # Set linker optimization flags.
35098 if test x"$with_gnu_ld" = x"yes"; then
35099 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35106 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35107 ac_save_CXXFLAGS="$CXXFLAGS"
35108 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35111 $as_echo_n "checking for sin in -lm... " >&6; }
35112 if test "${ac_cv_lib_m_sin+set}" = set; then :
35113 $as_echo_n "(cached) " >&6
35114 else
35115 ac_check_lib_save_LIBS=$LIBS
35116 LIBS="-lm $LIBS"
35117 if test x$gcc_no_link = xyes; then
35118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35121 /* end confdefs.h. */
35123 /* Override any GCC internal prototype to avoid an error.
35124 Use char because int might match the return type of a GCC
35125 builtin and then its argument prototype would still apply. */
35126 #ifdef __cplusplus
35127 extern "C"
35128 #endif
35129 char sin ();
35131 main ()
35133 return sin ();
35135 return 0;
35137 _ACEOF
35138 if ac_fn_c_try_link "$LINENO"; then :
35139 ac_cv_lib_m_sin=yes
35140 else
35141 ac_cv_lib_m_sin=no
35143 rm -f core conftest.err conftest.$ac_objext \
35144 conftest$ac_exeext conftest.$ac_ext
35145 LIBS=$ac_check_lib_save_LIBS
35147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35148 $as_echo "$ac_cv_lib_m_sin" >&6; }
35149 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35150 libm="-lm"
35153 ac_save_LIBS="$LIBS"
35154 LIBS="$LIBS $libm"
35158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35159 $as_echo_n "checking for isinf declaration... " >&6; }
35160 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35161 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35162 $as_echo_n "(cached) " >&6
35163 else
35166 ac_ext=cpp
35167 ac_cpp='$CXXCPP $CPPFLAGS'
35168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35173 /* end confdefs.h. */
35174 #include <math.h>
35175 #ifdef HAVE_IEEEFP_H
35176 #include <ieeefp.h>
35177 #endif
35180 main ()
35182 isinf(0);
35184 return 0;
35186 _ACEOF
35187 if ac_fn_cxx_try_compile "$LINENO"; then :
35188 glibcxx_cv_func_isinf_use=yes
35189 else
35190 glibcxx_cv_func_isinf_use=no
35192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35193 ac_ext=c
35194 ac_cpp='$CPP $CPPFLAGS'
35195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35204 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35206 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35207 for ac_func in isinf
35208 do :
35209 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35210 if test "x$ac_cv_func_isinf" = x""yes; then :
35211 cat >>confdefs.h <<_ACEOF
35212 #define HAVE_ISINF 1
35213 _ACEOF
35216 done
35218 else
35220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35221 $as_echo_n "checking for _isinf declaration... " >&6; }
35222 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35223 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35224 $as_echo_n "(cached) " >&6
35225 else
35228 ac_ext=cpp
35229 ac_cpp='$CXXCPP $CPPFLAGS'
35230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35235 /* end confdefs.h. */
35236 #include <math.h>
35237 #ifdef HAVE_IEEEFP_H
35238 #include <ieeefp.h>
35239 #endif
35242 main ()
35244 _isinf(0);
35246 return 0;
35248 _ACEOF
35249 if ac_fn_cxx_try_compile "$LINENO"; then :
35250 glibcxx_cv_func__isinf_use=yes
35251 else
35252 glibcxx_cv_func__isinf_use=no
35254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35255 ac_ext=c
35256 ac_cpp='$CPP $CPPFLAGS'
35257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35266 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35268 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35269 for ac_func in _isinf
35270 do :
35271 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35272 if test "x$ac_cv_func__isinf" = x""yes; then :
35273 cat >>confdefs.h <<_ACEOF
35274 #define HAVE__ISINF 1
35275 _ACEOF
35278 done
35287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35288 $as_echo_n "checking for isnan declaration... " >&6; }
35289 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35290 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35291 $as_echo_n "(cached) " >&6
35292 else
35295 ac_ext=cpp
35296 ac_cpp='$CXXCPP $CPPFLAGS'
35297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35302 /* end confdefs.h. */
35303 #include <math.h>
35304 #ifdef HAVE_IEEEFP_H
35305 #include <ieeefp.h>
35306 #endif
35309 main ()
35311 isnan(0);
35313 return 0;
35315 _ACEOF
35316 if ac_fn_cxx_try_compile "$LINENO"; then :
35317 glibcxx_cv_func_isnan_use=yes
35318 else
35319 glibcxx_cv_func_isnan_use=no
35321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35322 ac_ext=c
35323 ac_cpp='$CPP $CPPFLAGS'
35324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35333 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35335 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35336 for ac_func in isnan
35337 do :
35338 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35339 if test "x$ac_cv_func_isnan" = x""yes; then :
35340 cat >>confdefs.h <<_ACEOF
35341 #define HAVE_ISNAN 1
35342 _ACEOF
35345 done
35347 else
35349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35350 $as_echo_n "checking for _isnan declaration... " >&6; }
35351 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35352 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35353 $as_echo_n "(cached) " >&6
35354 else
35357 ac_ext=cpp
35358 ac_cpp='$CXXCPP $CPPFLAGS'
35359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35364 /* end confdefs.h. */
35365 #include <math.h>
35366 #ifdef HAVE_IEEEFP_H
35367 #include <ieeefp.h>
35368 #endif
35371 main ()
35373 _isnan(0);
35375 return 0;
35377 _ACEOF
35378 if ac_fn_cxx_try_compile "$LINENO"; then :
35379 glibcxx_cv_func__isnan_use=yes
35380 else
35381 glibcxx_cv_func__isnan_use=no
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35384 ac_ext=c
35385 ac_cpp='$CPP $CPPFLAGS'
35386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35395 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35397 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35398 for ac_func in _isnan
35399 do :
35400 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35401 if test "x$ac_cv_func__isnan" = x""yes; then :
35402 cat >>confdefs.h <<_ACEOF
35403 #define HAVE__ISNAN 1
35404 _ACEOF
35407 done
35416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35417 $as_echo_n "checking for finite declaration... " >&6; }
35418 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35419 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35420 $as_echo_n "(cached) " >&6
35421 else
35424 ac_ext=cpp
35425 ac_cpp='$CXXCPP $CPPFLAGS'
35426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35431 /* end confdefs.h. */
35432 #include <math.h>
35433 #ifdef HAVE_IEEEFP_H
35434 #include <ieeefp.h>
35435 #endif
35438 main ()
35440 finite(0);
35442 return 0;
35444 _ACEOF
35445 if ac_fn_cxx_try_compile "$LINENO"; then :
35446 glibcxx_cv_func_finite_use=yes
35447 else
35448 glibcxx_cv_func_finite_use=no
35450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35451 ac_ext=c
35452 ac_cpp='$CPP $CPPFLAGS'
35453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35462 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35464 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35465 for ac_func in finite
35466 do :
35467 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35468 if test "x$ac_cv_func_finite" = x""yes; then :
35469 cat >>confdefs.h <<_ACEOF
35470 #define HAVE_FINITE 1
35471 _ACEOF
35474 done
35476 else
35478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35479 $as_echo_n "checking for _finite declaration... " >&6; }
35480 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35481 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35482 $as_echo_n "(cached) " >&6
35483 else
35486 ac_ext=cpp
35487 ac_cpp='$CXXCPP $CPPFLAGS'
35488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35493 /* end confdefs.h. */
35494 #include <math.h>
35495 #ifdef HAVE_IEEEFP_H
35496 #include <ieeefp.h>
35497 #endif
35500 main ()
35502 _finite(0);
35504 return 0;
35506 _ACEOF
35507 if ac_fn_cxx_try_compile "$LINENO"; then :
35508 glibcxx_cv_func__finite_use=yes
35509 else
35510 glibcxx_cv_func__finite_use=no
35512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35513 ac_ext=c
35514 ac_cpp='$CPP $CPPFLAGS'
35515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35524 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35526 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35527 for ac_func in _finite
35528 do :
35529 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35530 if test "x$ac_cv_func__finite" = x""yes; then :
35531 cat >>confdefs.h <<_ACEOF
35532 #define HAVE__FINITE 1
35533 _ACEOF
35536 done
35545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35546 $as_echo_n "checking for sincos declaration... " >&6; }
35547 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35548 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35549 $as_echo_n "(cached) " >&6
35550 else
35553 ac_ext=cpp
35554 ac_cpp='$CXXCPP $CPPFLAGS'
35555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35560 /* end confdefs.h. */
35561 #include <math.h>
35563 main ()
35565 sincos(0, 0, 0);
35567 return 0;
35569 _ACEOF
35570 if ac_fn_cxx_try_compile "$LINENO"; then :
35571 glibcxx_cv_func_sincos_use=yes
35572 else
35573 glibcxx_cv_func_sincos_use=no
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35576 ac_ext=c
35577 ac_cpp='$CPP $CPPFLAGS'
35578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35587 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35589 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35590 for ac_func in sincos
35591 do :
35592 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35593 if test "x$ac_cv_func_sincos" = x""yes; then :
35594 cat >>confdefs.h <<_ACEOF
35595 #define HAVE_SINCOS 1
35596 _ACEOF
35599 done
35601 else
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35604 $as_echo_n "checking for _sincos declaration... " >&6; }
35605 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35606 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35607 $as_echo_n "(cached) " >&6
35608 else
35611 ac_ext=cpp
35612 ac_cpp='$CXXCPP $CPPFLAGS'
35613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35618 /* end confdefs.h. */
35619 #include <math.h>
35621 main ()
35623 _sincos(0, 0, 0);
35625 return 0;
35627 _ACEOF
35628 if ac_fn_cxx_try_compile "$LINENO"; then :
35629 glibcxx_cv_func__sincos_use=yes
35630 else
35631 glibcxx_cv_func__sincos_use=no
35633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35634 ac_ext=c
35635 ac_cpp='$CPP $CPPFLAGS'
35636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35645 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35647 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35648 for ac_func in _sincos
35649 do :
35650 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35651 if test "x$ac_cv_func__sincos" = x""yes; then :
35652 cat >>confdefs.h <<_ACEOF
35653 #define HAVE__SINCOS 1
35654 _ACEOF
35657 done
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35667 $as_echo_n "checking for fpclass declaration... " >&6; }
35668 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35669 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35670 $as_echo_n "(cached) " >&6
35671 else
35674 ac_ext=cpp
35675 ac_cpp='$CXXCPP $CPPFLAGS'
35676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35681 /* end confdefs.h. */
35682 #include <math.h>
35683 #ifdef HAVE_IEEEFP_H
35684 #include <ieeefp.h>
35685 #endif
35688 main ()
35690 fpclass(0);
35692 return 0;
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696 glibcxx_cv_func_fpclass_use=yes
35697 else
35698 glibcxx_cv_func_fpclass_use=no
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35712 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35714 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35715 for ac_func in fpclass
35716 do :
35717 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35718 if test "x$ac_cv_func_fpclass" = x""yes; then :
35719 cat >>confdefs.h <<_ACEOF
35720 #define HAVE_FPCLASS 1
35721 _ACEOF
35724 done
35726 else
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35729 $as_echo_n "checking for _fpclass declaration... " >&6; }
35730 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35731 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35732 $as_echo_n "(cached) " >&6
35733 else
35736 ac_ext=cpp
35737 ac_cpp='$CXXCPP $CPPFLAGS'
35738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35743 /* end confdefs.h. */
35744 #include <math.h>
35745 #ifdef HAVE_IEEEFP_H
35746 #include <ieeefp.h>
35747 #endif
35750 main ()
35752 _fpclass(0);
35754 return 0;
35756 _ACEOF
35757 if ac_fn_cxx_try_compile "$LINENO"; then :
35758 glibcxx_cv_func__fpclass_use=yes
35759 else
35760 glibcxx_cv_func__fpclass_use=no
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763 ac_ext=c
35764 ac_cpp='$CPP $CPPFLAGS'
35765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35774 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35776 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35777 for ac_func in _fpclass
35778 do :
35779 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35780 if test "x$ac_cv_func__fpclass" = x""yes; then :
35781 cat >>confdefs.h <<_ACEOF
35782 #define HAVE__FPCLASS 1
35783 _ACEOF
35786 done
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35796 $as_echo_n "checking for qfpclass declaration... " >&6; }
35797 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35798 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35799 $as_echo_n "(cached) " >&6
35800 else
35803 ac_ext=cpp
35804 ac_cpp='$CXXCPP $CPPFLAGS'
35805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35810 /* end confdefs.h. */
35811 #include <math.h>
35812 #ifdef HAVE_IEEEFP_H
35813 #include <ieeefp.h>
35814 #endif
35817 main ()
35819 qfpclass(0);
35821 return 0;
35823 _ACEOF
35824 if ac_fn_cxx_try_compile "$LINENO"; then :
35825 glibcxx_cv_func_qfpclass_use=yes
35826 else
35827 glibcxx_cv_func_qfpclass_use=no
35829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35830 ac_ext=c
35831 ac_cpp='$CPP $CPPFLAGS'
35832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35841 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35843 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35844 for ac_func in qfpclass
35845 do :
35846 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35847 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35848 cat >>confdefs.h <<_ACEOF
35849 #define HAVE_QFPCLASS 1
35850 _ACEOF
35853 done
35855 else
35857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35858 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35859 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35860 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35861 $as_echo_n "(cached) " >&6
35862 else
35865 ac_ext=cpp
35866 ac_cpp='$CXXCPP $CPPFLAGS'
35867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35872 /* end confdefs.h. */
35873 #include <math.h>
35874 #ifdef HAVE_IEEEFP_H
35875 #include <ieeefp.h>
35876 #endif
35879 main ()
35881 _qfpclass(0);
35883 return 0;
35885 _ACEOF
35886 if ac_fn_cxx_try_compile "$LINENO"; then :
35887 glibcxx_cv_func__qfpclass_use=yes
35888 else
35889 glibcxx_cv_func__qfpclass_use=no
35891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35892 ac_ext=c
35893 ac_cpp='$CPP $CPPFLAGS'
35894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35903 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35905 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35906 for ac_func in _qfpclass
35907 do :
35908 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35909 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35910 cat >>confdefs.h <<_ACEOF
35911 #define HAVE__QFPCLASS 1
35912 _ACEOF
35915 done
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35925 $as_echo_n "checking for hypot declaration... " >&6; }
35926 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35927 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35928 $as_echo_n "(cached) " >&6
35929 else
35932 ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h. */
35940 #include <math.h>
35942 main ()
35944 hypot(0, 0);
35946 return 0;
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func_hypot_use=yes
35951 else
35952 glibcxx_cv_func_hypot_use=no
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35966 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35968 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35969 for ac_func in hypot
35970 do :
35971 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35972 if test "x$ac_cv_func_hypot" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define HAVE_HYPOT 1
35975 _ACEOF
35978 done
35980 else
35982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35983 $as_echo_n "checking for _hypot declaration... " >&6; }
35984 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35985 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35986 $as_echo_n "(cached) " >&6
35987 else
35990 ac_ext=cpp
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35997 /* end confdefs.h. */
35998 #include <math.h>
36000 main ()
36002 _hypot(0, 0);
36004 return 0;
36006 _ACEOF
36007 if ac_fn_cxx_try_compile "$LINENO"; then :
36008 glibcxx_cv_func__hypot_use=yes
36009 else
36010 glibcxx_cv_func__hypot_use=no
36012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36013 ac_ext=c
36014 ac_cpp='$CPP $CPPFLAGS'
36015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36024 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36026 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36027 for ac_func in _hypot
36028 do :
36029 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36030 if test "x$ac_cv_func__hypot" = x""yes; then :
36031 cat >>confdefs.h <<_ACEOF
36032 #define HAVE__HYPOT 1
36033 _ACEOF
36036 done
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36046 $as_echo_n "checking for float trig functions... " >&6; }
36047 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36048 $as_echo_n "(cached) " >&6
36049 else
36052 ac_ext=cpp
36053 ac_cpp='$CXXCPP $CPPFLAGS'
36054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36059 /* end confdefs.h. */
36060 #include <math.h>
36062 main ()
36064 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36066 return 0;
36068 _ACEOF
36069 if ac_fn_cxx_try_compile "$LINENO"; then :
36070 glibcxx_cv_func_float_trig_use=yes
36071 else
36072 glibcxx_cv_func_float_trig_use=no
36074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36075 ac_ext=c
36076 ac_cpp='$CPP $CPPFLAGS'
36077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36084 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36085 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36086 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36087 do :
36088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36090 eval as_val=\$$as_ac_var
36091 if test "x$as_val" = x""yes; then :
36092 cat >>confdefs.h <<_ACEOF
36093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36094 _ACEOF
36097 done
36099 else
36100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36101 $as_echo_n "checking for _float trig functions... " >&6; }
36102 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36103 $as_echo_n "(cached) " >&6
36104 else
36107 ac_ext=cpp
36108 ac_cpp='$CXXCPP $CPPFLAGS'
36109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36114 /* end confdefs.h. */
36115 #include <math.h>
36117 main ()
36119 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36121 return 0;
36123 _ACEOF
36124 if ac_fn_cxx_try_compile "$LINENO"; then :
36125 glibcxx_cv_func__float_trig_use=yes
36126 else
36127 glibcxx_cv_func__float_trig_use=no
36129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36130 ac_ext=c
36131 ac_cpp='$CPP $CPPFLAGS'
36132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36139 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36140 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36141 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36142 do :
36143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36145 eval as_val=\$$as_ac_var
36146 if test "x$as_val" = x""yes; then :
36147 cat >>confdefs.h <<_ACEOF
36148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36149 _ACEOF
36152 done
36161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36162 $as_echo_n "checking for float round functions... " >&6; }
36163 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36164 $as_echo_n "(cached) " >&6
36165 else
36168 ac_ext=cpp
36169 ac_cpp='$CXXCPP $CPPFLAGS'
36170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36175 /* end confdefs.h. */
36176 #include <math.h>
36178 main ()
36180 ceilf (0); floorf (0);
36182 return 0;
36184 _ACEOF
36185 if ac_fn_cxx_try_compile "$LINENO"; then :
36186 glibcxx_cv_func_float_round_use=yes
36187 else
36188 glibcxx_cv_func_float_round_use=no
36190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36191 ac_ext=c
36192 ac_cpp='$CPP $CPPFLAGS'
36193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36200 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36201 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36202 for ac_func in ceilf floorf
36203 do :
36204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36206 eval as_val=\$$as_ac_var
36207 if test "x$as_val" = x""yes; then :
36208 cat >>confdefs.h <<_ACEOF
36209 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36210 _ACEOF
36213 done
36215 else
36216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36217 $as_echo_n "checking for _float round functions... " >&6; }
36218 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36219 $as_echo_n "(cached) " >&6
36220 else
36223 ac_ext=cpp
36224 ac_cpp='$CXXCPP $CPPFLAGS'
36225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36230 /* end confdefs.h. */
36231 #include <math.h>
36233 main ()
36235 _ceilf (0); _floorf (0);
36237 return 0;
36239 _ACEOF
36240 if ac_fn_cxx_try_compile "$LINENO"; then :
36241 glibcxx_cv_func__float_round_use=yes
36242 else
36243 glibcxx_cv_func__float_round_use=no
36245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36246 ac_ext=c
36247 ac_cpp='$CPP $CPPFLAGS'
36248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36255 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36256 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36257 for ac_func in _ceilf _floorf
36258 do :
36259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36261 eval as_val=\$$as_ac_var
36262 if test "x$as_val" = x""yes; then :
36263 cat >>confdefs.h <<_ACEOF
36264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36265 _ACEOF
36268 done
36278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36279 $as_echo_n "checking for expf declaration... " >&6; }
36280 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36281 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36282 $as_echo_n "(cached) " >&6
36283 else
36286 ac_ext=cpp
36287 ac_cpp='$CXXCPP $CPPFLAGS'
36288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36293 /* end confdefs.h. */
36294 #include <math.h>
36295 #ifdef HAVE_IEEEFP_H
36296 #include <ieeefp.h>
36297 #endif
36300 main ()
36302 expf(0);
36304 return 0;
36306 _ACEOF
36307 if ac_fn_cxx_try_compile "$LINENO"; then :
36308 glibcxx_cv_func_expf_use=yes
36309 else
36310 glibcxx_cv_func_expf_use=no
36312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36313 ac_ext=c
36314 ac_cpp='$CPP $CPPFLAGS'
36315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36324 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36326 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36327 for ac_func in expf
36328 do :
36329 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36330 if test "x$ac_cv_func_expf" = x""yes; then :
36331 cat >>confdefs.h <<_ACEOF
36332 #define HAVE_EXPF 1
36333 _ACEOF
36336 done
36338 else
36340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36341 $as_echo_n "checking for _expf declaration... " >&6; }
36342 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36343 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36344 $as_echo_n "(cached) " >&6
36345 else
36348 ac_ext=cpp
36349 ac_cpp='$CXXCPP $CPPFLAGS'
36350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36355 /* end confdefs.h. */
36356 #include <math.h>
36357 #ifdef HAVE_IEEEFP_H
36358 #include <ieeefp.h>
36359 #endif
36362 main ()
36364 _expf(0);
36366 return 0;
36368 _ACEOF
36369 if ac_fn_cxx_try_compile "$LINENO"; then :
36370 glibcxx_cv_func__expf_use=yes
36371 else
36372 glibcxx_cv_func__expf_use=no
36374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36375 ac_ext=c
36376 ac_cpp='$CPP $CPPFLAGS'
36377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36386 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36388 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36389 for ac_func in _expf
36390 do :
36391 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36392 if test "x$ac_cv_func__expf" = x""yes; then :
36393 cat >>confdefs.h <<_ACEOF
36394 #define HAVE__EXPF 1
36395 _ACEOF
36398 done
36407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36408 $as_echo_n "checking for isnanf declaration... " >&6; }
36409 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36410 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36411 $as_echo_n "(cached) " >&6
36412 else
36415 ac_ext=cpp
36416 ac_cpp='$CXXCPP $CPPFLAGS'
36417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36422 /* end confdefs.h. */
36423 #include <math.h>
36424 #ifdef HAVE_IEEEFP_H
36425 #include <ieeefp.h>
36426 #endif
36429 main ()
36431 isnanf(0);
36433 return 0;
36435 _ACEOF
36436 if ac_fn_cxx_try_compile "$LINENO"; then :
36437 glibcxx_cv_func_isnanf_use=yes
36438 else
36439 glibcxx_cv_func_isnanf_use=no
36441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36442 ac_ext=c
36443 ac_cpp='$CPP $CPPFLAGS'
36444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36453 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36455 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36456 for ac_func in isnanf
36457 do :
36458 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36459 if test "x$ac_cv_func_isnanf" = x""yes; then :
36460 cat >>confdefs.h <<_ACEOF
36461 #define HAVE_ISNANF 1
36462 _ACEOF
36465 done
36467 else
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36470 $as_echo_n "checking for _isnanf declaration... " >&6; }
36471 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36472 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36473 $as_echo_n "(cached) " >&6
36474 else
36477 ac_ext=cpp
36478 ac_cpp='$CXXCPP $CPPFLAGS'
36479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36484 /* end confdefs.h. */
36485 #include <math.h>
36486 #ifdef HAVE_IEEEFP_H
36487 #include <ieeefp.h>
36488 #endif
36491 main ()
36493 _isnanf(0);
36495 return 0;
36497 _ACEOF
36498 if ac_fn_cxx_try_compile "$LINENO"; then :
36499 glibcxx_cv_func__isnanf_use=yes
36500 else
36501 glibcxx_cv_func__isnanf_use=no
36503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36504 ac_ext=c
36505 ac_cpp='$CPP $CPPFLAGS'
36506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36515 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36517 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36518 for ac_func in _isnanf
36519 do :
36520 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36521 if test "x$ac_cv_func__isnanf" = x""yes; then :
36522 cat >>confdefs.h <<_ACEOF
36523 #define HAVE__ISNANF 1
36524 _ACEOF
36527 done
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36537 $as_echo_n "checking for isinff declaration... " >&6; }
36538 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36539 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36540 $as_echo_n "(cached) " >&6
36541 else
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 /* end confdefs.h. */
36552 #include <math.h>
36553 #ifdef HAVE_IEEEFP_H
36554 #include <ieeefp.h>
36555 #endif
36558 main ()
36560 isinff(0);
36562 return 0;
36564 _ACEOF
36565 if ac_fn_cxx_try_compile "$LINENO"; then :
36566 glibcxx_cv_func_isinff_use=yes
36567 else
36568 glibcxx_cv_func_isinff_use=no
36570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36571 ac_ext=c
36572 ac_cpp='$CPP $CPPFLAGS'
36573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36582 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36584 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36585 for ac_func in isinff
36586 do :
36587 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36588 if test "x$ac_cv_func_isinff" = x""yes; then :
36589 cat >>confdefs.h <<_ACEOF
36590 #define HAVE_ISINFF 1
36591 _ACEOF
36594 done
36596 else
36598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36599 $as_echo_n "checking for _isinff declaration... " >&6; }
36600 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36601 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36602 $as_echo_n "(cached) " >&6
36603 else
36606 ac_ext=cpp
36607 ac_cpp='$CXXCPP $CPPFLAGS'
36608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36613 /* end confdefs.h. */
36614 #include <math.h>
36615 #ifdef HAVE_IEEEFP_H
36616 #include <ieeefp.h>
36617 #endif
36620 main ()
36622 _isinff(0);
36624 return 0;
36626 _ACEOF
36627 if ac_fn_cxx_try_compile "$LINENO"; then :
36628 glibcxx_cv_func__isinff_use=yes
36629 else
36630 glibcxx_cv_func__isinff_use=no
36632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36633 ac_ext=c
36634 ac_cpp='$CPP $CPPFLAGS'
36635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36644 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36646 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36647 for ac_func in _isinff
36648 do :
36649 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36650 if test "x$ac_cv_func__isinff" = x""yes; then :
36651 cat >>confdefs.h <<_ACEOF
36652 #define HAVE__ISINFF 1
36653 _ACEOF
36656 done
36665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36666 $as_echo_n "checking for atan2f declaration... " >&6; }
36667 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36668 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36669 $as_echo_n "(cached) " >&6
36670 else
36673 ac_ext=cpp
36674 ac_cpp='$CXXCPP $CPPFLAGS'
36675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36680 /* end confdefs.h. */
36681 #include <math.h>
36683 main ()
36685 atan2f(0, 0);
36687 return 0;
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691 glibcxx_cv_func_atan2f_use=yes
36692 else
36693 glibcxx_cv_func_atan2f_use=no
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696 ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36707 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36709 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36710 for ac_func in atan2f
36711 do :
36712 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36713 if test "x$ac_cv_func_atan2f" = x""yes; then :
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_ATAN2F 1
36716 _ACEOF
36719 done
36721 else
36723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36724 $as_echo_n "checking for _atan2f declaration... " >&6; }
36725 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36726 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36727 $as_echo_n "(cached) " >&6
36728 else
36731 ac_ext=cpp
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36738 /* end confdefs.h. */
36739 #include <math.h>
36741 main ()
36743 _atan2f(0, 0);
36745 return 0;
36747 _ACEOF
36748 if ac_fn_cxx_try_compile "$LINENO"; then :
36749 glibcxx_cv_func__atan2f_use=yes
36750 else
36751 glibcxx_cv_func__atan2f_use=no
36753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36754 ac_ext=c
36755 ac_cpp='$CPP $CPPFLAGS'
36756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36765 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36767 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36768 for ac_func in _atan2f
36769 do :
36770 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36771 if test "x$ac_cv_func__atan2f" = x""yes; then :
36772 cat >>confdefs.h <<_ACEOF
36773 #define HAVE__ATAN2F 1
36774 _ACEOF
36777 done
36786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36787 $as_echo_n "checking for fabsf declaration... " >&6; }
36788 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36789 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36790 $as_echo_n "(cached) " >&6
36791 else
36794 ac_ext=cpp
36795 ac_cpp='$CXXCPP $CPPFLAGS'
36796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36801 /* end confdefs.h. */
36802 #include <math.h>
36803 #ifdef HAVE_IEEEFP_H
36804 #include <ieeefp.h>
36805 #endif
36808 main ()
36810 fabsf(0);
36812 return 0;
36814 _ACEOF
36815 if ac_fn_cxx_try_compile "$LINENO"; then :
36816 glibcxx_cv_func_fabsf_use=yes
36817 else
36818 glibcxx_cv_func_fabsf_use=no
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36821 ac_ext=c
36822 ac_cpp='$CPP $CPPFLAGS'
36823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36832 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36834 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36835 for ac_func in fabsf
36836 do :
36837 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36838 if test "x$ac_cv_func_fabsf" = x""yes; then :
36839 cat >>confdefs.h <<_ACEOF
36840 #define HAVE_FABSF 1
36841 _ACEOF
36844 done
36846 else
36848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36849 $as_echo_n "checking for _fabsf declaration... " >&6; }
36850 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36851 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36852 $as_echo_n "(cached) " >&6
36853 else
36856 ac_ext=cpp
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36863 /* end confdefs.h. */
36864 #include <math.h>
36865 #ifdef HAVE_IEEEFP_H
36866 #include <ieeefp.h>
36867 #endif
36870 main ()
36872 _fabsf(0);
36874 return 0;
36876 _ACEOF
36877 if ac_fn_cxx_try_compile "$LINENO"; then :
36878 glibcxx_cv_func__fabsf_use=yes
36879 else
36880 glibcxx_cv_func__fabsf_use=no
36882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36883 ac_ext=c
36884 ac_cpp='$CPP $CPPFLAGS'
36885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36894 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36896 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36897 for ac_func in _fabsf
36898 do :
36899 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36900 if test "x$ac_cv_func__fabsf" = x""yes; then :
36901 cat >>confdefs.h <<_ACEOF
36902 #define HAVE__FABSF 1
36903 _ACEOF
36906 done
36915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36916 $as_echo_n "checking for fmodf declaration... " >&6; }
36917 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36918 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36919 $as_echo_n "(cached) " >&6
36920 else
36923 ac_ext=cpp
36924 ac_cpp='$CXXCPP $CPPFLAGS'
36925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36930 /* end confdefs.h. */
36931 #include <math.h>
36933 main ()
36935 fmodf(0, 0);
36937 return 0;
36939 _ACEOF
36940 if ac_fn_cxx_try_compile "$LINENO"; then :
36941 glibcxx_cv_func_fmodf_use=yes
36942 else
36943 glibcxx_cv_func_fmodf_use=no
36945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36946 ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36957 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36959 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36960 for ac_func in fmodf
36961 do :
36962 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36963 if test "x$ac_cv_func_fmodf" = x""yes; then :
36964 cat >>confdefs.h <<_ACEOF
36965 #define HAVE_FMODF 1
36966 _ACEOF
36969 done
36971 else
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36974 $as_echo_n "checking for _fmodf declaration... " >&6; }
36975 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36976 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36977 $as_echo_n "(cached) " >&6
36978 else
36981 ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h. */
36989 #include <math.h>
36991 main ()
36993 _fmodf(0, 0);
36995 return 0;
36997 _ACEOF
36998 if ac_fn_cxx_try_compile "$LINENO"; then :
36999 glibcxx_cv_func__fmodf_use=yes
37000 else
37001 glibcxx_cv_func__fmodf_use=no
37003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37004 ac_ext=c
37005 ac_cpp='$CPP $CPPFLAGS'
37006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37015 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37017 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37018 for ac_func in _fmodf
37019 do :
37020 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37021 if test "x$ac_cv_func__fmodf" = x""yes; then :
37022 cat >>confdefs.h <<_ACEOF
37023 #define HAVE__FMODF 1
37024 _ACEOF
37027 done
37036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37037 $as_echo_n "checking for frexpf declaration... " >&6; }
37038 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37039 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37040 $as_echo_n "(cached) " >&6
37041 else
37044 ac_ext=cpp
37045 ac_cpp='$CXXCPP $CPPFLAGS'
37046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37051 /* end confdefs.h. */
37052 #include <math.h>
37054 main ()
37056 frexpf(0, 0);
37058 return 0;
37060 _ACEOF
37061 if ac_fn_cxx_try_compile "$LINENO"; then :
37062 glibcxx_cv_func_frexpf_use=yes
37063 else
37064 glibcxx_cv_func_frexpf_use=no
37066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37067 ac_ext=c
37068 ac_cpp='$CPP $CPPFLAGS'
37069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37078 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37080 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37081 for ac_func in frexpf
37082 do :
37083 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37084 if test "x$ac_cv_func_frexpf" = x""yes; then :
37085 cat >>confdefs.h <<_ACEOF
37086 #define HAVE_FREXPF 1
37087 _ACEOF
37090 done
37092 else
37094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37095 $as_echo_n "checking for _frexpf declaration... " >&6; }
37096 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37097 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37098 $as_echo_n "(cached) " >&6
37099 else
37102 ac_ext=cpp
37103 ac_cpp='$CXXCPP $CPPFLAGS'
37104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37109 /* end confdefs.h. */
37110 #include <math.h>
37112 main ()
37114 _frexpf(0, 0);
37116 return 0;
37118 _ACEOF
37119 if ac_fn_cxx_try_compile "$LINENO"; then :
37120 glibcxx_cv_func__frexpf_use=yes
37121 else
37122 glibcxx_cv_func__frexpf_use=no
37124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37125 ac_ext=c
37126 ac_cpp='$CPP $CPPFLAGS'
37127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37136 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37138 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37139 for ac_func in _frexpf
37140 do :
37141 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37142 if test "x$ac_cv_func__frexpf" = x""yes; then :
37143 cat >>confdefs.h <<_ACEOF
37144 #define HAVE__FREXPF 1
37145 _ACEOF
37148 done
37157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37158 $as_echo_n "checking for hypotf declaration... " >&6; }
37159 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37160 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37161 $as_echo_n "(cached) " >&6
37162 else
37165 ac_ext=cpp
37166 ac_cpp='$CXXCPP $CPPFLAGS'
37167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37172 /* end confdefs.h. */
37173 #include <math.h>
37175 main ()
37177 hypotf(0, 0);
37179 return 0;
37181 _ACEOF
37182 if ac_fn_cxx_try_compile "$LINENO"; then :
37183 glibcxx_cv_func_hypotf_use=yes
37184 else
37185 glibcxx_cv_func_hypotf_use=no
37187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37188 ac_ext=c
37189 ac_cpp='$CPP $CPPFLAGS'
37190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37199 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37201 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37202 for ac_func in hypotf
37203 do :
37204 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37205 if test "x$ac_cv_func_hypotf" = x""yes; then :
37206 cat >>confdefs.h <<_ACEOF
37207 #define HAVE_HYPOTF 1
37208 _ACEOF
37211 done
37213 else
37215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37216 $as_echo_n "checking for _hypotf declaration... " >&6; }
37217 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37218 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37219 $as_echo_n "(cached) " >&6
37220 else
37223 ac_ext=cpp
37224 ac_cpp='$CXXCPP $CPPFLAGS'
37225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37230 /* end confdefs.h. */
37231 #include <math.h>
37233 main ()
37235 _hypotf(0, 0);
37237 return 0;
37239 _ACEOF
37240 if ac_fn_cxx_try_compile "$LINENO"; then :
37241 glibcxx_cv_func__hypotf_use=yes
37242 else
37243 glibcxx_cv_func__hypotf_use=no
37245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37246 ac_ext=c
37247 ac_cpp='$CPP $CPPFLAGS'
37248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37257 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37259 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37260 for ac_func in _hypotf
37261 do :
37262 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37263 if test "x$ac_cv_func__hypotf" = x""yes; then :
37264 cat >>confdefs.h <<_ACEOF
37265 #define HAVE__HYPOTF 1
37266 _ACEOF
37269 done
37278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37279 $as_echo_n "checking for ldexpf declaration... " >&6; }
37280 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37281 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37282 $as_echo_n "(cached) " >&6
37283 else
37286 ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h. */
37294 #include <math.h>
37296 main ()
37298 ldexpf(0, 0);
37300 return 0;
37302 _ACEOF
37303 if ac_fn_cxx_try_compile "$LINENO"; then :
37304 glibcxx_cv_func_ldexpf_use=yes
37305 else
37306 glibcxx_cv_func_ldexpf_use=no
37308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37309 ac_ext=c
37310 ac_cpp='$CPP $CPPFLAGS'
37311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37320 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37322 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37323 for ac_func in ldexpf
37324 do :
37325 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37326 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37327 cat >>confdefs.h <<_ACEOF
37328 #define HAVE_LDEXPF 1
37329 _ACEOF
37332 done
37334 else
37336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37337 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37338 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37339 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37340 $as_echo_n "(cached) " >&6
37341 else
37344 ac_ext=cpp
37345 ac_cpp='$CXXCPP $CPPFLAGS'
37346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37351 /* end confdefs.h. */
37352 #include <math.h>
37354 main ()
37356 _ldexpf(0, 0);
37358 return 0;
37360 _ACEOF
37361 if ac_fn_cxx_try_compile "$LINENO"; then :
37362 glibcxx_cv_func__ldexpf_use=yes
37363 else
37364 glibcxx_cv_func__ldexpf_use=no
37366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37367 ac_ext=c
37368 ac_cpp='$CPP $CPPFLAGS'
37369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37378 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37380 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37381 for ac_func in _ldexpf
37382 do :
37383 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37384 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37385 cat >>confdefs.h <<_ACEOF
37386 #define HAVE__LDEXPF 1
37387 _ACEOF
37390 done
37399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37400 $as_echo_n "checking for logf declaration... " >&6; }
37401 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37402 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37403 $as_echo_n "(cached) " >&6
37404 else
37407 ac_ext=cpp
37408 ac_cpp='$CXXCPP $CPPFLAGS'
37409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37414 /* end confdefs.h. */
37415 #include <math.h>
37416 #ifdef HAVE_IEEEFP_H
37417 #include <ieeefp.h>
37418 #endif
37421 main ()
37423 logf(0);
37425 return 0;
37427 _ACEOF
37428 if ac_fn_cxx_try_compile "$LINENO"; then :
37429 glibcxx_cv_func_logf_use=yes
37430 else
37431 glibcxx_cv_func_logf_use=no
37433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37434 ac_ext=c
37435 ac_cpp='$CPP $CPPFLAGS'
37436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37445 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37447 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37448 for ac_func in logf
37449 do :
37450 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37451 if test "x$ac_cv_func_logf" = x""yes; then :
37452 cat >>confdefs.h <<_ACEOF
37453 #define HAVE_LOGF 1
37454 _ACEOF
37457 done
37459 else
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37462 $as_echo_n "checking for _logf declaration... " >&6; }
37463 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37464 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37465 $as_echo_n "(cached) " >&6
37466 else
37469 ac_ext=cpp
37470 ac_cpp='$CXXCPP $CPPFLAGS'
37471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37476 /* end confdefs.h. */
37477 #include <math.h>
37478 #ifdef HAVE_IEEEFP_H
37479 #include <ieeefp.h>
37480 #endif
37483 main ()
37485 _logf(0);
37487 return 0;
37489 _ACEOF
37490 if ac_fn_cxx_try_compile "$LINENO"; then :
37491 glibcxx_cv_func__logf_use=yes
37492 else
37493 glibcxx_cv_func__logf_use=no
37495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37496 ac_ext=c
37497 ac_cpp='$CPP $CPPFLAGS'
37498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37507 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37509 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37510 for ac_func in _logf
37511 do :
37512 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37513 if test "x$ac_cv_func__logf" = x""yes; then :
37514 cat >>confdefs.h <<_ACEOF
37515 #define HAVE__LOGF 1
37516 _ACEOF
37519 done
37528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37529 $as_echo_n "checking for log10f declaration... " >&6; }
37530 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37531 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37532 $as_echo_n "(cached) " >&6
37533 else
37536 ac_ext=cpp
37537 ac_cpp='$CXXCPP $CPPFLAGS'
37538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37543 /* end confdefs.h. */
37544 #include <math.h>
37545 #ifdef HAVE_IEEEFP_H
37546 #include <ieeefp.h>
37547 #endif
37550 main ()
37552 log10f(0);
37554 return 0;
37556 _ACEOF
37557 if ac_fn_cxx_try_compile "$LINENO"; then :
37558 glibcxx_cv_func_log10f_use=yes
37559 else
37560 glibcxx_cv_func_log10f_use=no
37562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37563 ac_ext=c
37564 ac_cpp='$CPP $CPPFLAGS'
37565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37574 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37576 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37577 for ac_func in log10f
37578 do :
37579 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37580 if test "x$ac_cv_func_log10f" = x""yes; then :
37581 cat >>confdefs.h <<_ACEOF
37582 #define HAVE_LOG10F 1
37583 _ACEOF
37586 done
37588 else
37590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37591 $as_echo_n "checking for _log10f declaration... " >&6; }
37592 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37593 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37594 $as_echo_n "(cached) " >&6
37595 else
37598 ac_ext=cpp
37599 ac_cpp='$CXXCPP $CPPFLAGS'
37600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37605 /* end confdefs.h. */
37606 #include <math.h>
37607 #ifdef HAVE_IEEEFP_H
37608 #include <ieeefp.h>
37609 #endif
37612 main ()
37614 _log10f(0);
37616 return 0;
37618 _ACEOF
37619 if ac_fn_cxx_try_compile "$LINENO"; then :
37620 glibcxx_cv_func__log10f_use=yes
37621 else
37622 glibcxx_cv_func__log10f_use=no
37624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37625 ac_ext=c
37626 ac_cpp='$CPP $CPPFLAGS'
37627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37636 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37638 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37639 for ac_func in _log10f
37640 do :
37641 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37642 if test "x$ac_cv_func__log10f" = x""yes; then :
37643 cat >>confdefs.h <<_ACEOF
37644 #define HAVE__LOG10F 1
37645 _ACEOF
37648 done
37657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37658 $as_echo_n "checking for modff declaration... " >&6; }
37659 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37660 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37661 $as_echo_n "(cached) " >&6
37662 else
37665 ac_ext=cpp
37666 ac_cpp='$CXXCPP $CPPFLAGS'
37667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37672 /* end confdefs.h. */
37673 #include <math.h>
37675 main ()
37677 modff(0, 0);
37679 return 0;
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683 glibcxx_cv_func_modff_use=yes
37684 else
37685 glibcxx_cv_func_modff_use=no
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688 ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37699 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37701 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37702 for ac_func in modff
37703 do :
37704 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37705 if test "x$ac_cv_func_modff" = x""yes; then :
37706 cat >>confdefs.h <<_ACEOF
37707 #define HAVE_MODFF 1
37708 _ACEOF
37711 done
37713 else
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37716 $as_echo_n "checking for _modff declaration... " >&6; }
37717 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37718 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37719 $as_echo_n "(cached) " >&6
37720 else
37723 ac_ext=cpp
37724 ac_cpp='$CXXCPP $CPPFLAGS'
37725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37730 /* end confdefs.h. */
37731 #include <math.h>
37733 main ()
37735 _modff(0, 0);
37737 return 0;
37739 _ACEOF
37740 if ac_fn_cxx_try_compile "$LINENO"; then :
37741 glibcxx_cv_func__modff_use=yes
37742 else
37743 glibcxx_cv_func__modff_use=no
37745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37746 ac_ext=c
37747 ac_cpp='$CPP $CPPFLAGS'
37748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37757 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37759 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37760 for ac_func in _modff
37761 do :
37762 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37763 if test "x$ac_cv_func__modff" = x""yes; then :
37764 cat >>confdefs.h <<_ACEOF
37765 #define HAVE__MODFF 1
37766 _ACEOF
37769 done
37778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37779 $as_echo_n "checking for modf declaration... " >&6; }
37780 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37781 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37782 $as_echo_n "(cached) " >&6
37783 else
37786 ac_ext=cpp
37787 ac_cpp='$CXXCPP $CPPFLAGS'
37788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37793 /* end confdefs.h. */
37794 #include <math.h>
37796 main ()
37798 modf(0, 0);
37800 return 0;
37802 _ACEOF
37803 if ac_fn_cxx_try_compile "$LINENO"; then :
37804 glibcxx_cv_func_modf_use=yes
37805 else
37806 glibcxx_cv_func_modf_use=no
37808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37809 ac_ext=c
37810 ac_cpp='$CPP $CPPFLAGS'
37811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37820 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37822 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37823 for ac_func in modf
37824 do :
37825 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37826 if test "x$ac_cv_func_modf" = x""yes; then :
37827 cat >>confdefs.h <<_ACEOF
37828 #define HAVE_MODF 1
37829 _ACEOF
37832 done
37834 else
37836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37837 $as_echo_n "checking for _modf declaration... " >&6; }
37838 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37839 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37840 $as_echo_n "(cached) " >&6
37841 else
37844 ac_ext=cpp
37845 ac_cpp='$CXXCPP $CPPFLAGS'
37846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37851 /* end confdefs.h. */
37852 #include <math.h>
37854 main ()
37856 _modf(0, 0);
37858 return 0;
37860 _ACEOF
37861 if ac_fn_cxx_try_compile "$LINENO"; then :
37862 glibcxx_cv_func__modf_use=yes
37863 else
37864 glibcxx_cv_func__modf_use=no
37866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37867 ac_ext=c
37868 ac_cpp='$CPP $CPPFLAGS'
37869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37878 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37880 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37881 for ac_func in _modf
37882 do :
37883 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37884 if test "x$ac_cv_func__modf" = x""yes; then :
37885 cat >>confdefs.h <<_ACEOF
37886 #define HAVE__MODF 1
37887 _ACEOF
37890 done
37899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37900 $as_echo_n "checking for powf declaration... " >&6; }
37901 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37902 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37903 $as_echo_n "(cached) " >&6
37904 else
37907 ac_ext=cpp
37908 ac_cpp='$CXXCPP $CPPFLAGS'
37909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37914 /* end confdefs.h. */
37915 #include <math.h>
37917 main ()
37919 powf(0, 0);
37921 return 0;
37923 _ACEOF
37924 if ac_fn_cxx_try_compile "$LINENO"; then :
37925 glibcxx_cv_func_powf_use=yes
37926 else
37927 glibcxx_cv_func_powf_use=no
37929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37930 ac_ext=c
37931 ac_cpp='$CPP $CPPFLAGS'
37932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37941 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37943 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37944 for ac_func in powf
37945 do :
37946 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37947 if test "x$ac_cv_func_powf" = x""yes; then :
37948 cat >>confdefs.h <<_ACEOF
37949 #define HAVE_POWF 1
37950 _ACEOF
37953 done
37955 else
37957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37958 $as_echo_n "checking for _powf declaration... " >&6; }
37959 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37960 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37961 $as_echo_n "(cached) " >&6
37962 else
37965 ac_ext=cpp
37966 ac_cpp='$CXXCPP $CPPFLAGS'
37967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37972 /* end confdefs.h. */
37973 #include <math.h>
37975 main ()
37977 _powf(0, 0);
37979 return 0;
37981 _ACEOF
37982 if ac_fn_cxx_try_compile "$LINENO"; then :
37983 glibcxx_cv_func__powf_use=yes
37984 else
37985 glibcxx_cv_func__powf_use=no
37987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37988 ac_ext=c
37989 ac_cpp='$CPP $CPPFLAGS'
37990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37999 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38001 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38002 for ac_func in _powf
38003 do :
38004 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38005 if test "x$ac_cv_func__powf" = x""yes; then :
38006 cat >>confdefs.h <<_ACEOF
38007 #define HAVE__POWF 1
38008 _ACEOF
38011 done
38020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38021 $as_echo_n "checking for sqrtf declaration... " >&6; }
38022 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38023 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38024 $as_echo_n "(cached) " >&6
38025 else
38028 ac_ext=cpp
38029 ac_cpp='$CXXCPP $CPPFLAGS'
38030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38035 /* end confdefs.h. */
38036 #include <math.h>
38037 #ifdef HAVE_IEEEFP_H
38038 #include <ieeefp.h>
38039 #endif
38042 main ()
38044 sqrtf(0);
38046 return 0;
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050 glibcxx_cv_func_sqrtf_use=yes
38051 else
38052 glibcxx_cv_func_sqrtf_use=no
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38066 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38068 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38069 for ac_func in sqrtf
38070 do :
38071 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38072 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38073 cat >>confdefs.h <<_ACEOF
38074 #define HAVE_SQRTF 1
38075 _ACEOF
38078 done
38080 else
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38083 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38084 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38085 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38090 ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h. */
38098 #include <math.h>
38099 #ifdef HAVE_IEEEFP_H
38100 #include <ieeefp.h>
38101 #endif
38104 main ()
38106 _sqrtf(0);
38108 return 0;
38110 _ACEOF
38111 if ac_fn_cxx_try_compile "$LINENO"; then :
38112 glibcxx_cv_func__sqrtf_use=yes
38113 else
38114 glibcxx_cv_func__sqrtf_use=no
38116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38117 ac_ext=c
38118 ac_cpp='$CPP $CPPFLAGS'
38119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38128 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38130 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38131 for ac_func in _sqrtf
38132 do :
38133 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38134 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38135 cat >>confdefs.h <<_ACEOF
38136 #define HAVE__SQRTF 1
38137 _ACEOF
38140 done
38149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38150 $as_echo_n "checking for sincosf declaration... " >&6; }
38151 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38152 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38153 $as_echo_n "(cached) " >&6
38154 else
38157 ac_ext=cpp
38158 ac_cpp='$CXXCPP $CPPFLAGS'
38159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38164 /* end confdefs.h. */
38165 #include <math.h>
38167 main ()
38169 sincosf(0, 0, 0);
38171 return 0;
38173 _ACEOF
38174 if ac_fn_cxx_try_compile "$LINENO"; then :
38175 glibcxx_cv_func_sincosf_use=yes
38176 else
38177 glibcxx_cv_func_sincosf_use=no
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180 ac_ext=c
38181 ac_cpp='$CPP $CPPFLAGS'
38182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38191 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38193 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38194 for ac_func in sincosf
38195 do :
38196 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38197 if test "x$ac_cv_func_sincosf" = x""yes; then :
38198 cat >>confdefs.h <<_ACEOF
38199 #define HAVE_SINCOSF 1
38200 _ACEOF
38203 done
38205 else
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38208 $as_echo_n "checking for _sincosf declaration... " >&6; }
38209 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38210 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38211 $as_echo_n "(cached) " >&6
38212 else
38215 ac_ext=cpp
38216 ac_cpp='$CXXCPP $CPPFLAGS'
38217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38222 /* end confdefs.h. */
38223 #include <math.h>
38225 main ()
38227 _sincosf(0, 0, 0);
38229 return 0;
38231 _ACEOF
38232 if ac_fn_cxx_try_compile "$LINENO"; then :
38233 glibcxx_cv_func__sincosf_use=yes
38234 else
38235 glibcxx_cv_func__sincosf_use=no
38237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38238 ac_ext=c
38239 ac_cpp='$CPP $CPPFLAGS'
38240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38249 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38251 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38252 for ac_func in _sincosf
38253 do :
38254 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38255 if test "x$ac_cv_func__sincosf" = x""yes; then :
38256 cat >>confdefs.h <<_ACEOF
38257 #define HAVE__SINCOSF 1
38258 _ACEOF
38261 done
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38271 $as_echo_n "checking for finitef declaration... " >&6; }
38272 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38273 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38274 $as_echo_n "(cached) " >&6
38275 else
38278 ac_ext=cpp
38279 ac_cpp='$CXXCPP $CPPFLAGS'
38280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38285 /* end confdefs.h. */
38286 #include <math.h>
38287 #ifdef HAVE_IEEEFP_H
38288 #include <ieeefp.h>
38289 #endif
38292 main ()
38294 finitef(0);
38296 return 0;
38298 _ACEOF
38299 if ac_fn_cxx_try_compile "$LINENO"; then :
38300 glibcxx_cv_func_finitef_use=yes
38301 else
38302 glibcxx_cv_func_finitef_use=no
38304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38305 ac_ext=c
38306 ac_cpp='$CPP $CPPFLAGS'
38307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38316 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38318 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38319 for ac_func in finitef
38320 do :
38321 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38322 if test "x$ac_cv_func_finitef" = x""yes; then :
38323 cat >>confdefs.h <<_ACEOF
38324 #define HAVE_FINITEF 1
38325 _ACEOF
38328 done
38330 else
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38333 $as_echo_n "checking for _finitef declaration... " >&6; }
38334 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38335 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38336 $as_echo_n "(cached) " >&6
38337 else
38340 ac_ext=cpp
38341 ac_cpp='$CXXCPP $CPPFLAGS'
38342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38347 /* end confdefs.h. */
38348 #include <math.h>
38349 #ifdef HAVE_IEEEFP_H
38350 #include <ieeefp.h>
38351 #endif
38354 main ()
38356 _finitef(0);
38358 return 0;
38360 _ACEOF
38361 if ac_fn_cxx_try_compile "$LINENO"; then :
38362 glibcxx_cv_func__finitef_use=yes
38363 else
38364 glibcxx_cv_func__finitef_use=no
38366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38367 ac_ext=c
38368 ac_cpp='$CPP $CPPFLAGS'
38369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38378 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38380 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38381 for ac_func in _finitef
38382 do :
38383 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38384 if test "x$ac_cv_func__finitef" = x""yes; then :
38385 cat >>confdefs.h <<_ACEOF
38386 #define HAVE__FINITEF 1
38387 _ACEOF
38390 done
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38400 $as_echo_n "checking for long double trig functions... " >&6; }
38401 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38402 $as_echo_n "(cached) " >&6
38403 else
38406 ac_ext=cpp
38407 ac_cpp='$CXXCPP $CPPFLAGS'
38408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38413 /* end confdefs.h. */
38414 #include <math.h>
38416 main ()
38418 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38420 return 0;
38422 _ACEOF
38423 if ac_fn_cxx_try_compile "$LINENO"; then :
38424 glibcxx_cv_func_long_double_trig_use=yes
38425 else
38426 glibcxx_cv_func_long_double_trig_use=no
38428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38429 ac_ext=c
38430 ac_cpp='$CPP $CPPFLAGS'
38431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38438 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38439 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38440 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38441 do :
38442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38444 eval as_val=\$$as_ac_var
38445 if test "x$as_val" = x""yes; then :
38446 cat >>confdefs.h <<_ACEOF
38447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38448 _ACEOF
38451 done
38453 else
38454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38455 $as_echo_n "checking for _long double trig functions... " >&6; }
38456 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38457 $as_echo_n "(cached) " >&6
38458 else
38461 ac_ext=cpp
38462 ac_cpp='$CXXCPP $CPPFLAGS'
38463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38468 /* end confdefs.h. */
38469 #include <math.h>
38471 main ()
38473 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38475 return 0;
38477 _ACEOF
38478 if ac_fn_cxx_try_compile "$LINENO"; then :
38479 glibcxx_cv_func__long_double_trig_use=yes
38480 else
38481 glibcxx_cv_func__long_double_trig_use=no
38483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38484 ac_ext=c
38485 ac_cpp='$CPP $CPPFLAGS'
38486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38493 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38494 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38495 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38496 do :
38497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38499 eval as_val=\$$as_ac_var
38500 if test "x$as_val" = x""yes; then :
38501 cat >>confdefs.h <<_ACEOF
38502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38503 _ACEOF
38506 done
38515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38516 $as_echo_n "checking for long double round functions... " >&6; }
38517 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38518 $as_echo_n "(cached) " >&6
38519 else
38522 ac_ext=cpp
38523 ac_cpp='$CXXCPP $CPPFLAGS'
38524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38529 /* end confdefs.h. */
38530 #include <math.h>
38532 main ()
38534 ceill (0); floorl (0);
38536 return 0;
38538 _ACEOF
38539 if ac_fn_cxx_try_compile "$LINENO"; then :
38540 glibcxx_cv_func_long_double_round_use=yes
38541 else
38542 glibcxx_cv_func_long_double_round_use=no
38544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38545 ac_ext=c
38546 ac_cpp='$CPP $CPPFLAGS'
38547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38554 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38555 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38556 for ac_func in ceill floorl
38557 do :
38558 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38559 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38560 eval as_val=\$$as_ac_var
38561 if test "x$as_val" = x""yes; then :
38562 cat >>confdefs.h <<_ACEOF
38563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38564 _ACEOF
38567 done
38569 else
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38571 $as_echo_n "checking for _long double round functions... " >&6; }
38572 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38573 $as_echo_n "(cached) " >&6
38574 else
38577 ac_ext=cpp
38578 ac_cpp='$CXXCPP $CPPFLAGS'
38579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38584 /* end confdefs.h. */
38585 #include <math.h>
38587 main ()
38589 _ceill (0); _floorl (0);
38591 return 0;
38593 _ACEOF
38594 if ac_fn_cxx_try_compile "$LINENO"; then :
38595 glibcxx_cv_func__long_double_round_use=yes
38596 else
38597 glibcxx_cv_func__long_double_round_use=no
38599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38600 ac_ext=c
38601 ac_cpp='$CPP $CPPFLAGS'
38602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38609 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38610 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38611 for ac_func in _ceill _floorl
38612 do :
38613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38615 eval as_val=\$$as_ac_var
38616 if test "x$as_val" = x""yes; then :
38617 cat >>confdefs.h <<_ACEOF
38618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38619 _ACEOF
38622 done
38632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38633 $as_echo_n "checking for isnanl declaration... " >&6; }
38634 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38635 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38636 $as_echo_n "(cached) " >&6
38637 else
38640 ac_ext=cpp
38641 ac_cpp='$CXXCPP $CPPFLAGS'
38642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38647 /* end confdefs.h. */
38648 #include <math.h>
38649 #ifdef HAVE_IEEEFP_H
38650 #include <ieeefp.h>
38651 #endif
38654 main ()
38656 isnanl(0);
38658 return 0;
38660 _ACEOF
38661 if ac_fn_cxx_try_compile "$LINENO"; then :
38662 glibcxx_cv_func_isnanl_use=yes
38663 else
38664 glibcxx_cv_func_isnanl_use=no
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38667 ac_ext=c
38668 ac_cpp='$CPP $CPPFLAGS'
38669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38678 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38680 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38681 for ac_func in isnanl
38682 do :
38683 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38684 if test "x$ac_cv_func_isnanl" = x""yes; then :
38685 cat >>confdefs.h <<_ACEOF
38686 #define HAVE_ISNANL 1
38687 _ACEOF
38690 done
38692 else
38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38695 $as_echo_n "checking for _isnanl declaration... " >&6; }
38696 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38697 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38698 $as_echo_n "(cached) " >&6
38699 else
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38710 #include <math.h>
38711 #ifdef HAVE_IEEEFP_H
38712 #include <ieeefp.h>
38713 #endif
38716 main ()
38718 _isnanl(0);
38720 return 0;
38722 _ACEOF
38723 if ac_fn_cxx_try_compile "$LINENO"; then :
38724 glibcxx_cv_func__isnanl_use=yes
38725 else
38726 glibcxx_cv_func__isnanl_use=no
38728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38729 ac_ext=c
38730 ac_cpp='$CPP $CPPFLAGS'
38731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38740 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38742 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38743 for ac_func in _isnanl
38744 do :
38745 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38746 if test "x$ac_cv_func__isnanl" = x""yes; then :
38747 cat >>confdefs.h <<_ACEOF
38748 #define HAVE__ISNANL 1
38749 _ACEOF
38752 done
38761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38762 $as_echo_n "checking for isinfl declaration... " >&6; }
38763 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38764 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38765 $as_echo_n "(cached) " >&6
38766 else
38769 ac_ext=cpp
38770 ac_cpp='$CXXCPP $CPPFLAGS'
38771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38776 /* end confdefs.h. */
38777 #include <math.h>
38778 #ifdef HAVE_IEEEFP_H
38779 #include <ieeefp.h>
38780 #endif
38783 main ()
38785 isinfl(0);
38787 return 0;
38789 _ACEOF
38790 if ac_fn_cxx_try_compile "$LINENO"; then :
38791 glibcxx_cv_func_isinfl_use=yes
38792 else
38793 glibcxx_cv_func_isinfl_use=no
38795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38796 ac_ext=c
38797 ac_cpp='$CPP $CPPFLAGS'
38798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38807 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38809 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38810 for ac_func in isinfl
38811 do :
38812 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38813 if test "x$ac_cv_func_isinfl" = x""yes; then :
38814 cat >>confdefs.h <<_ACEOF
38815 #define HAVE_ISINFL 1
38816 _ACEOF
38819 done
38821 else
38823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38824 $as_echo_n "checking for _isinfl declaration... " >&6; }
38825 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38826 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38827 $as_echo_n "(cached) " >&6
38828 else
38831 ac_ext=cpp
38832 ac_cpp='$CXXCPP $CPPFLAGS'
38833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38838 /* end confdefs.h. */
38839 #include <math.h>
38840 #ifdef HAVE_IEEEFP_H
38841 #include <ieeefp.h>
38842 #endif
38845 main ()
38847 _isinfl(0);
38849 return 0;
38851 _ACEOF
38852 if ac_fn_cxx_try_compile "$LINENO"; then :
38853 glibcxx_cv_func__isinfl_use=yes
38854 else
38855 glibcxx_cv_func__isinfl_use=no
38857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38858 ac_ext=c
38859 ac_cpp='$CPP $CPPFLAGS'
38860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38869 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38871 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38872 for ac_func in _isinfl
38873 do :
38874 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38875 if test "x$ac_cv_func__isinfl" = x""yes; then :
38876 cat >>confdefs.h <<_ACEOF
38877 #define HAVE__ISINFL 1
38878 _ACEOF
38881 done
38890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38891 $as_echo_n "checking for atan2l declaration... " >&6; }
38892 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38893 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38894 $as_echo_n "(cached) " >&6
38895 else
38898 ac_ext=cpp
38899 ac_cpp='$CXXCPP $CPPFLAGS'
38900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38905 /* end confdefs.h. */
38906 #include <math.h>
38908 main ()
38910 atan2l(0, 0);
38912 return 0;
38914 _ACEOF
38915 if ac_fn_cxx_try_compile "$LINENO"; then :
38916 glibcxx_cv_func_atan2l_use=yes
38917 else
38918 glibcxx_cv_func_atan2l_use=no
38920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 ac_ext=c
38922 ac_cpp='$CPP $CPPFLAGS'
38923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38932 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38934 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38935 for ac_func in atan2l
38936 do :
38937 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38938 if test "x$ac_cv_func_atan2l" = x""yes; then :
38939 cat >>confdefs.h <<_ACEOF
38940 #define HAVE_ATAN2L 1
38941 _ACEOF
38944 done
38946 else
38948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38949 $as_echo_n "checking for _atan2l declaration... " >&6; }
38950 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38951 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38952 $as_echo_n "(cached) " >&6
38953 else
38956 ac_ext=cpp
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38963 /* end confdefs.h. */
38964 #include <math.h>
38966 main ()
38968 _atan2l(0, 0);
38970 return 0;
38972 _ACEOF
38973 if ac_fn_cxx_try_compile "$LINENO"; then :
38974 glibcxx_cv_func__atan2l_use=yes
38975 else
38976 glibcxx_cv_func__atan2l_use=no
38978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38979 ac_ext=c
38980 ac_cpp='$CPP $CPPFLAGS'
38981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38990 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38992 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38993 for ac_func in _atan2l
38994 do :
38995 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38996 if test "x$ac_cv_func__atan2l" = x""yes; then :
38997 cat >>confdefs.h <<_ACEOF
38998 #define HAVE__ATAN2L 1
38999 _ACEOF
39002 done
39011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39012 $as_echo_n "checking for expl declaration... " >&6; }
39013 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39014 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39015 $as_echo_n "(cached) " >&6
39016 else
39019 ac_ext=cpp
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39026 /* end confdefs.h. */
39027 #include <math.h>
39028 #ifdef HAVE_IEEEFP_H
39029 #include <ieeefp.h>
39030 #endif
39033 main ()
39035 expl(0);
39037 return 0;
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func_expl_use=yes
39042 else
39043 glibcxx_cv_func_expl_use=no
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39057 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39059 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39060 for ac_func in expl
39061 do :
39062 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39063 if test "x$ac_cv_func_expl" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE_EXPL 1
39066 _ACEOF
39069 done
39071 else
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39074 $as_echo_n "checking for _expl declaration... " >&6; }
39075 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39076 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39090 #ifdef HAVE_IEEEFP_H
39091 #include <ieeefp.h>
39092 #endif
39095 main ()
39097 _expl(0);
39099 return 0;
39101 _ACEOF
39102 if ac_fn_cxx_try_compile "$LINENO"; then :
39103 glibcxx_cv_func__expl_use=yes
39104 else
39105 glibcxx_cv_func__expl_use=no
39107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39108 ac_ext=c
39109 ac_cpp='$CPP $CPPFLAGS'
39110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39119 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39121 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39122 for ac_func in _expl
39123 do :
39124 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39125 if test "x$ac_cv_func__expl" = x""yes; then :
39126 cat >>confdefs.h <<_ACEOF
39127 #define HAVE__EXPL 1
39128 _ACEOF
39131 done
39140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39141 $as_echo_n "checking for fabsl declaration... " >&6; }
39142 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39143 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39144 $as_echo_n "(cached) " >&6
39145 else
39148 ac_ext=cpp
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39155 /* end confdefs.h. */
39156 #include <math.h>
39157 #ifdef HAVE_IEEEFP_H
39158 #include <ieeefp.h>
39159 #endif
39162 main ()
39164 fabsl(0);
39166 return 0;
39168 _ACEOF
39169 if ac_fn_cxx_try_compile "$LINENO"; then :
39170 glibcxx_cv_func_fabsl_use=yes
39171 else
39172 glibcxx_cv_func_fabsl_use=no
39174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39175 ac_ext=c
39176 ac_cpp='$CPP $CPPFLAGS'
39177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39186 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39188 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39189 for ac_func in fabsl
39190 do :
39191 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39192 if test "x$ac_cv_func_fabsl" = x""yes; then :
39193 cat >>confdefs.h <<_ACEOF
39194 #define HAVE_FABSL 1
39195 _ACEOF
39198 done
39200 else
39202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39203 $as_echo_n "checking for _fabsl declaration... " >&6; }
39204 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39205 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39206 $as_echo_n "(cached) " >&6
39207 else
39210 ac_ext=cpp
39211 ac_cpp='$CXXCPP $CPPFLAGS'
39212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39217 /* end confdefs.h. */
39218 #include <math.h>
39219 #ifdef HAVE_IEEEFP_H
39220 #include <ieeefp.h>
39221 #endif
39224 main ()
39226 _fabsl(0);
39228 return 0;
39230 _ACEOF
39231 if ac_fn_cxx_try_compile "$LINENO"; then :
39232 glibcxx_cv_func__fabsl_use=yes
39233 else
39234 glibcxx_cv_func__fabsl_use=no
39236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39237 ac_ext=c
39238 ac_cpp='$CPP $CPPFLAGS'
39239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39248 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39250 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39251 for ac_func in _fabsl
39252 do :
39253 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39254 if test "x$ac_cv_func__fabsl" = x""yes; then :
39255 cat >>confdefs.h <<_ACEOF
39256 #define HAVE__FABSL 1
39257 _ACEOF
39260 done
39269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39270 $as_echo_n "checking for fmodl declaration... " >&6; }
39271 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39272 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39273 $as_echo_n "(cached) " >&6
39274 else
39277 ac_ext=cpp
39278 ac_cpp='$CXXCPP $CPPFLAGS'
39279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39284 /* end confdefs.h. */
39285 #include <math.h>
39287 main ()
39289 fmodl(0, 0);
39291 return 0;
39293 _ACEOF
39294 if ac_fn_cxx_try_compile "$LINENO"; then :
39295 glibcxx_cv_func_fmodl_use=yes
39296 else
39297 glibcxx_cv_func_fmodl_use=no
39299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39300 ac_ext=c
39301 ac_cpp='$CPP $CPPFLAGS'
39302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39311 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39313 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39314 for ac_func in fmodl
39315 do :
39316 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39317 if test "x$ac_cv_func_fmodl" = x""yes; then :
39318 cat >>confdefs.h <<_ACEOF
39319 #define HAVE_FMODL 1
39320 _ACEOF
39323 done
39325 else
39327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39328 $as_echo_n "checking for _fmodl declaration... " >&6; }
39329 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39330 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39331 $as_echo_n "(cached) " >&6
39332 else
39335 ac_ext=cpp
39336 ac_cpp='$CXXCPP $CPPFLAGS'
39337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39342 /* end confdefs.h. */
39343 #include <math.h>
39345 main ()
39347 _fmodl(0, 0);
39349 return 0;
39351 _ACEOF
39352 if ac_fn_cxx_try_compile "$LINENO"; then :
39353 glibcxx_cv_func__fmodl_use=yes
39354 else
39355 glibcxx_cv_func__fmodl_use=no
39357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39358 ac_ext=c
39359 ac_cpp='$CPP $CPPFLAGS'
39360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39369 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39371 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39372 for ac_func in _fmodl
39373 do :
39374 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39375 if test "x$ac_cv_func__fmodl" = x""yes; then :
39376 cat >>confdefs.h <<_ACEOF
39377 #define HAVE__FMODL 1
39378 _ACEOF
39381 done
39390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39391 $as_echo_n "checking for frexpl declaration... " >&6; }
39392 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39393 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39394 $as_echo_n "(cached) " >&6
39395 else
39398 ac_ext=cpp
39399 ac_cpp='$CXXCPP $CPPFLAGS'
39400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39405 /* end confdefs.h. */
39406 #include <math.h>
39408 main ()
39410 frexpl(0, 0);
39412 return 0;
39414 _ACEOF
39415 if ac_fn_cxx_try_compile "$LINENO"; then :
39416 glibcxx_cv_func_frexpl_use=yes
39417 else
39418 glibcxx_cv_func_frexpl_use=no
39420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39421 ac_ext=c
39422 ac_cpp='$CPP $CPPFLAGS'
39423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39432 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39434 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39435 for ac_func in frexpl
39436 do :
39437 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39438 if test "x$ac_cv_func_frexpl" = x""yes; then :
39439 cat >>confdefs.h <<_ACEOF
39440 #define HAVE_FREXPL 1
39441 _ACEOF
39444 done
39446 else
39448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39449 $as_echo_n "checking for _frexpl declaration... " >&6; }
39450 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39451 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39452 $as_echo_n "(cached) " >&6
39453 else
39456 ac_ext=cpp
39457 ac_cpp='$CXXCPP $CPPFLAGS'
39458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39463 /* end confdefs.h. */
39464 #include <math.h>
39466 main ()
39468 _frexpl(0, 0);
39470 return 0;
39472 _ACEOF
39473 if ac_fn_cxx_try_compile "$LINENO"; then :
39474 glibcxx_cv_func__frexpl_use=yes
39475 else
39476 glibcxx_cv_func__frexpl_use=no
39478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39479 ac_ext=c
39480 ac_cpp='$CPP $CPPFLAGS'
39481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39490 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39492 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39493 for ac_func in _frexpl
39494 do :
39495 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39496 if test "x$ac_cv_func__frexpl" = x""yes; then :
39497 cat >>confdefs.h <<_ACEOF
39498 #define HAVE__FREXPL 1
39499 _ACEOF
39502 done
39511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39512 $as_echo_n "checking for hypotl declaration... " >&6; }
39513 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39514 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39515 $as_echo_n "(cached) " >&6
39516 else
39519 ac_ext=cpp
39520 ac_cpp='$CXXCPP $CPPFLAGS'
39521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39526 /* end confdefs.h. */
39527 #include <math.h>
39529 main ()
39531 hypotl(0, 0);
39533 return 0;
39535 _ACEOF
39536 if ac_fn_cxx_try_compile "$LINENO"; then :
39537 glibcxx_cv_func_hypotl_use=yes
39538 else
39539 glibcxx_cv_func_hypotl_use=no
39541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39542 ac_ext=c
39543 ac_cpp='$CPP $CPPFLAGS'
39544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39553 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39555 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39556 for ac_func in hypotl
39557 do :
39558 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39559 if test "x$ac_cv_func_hypotl" = x""yes; then :
39560 cat >>confdefs.h <<_ACEOF
39561 #define HAVE_HYPOTL 1
39562 _ACEOF
39565 done
39567 else
39569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39570 $as_echo_n "checking for _hypotl declaration... " >&6; }
39571 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39572 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39573 $as_echo_n "(cached) " >&6
39574 else
39577 ac_ext=cpp
39578 ac_cpp='$CXXCPP $CPPFLAGS'
39579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39584 /* end confdefs.h. */
39585 #include <math.h>
39587 main ()
39589 _hypotl(0, 0);
39591 return 0;
39593 _ACEOF
39594 if ac_fn_cxx_try_compile "$LINENO"; then :
39595 glibcxx_cv_func__hypotl_use=yes
39596 else
39597 glibcxx_cv_func__hypotl_use=no
39599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39600 ac_ext=c
39601 ac_cpp='$CPP $CPPFLAGS'
39602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39611 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39613 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39614 for ac_func in _hypotl
39615 do :
39616 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39617 if test "x$ac_cv_func__hypotl" = x""yes; then :
39618 cat >>confdefs.h <<_ACEOF
39619 #define HAVE__HYPOTL 1
39620 _ACEOF
39623 done
39632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39633 $as_echo_n "checking for ldexpl declaration... " >&6; }
39634 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39635 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39636 $as_echo_n "(cached) " >&6
39637 else
39640 ac_ext=cpp
39641 ac_cpp='$CXXCPP $CPPFLAGS'
39642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39647 /* end confdefs.h. */
39648 #include <math.h>
39650 main ()
39652 ldexpl(0, 0);
39654 return 0;
39656 _ACEOF
39657 if ac_fn_cxx_try_compile "$LINENO"; then :
39658 glibcxx_cv_func_ldexpl_use=yes
39659 else
39660 glibcxx_cv_func_ldexpl_use=no
39662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39663 ac_ext=c
39664 ac_cpp='$CPP $CPPFLAGS'
39665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39674 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39676 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39677 for ac_func in ldexpl
39678 do :
39679 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39680 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39681 cat >>confdefs.h <<_ACEOF
39682 #define HAVE_LDEXPL 1
39683 _ACEOF
39686 done
39688 else
39690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39691 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39692 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39693 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39694 $as_echo_n "(cached) " >&6
39695 else
39698 ac_ext=cpp
39699 ac_cpp='$CXXCPP $CPPFLAGS'
39700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39705 /* end confdefs.h. */
39706 #include <math.h>
39708 main ()
39710 _ldexpl(0, 0);
39712 return 0;
39714 _ACEOF
39715 if ac_fn_cxx_try_compile "$LINENO"; then :
39716 glibcxx_cv_func__ldexpl_use=yes
39717 else
39718 glibcxx_cv_func__ldexpl_use=no
39720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39721 ac_ext=c
39722 ac_cpp='$CPP $CPPFLAGS'
39723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39732 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39734 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39735 for ac_func in _ldexpl
39736 do :
39737 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39738 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39739 cat >>confdefs.h <<_ACEOF
39740 #define HAVE__LDEXPL 1
39741 _ACEOF
39744 done
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39754 $as_echo_n "checking for logl declaration... " >&6; }
39755 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39756 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39757 $as_echo_n "(cached) " >&6
39758 else
39761 ac_ext=cpp
39762 ac_cpp='$CXXCPP $CPPFLAGS'
39763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39768 /* end confdefs.h. */
39769 #include <math.h>
39770 #ifdef HAVE_IEEEFP_H
39771 #include <ieeefp.h>
39772 #endif
39775 main ()
39777 logl(0);
39779 return 0;
39781 _ACEOF
39782 if ac_fn_cxx_try_compile "$LINENO"; then :
39783 glibcxx_cv_func_logl_use=yes
39784 else
39785 glibcxx_cv_func_logl_use=no
39787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39788 ac_ext=c
39789 ac_cpp='$CPP $CPPFLAGS'
39790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39799 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39801 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39802 for ac_func in logl
39803 do :
39804 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39805 if test "x$ac_cv_func_logl" = x""yes; then :
39806 cat >>confdefs.h <<_ACEOF
39807 #define HAVE_LOGL 1
39808 _ACEOF
39811 done
39813 else
39815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39816 $as_echo_n "checking for _logl declaration... " >&6; }
39817 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39818 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39819 $as_echo_n "(cached) " >&6
39820 else
39823 ac_ext=cpp
39824 ac_cpp='$CXXCPP $CPPFLAGS'
39825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39830 /* end confdefs.h. */
39831 #include <math.h>
39832 #ifdef HAVE_IEEEFP_H
39833 #include <ieeefp.h>
39834 #endif
39837 main ()
39839 _logl(0);
39841 return 0;
39843 _ACEOF
39844 if ac_fn_cxx_try_compile "$LINENO"; then :
39845 glibcxx_cv_func__logl_use=yes
39846 else
39847 glibcxx_cv_func__logl_use=no
39849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39850 ac_ext=c
39851 ac_cpp='$CPP $CPPFLAGS'
39852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39861 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39863 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39864 for ac_func in _logl
39865 do :
39866 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39867 if test "x$ac_cv_func__logl" = x""yes; then :
39868 cat >>confdefs.h <<_ACEOF
39869 #define HAVE__LOGL 1
39870 _ACEOF
39873 done
39882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39883 $as_echo_n "checking for log10l declaration... " >&6; }
39884 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39885 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39886 $as_echo_n "(cached) " >&6
39887 else
39890 ac_ext=cpp
39891 ac_cpp='$CXXCPP $CPPFLAGS'
39892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39897 /* end confdefs.h. */
39898 #include <math.h>
39899 #ifdef HAVE_IEEEFP_H
39900 #include <ieeefp.h>
39901 #endif
39904 main ()
39906 log10l(0);
39908 return 0;
39910 _ACEOF
39911 if ac_fn_cxx_try_compile "$LINENO"; then :
39912 glibcxx_cv_func_log10l_use=yes
39913 else
39914 glibcxx_cv_func_log10l_use=no
39916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39917 ac_ext=c
39918 ac_cpp='$CPP $CPPFLAGS'
39919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39928 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39930 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39931 for ac_func in log10l
39932 do :
39933 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39934 if test "x$ac_cv_func_log10l" = x""yes; then :
39935 cat >>confdefs.h <<_ACEOF
39936 #define HAVE_LOG10L 1
39937 _ACEOF
39940 done
39942 else
39944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39945 $as_echo_n "checking for _log10l declaration... " >&6; }
39946 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39947 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39948 $as_echo_n "(cached) " >&6
39949 else
39952 ac_ext=cpp
39953 ac_cpp='$CXXCPP $CPPFLAGS'
39954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39959 /* end confdefs.h. */
39960 #include <math.h>
39961 #ifdef HAVE_IEEEFP_H
39962 #include <ieeefp.h>
39963 #endif
39966 main ()
39968 _log10l(0);
39970 return 0;
39972 _ACEOF
39973 if ac_fn_cxx_try_compile "$LINENO"; then :
39974 glibcxx_cv_func__log10l_use=yes
39975 else
39976 glibcxx_cv_func__log10l_use=no
39978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39979 ac_ext=c
39980 ac_cpp='$CPP $CPPFLAGS'
39981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39990 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39992 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39993 for ac_func in _log10l
39994 do :
39995 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39996 if test "x$ac_cv_func__log10l" = x""yes; then :
39997 cat >>confdefs.h <<_ACEOF
39998 #define HAVE__LOG10L 1
39999 _ACEOF
40002 done
40011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40012 $as_echo_n "checking for modfl declaration... " >&6; }
40013 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40014 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40015 $as_echo_n "(cached) " >&6
40016 else
40019 ac_ext=cpp
40020 ac_cpp='$CXXCPP $CPPFLAGS'
40021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40026 /* end confdefs.h. */
40027 #include <math.h>
40029 main ()
40031 modfl(0, 0);
40033 return 0;
40035 _ACEOF
40036 if ac_fn_cxx_try_compile "$LINENO"; then :
40037 glibcxx_cv_func_modfl_use=yes
40038 else
40039 glibcxx_cv_func_modfl_use=no
40041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40042 ac_ext=c
40043 ac_cpp='$CPP $CPPFLAGS'
40044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40053 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40055 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40056 for ac_func in modfl
40057 do :
40058 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40059 if test "x$ac_cv_func_modfl" = x""yes; then :
40060 cat >>confdefs.h <<_ACEOF
40061 #define HAVE_MODFL 1
40062 _ACEOF
40065 done
40067 else
40069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40070 $as_echo_n "checking for _modfl declaration... " >&6; }
40071 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40072 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40073 $as_echo_n "(cached) " >&6
40074 else
40077 ac_ext=cpp
40078 ac_cpp='$CXXCPP $CPPFLAGS'
40079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40084 /* end confdefs.h. */
40085 #include <math.h>
40087 main ()
40089 _modfl(0, 0);
40091 return 0;
40093 _ACEOF
40094 if ac_fn_cxx_try_compile "$LINENO"; then :
40095 glibcxx_cv_func__modfl_use=yes
40096 else
40097 glibcxx_cv_func__modfl_use=no
40099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40100 ac_ext=c
40101 ac_cpp='$CPP $CPPFLAGS'
40102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40111 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40113 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40114 for ac_func in _modfl
40115 do :
40116 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40117 if test "x$ac_cv_func__modfl" = x""yes; then :
40118 cat >>confdefs.h <<_ACEOF
40119 #define HAVE__MODFL 1
40120 _ACEOF
40123 done
40132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40133 $as_echo_n "checking for powl declaration... " >&6; }
40134 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40135 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40136 $as_echo_n "(cached) " >&6
40137 else
40140 ac_ext=cpp
40141 ac_cpp='$CXXCPP $CPPFLAGS'
40142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40147 /* end confdefs.h. */
40148 #include <math.h>
40150 main ()
40152 powl(0, 0);
40154 return 0;
40156 _ACEOF
40157 if ac_fn_cxx_try_compile "$LINENO"; then :
40158 glibcxx_cv_func_powl_use=yes
40159 else
40160 glibcxx_cv_func_powl_use=no
40162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40163 ac_ext=c
40164 ac_cpp='$CPP $CPPFLAGS'
40165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40174 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40176 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40177 for ac_func in powl
40178 do :
40179 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40180 if test "x$ac_cv_func_powl" = x""yes; then :
40181 cat >>confdefs.h <<_ACEOF
40182 #define HAVE_POWL 1
40183 _ACEOF
40186 done
40188 else
40190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40191 $as_echo_n "checking for _powl declaration... " >&6; }
40192 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40193 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40194 $as_echo_n "(cached) " >&6
40195 else
40198 ac_ext=cpp
40199 ac_cpp='$CXXCPP $CPPFLAGS'
40200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40205 /* end confdefs.h. */
40206 #include <math.h>
40208 main ()
40210 _powl(0, 0);
40212 return 0;
40214 _ACEOF
40215 if ac_fn_cxx_try_compile "$LINENO"; then :
40216 glibcxx_cv_func__powl_use=yes
40217 else
40218 glibcxx_cv_func__powl_use=no
40220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40221 ac_ext=c
40222 ac_cpp='$CPP $CPPFLAGS'
40223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40232 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40234 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40235 for ac_func in _powl
40236 do :
40237 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40238 if test "x$ac_cv_func__powl" = x""yes; then :
40239 cat >>confdefs.h <<_ACEOF
40240 #define HAVE__POWL 1
40241 _ACEOF
40244 done
40253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40254 $as_echo_n "checking for sqrtl declaration... " >&6; }
40255 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40256 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40257 $as_echo_n "(cached) " >&6
40258 else
40261 ac_ext=cpp
40262 ac_cpp='$CXXCPP $CPPFLAGS'
40263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40268 /* end confdefs.h. */
40269 #include <math.h>
40270 #ifdef HAVE_IEEEFP_H
40271 #include <ieeefp.h>
40272 #endif
40275 main ()
40277 sqrtl(0);
40279 return 0;
40281 _ACEOF
40282 if ac_fn_cxx_try_compile "$LINENO"; then :
40283 glibcxx_cv_func_sqrtl_use=yes
40284 else
40285 glibcxx_cv_func_sqrtl_use=no
40287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40288 ac_ext=c
40289 ac_cpp='$CPP $CPPFLAGS'
40290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40299 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40301 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40302 for ac_func in sqrtl
40303 do :
40304 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40305 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40306 cat >>confdefs.h <<_ACEOF
40307 #define HAVE_SQRTL 1
40308 _ACEOF
40311 done
40313 else
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40316 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40317 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40318 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40319 $as_echo_n "(cached) " >&6
40320 else
40323 ac_ext=cpp
40324 ac_cpp='$CXXCPP $CPPFLAGS'
40325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40330 /* end confdefs.h. */
40331 #include <math.h>
40332 #ifdef HAVE_IEEEFP_H
40333 #include <ieeefp.h>
40334 #endif
40337 main ()
40339 _sqrtl(0);
40341 return 0;
40343 _ACEOF
40344 if ac_fn_cxx_try_compile "$LINENO"; then :
40345 glibcxx_cv_func__sqrtl_use=yes
40346 else
40347 glibcxx_cv_func__sqrtl_use=no
40349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40350 ac_ext=c
40351 ac_cpp='$CPP $CPPFLAGS'
40352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40361 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40363 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40364 for ac_func in _sqrtl
40365 do :
40366 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40367 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40368 cat >>confdefs.h <<_ACEOF
40369 #define HAVE__SQRTL 1
40370 _ACEOF
40373 done
40382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40383 $as_echo_n "checking for sincosl declaration... " >&6; }
40384 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40385 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40386 $as_echo_n "(cached) " >&6
40387 else
40390 ac_ext=cpp
40391 ac_cpp='$CXXCPP $CPPFLAGS'
40392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40397 /* end confdefs.h. */
40398 #include <math.h>
40400 main ()
40402 sincosl(0, 0, 0);
40404 return 0;
40406 _ACEOF
40407 if ac_fn_cxx_try_compile "$LINENO"; then :
40408 glibcxx_cv_func_sincosl_use=yes
40409 else
40410 glibcxx_cv_func_sincosl_use=no
40412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40413 ac_ext=c
40414 ac_cpp='$CPP $CPPFLAGS'
40415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40424 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40426 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40427 for ac_func in sincosl
40428 do :
40429 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40430 if test "x$ac_cv_func_sincosl" = x""yes; then :
40431 cat >>confdefs.h <<_ACEOF
40432 #define HAVE_SINCOSL 1
40433 _ACEOF
40436 done
40438 else
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40441 $as_echo_n "checking for _sincosl declaration... " >&6; }
40442 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40443 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40444 $as_echo_n "(cached) " >&6
40445 else
40448 ac_ext=cpp
40449 ac_cpp='$CXXCPP $CPPFLAGS'
40450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40455 /* end confdefs.h. */
40456 #include <math.h>
40458 main ()
40460 _sincosl(0, 0, 0);
40462 return 0;
40464 _ACEOF
40465 if ac_fn_cxx_try_compile "$LINENO"; then :
40466 glibcxx_cv_func__sincosl_use=yes
40467 else
40468 glibcxx_cv_func__sincosl_use=no
40470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40471 ac_ext=c
40472 ac_cpp='$CPP $CPPFLAGS'
40473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40482 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40484 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40485 for ac_func in _sincosl
40486 do :
40487 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40488 if test "x$ac_cv_func__sincosl" = x""yes; then :
40489 cat >>confdefs.h <<_ACEOF
40490 #define HAVE__SINCOSL 1
40491 _ACEOF
40494 done
40503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40504 $as_echo_n "checking for finitel declaration... " >&6; }
40505 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40506 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40507 $as_echo_n "(cached) " >&6
40508 else
40511 ac_ext=cpp
40512 ac_cpp='$CXXCPP $CPPFLAGS'
40513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40518 /* end confdefs.h. */
40519 #include <math.h>
40520 #ifdef HAVE_IEEEFP_H
40521 #include <ieeefp.h>
40522 #endif
40525 main ()
40527 finitel(0);
40529 return 0;
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533 glibcxx_cv_func_finitel_use=yes
40534 else
40535 glibcxx_cv_func_finitel_use=no
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538 ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40549 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40551 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40552 for ac_func in finitel
40553 do :
40554 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40555 if test "x$ac_cv_func_finitel" = x""yes; then :
40556 cat >>confdefs.h <<_ACEOF
40557 #define HAVE_FINITEL 1
40558 _ACEOF
40561 done
40563 else
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40566 $as_echo_n "checking for _finitel declaration... " >&6; }
40567 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40568 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40569 $as_echo_n "(cached) " >&6
40570 else
40573 ac_ext=cpp
40574 ac_cpp='$CXXCPP $CPPFLAGS'
40575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40580 /* end confdefs.h. */
40581 #include <math.h>
40582 #ifdef HAVE_IEEEFP_H
40583 #include <ieeefp.h>
40584 #endif
40587 main ()
40589 _finitel(0);
40591 return 0;
40593 _ACEOF
40594 if ac_fn_cxx_try_compile "$LINENO"; then :
40595 glibcxx_cv_func__finitel_use=yes
40596 else
40597 glibcxx_cv_func__finitel_use=no
40599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40600 ac_ext=c
40601 ac_cpp='$CPP $CPPFLAGS'
40602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40611 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40613 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40614 for ac_func in _finitel
40615 do :
40616 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40617 if test "x$ac_cv_func__finitel" = x""yes; then :
40618 cat >>confdefs.h <<_ACEOF
40619 #define HAVE__FINITEL 1
40620 _ACEOF
40623 done
40631 LIBS="$ac_save_LIBS"
40632 CXXFLAGS="$ac_save_CXXFLAGS"
40635 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40636 ac_save_CXXFLAGS="$CXXFLAGS"
40637 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40641 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40642 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40643 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40644 $as_echo_n "(cached) " >&6
40645 else
40648 ac_ext=cpp
40649 ac_cpp='$CXXCPP $CPPFLAGS'
40650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40655 /* end confdefs.h. */
40656 #include <stdlib.h>
40658 main ()
40660 at_quick_exit(0);
40662 return 0;
40664 _ACEOF
40665 if ac_fn_cxx_try_compile "$LINENO"; then :
40666 glibcxx_cv_func_at_quick_exit_use=yes
40667 else
40668 glibcxx_cv_func_at_quick_exit_use=no
40670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40671 ac_ext=c
40672 ac_cpp='$CPP $CPPFLAGS'
40673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40682 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40683 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40684 for ac_func in at_quick_exit
40685 do :
40686 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40687 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40688 cat >>confdefs.h <<_ACEOF
40689 #define HAVE_AT_QUICK_EXIT 1
40690 _ACEOF
40693 done
40698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40699 $as_echo_n "checking for quick_exit declaration... " >&6; }
40700 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40701 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40702 $as_echo_n "(cached) " >&6
40703 else
40706 ac_ext=cpp
40707 ac_cpp='$CXXCPP $CPPFLAGS'
40708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40713 /* end confdefs.h. */
40714 #include <stdlib.h>
40716 main ()
40718 quick_exit(0);
40720 return 0;
40722 _ACEOF
40723 if ac_fn_cxx_try_compile "$LINENO"; then :
40724 glibcxx_cv_func_quick_exit_use=yes
40725 else
40726 glibcxx_cv_func_quick_exit_use=no
40728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40729 ac_ext=c
40730 ac_cpp='$CPP $CPPFLAGS'
40731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40740 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40741 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40742 for ac_func in quick_exit
40743 do :
40744 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40745 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40746 cat >>confdefs.h <<_ACEOF
40747 #define HAVE_QUICK_EXIT 1
40748 _ACEOF
40751 done
40756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40757 $as_echo_n "checking for strtold declaration... " >&6; }
40758 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40759 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40760 $as_echo_n "(cached) " >&6
40761 else
40764 ac_ext=cpp
40765 ac_cpp='$CXXCPP $CPPFLAGS'
40766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40771 /* end confdefs.h. */
40772 #include <stdlib.h>
40774 main ()
40776 strtold(0, 0);
40778 return 0;
40780 _ACEOF
40781 if ac_fn_cxx_try_compile "$LINENO"; then :
40782 glibcxx_cv_func_strtold_use=yes
40783 else
40784 glibcxx_cv_func_strtold_use=no
40786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40787 ac_ext=c
40788 ac_cpp='$CPP $CPPFLAGS'
40789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40798 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40799 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40800 for ac_func in strtold
40801 do :
40802 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40803 if test "x$ac_cv_func_strtold" = x""yes; then :
40804 cat >>confdefs.h <<_ACEOF
40805 #define HAVE_STRTOLD 1
40806 _ACEOF
40809 done
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40817 $as_echo_n "checking for strtof declaration... " >&6; }
40818 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40819 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40820 $as_echo_n "(cached) " >&6
40821 else
40824 ac_ext=cpp
40825 ac_cpp='$CXXCPP $CPPFLAGS'
40826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40831 /* end confdefs.h. */
40832 #include <stdlib.h>
40834 main ()
40836 strtof(0, 0);
40838 return 0;
40840 _ACEOF
40841 if ac_fn_cxx_try_compile "$LINENO"; then :
40842 glibcxx_cv_func_strtof_use=yes
40843 else
40844 glibcxx_cv_func_strtof_use=no
40846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40847 ac_ext=c
40848 ac_cpp='$CPP $CPPFLAGS'
40849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40858 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40859 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40860 for ac_func in strtof
40861 do :
40862 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40863 if test "x$ac_cv_func_strtof" = x""yes; then :
40864 cat >>confdefs.h <<_ACEOF
40865 #define HAVE_STRTOF 1
40866 _ACEOF
40869 done
40876 CXXFLAGS="$ac_save_CXXFLAGS"
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40884 $as_echo_n "checking for iconv... " >&6; }
40885 if test "${am_cv_func_iconv+set}" = set; then :
40886 $as_echo_n "(cached) " >&6
40887 else
40889 am_cv_func_iconv="no, consider installing GNU libiconv"
40890 am_cv_lib_iconv=no
40891 am_save_CPPFLAGS="$CPPFLAGS"
40892 CPPFLAGS="$CPPFLAGS $INCICONV"
40893 if test x$gcc_no_link = xyes; then
40894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40897 /* end confdefs.h. */
40898 #include <stdlib.h>
40899 #include <iconv.h>
40901 main ()
40903 iconv_t cd = iconv_open("","");
40904 iconv(cd,NULL,NULL,NULL,NULL);
40905 iconv_close(cd);
40907 return 0;
40909 _ACEOF
40910 if ac_fn_c_try_link "$LINENO"; then :
40911 am_cv_func_iconv=yes
40913 rm -f core conftest.err conftest.$ac_objext \
40914 conftest$ac_exeext conftest.$ac_ext
40915 CPPFLAGS="$am_save_CPPFLAGS"
40917 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40918 for _libs in .libs _libs; do
40919 am_save_CPPFLAGS="$CPPFLAGS"
40920 am_save_LIBS="$LIBS"
40921 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40922 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40923 if test x$gcc_no_link = xyes; then
40924 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40927 /* end confdefs.h. */
40928 #include <stdlib.h>
40929 #include <iconv.h>
40931 main ()
40933 iconv_t cd = iconv_open("","");
40934 iconv(cd,NULL,NULL,NULL,NULL);
40935 iconv_close(cd);
40937 return 0;
40939 _ACEOF
40940 if ac_fn_c_try_link "$LINENO"; then :
40941 INCICONV="-I../libiconv/include"
40942 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40943 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40944 am_cv_lib_iconv=yes
40945 am_cv_func_iconv=yes
40947 rm -f core conftest.err conftest.$ac_objext \
40948 conftest$ac_exeext conftest.$ac_ext
40949 CPPFLAGS="$am_save_CPPFLAGS"
40950 LIBS="$am_save_LIBS"
40951 if test "$am_cv_func_iconv" = "yes"; then
40952 break
40954 done
40957 if test "$am_cv_func_iconv" != yes; then
40958 am_save_CPPFLAGS="$CPPFLAGS"
40959 am_save_LIBS="$LIBS"
40960 CPPFLAGS="$LIBS $INCICONV"
40961 LIBS="$LIBS $LIBICONV"
40962 if test x$gcc_no_link = xyes; then
40963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40966 /* end confdefs.h. */
40967 #include <stdlib.h>
40968 #include <iconv.h>
40970 main ()
40972 iconv_t cd = iconv_open("","");
40973 iconv(cd,NULL,NULL,NULL,NULL);
40974 iconv_close(cd);
40976 return 0;
40978 _ACEOF
40979 if ac_fn_c_try_link "$LINENO"; then :
40980 am_cv_lib_iconv=yes
40981 am_cv_func_iconv=yes
40983 rm -f core conftest.err conftest.$ac_objext \
40984 conftest$ac_exeext conftest.$ac_ext
40985 CPPFLAGS="$am_save_CPPFLAGS"
40986 LIBS="$am_save_LIBS"
40990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40991 $as_echo "$am_cv_func_iconv" >&6; }
40992 if test "$am_cv_func_iconv" = yes; then
40994 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40997 if test "$am_cv_lib_iconv" = yes; then
40999 for element in $INCICONV; do
41000 haveit=
41001 for x in $CPPFLAGS; do
41003 acl_save_prefix="$prefix"
41004 prefix="$acl_final_prefix"
41005 acl_save_exec_prefix="$exec_prefix"
41006 exec_prefix="$acl_final_exec_prefix"
41007 eval x=\"$x\"
41008 exec_prefix="$acl_save_exec_prefix"
41009 prefix="$acl_save_prefix"
41011 if test "X$x" = "X$element"; then
41012 haveit=yes
41013 break
41015 done
41016 if test -z "$haveit"; then
41017 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41019 done
41021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41022 $as_echo_n "checking how to link with libiconv... " >&6; }
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41024 $as_echo "$LIBICONV" >&6; }
41025 else
41026 LIBICONV=
41027 LTLIBICONV=
41032 if test "$am_cv_func_iconv" = yes; then
41033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41034 $as_echo_n "checking for iconv declaration... " >&6; }
41035 if test "${am_cv_proto_iconv+set}" = set; then :
41036 $as_echo_n "(cached) " >&6
41037 else
41039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41040 /* end confdefs.h. */
41042 #include <stdlib.h>
41043 #include <iconv.h>
41044 extern
41045 #ifdef __cplusplus
41047 #endif
41048 #if defined(__STDC__) || defined(__cplusplus)
41049 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41050 #else
41051 size_t iconv();
41052 #endif
41055 main ()
41059 return 0;
41061 _ACEOF
41062 if ac_fn_c_try_compile "$LINENO"; then :
41063 am_cv_proto_iconv_arg1=""
41064 else
41065 am_cv_proto_iconv_arg1="const"
41067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41068 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);"
41071 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41073 }$am_cv_proto_iconv" >&5
41074 $as_echo "${ac_t:-
41075 }$am_cv_proto_iconv" >&6; }
41077 cat >>confdefs.h <<_ACEOF
41078 #define ICONV_CONST $am_cv_proto_iconv_arg1
41079 _ACEOF
41085 *-aix*)
41087 # If we're not using GNU ld, then there's no point in even trying these
41088 # tests. Check for that first. We should have already tested for gld
41089 # by now (in libtool), but require it now just to be safe...
41090 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41091 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41095 # The name set by libtool depends on the version of libtool. Shame on us
41096 # for depending on an impl detail, but c'est la vie. Older versions used
41097 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41098 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41099 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41100 # set (hence we're using an older libtool), then set it.
41101 if test x${with_gnu_ld+set} != xset; then
41102 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41103 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41104 with_gnu_ld=no
41105 else
41106 with_gnu_ld=$ac_cv_prog_gnu_ld
41110 # Start by getting the version number. I think the libtool test already
41111 # does some of this, but throws away the result.
41112 glibcxx_ld_is_gold=no
41113 if test x"$with_gnu_ld" = x"yes"; then
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41115 $as_echo_n "checking for ld version... " >&6; }
41117 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41118 glibcxx_ld_is_gold=yes
41120 ldver=`$LD --version 2>/dev/null |
41121 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'`
41123 glibcxx_gnu_ld_version=`echo $ldver | \
41124 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41126 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41129 # Set --gc-sections.
41130 glibcxx_have_gc_sections=no
41131 if test "$glibcxx_ld_is_gold" = "yes"; then
41132 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41133 glibcxx_have_gc_sections=yes
41135 else
41136 glibcxx_gcsections_min_ld=21602
41137 if test x"$with_gnu_ld" = x"yes" &&
41138 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41139 glibcxx_have_gc_sections=yes
41142 if test "$glibcxx_have_gc_sections" = "yes"; then
41143 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41144 # NB: This flag only works reliably after 2.16.1. Configure tests
41145 # for this are difficult, so hard wire a value that should work.
41147 ac_test_CFLAGS="${CFLAGS+set}"
41148 ac_save_CFLAGS="$CFLAGS"
41149 CFLAGS='-Wl,--gc-sections'
41151 # Check for -Wl,--gc-sections
41152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41153 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41154 if test x$gcc_no_link = xyes; then
41155 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41158 /* end confdefs.h. */
41159 int one(void) { return 1; }
41160 int two(void) { return 2; }
41163 main ()
41165 two();
41167 return 0;
41169 _ACEOF
41170 if ac_fn_c_try_link "$LINENO"; then :
41171 ac_gcsections=yes
41172 else
41173 ac_gcsections=no
41175 rm -f core conftest.err conftest.$ac_objext \
41176 conftest$ac_exeext conftest.$ac_ext
41177 if test "$ac_gcsections" = "yes"; then
41178 rm -f conftest.c
41179 touch conftest.c
41180 if $CC -c conftest.c; then
41181 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41182 grep "Warning: gc-sections option ignored" > /dev/null; then
41183 ac_gcsections=no
41186 rm -f conftest.c conftest.o conftest
41188 if test "$ac_gcsections" = "yes"; then
41189 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41192 $as_echo "$ac_gcsections" >&6; }
41194 if test "$ac_test_CFLAGS" = set; then
41195 CFLAGS="$ac_save_CFLAGS"
41196 else
41197 # this is the suspicious part
41198 CFLAGS=''
41202 # Set -z,relro.
41203 # Note this is only for shared objects.
41204 ac_ld_relro=no
41205 if test x"$with_gnu_ld" = x"yes"; then
41206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41207 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41208 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41209 if test -n "$cxx_z_relo"; then
41210 OPT_LDFLAGS="-Wl,-z,relro"
41211 ac_ld_relro=yes
41213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41214 $as_echo "$ac_ld_relro" >&6; }
41217 # Set linker optimization flags.
41218 if test x"$with_gnu_ld" = x"yes"; then
41219 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41226 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41227 ac_save_CXXFLAGS="$CXXFLAGS"
41228 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41231 $as_echo_n "checking for sin in -lm... " >&6; }
41232 if test "${ac_cv_lib_m_sin+set}" = set; then :
41233 $as_echo_n "(cached) " >&6
41234 else
41235 ac_check_lib_save_LIBS=$LIBS
41236 LIBS="-lm $LIBS"
41237 if test x$gcc_no_link = xyes; then
41238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41241 /* end confdefs.h. */
41243 /* Override any GCC internal prototype to avoid an error.
41244 Use char because int might match the return type of a GCC
41245 builtin and then its argument prototype would still apply. */
41246 #ifdef __cplusplus
41247 extern "C"
41248 #endif
41249 char sin ();
41251 main ()
41253 return sin ();
41255 return 0;
41257 _ACEOF
41258 if ac_fn_c_try_link "$LINENO"; then :
41259 ac_cv_lib_m_sin=yes
41260 else
41261 ac_cv_lib_m_sin=no
41263 rm -f core conftest.err conftest.$ac_objext \
41264 conftest$ac_exeext conftest.$ac_ext
41265 LIBS=$ac_check_lib_save_LIBS
41267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41268 $as_echo "$ac_cv_lib_m_sin" >&6; }
41269 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41270 libm="-lm"
41273 ac_save_LIBS="$LIBS"
41274 LIBS="$LIBS $libm"
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41279 $as_echo_n "checking for isinf declaration... " >&6; }
41280 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41281 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41282 $as_echo_n "(cached) " >&6
41283 else
41286 ac_ext=cpp
41287 ac_cpp='$CXXCPP $CPPFLAGS'
41288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41293 /* end confdefs.h. */
41294 #include <math.h>
41295 #ifdef HAVE_IEEEFP_H
41296 #include <ieeefp.h>
41297 #endif
41300 main ()
41302 isinf(0);
41304 return 0;
41306 _ACEOF
41307 if ac_fn_cxx_try_compile "$LINENO"; then :
41308 glibcxx_cv_func_isinf_use=yes
41309 else
41310 glibcxx_cv_func_isinf_use=no
41312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41313 ac_ext=c
41314 ac_cpp='$CPP $CPPFLAGS'
41315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41324 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41326 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41327 for ac_func in isinf
41328 do :
41329 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41330 if test "x$ac_cv_func_isinf" = x""yes; then :
41331 cat >>confdefs.h <<_ACEOF
41332 #define HAVE_ISINF 1
41333 _ACEOF
41336 done
41338 else
41340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41341 $as_echo_n "checking for _isinf declaration... " >&6; }
41342 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41343 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41344 $as_echo_n "(cached) " >&6
41345 else
41348 ac_ext=cpp
41349 ac_cpp='$CXXCPP $CPPFLAGS'
41350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41355 /* end confdefs.h. */
41356 #include <math.h>
41357 #ifdef HAVE_IEEEFP_H
41358 #include <ieeefp.h>
41359 #endif
41362 main ()
41364 _isinf(0);
41366 return 0;
41368 _ACEOF
41369 if ac_fn_cxx_try_compile "$LINENO"; then :
41370 glibcxx_cv_func__isinf_use=yes
41371 else
41372 glibcxx_cv_func__isinf_use=no
41374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41375 ac_ext=c
41376 ac_cpp='$CPP $CPPFLAGS'
41377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41386 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41388 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41389 for ac_func in _isinf
41390 do :
41391 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41392 if test "x$ac_cv_func__isinf" = x""yes; then :
41393 cat >>confdefs.h <<_ACEOF
41394 #define HAVE__ISINF 1
41395 _ACEOF
41398 done
41407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41408 $as_echo_n "checking for isnan declaration... " >&6; }
41409 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41410 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41411 $as_echo_n "(cached) " >&6
41412 else
41415 ac_ext=cpp
41416 ac_cpp='$CXXCPP $CPPFLAGS'
41417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41422 /* end confdefs.h. */
41423 #include <math.h>
41424 #ifdef HAVE_IEEEFP_H
41425 #include <ieeefp.h>
41426 #endif
41429 main ()
41431 isnan(0);
41433 return 0;
41435 _ACEOF
41436 if ac_fn_cxx_try_compile "$LINENO"; then :
41437 glibcxx_cv_func_isnan_use=yes
41438 else
41439 glibcxx_cv_func_isnan_use=no
41441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41442 ac_ext=c
41443 ac_cpp='$CPP $CPPFLAGS'
41444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41453 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41455 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41456 for ac_func in isnan
41457 do :
41458 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41459 if test "x$ac_cv_func_isnan" = x""yes; then :
41460 cat >>confdefs.h <<_ACEOF
41461 #define HAVE_ISNAN 1
41462 _ACEOF
41465 done
41467 else
41469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41470 $as_echo_n "checking for _isnan declaration... " >&6; }
41471 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41472 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41473 $as_echo_n "(cached) " >&6
41474 else
41477 ac_ext=cpp
41478 ac_cpp='$CXXCPP $CPPFLAGS'
41479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41484 /* end confdefs.h. */
41485 #include <math.h>
41486 #ifdef HAVE_IEEEFP_H
41487 #include <ieeefp.h>
41488 #endif
41491 main ()
41493 _isnan(0);
41495 return 0;
41497 _ACEOF
41498 if ac_fn_cxx_try_compile "$LINENO"; then :
41499 glibcxx_cv_func__isnan_use=yes
41500 else
41501 glibcxx_cv_func__isnan_use=no
41503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41504 ac_ext=c
41505 ac_cpp='$CPP $CPPFLAGS'
41506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41515 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41517 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41518 for ac_func in _isnan
41519 do :
41520 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41521 if test "x$ac_cv_func__isnan" = x""yes; then :
41522 cat >>confdefs.h <<_ACEOF
41523 #define HAVE__ISNAN 1
41524 _ACEOF
41527 done
41536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41537 $as_echo_n "checking for finite declaration... " >&6; }
41538 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41539 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41540 $as_echo_n "(cached) " >&6
41541 else
41544 ac_ext=cpp
41545 ac_cpp='$CXXCPP $CPPFLAGS'
41546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41551 /* end confdefs.h. */
41552 #include <math.h>
41553 #ifdef HAVE_IEEEFP_H
41554 #include <ieeefp.h>
41555 #endif
41558 main ()
41560 finite(0);
41562 return 0;
41564 _ACEOF
41565 if ac_fn_cxx_try_compile "$LINENO"; then :
41566 glibcxx_cv_func_finite_use=yes
41567 else
41568 glibcxx_cv_func_finite_use=no
41570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41571 ac_ext=c
41572 ac_cpp='$CPP $CPPFLAGS'
41573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41582 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41584 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41585 for ac_func in finite
41586 do :
41587 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41588 if test "x$ac_cv_func_finite" = x""yes; then :
41589 cat >>confdefs.h <<_ACEOF
41590 #define HAVE_FINITE 1
41591 _ACEOF
41594 done
41596 else
41598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41599 $as_echo_n "checking for _finite declaration... " >&6; }
41600 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41601 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41602 $as_echo_n "(cached) " >&6
41603 else
41606 ac_ext=cpp
41607 ac_cpp='$CXXCPP $CPPFLAGS'
41608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41613 /* end confdefs.h. */
41614 #include <math.h>
41615 #ifdef HAVE_IEEEFP_H
41616 #include <ieeefp.h>
41617 #endif
41620 main ()
41622 _finite(0);
41624 return 0;
41626 _ACEOF
41627 if ac_fn_cxx_try_compile "$LINENO"; then :
41628 glibcxx_cv_func__finite_use=yes
41629 else
41630 glibcxx_cv_func__finite_use=no
41632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41633 ac_ext=c
41634 ac_cpp='$CPP $CPPFLAGS'
41635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41644 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41646 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41647 for ac_func in _finite
41648 do :
41649 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41650 if test "x$ac_cv_func__finite" = x""yes; then :
41651 cat >>confdefs.h <<_ACEOF
41652 #define HAVE__FINITE 1
41653 _ACEOF
41656 done
41665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41666 $as_echo_n "checking for sincos declaration... " >&6; }
41667 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41668 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41669 $as_echo_n "(cached) " >&6
41670 else
41673 ac_ext=cpp
41674 ac_cpp='$CXXCPP $CPPFLAGS'
41675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41680 /* end confdefs.h. */
41681 #include <math.h>
41683 main ()
41685 sincos(0, 0, 0);
41687 return 0;
41689 _ACEOF
41690 if ac_fn_cxx_try_compile "$LINENO"; then :
41691 glibcxx_cv_func_sincos_use=yes
41692 else
41693 glibcxx_cv_func_sincos_use=no
41695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696 ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41707 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41709 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41710 for ac_func in sincos
41711 do :
41712 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41713 if test "x$ac_cv_func_sincos" = x""yes; then :
41714 cat >>confdefs.h <<_ACEOF
41715 #define HAVE_SINCOS 1
41716 _ACEOF
41719 done
41721 else
41723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41724 $as_echo_n "checking for _sincos declaration... " >&6; }
41725 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41726 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41727 $as_echo_n "(cached) " >&6
41728 else
41731 ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h. */
41739 #include <math.h>
41741 main ()
41743 _sincos(0, 0, 0);
41745 return 0;
41747 _ACEOF
41748 if ac_fn_cxx_try_compile "$LINENO"; then :
41749 glibcxx_cv_func__sincos_use=yes
41750 else
41751 glibcxx_cv_func__sincos_use=no
41753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41754 ac_ext=c
41755 ac_cpp='$CPP $CPPFLAGS'
41756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41765 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41767 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41768 for ac_func in _sincos
41769 do :
41770 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41771 if test "x$ac_cv_func__sincos" = x""yes; then :
41772 cat >>confdefs.h <<_ACEOF
41773 #define HAVE__SINCOS 1
41774 _ACEOF
41777 done
41786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41787 $as_echo_n "checking for fpclass declaration... " >&6; }
41788 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41789 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41790 $as_echo_n "(cached) " >&6
41791 else
41794 ac_ext=cpp
41795 ac_cpp='$CXXCPP $CPPFLAGS'
41796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41801 /* end confdefs.h. */
41802 #include <math.h>
41803 #ifdef HAVE_IEEEFP_H
41804 #include <ieeefp.h>
41805 #endif
41808 main ()
41810 fpclass(0);
41812 return 0;
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816 glibcxx_cv_func_fpclass_use=yes
41817 else
41818 glibcxx_cv_func_fpclass_use=no
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821 ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41832 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41834 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41835 for ac_func in fpclass
41836 do :
41837 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41838 if test "x$ac_cv_func_fpclass" = x""yes; then :
41839 cat >>confdefs.h <<_ACEOF
41840 #define HAVE_FPCLASS 1
41841 _ACEOF
41844 done
41846 else
41848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41849 $as_echo_n "checking for _fpclass declaration... " >&6; }
41850 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41851 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41852 $as_echo_n "(cached) " >&6
41853 else
41856 ac_ext=cpp
41857 ac_cpp='$CXXCPP $CPPFLAGS'
41858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41863 /* end confdefs.h. */
41864 #include <math.h>
41865 #ifdef HAVE_IEEEFP_H
41866 #include <ieeefp.h>
41867 #endif
41870 main ()
41872 _fpclass(0);
41874 return 0;
41876 _ACEOF
41877 if ac_fn_cxx_try_compile "$LINENO"; then :
41878 glibcxx_cv_func__fpclass_use=yes
41879 else
41880 glibcxx_cv_func__fpclass_use=no
41882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41883 ac_ext=c
41884 ac_cpp='$CPP $CPPFLAGS'
41885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41894 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41896 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41897 for ac_func in _fpclass
41898 do :
41899 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41900 if test "x$ac_cv_func__fpclass" = x""yes; then :
41901 cat >>confdefs.h <<_ACEOF
41902 #define HAVE__FPCLASS 1
41903 _ACEOF
41906 done
41915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41916 $as_echo_n "checking for qfpclass declaration... " >&6; }
41917 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41918 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41919 $as_echo_n "(cached) " >&6
41920 else
41923 ac_ext=cpp
41924 ac_cpp='$CXXCPP $CPPFLAGS'
41925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41930 /* end confdefs.h. */
41931 #include <math.h>
41932 #ifdef HAVE_IEEEFP_H
41933 #include <ieeefp.h>
41934 #endif
41937 main ()
41939 qfpclass(0);
41941 return 0;
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945 glibcxx_cv_func_qfpclass_use=yes
41946 else
41947 glibcxx_cv_func_qfpclass_use=no
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950 ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41961 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41963 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41964 for ac_func in qfpclass
41965 do :
41966 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41967 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41968 cat >>confdefs.h <<_ACEOF
41969 #define HAVE_QFPCLASS 1
41970 _ACEOF
41973 done
41975 else
41977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41978 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41979 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41980 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41981 $as_echo_n "(cached) " >&6
41982 else
41985 ac_ext=cpp
41986 ac_cpp='$CXXCPP $CPPFLAGS'
41987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41992 /* end confdefs.h. */
41993 #include <math.h>
41994 #ifdef HAVE_IEEEFP_H
41995 #include <ieeefp.h>
41996 #endif
41999 main ()
42001 _qfpclass(0);
42003 return 0;
42005 _ACEOF
42006 if ac_fn_cxx_try_compile "$LINENO"; then :
42007 glibcxx_cv_func__qfpclass_use=yes
42008 else
42009 glibcxx_cv_func__qfpclass_use=no
42011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42012 ac_ext=c
42013 ac_cpp='$CPP $CPPFLAGS'
42014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42023 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42025 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42026 for ac_func in _qfpclass
42027 do :
42028 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42029 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42030 cat >>confdefs.h <<_ACEOF
42031 #define HAVE__QFPCLASS 1
42032 _ACEOF
42035 done
42044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42045 $as_echo_n "checking for hypot declaration... " >&6; }
42046 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42047 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42048 $as_echo_n "(cached) " >&6
42049 else
42052 ac_ext=cpp
42053 ac_cpp='$CXXCPP $CPPFLAGS'
42054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42059 /* end confdefs.h. */
42060 #include <math.h>
42062 main ()
42064 hypot(0, 0);
42066 return 0;
42068 _ACEOF
42069 if ac_fn_cxx_try_compile "$LINENO"; then :
42070 glibcxx_cv_func_hypot_use=yes
42071 else
42072 glibcxx_cv_func_hypot_use=no
42074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42075 ac_ext=c
42076 ac_cpp='$CPP $CPPFLAGS'
42077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42086 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42088 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42089 for ac_func in hypot
42090 do :
42091 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42092 if test "x$ac_cv_func_hypot" = x""yes; then :
42093 cat >>confdefs.h <<_ACEOF
42094 #define HAVE_HYPOT 1
42095 _ACEOF
42098 done
42100 else
42102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42103 $as_echo_n "checking for _hypot declaration... " >&6; }
42104 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42105 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42106 $as_echo_n "(cached) " >&6
42107 else
42110 ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h. */
42118 #include <math.h>
42120 main ()
42122 _hypot(0, 0);
42124 return 0;
42126 _ACEOF
42127 if ac_fn_cxx_try_compile "$LINENO"; then :
42128 glibcxx_cv_func__hypot_use=yes
42129 else
42130 glibcxx_cv_func__hypot_use=no
42132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42133 ac_ext=c
42134 ac_cpp='$CPP $CPPFLAGS'
42135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42144 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42146 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42147 for ac_func in _hypot
42148 do :
42149 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42150 if test "x$ac_cv_func__hypot" = x""yes; then :
42151 cat >>confdefs.h <<_ACEOF
42152 #define HAVE__HYPOT 1
42153 _ACEOF
42156 done
42165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42166 $as_echo_n "checking for float trig functions... " >&6; }
42167 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42168 $as_echo_n "(cached) " >&6
42169 else
42172 ac_ext=cpp
42173 ac_cpp='$CXXCPP $CPPFLAGS'
42174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42179 /* end confdefs.h. */
42180 #include <math.h>
42182 main ()
42184 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42186 return 0;
42188 _ACEOF
42189 if ac_fn_cxx_try_compile "$LINENO"; then :
42190 glibcxx_cv_func_float_trig_use=yes
42191 else
42192 glibcxx_cv_func_float_trig_use=no
42194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42195 ac_ext=c
42196 ac_cpp='$CPP $CPPFLAGS'
42197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42204 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42205 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42206 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42207 do :
42208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42210 eval as_val=\$$as_ac_var
42211 if test "x$as_val" = x""yes; then :
42212 cat >>confdefs.h <<_ACEOF
42213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42214 _ACEOF
42217 done
42219 else
42220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42221 $as_echo_n "checking for _float trig functions... " >&6; }
42222 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42223 $as_echo_n "(cached) " >&6
42224 else
42227 ac_ext=cpp
42228 ac_cpp='$CXXCPP $CPPFLAGS'
42229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42234 /* end confdefs.h. */
42235 #include <math.h>
42237 main ()
42239 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42241 return 0;
42243 _ACEOF
42244 if ac_fn_cxx_try_compile "$LINENO"; then :
42245 glibcxx_cv_func__float_trig_use=yes
42246 else
42247 glibcxx_cv_func__float_trig_use=no
42249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42250 ac_ext=c
42251 ac_cpp='$CPP $CPPFLAGS'
42252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42259 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42260 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42261 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42262 do :
42263 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42264 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42265 eval as_val=\$$as_ac_var
42266 if test "x$as_val" = x""yes; then :
42267 cat >>confdefs.h <<_ACEOF
42268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42269 _ACEOF
42272 done
42281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42282 $as_echo_n "checking for float round functions... " >&6; }
42283 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42284 $as_echo_n "(cached) " >&6
42285 else
42288 ac_ext=cpp
42289 ac_cpp='$CXXCPP $CPPFLAGS'
42290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42295 /* end confdefs.h. */
42296 #include <math.h>
42298 main ()
42300 ceilf (0); floorf (0);
42302 return 0;
42304 _ACEOF
42305 if ac_fn_cxx_try_compile "$LINENO"; then :
42306 glibcxx_cv_func_float_round_use=yes
42307 else
42308 glibcxx_cv_func_float_round_use=no
42310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42311 ac_ext=c
42312 ac_cpp='$CPP $CPPFLAGS'
42313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42320 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42321 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42322 for ac_func in ceilf floorf
42323 do :
42324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42326 eval as_val=\$$as_ac_var
42327 if test "x$as_val" = x""yes; then :
42328 cat >>confdefs.h <<_ACEOF
42329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42330 _ACEOF
42333 done
42335 else
42336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42337 $as_echo_n "checking for _float round functions... " >&6; }
42338 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42339 $as_echo_n "(cached) " >&6
42340 else
42343 ac_ext=cpp
42344 ac_cpp='$CXXCPP $CPPFLAGS'
42345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42350 /* end confdefs.h. */
42351 #include <math.h>
42353 main ()
42355 _ceilf (0); _floorf (0);
42357 return 0;
42359 _ACEOF
42360 if ac_fn_cxx_try_compile "$LINENO"; then :
42361 glibcxx_cv_func__float_round_use=yes
42362 else
42363 glibcxx_cv_func__float_round_use=no
42365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42366 ac_ext=c
42367 ac_cpp='$CPP $CPPFLAGS'
42368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42375 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42376 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42377 for ac_func in _ceilf _floorf
42378 do :
42379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42380 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42381 eval as_val=\$$as_ac_var
42382 if test "x$as_val" = x""yes; then :
42383 cat >>confdefs.h <<_ACEOF
42384 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42385 _ACEOF
42388 done
42398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42399 $as_echo_n "checking for expf declaration... " >&6; }
42400 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42401 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42402 $as_echo_n "(cached) " >&6
42403 else
42406 ac_ext=cpp
42407 ac_cpp='$CXXCPP $CPPFLAGS'
42408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42413 /* end confdefs.h. */
42414 #include <math.h>
42415 #ifdef HAVE_IEEEFP_H
42416 #include <ieeefp.h>
42417 #endif
42420 main ()
42422 expf(0);
42424 return 0;
42426 _ACEOF
42427 if ac_fn_cxx_try_compile "$LINENO"; then :
42428 glibcxx_cv_func_expf_use=yes
42429 else
42430 glibcxx_cv_func_expf_use=no
42432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42433 ac_ext=c
42434 ac_cpp='$CPP $CPPFLAGS'
42435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42444 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42446 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42447 for ac_func in expf
42448 do :
42449 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42450 if test "x$ac_cv_func_expf" = x""yes; then :
42451 cat >>confdefs.h <<_ACEOF
42452 #define HAVE_EXPF 1
42453 _ACEOF
42456 done
42458 else
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42461 $as_echo_n "checking for _expf declaration... " >&6; }
42462 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42463 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42464 $as_echo_n "(cached) " >&6
42465 else
42468 ac_ext=cpp
42469 ac_cpp='$CXXCPP $CPPFLAGS'
42470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42475 /* end confdefs.h. */
42476 #include <math.h>
42477 #ifdef HAVE_IEEEFP_H
42478 #include <ieeefp.h>
42479 #endif
42482 main ()
42484 _expf(0);
42486 return 0;
42488 _ACEOF
42489 if ac_fn_cxx_try_compile "$LINENO"; then :
42490 glibcxx_cv_func__expf_use=yes
42491 else
42492 glibcxx_cv_func__expf_use=no
42494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42495 ac_ext=c
42496 ac_cpp='$CPP $CPPFLAGS'
42497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42506 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42508 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42509 for ac_func in _expf
42510 do :
42511 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42512 if test "x$ac_cv_func__expf" = x""yes; then :
42513 cat >>confdefs.h <<_ACEOF
42514 #define HAVE__EXPF 1
42515 _ACEOF
42518 done
42527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42528 $as_echo_n "checking for isnanf declaration... " >&6; }
42529 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42530 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42531 $as_echo_n "(cached) " >&6
42532 else
42535 ac_ext=cpp
42536 ac_cpp='$CXXCPP $CPPFLAGS'
42537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42542 /* end confdefs.h. */
42543 #include <math.h>
42544 #ifdef HAVE_IEEEFP_H
42545 #include <ieeefp.h>
42546 #endif
42549 main ()
42551 isnanf(0);
42553 return 0;
42555 _ACEOF
42556 if ac_fn_cxx_try_compile "$LINENO"; then :
42557 glibcxx_cv_func_isnanf_use=yes
42558 else
42559 glibcxx_cv_func_isnanf_use=no
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42562 ac_ext=c
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42573 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42575 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42576 for ac_func in isnanf
42577 do :
42578 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42579 if test "x$ac_cv_func_isnanf" = x""yes; then :
42580 cat >>confdefs.h <<_ACEOF
42581 #define HAVE_ISNANF 1
42582 _ACEOF
42585 done
42587 else
42589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42590 $as_echo_n "checking for _isnanf declaration... " >&6; }
42591 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42592 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42593 $as_echo_n "(cached) " >&6
42594 else
42597 ac_ext=cpp
42598 ac_cpp='$CXXCPP $CPPFLAGS'
42599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42604 /* end confdefs.h. */
42605 #include <math.h>
42606 #ifdef HAVE_IEEEFP_H
42607 #include <ieeefp.h>
42608 #endif
42611 main ()
42613 _isnanf(0);
42615 return 0;
42617 _ACEOF
42618 if ac_fn_cxx_try_compile "$LINENO"; then :
42619 glibcxx_cv_func__isnanf_use=yes
42620 else
42621 glibcxx_cv_func__isnanf_use=no
42623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42624 ac_ext=c
42625 ac_cpp='$CPP $CPPFLAGS'
42626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42635 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42637 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42638 for ac_func in _isnanf
42639 do :
42640 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42641 if test "x$ac_cv_func__isnanf" = x""yes; then :
42642 cat >>confdefs.h <<_ACEOF
42643 #define HAVE__ISNANF 1
42644 _ACEOF
42647 done
42656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42657 $as_echo_n "checking for isinff declaration... " >&6; }
42658 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42659 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42660 $as_echo_n "(cached) " >&6
42661 else
42664 ac_ext=cpp
42665 ac_cpp='$CXXCPP $CPPFLAGS'
42666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42671 /* end confdefs.h. */
42672 #include <math.h>
42673 #ifdef HAVE_IEEEFP_H
42674 #include <ieeefp.h>
42675 #endif
42678 main ()
42680 isinff(0);
42682 return 0;
42684 _ACEOF
42685 if ac_fn_cxx_try_compile "$LINENO"; then :
42686 glibcxx_cv_func_isinff_use=yes
42687 else
42688 glibcxx_cv_func_isinff_use=no
42690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42691 ac_ext=c
42692 ac_cpp='$CPP $CPPFLAGS'
42693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42702 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42704 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42705 for ac_func in isinff
42706 do :
42707 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42708 if test "x$ac_cv_func_isinff" = x""yes; then :
42709 cat >>confdefs.h <<_ACEOF
42710 #define HAVE_ISINFF 1
42711 _ACEOF
42714 done
42716 else
42718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42719 $as_echo_n "checking for _isinff declaration... " >&6; }
42720 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42721 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42722 $as_echo_n "(cached) " >&6
42723 else
42726 ac_ext=cpp
42727 ac_cpp='$CXXCPP $CPPFLAGS'
42728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42733 /* end confdefs.h. */
42734 #include <math.h>
42735 #ifdef HAVE_IEEEFP_H
42736 #include <ieeefp.h>
42737 #endif
42740 main ()
42742 _isinff(0);
42744 return 0;
42746 _ACEOF
42747 if ac_fn_cxx_try_compile "$LINENO"; then :
42748 glibcxx_cv_func__isinff_use=yes
42749 else
42750 glibcxx_cv_func__isinff_use=no
42752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42753 ac_ext=c
42754 ac_cpp='$CPP $CPPFLAGS'
42755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42764 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42766 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42767 for ac_func in _isinff
42768 do :
42769 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42770 if test "x$ac_cv_func__isinff" = x""yes; then :
42771 cat >>confdefs.h <<_ACEOF
42772 #define HAVE__ISINFF 1
42773 _ACEOF
42776 done
42785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42786 $as_echo_n "checking for atan2f declaration... " >&6; }
42787 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42788 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42789 $as_echo_n "(cached) " >&6
42790 else
42793 ac_ext=cpp
42794 ac_cpp='$CXXCPP $CPPFLAGS'
42795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42800 /* end confdefs.h. */
42801 #include <math.h>
42803 main ()
42805 atan2f(0, 0);
42807 return 0;
42809 _ACEOF
42810 if ac_fn_cxx_try_compile "$LINENO"; then :
42811 glibcxx_cv_func_atan2f_use=yes
42812 else
42813 glibcxx_cv_func_atan2f_use=no
42815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42816 ac_ext=c
42817 ac_cpp='$CPP $CPPFLAGS'
42818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42827 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42829 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42830 for ac_func in atan2f
42831 do :
42832 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42833 if test "x$ac_cv_func_atan2f" = x""yes; then :
42834 cat >>confdefs.h <<_ACEOF
42835 #define HAVE_ATAN2F 1
42836 _ACEOF
42839 done
42841 else
42843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42844 $as_echo_n "checking for _atan2f declaration... " >&6; }
42845 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42846 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42847 $as_echo_n "(cached) " >&6
42848 else
42851 ac_ext=cpp
42852 ac_cpp='$CXXCPP $CPPFLAGS'
42853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42858 /* end confdefs.h. */
42859 #include <math.h>
42861 main ()
42863 _atan2f(0, 0);
42865 return 0;
42867 _ACEOF
42868 if ac_fn_cxx_try_compile "$LINENO"; then :
42869 glibcxx_cv_func__atan2f_use=yes
42870 else
42871 glibcxx_cv_func__atan2f_use=no
42873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42874 ac_ext=c
42875 ac_cpp='$CPP $CPPFLAGS'
42876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42885 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42887 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42888 for ac_func in _atan2f
42889 do :
42890 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42891 if test "x$ac_cv_func__atan2f" = x""yes; then :
42892 cat >>confdefs.h <<_ACEOF
42893 #define HAVE__ATAN2F 1
42894 _ACEOF
42897 done
42906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42907 $as_echo_n "checking for fabsf declaration... " >&6; }
42908 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42909 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42910 $as_echo_n "(cached) " >&6
42911 else
42914 ac_ext=cpp
42915 ac_cpp='$CXXCPP $CPPFLAGS'
42916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42921 /* end confdefs.h. */
42922 #include <math.h>
42923 #ifdef HAVE_IEEEFP_H
42924 #include <ieeefp.h>
42925 #endif
42928 main ()
42930 fabsf(0);
42932 return 0;
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936 glibcxx_cv_func_fabsf_use=yes
42937 else
42938 glibcxx_cv_func_fabsf_use=no
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941 ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42952 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42954 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42955 for ac_func in fabsf
42956 do :
42957 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42958 if test "x$ac_cv_func_fabsf" = x""yes; then :
42959 cat >>confdefs.h <<_ACEOF
42960 #define HAVE_FABSF 1
42961 _ACEOF
42964 done
42966 else
42968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42969 $as_echo_n "checking for _fabsf declaration... " >&6; }
42970 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42971 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42972 $as_echo_n "(cached) " >&6
42973 else
42976 ac_ext=cpp
42977 ac_cpp='$CXXCPP $CPPFLAGS'
42978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42983 /* end confdefs.h. */
42984 #include <math.h>
42985 #ifdef HAVE_IEEEFP_H
42986 #include <ieeefp.h>
42987 #endif
42990 main ()
42992 _fabsf(0);
42994 return 0;
42996 _ACEOF
42997 if ac_fn_cxx_try_compile "$LINENO"; then :
42998 glibcxx_cv_func__fabsf_use=yes
42999 else
43000 glibcxx_cv_func__fabsf_use=no
43002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43003 ac_ext=c
43004 ac_cpp='$CPP $CPPFLAGS'
43005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43014 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43016 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43017 for ac_func in _fabsf
43018 do :
43019 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43020 if test "x$ac_cv_func__fabsf" = x""yes; then :
43021 cat >>confdefs.h <<_ACEOF
43022 #define HAVE__FABSF 1
43023 _ACEOF
43026 done
43035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43036 $as_echo_n "checking for fmodf declaration... " >&6; }
43037 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43038 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43039 $as_echo_n "(cached) " >&6
43040 else
43043 ac_ext=cpp
43044 ac_cpp='$CXXCPP $CPPFLAGS'
43045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43050 /* end confdefs.h. */
43051 #include <math.h>
43053 main ()
43055 fmodf(0, 0);
43057 return 0;
43059 _ACEOF
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061 glibcxx_cv_func_fmodf_use=yes
43062 else
43063 glibcxx_cv_func_fmodf_use=no
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43066 ac_ext=c
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43077 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43079 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43080 for ac_func in fmodf
43081 do :
43082 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43083 if test "x$ac_cv_func_fmodf" = x""yes; then :
43084 cat >>confdefs.h <<_ACEOF
43085 #define HAVE_FMODF 1
43086 _ACEOF
43089 done
43091 else
43093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43094 $as_echo_n "checking for _fmodf declaration... " >&6; }
43095 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43096 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43097 $as_echo_n "(cached) " >&6
43098 else
43101 ac_ext=cpp
43102 ac_cpp='$CXXCPP $CPPFLAGS'
43103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43108 /* end confdefs.h. */
43109 #include <math.h>
43111 main ()
43113 _fmodf(0, 0);
43115 return 0;
43117 _ACEOF
43118 if ac_fn_cxx_try_compile "$LINENO"; then :
43119 glibcxx_cv_func__fmodf_use=yes
43120 else
43121 glibcxx_cv_func__fmodf_use=no
43123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43124 ac_ext=c
43125 ac_cpp='$CPP $CPPFLAGS'
43126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43135 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43137 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43138 for ac_func in _fmodf
43139 do :
43140 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43141 if test "x$ac_cv_func__fmodf" = x""yes; then :
43142 cat >>confdefs.h <<_ACEOF
43143 #define HAVE__FMODF 1
43144 _ACEOF
43147 done
43156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43157 $as_echo_n "checking for frexpf declaration... " >&6; }
43158 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43159 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43160 $as_echo_n "(cached) " >&6
43161 else
43164 ac_ext=cpp
43165 ac_cpp='$CXXCPP $CPPFLAGS'
43166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43171 /* end confdefs.h. */
43172 #include <math.h>
43174 main ()
43176 frexpf(0, 0);
43178 return 0;
43180 _ACEOF
43181 if ac_fn_cxx_try_compile "$LINENO"; then :
43182 glibcxx_cv_func_frexpf_use=yes
43183 else
43184 glibcxx_cv_func_frexpf_use=no
43186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43187 ac_ext=c
43188 ac_cpp='$CPP $CPPFLAGS'
43189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43198 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43200 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43201 for ac_func in frexpf
43202 do :
43203 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43204 if test "x$ac_cv_func_frexpf" = x""yes; then :
43205 cat >>confdefs.h <<_ACEOF
43206 #define HAVE_FREXPF 1
43207 _ACEOF
43210 done
43212 else
43214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43215 $as_echo_n "checking for _frexpf declaration... " >&6; }
43216 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43217 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43218 $as_echo_n "(cached) " >&6
43219 else
43222 ac_ext=cpp
43223 ac_cpp='$CXXCPP $CPPFLAGS'
43224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43229 /* end confdefs.h. */
43230 #include <math.h>
43232 main ()
43234 _frexpf(0, 0);
43236 return 0;
43238 _ACEOF
43239 if ac_fn_cxx_try_compile "$LINENO"; then :
43240 glibcxx_cv_func__frexpf_use=yes
43241 else
43242 glibcxx_cv_func__frexpf_use=no
43244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43245 ac_ext=c
43246 ac_cpp='$CPP $CPPFLAGS'
43247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43256 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43258 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43259 for ac_func in _frexpf
43260 do :
43261 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43262 if test "x$ac_cv_func__frexpf" = x""yes; then :
43263 cat >>confdefs.h <<_ACEOF
43264 #define HAVE__FREXPF 1
43265 _ACEOF
43268 done
43277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43278 $as_echo_n "checking for hypotf declaration... " >&6; }
43279 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43280 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43281 $as_echo_n "(cached) " >&6
43282 else
43285 ac_ext=cpp
43286 ac_cpp='$CXXCPP $CPPFLAGS'
43287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43292 /* end confdefs.h. */
43293 #include <math.h>
43295 main ()
43297 hypotf(0, 0);
43299 return 0;
43301 _ACEOF
43302 if ac_fn_cxx_try_compile "$LINENO"; then :
43303 glibcxx_cv_func_hypotf_use=yes
43304 else
43305 glibcxx_cv_func_hypotf_use=no
43307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43308 ac_ext=c
43309 ac_cpp='$CPP $CPPFLAGS'
43310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43319 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43321 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43322 for ac_func in hypotf
43323 do :
43324 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43325 if test "x$ac_cv_func_hypotf" = x""yes; then :
43326 cat >>confdefs.h <<_ACEOF
43327 #define HAVE_HYPOTF 1
43328 _ACEOF
43331 done
43333 else
43335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43336 $as_echo_n "checking for _hypotf declaration... " >&6; }
43337 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43338 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43339 $as_echo_n "(cached) " >&6
43340 else
43343 ac_ext=cpp
43344 ac_cpp='$CXXCPP $CPPFLAGS'
43345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43350 /* end confdefs.h. */
43351 #include <math.h>
43353 main ()
43355 _hypotf(0, 0);
43357 return 0;
43359 _ACEOF
43360 if ac_fn_cxx_try_compile "$LINENO"; then :
43361 glibcxx_cv_func__hypotf_use=yes
43362 else
43363 glibcxx_cv_func__hypotf_use=no
43365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43366 ac_ext=c
43367 ac_cpp='$CPP $CPPFLAGS'
43368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43377 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43379 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43380 for ac_func in _hypotf
43381 do :
43382 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43383 if test "x$ac_cv_func__hypotf" = x""yes; then :
43384 cat >>confdefs.h <<_ACEOF
43385 #define HAVE__HYPOTF 1
43386 _ACEOF
43389 done
43398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43399 $as_echo_n "checking for ldexpf declaration... " >&6; }
43400 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43401 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43402 $as_echo_n "(cached) " >&6
43403 else
43406 ac_ext=cpp
43407 ac_cpp='$CXXCPP $CPPFLAGS'
43408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43413 /* end confdefs.h. */
43414 #include <math.h>
43416 main ()
43418 ldexpf(0, 0);
43420 return 0;
43422 _ACEOF
43423 if ac_fn_cxx_try_compile "$LINENO"; then :
43424 glibcxx_cv_func_ldexpf_use=yes
43425 else
43426 glibcxx_cv_func_ldexpf_use=no
43428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43429 ac_ext=c
43430 ac_cpp='$CPP $CPPFLAGS'
43431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43440 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43442 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43443 for ac_func in ldexpf
43444 do :
43445 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43446 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43447 cat >>confdefs.h <<_ACEOF
43448 #define HAVE_LDEXPF 1
43449 _ACEOF
43452 done
43454 else
43456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43457 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43458 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43459 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43460 $as_echo_n "(cached) " >&6
43461 else
43464 ac_ext=cpp
43465 ac_cpp='$CXXCPP $CPPFLAGS'
43466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43471 /* end confdefs.h. */
43472 #include <math.h>
43474 main ()
43476 _ldexpf(0, 0);
43478 return 0;
43480 _ACEOF
43481 if ac_fn_cxx_try_compile "$LINENO"; then :
43482 glibcxx_cv_func__ldexpf_use=yes
43483 else
43484 glibcxx_cv_func__ldexpf_use=no
43486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43487 ac_ext=c
43488 ac_cpp='$CPP $CPPFLAGS'
43489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43498 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43500 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43501 for ac_func in _ldexpf
43502 do :
43503 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43504 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43505 cat >>confdefs.h <<_ACEOF
43506 #define HAVE__LDEXPF 1
43507 _ACEOF
43510 done
43519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43520 $as_echo_n "checking for logf declaration... " >&6; }
43521 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43522 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43523 $as_echo_n "(cached) " >&6
43524 else
43527 ac_ext=cpp
43528 ac_cpp='$CXXCPP $CPPFLAGS'
43529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43534 /* end confdefs.h. */
43535 #include <math.h>
43536 #ifdef HAVE_IEEEFP_H
43537 #include <ieeefp.h>
43538 #endif
43541 main ()
43543 logf(0);
43545 return 0;
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549 glibcxx_cv_func_logf_use=yes
43550 else
43551 glibcxx_cv_func_logf_use=no
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554 ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43565 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43567 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43568 for ac_func in logf
43569 do :
43570 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43571 if test "x$ac_cv_func_logf" = x""yes; then :
43572 cat >>confdefs.h <<_ACEOF
43573 #define HAVE_LOGF 1
43574 _ACEOF
43577 done
43579 else
43581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43582 $as_echo_n "checking for _logf declaration... " >&6; }
43583 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43584 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43585 $as_echo_n "(cached) " >&6
43586 else
43589 ac_ext=cpp
43590 ac_cpp='$CXXCPP $CPPFLAGS'
43591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43596 /* end confdefs.h. */
43597 #include <math.h>
43598 #ifdef HAVE_IEEEFP_H
43599 #include <ieeefp.h>
43600 #endif
43603 main ()
43605 _logf(0);
43607 return 0;
43609 _ACEOF
43610 if ac_fn_cxx_try_compile "$LINENO"; then :
43611 glibcxx_cv_func__logf_use=yes
43612 else
43613 glibcxx_cv_func__logf_use=no
43615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43616 ac_ext=c
43617 ac_cpp='$CPP $CPPFLAGS'
43618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43627 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43629 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43630 for ac_func in _logf
43631 do :
43632 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43633 if test "x$ac_cv_func__logf" = x""yes; then :
43634 cat >>confdefs.h <<_ACEOF
43635 #define HAVE__LOGF 1
43636 _ACEOF
43639 done
43648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43649 $as_echo_n "checking for log10f declaration... " >&6; }
43650 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43651 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43652 $as_echo_n "(cached) " >&6
43653 else
43656 ac_ext=cpp
43657 ac_cpp='$CXXCPP $CPPFLAGS'
43658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43663 /* end confdefs.h. */
43664 #include <math.h>
43665 #ifdef HAVE_IEEEFP_H
43666 #include <ieeefp.h>
43667 #endif
43670 main ()
43672 log10f(0);
43674 return 0;
43676 _ACEOF
43677 if ac_fn_cxx_try_compile "$LINENO"; then :
43678 glibcxx_cv_func_log10f_use=yes
43679 else
43680 glibcxx_cv_func_log10f_use=no
43682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43683 ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43694 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43696 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43697 for ac_func in log10f
43698 do :
43699 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43700 if test "x$ac_cv_func_log10f" = x""yes; then :
43701 cat >>confdefs.h <<_ACEOF
43702 #define HAVE_LOG10F 1
43703 _ACEOF
43706 done
43708 else
43710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43711 $as_echo_n "checking for _log10f declaration... " >&6; }
43712 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43713 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43714 $as_echo_n "(cached) " >&6
43715 else
43718 ac_ext=cpp
43719 ac_cpp='$CXXCPP $CPPFLAGS'
43720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43725 /* end confdefs.h. */
43726 #include <math.h>
43727 #ifdef HAVE_IEEEFP_H
43728 #include <ieeefp.h>
43729 #endif
43732 main ()
43734 _log10f(0);
43736 return 0;
43738 _ACEOF
43739 if ac_fn_cxx_try_compile "$LINENO"; then :
43740 glibcxx_cv_func__log10f_use=yes
43741 else
43742 glibcxx_cv_func__log10f_use=no
43744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43745 ac_ext=c
43746 ac_cpp='$CPP $CPPFLAGS'
43747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43756 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43758 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43759 for ac_func in _log10f
43760 do :
43761 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43762 if test "x$ac_cv_func__log10f" = x""yes; then :
43763 cat >>confdefs.h <<_ACEOF
43764 #define HAVE__LOG10F 1
43765 _ACEOF
43768 done
43777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43778 $as_echo_n "checking for modff declaration... " >&6; }
43779 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43780 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43781 $as_echo_n "(cached) " >&6
43782 else
43785 ac_ext=cpp
43786 ac_cpp='$CXXCPP $CPPFLAGS'
43787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43792 /* end confdefs.h. */
43793 #include <math.h>
43795 main ()
43797 modff(0, 0);
43799 return 0;
43801 _ACEOF
43802 if ac_fn_cxx_try_compile "$LINENO"; then :
43803 glibcxx_cv_func_modff_use=yes
43804 else
43805 glibcxx_cv_func_modff_use=no
43807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43808 ac_ext=c
43809 ac_cpp='$CPP $CPPFLAGS'
43810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43819 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43821 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43822 for ac_func in modff
43823 do :
43824 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43825 if test "x$ac_cv_func_modff" = x""yes; then :
43826 cat >>confdefs.h <<_ACEOF
43827 #define HAVE_MODFF 1
43828 _ACEOF
43831 done
43833 else
43835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43836 $as_echo_n "checking for _modff declaration... " >&6; }
43837 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43838 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43839 $as_echo_n "(cached) " >&6
43840 else
43843 ac_ext=cpp
43844 ac_cpp='$CXXCPP $CPPFLAGS'
43845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43850 /* end confdefs.h. */
43851 #include <math.h>
43853 main ()
43855 _modff(0, 0);
43857 return 0;
43859 _ACEOF
43860 if ac_fn_cxx_try_compile "$LINENO"; then :
43861 glibcxx_cv_func__modff_use=yes
43862 else
43863 glibcxx_cv_func__modff_use=no
43865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43866 ac_ext=c
43867 ac_cpp='$CPP $CPPFLAGS'
43868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43877 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43879 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43880 for ac_func in _modff
43881 do :
43882 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43883 if test "x$ac_cv_func__modff" = x""yes; then :
43884 cat >>confdefs.h <<_ACEOF
43885 #define HAVE__MODFF 1
43886 _ACEOF
43889 done
43898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43899 $as_echo_n "checking for modf declaration... " >&6; }
43900 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43901 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43902 $as_echo_n "(cached) " >&6
43903 else
43906 ac_ext=cpp
43907 ac_cpp='$CXXCPP $CPPFLAGS'
43908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43913 /* end confdefs.h. */
43914 #include <math.h>
43916 main ()
43918 modf(0, 0);
43920 return 0;
43922 _ACEOF
43923 if ac_fn_cxx_try_compile "$LINENO"; then :
43924 glibcxx_cv_func_modf_use=yes
43925 else
43926 glibcxx_cv_func_modf_use=no
43928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43929 ac_ext=c
43930 ac_cpp='$CPP $CPPFLAGS'
43931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43940 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43942 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43943 for ac_func in modf
43944 do :
43945 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43946 if test "x$ac_cv_func_modf" = x""yes; then :
43947 cat >>confdefs.h <<_ACEOF
43948 #define HAVE_MODF 1
43949 _ACEOF
43952 done
43954 else
43956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43957 $as_echo_n "checking for _modf declaration... " >&6; }
43958 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43959 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43960 $as_echo_n "(cached) " >&6
43961 else
43964 ac_ext=cpp
43965 ac_cpp='$CXXCPP $CPPFLAGS'
43966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43971 /* end confdefs.h. */
43972 #include <math.h>
43974 main ()
43976 _modf(0, 0);
43978 return 0;
43980 _ACEOF
43981 if ac_fn_cxx_try_compile "$LINENO"; then :
43982 glibcxx_cv_func__modf_use=yes
43983 else
43984 glibcxx_cv_func__modf_use=no
43986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43987 ac_ext=c
43988 ac_cpp='$CPP $CPPFLAGS'
43989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43998 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44000 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44001 for ac_func in _modf
44002 do :
44003 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44004 if test "x$ac_cv_func__modf" = x""yes; then :
44005 cat >>confdefs.h <<_ACEOF
44006 #define HAVE__MODF 1
44007 _ACEOF
44010 done
44019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44020 $as_echo_n "checking for powf declaration... " >&6; }
44021 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44022 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44023 $as_echo_n "(cached) " >&6
44024 else
44027 ac_ext=cpp
44028 ac_cpp='$CXXCPP $CPPFLAGS'
44029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44034 /* end confdefs.h. */
44035 #include <math.h>
44037 main ()
44039 powf(0, 0);
44041 return 0;
44043 _ACEOF
44044 if ac_fn_cxx_try_compile "$LINENO"; then :
44045 glibcxx_cv_func_powf_use=yes
44046 else
44047 glibcxx_cv_func_powf_use=no
44049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44050 ac_ext=c
44051 ac_cpp='$CPP $CPPFLAGS'
44052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44061 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44063 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44064 for ac_func in powf
44065 do :
44066 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44067 if test "x$ac_cv_func_powf" = x""yes; then :
44068 cat >>confdefs.h <<_ACEOF
44069 #define HAVE_POWF 1
44070 _ACEOF
44073 done
44075 else
44077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44078 $as_echo_n "checking for _powf declaration... " >&6; }
44079 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44080 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44081 $as_echo_n "(cached) " >&6
44082 else
44085 ac_ext=cpp
44086 ac_cpp='$CXXCPP $CPPFLAGS'
44087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44092 /* end confdefs.h. */
44093 #include <math.h>
44095 main ()
44097 _powf(0, 0);
44099 return 0;
44101 _ACEOF
44102 if ac_fn_cxx_try_compile "$LINENO"; then :
44103 glibcxx_cv_func__powf_use=yes
44104 else
44105 glibcxx_cv_func__powf_use=no
44107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44108 ac_ext=c
44109 ac_cpp='$CPP $CPPFLAGS'
44110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44119 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44121 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44122 for ac_func in _powf
44123 do :
44124 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44125 if test "x$ac_cv_func__powf" = x""yes; then :
44126 cat >>confdefs.h <<_ACEOF
44127 #define HAVE__POWF 1
44128 _ACEOF
44131 done
44140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44141 $as_echo_n "checking for sqrtf declaration... " >&6; }
44142 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44143 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44144 $as_echo_n "(cached) " >&6
44145 else
44148 ac_ext=cpp
44149 ac_cpp='$CXXCPP $CPPFLAGS'
44150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44155 /* end confdefs.h. */
44156 #include <math.h>
44157 #ifdef HAVE_IEEEFP_H
44158 #include <ieeefp.h>
44159 #endif
44162 main ()
44164 sqrtf(0);
44166 return 0;
44168 _ACEOF
44169 if ac_fn_cxx_try_compile "$LINENO"; then :
44170 glibcxx_cv_func_sqrtf_use=yes
44171 else
44172 glibcxx_cv_func_sqrtf_use=no
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44175 ac_ext=c
44176 ac_cpp='$CPP $CPPFLAGS'
44177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44186 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44188 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44189 for ac_func in sqrtf
44190 do :
44191 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44192 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44193 cat >>confdefs.h <<_ACEOF
44194 #define HAVE_SQRTF 1
44195 _ACEOF
44198 done
44200 else
44202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44203 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44204 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44205 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44206 $as_echo_n "(cached) " >&6
44207 else
44210 ac_ext=cpp
44211 ac_cpp='$CXXCPP $CPPFLAGS'
44212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44217 /* end confdefs.h. */
44218 #include <math.h>
44219 #ifdef HAVE_IEEEFP_H
44220 #include <ieeefp.h>
44221 #endif
44224 main ()
44226 _sqrtf(0);
44228 return 0;
44230 _ACEOF
44231 if ac_fn_cxx_try_compile "$LINENO"; then :
44232 glibcxx_cv_func__sqrtf_use=yes
44233 else
44234 glibcxx_cv_func__sqrtf_use=no
44236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44237 ac_ext=c
44238 ac_cpp='$CPP $CPPFLAGS'
44239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44248 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44250 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44251 for ac_func in _sqrtf
44252 do :
44253 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44254 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44255 cat >>confdefs.h <<_ACEOF
44256 #define HAVE__SQRTF 1
44257 _ACEOF
44260 done
44269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44270 $as_echo_n "checking for sincosf declaration... " >&6; }
44271 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44272 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44273 $as_echo_n "(cached) " >&6
44274 else
44277 ac_ext=cpp
44278 ac_cpp='$CXXCPP $CPPFLAGS'
44279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44284 /* end confdefs.h. */
44285 #include <math.h>
44287 main ()
44289 sincosf(0, 0, 0);
44291 return 0;
44293 _ACEOF
44294 if ac_fn_cxx_try_compile "$LINENO"; then :
44295 glibcxx_cv_func_sincosf_use=yes
44296 else
44297 glibcxx_cv_func_sincosf_use=no
44299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300 ac_ext=c
44301 ac_cpp='$CPP $CPPFLAGS'
44302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44311 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44313 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44314 for ac_func in sincosf
44315 do :
44316 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44317 if test "x$ac_cv_func_sincosf" = x""yes; then :
44318 cat >>confdefs.h <<_ACEOF
44319 #define HAVE_SINCOSF 1
44320 _ACEOF
44323 done
44325 else
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44328 $as_echo_n "checking for _sincosf declaration... " >&6; }
44329 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44330 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44331 $as_echo_n "(cached) " >&6
44332 else
44335 ac_ext=cpp
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342 /* end confdefs.h. */
44343 #include <math.h>
44345 main ()
44347 _sincosf(0, 0, 0);
44349 return 0;
44351 _ACEOF
44352 if ac_fn_cxx_try_compile "$LINENO"; then :
44353 glibcxx_cv_func__sincosf_use=yes
44354 else
44355 glibcxx_cv_func__sincosf_use=no
44357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44358 ac_ext=c
44359 ac_cpp='$CPP $CPPFLAGS'
44360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44369 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44371 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44372 for ac_func in _sincosf
44373 do :
44374 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44375 if test "x$ac_cv_func__sincosf" = x""yes; then :
44376 cat >>confdefs.h <<_ACEOF
44377 #define HAVE__SINCOSF 1
44378 _ACEOF
44381 done
44390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44391 $as_echo_n "checking for finitef declaration... " >&6; }
44392 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44393 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44394 $as_echo_n "(cached) " >&6
44395 else
44398 ac_ext=cpp
44399 ac_cpp='$CXXCPP $CPPFLAGS'
44400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44405 /* end confdefs.h. */
44406 #include <math.h>
44407 #ifdef HAVE_IEEEFP_H
44408 #include <ieeefp.h>
44409 #endif
44412 main ()
44414 finitef(0);
44416 return 0;
44418 _ACEOF
44419 if ac_fn_cxx_try_compile "$LINENO"; then :
44420 glibcxx_cv_func_finitef_use=yes
44421 else
44422 glibcxx_cv_func_finitef_use=no
44424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44425 ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44436 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44438 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44439 for ac_func in finitef
44440 do :
44441 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44442 if test "x$ac_cv_func_finitef" = x""yes; then :
44443 cat >>confdefs.h <<_ACEOF
44444 #define HAVE_FINITEF 1
44445 _ACEOF
44448 done
44450 else
44452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44453 $as_echo_n "checking for _finitef declaration... " >&6; }
44454 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44455 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44456 $as_echo_n "(cached) " >&6
44457 else
44460 ac_ext=cpp
44461 ac_cpp='$CXXCPP $CPPFLAGS'
44462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44467 /* end confdefs.h. */
44468 #include <math.h>
44469 #ifdef HAVE_IEEEFP_H
44470 #include <ieeefp.h>
44471 #endif
44474 main ()
44476 _finitef(0);
44478 return 0;
44480 _ACEOF
44481 if ac_fn_cxx_try_compile "$LINENO"; then :
44482 glibcxx_cv_func__finitef_use=yes
44483 else
44484 glibcxx_cv_func__finitef_use=no
44486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44487 ac_ext=c
44488 ac_cpp='$CPP $CPPFLAGS'
44489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44498 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44500 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44501 for ac_func in _finitef
44502 do :
44503 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44504 if test "x$ac_cv_func__finitef" = x""yes; then :
44505 cat >>confdefs.h <<_ACEOF
44506 #define HAVE__FINITEF 1
44507 _ACEOF
44510 done
44519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44520 $as_echo_n "checking for long double trig functions... " >&6; }
44521 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44522 $as_echo_n "(cached) " >&6
44523 else
44526 ac_ext=cpp
44527 ac_cpp='$CXXCPP $CPPFLAGS'
44528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44533 /* end confdefs.h. */
44534 #include <math.h>
44536 main ()
44538 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44540 return 0;
44542 _ACEOF
44543 if ac_fn_cxx_try_compile "$LINENO"; then :
44544 glibcxx_cv_func_long_double_trig_use=yes
44545 else
44546 glibcxx_cv_func_long_double_trig_use=no
44548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549 ac_ext=c
44550 ac_cpp='$CPP $CPPFLAGS'
44551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44558 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44559 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44560 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44561 do :
44562 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44563 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44564 eval as_val=\$$as_ac_var
44565 if test "x$as_val" = x""yes; then :
44566 cat >>confdefs.h <<_ACEOF
44567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44568 _ACEOF
44571 done
44573 else
44574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44575 $as_echo_n "checking for _long double trig functions... " >&6; }
44576 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44577 $as_echo_n "(cached) " >&6
44578 else
44581 ac_ext=cpp
44582 ac_cpp='$CXXCPP $CPPFLAGS'
44583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44588 /* end confdefs.h. */
44589 #include <math.h>
44591 main ()
44593 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44595 return 0;
44597 _ACEOF
44598 if ac_fn_cxx_try_compile "$LINENO"; then :
44599 glibcxx_cv_func__long_double_trig_use=yes
44600 else
44601 glibcxx_cv_func__long_double_trig_use=no
44603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44604 ac_ext=c
44605 ac_cpp='$CPP $CPPFLAGS'
44606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44613 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44614 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44615 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44616 do :
44617 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44619 eval as_val=\$$as_ac_var
44620 if test "x$as_val" = x""yes; then :
44621 cat >>confdefs.h <<_ACEOF
44622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44623 _ACEOF
44626 done
44635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44636 $as_echo_n "checking for long double round functions... " >&6; }
44637 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44638 $as_echo_n "(cached) " >&6
44639 else
44642 ac_ext=cpp
44643 ac_cpp='$CXXCPP $CPPFLAGS'
44644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44649 /* end confdefs.h. */
44650 #include <math.h>
44652 main ()
44654 ceill (0); floorl (0);
44656 return 0;
44658 _ACEOF
44659 if ac_fn_cxx_try_compile "$LINENO"; then :
44660 glibcxx_cv_func_long_double_round_use=yes
44661 else
44662 glibcxx_cv_func_long_double_round_use=no
44664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44665 ac_ext=c
44666 ac_cpp='$CPP $CPPFLAGS'
44667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44674 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44675 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44676 for ac_func in ceill floorl
44677 do :
44678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44680 eval as_val=\$$as_ac_var
44681 if test "x$as_val" = x""yes; then :
44682 cat >>confdefs.h <<_ACEOF
44683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44684 _ACEOF
44687 done
44689 else
44690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44691 $as_echo_n "checking for _long double round functions... " >&6; }
44692 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44693 $as_echo_n "(cached) " >&6
44694 else
44697 ac_ext=cpp
44698 ac_cpp='$CXXCPP $CPPFLAGS'
44699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44704 /* end confdefs.h. */
44705 #include <math.h>
44707 main ()
44709 _ceill (0); _floorl (0);
44711 return 0;
44713 _ACEOF
44714 if ac_fn_cxx_try_compile "$LINENO"; then :
44715 glibcxx_cv_func__long_double_round_use=yes
44716 else
44717 glibcxx_cv_func__long_double_round_use=no
44719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44720 ac_ext=c
44721 ac_cpp='$CPP $CPPFLAGS'
44722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44729 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44730 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44731 for ac_func in _ceill _floorl
44732 do :
44733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44735 eval as_val=\$$as_ac_var
44736 if test "x$as_val" = x""yes; then :
44737 cat >>confdefs.h <<_ACEOF
44738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44739 _ACEOF
44742 done
44752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44753 $as_echo_n "checking for isnanl declaration... " >&6; }
44754 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44755 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44756 $as_echo_n "(cached) " >&6
44757 else
44760 ac_ext=cpp
44761 ac_cpp='$CXXCPP $CPPFLAGS'
44762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44767 /* end confdefs.h. */
44768 #include <math.h>
44769 #ifdef HAVE_IEEEFP_H
44770 #include <ieeefp.h>
44771 #endif
44774 main ()
44776 isnanl(0);
44778 return 0;
44780 _ACEOF
44781 if ac_fn_cxx_try_compile "$LINENO"; then :
44782 glibcxx_cv_func_isnanl_use=yes
44783 else
44784 glibcxx_cv_func_isnanl_use=no
44786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44787 ac_ext=c
44788 ac_cpp='$CPP $CPPFLAGS'
44789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44798 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44800 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44801 for ac_func in isnanl
44802 do :
44803 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44804 if test "x$ac_cv_func_isnanl" = x""yes; then :
44805 cat >>confdefs.h <<_ACEOF
44806 #define HAVE_ISNANL 1
44807 _ACEOF
44810 done
44812 else
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44815 $as_echo_n "checking for _isnanl declaration... " >&6; }
44816 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44817 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44818 $as_echo_n "(cached) " >&6
44819 else
44822 ac_ext=cpp
44823 ac_cpp='$CXXCPP $CPPFLAGS'
44824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44829 /* end confdefs.h. */
44830 #include <math.h>
44831 #ifdef HAVE_IEEEFP_H
44832 #include <ieeefp.h>
44833 #endif
44836 main ()
44838 _isnanl(0);
44840 return 0;
44842 _ACEOF
44843 if ac_fn_cxx_try_compile "$LINENO"; then :
44844 glibcxx_cv_func__isnanl_use=yes
44845 else
44846 glibcxx_cv_func__isnanl_use=no
44848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44849 ac_ext=c
44850 ac_cpp='$CPP $CPPFLAGS'
44851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44860 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44862 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44863 for ac_func in _isnanl
44864 do :
44865 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44866 if test "x$ac_cv_func__isnanl" = x""yes; then :
44867 cat >>confdefs.h <<_ACEOF
44868 #define HAVE__ISNANL 1
44869 _ACEOF
44872 done
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44882 $as_echo_n "checking for isinfl declaration... " >&6; }
44883 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44884 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44885 $as_echo_n "(cached) " >&6
44886 else
44889 ac_ext=cpp
44890 ac_cpp='$CXXCPP $CPPFLAGS'
44891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44896 /* end confdefs.h. */
44897 #include <math.h>
44898 #ifdef HAVE_IEEEFP_H
44899 #include <ieeefp.h>
44900 #endif
44903 main ()
44905 isinfl(0);
44907 return 0;
44909 _ACEOF
44910 if ac_fn_cxx_try_compile "$LINENO"; then :
44911 glibcxx_cv_func_isinfl_use=yes
44912 else
44913 glibcxx_cv_func_isinfl_use=no
44915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44916 ac_ext=c
44917 ac_cpp='$CPP $CPPFLAGS'
44918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44927 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44929 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44930 for ac_func in isinfl
44931 do :
44932 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44933 if test "x$ac_cv_func_isinfl" = x""yes; then :
44934 cat >>confdefs.h <<_ACEOF
44935 #define HAVE_ISINFL 1
44936 _ACEOF
44939 done
44941 else
44943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44944 $as_echo_n "checking for _isinfl declaration... " >&6; }
44945 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44946 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44947 $as_echo_n "(cached) " >&6
44948 else
44951 ac_ext=cpp
44952 ac_cpp='$CXXCPP $CPPFLAGS'
44953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44958 /* end confdefs.h. */
44959 #include <math.h>
44960 #ifdef HAVE_IEEEFP_H
44961 #include <ieeefp.h>
44962 #endif
44965 main ()
44967 _isinfl(0);
44969 return 0;
44971 _ACEOF
44972 if ac_fn_cxx_try_compile "$LINENO"; then :
44973 glibcxx_cv_func__isinfl_use=yes
44974 else
44975 glibcxx_cv_func__isinfl_use=no
44977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44978 ac_ext=c
44979 ac_cpp='$CPP $CPPFLAGS'
44980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44989 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44991 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44992 for ac_func in _isinfl
44993 do :
44994 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44995 if test "x$ac_cv_func__isinfl" = x""yes; then :
44996 cat >>confdefs.h <<_ACEOF
44997 #define HAVE__ISINFL 1
44998 _ACEOF
45001 done
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45011 $as_echo_n "checking for atan2l declaration... " >&6; }
45012 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45013 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45014 $as_echo_n "(cached) " >&6
45015 else
45018 ac_ext=cpp
45019 ac_cpp='$CXXCPP $CPPFLAGS'
45020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45025 /* end confdefs.h. */
45026 #include <math.h>
45028 main ()
45030 atan2l(0, 0);
45032 return 0;
45034 _ACEOF
45035 if ac_fn_cxx_try_compile "$LINENO"; then :
45036 glibcxx_cv_func_atan2l_use=yes
45037 else
45038 glibcxx_cv_func_atan2l_use=no
45040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45041 ac_ext=c
45042 ac_cpp='$CPP $CPPFLAGS'
45043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45052 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45054 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45055 for ac_func in atan2l
45056 do :
45057 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45058 if test "x$ac_cv_func_atan2l" = x""yes; then :
45059 cat >>confdefs.h <<_ACEOF
45060 #define HAVE_ATAN2L 1
45061 _ACEOF
45064 done
45066 else
45068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45069 $as_echo_n "checking for _atan2l declaration... " >&6; }
45070 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45071 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45072 $as_echo_n "(cached) " >&6
45073 else
45076 ac_ext=cpp
45077 ac_cpp='$CXXCPP $CPPFLAGS'
45078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45083 /* end confdefs.h. */
45084 #include <math.h>
45086 main ()
45088 _atan2l(0, 0);
45090 return 0;
45092 _ACEOF
45093 if ac_fn_cxx_try_compile "$LINENO"; then :
45094 glibcxx_cv_func__atan2l_use=yes
45095 else
45096 glibcxx_cv_func__atan2l_use=no
45098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45099 ac_ext=c
45100 ac_cpp='$CPP $CPPFLAGS'
45101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45110 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45112 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45113 for ac_func in _atan2l
45114 do :
45115 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45116 if test "x$ac_cv_func__atan2l" = x""yes; then :
45117 cat >>confdefs.h <<_ACEOF
45118 #define HAVE__ATAN2L 1
45119 _ACEOF
45122 done
45131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45132 $as_echo_n "checking for expl declaration... " >&6; }
45133 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45134 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45135 $as_echo_n "(cached) " >&6
45136 else
45139 ac_ext=cpp
45140 ac_cpp='$CXXCPP $CPPFLAGS'
45141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45146 /* end confdefs.h. */
45147 #include <math.h>
45148 #ifdef HAVE_IEEEFP_H
45149 #include <ieeefp.h>
45150 #endif
45153 main ()
45155 expl(0);
45157 return 0;
45159 _ACEOF
45160 if ac_fn_cxx_try_compile "$LINENO"; then :
45161 glibcxx_cv_func_expl_use=yes
45162 else
45163 glibcxx_cv_func_expl_use=no
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166 ac_ext=c
45167 ac_cpp='$CPP $CPPFLAGS'
45168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45177 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45179 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45180 for ac_func in expl
45181 do :
45182 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45183 if test "x$ac_cv_func_expl" = x""yes; then :
45184 cat >>confdefs.h <<_ACEOF
45185 #define HAVE_EXPL 1
45186 _ACEOF
45189 done
45191 else
45193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45194 $as_echo_n "checking for _expl declaration... " >&6; }
45195 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45196 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45197 $as_echo_n "(cached) " >&6
45198 else
45201 ac_ext=cpp
45202 ac_cpp='$CXXCPP $CPPFLAGS'
45203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45208 /* end confdefs.h. */
45209 #include <math.h>
45210 #ifdef HAVE_IEEEFP_H
45211 #include <ieeefp.h>
45212 #endif
45215 main ()
45217 _expl(0);
45219 return 0;
45221 _ACEOF
45222 if ac_fn_cxx_try_compile "$LINENO"; then :
45223 glibcxx_cv_func__expl_use=yes
45224 else
45225 glibcxx_cv_func__expl_use=no
45227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45228 ac_ext=c
45229 ac_cpp='$CPP $CPPFLAGS'
45230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45239 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45241 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45242 for ac_func in _expl
45243 do :
45244 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45245 if test "x$ac_cv_func__expl" = x""yes; then :
45246 cat >>confdefs.h <<_ACEOF
45247 #define HAVE__EXPL 1
45248 _ACEOF
45251 done
45260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45261 $as_echo_n "checking for fabsl declaration... " >&6; }
45262 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45263 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45264 $as_echo_n "(cached) " >&6
45265 else
45268 ac_ext=cpp
45269 ac_cpp='$CXXCPP $CPPFLAGS'
45270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45275 /* end confdefs.h. */
45276 #include <math.h>
45277 #ifdef HAVE_IEEEFP_H
45278 #include <ieeefp.h>
45279 #endif
45282 main ()
45284 fabsl(0);
45286 return 0;
45288 _ACEOF
45289 if ac_fn_cxx_try_compile "$LINENO"; then :
45290 glibcxx_cv_func_fabsl_use=yes
45291 else
45292 glibcxx_cv_func_fabsl_use=no
45294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45295 ac_ext=c
45296 ac_cpp='$CPP $CPPFLAGS'
45297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45306 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45308 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45309 for ac_func in fabsl
45310 do :
45311 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45312 if test "x$ac_cv_func_fabsl" = x""yes; then :
45313 cat >>confdefs.h <<_ACEOF
45314 #define HAVE_FABSL 1
45315 _ACEOF
45318 done
45320 else
45322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45323 $as_echo_n "checking for _fabsl declaration... " >&6; }
45324 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45325 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45326 $as_echo_n "(cached) " >&6
45327 else
45330 ac_ext=cpp
45331 ac_cpp='$CXXCPP $CPPFLAGS'
45332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45337 /* end confdefs.h. */
45338 #include <math.h>
45339 #ifdef HAVE_IEEEFP_H
45340 #include <ieeefp.h>
45341 #endif
45344 main ()
45346 _fabsl(0);
45348 return 0;
45350 _ACEOF
45351 if ac_fn_cxx_try_compile "$LINENO"; then :
45352 glibcxx_cv_func__fabsl_use=yes
45353 else
45354 glibcxx_cv_func__fabsl_use=no
45356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45357 ac_ext=c
45358 ac_cpp='$CPP $CPPFLAGS'
45359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45368 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45370 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45371 for ac_func in _fabsl
45372 do :
45373 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45374 if test "x$ac_cv_func__fabsl" = x""yes; then :
45375 cat >>confdefs.h <<_ACEOF
45376 #define HAVE__FABSL 1
45377 _ACEOF
45380 done
45389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45390 $as_echo_n "checking for fmodl declaration... " >&6; }
45391 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45392 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45393 $as_echo_n "(cached) " >&6
45394 else
45397 ac_ext=cpp
45398 ac_cpp='$CXXCPP $CPPFLAGS'
45399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45404 /* end confdefs.h. */
45405 #include <math.h>
45407 main ()
45409 fmodl(0, 0);
45411 return 0;
45413 _ACEOF
45414 if ac_fn_cxx_try_compile "$LINENO"; then :
45415 glibcxx_cv_func_fmodl_use=yes
45416 else
45417 glibcxx_cv_func_fmodl_use=no
45419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45420 ac_ext=c
45421 ac_cpp='$CPP $CPPFLAGS'
45422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45431 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45433 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45434 for ac_func in fmodl
45435 do :
45436 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45437 if test "x$ac_cv_func_fmodl" = x""yes; then :
45438 cat >>confdefs.h <<_ACEOF
45439 #define HAVE_FMODL 1
45440 _ACEOF
45443 done
45445 else
45447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45448 $as_echo_n "checking for _fmodl declaration... " >&6; }
45449 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45450 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45451 $as_echo_n "(cached) " >&6
45452 else
45455 ac_ext=cpp
45456 ac_cpp='$CXXCPP $CPPFLAGS'
45457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45462 /* end confdefs.h. */
45463 #include <math.h>
45465 main ()
45467 _fmodl(0, 0);
45469 return 0;
45471 _ACEOF
45472 if ac_fn_cxx_try_compile "$LINENO"; then :
45473 glibcxx_cv_func__fmodl_use=yes
45474 else
45475 glibcxx_cv_func__fmodl_use=no
45477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45478 ac_ext=c
45479 ac_cpp='$CPP $CPPFLAGS'
45480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45489 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45491 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45492 for ac_func in _fmodl
45493 do :
45494 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45495 if test "x$ac_cv_func__fmodl" = x""yes; then :
45496 cat >>confdefs.h <<_ACEOF
45497 #define HAVE__FMODL 1
45498 _ACEOF
45501 done
45510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45511 $as_echo_n "checking for frexpl declaration... " >&6; }
45512 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45513 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45514 $as_echo_n "(cached) " >&6
45515 else
45518 ac_ext=cpp
45519 ac_cpp='$CXXCPP $CPPFLAGS'
45520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45525 /* end confdefs.h. */
45526 #include <math.h>
45528 main ()
45530 frexpl(0, 0);
45532 return 0;
45534 _ACEOF
45535 if ac_fn_cxx_try_compile "$LINENO"; then :
45536 glibcxx_cv_func_frexpl_use=yes
45537 else
45538 glibcxx_cv_func_frexpl_use=no
45540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45541 ac_ext=c
45542 ac_cpp='$CPP $CPPFLAGS'
45543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45552 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45554 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45555 for ac_func in frexpl
45556 do :
45557 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45558 if test "x$ac_cv_func_frexpl" = x""yes; then :
45559 cat >>confdefs.h <<_ACEOF
45560 #define HAVE_FREXPL 1
45561 _ACEOF
45564 done
45566 else
45568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45569 $as_echo_n "checking for _frexpl declaration... " >&6; }
45570 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45571 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45572 $as_echo_n "(cached) " >&6
45573 else
45576 ac_ext=cpp
45577 ac_cpp='$CXXCPP $CPPFLAGS'
45578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45583 /* end confdefs.h. */
45584 #include <math.h>
45586 main ()
45588 _frexpl(0, 0);
45590 return 0;
45592 _ACEOF
45593 if ac_fn_cxx_try_compile "$LINENO"; then :
45594 glibcxx_cv_func__frexpl_use=yes
45595 else
45596 glibcxx_cv_func__frexpl_use=no
45598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45599 ac_ext=c
45600 ac_cpp='$CPP $CPPFLAGS'
45601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45610 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45612 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45613 for ac_func in _frexpl
45614 do :
45615 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45616 if test "x$ac_cv_func__frexpl" = x""yes; then :
45617 cat >>confdefs.h <<_ACEOF
45618 #define HAVE__FREXPL 1
45619 _ACEOF
45622 done
45631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45632 $as_echo_n "checking for hypotl declaration... " >&6; }
45633 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45634 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45635 $as_echo_n "(cached) " >&6
45636 else
45639 ac_ext=cpp
45640 ac_cpp='$CXXCPP $CPPFLAGS'
45641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45646 /* end confdefs.h. */
45647 #include <math.h>
45649 main ()
45651 hypotl(0, 0);
45653 return 0;
45655 _ACEOF
45656 if ac_fn_cxx_try_compile "$LINENO"; then :
45657 glibcxx_cv_func_hypotl_use=yes
45658 else
45659 glibcxx_cv_func_hypotl_use=no
45661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45662 ac_ext=c
45663 ac_cpp='$CPP $CPPFLAGS'
45664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45673 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45675 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45676 for ac_func in hypotl
45677 do :
45678 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45679 if test "x$ac_cv_func_hypotl" = x""yes; then :
45680 cat >>confdefs.h <<_ACEOF
45681 #define HAVE_HYPOTL 1
45682 _ACEOF
45685 done
45687 else
45689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45690 $as_echo_n "checking for _hypotl declaration... " >&6; }
45691 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45692 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45693 $as_echo_n "(cached) " >&6
45694 else
45697 ac_ext=cpp
45698 ac_cpp='$CXXCPP $CPPFLAGS'
45699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45704 /* end confdefs.h. */
45705 #include <math.h>
45707 main ()
45709 _hypotl(0, 0);
45711 return 0;
45713 _ACEOF
45714 if ac_fn_cxx_try_compile "$LINENO"; then :
45715 glibcxx_cv_func__hypotl_use=yes
45716 else
45717 glibcxx_cv_func__hypotl_use=no
45719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45720 ac_ext=c
45721 ac_cpp='$CPP $CPPFLAGS'
45722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45731 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45733 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45734 for ac_func in _hypotl
45735 do :
45736 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45737 if test "x$ac_cv_func__hypotl" = x""yes; then :
45738 cat >>confdefs.h <<_ACEOF
45739 #define HAVE__HYPOTL 1
45740 _ACEOF
45743 done
45752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45753 $as_echo_n "checking for ldexpl declaration... " >&6; }
45754 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45755 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45756 $as_echo_n "(cached) " >&6
45757 else
45760 ac_ext=cpp
45761 ac_cpp='$CXXCPP $CPPFLAGS'
45762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45767 /* end confdefs.h. */
45768 #include <math.h>
45770 main ()
45772 ldexpl(0, 0);
45774 return 0;
45776 _ACEOF
45777 if ac_fn_cxx_try_compile "$LINENO"; then :
45778 glibcxx_cv_func_ldexpl_use=yes
45779 else
45780 glibcxx_cv_func_ldexpl_use=no
45782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45783 ac_ext=c
45784 ac_cpp='$CPP $CPPFLAGS'
45785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45794 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45796 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45797 for ac_func in ldexpl
45798 do :
45799 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45800 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45801 cat >>confdefs.h <<_ACEOF
45802 #define HAVE_LDEXPL 1
45803 _ACEOF
45806 done
45808 else
45810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45811 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45812 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45813 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45814 $as_echo_n "(cached) " >&6
45815 else
45818 ac_ext=cpp
45819 ac_cpp='$CXXCPP $CPPFLAGS'
45820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45825 /* end confdefs.h. */
45826 #include <math.h>
45828 main ()
45830 _ldexpl(0, 0);
45832 return 0;
45834 _ACEOF
45835 if ac_fn_cxx_try_compile "$LINENO"; then :
45836 glibcxx_cv_func__ldexpl_use=yes
45837 else
45838 glibcxx_cv_func__ldexpl_use=no
45840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45841 ac_ext=c
45842 ac_cpp='$CPP $CPPFLAGS'
45843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45852 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45854 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45855 for ac_func in _ldexpl
45856 do :
45857 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45858 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45859 cat >>confdefs.h <<_ACEOF
45860 #define HAVE__LDEXPL 1
45861 _ACEOF
45864 done
45873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45874 $as_echo_n "checking for logl declaration... " >&6; }
45875 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45876 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45877 $as_echo_n "(cached) " >&6
45878 else
45881 ac_ext=cpp
45882 ac_cpp='$CXXCPP $CPPFLAGS'
45883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45888 /* end confdefs.h. */
45889 #include <math.h>
45890 #ifdef HAVE_IEEEFP_H
45891 #include <ieeefp.h>
45892 #endif
45895 main ()
45897 logl(0);
45899 return 0;
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903 glibcxx_cv_func_logl_use=yes
45904 else
45905 glibcxx_cv_func_logl_use=no
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908 ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45919 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45921 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45922 for ac_func in logl
45923 do :
45924 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45925 if test "x$ac_cv_func_logl" = x""yes; then :
45926 cat >>confdefs.h <<_ACEOF
45927 #define HAVE_LOGL 1
45928 _ACEOF
45931 done
45933 else
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45936 $as_echo_n "checking for _logl declaration... " >&6; }
45937 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45938 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45943 ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h. */
45951 #include <math.h>
45952 #ifdef HAVE_IEEEFP_H
45953 #include <ieeefp.h>
45954 #endif
45957 main ()
45959 _logl(0);
45961 return 0;
45963 _ACEOF
45964 if ac_fn_cxx_try_compile "$LINENO"; then :
45965 glibcxx_cv_func__logl_use=yes
45966 else
45967 glibcxx_cv_func__logl_use=no
45969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45970 ac_ext=c
45971 ac_cpp='$CPP $CPPFLAGS'
45972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45981 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45983 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45984 for ac_func in _logl
45985 do :
45986 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45987 if test "x$ac_cv_func__logl" = x""yes; then :
45988 cat >>confdefs.h <<_ACEOF
45989 #define HAVE__LOGL 1
45990 _ACEOF
45993 done
46002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46003 $as_echo_n "checking for log10l declaration... " >&6; }
46004 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46005 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46006 $as_echo_n "(cached) " >&6
46007 else
46010 ac_ext=cpp
46011 ac_cpp='$CXXCPP $CPPFLAGS'
46012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46017 /* end confdefs.h. */
46018 #include <math.h>
46019 #ifdef HAVE_IEEEFP_H
46020 #include <ieeefp.h>
46021 #endif
46024 main ()
46026 log10l(0);
46028 return 0;
46030 _ACEOF
46031 if ac_fn_cxx_try_compile "$LINENO"; then :
46032 glibcxx_cv_func_log10l_use=yes
46033 else
46034 glibcxx_cv_func_log10l_use=no
46036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46037 ac_ext=c
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46048 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46050 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46051 for ac_func in log10l
46052 do :
46053 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46054 if test "x$ac_cv_func_log10l" = x""yes; then :
46055 cat >>confdefs.h <<_ACEOF
46056 #define HAVE_LOG10L 1
46057 _ACEOF
46060 done
46062 else
46064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46065 $as_echo_n "checking for _log10l declaration... " >&6; }
46066 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46067 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46068 $as_echo_n "(cached) " >&6
46069 else
46072 ac_ext=cpp
46073 ac_cpp='$CXXCPP $CPPFLAGS'
46074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46079 /* end confdefs.h. */
46080 #include <math.h>
46081 #ifdef HAVE_IEEEFP_H
46082 #include <ieeefp.h>
46083 #endif
46086 main ()
46088 _log10l(0);
46090 return 0;
46092 _ACEOF
46093 if ac_fn_cxx_try_compile "$LINENO"; then :
46094 glibcxx_cv_func__log10l_use=yes
46095 else
46096 glibcxx_cv_func__log10l_use=no
46098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46099 ac_ext=c
46100 ac_cpp='$CPP $CPPFLAGS'
46101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46110 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46112 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46113 for ac_func in _log10l
46114 do :
46115 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46116 if test "x$ac_cv_func__log10l" = x""yes; then :
46117 cat >>confdefs.h <<_ACEOF
46118 #define HAVE__LOG10L 1
46119 _ACEOF
46122 done
46131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46132 $as_echo_n "checking for modfl declaration... " >&6; }
46133 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46134 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46135 $as_echo_n "(cached) " >&6
46136 else
46139 ac_ext=cpp
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h. */
46147 #include <math.h>
46149 main ()
46151 modfl(0, 0);
46153 return 0;
46155 _ACEOF
46156 if ac_fn_cxx_try_compile "$LINENO"; then :
46157 glibcxx_cv_func_modfl_use=yes
46158 else
46159 glibcxx_cv_func_modfl_use=no
46161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46162 ac_ext=c
46163 ac_cpp='$CPP $CPPFLAGS'
46164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46173 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46175 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46176 for ac_func in modfl
46177 do :
46178 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46179 if test "x$ac_cv_func_modfl" = x""yes; then :
46180 cat >>confdefs.h <<_ACEOF
46181 #define HAVE_MODFL 1
46182 _ACEOF
46185 done
46187 else
46189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46190 $as_echo_n "checking for _modfl declaration... " >&6; }
46191 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46192 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46193 $as_echo_n "(cached) " >&6
46194 else
46197 ac_ext=cpp
46198 ac_cpp='$CXXCPP $CPPFLAGS'
46199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46204 /* end confdefs.h. */
46205 #include <math.h>
46207 main ()
46209 _modfl(0, 0);
46211 return 0;
46213 _ACEOF
46214 if ac_fn_cxx_try_compile "$LINENO"; then :
46215 glibcxx_cv_func__modfl_use=yes
46216 else
46217 glibcxx_cv_func__modfl_use=no
46219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46220 ac_ext=c
46221 ac_cpp='$CPP $CPPFLAGS'
46222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46231 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46233 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46234 for ac_func in _modfl
46235 do :
46236 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46237 if test "x$ac_cv_func__modfl" = x""yes; then :
46238 cat >>confdefs.h <<_ACEOF
46239 #define HAVE__MODFL 1
46240 _ACEOF
46243 done
46252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46253 $as_echo_n "checking for powl declaration... " >&6; }
46254 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46255 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46256 $as_echo_n "(cached) " >&6
46257 else
46260 ac_ext=cpp
46261 ac_cpp='$CXXCPP $CPPFLAGS'
46262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46267 /* end confdefs.h. */
46268 #include <math.h>
46270 main ()
46272 powl(0, 0);
46274 return 0;
46276 _ACEOF
46277 if ac_fn_cxx_try_compile "$LINENO"; then :
46278 glibcxx_cv_func_powl_use=yes
46279 else
46280 glibcxx_cv_func_powl_use=no
46282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46283 ac_ext=c
46284 ac_cpp='$CPP $CPPFLAGS'
46285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46294 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46296 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46297 for ac_func in powl
46298 do :
46299 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46300 if test "x$ac_cv_func_powl" = x""yes; then :
46301 cat >>confdefs.h <<_ACEOF
46302 #define HAVE_POWL 1
46303 _ACEOF
46306 done
46308 else
46310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46311 $as_echo_n "checking for _powl declaration... " >&6; }
46312 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46313 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46314 $as_echo_n "(cached) " >&6
46315 else
46318 ac_ext=cpp
46319 ac_cpp='$CXXCPP $CPPFLAGS'
46320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46325 /* end confdefs.h. */
46326 #include <math.h>
46328 main ()
46330 _powl(0, 0);
46332 return 0;
46334 _ACEOF
46335 if ac_fn_cxx_try_compile "$LINENO"; then :
46336 glibcxx_cv_func__powl_use=yes
46337 else
46338 glibcxx_cv_func__powl_use=no
46340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46341 ac_ext=c
46342 ac_cpp='$CPP $CPPFLAGS'
46343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46352 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46354 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46355 for ac_func in _powl
46356 do :
46357 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46358 if test "x$ac_cv_func__powl" = x""yes; then :
46359 cat >>confdefs.h <<_ACEOF
46360 #define HAVE__POWL 1
46361 _ACEOF
46364 done
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46374 $as_echo_n "checking for sqrtl declaration... " >&6; }
46375 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46376 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46377 $as_echo_n "(cached) " >&6
46378 else
46381 ac_ext=cpp
46382 ac_cpp='$CXXCPP $CPPFLAGS'
46383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46388 /* end confdefs.h. */
46389 #include <math.h>
46390 #ifdef HAVE_IEEEFP_H
46391 #include <ieeefp.h>
46392 #endif
46395 main ()
46397 sqrtl(0);
46399 return 0;
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func_sqrtl_use=yes
46404 else
46405 glibcxx_cv_func_sqrtl_use=no
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46419 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46421 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46422 for ac_func in sqrtl
46423 do :
46424 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46425 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE_SQRTL 1
46428 _ACEOF
46431 done
46433 else
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46436 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46437 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46438 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46439 $as_echo_n "(cached) " >&6
46440 else
46443 ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h. */
46451 #include <math.h>
46452 #ifdef HAVE_IEEEFP_H
46453 #include <ieeefp.h>
46454 #endif
46457 main ()
46459 _sqrtl(0);
46461 return 0;
46463 _ACEOF
46464 if ac_fn_cxx_try_compile "$LINENO"; then :
46465 glibcxx_cv_func__sqrtl_use=yes
46466 else
46467 glibcxx_cv_func__sqrtl_use=no
46469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46470 ac_ext=c
46471 ac_cpp='$CPP $CPPFLAGS'
46472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46481 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46483 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46484 for ac_func in _sqrtl
46485 do :
46486 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46487 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46488 cat >>confdefs.h <<_ACEOF
46489 #define HAVE__SQRTL 1
46490 _ACEOF
46493 done
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46503 $as_echo_n "checking for sincosl declaration... " >&6; }
46504 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46505 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46506 $as_echo_n "(cached) " >&6
46507 else
46510 ac_ext=cpp
46511 ac_cpp='$CXXCPP $CPPFLAGS'
46512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46517 /* end confdefs.h. */
46518 #include <math.h>
46520 main ()
46522 sincosl(0, 0, 0);
46524 return 0;
46526 _ACEOF
46527 if ac_fn_cxx_try_compile "$LINENO"; then :
46528 glibcxx_cv_func_sincosl_use=yes
46529 else
46530 glibcxx_cv_func_sincosl_use=no
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46533 ac_ext=c
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46544 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46546 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46547 for ac_func in sincosl
46548 do :
46549 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46550 if test "x$ac_cv_func_sincosl" = x""yes; then :
46551 cat >>confdefs.h <<_ACEOF
46552 #define HAVE_SINCOSL 1
46553 _ACEOF
46556 done
46558 else
46560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46561 $as_echo_n "checking for _sincosl declaration... " >&6; }
46562 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46563 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46564 $as_echo_n "(cached) " >&6
46565 else
46568 ac_ext=cpp
46569 ac_cpp='$CXXCPP $CPPFLAGS'
46570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46575 /* end confdefs.h. */
46576 #include <math.h>
46578 main ()
46580 _sincosl(0, 0, 0);
46582 return 0;
46584 _ACEOF
46585 if ac_fn_cxx_try_compile "$LINENO"; then :
46586 glibcxx_cv_func__sincosl_use=yes
46587 else
46588 glibcxx_cv_func__sincosl_use=no
46590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46591 ac_ext=c
46592 ac_cpp='$CPP $CPPFLAGS'
46593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46602 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46604 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46605 for ac_func in _sincosl
46606 do :
46607 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46608 if test "x$ac_cv_func__sincosl" = x""yes; then :
46609 cat >>confdefs.h <<_ACEOF
46610 #define HAVE__SINCOSL 1
46611 _ACEOF
46614 done
46623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46624 $as_echo_n "checking for finitel declaration... " >&6; }
46625 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46626 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46627 $as_echo_n "(cached) " >&6
46628 else
46631 ac_ext=cpp
46632 ac_cpp='$CXXCPP $CPPFLAGS'
46633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46638 /* end confdefs.h. */
46639 #include <math.h>
46640 #ifdef HAVE_IEEEFP_H
46641 #include <ieeefp.h>
46642 #endif
46645 main ()
46647 finitel(0);
46649 return 0;
46651 _ACEOF
46652 if ac_fn_cxx_try_compile "$LINENO"; then :
46653 glibcxx_cv_func_finitel_use=yes
46654 else
46655 glibcxx_cv_func_finitel_use=no
46657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46658 ac_ext=c
46659 ac_cpp='$CPP $CPPFLAGS'
46660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46669 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46671 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46672 for ac_func in finitel
46673 do :
46674 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46675 if test "x$ac_cv_func_finitel" = x""yes; then :
46676 cat >>confdefs.h <<_ACEOF
46677 #define HAVE_FINITEL 1
46678 _ACEOF
46681 done
46683 else
46685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46686 $as_echo_n "checking for _finitel declaration... " >&6; }
46687 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46688 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46689 $as_echo_n "(cached) " >&6
46690 else
46693 ac_ext=cpp
46694 ac_cpp='$CXXCPP $CPPFLAGS'
46695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46700 /* end confdefs.h. */
46701 #include <math.h>
46702 #ifdef HAVE_IEEEFP_H
46703 #include <ieeefp.h>
46704 #endif
46707 main ()
46709 _finitel(0);
46711 return 0;
46713 _ACEOF
46714 if ac_fn_cxx_try_compile "$LINENO"; then :
46715 glibcxx_cv_func__finitel_use=yes
46716 else
46717 glibcxx_cv_func__finitel_use=no
46719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46720 ac_ext=c
46721 ac_cpp='$CPP $CPPFLAGS'
46722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46731 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46733 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46734 for ac_func in _finitel
46735 do :
46736 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46737 if test "x$ac_cv_func__finitel" = x""yes; then :
46738 cat >>confdefs.h <<_ACEOF
46739 #define HAVE__FINITEL 1
46740 _ACEOF
46743 done
46751 LIBS="$ac_save_LIBS"
46752 CXXFLAGS="$ac_save_CXXFLAGS"
46755 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46756 ac_save_CXXFLAGS="$CXXFLAGS"
46757 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46761 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46762 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46763 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46764 $as_echo_n "(cached) " >&6
46765 else
46768 ac_ext=cpp
46769 ac_cpp='$CXXCPP $CPPFLAGS'
46770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46775 /* end confdefs.h. */
46776 #include <stdlib.h>
46778 main ()
46780 at_quick_exit(0);
46782 return 0;
46784 _ACEOF
46785 if ac_fn_cxx_try_compile "$LINENO"; then :
46786 glibcxx_cv_func_at_quick_exit_use=yes
46787 else
46788 glibcxx_cv_func_at_quick_exit_use=no
46790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46791 ac_ext=c
46792 ac_cpp='$CPP $CPPFLAGS'
46793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46802 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46803 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46804 for ac_func in at_quick_exit
46805 do :
46806 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46807 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46808 cat >>confdefs.h <<_ACEOF
46809 #define HAVE_AT_QUICK_EXIT 1
46810 _ACEOF
46813 done
46818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46819 $as_echo_n "checking for quick_exit declaration... " >&6; }
46820 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46821 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46822 $as_echo_n "(cached) " >&6
46823 else
46826 ac_ext=cpp
46827 ac_cpp='$CXXCPP $CPPFLAGS'
46828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46833 /* end confdefs.h. */
46834 #include <stdlib.h>
46836 main ()
46838 quick_exit(0);
46840 return 0;
46842 _ACEOF
46843 if ac_fn_cxx_try_compile "$LINENO"; then :
46844 glibcxx_cv_func_quick_exit_use=yes
46845 else
46846 glibcxx_cv_func_quick_exit_use=no
46848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46849 ac_ext=c
46850 ac_cpp='$CPP $CPPFLAGS'
46851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46860 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46861 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46862 for ac_func in quick_exit
46863 do :
46864 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46865 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46866 cat >>confdefs.h <<_ACEOF
46867 #define HAVE_QUICK_EXIT 1
46868 _ACEOF
46871 done
46876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46877 $as_echo_n "checking for strtold declaration... " >&6; }
46878 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46879 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46880 $as_echo_n "(cached) " >&6
46881 else
46884 ac_ext=cpp
46885 ac_cpp='$CXXCPP $CPPFLAGS'
46886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46891 /* end confdefs.h. */
46892 #include <stdlib.h>
46894 main ()
46896 strtold(0, 0);
46898 return 0;
46900 _ACEOF
46901 if ac_fn_cxx_try_compile "$LINENO"; then :
46902 glibcxx_cv_func_strtold_use=yes
46903 else
46904 glibcxx_cv_func_strtold_use=no
46906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46907 ac_ext=c
46908 ac_cpp='$CPP $CPPFLAGS'
46909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46918 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46919 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46920 for ac_func in strtold
46921 do :
46922 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46923 if test "x$ac_cv_func_strtold" = x""yes; then :
46924 cat >>confdefs.h <<_ACEOF
46925 #define HAVE_STRTOLD 1
46926 _ACEOF
46929 done
46936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46937 $as_echo_n "checking for strtof declaration... " >&6; }
46938 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46939 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46940 $as_echo_n "(cached) " >&6
46941 else
46944 ac_ext=cpp
46945 ac_cpp='$CXXCPP $CPPFLAGS'
46946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46951 /* end confdefs.h. */
46952 #include <stdlib.h>
46954 main ()
46956 strtof(0, 0);
46958 return 0;
46960 _ACEOF
46961 if ac_fn_cxx_try_compile "$LINENO"; then :
46962 glibcxx_cv_func_strtof_use=yes
46963 else
46964 glibcxx_cv_func_strtof_use=no
46966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46967 ac_ext=c
46968 ac_cpp='$CPP $CPPFLAGS'
46969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46978 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46979 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46980 for ac_func in strtof
46981 do :
46982 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46983 if test "x$ac_cv_func_strtof" = x""yes; then :
46984 cat >>confdefs.h <<_ACEOF
46985 #define HAVE_STRTOF 1
46986 _ACEOF
46989 done
46996 CXXFLAGS="$ac_save_CXXFLAGS"
46998 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47000 # We don't yet support AIX's TLS ABI.
47001 #GCC_CHECK_TLS
47007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47008 $as_echo_n "checking for iconv... " >&6; }
47009 if test "${am_cv_func_iconv+set}" = set; then :
47010 $as_echo_n "(cached) " >&6
47011 else
47013 am_cv_func_iconv="no, consider installing GNU libiconv"
47014 am_cv_lib_iconv=no
47015 am_save_CPPFLAGS="$CPPFLAGS"
47016 CPPFLAGS="$CPPFLAGS $INCICONV"
47017 if test x$gcc_no_link = xyes; then
47018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47021 /* end confdefs.h. */
47022 #include <stdlib.h>
47023 #include <iconv.h>
47025 main ()
47027 iconv_t cd = iconv_open("","");
47028 iconv(cd,NULL,NULL,NULL,NULL);
47029 iconv_close(cd);
47031 return 0;
47033 _ACEOF
47034 if ac_fn_c_try_link "$LINENO"; then :
47035 am_cv_func_iconv=yes
47037 rm -f core conftest.err conftest.$ac_objext \
47038 conftest$ac_exeext conftest.$ac_ext
47039 CPPFLAGS="$am_save_CPPFLAGS"
47041 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47042 for _libs in .libs _libs; do
47043 am_save_CPPFLAGS="$CPPFLAGS"
47044 am_save_LIBS="$LIBS"
47045 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47046 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47047 if test x$gcc_no_link = xyes; then
47048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47051 /* end confdefs.h. */
47052 #include <stdlib.h>
47053 #include <iconv.h>
47055 main ()
47057 iconv_t cd = iconv_open("","");
47058 iconv(cd,NULL,NULL,NULL,NULL);
47059 iconv_close(cd);
47061 return 0;
47063 _ACEOF
47064 if ac_fn_c_try_link "$LINENO"; then :
47065 INCICONV="-I../libiconv/include"
47066 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47067 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47068 am_cv_lib_iconv=yes
47069 am_cv_func_iconv=yes
47071 rm -f core conftest.err conftest.$ac_objext \
47072 conftest$ac_exeext conftest.$ac_ext
47073 CPPFLAGS="$am_save_CPPFLAGS"
47074 LIBS="$am_save_LIBS"
47075 if test "$am_cv_func_iconv" = "yes"; then
47076 break
47078 done
47081 if test "$am_cv_func_iconv" != yes; then
47082 am_save_CPPFLAGS="$CPPFLAGS"
47083 am_save_LIBS="$LIBS"
47084 CPPFLAGS="$LIBS $INCICONV"
47085 LIBS="$LIBS $LIBICONV"
47086 if test x$gcc_no_link = xyes; then
47087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47090 /* end confdefs.h. */
47091 #include <stdlib.h>
47092 #include <iconv.h>
47094 main ()
47096 iconv_t cd = iconv_open("","");
47097 iconv(cd,NULL,NULL,NULL,NULL);
47098 iconv_close(cd);
47100 return 0;
47102 _ACEOF
47103 if ac_fn_c_try_link "$LINENO"; then :
47104 am_cv_lib_iconv=yes
47105 am_cv_func_iconv=yes
47107 rm -f core conftest.err conftest.$ac_objext \
47108 conftest$ac_exeext conftest.$ac_ext
47109 CPPFLAGS="$am_save_CPPFLAGS"
47110 LIBS="$am_save_LIBS"
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47115 $as_echo "$am_cv_func_iconv" >&6; }
47116 if test "$am_cv_func_iconv" = yes; then
47118 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47121 if test "$am_cv_lib_iconv" = yes; then
47123 for element in $INCICONV; do
47124 haveit=
47125 for x in $CPPFLAGS; do
47127 acl_save_prefix="$prefix"
47128 prefix="$acl_final_prefix"
47129 acl_save_exec_prefix="$exec_prefix"
47130 exec_prefix="$acl_final_exec_prefix"
47131 eval x=\"$x\"
47132 exec_prefix="$acl_save_exec_prefix"
47133 prefix="$acl_save_prefix"
47135 if test "X$x" = "X$element"; then
47136 haveit=yes
47137 break
47139 done
47140 if test -z "$haveit"; then
47141 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47143 done
47145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47146 $as_echo_n "checking how to link with libiconv... " >&6; }
47147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47148 $as_echo "$LIBICONV" >&6; }
47149 else
47150 LIBICONV=
47151 LTLIBICONV=
47156 if test "$am_cv_func_iconv" = yes; then
47157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47158 $as_echo_n "checking for iconv declaration... " >&6; }
47159 if test "${am_cv_proto_iconv+set}" = set; then :
47160 $as_echo_n "(cached) " >&6
47161 else
47163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47164 /* end confdefs.h. */
47166 #include <stdlib.h>
47167 #include <iconv.h>
47168 extern
47169 #ifdef __cplusplus
47171 #endif
47172 #if defined(__STDC__) || defined(__cplusplus)
47173 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47174 #else
47175 size_t iconv();
47176 #endif
47179 main ()
47183 return 0;
47185 _ACEOF
47186 if ac_fn_c_try_compile "$LINENO"; then :
47187 am_cv_proto_iconv_arg1=""
47188 else
47189 am_cv_proto_iconv_arg1="const"
47191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47192 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);"
47195 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47197 }$am_cv_proto_iconv" >&5
47198 $as_echo "${ac_t:-
47199 }$am_cv_proto_iconv" >&6; }
47201 cat >>confdefs.h <<_ACEOF
47202 #define ICONV_CONST $am_cv_proto_iconv_arg1
47203 _ACEOF
47209 *-darwin*)
47210 # Darwin versions vary, but the linker should work in a cross environment,
47211 # so we just check for all the features here.
47212 # Check for available headers.
47214 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47216 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47217 ac_save_CXXFLAGS="$CXXFLAGS"
47218 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47221 $as_echo_n "checking for sin in -lm... " >&6; }
47222 if test "${ac_cv_lib_m_sin+set}" = set; then :
47223 $as_echo_n "(cached) " >&6
47224 else
47225 ac_check_lib_save_LIBS=$LIBS
47226 LIBS="-lm $LIBS"
47227 if test x$gcc_no_link = xyes; then
47228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47231 /* end confdefs.h. */
47233 /* Override any GCC internal prototype to avoid an error.
47234 Use char because int might match the return type of a GCC
47235 builtin and then its argument prototype would still apply. */
47236 #ifdef __cplusplus
47237 extern "C"
47238 #endif
47239 char sin ();
47241 main ()
47243 return sin ();
47245 return 0;
47247 _ACEOF
47248 if ac_fn_c_try_link "$LINENO"; then :
47249 ac_cv_lib_m_sin=yes
47250 else
47251 ac_cv_lib_m_sin=no
47253 rm -f core conftest.err conftest.$ac_objext \
47254 conftest$ac_exeext conftest.$ac_ext
47255 LIBS=$ac_check_lib_save_LIBS
47257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47258 $as_echo "$ac_cv_lib_m_sin" >&6; }
47259 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47260 libm="-lm"
47263 ac_save_LIBS="$LIBS"
47264 LIBS="$LIBS $libm"
47268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47269 $as_echo_n "checking for isinf declaration... " >&6; }
47270 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47271 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47272 $as_echo_n "(cached) " >&6
47273 else
47276 ac_ext=cpp
47277 ac_cpp='$CXXCPP $CPPFLAGS'
47278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47283 /* end confdefs.h. */
47284 #include <math.h>
47285 #ifdef HAVE_IEEEFP_H
47286 #include <ieeefp.h>
47287 #endif
47290 main ()
47292 isinf(0);
47294 return 0;
47296 _ACEOF
47297 if ac_fn_cxx_try_compile "$LINENO"; then :
47298 glibcxx_cv_func_isinf_use=yes
47299 else
47300 glibcxx_cv_func_isinf_use=no
47302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47303 ac_ext=c
47304 ac_cpp='$CPP $CPPFLAGS'
47305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47314 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47316 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47317 for ac_func in isinf
47318 do :
47319 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47320 if test "x$ac_cv_func_isinf" = x""yes; then :
47321 cat >>confdefs.h <<_ACEOF
47322 #define HAVE_ISINF 1
47323 _ACEOF
47326 done
47328 else
47330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47331 $as_echo_n "checking for _isinf declaration... " >&6; }
47332 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47333 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47334 $as_echo_n "(cached) " >&6
47335 else
47338 ac_ext=cpp
47339 ac_cpp='$CXXCPP $CPPFLAGS'
47340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47345 /* end confdefs.h. */
47346 #include <math.h>
47347 #ifdef HAVE_IEEEFP_H
47348 #include <ieeefp.h>
47349 #endif
47352 main ()
47354 _isinf(0);
47356 return 0;
47358 _ACEOF
47359 if ac_fn_cxx_try_compile "$LINENO"; then :
47360 glibcxx_cv_func__isinf_use=yes
47361 else
47362 glibcxx_cv_func__isinf_use=no
47364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47365 ac_ext=c
47366 ac_cpp='$CPP $CPPFLAGS'
47367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47376 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47378 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47379 for ac_func in _isinf
47380 do :
47381 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47382 if test "x$ac_cv_func__isinf" = x""yes; then :
47383 cat >>confdefs.h <<_ACEOF
47384 #define HAVE__ISINF 1
47385 _ACEOF
47388 done
47397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47398 $as_echo_n "checking for isnan declaration... " >&6; }
47399 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47400 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47401 $as_echo_n "(cached) " >&6
47402 else
47405 ac_ext=cpp
47406 ac_cpp='$CXXCPP $CPPFLAGS'
47407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47412 /* end confdefs.h. */
47413 #include <math.h>
47414 #ifdef HAVE_IEEEFP_H
47415 #include <ieeefp.h>
47416 #endif
47419 main ()
47421 isnan(0);
47423 return 0;
47425 _ACEOF
47426 if ac_fn_cxx_try_compile "$LINENO"; then :
47427 glibcxx_cv_func_isnan_use=yes
47428 else
47429 glibcxx_cv_func_isnan_use=no
47431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47432 ac_ext=c
47433 ac_cpp='$CPP $CPPFLAGS'
47434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47443 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47445 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47446 for ac_func in isnan
47447 do :
47448 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47449 if test "x$ac_cv_func_isnan" = x""yes; then :
47450 cat >>confdefs.h <<_ACEOF
47451 #define HAVE_ISNAN 1
47452 _ACEOF
47455 done
47457 else
47459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47460 $as_echo_n "checking for _isnan declaration... " >&6; }
47461 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47462 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47463 $as_echo_n "(cached) " >&6
47464 else
47467 ac_ext=cpp
47468 ac_cpp='$CXXCPP $CPPFLAGS'
47469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47474 /* end confdefs.h. */
47475 #include <math.h>
47476 #ifdef HAVE_IEEEFP_H
47477 #include <ieeefp.h>
47478 #endif
47481 main ()
47483 _isnan(0);
47485 return 0;
47487 _ACEOF
47488 if ac_fn_cxx_try_compile "$LINENO"; then :
47489 glibcxx_cv_func__isnan_use=yes
47490 else
47491 glibcxx_cv_func__isnan_use=no
47493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47494 ac_ext=c
47495 ac_cpp='$CPP $CPPFLAGS'
47496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47505 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47507 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47508 for ac_func in _isnan
47509 do :
47510 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47511 if test "x$ac_cv_func__isnan" = x""yes; then :
47512 cat >>confdefs.h <<_ACEOF
47513 #define HAVE__ISNAN 1
47514 _ACEOF
47517 done
47526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47527 $as_echo_n "checking for finite declaration... " >&6; }
47528 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47529 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47530 $as_echo_n "(cached) " >&6
47531 else
47534 ac_ext=cpp
47535 ac_cpp='$CXXCPP $CPPFLAGS'
47536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47541 /* end confdefs.h. */
47542 #include <math.h>
47543 #ifdef HAVE_IEEEFP_H
47544 #include <ieeefp.h>
47545 #endif
47548 main ()
47550 finite(0);
47552 return 0;
47554 _ACEOF
47555 if ac_fn_cxx_try_compile "$LINENO"; then :
47556 glibcxx_cv_func_finite_use=yes
47557 else
47558 glibcxx_cv_func_finite_use=no
47560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47561 ac_ext=c
47562 ac_cpp='$CPP $CPPFLAGS'
47563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47572 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47574 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47575 for ac_func in finite
47576 do :
47577 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47578 if test "x$ac_cv_func_finite" = x""yes; then :
47579 cat >>confdefs.h <<_ACEOF
47580 #define HAVE_FINITE 1
47581 _ACEOF
47584 done
47586 else
47588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47589 $as_echo_n "checking for _finite declaration... " >&6; }
47590 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47591 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47592 $as_echo_n "(cached) " >&6
47593 else
47596 ac_ext=cpp
47597 ac_cpp='$CXXCPP $CPPFLAGS'
47598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47603 /* end confdefs.h. */
47604 #include <math.h>
47605 #ifdef HAVE_IEEEFP_H
47606 #include <ieeefp.h>
47607 #endif
47610 main ()
47612 _finite(0);
47614 return 0;
47616 _ACEOF
47617 if ac_fn_cxx_try_compile "$LINENO"; then :
47618 glibcxx_cv_func__finite_use=yes
47619 else
47620 glibcxx_cv_func__finite_use=no
47622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47623 ac_ext=c
47624 ac_cpp='$CPP $CPPFLAGS'
47625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47634 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47636 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47637 for ac_func in _finite
47638 do :
47639 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47640 if test "x$ac_cv_func__finite" = x""yes; then :
47641 cat >>confdefs.h <<_ACEOF
47642 #define HAVE__FINITE 1
47643 _ACEOF
47646 done
47655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47656 $as_echo_n "checking for sincos declaration... " >&6; }
47657 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47658 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47659 $as_echo_n "(cached) " >&6
47660 else
47663 ac_ext=cpp
47664 ac_cpp='$CXXCPP $CPPFLAGS'
47665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47670 /* end confdefs.h. */
47671 #include <math.h>
47673 main ()
47675 sincos(0, 0, 0);
47677 return 0;
47679 _ACEOF
47680 if ac_fn_cxx_try_compile "$LINENO"; then :
47681 glibcxx_cv_func_sincos_use=yes
47682 else
47683 glibcxx_cv_func_sincos_use=no
47685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47686 ac_ext=c
47687 ac_cpp='$CPP $CPPFLAGS'
47688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47697 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47699 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47700 for ac_func in sincos
47701 do :
47702 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47703 if test "x$ac_cv_func_sincos" = x""yes; then :
47704 cat >>confdefs.h <<_ACEOF
47705 #define HAVE_SINCOS 1
47706 _ACEOF
47709 done
47711 else
47713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47714 $as_echo_n "checking for _sincos declaration... " >&6; }
47715 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47716 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47717 $as_echo_n "(cached) " >&6
47718 else
47721 ac_ext=cpp
47722 ac_cpp='$CXXCPP $CPPFLAGS'
47723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47728 /* end confdefs.h. */
47729 #include <math.h>
47731 main ()
47733 _sincos(0, 0, 0);
47735 return 0;
47737 _ACEOF
47738 if ac_fn_cxx_try_compile "$LINENO"; then :
47739 glibcxx_cv_func__sincos_use=yes
47740 else
47741 glibcxx_cv_func__sincos_use=no
47743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47744 ac_ext=c
47745 ac_cpp='$CPP $CPPFLAGS'
47746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47755 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47757 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47758 for ac_func in _sincos
47759 do :
47760 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47761 if test "x$ac_cv_func__sincos" = x""yes; then :
47762 cat >>confdefs.h <<_ACEOF
47763 #define HAVE__SINCOS 1
47764 _ACEOF
47767 done
47776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47777 $as_echo_n "checking for fpclass declaration... " >&6; }
47778 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47779 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47780 $as_echo_n "(cached) " >&6
47781 else
47784 ac_ext=cpp
47785 ac_cpp='$CXXCPP $CPPFLAGS'
47786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47791 /* end confdefs.h. */
47792 #include <math.h>
47793 #ifdef HAVE_IEEEFP_H
47794 #include <ieeefp.h>
47795 #endif
47798 main ()
47800 fpclass(0);
47802 return 0;
47804 _ACEOF
47805 if ac_fn_cxx_try_compile "$LINENO"; then :
47806 glibcxx_cv_func_fpclass_use=yes
47807 else
47808 glibcxx_cv_func_fpclass_use=no
47810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47811 ac_ext=c
47812 ac_cpp='$CPP $CPPFLAGS'
47813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47822 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47824 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47825 for ac_func in fpclass
47826 do :
47827 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47828 if test "x$ac_cv_func_fpclass" = x""yes; then :
47829 cat >>confdefs.h <<_ACEOF
47830 #define HAVE_FPCLASS 1
47831 _ACEOF
47834 done
47836 else
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47839 $as_echo_n "checking for _fpclass declaration... " >&6; }
47840 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47841 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47842 $as_echo_n "(cached) " >&6
47843 else
47846 ac_ext=cpp
47847 ac_cpp='$CXXCPP $CPPFLAGS'
47848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47853 /* end confdefs.h. */
47854 #include <math.h>
47855 #ifdef HAVE_IEEEFP_H
47856 #include <ieeefp.h>
47857 #endif
47860 main ()
47862 _fpclass(0);
47864 return 0;
47866 _ACEOF
47867 if ac_fn_cxx_try_compile "$LINENO"; then :
47868 glibcxx_cv_func__fpclass_use=yes
47869 else
47870 glibcxx_cv_func__fpclass_use=no
47872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47873 ac_ext=c
47874 ac_cpp='$CPP $CPPFLAGS'
47875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47884 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47886 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47887 for ac_func in _fpclass
47888 do :
47889 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47890 if test "x$ac_cv_func__fpclass" = x""yes; then :
47891 cat >>confdefs.h <<_ACEOF
47892 #define HAVE__FPCLASS 1
47893 _ACEOF
47896 done
47905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47906 $as_echo_n "checking for qfpclass declaration... " >&6; }
47907 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47908 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47909 $as_echo_n "(cached) " >&6
47910 else
47913 ac_ext=cpp
47914 ac_cpp='$CXXCPP $CPPFLAGS'
47915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47920 /* end confdefs.h. */
47921 #include <math.h>
47922 #ifdef HAVE_IEEEFP_H
47923 #include <ieeefp.h>
47924 #endif
47927 main ()
47929 qfpclass(0);
47931 return 0;
47933 _ACEOF
47934 if ac_fn_cxx_try_compile "$LINENO"; then :
47935 glibcxx_cv_func_qfpclass_use=yes
47936 else
47937 glibcxx_cv_func_qfpclass_use=no
47939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47940 ac_ext=c
47941 ac_cpp='$CPP $CPPFLAGS'
47942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47951 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47953 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47954 for ac_func in qfpclass
47955 do :
47956 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47957 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47958 cat >>confdefs.h <<_ACEOF
47959 #define HAVE_QFPCLASS 1
47960 _ACEOF
47963 done
47965 else
47967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47968 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47969 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47970 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47971 $as_echo_n "(cached) " >&6
47972 else
47975 ac_ext=cpp
47976 ac_cpp='$CXXCPP $CPPFLAGS'
47977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47982 /* end confdefs.h. */
47983 #include <math.h>
47984 #ifdef HAVE_IEEEFP_H
47985 #include <ieeefp.h>
47986 #endif
47989 main ()
47991 _qfpclass(0);
47993 return 0;
47995 _ACEOF
47996 if ac_fn_cxx_try_compile "$LINENO"; then :
47997 glibcxx_cv_func__qfpclass_use=yes
47998 else
47999 glibcxx_cv_func__qfpclass_use=no
48001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48002 ac_ext=c
48003 ac_cpp='$CPP $CPPFLAGS'
48004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48013 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48015 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48016 for ac_func in _qfpclass
48017 do :
48018 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48019 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48020 cat >>confdefs.h <<_ACEOF
48021 #define HAVE__QFPCLASS 1
48022 _ACEOF
48025 done
48034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48035 $as_echo_n "checking for hypot declaration... " >&6; }
48036 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48037 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48038 $as_echo_n "(cached) " >&6
48039 else
48042 ac_ext=cpp
48043 ac_cpp='$CXXCPP $CPPFLAGS'
48044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48049 /* end confdefs.h. */
48050 #include <math.h>
48052 main ()
48054 hypot(0, 0);
48056 return 0;
48058 _ACEOF
48059 if ac_fn_cxx_try_compile "$LINENO"; then :
48060 glibcxx_cv_func_hypot_use=yes
48061 else
48062 glibcxx_cv_func_hypot_use=no
48064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48065 ac_ext=c
48066 ac_cpp='$CPP $CPPFLAGS'
48067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48076 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48078 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48079 for ac_func in hypot
48080 do :
48081 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48082 if test "x$ac_cv_func_hypot" = x""yes; then :
48083 cat >>confdefs.h <<_ACEOF
48084 #define HAVE_HYPOT 1
48085 _ACEOF
48088 done
48090 else
48092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48093 $as_echo_n "checking for _hypot declaration... " >&6; }
48094 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48095 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48096 $as_echo_n "(cached) " >&6
48097 else
48100 ac_ext=cpp
48101 ac_cpp='$CXXCPP $CPPFLAGS'
48102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48107 /* end confdefs.h. */
48108 #include <math.h>
48110 main ()
48112 _hypot(0, 0);
48114 return 0;
48116 _ACEOF
48117 if ac_fn_cxx_try_compile "$LINENO"; then :
48118 glibcxx_cv_func__hypot_use=yes
48119 else
48120 glibcxx_cv_func__hypot_use=no
48122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48123 ac_ext=c
48124 ac_cpp='$CPP $CPPFLAGS'
48125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48134 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48136 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48137 for ac_func in _hypot
48138 do :
48139 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48140 if test "x$ac_cv_func__hypot" = x""yes; then :
48141 cat >>confdefs.h <<_ACEOF
48142 #define HAVE__HYPOT 1
48143 _ACEOF
48146 done
48155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48156 $as_echo_n "checking for float trig functions... " >&6; }
48157 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48158 $as_echo_n "(cached) " >&6
48159 else
48162 ac_ext=cpp
48163 ac_cpp='$CXXCPP $CPPFLAGS'
48164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48169 /* end confdefs.h. */
48170 #include <math.h>
48172 main ()
48174 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48176 return 0;
48178 _ACEOF
48179 if ac_fn_cxx_try_compile "$LINENO"; then :
48180 glibcxx_cv_func_float_trig_use=yes
48181 else
48182 glibcxx_cv_func_float_trig_use=no
48184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48185 ac_ext=c
48186 ac_cpp='$CPP $CPPFLAGS'
48187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48194 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48195 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48196 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48197 do :
48198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48200 eval as_val=\$$as_ac_var
48201 if test "x$as_val" = x""yes; then :
48202 cat >>confdefs.h <<_ACEOF
48203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48204 _ACEOF
48207 done
48209 else
48210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48211 $as_echo_n "checking for _float trig functions... " >&6; }
48212 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48213 $as_echo_n "(cached) " >&6
48214 else
48217 ac_ext=cpp
48218 ac_cpp='$CXXCPP $CPPFLAGS'
48219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48224 /* end confdefs.h. */
48225 #include <math.h>
48227 main ()
48229 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48231 return 0;
48233 _ACEOF
48234 if ac_fn_cxx_try_compile "$LINENO"; then :
48235 glibcxx_cv_func__float_trig_use=yes
48236 else
48237 glibcxx_cv_func__float_trig_use=no
48239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48240 ac_ext=c
48241 ac_cpp='$CPP $CPPFLAGS'
48242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48249 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48250 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48251 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48252 do :
48253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48255 eval as_val=\$$as_ac_var
48256 if test "x$as_val" = x""yes; then :
48257 cat >>confdefs.h <<_ACEOF
48258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48259 _ACEOF
48262 done
48271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48272 $as_echo_n "checking for float round functions... " >&6; }
48273 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48274 $as_echo_n "(cached) " >&6
48275 else
48278 ac_ext=cpp
48279 ac_cpp='$CXXCPP $CPPFLAGS'
48280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48285 /* end confdefs.h. */
48286 #include <math.h>
48288 main ()
48290 ceilf (0); floorf (0);
48292 return 0;
48294 _ACEOF
48295 if ac_fn_cxx_try_compile "$LINENO"; then :
48296 glibcxx_cv_func_float_round_use=yes
48297 else
48298 glibcxx_cv_func_float_round_use=no
48300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48301 ac_ext=c
48302 ac_cpp='$CPP $CPPFLAGS'
48303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48310 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48311 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48312 for ac_func in ceilf floorf
48313 do :
48314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48316 eval as_val=\$$as_ac_var
48317 if test "x$as_val" = x""yes; then :
48318 cat >>confdefs.h <<_ACEOF
48319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48320 _ACEOF
48323 done
48325 else
48326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48327 $as_echo_n "checking for _float round functions... " >&6; }
48328 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48329 $as_echo_n "(cached) " >&6
48330 else
48333 ac_ext=cpp
48334 ac_cpp='$CXXCPP $CPPFLAGS'
48335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48340 /* end confdefs.h. */
48341 #include <math.h>
48343 main ()
48345 _ceilf (0); _floorf (0);
48347 return 0;
48349 _ACEOF
48350 if ac_fn_cxx_try_compile "$LINENO"; then :
48351 glibcxx_cv_func__float_round_use=yes
48352 else
48353 glibcxx_cv_func__float_round_use=no
48355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48356 ac_ext=c
48357 ac_cpp='$CPP $CPPFLAGS'
48358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48365 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48366 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48367 for ac_func in _ceilf _floorf
48368 do :
48369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48371 eval as_val=\$$as_ac_var
48372 if test "x$as_val" = x""yes; then :
48373 cat >>confdefs.h <<_ACEOF
48374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48375 _ACEOF
48378 done
48388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48389 $as_echo_n "checking for expf declaration... " >&6; }
48390 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48391 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48392 $as_echo_n "(cached) " >&6
48393 else
48396 ac_ext=cpp
48397 ac_cpp='$CXXCPP $CPPFLAGS'
48398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48403 /* end confdefs.h. */
48404 #include <math.h>
48405 #ifdef HAVE_IEEEFP_H
48406 #include <ieeefp.h>
48407 #endif
48410 main ()
48412 expf(0);
48414 return 0;
48416 _ACEOF
48417 if ac_fn_cxx_try_compile "$LINENO"; then :
48418 glibcxx_cv_func_expf_use=yes
48419 else
48420 glibcxx_cv_func_expf_use=no
48422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48423 ac_ext=c
48424 ac_cpp='$CPP $CPPFLAGS'
48425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48434 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48436 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48437 for ac_func in expf
48438 do :
48439 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48440 if test "x$ac_cv_func_expf" = x""yes; then :
48441 cat >>confdefs.h <<_ACEOF
48442 #define HAVE_EXPF 1
48443 _ACEOF
48446 done
48448 else
48450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48451 $as_echo_n "checking for _expf declaration... " >&6; }
48452 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48453 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48454 $as_echo_n "(cached) " >&6
48455 else
48458 ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48465 /* end confdefs.h. */
48466 #include <math.h>
48467 #ifdef HAVE_IEEEFP_H
48468 #include <ieeefp.h>
48469 #endif
48472 main ()
48474 _expf(0);
48476 return 0;
48478 _ACEOF
48479 if ac_fn_cxx_try_compile "$LINENO"; then :
48480 glibcxx_cv_func__expf_use=yes
48481 else
48482 glibcxx_cv_func__expf_use=no
48484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48485 ac_ext=c
48486 ac_cpp='$CPP $CPPFLAGS'
48487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48496 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48498 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48499 for ac_func in _expf
48500 do :
48501 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48502 if test "x$ac_cv_func__expf" = x""yes; then :
48503 cat >>confdefs.h <<_ACEOF
48504 #define HAVE__EXPF 1
48505 _ACEOF
48508 done
48517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48518 $as_echo_n "checking for isnanf declaration... " >&6; }
48519 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48520 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48521 $as_echo_n "(cached) " >&6
48522 else
48525 ac_ext=cpp
48526 ac_cpp='$CXXCPP $CPPFLAGS'
48527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48532 /* end confdefs.h. */
48533 #include <math.h>
48534 #ifdef HAVE_IEEEFP_H
48535 #include <ieeefp.h>
48536 #endif
48539 main ()
48541 isnanf(0);
48543 return 0;
48545 _ACEOF
48546 if ac_fn_cxx_try_compile "$LINENO"; then :
48547 glibcxx_cv_func_isnanf_use=yes
48548 else
48549 glibcxx_cv_func_isnanf_use=no
48551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48552 ac_ext=c
48553 ac_cpp='$CPP $CPPFLAGS'
48554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48563 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48565 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48566 for ac_func in isnanf
48567 do :
48568 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48569 if test "x$ac_cv_func_isnanf" = x""yes; then :
48570 cat >>confdefs.h <<_ACEOF
48571 #define HAVE_ISNANF 1
48572 _ACEOF
48575 done
48577 else
48579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48580 $as_echo_n "checking for _isnanf declaration... " >&6; }
48581 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48582 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48583 $as_echo_n "(cached) " >&6
48584 else
48587 ac_ext=cpp
48588 ac_cpp='$CXXCPP $CPPFLAGS'
48589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48594 /* end confdefs.h. */
48595 #include <math.h>
48596 #ifdef HAVE_IEEEFP_H
48597 #include <ieeefp.h>
48598 #endif
48601 main ()
48603 _isnanf(0);
48605 return 0;
48607 _ACEOF
48608 if ac_fn_cxx_try_compile "$LINENO"; then :
48609 glibcxx_cv_func__isnanf_use=yes
48610 else
48611 glibcxx_cv_func__isnanf_use=no
48613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48614 ac_ext=c
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48625 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48627 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48628 for ac_func in _isnanf
48629 do :
48630 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48631 if test "x$ac_cv_func__isnanf" = x""yes; then :
48632 cat >>confdefs.h <<_ACEOF
48633 #define HAVE__ISNANF 1
48634 _ACEOF
48637 done
48646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48647 $as_echo_n "checking for isinff declaration... " >&6; }
48648 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48649 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48650 $as_echo_n "(cached) " >&6
48651 else
48654 ac_ext=cpp
48655 ac_cpp='$CXXCPP $CPPFLAGS'
48656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48661 /* end confdefs.h. */
48662 #include <math.h>
48663 #ifdef HAVE_IEEEFP_H
48664 #include <ieeefp.h>
48665 #endif
48668 main ()
48670 isinff(0);
48672 return 0;
48674 _ACEOF
48675 if ac_fn_cxx_try_compile "$LINENO"; then :
48676 glibcxx_cv_func_isinff_use=yes
48677 else
48678 glibcxx_cv_func_isinff_use=no
48680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48681 ac_ext=c
48682 ac_cpp='$CPP $CPPFLAGS'
48683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48692 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48694 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48695 for ac_func in isinff
48696 do :
48697 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48698 if test "x$ac_cv_func_isinff" = x""yes; then :
48699 cat >>confdefs.h <<_ACEOF
48700 #define HAVE_ISINFF 1
48701 _ACEOF
48704 done
48706 else
48708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48709 $as_echo_n "checking for _isinff declaration... " >&6; }
48710 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48711 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48712 $as_echo_n "(cached) " >&6
48713 else
48716 ac_ext=cpp
48717 ac_cpp='$CXXCPP $CPPFLAGS'
48718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48723 /* end confdefs.h. */
48724 #include <math.h>
48725 #ifdef HAVE_IEEEFP_H
48726 #include <ieeefp.h>
48727 #endif
48730 main ()
48732 _isinff(0);
48734 return 0;
48736 _ACEOF
48737 if ac_fn_cxx_try_compile "$LINENO"; then :
48738 glibcxx_cv_func__isinff_use=yes
48739 else
48740 glibcxx_cv_func__isinff_use=no
48742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48743 ac_ext=c
48744 ac_cpp='$CPP $CPPFLAGS'
48745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48754 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48756 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48757 for ac_func in _isinff
48758 do :
48759 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48760 if test "x$ac_cv_func__isinff" = x""yes; then :
48761 cat >>confdefs.h <<_ACEOF
48762 #define HAVE__ISINFF 1
48763 _ACEOF
48766 done
48775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48776 $as_echo_n "checking for atan2f declaration... " >&6; }
48777 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48778 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48779 $as_echo_n "(cached) " >&6
48780 else
48783 ac_ext=cpp
48784 ac_cpp='$CXXCPP $CPPFLAGS'
48785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48790 /* end confdefs.h. */
48791 #include <math.h>
48793 main ()
48795 atan2f(0, 0);
48797 return 0;
48799 _ACEOF
48800 if ac_fn_cxx_try_compile "$LINENO"; then :
48801 glibcxx_cv_func_atan2f_use=yes
48802 else
48803 glibcxx_cv_func_atan2f_use=no
48805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48806 ac_ext=c
48807 ac_cpp='$CPP $CPPFLAGS'
48808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48817 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48819 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48820 for ac_func in atan2f
48821 do :
48822 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48823 if test "x$ac_cv_func_atan2f" = x""yes; then :
48824 cat >>confdefs.h <<_ACEOF
48825 #define HAVE_ATAN2F 1
48826 _ACEOF
48829 done
48831 else
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48834 $as_echo_n "checking for _atan2f declaration... " >&6; }
48835 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48836 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48837 $as_echo_n "(cached) " >&6
48838 else
48841 ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48849 #include <math.h>
48851 main ()
48853 _atan2f(0, 0);
48855 return 0;
48857 _ACEOF
48858 if ac_fn_cxx_try_compile "$LINENO"; then :
48859 glibcxx_cv_func__atan2f_use=yes
48860 else
48861 glibcxx_cv_func__atan2f_use=no
48863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48864 ac_ext=c
48865 ac_cpp='$CPP $CPPFLAGS'
48866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48875 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48877 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48878 for ac_func in _atan2f
48879 do :
48880 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48881 if test "x$ac_cv_func__atan2f" = x""yes; then :
48882 cat >>confdefs.h <<_ACEOF
48883 #define HAVE__ATAN2F 1
48884 _ACEOF
48887 done
48896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48897 $as_echo_n "checking for fabsf declaration... " >&6; }
48898 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48899 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48900 $as_echo_n "(cached) " >&6
48901 else
48904 ac_ext=cpp
48905 ac_cpp='$CXXCPP $CPPFLAGS'
48906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48911 /* end confdefs.h. */
48912 #include <math.h>
48913 #ifdef HAVE_IEEEFP_H
48914 #include <ieeefp.h>
48915 #endif
48918 main ()
48920 fabsf(0);
48922 return 0;
48924 _ACEOF
48925 if ac_fn_cxx_try_compile "$LINENO"; then :
48926 glibcxx_cv_func_fabsf_use=yes
48927 else
48928 glibcxx_cv_func_fabsf_use=no
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48931 ac_ext=c
48932 ac_cpp='$CPP $CPPFLAGS'
48933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48942 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48944 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48945 for ac_func in fabsf
48946 do :
48947 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48948 if test "x$ac_cv_func_fabsf" = x""yes; then :
48949 cat >>confdefs.h <<_ACEOF
48950 #define HAVE_FABSF 1
48951 _ACEOF
48954 done
48956 else
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48959 $as_echo_n "checking for _fabsf declaration... " >&6; }
48960 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48961 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48962 $as_echo_n "(cached) " >&6
48963 else
48966 ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h. */
48974 #include <math.h>
48975 #ifdef HAVE_IEEEFP_H
48976 #include <ieeefp.h>
48977 #endif
48980 main ()
48982 _fabsf(0);
48984 return 0;
48986 _ACEOF
48987 if ac_fn_cxx_try_compile "$LINENO"; then :
48988 glibcxx_cv_func__fabsf_use=yes
48989 else
48990 glibcxx_cv_func__fabsf_use=no
48992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48993 ac_ext=c
48994 ac_cpp='$CPP $CPPFLAGS'
48995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49004 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49006 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49007 for ac_func in _fabsf
49008 do :
49009 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49010 if test "x$ac_cv_func__fabsf" = x""yes; then :
49011 cat >>confdefs.h <<_ACEOF
49012 #define HAVE__FABSF 1
49013 _ACEOF
49016 done
49025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49026 $as_echo_n "checking for fmodf declaration... " >&6; }
49027 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49028 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49029 $as_echo_n "(cached) " >&6
49030 else
49033 ac_ext=cpp
49034 ac_cpp='$CXXCPP $CPPFLAGS'
49035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49040 /* end confdefs.h. */
49041 #include <math.h>
49043 main ()
49045 fmodf(0, 0);
49047 return 0;
49049 _ACEOF
49050 if ac_fn_cxx_try_compile "$LINENO"; then :
49051 glibcxx_cv_func_fmodf_use=yes
49052 else
49053 glibcxx_cv_func_fmodf_use=no
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49056 ac_ext=c
49057 ac_cpp='$CPP $CPPFLAGS'
49058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49067 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49069 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49070 for ac_func in fmodf
49071 do :
49072 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49073 if test "x$ac_cv_func_fmodf" = x""yes; then :
49074 cat >>confdefs.h <<_ACEOF
49075 #define HAVE_FMODF 1
49076 _ACEOF
49079 done
49081 else
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49084 $as_echo_n "checking for _fmodf declaration... " >&6; }
49085 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49086 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49087 $as_echo_n "(cached) " >&6
49088 else
49091 ac_ext=cpp
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h. */
49099 #include <math.h>
49101 main ()
49103 _fmodf(0, 0);
49105 return 0;
49107 _ACEOF
49108 if ac_fn_cxx_try_compile "$LINENO"; then :
49109 glibcxx_cv_func__fmodf_use=yes
49110 else
49111 glibcxx_cv_func__fmodf_use=no
49113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49114 ac_ext=c
49115 ac_cpp='$CPP $CPPFLAGS'
49116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49125 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49127 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49128 for ac_func in _fmodf
49129 do :
49130 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49131 if test "x$ac_cv_func__fmodf" = x""yes; then :
49132 cat >>confdefs.h <<_ACEOF
49133 #define HAVE__FMODF 1
49134 _ACEOF
49137 done
49146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49147 $as_echo_n "checking for frexpf declaration... " >&6; }
49148 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49149 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49150 $as_echo_n "(cached) " >&6
49151 else
49154 ac_ext=cpp
49155 ac_cpp='$CXXCPP $CPPFLAGS'
49156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49161 /* end confdefs.h. */
49162 #include <math.h>
49164 main ()
49166 frexpf(0, 0);
49168 return 0;
49170 _ACEOF
49171 if ac_fn_cxx_try_compile "$LINENO"; then :
49172 glibcxx_cv_func_frexpf_use=yes
49173 else
49174 glibcxx_cv_func_frexpf_use=no
49176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49177 ac_ext=c
49178 ac_cpp='$CPP $CPPFLAGS'
49179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49188 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49190 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49191 for ac_func in frexpf
49192 do :
49193 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49194 if test "x$ac_cv_func_frexpf" = x""yes; then :
49195 cat >>confdefs.h <<_ACEOF
49196 #define HAVE_FREXPF 1
49197 _ACEOF
49200 done
49202 else
49204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49205 $as_echo_n "checking for _frexpf declaration... " >&6; }
49206 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49207 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49208 $as_echo_n "(cached) " >&6
49209 else
49212 ac_ext=cpp
49213 ac_cpp='$CXXCPP $CPPFLAGS'
49214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49219 /* end confdefs.h. */
49220 #include <math.h>
49222 main ()
49224 _frexpf(0, 0);
49226 return 0;
49228 _ACEOF
49229 if ac_fn_cxx_try_compile "$LINENO"; then :
49230 glibcxx_cv_func__frexpf_use=yes
49231 else
49232 glibcxx_cv_func__frexpf_use=no
49234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49235 ac_ext=c
49236 ac_cpp='$CPP $CPPFLAGS'
49237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49246 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49248 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49249 for ac_func in _frexpf
49250 do :
49251 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49252 if test "x$ac_cv_func__frexpf" = x""yes; then :
49253 cat >>confdefs.h <<_ACEOF
49254 #define HAVE__FREXPF 1
49255 _ACEOF
49258 done
49267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49268 $as_echo_n "checking for hypotf declaration... " >&6; }
49269 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49270 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49271 $as_echo_n "(cached) " >&6
49272 else
49275 ac_ext=cpp
49276 ac_cpp='$CXXCPP $CPPFLAGS'
49277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49282 /* end confdefs.h. */
49283 #include <math.h>
49285 main ()
49287 hypotf(0, 0);
49289 return 0;
49291 _ACEOF
49292 if ac_fn_cxx_try_compile "$LINENO"; then :
49293 glibcxx_cv_func_hypotf_use=yes
49294 else
49295 glibcxx_cv_func_hypotf_use=no
49297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49298 ac_ext=c
49299 ac_cpp='$CPP $CPPFLAGS'
49300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49309 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49311 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49312 for ac_func in hypotf
49313 do :
49314 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49315 if test "x$ac_cv_func_hypotf" = x""yes; then :
49316 cat >>confdefs.h <<_ACEOF
49317 #define HAVE_HYPOTF 1
49318 _ACEOF
49321 done
49323 else
49325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49326 $as_echo_n "checking for _hypotf declaration... " >&6; }
49327 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49328 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49329 $as_echo_n "(cached) " >&6
49330 else
49333 ac_ext=cpp
49334 ac_cpp='$CXXCPP $CPPFLAGS'
49335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49340 /* end confdefs.h. */
49341 #include <math.h>
49343 main ()
49345 _hypotf(0, 0);
49347 return 0;
49349 _ACEOF
49350 if ac_fn_cxx_try_compile "$LINENO"; then :
49351 glibcxx_cv_func__hypotf_use=yes
49352 else
49353 glibcxx_cv_func__hypotf_use=no
49355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49356 ac_ext=c
49357 ac_cpp='$CPP $CPPFLAGS'
49358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49367 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49369 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49370 for ac_func in _hypotf
49371 do :
49372 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49373 if test "x$ac_cv_func__hypotf" = x""yes; then :
49374 cat >>confdefs.h <<_ACEOF
49375 #define HAVE__HYPOTF 1
49376 _ACEOF
49379 done
49388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49389 $as_echo_n "checking for ldexpf declaration... " >&6; }
49390 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49391 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49392 $as_echo_n "(cached) " >&6
49393 else
49396 ac_ext=cpp
49397 ac_cpp='$CXXCPP $CPPFLAGS'
49398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49403 /* end confdefs.h. */
49404 #include <math.h>
49406 main ()
49408 ldexpf(0, 0);
49410 return 0;
49412 _ACEOF
49413 if ac_fn_cxx_try_compile "$LINENO"; then :
49414 glibcxx_cv_func_ldexpf_use=yes
49415 else
49416 glibcxx_cv_func_ldexpf_use=no
49418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49419 ac_ext=c
49420 ac_cpp='$CPP $CPPFLAGS'
49421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49430 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49432 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49433 for ac_func in ldexpf
49434 do :
49435 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49436 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49437 cat >>confdefs.h <<_ACEOF
49438 #define HAVE_LDEXPF 1
49439 _ACEOF
49442 done
49444 else
49446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49447 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49448 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49449 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49450 $as_echo_n "(cached) " >&6
49451 else
49454 ac_ext=cpp
49455 ac_cpp='$CXXCPP $CPPFLAGS'
49456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49461 /* end confdefs.h. */
49462 #include <math.h>
49464 main ()
49466 _ldexpf(0, 0);
49468 return 0;
49470 _ACEOF
49471 if ac_fn_cxx_try_compile "$LINENO"; then :
49472 glibcxx_cv_func__ldexpf_use=yes
49473 else
49474 glibcxx_cv_func__ldexpf_use=no
49476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49477 ac_ext=c
49478 ac_cpp='$CPP $CPPFLAGS'
49479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49488 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49490 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49491 for ac_func in _ldexpf
49492 do :
49493 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49494 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49495 cat >>confdefs.h <<_ACEOF
49496 #define HAVE__LDEXPF 1
49497 _ACEOF
49500 done
49509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49510 $as_echo_n "checking for logf declaration... " >&6; }
49511 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49512 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49513 $as_echo_n "(cached) " >&6
49514 else
49517 ac_ext=cpp
49518 ac_cpp='$CXXCPP $CPPFLAGS'
49519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49524 /* end confdefs.h. */
49525 #include <math.h>
49526 #ifdef HAVE_IEEEFP_H
49527 #include <ieeefp.h>
49528 #endif
49531 main ()
49533 logf(0);
49535 return 0;
49537 _ACEOF
49538 if ac_fn_cxx_try_compile "$LINENO"; then :
49539 glibcxx_cv_func_logf_use=yes
49540 else
49541 glibcxx_cv_func_logf_use=no
49543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49544 ac_ext=c
49545 ac_cpp='$CPP $CPPFLAGS'
49546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49555 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49557 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49558 for ac_func in logf
49559 do :
49560 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49561 if test "x$ac_cv_func_logf" = x""yes; then :
49562 cat >>confdefs.h <<_ACEOF
49563 #define HAVE_LOGF 1
49564 _ACEOF
49567 done
49569 else
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49572 $as_echo_n "checking for _logf declaration... " >&6; }
49573 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49574 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49575 $as_echo_n "(cached) " >&6
49576 else
49579 ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h. */
49587 #include <math.h>
49588 #ifdef HAVE_IEEEFP_H
49589 #include <ieeefp.h>
49590 #endif
49593 main ()
49595 _logf(0);
49597 return 0;
49599 _ACEOF
49600 if ac_fn_cxx_try_compile "$LINENO"; then :
49601 glibcxx_cv_func__logf_use=yes
49602 else
49603 glibcxx_cv_func__logf_use=no
49605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49606 ac_ext=c
49607 ac_cpp='$CPP $CPPFLAGS'
49608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49617 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49619 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49620 for ac_func in _logf
49621 do :
49622 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49623 if test "x$ac_cv_func__logf" = x""yes; then :
49624 cat >>confdefs.h <<_ACEOF
49625 #define HAVE__LOGF 1
49626 _ACEOF
49629 done
49638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49639 $as_echo_n "checking for log10f declaration... " >&6; }
49640 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49641 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49642 $as_echo_n "(cached) " >&6
49643 else
49646 ac_ext=cpp
49647 ac_cpp='$CXXCPP $CPPFLAGS'
49648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49653 /* end confdefs.h. */
49654 #include <math.h>
49655 #ifdef HAVE_IEEEFP_H
49656 #include <ieeefp.h>
49657 #endif
49660 main ()
49662 log10f(0);
49664 return 0;
49666 _ACEOF
49667 if ac_fn_cxx_try_compile "$LINENO"; then :
49668 glibcxx_cv_func_log10f_use=yes
49669 else
49670 glibcxx_cv_func_log10f_use=no
49672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49673 ac_ext=c
49674 ac_cpp='$CPP $CPPFLAGS'
49675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49684 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49686 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49687 for ac_func in log10f
49688 do :
49689 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49690 if test "x$ac_cv_func_log10f" = x""yes; then :
49691 cat >>confdefs.h <<_ACEOF
49692 #define HAVE_LOG10F 1
49693 _ACEOF
49696 done
49698 else
49700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49701 $as_echo_n "checking for _log10f declaration... " >&6; }
49702 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49703 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49704 $as_echo_n "(cached) " >&6
49705 else
49708 ac_ext=cpp
49709 ac_cpp='$CXXCPP $CPPFLAGS'
49710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49715 /* end confdefs.h. */
49716 #include <math.h>
49717 #ifdef HAVE_IEEEFP_H
49718 #include <ieeefp.h>
49719 #endif
49722 main ()
49724 _log10f(0);
49726 return 0;
49728 _ACEOF
49729 if ac_fn_cxx_try_compile "$LINENO"; then :
49730 glibcxx_cv_func__log10f_use=yes
49731 else
49732 glibcxx_cv_func__log10f_use=no
49734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49735 ac_ext=c
49736 ac_cpp='$CPP $CPPFLAGS'
49737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49746 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49748 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49749 for ac_func in _log10f
49750 do :
49751 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49752 if test "x$ac_cv_func__log10f" = x""yes; then :
49753 cat >>confdefs.h <<_ACEOF
49754 #define HAVE__LOG10F 1
49755 _ACEOF
49758 done
49767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49768 $as_echo_n "checking for modff declaration... " >&6; }
49769 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49770 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49771 $as_echo_n "(cached) " >&6
49772 else
49775 ac_ext=cpp
49776 ac_cpp='$CXXCPP $CPPFLAGS'
49777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49782 /* end confdefs.h. */
49783 #include <math.h>
49785 main ()
49787 modff(0, 0);
49789 return 0;
49791 _ACEOF
49792 if ac_fn_cxx_try_compile "$LINENO"; then :
49793 glibcxx_cv_func_modff_use=yes
49794 else
49795 glibcxx_cv_func_modff_use=no
49797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49798 ac_ext=c
49799 ac_cpp='$CPP $CPPFLAGS'
49800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49809 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49811 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49812 for ac_func in modff
49813 do :
49814 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49815 if test "x$ac_cv_func_modff" = x""yes; then :
49816 cat >>confdefs.h <<_ACEOF
49817 #define HAVE_MODFF 1
49818 _ACEOF
49821 done
49823 else
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49826 $as_echo_n "checking for _modff declaration... " >&6; }
49827 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49828 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49829 $as_echo_n "(cached) " >&6
49830 else
49833 ac_ext=cpp
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49840 /* end confdefs.h. */
49841 #include <math.h>
49843 main ()
49845 _modff(0, 0);
49847 return 0;
49849 _ACEOF
49850 if ac_fn_cxx_try_compile "$LINENO"; then :
49851 glibcxx_cv_func__modff_use=yes
49852 else
49853 glibcxx_cv_func__modff_use=no
49855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49856 ac_ext=c
49857 ac_cpp='$CPP $CPPFLAGS'
49858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49867 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49869 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49870 for ac_func in _modff
49871 do :
49872 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49873 if test "x$ac_cv_func__modff" = x""yes; then :
49874 cat >>confdefs.h <<_ACEOF
49875 #define HAVE__MODFF 1
49876 _ACEOF
49879 done
49888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49889 $as_echo_n "checking for modf declaration... " >&6; }
49890 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49891 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49892 $as_echo_n "(cached) " >&6
49893 else
49896 ac_ext=cpp
49897 ac_cpp='$CXXCPP $CPPFLAGS'
49898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49903 /* end confdefs.h. */
49904 #include <math.h>
49906 main ()
49908 modf(0, 0);
49910 return 0;
49912 _ACEOF
49913 if ac_fn_cxx_try_compile "$LINENO"; then :
49914 glibcxx_cv_func_modf_use=yes
49915 else
49916 glibcxx_cv_func_modf_use=no
49918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49919 ac_ext=c
49920 ac_cpp='$CPP $CPPFLAGS'
49921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49930 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49932 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49933 for ac_func in modf
49934 do :
49935 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49936 if test "x$ac_cv_func_modf" = x""yes; then :
49937 cat >>confdefs.h <<_ACEOF
49938 #define HAVE_MODF 1
49939 _ACEOF
49942 done
49944 else
49946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49947 $as_echo_n "checking for _modf declaration... " >&6; }
49948 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49949 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49950 $as_echo_n "(cached) " >&6
49951 else
49954 ac_ext=cpp
49955 ac_cpp='$CXXCPP $CPPFLAGS'
49956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49961 /* end confdefs.h. */
49962 #include <math.h>
49964 main ()
49966 _modf(0, 0);
49968 return 0;
49970 _ACEOF
49971 if ac_fn_cxx_try_compile "$LINENO"; then :
49972 glibcxx_cv_func__modf_use=yes
49973 else
49974 glibcxx_cv_func__modf_use=no
49976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49977 ac_ext=c
49978 ac_cpp='$CPP $CPPFLAGS'
49979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49988 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49990 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49991 for ac_func in _modf
49992 do :
49993 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49994 if test "x$ac_cv_func__modf" = x""yes; then :
49995 cat >>confdefs.h <<_ACEOF
49996 #define HAVE__MODF 1
49997 _ACEOF
50000 done
50009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50010 $as_echo_n "checking for powf declaration... " >&6; }
50011 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50012 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50013 $as_echo_n "(cached) " >&6
50014 else
50017 ac_ext=cpp
50018 ac_cpp='$CXXCPP $CPPFLAGS'
50019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50024 /* end confdefs.h. */
50025 #include <math.h>
50027 main ()
50029 powf(0, 0);
50031 return 0;
50033 _ACEOF
50034 if ac_fn_cxx_try_compile "$LINENO"; then :
50035 glibcxx_cv_func_powf_use=yes
50036 else
50037 glibcxx_cv_func_powf_use=no
50039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50040 ac_ext=c
50041 ac_cpp='$CPP $CPPFLAGS'
50042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50051 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50053 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50054 for ac_func in powf
50055 do :
50056 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50057 if test "x$ac_cv_func_powf" = x""yes; then :
50058 cat >>confdefs.h <<_ACEOF
50059 #define HAVE_POWF 1
50060 _ACEOF
50063 done
50065 else
50067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50068 $as_echo_n "checking for _powf declaration... " >&6; }
50069 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50070 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50071 $as_echo_n "(cached) " >&6
50072 else
50075 ac_ext=cpp
50076 ac_cpp='$CXXCPP $CPPFLAGS'
50077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50082 /* end confdefs.h. */
50083 #include <math.h>
50085 main ()
50087 _powf(0, 0);
50089 return 0;
50091 _ACEOF
50092 if ac_fn_cxx_try_compile "$LINENO"; then :
50093 glibcxx_cv_func__powf_use=yes
50094 else
50095 glibcxx_cv_func__powf_use=no
50097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50098 ac_ext=c
50099 ac_cpp='$CPP $CPPFLAGS'
50100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50109 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50111 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50112 for ac_func in _powf
50113 do :
50114 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50115 if test "x$ac_cv_func__powf" = x""yes; then :
50116 cat >>confdefs.h <<_ACEOF
50117 #define HAVE__POWF 1
50118 _ACEOF
50121 done
50130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50131 $as_echo_n "checking for sqrtf declaration... " >&6; }
50132 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50133 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50134 $as_echo_n "(cached) " >&6
50135 else
50138 ac_ext=cpp
50139 ac_cpp='$CXXCPP $CPPFLAGS'
50140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50145 /* end confdefs.h. */
50146 #include <math.h>
50147 #ifdef HAVE_IEEEFP_H
50148 #include <ieeefp.h>
50149 #endif
50152 main ()
50154 sqrtf(0);
50156 return 0;
50158 _ACEOF
50159 if ac_fn_cxx_try_compile "$LINENO"; then :
50160 glibcxx_cv_func_sqrtf_use=yes
50161 else
50162 glibcxx_cv_func_sqrtf_use=no
50164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50165 ac_ext=c
50166 ac_cpp='$CPP $CPPFLAGS'
50167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50176 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50178 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50179 for ac_func in sqrtf
50180 do :
50181 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50182 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50183 cat >>confdefs.h <<_ACEOF
50184 #define HAVE_SQRTF 1
50185 _ACEOF
50188 done
50190 else
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50193 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50194 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50195 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50196 $as_echo_n "(cached) " >&6
50197 else
50200 ac_ext=cpp
50201 ac_cpp='$CXXCPP $CPPFLAGS'
50202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50207 /* end confdefs.h. */
50208 #include <math.h>
50209 #ifdef HAVE_IEEEFP_H
50210 #include <ieeefp.h>
50211 #endif
50214 main ()
50216 _sqrtf(0);
50218 return 0;
50220 _ACEOF
50221 if ac_fn_cxx_try_compile "$LINENO"; then :
50222 glibcxx_cv_func__sqrtf_use=yes
50223 else
50224 glibcxx_cv_func__sqrtf_use=no
50226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50227 ac_ext=c
50228 ac_cpp='$CPP $CPPFLAGS'
50229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50238 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50240 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50241 for ac_func in _sqrtf
50242 do :
50243 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50244 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50245 cat >>confdefs.h <<_ACEOF
50246 #define HAVE__SQRTF 1
50247 _ACEOF
50250 done
50259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50260 $as_echo_n "checking for sincosf declaration... " >&6; }
50261 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50262 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50263 $as_echo_n "(cached) " >&6
50264 else
50267 ac_ext=cpp
50268 ac_cpp='$CXXCPP $CPPFLAGS'
50269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50274 /* end confdefs.h. */
50275 #include <math.h>
50277 main ()
50279 sincosf(0, 0, 0);
50281 return 0;
50283 _ACEOF
50284 if ac_fn_cxx_try_compile "$LINENO"; then :
50285 glibcxx_cv_func_sincosf_use=yes
50286 else
50287 glibcxx_cv_func_sincosf_use=no
50289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50290 ac_ext=c
50291 ac_cpp='$CPP $CPPFLAGS'
50292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50301 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50303 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50304 for ac_func in sincosf
50305 do :
50306 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50307 if test "x$ac_cv_func_sincosf" = x""yes; then :
50308 cat >>confdefs.h <<_ACEOF
50309 #define HAVE_SINCOSF 1
50310 _ACEOF
50313 done
50315 else
50317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50318 $as_echo_n "checking for _sincosf declaration... " >&6; }
50319 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50320 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50321 $as_echo_n "(cached) " >&6
50322 else
50325 ac_ext=cpp
50326 ac_cpp='$CXXCPP $CPPFLAGS'
50327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50332 /* end confdefs.h. */
50333 #include <math.h>
50335 main ()
50337 _sincosf(0, 0, 0);
50339 return 0;
50341 _ACEOF
50342 if ac_fn_cxx_try_compile "$LINENO"; then :
50343 glibcxx_cv_func__sincosf_use=yes
50344 else
50345 glibcxx_cv_func__sincosf_use=no
50347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50348 ac_ext=c
50349 ac_cpp='$CPP $CPPFLAGS'
50350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50359 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50361 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50362 for ac_func in _sincosf
50363 do :
50364 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50365 if test "x$ac_cv_func__sincosf" = x""yes; then :
50366 cat >>confdefs.h <<_ACEOF
50367 #define HAVE__SINCOSF 1
50368 _ACEOF
50371 done
50380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50381 $as_echo_n "checking for finitef declaration... " >&6; }
50382 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50383 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50384 $as_echo_n "(cached) " >&6
50385 else
50388 ac_ext=cpp
50389 ac_cpp='$CXXCPP $CPPFLAGS'
50390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50395 /* end confdefs.h. */
50396 #include <math.h>
50397 #ifdef HAVE_IEEEFP_H
50398 #include <ieeefp.h>
50399 #endif
50402 main ()
50404 finitef(0);
50406 return 0;
50408 _ACEOF
50409 if ac_fn_cxx_try_compile "$LINENO"; then :
50410 glibcxx_cv_func_finitef_use=yes
50411 else
50412 glibcxx_cv_func_finitef_use=no
50414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50415 ac_ext=c
50416 ac_cpp='$CPP $CPPFLAGS'
50417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50426 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50428 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50429 for ac_func in finitef
50430 do :
50431 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50432 if test "x$ac_cv_func_finitef" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE_FINITEF 1
50435 _ACEOF
50438 done
50440 else
50442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50443 $as_echo_n "checking for _finitef declaration... " >&6; }
50444 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50445 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50446 $as_echo_n "(cached) " >&6
50447 else
50450 ac_ext=cpp
50451 ac_cpp='$CXXCPP $CPPFLAGS'
50452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50457 /* end confdefs.h. */
50458 #include <math.h>
50459 #ifdef HAVE_IEEEFP_H
50460 #include <ieeefp.h>
50461 #endif
50464 main ()
50466 _finitef(0);
50468 return 0;
50470 _ACEOF
50471 if ac_fn_cxx_try_compile "$LINENO"; then :
50472 glibcxx_cv_func__finitef_use=yes
50473 else
50474 glibcxx_cv_func__finitef_use=no
50476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50477 ac_ext=c
50478 ac_cpp='$CPP $CPPFLAGS'
50479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50488 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50490 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50491 for ac_func in _finitef
50492 do :
50493 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50494 if test "x$ac_cv_func__finitef" = x""yes; then :
50495 cat >>confdefs.h <<_ACEOF
50496 #define HAVE__FINITEF 1
50497 _ACEOF
50500 done
50509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50510 $as_echo_n "checking for long double trig functions... " >&6; }
50511 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50512 $as_echo_n "(cached) " >&6
50513 else
50516 ac_ext=cpp
50517 ac_cpp='$CXXCPP $CPPFLAGS'
50518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50523 /* end confdefs.h. */
50524 #include <math.h>
50526 main ()
50528 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50530 return 0;
50532 _ACEOF
50533 if ac_fn_cxx_try_compile "$LINENO"; then :
50534 glibcxx_cv_func_long_double_trig_use=yes
50535 else
50536 glibcxx_cv_func_long_double_trig_use=no
50538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50539 ac_ext=c
50540 ac_cpp='$CPP $CPPFLAGS'
50541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50548 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50549 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50550 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50551 do :
50552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50554 eval as_val=\$$as_ac_var
50555 if test "x$as_val" = x""yes; then :
50556 cat >>confdefs.h <<_ACEOF
50557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50558 _ACEOF
50561 done
50563 else
50564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50565 $as_echo_n "checking for _long double trig functions... " >&6; }
50566 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50567 $as_echo_n "(cached) " >&6
50568 else
50571 ac_ext=cpp
50572 ac_cpp='$CXXCPP $CPPFLAGS'
50573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50578 /* end confdefs.h. */
50579 #include <math.h>
50581 main ()
50583 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50585 return 0;
50587 _ACEOF
50588 if ac_fn_cxx_try_compile "$LINENO"; then :
50589 glibcxx_cv_func__long_double_trig_use=yes
50590 else
50591 glibcxx_cv_func__long_double_trig_use=no
50593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50594 ac_ext=c
50595 ac_cpp='$CPP $CPPFLAGS'
50596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50603 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50604 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50605 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50606 do :
50607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50609 eval as_val=\$$as_ac_var
50610 if test "x$as_val" = x""yes; then :
50611 cat >>confdefs.h <<_ACEOF
50612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50613 _ACEOF
50616 done
50625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50626 $as_echo_n "checking for long double round functions... " >&6; }
50627 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50628 $as_echo_n "(cached) " >&6
50629 else
50632 ac_ext=cpp
50633 ac_cpp='$CXXCPP $CPPFLAGS'
50634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50639 /* end confdefs.h. */
50640 #include <math.h>
50642 main ()
50644 ceill (0); floorl (0);
50646 return 0;
50648 _ACEOF
50649 if ac_fn_cxx_try_compile "$LINENO"; then :
50650 glibcxx_cv_func_long_double_round_use=yes
50651 else
50652 glibcxx_cv_func_long_double_round_use=no
50654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50655 ac_ext=c
50656 ac_cpp='$CPP $CPPFLAGS'
50657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50664 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50665 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50666 for ac_func in ceill floorl
50667 do :
50668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50670 eval as_val=\$$as_ac_var
50671 if test "x$as_val" = x""yes; then :
50672 cat >>confdefs.h <<_ACEOF
50673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50674 _ACEOF
50677 done
50679 else
50680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50681 $as_echo_n "checking for _long double round functions... " >&6; }
50682 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50683 $as_echo_n "(cached) " >&6
50684 else
50687 ac_ext=cpp
50688 ac_cpp='$CXXCPP $CPPFLAGS'
50689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50694 /* end confdefs.h. */
50695 #include <math.h>
50697 main ()
50699 _ceill (0); _floorl (0);
50701 return 0;
50703 _ACEOF
50704 if ac_fn_cxx_try_compile "$LINENO"; then :
50705 glibcxx_cv_func__long_double_round_use=yes
50706 else
50707 glibcxx_cv_func__long_double_round_use=no
50709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50710 ac_ext=c
50711 ac_cpp='$CPP $CPPFLAGS'
50712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50719 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50720 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50721 for ac_func in _ceill _floorl
50722 do :
50723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50725 eval as_val=\$$as_ac_var
50726 if test "x$as_val" = x""yes; then :
50727 cat >>confdefs.h <<_ACEOF
50728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50729 _ACEOF
50732 done
50742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50743 $as_echo_n "checking for isnanl declaration... " >&6; }
50744 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50745 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50746 $as_echo_n "(cached) " >&6
50747 else
50750 ac_ext=cpp
50751 ac_cpp='$CXXCPP $CPPFLAGS'
50752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50757 /* end confdefs.h. */
50758 #include <math.h>
50759 #ifdef HAVE_IEEEFP_H
50760 #include <ieeefp.h>
50761 #endif
50764 main ()
50766 isnanl(0);
50768 return 0;
50770 _ACEOF
50771 if ac_fn_cxx_try_compile "$LINENO"; then :
50772 glibcxx_cv_func_isnanl_use=yes
50773 else
50774 glibcxx_cv_func_isnanl_use=no
50776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50777 ac_ext=c
50778 ac_cpp='$CPP $CPPFLAGS'
50779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50788 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50790 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50791 for ac_func in isnanl
50792 do :
50793 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50794 if test "x$ac_cv_func_isnanl" = x""yes; then :
50795 cat >>confdefs.h <<_ACEOF
50796 #define HAVE_ISNANL 1
50797 _ACEOF
50800 done
50802 else
50804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50805 $as_echo_n "checking for _isnanl declaration... " >&6; }
50806 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50807 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50808 $as_echo_n "(cached) " >&6
50809 else
50812 ac_ext=cpp
50813 ac_cpp='$CXXCPP $CPPFLAGS'
50814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50819 /* end confdefs.h. */
50820 #include <math.h>
50821 #ifdef HAVE_IEEEFP_H
50822 #include <ieeefp.h>
50823 #endif
50826 main ()
50828 _isnanl(0);
50830 return 0;
50832 _ACEOF
50833 if ac_fn_cxx_try_compile "$LINENO"; then :
50834 glibcxx_cv_func__isnanl_use=yes
50835 else
50836 glibcxx_cv_func__isnanl_use=no
50838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50839 ac_ext=c
50840 ac_cpp='$CPP $CPPFLAGS'
50841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50850 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50852 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50853 for ac_func in _isnanl
50854 do :
50855 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50856 if test "x$ac_cv_func__isnanl" = x""yes; then :
50857 cat >>confdefs.h <<_ACEOF
50858 #define HAVE__ISNANL 1
50859 _ACEOF
50862 done
50871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50872 $as_echo_n "checking for isinfl declaration... " >&6; }
50873 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50874 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50875 $as_echo_n "(cached) " >&6
50876 else
50879 ac_ext=cpp
50880 ac_cpp='$CXXCPP $CPPFLAGS'
50881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50886 /* end confdefs.h. */
50887 #include <math.h>
50888 #ifdef HAVE_IEEEFP_H
50889 #include <ieeefp.h>
50890 #endif
50893 main ()
50895 isinfl(0);
50897 return 0;
50899 _ACEOF
50900 if ac_fn_cxx_try_compile "$LINENO"; then :
50901 glibcxx_cv_func_isinfl_use=yes
50902 else
50903 glibcxx_cv_func_isinfl_use=no
50905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50906 ac_ext=c
50907 ac_cpp='$CPP $CPPFLAGS'
50908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50917 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50919 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50920 for ac_func in isinfl
50921 do :
50922 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50923 if test "x$ac_cv_func_isinfl" = x""yes; then :
50924 cat >>confdefs.h <<_ACEOF
50925 #define HAVE_ISINFL 1
50926 _ACEOF
50929 done
50931 else
50933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50934 $as_echo_n "checking for _isinfl declaration... " >&6; }
50935 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50936 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50937 $as_echo_n "(cached) " >&6
50938 else
50941 ac_ext=cpp
50942 ac_cpp='$CXXCPP $CPPFLAGS'
50943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50948 /* end confdefs.h. */
50949 #include <math.h>
50950 #ifdef HAVE_IEEEFP_H
50951 #include <ieeefp.h>
50952 #endif
50955 main ()
50957 _isinfl(0);
50959 return 0;
50961 _ACEOF
50962 if ac_fn_cxx_try_compile "$LINENO"; then :
50963 glibcxx_cv_func__isinfl_use=yes
50964 else
50965 glibcxx_cv_func__isinfl_use=no
50967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50968 ac_ext=c
50969 ac_cpp='$CPP $CPPFLAGS'
50970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50979 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50981 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50982 for ac_func in _isinfl
50983 do :
50984 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50985 if test "x$ac_cv_func__isinfl" = x""yes; then :
50986 cat >>confdefs.h <<_ACEOF
50987 #define HAVE__ISINFL 1
50988 _ACEOF
50991 done
51000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51001 $as_echo_n "checking for atan2l declaration... " >&6; }
51002 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51003 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51004 $as_echo_n "(cached) " >&6
51005 else
51008 ac_ext=cpp
51009 ac_cpp='$CXXCPP $CPPFLAGS'
51010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51015 /* end confdefs.h. */
51016 #include <math.h>
51018 main ()
51020 atan2l(0, 0);
51022 return 0;
51024 _ACEOF
51025 if ac_fn_cxx_try_compile "$LINENO"; then :
51026 glibcxx_cv_func_atan2l_use=yes
51027 else
51028 glibcxx_cv_func_atan2l_use=no
51030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51031 ac_ext=c
51032 ac_cpp='$CPP $CPPFLAGS'
51033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51042 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51044 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51045 for ac_func in atan2l
51046 do :
51047 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51048 if test "x$ac_cv_func_atan2l" = x""yes; then :
51049 cat >>confdefs.h <<_ACEOF
51050 #define HAVE_ATAN2L 1
51051 _ACEOF
51054 done
51056 else
51058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51059 $as_echo_n "checking for _atan2l declaration... " >&6; }
51060 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51061 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51062 $as_echo_n "(cached) " >&6
51063 else
51066 ac_ext=cpp
51067 ac_cpp='$CXXCPP $CPPFLAGS'
51068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51073 /* end confdefs.h. */
51074 #include <math.h>
51076 main ()
51078 _atan2l(0, 0);
51080 return 0;
51082 _ACEOF
51083 if ac_fn_cxx_try_compile "$LINENO"; then :
51084 glibcxx_cv_func__atan2l_use=yes
51085 else
51086 glibcxx_cv_func__atan2l_use=no
51088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51089 ac_ext=c
51090 ac_cpp='$CPP $CPPFLAGS'
51091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51100 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51102 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51103 for ac_func in _atan2l
51104 do :
51105 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51106 if test "x$ac_cv_func__atan2l" = x""yes; then :
51107 cat >>confdefs.h <<_ACEOF
51108 #define HAVE__ATAN2L 1
51109 _ACEOF
51112 done
51121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51122 $as_echo_n "checking for expl declaration... " >&6; }
51123 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51124 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51125 $as_echo_n "(cached) " >&6
51126 else
51129 ac_ext=cpp
51130 ac_cpp='$CXXCPP $CPPFLAGS'
51131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51136 /* end confdefs.h. */
51137 #include <math.h>
51138 #ifdef HAVE_IEEEFP_H
51139 #include <ieeefp.h>
51140 #endif
51143 main ()
51145 expl(0);
51147 return 0;
51149 _ACEOF
51150 if ac_fn_cxx_try_compile "$LINENO"; then :
51151 glibcxx_cv_func_expl_use=yes
51152 else
51153 glibcxx_cv_func_expl_use=no
51155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51156 ac_ext=c
51157 ac_cpp='$CPP $CPPFLAGS'
51158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51167 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51169 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51170 for ac_func in expl
51171 do :
51172 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51173 if test "x$ac_cv_func_expl" = x""yes; then :
51174 cat >>confdefs.h <<_ACEOF
51175 #define HAVE_EXPL 1
51176 _ACEOF
51179 done
51181 else
51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51184 $as_echo_n "checking for _expl declaration... " >&6; }
51185 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51186 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51187 $as_echo_n "(cached) " >&6
51188 else
51191 ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h. */
51199 #include <math.h>
51200 #ifdef HAVE_IEEEFP_H
51201 #include <ieeefp.h>
51202 #endif
51205 main ()
51207 _expl(0);
51209 return 0;
51211 _ACEOF
51212 if ac_fn_cxx_try_compile "$LINENO"; then :
51213 glibcxx_cv_func__expl_use=yes
51214 else
51215 glibcxx_cv_func__expl_use=no
51217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51218 ac_ext=c
51219 ac_cpp='$CPP $CPPFLAGS'
51220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51229 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51231 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51232 for ac_func in _expl
51233 do :
51234 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51235 if test "x$ac_cv_func__expl" = x""yes; then :
51236 cat >>confdefs.h <<_ACEOF
51237 #define HAVE__EXPL 1
51238 _ACEOF
51241 done
51250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51251 $as_echo_n "checking for fabsl declaration... " >&6; }
51252 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51253 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51254 $as_echo_n "(cached) " >&6
51255 else
51258 ac_ext=cpp
51259 ac_cpp='$CXXCPP $CPPFLAGS'
51260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51265 /* end confdefs.h. */
51266 #include <math.h>
51267 #ifdef HAVE_IEEEFP_H
51268 #include <ieeefp.h>
51269 #endif
51272 main ()
51274 fabsl(0);
51276 return 0;
51278 _ACEOF
51279 if ac_fn_cxx_try_compile "$LINENO"; then :
51280 glibcxx_cv_func_fabsl_use=yes
51281 else
51282 glibcxx_cv_func_fabsl_use=no
51284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51285 ac_ext=c
51286 ac_cpp='$CPP $CPPFLAGS'
51287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51296 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51298 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51299 for ac_func in fabsl
51300 do :
51301 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51302 if test "x$ac_cv_func_fabsl" = x""yes; then :
51303 cat >>confdefs.h <<_ACEOF
51304 #define HAVE_FABSL 1
51305 _ACEOF
51308 done
51310 else
51312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51313 $as_echo_n "checking for _fabsl declaration... " >&6; }
51314 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51315 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51316 $as_echo_n "(cached) " >&6
51317 else
51320 ac_ext=cpp
51321 ac_cpp='$CXXCPP $CPPFLAGS'
51322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51327 /* end confdefs.h. */
51328 #include <math.h>
51329 #ifdef HAVE_IEEEFP_H
51330 #include <ieeefp.h>
51331 #endif
51334 main ()
51336 _fabsl(0);
51338 return 0;
51340 _ACEOF
51341 if ac_fn_cxx_try_compile "$LINENO"; then :
51342 glibcxx_cv_func__fabsl_use=yes
51343 else
51344 glibcxx_cv_func__fabsl_use=no
51346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51347 ac_ext=c
51348 ac_cpp='$CPP $CPPFLAGS'
51349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51358 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51360 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51361 for ac_func in _fabsl
51362 do :
51363 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51364 if test "x$ac_cv_func__fabsl" = x""yes; then :
51365 cat >>confdefs.h <<_ACEOF
51366 #define HAVE__FABSL 1
51367 _ACEOF
51370 done
51379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51380 $as_echo_n "checking for fmodl declaration... " >&6; }
51381 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51382 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51383 $as_echo_n "(cached) " >&6
51384 else
51387 ac_ext=cpp
51388 ac_cpp='$CXXCPP $CPPFLAGS'
51389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51394 /* end confdefs.h. */
51395 #include <math.h>
51397 main ()
51399 fmodl(0, 0);
51401 return 0;
51403 _ACEOF
51404 if ac_fn_cxx_try_compile "$LINENO"; then :
51405 glibcxx_cv_func_fmodl_use=yes
51406 else
51407 glibcxx_cv_func_fmodl_use=no
51409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51410 ac_ext=c
51411 ac_cpp='$CPP $CPPFLAGS'
51412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51421 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51423 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51424 for ac_func in fmodl
51425 do :
51426 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51427 if test "x$ac_cv_func_fmodl" = x""yes; then :
51428 cat >>confdefs.h <<_ACEOF
51429 #define HAVE_FMODL 1
51430 _ACEOF
51433 done
51435 else
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51438 $as_echo_n "checking for _fmodl declaration... " >&6; }
51439 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51440 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51441 $as_echo_n "(cached) " >&6
51442 else
51445 ac_ext=cpp
51446 ac_cpp='$CXXCPP $CPPFLAGS'
51447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51452 /* end confdefs.h. */
51453 #include <math.h>
51455 main ()
51457 _fmodl(0, 0);
51459 return 0;
51461 _ACEOF
51462 if ac_fn_cxx_try_compile "$LINENO"; then :
51463 glibcxx_cv_func__fmodl_use=yes
51464 else
51465 glibcxx_cv_func__fmodl_use=no
51467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51468 ac_ext=c
51469 ac_cpp='$CPP $CPPFLAGS'
51470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51479 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51481 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51482 for ac_func in _fmodl
51483 do :
51484 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51485 if test "x$ac_cv_func__fmodl" = x""yes; then :
51486 cat >>confdefs.h <<_ACEOF
51487 #define HAVE__FMODL 1
51488 _ACEOF
51491 done
51500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51501 $as_echo_n "checking for frexpl declaration... " >&6; }
51502 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51503 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51504 $as_echo_n "(cached) " >&6
51505 else
51508 ac_ext=cpp
51509 ac_cpp='$CXXCPP $CPPFLAGS'
51510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51515 /* end confdefs.h. */
51516 #include <math.h>
51518 main ()
51520 frexpl(0, 0);
51522 return 0;
51524 _ACEOF
51525 if ac_fn_cxx_try_compile "$LINENO"; then :
51526 glibcxx_cv_func_frexpl_use=yes
51527 else
51528 glibcxx_cv_func_frexpl_use=no
51530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51531 ac_ext=c
51532 ac_cpp='$CPP $CPPFLAGS'
51533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51542 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51544 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51545 for ac_func in frexpl
51546 do :
51547 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51548 if test "x$ac_cv_func_frexpl" = x""yes; then :
51549 cat >>confdefs.h <<_ACEOF
51550 #define HAVE_FREXPL 1
51551 _ACEOF
51554 done
51556 else
51558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51559 $as_echo_n "checking for _frexpl declaration... " >&6; }
51560 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51561 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51562 $as_echo_n "(cached) " >&6
51563 else
51566 ac_ext=cpp
51567 ac_cpp='$CXXCPP $CPPFLAGS'
51568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51573 /* end confdefs.h. */
51574 #include <math.h>
51576 main ()
51578 _frexpl(0, 0);
51580 return 0;
51582 _ACEOF
51583 if ac_fn_cxx_try_compile "$LINENO"; then :
51584 glibcxx_cv_func__frexpl_use=yes
51585 else
51586 glibcxx_cv_func__frexpl_use=no
51588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51589 ac_ext=c
51590 ac_cpp='$CPP $CPPFLAGS'
51591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51600 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51602 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51603 for ac_func in _frexpl
51604 do :
51605 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51606 if test "x$ac_cv_func__frexpl" = x""yes; then :
51607 cat >>confdefs.h <<_ACEOF
51608 #define HAVE__FREXPL 1
51609 _ACEOF
51612 done
51621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51622 $as_echo_n "checking for hypotl declaration... " >&6; }
51623 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51624 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51625 $as_echo_n "(cached) " >&6
51626 else
51629 ac_ext=cpp
51630 ac_cpp='$CXXCPP $CPPFLAGS'
51631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51636 /* end confdefs.h. */
51637 #include <math.h>
51639 main ()
51641 hypotl(0, 0);
51643 return 0;
51645 _ACEOF
51646 if ac_fn_cxx_try_compile "$LINENO"; then :
51647 glibcxx_cv_func_hypotl_use=yes
51648 else
51649 glibcxx_cv_func_hypotl_use=no
51651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51652 ac_ext=c
51653 ac_cpp='$CPP $CPPFLAGS'
51654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51663 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51665 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51666 for ac_func in hypotl
51667 do :
51668 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51669 if test "x$ac_cv_func_hypotl" = x""yes; then :
51670 cat >>confdefs.h <<_ACEOF
51671 #define HAVE_HYPOTL 1
51672 _ACEOF
51675 done
51677 else
51679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51680 $as_echo_n "checking for _hypotl declaration... " >&6; }
51681 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51682 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51683 $as_echo_n "(cached) " >&6
51684 else
51687 ac_ext=cpp
51688 ac_cpp='$CXXCPP $CPPFLAGS'
51689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51694 /* end confdefs.h. */
51695 #include <math.h>
51697 main ()
51699 _hypotl(0, 0);
51701 return 0;
51703 _ACEOF
51704 if ac_fn_cxx_try_compile "$LINENO"; then :
51705 glibcxx_cv_func__hypotl_use=yes
51706 else
51707 glibcxx_cv_func__hypotl_use=no
51709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51710 ac_ext=c
51711 ac_cpp='$CPP $CPPFLAGS'
51712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51721 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51723 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51724 for ac_func in _hypotl
51725 do :
51726 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51727 if test "x$ac_cv_func__hypotl" = x""yes; then :
51728 cat >>confdefs.h <<_ACEOF
51729 #define HAVE__HYPOTL 1
51730 _ACEOF
51733 done
51742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51743 $as_echo_n "checking for ldexpl declaration... " >&6; }
51744 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51745 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51746 $as_echo_n "(cached) " >&6
51747 else
51750 ac_ext=cpp
51751 ac_cpp='$CXXCPP $CPPFLAGS'
51752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51757 /* end confdefs.h. */
51758 #include <math.h>
51760 main ()
51762 ldexpl(0, 0);
51764 return 0;
51766 _ACEOF
51767 if ac_fn_cxx_try_compile "$LINENO"; then :
51768 glibcxx_cv_func_ldexpl_use=yes
51769 else
51770 glibcxx_cv_func_ldexpl_use=no
51772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51773 ac_ext=c
51774 ac_cpp='$CPP $CPPFLAGS'
51775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51784 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51786 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51787 for ac_func in ldexpl
51788 do :
51789 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51790 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51791 cat >>confdefs.h <<_ACEOF
51792 #define HAVE_LDEXPL 1
51793 _ACEOF
51796 done
51798 else
51800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51801 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51802 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51803 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51804 $as_echo_n "(cached) " >&6
51805 else
51808 ac_ext=cpp
51809 ac_cpp='$CXXCPP $CPPFLAGS'
51810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51815 /* end confdefs.h. */
51816 #include <math.h>
51818 main ()
51820 _ldexpl(0, 0);
51822 return 0;
51824 _ACEOF
51825 if ac_fn_cxx_try_compile "$LINENO"; then :
51826 glibcxx_cv_func__ldexpl_use=yes
51827 else
51828 glibcxx_cv_func__ldexpl_use=no
51830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51831 ac_ext=c
51832 ac_cpp='$CPP $CPPFLAGS'
51833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51842 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51844 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51845 for ac_func in _ldexpl
51846 do :
51847 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51848 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51849 cat >>confdefs.h <<_ACEOF
51850 #define HAVE__LDEXPL 1
51851 _ACEOF
51854 done
51863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51864 $as_echo_n "checking for logl declaration... " >&6; }
51865 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51866 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51867 $as_echo_n "(cached) " >&6
51868 else
51871 ac_ext=cpp
51872 ac_cpp='$CXXCPP $CPPFLAGS'
51873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51878 /* end confdefs.h. */
51879 #include <math.h>
51880 #ifdef HAVE_IEEEFP_H
51881 #include <ieeefp.h>
51882 #endif
51885 main ()
51887 logl(0);
51889 return 0;
51891 _ACEOF
51892 if ac_fn_cxx_try_compile "$LINENO"; then :
51893 glibcxx_cv_func_logl_use=yes
51894 else
51895 glibcxx_cv_func_logl_use=no
51897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51898 ac_ext=c
51899 ac_cpp='$CPP $CPPFLAGS'
51900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51909 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51911 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51912 for ac_func in logl
51913 do :
51914 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51915 if test "x$ac_cv_func_logl" = x""yes; then :
51916 cat >>confdefs.h <<_ACEOF
51917 #define HAVE_LOGL 1
51918 _ACEOF
51921 done
51923 else
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51926 $as_echo_n "checking for _logl declaration... " >&6; }
51927 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51928 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51929 $as_echo_n "(cached) " >&6
51930 else
51933 ac_ext=cpp
51934 ac_cpp='$CXXCPP $CPPFLAGS'
51935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51940 /* end confdefs.h. */
51941 #include <math.h>
51942 #ifdef HAVE_IEEEFP_H
51943 #include <ieeefp.h>
51944 #endif
51947 main ()
51949 _logl(0);
51951 return 0;
51953 _ACEOF
51954 if ac_fn_cxx_try_compile "$LINENO"; then :
51955 glibcxx_cv_func__logl_use=yes
51956 else
51957 glibcxx_cv_func__logl_use=no
51959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51960 ac_ext=c
51961 ac_cpp='$CPP $CPPFLAGS'
51962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51971 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51973 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51974 for ac_func in _logl
51975 do :
51976 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51977 if test "x$ac_cv_func__logl" = x""yes; then :
51978 cat >>confdefs.h <<_ACEOF
51979 #define HAVE__LOGL 1
51980 _ACEOF
51983 done
51992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51993 $as_echo_n "checking for log10l declaration... " >&6; }
51994 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51995 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51996 $as_echo_n "(cached) " >&6
51997 else
52000 ac_ext=cpp
52001 ac_cpp='$CXXCPP $CPPFLAGS'
52002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52007 /* end confdefs.h. */
52008 #include <math.h>
52009 #ifdef HAVE_IEEEFP_H
52010 #include <ieeefp.h>
52011 #endif
52014 main ()
52016 log10l(0);
52018 return 0;
52020 _ACEOF
52021 if ac_fn_cxx_try_compile "$LINENO"; then :
52022 glibcxx_cv_func_log10l_use=yes
52023 else
52024 glibcxx_cv_func_log10l_use=no
52026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52027 ac_ext=c
52028 ac_cpp='$CPP $CPPFLAGS'
52029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52038 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52040 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52041 for ac_func in log10l
52042 do :
52043 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52044 if test "x$ac_cv_func_log10l" = x""yes; then :
52045 cat >>confdefs.h <<_ACEOF
52046 #define HAVE_LOG10L 1
52047 _ACEOF
52050 done
52052 else
52054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52055 $as_echo_n "checking for _log10l declaration... " >&6; }
52056 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52057 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52058 $as_echo_n "(cached) " >&6
52059 else
52062 ac_ext=cpp
52063 ac_cpp='$CXXCPP $CPPFLAGS'
52064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52069 /* end confdefs.h. */
52070 #include <math.h>
52071 #ifdef HAVE_IEEEFP_H
52072 #include <ieeefp.h>
52073 #endif
52076 main ()
52078 _log10l(0);
52080 return 0;
52082 _ACEOF
52083 if ac_fn_cxx_try_compile "$LINENO"; then :
52084 glibcxx_cv_func__log10l_use=yes
52085 else
52086 glibcxx_cv_func__log10l_use=no
52088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52089 ac_ext=c
52090 ac_cpp='$CPP $CPPFLAGS'
52091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52100 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52102 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52103 for ac_func in _log10l
52104 do :
52105 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52106 if test "x$ac_cv_func__log10l" = x""yes; then :
52107 cat >>confdefs.h <<_ACEOF
52108 #define HAVE__LOG10L 1
52109 _ACEOF
52112 done
52121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52122 $as_echo_n "checking for modfl declaration... " >&6; }
52123 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52124 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52125 $as_echo_n "(cached) " >&6
52126 else
52129 ac_ext=cpp
52130 ac_cpp='$CXXCPP $CPPFLAGS'
52131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52136 /* end confdefs.h. */
52137 #include <math.h>
52139 main ()
52141 modfl(0, 0);
52143 return 0;
52145 _ACEOF
52146 if ac_fn_cxx_try_compile "$LINENO"; then :
52147 glibcxx_cv_func_modfl_use=yes
52148 else
52149 glibcxx_cv_func_modfl_use=no
52151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52152 ac_ext=c
52153 ac_cpp='$CPP $CPPFLAGS'
52154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52163 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52165 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52166 for ac_func in modfl
52167 do :
52168 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52169 if test "x$ac_cv_func_modfl" = x""yes; then :
52170 cat >>confdefs.h <<_ACEOF
52171 #define HAVE_MODFL 1
52172 _ACEOF
52175 done
52177 else
52179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52180 $as_echo_n "checking for _modfl declaration... " >&6; }
52181 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52182 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52183 $as_echo_n "(cached) " >&6
52184 else
52187 ac_ext=cpp
52188 ac_cpp='$CXXCPP $CPPFLAGS'
52189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52194 /* end confdefs.h. */
52195 #include <math.h>
52197 main ()
52199 _modfl(0, 0);
52201 return 0;
52203 _ACEOF
52204 if ac_fn_cxx_try_compile "$LINENO"; then :
52205 glibcxx_cv_func__modfl_use=yes
52206 else
52207 glibcxx_cv_func__modfl_use=no
52209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52210 ac_ext=c
52211 ac_cpp='$CPP $CPPFLAGS'
52212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52221 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52223 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52224 for ac_func in _modfl
52225 do :
52226 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52227 if test "x$ac_cv_func__modfl" = x""yes; then :
52228 cat >>confdefs.h <<_ACEOF
52229 #define HAVE__MODFL 1
52230 _ACEOF
52233 done
52242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52243 $as_echo_n "checking for powl declaration... " >&6; }
52244 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52245 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52246 $as_echo_n "(cached) " >&6
52247 else
52250 ac_ext=cpp
52251 ac_cpp='$CXXCPP $CPPFLAGS'
52252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52257 /* end confdefs.h. */
52258 #include <math.h>
52260 main ()
52262 powl(0, 0);
52264 return 0;
52266 _ACEOF
52267 if ac_fn_cxx_try_compile "$LINENO"; then :
52268 glibcxx_cv_func_powl_use=yes
52269 else
52270 glibcxx_cv_func_powl_use=no
52272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52273 ac_ext=c
52274 ac_cpp='$CPP $CPPFLAGS'
52275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52284 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52286 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52287 for ac_func in powl
52288 do :
52289 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52290 if test "x$ac_cv_func_powl" = x""yes; then :
52291 cat >>confdefs.h <<_ACEOF
52292 #define HAVE_POWL 1
52293 _ACEOF
52296 done
52298 else
52300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52301 $as_echo_n "checking for _powl declaration... " >&6; }
52302 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52303 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52304 $as_echo_n "(cached) " >&6
52305 else
52308 ac_ext=cpp
52309 ac_cpp='$CXXCPP $CPPFLAGS'
52310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52315 /* end confdefs.h. */
52316 #include <math.h>
52318 main ()
52320 _powl(0, 0);
52322 return 0;
52324 _ACEOF
52325 if ac_fn_cxx_try_compile "$LINENO"; then :
52326 glibcxx_cv_func__powl_use=yes
52327 else
52328 glibcxx_cv_func__powl_use=no
52330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52331 ac_ext=c
52332 ac_cpp='$CPP $CPPFLAGS'
52333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52342 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52344 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52345 for ac_func in _powl
52346 do :
52347 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52348 if test "x$ac_cv_func__powl" = x""yes; then :
52349 cat >>confdefs.h <<_ACEOF
52350 #define HAVE__POWL 1
52351 _ACEOF
52354 done
52363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52364 $as_echo_n "checking for sqrtl declaration... " >&6; }
52365 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52366 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52367 $as_echo_n "(cached) " >&6
52368 else
52371 ac_ext=cpp
52372 ac_cpp='$CXXCPP $CPPFLAGS'
52373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52378 /* end confdefs.h. */
52379 #include <math.h>
52380 #ifdef HAVE_IEEEFP_H
52381 #include <ieeefp.h>
52382 #endif
52385 main ()
52387 sqrtl(0);
52389 return 0;
52391 _ACEOF
52392 if ac_fn_cxx_try_compile "$LINENO"; then :
52393 glibcxx_cv_func_sqrtl_use=yes
52394 else
52395 glibcxx_cv_func_sqrtl_use=no
52397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52398 ac_ext=c
52399 ac_cpp='$CPP $CPPFLAGS'
52400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52409 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52411 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52412 for ac_func in sqrtl
52413 do :
52414 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52415 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52416 cat >>confdefs.h <<_ACEOF
52417 #define HAVE_SQRTL 1
52418 _ACEOF
52421 done
52423 else
52425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52426 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52427 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52428 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52429 $as_echo_n "(cached) " >&6
52430 else
52433 ac_ext=cpp
52434 ac_cpp='$CXXCPP $CPPFLAGS'
52435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h. */
52441 #include <math.h>
52442 #ifdef HAVE_IEEEFP_H
52443 #include <ieeefp.h>
52444 #endif
52447 main ()
52449 _sqrtl(0);
52451 return 0;
52453 _ACEOF
52454 if ac_fn_cxx_try_compile "$LINENO"; then :
52455 glibcxx_cv_func__sqrtl_use=yes
52456 else
52457 glibcxx_cv_func__sqrtl_use=no
52459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52460 ac_ext=c
52461 ac_cpp='$CPP $CPPFLAGS'
52462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52471 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52473 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52474 for ac_func in _sqrtl
52475 do :
52476 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52477 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52478 cat >>confdefs.h <<_ACEOF
52479 #define HAVE__SQRTL 1
52480 _ACEOF
52483 done
52492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52493 $as_echo_n "checking for sincosl declaration... " >&6; }
52494 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52495 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52496 $as_echo_n "(cached) " >&6
52497 else
52500 ac_ext=cpp
52501 ac_cpp='$CXXCPP $CPPFLAGS'
52502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52507 /* end confdefs.h. */
52508 #include <math.h>
52510 main ()
52512 sincosl(0, 0, 0);
52514 return 0;
52516 _ACEOF
52517 if ac_fn_cxx_try_compile "$LINENO"; then :
52518 glibcxx_cv_func_sincosl_use=yes
52519 else
52520 glibcxx_cv_func_sincosl_use=no
52522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52523 ac_ext=c
52524 ac_cpp='$CPP $CPPFLAGS'
52525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52534 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52536 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52537 for ac_func in sincosl
52538 do :
52539 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52540 if test "x$ac_cv_func_sincosl" = x""yes; then :
52541 cat >>confdefs.h <<_ACEOF
52542 #define HAVE_SINCOSL 1
52543 _ACEOF
52546 done
52548 else
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52551 $as_echo_n "checking for _sincosl declaration... " >&6; }
52552 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52553 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52554 $as_echo_n "(cached) " >&6
52555 else
52558 ac_ext=cpp
52559 ac_cpp='$CXXCPP $CPPFLAGS'
52560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52565 /* end confdefs.h. */
52566 #include <math.h>
52568 main ()
52570 _sincosl(0, 0, 0);
52572 return 0;
52574 _ACEOF
52575 if ac_fn_cxx_try_compile "$LINENO"; then :
52576 glibcxx_cv_func__sincosl_use=yes
52577 else
52578 glibcxx_cv_func__sincosl_use=no
52580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52581 ac_ext=c
52582 ac_cpp='$CPP $CPPFLAGS'
52583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52592 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52594 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52595 for ac_func in _sincosl
52596 do :
52597 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52598 if test "x$ac_cv_func__sincosl" = x""yes; then :
52599 cat >>confdefs.h <<_ACEOF
52600 #define HAVE__SINCOSL 1
52601 _ACEOF
52604 done
52613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52614 $as_echo_n "checking for finitel declaration... " >&6; }
52615 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52616 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52617 $as_echo_n "(cached) " >&6
52618 else
52621 ac_ext=cpp
52622 ac_cpp='$CXXCPP $CPPFLAGS'
52623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52628 /* end confdefs.h. */
52629 #include <math.h>
52630 #ifdef HAVE_IEEEFP_H
52631 #include <ieeefp.h>
52632 #endif
52635 main ()
52637 finitel(0);
52639 return 0;
52641 _ACEOF
52642 if ac_fn_cxx_try_compile "$LINENO"; then :
52643 glibcxx_cv_func_finitel_use=yes
52644 else
52645 glibcxx_cv_func_finitel_use=no
52647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52648 ac_ext=c
52649 ac_cpp='$CPP $CPPFLAGS'
52650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52659 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52661 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52662 for ac_func in finitel
52663 do :
52664 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52665 if test "x$ac_cv_func_finitel" = x""yes; then :
52666 cat >>confdefs.h <<_ACEOF
52667 #define HAVE_FINITEL 1
52668 _ACEOF
52671 done
52673 else
52675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52676 $as_echo_n "checking for _finitel declaration... " >&6; }
52677 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52678 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52679 $as_echo_n "(cached) " >&6
52680 else
52683 ac_ext=cpp
52684 ac_cpp='$CXXCPP $CPPFLAGS'
52685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52690 /* end confdefs.h. */
52691 #include <math.h>
52692 #ifdef HAVE_IEEEFP_H
52693 #include <ieeefp.h>
52694 #endif
52697 main ()
52699 _finitel(0);
52701 return 0;
52703 _ACEOF
52704 if ac_fn_cxx_try_compile "$LINENO"; then :
52705 glibcxx_cv_func__finitel_use=yes
52706 else
52707 glibcxx_cv_func__finitel_use=no
52709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52710 ac_ext=c
52711 ac_cpp='$CPP $CPPFLAGS'
52712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52721 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52723 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52724 for ac_func in _finitel
52725 do :
52726 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52727 if test "x$ac_cv_func__finitel" = x""yes; then :
52728 cat >>confdefs.h <<_ACEOF
52729 #define HAVE__FINITEL 1
52730 _ACEOF
52733 done
52741 LIBS="$ac_save_LIBS"
52742 CXXFLAGS="$ac_save_CXXFLAGS"
52745 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52746 ac_save_CXXFLAGS="$CXXFLAGS"
52747 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52751 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52752 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52753 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52754 $as_echo_n "(cached) " >&6
52755 else
52758 ac_ext=cpp
52759 ac_cpp='$CXXCPP $CPPFLAGS'
52760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52765 /* end confdefs.h. */
52766 #include <stdlib.h>
52768 main ()
52770 at_quick_exit(0);
52772 return 0;
52774 _ACEOF
52775 if ac_fn_cxx_try_compile "$LINENO"; then :
52776 glibcxx_cv_func_at_quick_exit_use=yes
52777 else
52778 glibcxx_cv_func_at_quick_exit_use=no
52780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52781 ac_ext=c
52782 ac_cpp='$CPP $CPPFLAGS'
52783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52792 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52793 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52794 for ac_func in at_quick_exit
52795 do :
52796 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52797 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52798 cat >>confdefs.h <<_ACEOF
52799 #define HAVE_AT_QUICK_EXIT 1
52800 _ACEOF
52803 done
52808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52809 $as_echo_n "checking for quick_exit declaration... " >&6; }
52810 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52811 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52812 $as_echo_n "(cached) " >&6
52813 else
52816 ac_ext=cpp
52817 ac_cpp='$CXXCPP $CPPFLAGS'
52818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52823 /* end confdefs.h. */
52824 #include <stdlib.h>
52826 main ()
52828 quick_exit(0);
52830 return 0;
52832 _ACEOF
52833 if ac_fn_cxx_try_compile "$LINENO"; then :
52834 glibcxx_cv_func_quick_exit_use=yes
52835 else
52836 glibcxx_cv_func_quick_exit_use=no
52838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52839 ac_ext=c
52840 ac_cpp='$CPP $CPPFLAGS'
52841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52850 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52851 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52852 for ac_func in quick_exit
52853 do :
52854 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52855 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52856 cat >>confdefs.h <<_ACEOF
52857 #define HAVE_QUICK_EXIT 1
52858 _ACEOF
52861 done
52866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52867 $as_echo_n "checking for strtold declaration... " >&6; }
52868 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52869 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52870 $as_echo_n "(cached) " >&6
52871 else
52874 ac_ext=cpp
52875 ac_cpp='$CXXCPP $CPPFLAGS'
52876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52881 /* end confdefs.h. */
52882 #include <stdlib.h>
52884 main ()
52886 strtold(0, 0);
52888 return 0;
52890 _ACEOF
52891 if ac_fn_cxx_try_compile "$LINENO"; then :
52892 glibcxx_cv_func_strtold_use=yes
52893 else
52894 glibcxx_cv_func_strtold_use=no
52896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52897 ac_ext=c
52898 ac_cpp='$CPP $CPPFLAGS'
52899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52908 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52909 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52910 for ac_func in strtold
52911 do :
52912 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52913 if test "x$ac_cv_func_strtold" = x""yes; then :
52914 cat >>confdefs.h <<_ACEOF
52915 #define HAVE_STRTOLD 1
52916 _ACEOF
52919 done
52926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52927 $as_echo_n "checking for strtof declaration... " >&6; }
52928 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52929 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52930 $as_echo_n "(cached) " >&6
52931 else
52934 ac_ext=cpp
52935 ac_cpp='$CXXCPP $CPPFLAGS'
52936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52941 /* end confdefs.h. */
52942 #include <stdlib.h>
52944 main ()
52946 strtof(0, 0);
52948 return 0;
52950 _ACEOF
52951 if ac_fn_cxx_try_compile "$LINENO"; then :
52952 glibcxx_cv_func_strtof_use=yes
52953 else
52954 glibcxx_cv_func_strtof_use=no
52956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52957 ac_ext=c
52958 ac_cpp='$CPP $CPPFLAGS'
52959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52968 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52969 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52970 for ac_func in strtof
52971 do :
52972 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52973 if test "x$ac_cv_func_strtof" = x""yes; then :
52974 cat >>confdefs.h <<_ACEOF
52975 #define HAVE_STRTOF 1
52976 _ACEOF
52979 done
52986 CXXFLAGS="$ac_save_CXXFLAGS"
52990 *djgpp)
52991 # GLIBCXX_CHECK_MATH_SUPPORT
52992 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52994 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52996 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52998 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53000 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53004 *-freebsd*)
53005 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53008 # If we're not using GNU ld, then there's no point in even trying these
53009 # tests. Check for that first. We should have already tested for gld
53010 # by now (in libtool), but require it now just to be safe...
53011 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53012 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53016 # The name set by libtool depends on the version of libtool. Shame on us
53017 # for depending on an impl detail, but c'est la vie. Older versions used
53018 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53019 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53020 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53021 # set (hence we're using an older libtool), then set it.
53022 if test x${with_gnu_ld+set} != xset; then
53023 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53024 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53025 with_gnu_ld=no
53026 else
53027 with_gnu_ld=$ac_cv_prog_gnu_ld
53031 # Start by getting the version number. I think the libtool test already
53032 # does some of this, but throws away the result.
53033 glibcxx_ld_is_gold=no
53034 if test x"$with_gnu_ld" = x"yes"; then
53035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53036 $as_echo_n "checking for ld version... " >&6; }
53038 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53039 glibcxx_ld_is_gold=yes
53041 ldver=`$LD --version 2>/dev/null |
53042 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'`
53044 glibcxx_gnu_ld_version=`echo $ldver | \
53045 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53047 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53050 # Set --gc-sections.
53051 glibcxx_have_gc_sections=no
53052 if test "$glibcxx_ld_is_gold" = "yes"; then
53053 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53054 glibcxx_have_gc_sections=yes
53056 else
53057 glibcxx_gcsections_min_ld=21602
53058 if test x"$with_gnu_ld" = x"yes" &&
53059 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53060 glibcxx_have_gc_sections=yes
53063 if test "$glibcxx_have_gc_sections" = "yes"; then
53064 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53065 # NB: This flag only works reliably after 2.16.1. Configure tests
53066 # for this are difficult, so hard wire a value that should work.
53068 ac_test_CFLAGS="${CFLAGS+set}"
53069 ac_save_CFLAGS="$CFLAGS"
53070 CFLAGS='-Wl,--gc-sections'
53072 # Check for -Wl,--gc-sections
53073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53074 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53075 if test x$gcc_no_link = xyes; then
53076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53079 /* end confdefs.h. */
53080 int one(void) { return 1; }
53081 int two(void) { return 2; }
53084 main ()
53086 two();
53088 return 0;
53090 _ACEOF
53091 if ac_fn_c_try_link "$LINENO"; then :
53092 ac_gcsections=yes
53093 else
53094 ac_gcsections=no
53096 rm -f core conftest.err conftest.$ac_objext \
53097 conftest$ac_exeext conftest.$ac_ext
53098 if test "$ac_gcsections" = "yes"; then
53099 rm -f conftest.c
53100 touch conftest.c
53101 if $CC -c conftest.c; then
53102 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53103 grep "Warning: gc-sections option ignored" > /dev/null; then
53104 ac_gcsections=no
53107 rm -f conftest.c conftest.o conftest
53109 if test "$ac_gcsections" = "yes"; then
53110 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53113 $as_echo "$ac_gcsections" >&6; }
53115 if test "$ac_test_CFLAGS" = set; then
53116 CFLAGS="$ac_save_CFLAGS"
53117 else
53118 # this is the suspicious part
53119 CFLAGS=''
53123 # Set -z,relro.
53124 # Note this is only for shared objects.
53125 ac_ld_relro=no
53126 if test x"$with_gnu_ld" = x"yes"; then
53127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53128 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53129 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53130 if test -n "$cxx_z_relo"; then
53131 OPT_LDFLAGS="-Wl,-z,relro"
53132 ac_ld_relro=yes
53134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53135 $as_echo "$ac_ld_relro" >&6; }
53138 # Set linker optimization flags.
53139 if test x"$with_gnu_ld" = x"yes"; then
53140 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53146 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53148 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53150 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53152 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53154 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53156 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53158 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53160 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53162 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53165 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53167 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53169 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53171 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53173 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53175 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53177 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53179 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53181 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53183 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53185 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53187 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53189 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53191 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53193 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53195 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53197 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53199 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53201 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53203 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53205 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53207 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53209 if test x"long_double_math_on_this_cpu" = x"yes"; then
53210 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53212 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53214 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53218 *-hpux*)
53219 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53222 # If we're not using GNU ld, then there's no point in even trying these
53223 # tests. Check for that first. We should have already tested for gld
53224 # by now (in libtool), but require it now just to be safe...
53225 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53226 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53230 # The name set by libtool depends on the version of libtool. Shame on us
53231 # for depending on an impl detail, but c'est la vie. Older versions used
53232 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53233 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53234 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53235 # set (hence we're using an older libtool), then set it.
53236 if test x${with_gnu_ld+set} != xset; then
53237 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53238 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53239 with_gnu_ld=no
53240 else
53241 with_gnu_ld=$ac_cv_prog_gnu_ld
53245 # Start by getting the version number. I think the libtool test already
53246 # does some of this, but throws away the result.
53247 glibcxx_ld_is_gold=no
53248 if test x"$with_gnu_ld" = x"yes"; then
53249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53250 $as_echo_n "checking for ld version... " >&6; }
53252 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53253 glibcxx_ld_is_gold=yes
53255 ldver=`$LD --version 2>/dev/null |
53256 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'`
53258 glibcxx_gnu_ld_version=`echo $ldver | \
53259 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53261 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53264 # Set --gc-sections.
53265 glibcxx_have_gc_sections=no
53266 if test "$glibcxx_ld_is_gold" = "yes"; then
53267 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53268 glibcxx_have_gc_sections=yes
53270 else
53271 glibcxx_gcsections_min_ld=21602
53272 if test x"$with_gnu_ld" = x"yes" &&
53273 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53274 glibcxx_have_gc_sections=yes
53277 if test "$glibcxx_have_gc_sections" = "yes"; then
53278 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53279 # NB: This flag only works reliably after 2.16.1. Configure tests
53280 # for this are difficult, so hard wire a value that should work.
53282 ac_test_CFLAGS="${CFLAGS+set}"
53283 ac_save_CFLAGS="$CFLAGS"
53284 CFLAGS='-Wl,--gc-sections'
53286 # Check for -Wl,--gc-sections
53287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53288 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53289 if test x$gcc_no_link = xyes; then
53290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53293 /* end confdefs.h. */
53294 int one(void) { return 1; }
53295 int two(void) { return 2; }
53298 main ()
53300 two();
53302 return 0;
53304 _ACEOF
53305 if ac_fn_c_try_link "$LINENO"; then :
53306 ac_gcsections=yes
53307 else
53308 ac_gcsections=no
53310 rm -f core conftest.err conftest.$ac_objext \
53311 conftest$ac_exeext conftest.$ac_ext
53312 if test "$ac_gcsections" = "yes"; then
53313 rm -f conftest.c
53314 touch conftest.c
53315 if $CC -c conftest.c; then
53316 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53317 grep "Warning: gc-sections option ignored" > /dev/null; then
53318 ac_gcsections=no
53321 rm -f conftest.c conftest.o conftest
53323 if test "$ac_gcsections" = "yes"; then
53324 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53327 $as_echo "$ac_gcsections" >&6; }
53329 if test "$ac_test_CFLAGS" = set; then
53330 CFLAGS="$ac_save_CFLAGS"
53331 else
53332 # this is the suspicious part
53333 CFLAGS=''
53337 # Set -z,relro.
53338 # Note this is only for shared objects.
53339 ac_ld_relro=no
53340 if test x"$with_gnu_ld" = x"yes"; then
53341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53342 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53343 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53344 if test -n "$cxx_z_relo"; then
53345 OPT_LDFLAGS="-Wl,-z,relro"
53346 ac_ld_relro=yes
53348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53349 $as_echo "$ac_ld_relro" >&6; }
53352 # Set linker optimization flags.
53353 if test x"$with_gnu_ld" = x"yes"; then
53354 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53361 # GLIBCXX_CHECK_MATH_SUPPORT
53362 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53364 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53366 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53368 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53370 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53372 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53374 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53376 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53378 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53380 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53382 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53384 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53386 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53388 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53390 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53392 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53394 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53396 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53398 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53400 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53402 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53405 # GLIBCXX_CHECK_STDLIB_SUPPORT
53406 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53411 # Check whether --enable-tls was given.
53412 if test "${enable_tls+set}" = set; then :
53413 enableval=$enable_tls;
53414 case "$enableval" in
53415 yes|no) ;;
53416 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53417 esac
53419 else
53420 enable_tls=yes
53424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53425 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53426 if test "${gcc_cv_have_tls+set}" = set; then :
53427 $as_echo_n "(cached) " >&6
53428 else
53430 if test "$cross_compiling" = yes; then :
53431 if test x$gcc_no_link = xyes; then
53432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53435 /* end confdefs.h. */
53436 __thread int a; int b; int main() { return a = b; }
53437 _ACEOF
53438 if ac_fn_c_try_link "$LINENO"; then :
53439 chktls_save_LDFLAGS="$LDFLAGS"
53440 case $host in
53441 *-*-linux*)
53442 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53444 esac
53445 chktls_save_CFLAGS="$CFLAGS"
53446 CFLAGS="-fPIC $CFLAGS"
53447 if test x$gcc_no_link = xyes; then
53448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53451 /* end confdefs.h. */
53452 int f() { return 0; }
53453 _ACEOF
53454 if ac_fn_c_try_link "$LINENO"; then :
53455 if test x$gcc_no_link = xyes; then
53456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53459 /* end confdefs.h. */
53460 __thread int a; int b; int f() { return a = b; }
53461 _ACEOF
53462 if ac_fn_c_try_link "$LINENO"; then :
53463 gcc_cv_have_tls=yes
53464 else
53465 gcc_cv_have_tls=no
53467 rm -f core conftest.err conftest.$ac_objext \
53468 conftest$ac_exeext conftest.$ac_ext
53469 else
53470 gcc_cv_have_tls=yes
53472 rm -f core conftest.err conftest.$ac_objext \
53473 conftest$ac_exeext conftest.$ac_ext
53474 CFLAGS="$chktls_save_CFLAGS"
53475 LDFLAGS="$chktls_save_LDFLAGS"
53476 else
53477 gcc_cv_have_tls=no
53479 rm -f core conftest.err conftest.$ac_objext \
53480 conftest$ac_exeext conftest.$ac_ext
53483 else
53484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53485 /* end confdefs.h. */
53486 __thread int a; int b; int main() { return a = b; }
53487 _ACEOF
53488 if ac_fn_c_try_run "$LINENO"; then :
53489 chktls_save_LDFLAGS="$LDFLAGS"
53490 LDFLAGS="-static $LDFLAGS"
53491 if test x$gcc_no_link = xyes; then
53492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53495 /* end confdefs.h. */
53496 int main() { return 0; }
53497 _ACEOF
53498 if ac_fn_c_try_link "$LINENO"; then :
53499 if test "$cross_compiling" = yes; then :
53500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53502 as_fn_error "cannot run test program while cross compiling
53503 See \`config.log' for more details." "$LINENO" 5; }
53504 else
53505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53506 /* end confdefs.h. */
53507 __thread int a; int b; int main() { return a = b; }
53508 _ACEOF
53509 if ac_fn_c_try_run "$LINENO"; then :
53510 gcc_cv_have_tls=yes
53511 else
53512 gcc_cv_have_tls=no
53514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53515 conftest.$ac_objext conftest.beam conftest.$ac_ext
53518 else
53519 gcc_cv_have_tls=yes
53521 rm -f core conftest.err conftest.$ac_objext \
53522 conftest$ac_exeext conftest.$ac_ext
53523 LDFLAGS="$chktls_save_LDFLAGS"
53524 if test $gcc_cv_have_tls = yes; then
53525 chktls_save_CFLAGS="$CFLAGS"
53526 thread_CFLAGS=failed
53527 for flag in '' '-pthread' '-lpthread'; do
53528 CFLAGS="$flag $chktls_save_CFLAGS"
53529 if test x$gcc_no_link = xyes; then
53530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53533 /* end confdefs.h. */
53534 #include <pthread.h>
53535 void *g(void *d) { return NULL; }
53537 main ()
53539 pthread_t t; pthread_create(&t,NULL,g,NULL);
53541 return 0;
53543 _ACEOF
53544 if ac_fn_c_try_link "$LINENO"; then :
53545 thread_CFLAGS="$flag"
53547 rm -f core conftest.err conftest.$ac_objext \
53548 conftest$ac_exeext conftest.$ac_ext
53549 if test "X$thread_CFLAGS" != Xfailed; then
53550 break
53552 done
53553 CFLAGS="$chktls_save_CFLAGS"
53554 if test "X$thread_CFLAGS" != Xfailed; then
53555 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53556 if test "$cross_compiling" = yes; then :
53557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53559 as_fn_error "cannot run test program while cross compiling
53560 See \`config.log' for more details." "$LINENO" 5; }
53561 else
53562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53563 /* end confdefs.h. */
53564 #include <pthread.h>
53565 __thread int a;
53566 static int *volatile a_in_other_thread;
53567 static void *
53568 thread_func (void *arg)
53570 a_in_other_thread = &a;
53571 return (void *)0;
53574 main ()
53576 pthread_t thread;
53577 void *thread_retval;
53578 int *volatile a_in_main_thread;
53579 a_in_main_thread = &a;
53580 if (pthread_create (&thread, (pthread_attr_t *)0,
53581 thread_func, (void *)0))
53582 return 0;
53583 if (pthread_join (thread, &thread_retval))
53584 return 0;
53585 return (a_in_other_thread == a_in_main_thread);
53587 return 0;
53589 _ACEOF
53590 if ac_fn_c_try_run "$LINENO"; then :
53591 gcc_cv_have_tls=yes
53592 else
53593 gcc_cv_have_tls=no
53595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53596 conftest.$ac_objext conftest.beam conftest.$ac_ext
53599 CFLAGS="$chktls_save_CFLAGS"
53602 else
53603 gcc_cv_have_tls=no
53605 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53606 conftest.$ac_objext conftest.beam conftest.$ac_ext
53610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53611 $as_echo "$gcc_cv_have_tls" >&6; }
53612 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53614 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53617 case "$target" in
53618 *-hpux10*)
53619 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53621 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53623 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53625 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53627 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53630 esac
53632 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin*)
53634 # All these tests are for C++; save the language and the compiler flags.
53635 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53636 # found in GLIBCXX_CONFIGURE.
53638 ac_ext=cpp
53639 ac_cpp='$CXXCPP $CPPFLAGS'
53640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53644 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53645 ac_save_CXXFLAGS="$CXXFLAGS"
53647 # Check for maintainer-mode bits.
53648 if test x"$USE_MAINTAINER_MODE" = xno; then
53649 WERROR=''
53650 else
53651 WERROR='-Werror'
53654 # Check for -ffunction-sections -fdata-sections
53655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53656 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53657 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53659 /* end confdefs.h. */
53660 int foo; void bar() { };
53662 main ()
53666 return 0;
53668 _ACEOF
53669 if ac_fn_cxx_try_compile "$LINENO"; then :
53670 ac_fdsections=yes
53671 else
53672 ac_fdsections=no
53674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53675 if test "$ac_test_CXXFLAGS" = set; then
53676 CXXFLAGS="$ac_save_CXXFLAGS"
53677 else
53678 # this is the suspicious part
53679 CXXFLAGS=''
53681 if test x"$ac_fdsections" = x"yes"; then
53682 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53685 $as_echo "$ac_fdsections" >&6; }
53687 ac_ext=c
53688 ac_cpp='$CPP $CPPFLAGS'
53689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53697 # If we're not using GNU ld, then there's no point in even trying these
53698 # tests. Check for that first. We should have already tested for gld
53699 # by now (in libtool), but require it now just to be safe...
53700 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53701 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53705 # The name set by libtool depends on the version of libtool. Shame on us
53706 # for depending on an impl detail, but c'est la vie. Older versions used
53707 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53708 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53709 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53710 # set (hence we're using an older libtool), then set it.
53711 if test x${with_gnu_ld+set} != xset; then
53712 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53713 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53714 with_gnu_ld=no
53715 else
53716 with_gnu_ld=$ac_cv_prog_gnu_ld
53720 # Start by getting the version number. I think the libtool test already
53721 # does some of this, but throws away the result.
53722 glibcxx_ld_is_gold=no
53723 if test x"$with_gnu_ld" = x"yes"; then
53724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53725 $as_echo_n "checking for ld version... " >&6; }
53727 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53728 glibcxx_ld_is_gold=yes
53730 ldver=`$LD --version 2>/dev/null |
53731 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'`
53733 glibcxx_gnu_ld_version=`echo $ldver | \
53734 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53736 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53739 # Set --gc-sections.
53740 glibcxx_have_gc_sections=no
53741 if test "$glibcxx_ld_is_gold" = "yes"; then
53742 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53743 glibcxx_have_gc_sections=yes
53745 else
53746 glibcxx_gcsections_min_ld=21602
53747 if test x"$with_gnu_ld" = x"yes" &&
53748 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53749 glibcxx_have_gc_sections=yes
53752 if test "$glibcxx_have_gc_sections" = "yes"; then
53753 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53754 # NB: This flag only works reliably after 2.16.1. Configure tests
53755 # for this are difficult, so hard wire a value that should work.
53757 ac_test_CFLAGS="${CFLAGS+set}"
53758 ac_save_CFLAGS="$CFLAGS"
53759 CFLAGS='-Wl,--gc-sections'
53761 # Check for -Wl,--gc-sections
53762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53763 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53764 if test x$gcc_no_link = xyes; then
53765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53768 /* end confdefs.h. */
53769 int one(void) { return 1; }
53770 int two(void) { return 2; }
53773 main ()
53775 two();
53777 return 0;
53779 _ACEOF
53780 if ac_fn_c_try_link "$LINENO"; then :
53781 ac_gcsections=yes
53782 else
53783 ac_gcsections=no
53785 rm -f core conftest.err conftest.$ac_objext \
53786 conftest$ac_exeext conftest.$ac_ext
53787 if test "$ac_gcsections" = "yes"; then
53788 rm -f conftest.c
53789 touch conftest.c
53790 if $CC -c conftest.c; then
53791 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53792 grep "Warning: gc-sections option ignored" > /dev/null; then
53793 ac_gcsections=no
53796 rm -f conftest.c conftest.o conftest
53798 if test "$ac_gcsections" = "yes"; then
53799 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53802 $as_echo "$ac_gcsections" >&6; }
53804 if test "$ac_test_CFLAGS" = set; then
53805 CFLAGS="$ac_save_CFLAGS"
53806 else
53807 # this is the suspicious part
53808 CFLAGS=''
53812 # Set -z,relro.
53813 # Note this is only for shared objects.
53814 ac_ld_relro=no
53815 if test x"$with_gnu_ld" = x"yes"; then
53816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53817 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53818 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53819 if test -n "$cxx_z_relo"; then
53820 OPT_LDFLAGS="-Wl,-z,relro"
53821 ac_ld_relro=yes
53823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53824 $as_echo "$ac_ld_relro" >&6; }
53827 # Set linker optimization flags.
53828 if test x"$with_gnu_ld" = x"yes"; then
53829 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53837 ac_save_CXXFLAGS="$CXXFLAGS"
53838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53841 $as_echo_n "checking for sin in -lm... " >&6; }
53842 if test "${ac_cv_lib_m_sin+set}" = set; then :
53843 $as_echo_n "(cached) " >&6
53844 else
53845 ac_check_lib_save_LIBS=$LIBS
53846 LIBS="-lm $LIBS"
53847 if test x$gcc_no_link = xyes; then
53848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53851 /* end confdefs.h. */
53853 /* Override any GCC internal prototype to avoid an error.
53854 Use char because int might match the return type of a GCC
53855 builtin and then its argument prototype would still apply. */
53856 #ifdef __cplusplus
53857 extern "C"
53858 #endif
53859 char sin ();
53861 main ()
53863 return sin ();
53865 return 0;
53867 _ACEOF
53868 if ac_fn_c_try_link "$LINENO"; then :
53869 ac_cv_lib_m_sin=yes
53870 else
53871 ac_cv_lib_m_sin=no
53873 rm -f core conftest.err conftest.$ac_objext \
53874 conftest$ac_exeext conftest.$ac_ext
53875 LIBS=$ac_check_lib_save_LIBS
53877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53878 $as_echo "$ac_cv_lib_m_sin" >&6; }
53879 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53880 libm="-lm"
53883 ac_save_LIBS="$LIBS"
53884 LIBS="$LIBS $libm"
53888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53889 $as_echo_n "checking for isinf declaration... " >&6; }
53890 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53891 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53892 $as_echo_n "(cached) " >&6
53893 else
53896 ac_ext=cpp
53897 ac_cpp='$CXXCPP $CPPFLAGS'
53898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53903 /* end confdefs.h. */
53904 #include <math.h>
53905 #ifdef HAVE_IEEEFP_H
53906 #include <ieeefp.h>
53907 #endif
53910 main ()
53912 isinf(0);
53914 return 0;
53916 _ACEOF
53917 if ac_fn_cxx_try_compile "$LINENO"; then :
53918 glibcxx_cv_func_isinf_use=yes
53919 else
53920 glibcxx_cv_func_isinf_use=no
53922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53923 ac_ext=c
53924 ac_cpp='$CPP $CPPFLAGS'
53925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53934 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53936 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53937 for ac_func in isinf
53938 do :
53939 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53940 if test "x$ac_cv_func_isinf" = x""yes; then :
53941 cat >>confdefs.h <<_ACEOF
53942 #define HAVE_ISINF 1
53943 _ACEOF
53946 done
53948 else
53950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53951 $as_echo_n "checking for _isinf declaration... " >&6; }
53952 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53953 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53954 $as_echo_n "(cached) " >&6
53955 else
53958 ac_ext=cpp
53959 ac_cpp='$CXXCPP $CPPFLAGS'
53960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53965 /* end confdefs.h. */
53966 #include <math.h>
53967 #ifdef HAVE_IEEEFP_H
53968 #include <ieeefp.h>
53969 #endif
53972 main ()
53974 _isinf(0);
53976 return 0;
53978 _ACEOF
53979 if ac_fn_cxx_try_compile "$LINENO"; then :
53980 glibcxx_cv_func__isinf_use=yes
53981 else
53982 glibcxx_cv_func__isinf_use=no
53984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53985 ac_ext=c
53986 ac_cpp='$CPP $CPPFLAGS'
53987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53996 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53998 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53999 for ac_func in _isinf
54000 do :
54001 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54002 if test "x$ac_cv_func__isinf" = x""yes; then :
54003 cat >>confdefs.h <<_ACEOF
54004 #define HAVE__ISINF 1
54005 _ACEOF
54008 done
54017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54018 $as_echo_n "checking for isnan declaration... " >&6; }
54019 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54020 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54021 $as_echo_n "(cached) " >&6
54022 else
54025 ac_ext=cpp
54026 ac_cpp='$CXXCPP $CPPFLAGS'
54027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54032 /* end confdefs.h. */
54033 #include <math.h>
54034 #ifdef HAVE_IEEEFP_H
54035 #include <ieeefp.h>
54036 #endif
54039 main ()
54041 isnan(0);
54043 return 0;
54045 _ACEOF
54046 if ac_fn_cxx_try_compile "$LINENO"; then :
54047 glibcxx_cv_func_isnan_use=yes
54048 else
54049 glibcxx_cv_func_isnan_use=no
54051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54052 ac_ext=c
54053 ac_cpp='$CPP $CPPFLAGS'
54054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54063 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54065 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54066 for ac_func in isnan
54067 do :
54068 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54069 if test "x$ac_cv_func_isnan" = x""yes; then :
54070 cat >>confdefs.h <<_ACEOF
54071 #define HAVE_ISNAN 1
54072 _ACEOF
54075 done
54077 else
54079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54080 $as_echo_n "checking for _isnan declaration... " >&6; }
54081 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54082 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54083 $as_echo_n "(cached) " >&6
54084 else
54087 ac_ext=cpp
54088 ac_cpp='$CXXCPP $CPPFLAGS'
54089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54094 /* end confdefs.h. */
54095 #include <math.h>
54096 #ifdef HAVE_IEEEFP_H
54097 #include <ieeefp.h>
54098 #endif
54101 main ()
54103 _isnan(0);
54105 return 0;
54107 _ACEOF
54108 if ac_fn_cxx_try_compile "$LINENO"; then :
54109 glibcxx_cv_func__isnan_use=yes
54110 else
54111 glibcxx_cv_func__isnan_use=no
54113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54114 ac_ext=c
54115 ac_cpp='$CPP $CPPFLAGS'
54116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54125 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54127 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54128 for ac_func in _isnan
54129 do :
54130 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54131 if test "x$ac_cv_func__isnan" = x""yes; then :
54132 cat >>confdefs.h <<_ACEOF
54133 #define HAVE__ISNAN 1
54134 _ACEOF
54137 done
54146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54147 $as_echo_n "checking for finite declaration... " >&6; }
54148 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54149 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54150 $as_echo_n "(cached) " >&6
54151 else
54154 ac_ext=cpp
54155 ac_cpp='$CXXCPP $CPPFLAGS'
54156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54161 /* end confdefs.h. */
54162 #include <math.h>
54163 #ifdef HAVE_IEEEFP_H
54164 #include <ieeefp.h>
54165 #endif
54168 main ()
54170 finite(0);
54172 return 0;
54174 _ACEOF
54175 if ac_fn_cxx_try_compile "$LINENO"; then :
54176 glibcxx_cv_func_finite_use=yes
54177 else
54178 glibcxx_cv_func_finite_use=no
54180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54181 ac_ext=c
54182 ac_cpp='$CPP $CPPFLAGS'
54183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54192 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54194 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54195 for ac_func in finite
54196 do :
54197 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54198 if test "x$ac_cv_func_finite" = x""yes; then :
54199 cat >>confdefs.h <<_ACEOF
54200 #define HAVE_FINITE 1
54201 _ACEOF
54204 done
54206 else
54208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54209 $as_echo_n "checking for _finite declaration... " >&6; }
54210 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54211 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54212 $as_echo_n "(cached) " >&6
54213 else
54216 ac_ext=cpp
54217 ac_cpp='$CXXCPP $CPPFLAGS'
54218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54223 /* end confdefs.h. */
54224 #include <math.h>
54225 #ifdef HAVE_IEEEFP_H
54226 #include <ieeefp.h>
54227 #endif
54230 main ()
54232 _finite(0);
54234 return 0;
54236 _ACEOF
54237 if ac_fn_cxx_try_compile "$LINENO"; then :
54238 glibcxx_cv_func__finite_use=yes
54239 else
54240 glibcxx_cv_func__finite_use=no
54242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54243 ac_ext=c
54244 ac_cpp='$CPP $CPPFLAGS'
54245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54254 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54256 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54257 for ac_func in _finite
54258 do :
54259 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54260 if test "x$ac_cv_func__finite" = x""yes; then :
54261 cat >>confdefs.h <<_ACEOF
54262 #define HAVE__FINITE 1
54263 _ACEOF
54266 done
54275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54276 $as_echo_n "checking for sincos declaration... " >&6; }
54277 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54278 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54279 $as_echo_n "(cached) " >&6
54280 else
54283 ac_ext=cpp
54284 ac_cpp='$CXXCPP $CPPFLAGS'
54285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54290 /* end confdefs.h. */
54291 #include <math.h>
54293 main ()
54295 sincos(0, 0, 0);
54297 return 0;
54299 _ACEOF
54300 if ac_fn_cxx_try_compile "$LINENO"; then :
54301 glibcxx_cv_func_sincos_use=yes
54302 else
54303 glibcxx_cv_func_sincos_use=no
54305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54306 ac_ext=c
54307 ac_cpp='$CPP $CPPFLAGS'
54308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54317 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54319 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54320 for ac_func in sincos
54321 do :
54322 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54323 if test "x$ac_cv_func_sincos" = x""yes; then :
54324 cat >>confdefs.h <<_ACEOF
54325 #define HAVE_SINCOS 1
54326 _ACEOF
54329 done
54331 else
54333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54334 $as_echo_n "checking for _sincos declaration... " >&6; }
54335 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54336 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54337 $as_echo_n "(cached) " >&6
54338 else
54341 ac_ext=cpp
54342 ac_cpp='$CXXCPP $CPPFLAGS'
54343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54348 /* end confdefs.h. */
54349 #include <math.h>
54351 main ()
54353 _sincos(0, 0, 0);
54355 return 0;
54357 _ACEOF
54358 if ac_fn_cxx_try_compile "$LINENO"; then :
54359 glibcxx_cv_func__sincos_use=yes
54360 else
54361 glibcxx_cv_func__sincos_use=no
54363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54364 ac_ext=c
54365 ac_cpp='$CPP $CPPFLAGS'
54366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54375 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54377 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54378 for ac_func in _sincos
54379 do :
54380 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54381 if test "x$ac_cv_func__sincos" = x""yes; then :
54382 cat >>confdefs.h <<_ACEOF
54383 #define HAVE__SINCOS 1
54384 _ACEOF
54387 done
54396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54397 $as_echo_n "checking for fpclass declaration... " >&6; }
54398 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54399 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54400 $as_echo_n "(cached) " >&6
54401 else
54404 ac_ext=cpp
54405 ac_cpp='$CXXCPP $CPPFLAGS'
54406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54411 /* end confdefs.h. */
54412 #include <math.h>
54413 #ifdef HAVE_IEEEFP_H
54414 #include <ieeefp.h>
54415 #endif
54418 main ()
54420 fpclass(0);
54422 return 0;
54424 _ACEOF
54425 if ac_fn_cxx_try_compile "$LINENO"; then :
54426 glibcxx_cv_func_fpclass_use=yes
54427 else
54428 glibcxx_cv_func_fpclass_use=no
54430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54431 ac_ext=c
54432 ac_cpp='$CPP $CPPFLAGS'
54433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54442 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54444 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54445 for ac_func in fpclass
54446 do :
54447 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54448 if test "x$ac_cv_func_fpclass" = x""yes; then :
54449 cat >>confdefs.h <<_ACEOF
54450 #define HAVE_FPCLASS 1
54451 _ACEOF
54454 done
54456 else
54458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54459 $as_echo_n "checking for _fpclass declaration... " >&6; }
54460 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54461 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54462 $as_echo_n "(cached) " >&6
54463 else
54466 ac_ext=cpp
54467 ac_cpp='$CXXCPP $CPPFLAGS'
54468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54473 /* end confdefs.h. */
54474 #include <math.h>
54475 #ifdef HAVE_IEEEFP_H
54476 #include <ieeefp.h>
54477 #endif
54480 main ()
54482 _fpclass(0);
54484 return 0;
54486 _ACEOF
54487 if ac_fn_cxx_try_compile "$LINENO"; then :
54488 glibcxx_cv_func__fpclass_use=yes
54489 else
54490 glibcxx_cv_func__fpclass_use=no
54492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54493 ac_ext=c
54494 ac_cpp='$CPP $CPPFLAGS'
54495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54504 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54506 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54507 for ac_func in _fpclass
54508 do :
54509 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54510 if test "x$ac_cv_func__fpclass" = x""yes; then :
54511 cat >>confdefs.h <<_ACEOF
54512 #define HAVE__FPCLASS 1
54513 _ACEOF
54516 done
54525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54526 $as_echo_n "checking for qfpclass declaration... " >&6; }
54527 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54528 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54529 $as_echo_n "(cached) " >&6
54530 else
54533 ac_ext=cpp
54534 ac_cpp='$CXXCPP $CPPFLAGS'
54535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54540 /* end confdefs.h. */
54541 #include <math.h>
54542 #ifdef HAVE_IEEEFP_H
54543 #include <ieeefp.h>
54544 #endif
54547 main ()
54549 qfpclass(0);
54551 return 0;
54553 _ACEOF
54554 if ac_fn_cxx_try_compile "$LINENO"; then :
54555 glibcxx_cv_func_qfpclass_use=yes
54556 else
54557 glibcxx_cv_func_qfpclass_use=no
54559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54560 ac_ext=c
54561 ac_cpp='$CPP $CPPFLAGS'
54562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54571 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54573 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54574 for ac_func in qfpclass
54575 do :
54576 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54577 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54578 cat >>confdefs.h <<_ACEOF
54579 #define HAVE_QFPCLASS 1
54580 _ACEOF
54583 done
54585 else
54587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54588 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54589 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54590 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54591 $as_echo_n "(cached) " >&6
54592 else
54595 ac_ext=cpp
54596 ac_cpp='$CXXCPP $CPPFLAGS'
54597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54602 /* end confdefs.h. */
54603 #include <math.h>
54604 #ifdef HAVE_IEEEFP_H
54605 #include <ieeefp.h>
54606 #endif
54609 main ()
54611 _qfpclass(0);
54613 return 0;
54615 _ACEOF
54616 if ac_fn_cxx_try_compile "$LINENO"; then :
54617 glibcxx_cv_func__qfpclass_use=yes
54618 else
54619 glibcxx_cv_func__qfpclass_use=no
54621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54622 ac_ext=c
54623 ac_cpp='$CPP $CPPFLAGS'
54624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54633 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54635 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54636 for ac_func in _qfpclass
54637 do :
54638 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54639 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54640 cat >>confdefs.h <<_ACEOF
54641 #define HAVE__QFPCLASS 1
54642 _ACEOF
54645 done
54654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54655 $as_echo_n "checking for hypot declaration... " >&6; }
54656 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54657 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54658 $as_echo_n "(cached) " >&6
54659 else
54662 ac_ext=cpp
54663 ac_cpp='$CXXCPP $CPPFLAGS'
54664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54669 /* end confdefs.h. */
54670 #include <math.h>
54672 main ()
54674 hypot(0, 0);
54676 return 0;
54678 _ACEOF
54679 if ac_fn_cxx_try_compile "$LINENO"; then :
54680 glibcxx_cv_func_hypot_use=yes
54681 else
54682 glibcxx_cv_func_hypot_use=no
54684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54685 ac_ext=c
54686 ac_cpp='$CPP $CPPFLAGS'
54687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54696 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54698 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54699 for ac_func in hypot
54700 do :
54701 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54702 if test "x$ac_cv_func_hypot" = x""yes; then :
54703 cat >>confdefs.h <<_ACEOF
54704 #define HAVE_HYPOT 1
54705 _ACEOF
54708 done
54710 else
54712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54713 $as_echo_n "checking for _hypot declaration... " >&6; }
54714 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54715 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54716 $as_echo_n "(cached) " >&6
54717 else
54720 ac_ext=cpp
54721 ac_cpp='$CXXCPP $CPPFLAGS'
54722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54727 /* end confdefs.h. */
54728 #include <math.h>
54730 main ()
54732 _hypot(0, 0);
54734 return 0;
54736 _ACEOF
54737 if ac_fn_cxx_try_compile "$LINENO"; then :
54738 glibcxx_cv_func__hypot_use=yes
54739 else
54740 glibcxx_cv_func__hypot_use=no
54742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54743 ac_ext=c
54744 ac_cpp='$CPP $CPPFLAGS'
54745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54754 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54756 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54757 for ac_func in _hypot
54758 do :
54759 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54760 if test "x$ac_cv_func__hypot" = x""yes; then :
54761 cat >>confdefs.h <<_ACEOF
54762 #define HAVE__HYPOT 1
54763 _ACEOF
54766 done
54775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54776 $as_echo_n "checking for float trig functions... " >&6; }
54777 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54778 $as_echo_n "(cached) " >&6
54779 else
54782 ac_ext=cpp
54783 ac_cpp='$CXXCPP $CPPFLAGS'
54784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54789 /* end confdefs.h. */
54790 #include <math.h>
54792 main ()
54794 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54796 return 0;
54798 _ACEOF
54799 if ac_fn_cxx_try_compile "$LINENO"; then :
54800 glibcxx_cv_func_float_trig_use=yes
54801 else
54802 glibcxx_cv_func_float_trig_use=no
54804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54805 ac_ext=c
54806 ac_cpp='$CPP $CPPFLAGS'
54807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54814 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54815 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54816 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54817 do :
54818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54820 eval as_val=\$$as_ac_var
54821 if test "x$as_val" = x""yes; then :
54822 cat >>confdefs.h <<_ACEOF
54823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54824 _ACEOF
54827 done
54829 else
54830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54831 $as_echo_n "checking for _float trig functions... " >&6; }
54832 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54833 $as_echo_n "(cached) " >&6
54834 else
54837 ac_ext=cpp
54838 ac_cpp='$CXXCPP $CPPFLAGS'
54839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54844 /* end confdefs.h. */
54845 #include <math.h>
54847 main ()
54849 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54851 return 0;
54853 _ACEOF
54854 if ac_fn_cxx_try_compile "$LINENO"; then :
54855 glibcxx_cv_func__float_trig_use=yes
54856 else
54857 glibcxx_cv_func__float_trig_use=no
54859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54860 ac_ext=c
54861 ac_cpp='$CPP $CPPFLAGS'
54862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54869 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54870 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54871 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54872 do :
54873 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54874 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54875 eval as_val=\$$as_ac_var
54876 if test "x$as_val" = x""yes; then :
54877 cat >>confdefs.h <<_ACEOF
54878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54879 _ACEOF
54882 done
54891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54892 $as_echo_n "checking for float round functions... " >&6; }
54893 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54894 $as_echo_n "(cached) " >&6
54895 else
54898 ac_ext=cpp
54899 ac_cpp='$CXXCPP $CPPFLAGS'
54900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54905 /* end confdefs.h. */
54906 #include <math.h>
54908 main ()
54910 ceilf (0); floorf (0);
54912 return 0;
54914 _ACEOF
54915 if ac_fn_cxx_try_compile "$LINENO"; then :
54916 glibcxx_cv_func_float_round_use=yes
54917 else
54918 glibcxx_cv_func_float_round_use=no
54920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54921 ac_ext=c
54922 ac_cpp='$CPP $CPPFLAGS'
54923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54930 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54931 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54932 for ac_func in ceilf floorf
54933 do :
54934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54936 eval as_val=\$$as_ac_var
54937 if test "x$as_val" = x""yes; then :
54938 cat >>confdefs.h <<_ACEOF
54939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54940 _ACEOF
54943 done
54945 else
54946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54947 $as_echo_n "checking for _float round functions... " >&6; }
54948 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54949 $as_echo_n "(cached) " >&6
54950 else
54953 ac_ext=cpp
54954 ac_cpp='$CXXCPP $CPPFLAGS'
54955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54960 /* end confdefs.h. */
54961 #include <math.h>
54963 main ()
54965 _ceilf (0); _floorf (0);
54967 return 0;
54969 _ACEOF
54970 if ac_fn_cxx_try_compile "$LINENO"; then :
54971 glibcxx_cv_func__float_round_use=yes
54972 else
54973 glibcxx_cv_func__float_round_use=no
54975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54976 ac_ext=c
54977 ac_cpp='$CPP $CPPFLAGS'
54978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54985 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54986 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54987 for ac_func in _ceilf _floorf
54988 do :
54989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54991 eval as_val=\$$as_ac_var
54992 if test "x$as_val" = x""yes; then :
54993 cat >>confdefs.h <<_ACEOF
54994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54995 _ACEOF
54998 done
55008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55009 $as_echo_n "checking for expf declaration... " >&6; }
55010 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55011 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55012 $as_echo_n "(cached) " >&6
55013 else
55016 ac_ext=cpp
55017 ac_cpp='$CXXCPP $CPPFLAGS'
55018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55023 /* end confdefs.h. */
55024 #include <math.h>
55025 #ifdef HAVE_IEEEFP_H
55026 #include <ieeefp.h>
55027 #endif
55030 main ()
55032 expf(0);
55034 return 0;
55036 _ACEOF
55037 if ac_fn_cxx_try_compile "$LINENO"; then :
55038 glibcxx_cv_func_expf_use=yes
55039 else
55040 glibcxx_cv_func_expf_use=no
55042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55043 ac_ext=c
55044 ac_cpp='$CPP $CPPFLAGS'
55045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55054 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55056 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55057 for ac_func in expf
55058 do :
55059 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55060 if test "x$ac_cv_func_expf" = x""yes; then :
55061 cat >>confdefs.h <<_ACEOF
55062 #define HAVE_EXPF 1
55063 _ACEOF
55066 done
55068 else
55070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55071 $as_echo_n "checking for _expf declaration... " >&6; }
55072 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55073 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55074 $as_echo_n "(cached) " >&6
55075 else
55078 ac_ext=cpp
55079 ac_cpp='$CXXCPP $CPPFLAGS'
55080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55085 /* end confdefs.h. */
55086 #include <math.h>
55087 #ifdef HAVE_IEEEFP_H
55088 #include <ieeefp.h>
55089 #endif
55092 main ()
55094 _expf(0);
55096 return 0;
55098 _ACEOF
55099 if ac_fn_cxx_try_compile "$LINENO"; then :
55100 glibcxx_cv_func__expf_use=yes
55101 else
55102 glibcxx_cv_func__expf_use=no
55104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55105 ac_ext=c
55106 ac_cpp='$CPP $CPPFLAGS'
55107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55116 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55118 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55119 for ac_func in _expf
55120 do :
55121 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55122 if test "x$ac_cv_func__expf" = x""yes; then :
55123 cat >>confdefs.h <<_ACEOF
55124 #define HAVE__EXPF 1
55125 _ACEOF
55128 done
55137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55138 $as_echo_n "checking for isnanf declaration... " >&6; }
55139 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55140 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55141 $as_echo_n "(cached) " >&6
55142 else
55145 ac_ext=cpp
55146 ac_cpp='$CXXCPP $CPPFLAGS'
55147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55152 /* end confdefs.h. */
55153 #include <math.h>
55154 #ifdef HAVE_IEEEFP_H
55155 #include <ieeefp.h>
55156 #endif
55159 main ()
55161 isnanf(0);
55163 return 0;
55165 _ACEOF
55166 if ac_fn_cxx_try_compile "$LINENO"; then :
55167 glibcxx_cv_func_isnanf_use=yes
55168 else
55169 glibcxx_cv_func_isnanf_use=no
55171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55172 ac_ext=c
55173 ac_cpp='$CPP $CPPFLAGS'
55174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55183 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55185 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55186 for ac_func in isnanf
55187 do :
55188 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55189 if test "x$ac_cv_func_isnanf" = x""yes; then :
55190 cat >>confdefs.h <<_ACEOF
55191 #define HAVE_ISNANF 1
55192 _ACEOF
55195 done
55197 else
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55200 $as_echo_n "checking for _isnanf declaration... " >&6; }
55201 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55202 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55203 $as_echo_n "(cached) " >&6
55204 else
55207 ac_ext=cpp
55208 ac_cpp='$CXXCPP $CPPFLAGS'
55209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55214 /* end confdefs.h. */
55215 #include <math.h>
55216 #ifdef HAVE_IEEEFP_H
55217 #include <ieeefp.h>
55218 #endif
55221 main ()
55223 _isnanf(0);
55225 return 0;
55227 _ACEOF
55228 if ac_fn_cxx_try_compile "$LINENO"; then :
55229 glibcxx_cv_func__isnanf_use=yes
55230 else
55231 glibcxx_cv_func__isnanf_use=no
55233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55234 ac_ext=c
55235 ac_cpp='$CPP $CPPFLAGS'
55236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55245 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55247 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55248 for ac_func in _isnanf
55249 do :
55250 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55251 if test "x$ac_cv_func__isnanf" = x""yes; then :
55252 cat >>confdefs.h <<_ACEOF
55253 #define HAVE__ISNANF 1
55254 _ACEOF
55257 done
55266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55267 $as_echo_n "checking for isinff declaration... " >&6; }
55268 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55269 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55270 $as_echo_n "(cached) " >&6
55271 else
55274 ac_ext=cpp
55275 ac_cpp='$CXXCPP $CPPFLAGS'
55276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55281 /* end confdefs.h. */
55282 #include <math.h>
55283 #ifdef HAVE_IEEEFP_H
55284 #include <ieeefp.h>
55285 #endif
55288 main ()
55290 isinff(0);
55292 return 0;
55294 _ACEOF
55295 if ac_fn_cxx_try_compile "$LINENO"; then :
55296 glibcxx_cv_func_isinff_use=yes
55297 else
55298 glibcxx_cv_func_isinff_use=no
55300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55301 ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55312 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55314 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55315 for ac_func in isinff
55316 do :
55317 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55318 if test "x$ac_cv_func_isinff" = x""yes; then :
55319 cat >>confdefs.h <<_ACEOF
55320 #define HAVE_ISINFF 1
55321 _ACEOF
55324 done
55326 else
55328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55329 $as_echo_n "checking for _isinff declaration... " >&6; }
55330 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55331 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55332 $as_echo_n "(cached) " >&6
55333 else
55336 ac_ext=cpp
55337 ac_cpp='$CXXCPP $CPPFLAGS'
55338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55343 /* end confdefs.h. */
55344 #include <math.h>
55345 #ifdef HAVE_IEEEFP_H
55346 #include <ieeefp.h>
55347 #endif
55350 main ()
55352 _isinff(0);
55354 return 0;
55356 _ACEOF
55357 if ac_fn_cxx_try_compile "$LINENO"; then :
55358 glibcxx_cv_func__isinff_use=yes
55359 else
55360 glibcxx_cv_func__isinff_use=no
55362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55363 ac_ext=c
55364 ac_cpp='$CPP $CPPFLAGS'
55365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55374 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55376 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55377 for ac_func in _isinff
55378 do :
55379 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55380 if test "x$ac_cv_func__isinff" = x""yes; then :
55381 cat >>confdefs.h <<_ACEOF
55382 #define HAVE__ISINFF 1
55383 _ACEOF
55386 done
55395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55396 $as_echo_n "checking for atan2f declaration... " >&6; }
55397 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55398 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55399 $as_echo_n "(cached) " >&6
55400 else
55403 ac_ext=cpp
55404 ac_cpp='$CXXCPP $CPPFLAGS'
55405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55410 /* end confdefs.h. */
55411 #include <math.h>
55413 main ()
55415 atan2f(0, 0);
55417 return 0;
55419 _ACEOF
55420 if ac_fn_cxx_try_compile "$LINENO"; then :
55421 glibcxx_cv_func_atan2f_use=yes
55422 else
55423 glibcxx_cv_func_atan2f_use=no
55425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55426 ac_ext=c
55427 ac_cpp='$CPP $CPPFLAGS'
55428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55437 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55439 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55440 for ac_func in atan2f
55441 do :
55442 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55443 if test "x$ac_cv_func_atan2f" = x""yes; then :
55444 cat >>confdefs.h <<_ACEOF
55445 #define HAVE_ATAN2F 1
55446 _ACEOF
55449 done
55451 else
55453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55454 $as_echo_n "checking for _atan2f declaration... " >&6; }
55455 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55456 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55457 $as_echo_n "(cached) " >&6
55458 else
55461 ac_ext=cpp
55462 ac_cpp='$CXXCPP $CPPFLAGS'
55463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55468 /* end confdefs.h. */
55469 #include <math.h>
55471 main ()
55473 _atan2f(0, 0);
55475 return 0;
55477 _ACEOF
55478 if ac_fn_cxx_try_compile "$LINENO"; then :
55479 glibcxx_cv_func__atan2f_use=yes
55480 else
55481 glibcxx_cv_func__atan2f_use=no
55483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55484 ac_ext=c
55485 ac_cpp='$CPP $CPPFLAGS'
55486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55495 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55497 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55498 for ac_func in _atan2f
55499 do :
55500 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55501 if test "x$ac_cv_func__atan2f" = x""yes; then :
55502 cat >>confdefs.h <<_ACEOF
55503 #define HAVE__ATAN2F 1
55504 _ACEOF
55507 done
55516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55517 $as_echo_n "checking for fabsf declaration... " >&6; }
55518 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55519 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55520 $as_echo_n "(cached) " >&6
55521 else
55524 ac_ext=cpp
55525 ac_cpp='$CXXCPP $CPPFLAGS'
55526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55531 /* end confdefs.h. */
55532 #include <math.h>
55533 #ifdef HAVE_IEEEFP_H
55534 #include <ieeefp.h>
55535 #endif
55538 main ()
55540 fabsf(0);
55542 return 0;
55544 _ACEOF
55545 if ac_fn_cxx_try_compile "$LINENO"; then :
55546 glibcxx_cv_func_fabsf_use=yes
55547 else
55548 glibcxx_cv_func_fabsf_use=no
55550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55551 ac_ext=c
55552 ac_cpp='$CPP $CPPFLAGS'
55553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55562 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55564 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55565 for ac_func in fabsf
55566 do :
55567 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55568 if test "x$ac_cv_func_fabsf" = x""yes; then :
55569 cat >>confdefs.h <<_ACEOF
55570 #define HAVE_FABSF 1
55571 _ACEOF
55574 done
55576 else
55578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55579 $as_echo_n "checking for _fabsf declaration... " >&6; }
55580 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55581 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55582 $as_echo_n "(cached) " >&6
55583 else
55586 ac_ext=cpp
55587 ac_cpp='$CXXCPP $CPPFLAGS'
55588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55593 /* end confdefs.h. */
55594 #include <math.h>
55595 #ifdef HAVE_IEEEFP_H
55596 #include <ieeefp.h>
55597 #endif
55600 main ()
55602 _fabsf(0);
55604 return 0;
55606 _ACEOF
55607 if ac_fn_cxx_try_compile "$LINENO"; then :
55608 glibcxx_cv_func__fabsf_use=yes
55609 else
55610 glibcxx_cv_func__fabsf_use=no
55612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55613 ac_ext=c
55614 ac_cpp='$CPP $CPPFLAGS'
55615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55624 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55626 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55627 for ac_func in _fabsf
55628 do :
55629 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55630 if test "x$ac_cv_func__fabsf" = x""yes; then :
55631 cat >>confdefs.h <<_ACEOF
55632 #define HAVE__FABSF 1
55633 _ACEOF
55636 done
55645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55646 $as_echo_n "checking for fmodf declaration... " >&6; }
55647 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55648 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55649 $as_echo_n "(cached) " >&6
55650 else
55653 ac_ext=cpp
55654 ac_cpp='$CXXCPP $CPPFLAGS'
55655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55660 /* end confdefs.h. */
55661 #include <math.h>
55663 main ()
55665 fmodf(0, 0);
55667 return 0;
55669 _ACEOF
55670 if ac_fn_cxx_try_compile "$LINENO"; then :
55671 glibcxx_cv_func_fmodf_use=yes
55672 else
55673 glibcxx_cv_func_fmodf_use=no
55675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55676 ac_ext=c
55677 ac_cpp='$CPP $CPPFLAGS'
55678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55687 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55689 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55690 for ac_func in fmodf
55691 do :
55692 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55693 if test "x$ac_cv_func_fmodf" = x""yes; then :
55694 cat >>confdefs.h <<_ACEOF
55695 #define HAVE_FMODF 1
55696 _ACEOF
55699 done
55701 else
55703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55704 $as_echo_n "checking for _fmodf declaration... " >&6; }
55705 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55706 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55707 $as_echo_n "(cached) " >&6
55708 else
55711 ac_ext=cpp
55712 ac_cpp='$CXXCPP $CPPFLAGS'
55713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55718 /* end confdefs.h. */
55719 #include <math.h>
55721 main ()
55723 _fmodf(0, 0);
55725 return 0;
55727 _ACEOF
55728 if ac_fn_cxx_try_compile "$LINENO"; then :
55729 glibcxx_cv_func__fmodf_use=yes
55730 else
55731 glibcxx_cv_func__fmodf_use=no
55733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55734 ac_ext=c
55735 ac_cpp='$CPP $CPPFLAGS'
55736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55745 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55747 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55748 for ac_func in _fmodf
55749 do :
55750 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55751 if test "x$ac_cv_func__fmodf" = x""yes; then :
55752 cat >>confdefs.h <<_ACEOF
55753 #define HAVE__FMODF 1
55754 _ACEOF
55757 done
55766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55767 $as_echo_n "checking for frexpf declaration... " >&6; }
55768 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55769 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55770 $as_echo_n "(cached) " >&6
55771 else
55774 ac_ext=cpp
55775 ac_cpp='$CXXCPP $CPPFLAGS'
55776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55781 /* end confdefs.h. */
55782 #include <math.h>
55784 main ()
55786 frexpf(0, 0);
55788 return 0;
55790 _ACEOF
55791 if ac_fn_cxx_try_compile "$LINENO"; then :
55792 glibcxx_cv_func_frexpf_use=yes
55793 else
55794 glibcxx_cv_func_frexpf_use=no
55796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55797 ac_ext=c
55798 ac_cpp='$CPP $CPPFLAGS'
55799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55808 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55810 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55811 for ac_func in frexpf
55812 do :
55813 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55814 if test "x$ac_cv_func_frexpf" = x""yes; then :
55815 cat >>confdefs.h <<_ACEOF
55816 #define HAVE_FREXPF 1
55817 _ACEOF
55820 done
55822 else
55824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55825 $as_echo_n "checking for _frexpf declaration... " >&6; }
55826 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55827 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55828 $as_echo_n "(cached) " >&6
55829 else
55832 ac_ext=cpp
55833 ac_cpp='$CXXCPP $CPPFLAGS'
55834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55839 /* end confdefs.h. */
55840 #include <math.h>
55842 main ()
55844 _frexpf(0, 0);
55846 return 0;
55848 _ACEOF
55849 if ac_fn_cxx_try_compile "$LINENO"; then :
55850 glibcxx_cv_func__frexpf_use=yes
55851 else
55852 glibcxx_cv_func__frexpf_use=no
55854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55855 ac_ext=c
55856 ac_cpp='$CPP $CPPFLAGS'
55857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55866 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55868 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55869 for ac_func in _frexpf
55870 do :
55871 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55872 if test "x$ac_cv_func__frexpf" = x""yes; then :
55873 cat >>confdefs.h <<_ACEOF
55874 #define HAVE__FREXPF 1
55875 _ACEOF
55878 done
55887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55888 $as_echo_n "checking for hypotf declaration... " >&6; }
55889 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55890 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55891 $as_echo_n "(cached) " >&6
55892 else
55895 ac_ext=cpp
55896 ac_cpp='$CXXCPP $CPPFLAGS'
55897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55902 /* end confdefs.h. */
55903 #include <math.h>
55905 main ()
55907 hypotf(0, 0);
55909 return 0;
55911 _ACEOF
55912 if ac_fn_cxx_try_compile "$LINENO"; then :
55913 glibcxx_cv_func_hypotf_use=yes
55914 else
55915 glibcxx_cv_func_hypotf_use=no
55917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55918 ac_ext=c
55919 ac_cpp='$CPP $CPPFLAGS'
55920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55929 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55931 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55932 for ac_func in hypotf
55933 do :
55934 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55935 if test "x$ac_cv_func_hypotf" = x""yes; then :
55936 cat >>confdefs.h <<_ACEOF
55937 #define HAVE_HYPOTF 1
55938 _ACEOF
55941 done
55943 else
55945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55946 $as_echo_n "checking for _hypotf declaration... " >&6; }
55947 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55948 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55949 $as_echo_n "(cached) " >&6
55950 else
55953 ac_ext=cpp
55954 ac_cpp='$CXXCPP $CPPFLAGS'
55955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55960 /* end confdefs.h. */
55961 #include <math.h>
55963 main ()
55965 _hypotf(0, 0);
55967 return 0;
55969 _ACEOF
55970 if ac_fn_cxx_try_compile "$LINENO"; then :
55971 glibcxx_cv_func__hypotf_use=yes
55972 else
55973 glibcxx_cv_func__hypotf_use=no
55975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55976 ac_ext=c
55977 ac_cpp='$CPP $CPPFLAGS'
55978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55987 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55989 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55990 for ac_func in _hypotf
55991 do :
55992 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55993 if test "x$ac_cv_func__hypotf" = x""yes; then :
55994 cat >>confdefs.h <<_ACEOF
55995 #define HAVE__HYPOTF 1
55996 _ACEOF
55999 done
56008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56009 $as_echo_n "checking for ldexpf declaration... " >&6; }
56010 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56011 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56012 $as_echo_n "(cached) " >&6
56013 else
56016 ac_ext=cpp
56017 ac_cpp='$CXXCPP $CPPFLAGS'
56018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56023 /* end confdefs.h. */
56024 #include <math.h>
56026 main ()
56028 ldexpf(0, 0);
56030 return 0;
56032 _ACEOF
56033 if ac_fn_cxx_try_compile "$LINENO"; then :
56034 glibcxx_cv_func_ldexpf_use=yes
56035 else
56036 glibcxx_cv_func_ldexpf_use=no
56038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56039 ac_ext=c
56040 ac_cpp='$CPP $CPPFLAGS'
56041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56050 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56052 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56053 for ac_func in ldexpf
56054 do :
56055 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56056 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56057 cat >>confdefs.h <<_ACEOF
56058 #define HAVE_LDEXPF 1
56059 _ACEOF
56062 done
56064 else
56066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56067 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56068 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56069 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56070 $as_echo_n "(cached) " >&6
56071 else
56074 ac_ext=cpp
56075 ac_cpp='$CXXCPP $CPPFLAGS'
56076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56081 /* end confdefs.h. */
56082 #include <math.h>
56084 main ()
56086 _ldexpf(0, 0);
56088 return 0;
56090 _ACEOF
56091 if ac_fn_cxx_try_compile "$LINENO"; then :
56092 glibcxx_cv_func__ldexpf_use=yes
56093 else
56094 glibcxx_cv_func__ldexpf_use=no
56096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56097 ac_ext=c
56098 ac_cpp='$CPP $CPPFLAGS'
56099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56108 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56110 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56111 for ac_func in _ldexpf
56112 do :
56113 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56114 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56115 cat >>confdefs.h <<_ACEOF
56116 #define HAVE__LDEXPF 1
56117 _ACEOF
56120 done
56129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56130 $as_echo_n "checking for logf declaration... " >&6; }
56131 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56132 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56133 $as_echo_n "(cached) " >&6
56134 else
56137 ac_ext=cpp
56138 ac_cpp='$CXXCPP $CPPFLAGS'
56139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56144 /* end confdefs.h. */
56145 #include <math.h>
56146 #ifdef HAVE_IEEEFP_H
56147 #include <ieeefp.h>
56148 #endif
56151 main ()
56153 logf(0);
56155 return 0;
56157 _ACEOF
56158 if ac_fn_cxx_try_compile "$LINENO"; then :
56159 glibcxx_cv_func_logf_use=yes
56160 else
56161 glibcxx_cv_func_logf_use=no
56163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56164 ac_ext=c
56165 ac_cpp='$CPP $CPPFLAGS'
56166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56175 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56177 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56178 for ac_func in logf
56179 do :
56180 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56181 if test "x$ac_cv_func_logf" = x""yes; then :
56182 cat >>confdefs.h <<_ACEOF
56183 #define HAVE_LOGF 1
56184 _ACEOF
56187 done
56189 else
56191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56192 $as_echo_n "checking for _logf declaration... " >&6; }
56193 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56194 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56195 $as_echo_n "(cached) " >&6
56196 else
56199 ac_ext=cpp
56200 ac_cpp='$CXXCPP $CPPFLAGS'
56201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56206 /* end confdefs.h. */
56207 #include <math.h>
56208 #ifdef HAVE_IEEEFP_H
56209 #include <ieeefp.h>
56210 #endif
56213 main ()
56215 _logf(0);
56217 return 0;
56219 _ACEOF
56220 if ac_fn_cxx_try_compile "$LINENO"; then :
56221 glibcxx_cv_func__logf_use=yes
56222 else
56223 glibcxx_cv_func__logf_use=no
56225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56226 ac_ext=c
56227 ac_cpp='$CPP $CPPFLAGS'
56228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56237 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56239 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56240 for ac_func in _logf
56241 do :
56242 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56243 if test "x$ac_cv_func__logf" = x""yes; then :
56244 cat >>confdefs.h <<_ACEOF
56245 #define HAVE__LOGF 1
56246 _ACEOF
56249 done
56258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56259 $as_echo_n "checking for log10f declaration... " >&6; }
56260 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56261 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56262 $as_echo_n "(cached) " >&6
56263 else
56266 ac_ext=cpp
56267 ac_cpp='$CXXCPP $CPPFLAGS'
56268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56273 /* end confdefs.h. */
56274 #include <math.h>
56275 #ifdef HAVE_IEEEFP_H
56276 #include <ieeefp.h>
56277 #endif
56280 main ()
56282 log10f(0);
56284 return 0;
56286 _ACEOF
56287 if ac_fn_cxx_try_compile "$LINENO"; then :
56288 glibcxx_cv_func_log10f_use=yes
56289 else
56290 glibcxx_cv_func_log10f_use=no
56292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56293 ac_ext=c
56294 ac_cpp='$CPP $CPPFLAGS'
56295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56304 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56306 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56307 for ac_func in log10f
56308 do :
56309 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56310 if test "x$ac_cv_func_log10f" = x""yes; then :
56311 cat >>confdefs.h <<_ACEOF
56312 #define HAVE_LOG10F 1
56313 _ACEOF
56316 done
56318 else
56320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56321 $as_echo_n "checking for _log10f declaration... " >&6; }
56322 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56323 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56324 $as_echo_n "(cached) " >&6
56325 else
56328 ac_ext=cpp
56329 ac_cpp='$CXXCPP $CPPFLAGS'
56330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56335 /* end confdefs.h. */
56336 #include <math.h>
56337 #ifdef HAVE_IEEEFP_H
56338 #include <ieeefp.h>
56339 #endif
56342 main ()
56344 _log10f(0);
56346 return 0;
56348 _ACEOF
56349 if ac_fn_cxx_try_compile "$LINENO"; then :
56350 glibcxx_cv_func__log10f_use=yes
56351 else
56352 glibcxx_cv_func__log10f_use=no
56354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56355 ac_ext=c
56356 ac_cpp='$CPP $CPPFLAGS'
56357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56366 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56368 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56369 for ac_func in _log10f
56370 do :
56371 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56372 if test "x$ac_cv_func__log10f" = x""yes; then :
56373 cat >>confdefs.h <<_ACEOF
56374 #define HAVE__LOG10F 1
56375 _ACEOF
56378 done
56387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56388 $as_echo_n "checking for modff declaration... " >&6; }
56389 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56390 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56391 $as_echo_n "(cached) " >&6
56392 else
56395 ac_ext=cpp
56396 ac_cpp='$CXXCPP $CPPFLAGS'
56397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56402 /* end confdefs.h. */
56403 #include <math.h>
56405 main ()
56407 modff(0, 0);
56409 return 0;
56411 _ACEOF
56412 if ac_fn_cxx_try_compile "$LINENO"; then :
56413 glibcxx_cv_func_modff_use=yes
56414 else
56415 glibcxx_cv_func_modff_use=no
56417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56418 ac_ext=c
56419 ac_cpp='$CPP $CPPFLAGS'
56420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56429 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56431 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56432 for ac_func in modff
56433 do :
56434 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56435 if test "x$ac_cv_func_modff" = x""yes; then :
56436 cat >>confdefs.h <<_ACEOF
56437 #define HAVE_MODFF 1
56438 _ACEOF
56441 done
56443 else
56445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56446 $as_echo_n "checking for _modff declaration... " >&6; }
56447 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56448 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56449 $as_echo_n "(cached) " >&6
56450 else
56453 ac_ext=cpp
56454 ac_cpp='$CXXCPP $CPPFLAGS'
56455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56460 /* end confdefs.h. */
56461 #include <math.h>
56463 main ()
56465 _modff(0, 0);
56467 return 0;
56469 _ACEOF
56470 if ac_fn_cxx_try_compile "$LINENO"; then :
56471 glibcxx_cv_func__modff_use=yes
56472 else
56473 glibcxx_cv_func__modff_use=no
56475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56476 ac_ext=c
56477 ac_cpp='$CPP $CPPFLAGS'
56478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56487 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56489 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56490 for ac_func in _modff
56491 do :
56492 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56493 if test "x$ac_cv_func__modff" = x""yes; then :
56494 cat >>confdefs.h <<_ACEOF
56495 #define HAVE__MODFF 1
56496 _ACEOF
56499 done
56508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56509 $as_echo_n "checking for modf declaration... " >&6; }
56510 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56511 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56512 $as_echo_n "(cached) " >&6
56513 else
56516 ac_ext=cpp
56517 ac_cpp='$CXXCPP $CPPFLAGS'
56518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56523 /* end confdefs.h. */
56524 #include <math.h>
56526 main ()
56528 modf(0, 0);
56530 return 0;
56532 _ACEOF
56533 if ac_fn_cxx_try_compile "$LINENO"; then :
56534 glibcxx_cv_func_modf_use=yes
56535 else
56536 glibcxx_cv_func_modf_use=no
56538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56539 ac_ext=c
56540 ac_cpp='$CPP $CPPFLAGS'
56541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56550 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56552 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56553 for ac_func in modf
56554 do :
56555 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56556 if test "x$ac_cv_func_modf" = x""yes; then :
56557 cat >>confdefs.h <<_ACEOF
56558 #define HAVE_MODF 1
56559 _ACEOF
56562 done
56564 else
56566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56567 $as_echo_n "checking for _modf declaration... " >&6; }
56568 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56569 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56570 $as_echo_n "(cached) " >&6
56571 else
56574 ac_ext=cpp
56575 ac_cpp='$CXXCPP $CPPFLAGS'
56576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56581 /* end confdefs.h. */
56582 #include <math.h>
56584 main ()
56586 _modf(0, 0);
56588 return 0;
56590 _ACEOF
56591 if ac_fn_cxx_try_compile "$LINENO"; then :
56592 glibcxx_cv_func__modf_use=yes
56593 else
56594 glibcxx_cv_func__modf_use=no
56596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56597 ac_ext=c
56598 ac_cpp='$CPP $CPPFLAGS'
56599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56608 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56610 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56611 for ac_func in _modf
56612 do :
56613 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56614 if test "x$ac_cv_func__modf" = x""yes; then :
56615 cat >>confdefs.h <<_ACEOF
56616 #define HAVE__MODF 1
56617 _ACEOF
56620 done
56629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56630 $as_echo_n "checking for powf declaration... " >&6; }
56631 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56632 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56633 $as_echo_n "(cached) " >&6
56634 else
56637 ac_ext=cpp
56638 ac_cpp='$CXXCPP $CPPFLAGS'
56639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56644 /* end confdefs.h. */
56645 #include <math.h>
56647 main ()
56649 powf(0, 0);
56651 return 0;
56653 _ACEOF
56654 if ac_fn_cxx_try_compile "$LINENO"; then :
56655 glibcxx_cv_func_powf_use=yes
56656 else
56657 glibcxx_cv_func_powf_use=no
56659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56660 ac_ext=c
56661 ac_cpp='$CPP $CPPFLAGS'
56662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56671 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56673 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56674 for ac_func in powf
56675 do :
56676 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56677 if test "x$ac_cv_func_powf" = x""yes; then :
56678 cat >>confdefs.h <<_ACEOF
56679 #define HAVE_POWF 1
56680 _ACEOF
56683 done
56685 else
56687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56688 $as_echo_n "checking for _powf declaration... " >&6; }
56689 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56690 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56691 $as_echo_n "(cached) " >&6
56692 else
56695 ac_ext=cpp
56696 ac_cpp='$CXXCPP $CPPFLAGS'
56697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56702 /* end confdefs.h. */
56703 #include <math.h>
56705 main ()
56707 _powf(0, 0);
56709 return 0;
56711 _ACEOF
56712 if ac_fn_cxx_try_compile "$LINENO"; then :
56713 glibcxx_cv_func__powf_use=yes
56714 else
56715 glibcxx_cv_func__powf_use=no
56717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56718 ac_ext=c
56719 ac_cpp='$CPP $CPPFLAGS'
56720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56729 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56731 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56732 for ac_func in _powf
56733 do :
56734 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56735 if test "x$ac_cv_func__powf" = x""yes; then :
56736 cat >>confdefs.h <<_ACEOF
56737 #define HAVE__POWF 1
56738 _ACEOF
56741 done
56750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56751 $as_echo_n "checking for sqrtf declaration... " >&6; }
56752 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56753 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56754 $as_echo_n "(cached) " >&6
56755 else
56758 ac_ext=cpp
56759 ac_cpp='$CXXCPP $CPPFLAGS'
56760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56765 /* end confdefs.h. */
56766 #include <math.h>
56767 #ifdef HAVE_IEEEFP_H
56768 #include <ieeefp.h>
56769 #endif
56772 main ()
56774 sqrtf(0);
56776 return 0;
56778 _ACEOF
56779 if ac_fn_cxx_try_compile "$LINENO"; then :
56780 glibcxx_cv_func_sqrtf_use=yes
56781 else
56782 glibcxx_cv_func_sqrtf_use=no
56784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56785 ac_ext=c
56786 ac_cpp='$CPP $CPPFLAGS'
56787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56796 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56798 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56799 for ac_func in sqrtf
56800 do :
56801 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56802 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56803 cat >>confdefs.h <<_ACEOF
56804 #define HAVE_SQRTF 1
56805 _ACEOF
56808 done
56810 else
56812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56813 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56814 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56815 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56816 $as_echo_n "(cached) " >&6
56817 else
56820 ac_ext=cpp
56821 ac_cpp='$CXXCPP $CPPFLAGS'
56822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56827 /* end confdefs.h. */
56828 #include <math.h>
56829 #ifdef HAVE_IEEEFP_H
56830 #include <ieeefp.h>
56831 #endif
56834 main ()
56836 _sqrtf(0);
56838 return 0;
56840 _ACEOF
56841 if ac_fn_cxx_try_compile "$LINENO"; then :
56842 glibcxx_cv_func__sqrtf_use=yes
56843 else
56844 glibcxx_cv_func__sqrtf_use=no
56846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56847 ac_ext=c
56848 ac_cpp='$CPP $CPPFLAGS'
56849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56858 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56860 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56861 for ac_func in _sqrtf
56862 do :
56863 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56864 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56865 cat >>confdefs.h <<_ACEOF
56866 #define HAVE__SQRTF 1
56867 _ACEOF
56870 done
56879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56880 $as_echo_n "checking for sincosf declaration... " >&6; }
56881 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56882 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56883 $as_echo_n "(cached) " >&6
56884 else
56887 ac_ext=cpp
56888 ac_cpp='$CXXCPP $CPPFLAGS'
56889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56894 /* end confdefs.h. */
56895 #include <math.h>
56897 main ()
56899 sincosf(0, 0, 0);
56901 return 0;
56903 _ACEOF
56904 if ac_fn_cxx_try_compile "$LINENO"; then :
56905 glibcxx_cv_func_sincosf_use=yes
56906 else
56907 glibcxx_cv_func_sincosf_use=no
56909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56910 ac_ext=c
56911 ac_cpp='$CPP $CPPFLAGS'
56912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56921 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56923 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56924 for ac_func in sincosf
56925 do :
56926 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56927 if test "x$ac_cv_func_sincosf" = x""yes; then :
56928 cat >>confdefs.h <<_ACEOF
56929 #define HAVE_SINCOSF 1
56930 _ACEOF
56933 done
56935 else
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56938 $as_echo_n "checking for _sincosf declaration... " >&6; }
56939 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56940 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56941 $as_echo_n "(cached) " >&6
56942 else
56945 ac_ext=cpp
56946 ac_cpp='$CXXCPP $CPPFLAGS'
56947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56952 /* end confdefs.h. */
56953 #include <math.h>
56955 main ()
56957 _sincosf(0, 0, 0);
56959 return 0;
56961 _ACEOF
56962 if ac_fn_cxx_try_compile "$LINENO"; then :
56963 glibcxx_cv_func__sincosf_use=yes
56964 else
56965 glibcxx_cv_func__sincosf_use=no
56967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56968 ac_ext=c
56969 ac_cpp='$CPP $CPPFLAGS'
56970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56979 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56981 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56982 for ac_func in _sincosf
56983 do :
56984 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56985 if test "x$ac_cv_func__sincosf" = x""yes; then :
56986 cat >>confdefs.h <<_ACEOF
56987 #define HAVE__SINCOSF 1
56988 _ACEOF
56991 done
57000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57001 $as_echo_n "checking for finitef declaration... " >&6; }
57002 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57003 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57004 $as_echo_n "(cached) " >&6
57005 else
57008 ac_ext=cpp
57009 ac_cpp='$CXXCPP $CPPFLAGS'
57010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57015 /* end confdefs.h. */
57016 #include <math.h>
57017 #ifdef HAVE_IEEEFP_H
57018 #include <ieeefp.h>
57019 #endif
57022 main ()
57024 finitef(0);
57026 return 0;
57028 _ACEOF
57029 if ac_fn_cxx_try_compile "$LINENO"; then :
57030 glibcxx_cv_func_finitef_use=yes
57031 else
57032 glibcxx_cv_func_finitef_use=no
57034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57035 ac_ext=c
57036 ac_cpp='$CPP $CPPFLAGS'
57037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57046 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57048 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57049 for ac_func in finitef
57050 do :
57051 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57052 if test "x$ac_cv_func_finitef" = x""yes; then :
57053 cat >>confdefs.h <<_ACEOF
57054 #define HAVE_FINITEF 1
57055 _ACEOF
57058 done
57060 else
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57063 $as_echo_n "checking for _finitef declaration... " >&6; }
57064 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57065 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57066 $as_echo_n "(cached) " >&6
57067 else
57070 ac_ext=cpp
57071 ac_cpp='$CXXCPP $CPPFLAGS'
57072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57077 /* end confdefs.h. */
57078 #include <math.h>
57079 #ifdef HAVE_IEEEFP_H
57080 #include <ieeefp.h>
57081 #endif
57084 main ()
57086 _finitef(0);
57088 return 0;
57090 _ACEOF
57091 if ac_fn_cxx_try_compile "$LINENO"; then :
57092 glibcxx_cv_func__finitef_use=yes
57093 else
57094 glibcxx_cv_func__finitef_use=no
57096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57097 ac_ext=c
57098 ac_cpp='$CPP $CPPFLAGS'
57099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57108 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57110 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57111 for ac_func in _finitef
57112 do :
57113 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57114 if test "x$ac_cv_func__finitef" = x""yes; then :
57115 cat >>confdefs.h <<_ACEOF
57116 #define HAVE__FINITEF 1
57117 _ACEOF
57120 done
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57130 $as_echo_n "checking for long double trig functions... " >&6; }
57131 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57132 $as_echo_n "(cached) " >&6
57133 else
57136 ac_ext=cpp
57137 ac_cpp='$CXXCPP $CPPFLAGS'
57138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57143 /* end confdefs.h. */
57144 #include <math.h>
57146 main ()
57148 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57150 return 0;
57152 _ACEOF
57153 if ac_fn_cxx_try_compile "$LINENO"; then :
57154 glibcxx_cv_func_long_double_trig_use=yes
57155 else
57156 glibcxx_cv_func_long_double_trig_use=no
57158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57159 ac_ext=c
57160 ac_cpp='$CPP $CPPFLAGS'
57161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57168 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57169 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57170 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57171 do :
57172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57174 eval as_val=\$$as_ac_var
57175 if test "x$as_val" = x""yes; then :
57176 cat >>confdefs.h <<_ACEOF
57177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57178 _ACEOF
57181 done
57183 else
57184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57185 $as_echo_n "checking for _long double trig functions... " >&6; }
57186 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57187 $as_echo_n "(cached) " >&6
57188 else
57191 ac_ext=cpp
57192 ac_cpp='$CXXCPP $CPPFLAGS'
57193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57198 /* end confdefs.h. */
57199 #include <math.h>
57201 main ()
57203 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57205 return 0;
57207 _ACEOF
57208 if ac_fn_cxx_try_compile "$LINENO"; then :
57209 glibcxx_cv_func__long_double_trig_use=yes
57210 else
57211 glibcxx_cv_func__long_double_trig_use=no
57213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57214 ac_ext=c
57215 ac_cpp='$CPP $CPPFLAGS'
57216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57223 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57224 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57225 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57226 do :
57227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57229 eval as_val=\$$as_ac_var
57230 if test "x$as_val" = x""yes; then :
57231 cat >>confdefs.h <<_ACEOF
57232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57233 _ACEOF
57236 done
57245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57246 $as_echo_n "checking for long double round functions... " >&6; }
57247 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57248 $as_echo_n "(cached) " >&6
57249 else
57252 ac_ext=cpp
57253 ac_cpp='$CXXCPP $CPPFLAGS'
57254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57259 /* end confdefs.h. */
57260 #include <math.h>
57262 main ()
57264 ceill (0); floorl (0);
57266 return 0;
57268 _ACEOF
57269 if ac_fn_cxx_try_compile "$LINENO"; then :
57270 glibcxx_cv_func_long_double_round_use=yes
57271 else
57272 glibcxx_cv_func_long_double_round_use=no
57274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57275 ac_ext=c
57276 ac_cpp='$CPP $CPPFLAGS'
57277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57284 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57285 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57286 for ac_func in ceill floorl
57287 do :
57288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57290 eval as_val=\$$as_ac_var
57291 if test "x$as_val" = x""yes; then :
57292 cat >>confdefs.h <<_ACEOF
57293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57294 _ACEOF
57297 done
57299 else
57300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57301 $as_echo_n "checking for _long double round functions... " >&6; }
57302 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57303 $as_echo_n "(cached) " >&6
57304 else
57307 ac_ext=cpp
57308 ac_cpp='$CXXCPP $CPPFLAGS'
57309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57314 /* end confdefs.h. */
57315 #include <math.h>
57317 main ()
57319 _ceill (0); _floorl (0);
57321 return 0;
57323 _ACEOF
57324 if ac_fn_cxx_try_compile "$LINENO"; then :
57325 glibcxx_cv_func__long_double_round_use=yes
57326 else
57327 glibcxx_cv_func__long_double_round_use=no
57329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57330 ac_ext=c
57331 ac_cpp='$CPP $CPPFLAGS'
57332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57339 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57340 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57341 for ac_func in _ceill _floorl
57342 do :
57343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57345 eval as_val=\$$as_ac_var
57346 if test "x$as_val" = x""yes; then :
57347 cat >>confdefs.h <<_ACEOF
57348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57349 _ACEOF
57352 done
57362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57363 $as_echo_n "checking for isnanl declaration... " >&6; }
57364 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57365 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57366 $as_echo_n "(cached) " >&6
57367 else
57370 ac_ext=cpp
57371 ac_cpp='$CXXCPP $CPPFLAGS'
57372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57377 /* end confdefs.h. */
57378 #include <math.h>
57379 #ifdef HAVE_IEEEFP_H
57380 #include <ieeefp.h>
57381 #endif
57384 main ()
57386 isnanl(0);
57388 return 0;
57390 _ACEOF
57391 if ac_fn_cxx_try_compile "$LINENO"; then :
57392 glibcxx_cv_func_isnanl_use=yes
57393 else
57394 glibcxx_cv_func_isnanl_use=no
57396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57397 ac_ext=c
57398 ac_cpp='$CPP $CPPFLAGS'
57399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57408 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57410 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57411 for ac_func in isnanl
57412 do :
57413 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57414 if test "x$ac_cv_func_isnanl" = x""yes; then :
57415 cat >>confdefs.h <<_ACEOF
57416 #define HAVE_ISNANL 1
57417 _ACEOF
57420 done
57422 else
57424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57425 $as_echo_n "checking for _isnanl declaration... " >&6; }
57426 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57427 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57428 $as_echo_n "(cached) " >&6
57429 else
57432 ac_ext=cpp
57433 ac_cpp='$CXXCPP $CPPFLAGS'
57434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57439 /* end confdefs.h. */
57440 #include <math.h>
57441 #ifdef HAVE_IEEEFP_H
57442 #include <ieeefp.h>
57443 #endif
57446 main ()
57448 _isnanl(0);
57450 return 0;
57452 _ACEOF
57453 if ac_fn_cxx_try_compile "$LINENO"; then :
57454 glibcxx_cv_func__isnanl_use=yes
57455 else
57456 glibcxx_cv_func__isnanl_use=no
57458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57459 ac_ext=c
57460 ac_cpp='$CPP $CPPFLAGS'
57461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57470 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57472 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57473 for ac_func in _isnanl
57474 do :
57475 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57476 if test "x$ac_cv_func__isnanl" = x""yes; then :
57477 cat >>confdefs.h <<_ACEOF
57478 #define HAVE__ISNANL 1
57479 _ACEOF
57482 done
57491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57492 $as_echo_n "checking for isinfl declaration... " >&6; }
57493 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57494 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57495 $as_echo_n "(cached) " >&6
57496 else
57499 ac_ext=cpp
57500 ac_cpp='$CXXCPP $CPPFLAGS'
57501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57506 /* end confdefs.h. */
57507 #include <math.h>
57508 #ifdef HAVE_IEEEFP_H
57509 #include <ieeefp.h>
57510 #endif
57513 main ()
57515 isinfl(0);
57517 return 0;
57519 _ACEOF
57520 if ac_fn_cxx_try_compile "$LINENO"; then :
57521 glibcxx_cv_func_isinfl_use=yes
57522 else
57523 glibcxx_cv_func_isinfl_use=no
57525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57526 ac_ext=c
57527 ac_cpp='$CPP $CPPFLAGS'
57528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57537 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57539 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57540 for ac_func in isinfl
57541 do :
57542 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57543 if test "x$ac_cv_func_isinfl" = x""yes; then :
57544 cat >>confdefs.h <<_ACEOF
57545 #define HAVE_ISINFL 1
57546 _ACEOF
57549 done
57551 else
57553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57554 $as_echo_n "checking for _isinfl declaration... " >&6; }
57555 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57556 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57557 $as_echo_n "(cached) " >&6
57558 else
57561 ac_ext=cpp
57562 ac_cpp='$CXXCPP $CPPFLAGS'
57563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57568 /* end confdefs.h. */
57569 #include <math.h>
57570 #ifdef HAVE_IEEEFP_H
57571 #include <ieeefp.h>
57572 #endif
57575 main ()
57577 _isinfl(0);
57579 return 0;
57581 _ACEOF
57582 if ac_fn_cxx_try_compile "$LINENO"; then :
57583 glibcxx_cv_func__isinfl_use=yes
57584 else
57585 glibcxx_cv_func__isinfl_use=no
57587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57588 ac_ext=c
57589 ac_cpp='$CPP $CPPFLAGS'
57590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57599 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57601 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57602 for ac_func in _isinfl
57603 do :
57604 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57605 if test "x$ac_cv_func__isinfl" = x""yes; then :
57606 cat >>confdefs.h <<_ACEOF
57607 #define HAVE__ISINFL 1
57608 _ACEOF
57611 done
57620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57621 $as_echo_n "checking for atan2l declaration... " >&6; }
57622 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57623 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57624 $as_echo_n "(cached) " >&6
57625 else
57628 ac_ext=cpp
57629 ac_cpp='$CXXCPP $CPPFLAGS'
57630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57635 /* end confdefs.h. */
57636 #include <math.h>
57638 main ()
57640 atan2l(0, 0);
57642 return 0;
57644 _ACEOF
57645 if ac_fn_cxx_try_compile "$LINENO"; then :
57646 glibcxx_cv_func_atan2l_use=yes
57647 else
57648 glibcxx_cv_func_atan2l_use=no
57650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57651 ac_ext=c
57652 ac_cpp='$CPP $CPPFLAGS'
57653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57662 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57664 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57665 for ac_func in atan2l
57666 do :
57667 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57668 if test "x$ac_cv_func_atan2l" = x""yes; then :
57669 cat >>confdefs.h <<_ACEOF
57670 #define HAVE_ATAN2L 1
57671 _ACEOF
57674 done
57676 else
57678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57679 $as_echo_n "checking for _atan2l declaration... " >&6; }
57680 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57681 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57682 $as_echo_n "(cached) " >&6
57683 else
57686 ac_ext=cpp
57687 ac_cpp='$CXXCPP $CPPFLAGS'
57688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57693 /* end confdefs.h. */
57694 #include <math.h>
57696 main ()
57698 _atan2l(0, 0);
57700 return 0;
57702 _ACEOF
57703 if ac_fn_cxx_try_compile "$LINENO"; then :
57704 glibcxx_cv_func__atan2l_use=yes
57705 else
57706 glibcxx_cv_func__atan2l_use=no
57708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57709 ac_ext=c
57710 ac_cpp='$CPP $CPPFLAGS'
57711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57720 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57722 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57723 for ac_func in _atan2l
57724 do :
57725 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57726 if test "x$ac_cv_func__atan2l" = x""yes; then :
57727 cat >>confdefs.h <<_ACEOF
57728 #define HAVE__ATAN2L 1
57729 _ACEOF
57732 done
57741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57742 $as_echo_n "checking for expl declaration... " >&6; }
57743 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57744 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57745 $as_echo_n "(cached) " >&6
57746 else
57749 ac_ext=cpp
57750 ac_cpp='$CXXCPP $CPPFLAGS'
57751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57756 /* end confdefs.h. */
57757 #include <math.h>
57758 #ifdef HAVE_IEEEFP_H
57759 #include <ieeefp.h>
57760 #endif
57763 main ()
57765 expl(0);
57767 return 0;
57769 _ACEOF
57770 if ac_fn_cxx_try_compile "$LINENO"; then :
57771 glibcxx_cv_func_expl_use=yes
57772 else
57773 glibcxx_cv_func_expl_use=no
57775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57776 ac_ext=c
57777 ac_cpp='$CPP $CPPFLAGS'
57778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57787 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57789 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57790 for ac_func in expl
57791 do :
57792 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57793 if test "x$ac_cv_func_expl" = x""yes; then :
57794 cat >>confdefs.h <<_ACEOF
57795 #define HAVE_EXPL 1
57796 _ACEOF
57799 done
57801 else
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57804 $as_echo_n "checking for _expl declaration... " >&6; }
57805 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57806 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57807 $as_echo_n "(cached) " >&6
57808 else
57811 ac_ext=cpp
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57818 /* end confdefs.h. */
57819 #include <math.h>
57820 #ifdef HAVE_IEEEFP_H
57821 #include <ieeefp.h>
57822 #endif
57825 main ()
57827 _expl(0);
57829 return 0;
57831 _ACEOF
57832 if ac_fn_cxx_try_compile "$LINENO"; then :
57833 glibcxx_cv_func__expl_use=yes
57834 else
57835 glibcxx_cv_func__expl_use=no
57837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57838 ac_ext=c
57839 ac_cpp='$CPP $CPPFLAGS'
57840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57849 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57851 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57852 for ac_func in _expl
57853 do :
57854 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57855 if test "x$ac_cv_func__expl" = x""yes; then :
57856 cat >>confdefs.h <<_ACEOF
57857 #define HAVE__EXPL 1
57858 _ACEOF
57861 done
57870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57871 $as_echo_n "checking for fabsl declaration... " >&6; }
57872 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57873 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57874 $as_echo_n "(cached) " >&6
57875 else
57878 ac_ext=cpp
57879 ac_cpp='$CXXCPP $CPPFLAGS'
57880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57885 /* end confdefs.h. */
57886 #include <math.h>
57887 #ifdef HAVE_IEEEFP_H
57888 #include <ieeefp.h>
57889 #endif
57892 main ()
57894 fabsl(0);
57896 return 0;
57898 _ACEOF
57899 if ac_fn_cxx_try_compile "$LINENO"; then :
57900 glibcxx_cv_func_fabsl_use=yes
57901 else
57902 glibcxx_cv_func_fabsl_use=no
57904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57905 ac_ext=c
57906 ac_cpp='$CPP $CPPFLAGS'
57907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57916 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57918 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57919 for ac_func in fabsl
57920 do :
57921 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57922 if test "x$ac_cv_func_fabsl" = x""yes; then :
57923 cat >>confdefs.h <<_ACEOF
57924 #define HAVE_FABSL 1
57925 _ACEOF
57928 done
57930 else
57932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57933 $as_echo_n "checking for _fabsl declaration... " >&6; }
57934 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57935 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57936 $as_echo_n "(cached) " >&6
57937 else
57940 ac_ext=cpp
57941 ac_cpp='$CXXCPP $CPPFLAGS'
57942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57947 /* end confdefs.h. */
57948 #include <math.h>
57949 #ifdef HAVE_IEEEFP_H
57950 #include <ieeefp.h>
57951 #endif
57954 main ()
57956 _fabsl(0);
57958 return 0;
57960 _ACEOF
57961 if ac_fn_cxx_try_compile "$LINENO"; then :
57962 glibcxx_cv_func__fabsl_use=yes
57963 else
57964 glibcxx_cv_func__fabsl_use=no
57966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57967 ac_ext=c
57968 ac_cpp='$CPP $CPPFLAGS'
57969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57978 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57980 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57981 for ac_func in _fabsl
57982 do :
57983 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57984 if test "x$ac_cv_func__fabsl" = x""yes; then :
57985 cat >>confdefs.h <<_ACEOF
57986 #define HAVE__FABSL 1
57987 _ACEOF
57990 done
57999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58000 $as_echo_n "checking for fmodl declaration... " >&6; }
58001 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58002 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58003 $as_echo_n "(cached) " >&6
58004 else
58007 ac_ext=cpp
58008 ac_cpp='$CXXCPP $CPPFLAGS'
58009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58014 /* end confdefs.h. */
58015 #include <math.h>
58017 main ()
58019 fmodl(0, 0);
58021 return 0;
58023 _ACEOF
58024 if ac_fn_cxx_try_compile "$LINENO"; then :
58025 glibcxx_cv_func_fmodl_use=yes
58026 else
58027 glibcxx_cv_func_fmodl_use=no
58029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58030 ac_ext=c
58031 ac_cpp='$CPP $CPPFLAGS'
58032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58041 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58043 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58044 for ac_func in fmodl
58045 do :
58046 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58047 if test "x$ac_cv_func_fmodl" = x""yes; then :
58048 cat >>confdefs.h <<_ACEOF
58049 #define HAVE_FMODL 1
58050 _ACEOF
58053 done
58055 else
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58058 $as_echo_n "checking for _fmodl declaration... " >&6; }
58059 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58060 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58061 $as_echo_n "(cached) " >&6
58062 else
58065 ac_ext=cpp
58066 ac_cpp='$CXXCPP $CPPFLAGS'
58067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58072 /* end confdefs.h. */
58073 #include <math.h>
58075 main ()
58077 _fmodl(0, 0);
58079 return 0;
58081 _ACEOF
58082 if ac_fn_cxx_try_compile "$LINENO"; then :
58083 glibcxx_cv_func__fmodl_use=yes
58084 else
58085 glibcxx_cv_func__fmodl_use=no
58087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58088 ac_ext=c
58089 ac_cpp='$CPP $CPPFLAGS'
58090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58099 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58101 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58102 for ac_func in _fmodl
58103 do :
58104 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58105 if test "x$ac_cv_func__fmodl" = x""yes; then :
58106 cat >>confdefs.h <<_ACEOF
58107 #define HAVE__FMODL 1
58108 _ACEOF
58111 done
58120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58121 $as_echo_n "checking for frexpl declaration... " >&6; }
58122 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58123 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58124 $as_echo_n "(cached) " >&6
58125 else
58128 ac_ext=cpp
58129 ac_cpp='$CXXCPP $CPPFLAGS'
58130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58135 /* end confdefs.h. */
58136 #include <math.h>
58138 main ()
58140 frexpl(0, 0);
58142 return 0;
58144 _ACEOF
58145 if ac_fn_cxx_try_compile "$LINENO"; then :
58146 glibcxx_cv_func_frexpl_use=yes
58147 else
58148 glibcxx_cv_func_frexpl_use=no
58150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58151 ac_ext=c
58152 ac_cpp='$CPP $CPPFLAGS'
58153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58162 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58164 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58165 for ac_func in frexpl
58166 do :
58167 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58168 if test "x$ac_cv_func_frexpl" = x""yes; then :
58169 cat >>confdefs.h <<_ACEOF
58170 #define HAVE_FREXPL 1
58171 _ACEOF
58174 done
58176 else
58178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58179 $as_echo_n "checking for _frexpl declaration... " >&6; }
58180 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58181 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58182 $as_echo_n "(cached) " >&6
58183 else
58186 ac_ext=cpp
58187 ac_cpp='$CXXCPP $CPPFLAGS'
58188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58193 /* end confdefs.h. */
58194 #include <math.h>
58196 main ()
58198 _frexpl(0, 0);
58200 return 0;
58202 _ACEOF
58203 if ac_fn_cxx_try_compile "$LINENO"; then :
58204 glibcxx_cv_func__frexpl_use=yes
58205 else
58206 glibcxx_cv_func__frexpl_use=no
58208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58209 ac_ext=c
58210 ac_cpp='$CPP $CPPFLAGS'
58211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58220 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58222 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58223 for ac_func in _frexpl
58224 do :
58225 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58226 if test "x$ac_cv_func__frexpl" = x""yes; then :
58227 cat >>confdefs.h <<_ACEOF
58228 #define HAVE__FREXPL 1
58229 _ACEOF
58232 done
58241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58242 $as_echo_n "checking for hypotl declaration... " >&6; }
58243 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58244 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58245 $as_echo_n "(cached) " >&6
58246 else
58249 ac_ext=cpp
58250 ac_cpp='$CXXCPP $CPPFLAGS'
58251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58256 /* end confdefs.h. */
58257 #include <math.h>
58259 main ()
58261 hypotl(0, 0);
58263 return 0;
58265 _ACEOF
58266 if ac_fn_cxx_try_compile "$LINENO"; then :
58267 glibcxx_cv_func_hypotl_use=yes
58268 else
58269 glibcxx_cv_func_hypotl_use=no
58271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58272 ac_ext=c
58273 ac_cpp='$CPP $CPPFLAGS'
58274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58283 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58285 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58286 for ac_func in hypotl
58287 do :
58288 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58289 if test "x$ac_cv_func_hypotl" = x""yes; then :
58290 cat >>confdefs.h <<_ACEOF
58291 #define HAVE_HYPOTL 1
58292 _ACEOF
58295 done
58297 else
58299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58300 $as_echo_n "checking for _hypotl declaration... " >&6; }
58301 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58302 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58303 $as_echo_n "(cached) " >&6
58304 else
58307 ac_ext=cpp
58308 ac_cpp='$CXXCPP $CPPFLAGS'
58309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58314 /* end confdefs.h. */
58315 #include <math.h>
58317 main ()
58319 _hypotl(0, 0);
58321 return 0;
58323 _ACEOF
58324 if ac_fn_cxx_try_compile "$LINENO"; then :
58325 glibcxx_cv_func__hypotl_use=yes
58326 else
58327 glibcxx_cv_func__hypotl_use=no
58329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58330 ac_ext=c
58331 ac_cpp='$CPP $CPPFLAGS'
58332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58341 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58343 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58344 for ac_func in _hypotl
58345 do :
58346 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58347 if test "x$ac_cv_func__hypotl" = x""yes; then :
58348 cat >>confdefs.h <<_ACEOF
58349 #define HAVE__HYPOTL 1
58350 _ACEOF
58353 done
58362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58363 $as_echo_n "checking for ldexpl declaration... " >&6; }
58364 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58365 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58366 $as_echo_n "(cached) " >&6
58367 else
58370 ac_ext=cpp
58371 ac_cpp='$CXXCPP $CPPFLAGS'
58372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58377 /* end confdefs.h. */
58378 #include <math.h>
58380 main ()
58382 ldexpl(0, 0);
58384 return 0;
58386 _ACEOF
58387 if ac_fn_cxx_try_compile "$LINENO"; then :
58388 glibcxx_cv_func_ldexpl_use=yes
58389 else
58390 glibcxx_cv_func_ldexpl_use=no
58392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58393 ac_ext=c
58394 ac_cpp='$CPP $CPPFLAGS'
58395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58404 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58406 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58407 for ac_func in ldexpl
58408 do :
58409 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58410 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58411 cat >>confdefs.h <<_ACEOF
58412 #define HAVE_LDEXPL 1
58413 _ACEOF
58416 done
58418 else
58420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58421 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58422 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58423 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58424 $as_echo_n "(cached) " >&6
58425 else
58428 ac_ext=cpp
58429 ac_cpp='$CXXCPP $CPPFLAGS'
58430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58435 /* end confdefs.h. */
58436 #include <math.h>
58438 main ()
58440 _ldexpl(0, 0);
58442 return 0;
58444 _ACEOF
58445 if ac_fn_cxx_try_compile "$LINENO"; then :
58446 glibcxx_cv_func__ldexpl_use=yes
58447 else
58448 glibcxx_cv_func__ldexpl_use=no
58450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58451 ac_ext=c
58452 ac_cpp='$CPP $CPPFLAGS'
58453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58462 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58464 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58465 for ac_func in _ldexpl
58466 do :
58467 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58468 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58469 cat >>confdefs.h <<_ACEOF
58470 #define HAVE__LDEXPL 1
58471 _ACEOF
58474 done
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58484 $as_echo_n "checking for logl declaration... " >&6; }
58485 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58486 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58487 $as_echo_n "(cached) " >&6
58488 else
58491 ac_ext=cpp
58492 ac_cpp='$CXXCPP $CPPFLAGS'
58493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58498 /* end confdefs.h. */
58499 #include <math.h>
58500 #ifdef HAVE_IEEEFP_H
58501 #include <ieeefp.h>
58502 #endif
58505 main ()
58507 logl(0);
58509 return 0;
58511 _ACEOF
58512 if ac_fn_cxx_try_compile "$LINENO"; then :
58513 glibcxx_cv_func_logl_use=yes
58514 else
58515 glibcxx_cv_func_logl_use=no
58517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58518 ac_ext=c
58519 ac_cpp='$CPP $CPPFLAGS'
58520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58529 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58531 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58532 for ac_func in logl
58533 do :
58534 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58535 if test "x$ac_cv_func_logl" = x""yes; then :
58536 cat >>confdefs.h <<_ACEOF
58537 #define HAVE_LOGL 1
58538 _ACEOF
58541 done
58543 else
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58546 $as_echo_n "checking for _logl declaration... " >&6; }
58547 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58548 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58549 $as_echo_n "(cached) " >&6
58550 else
58553 ac_ext=cpp
58554 ac_cpp='$CXXCPP $CPPFLAGS'
58555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58560 /* end confdefs.h. */
58561 #include <math.h>
58562 #ifdef HAVE_IEEEFP_H
58563 #include <ieeefp.h>
58564 #endif
58567 main ()
58569 _logl(0);
58571 return 0;
58573 _ACEOF
58574 if ac_fn_cxx_try_compile "$LINENO"; then :
58575 glibcxx_cv_func__logl_use=yes
58576 else
58577 glibcxx_cv_func__logl_use=no
58579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58580 ac_ext=c
58581 ac_cpp='$CPP $CPPFLAGS'
58582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58591 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58593 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58594 for ac_func in _logl
58595 do :
58596 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58597 if test "x$ac_cv_func__logl" = x""yes; then :
58598 cat >>confdefs.h <<_ACEOF
58599 #define HAVE__LOGL 1
58600 _ACEOF
58603 done
58612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58613 $as_echo_n "checking for log10l declaration... " >&6; }
58614 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58615 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58616 $as_echo_n "(cached) " >&6
58617 else
58620 ac_ext=cpp
58621 ac_cpp='$CXXCPP $CPPFLAGS'
58622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58627 /* end confdefs.h. */
58628 #include <math.h>
58629 #ifdef HAVE_IEEEFP_H
58630 #include <ieeefp.h>
58631 #endif
58634 main ()
58636 log10l(0);
58638 return 0;
58640 _ACEOF
58641 if ac_fn_cxx_try_compile "$LINENO"; then :
58642 glibcxx_cv_func_log10l_use=yes
58643 else
58644 glibcxx_cv_func_log10l_use=no
58646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58647 ac_ext=c
58648 ac_cpp='$CPP $CPPFLAGS'
58649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58658 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58660 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58661 for ac_func in log10l
58662 do :
58663 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58664 if test "x$ac_cv_func_log10l" = x""yes; then :
58665 cat >>confdefs.h <<_ACEOF
58666 #define HAVE_LOG10L 1
58667 _ACEOF
58670 done
58672 else
58674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58675 $as_echo_n "checking for _log10l declaration... " >&6; }
58676 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58677 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58678 $as_echo_n "(cached) " >&6
58679 else
58682 ac_ext=cpp
58683 ac_cpp='$CXXCPP $CPPFLAGS'
58684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58689 /* end confdefs.h. */
58690 #include <math.h>
58691 #ifdef HAVE_IEEEFP_H
58692 #include <ieeefp.h>
58693 #endif
58696 main ()
58698 _log10l(0);
58700 return 0;
58702 _ACEOF
58703 if ac_fn_cxx_try_compile "$LINENO"; then :
58704 glibcxx_cv_func__log10l_use=yes
58705 else
58706 glibcxx_cv_func__log10l_use=no
58708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58709 ac_ext=c
58710 ac_cpp='$CPP $CPPFLAGS'
58711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58720 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58722 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58723 for ac_func in _log10l
58724 do :
58725 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58726 if test "x$ac_cv_func__log10l" = x""yes; then :
58727 cat >>confdefs.h <<_ACEOF
58728 #define HAVE__LOG10L 1
58729 _ACEOF
58732 done
58741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58742 $as_echo_n "checking for modfl declaration... " >&6; }
58743 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58744 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58745 $as_echo_n "(cached) " >&6
58746 else
58749 ac_ext=cpp
58750 ac_cpp='$CXXCPP $CPPFLAGS'
58751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58756 /* end confdefs.h. */
58757 #include <math.h>
58759 main ()
58761 modfl(0, 0);
58763 return 0;
58765 _ACEOF
58766 if ac_fn_cxx_try_compile "$LINENO"; then :
58767 glibcxx_cv_func_modfl_use=yes
58768 else
58769 glibcxx_cv_func_modfl_use=no
58771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58772 ac_ext=c
58773 ac_cpp='$CPP $CPPFLAGS'
58774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58783 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58785 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58786 for ac_func in modfl
58787 do :
58788 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58789 if test "x$ac_cv_func_modfl" = x""yes; then :
58790 cat >>confdefs.h <<_ACEOF
58791 #define HAVE_MODFL 1
58792 _ACEOF
58795 done
58797 else
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58800 $as_echo_n "checking for _modfl declaration... " >&6; }
58801 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58802 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58803 $as_echo_n "(cached) " >&6
58804 else
58807 ac_ext=cpp
58808 ac_cpp='$CXXCPP $CPPFLAGS'
58809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58814 /* end confdefs.h. */
58815 #include <math.h>
58817 main ()
58819 _modfl(0, 0);
58821 return 0;
58823 _ACEOF
58824 if ac_fn_cxx_try_compile "$LINENO"; then :
58825 glibcxx_cv_func__modfl_use=yes
58826 else
58827 glibcxx_cv_func__modfl_use=no
58829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58830 ac_ext=c
58831 ac_cpp='$CPP $CPPFLAGS'
58832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58841 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58843 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58844 for ac_func in _modfl
58845 do :
58846 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58847 if test "x$ac_cv_func__modfl" = x""yes; then :
58848 cat >>confdefs.h <<_ACEOF
58849 #define HAVE__MODFL 1
58850 _ACEOF
58853 done
58862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58863 $as_echo_n "checking for powl declaration... " >&6; }
58864 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58865 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58866 $as_echo_n "(cached) " >&6
58867 else
58870 ac_ext=cpp
58871 ac_cpp='$CXXCPP $CPPFLAGS'
58872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58877 /* end confdefs.h. */
58878 #include <math.h>
58880 main ()
58882 powl(0, 0);
58884 return 0;
58886 _ACEOF
58887 if ac_fn_cxx_try_compile "$LINENO"; then :
58888 glibcxx_cv_func_powl_use=yes
58889 else
58890 glibcxx_cv_func_powl_use=no
58892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58893 ac_ext=c
58894 ac_cpp='$CPP $CPPFLAGS'
58895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58904 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58906 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58907 for ac_func in powl
58908 do :
58909 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58910 if test "x$ac_cv_func_powl" = x""yes; then :
58911 cat >>confdefs.h <<_ACEOF
58912 #define HAVE_POWL 1
58913 _ACEOF
58916 done
58918 else
58920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58921 $as_echo_n "checking for _powl declaration... " >&6; }
58922 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58923 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58924 $as_echo_n "(cached) " >&6
58925 else
58928 ac_ext=cpp
58929 ac_cpp='$CXXCPP $CPPFLAGS'
58930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58935 /* end confdefs.h. */
58936 #include <math.h>
58938 main ()
58940 _powl(0, 0);
58942 return 0;
58944 _ACEOF
58945 if ac_fn_cxx_try_compile "$LINENO"; then :
58946 glibcxx_cv_func__powl_use=yes
58947 else
58948 glibcxx_cv_func__powl_use=no
58950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58951 ac_ext=c
58952 ac_cpp='$CPP $CPPFLAGS'
58953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58962 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58964 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58965 for ac_func in _powl
58966 do :
58967 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58968 if test "x$ac_cv_func__powl" = x""yes; then :
58969 cat >>confdefs.h <<_ACEOF
58970 #define HAVE__POWL 1
58971 _ACEOF
58974 done
58983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58984 $as_echo_n "checking for sqrtl declaration... " >&6; }
58985 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58986 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58987 $as_echo_n "(cached) " >&6
58988 else
58991 ac_ext=cpp
58992 ac_cpp='$CXXCPP $CPPFLAGS'
58993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58998 /* end confdefs.h. */
58999 #include <math.h>
59000 #ifdef HAVE_IEEEFP_H
59001 #include <ieeefp.h>
59002 #endif
59005 main ()
59007 sqrtl(0);
59009 return 0;
59011 _ACEOF
59012 if ac_fn_cxx_try_compile "$LINENO"; then :
59013 glibcxx_cv_func_sqrtl_use=yes
59014 else
59015 glibcxx_cv_func_sqrtl_use=no
59017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59018 ac_ext=c
59019 ac_cpp='$CPP $CPPFLAGS'
59020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59029 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59031 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59032 for ac_func in sqrtl
59033 do :
59034 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59035 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59036 cat >>confdefs.h <<_ACEOF
59037 #define HAVE_SQRTL 1
59038 _ACEOF
59041 done
59043 else
59045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59046 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59047 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59048 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59049 $as_echo_n "(cached) " >&6
59050 else
59053 ac_ext=cpp
59054 ac_cpp='$CXXCPP $CPPFLAGS'
59055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h. */
59061 #include <math.h>
59062 #ifdef HAVE_IEEEFP_H
59063 #include <ieeefp.h>
59064 #endif
59067 main ()
59069 _sqrtl(0);
59071 return 0;
59073 _ACEOF
59074 if ac_fn_cxx_try_compile "$LINENO"; then :
59075 glibcxx_cv_func__sqrtl_use=yes
59076 else
59077 glibcxx_cv_func__sqrtl_use=no
59079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59080 ac_ext=c
59081 ac_cpp='$CPP $CPPFLAGS'
59082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59091 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59093 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59094 for ac_func in _sqrtl
59095 do :
59096 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59097 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59098 cat >>confdefs.h <<_ACEOF
59099 #define HAVE__SQRTL 1
59100 _ACEOF
59103 done
59112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59113 $as_echo_n "checking for sincosl declaration... " >&6; }
59114 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59115 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59116 $as_echo_n "(cached) " >&6
59117 else
59120 ac_ext=cpp
59121 ac_cpp='$CXXCPP $CPPFLAGS'
59122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59127 /* end confdefs.h. */
59128 #include <math.h>
59130 main ()
59132 sincosl(0, 0, 0);
59134 return 0;
59136 _ACEOF
59137 if ac_fn_cxx_try_compile "$LINENO"; then :
59138 glibcxx_cv_func_sincosl_use=yes
59139 else
59140 glibcxx_cv_func_sincosl_use=no
59142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59143 ac_ext=c
59144 ac_cpp='$CPP $CPPFLAGS'
59145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59154 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59156 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59157 for ac_func in sincosl
59158 do :
59159 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59160 if test "x$ac_cv_func_sincosl" = x""yes; then :
59161 cat >>confdefs.h <<_ACEOF
59162 #define HAVE_SINCOSL 1
59163 _ACEOF
59166 done
59168 else
59170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59171 $as_echo_n "checking for _sincosl declaration... " >&6; }
59172 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59173 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59174 $as_echo_n "(cached) " >&6
59175 else
59178 ac_ext=cpp
59179 ac_cpp='$CXXCPP $CPPFLAGS'
59180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59185 /* end confdefs.h. */
59186 #include <math.h>
59188 main ()
59190 _sincosl(0, 0, 0);
59192 return 0;
59194 _ACEOF
59195 if ac_fn_cxx_try_compile "$LINENO"; then :
59196 glibcxx_cv_func__sincosl_use=yes
59197 else
59198 glibcxx_cv_func__sincosl_use=no
59200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59201 ac_ext=c
59202 ac_cpp='$CPP $CPPFLAGS'
59203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59212 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59214 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59215 for ac_func in _sincosl
59216 do :
59217 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59218 if test "x$ac_cv_func__sincosl" = x""yes; then :
59219 cat >>confdefs.h <<_ACEOF
59220 #define HAVE__SINCOSL 1
59221 _ACEOF
59224 done
59233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59234 $as_echo_n "checking for finitel declaration... " >&6; }
59235 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59236 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59237 $as_echo_n "(cached) " >&6
59238 else
59241 ac_ext=cpp
59242 ac_cpp='$CXXCPP $CPPFLAGS'
59243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59248 /* end confdefs.h. */
59249 #include <math.h>
59250 #ifdef HAVE_IEEEFP_H
59251 #include <ieeefp.h>
59252 #endif
59255 main ()
59257 finitel(0);
59259 return 0;
59261 _ACEOF
59262 if ac_fn_cxx_try_compile "$LINENO"; then :
59263 glibcxx_cv_func_finitel_use=yes
59264 else
59265 glibcxx_cv_func_finitel_use=no
59267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59268 ac_ext=c
59269 ac_cpp='$CPP $CPPFLAGS'
59270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59279 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59281 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59282 for ac_func in finitel
59283 do :
59284 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59285 if test "x$ac_cv_func_finitel" = x""yes; then :
59286 cat >>confdefs.h <<_ACEOF
59287 #define HAVE_FINITEL 1
59288 _ACEOF
59291 done
59293 else
59295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59296 $as_echo_n "checking for _finitel declaration... " >&6; }
59297 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59298 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59299 $as_echo_n "(cached) " >&6
59300 else
59303 ac_ext=cpp
59304 ac_cpp='$CXXCPP $CPPFLAGS'
59305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59310 /* end confdefs.h. */
59311 #include <math.h>
59312 #ifdef HAVE_IEEEFP_H
59313 #include <ieeefp.h>
59314 #endif
59317 main ()
59319 _finitel(0);
59321 return 0;
59323 _ACEOF
59324 if ac_fn_cxx_try_compile "$LINENO"; then :
59325 glibcxx_cv_func__finitel_use=yes
59326 else
59327 glibcxx_cv_func__finitel_use=no
59329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59330 ac_ext=c
59331 ac_cpp='$CPP $CPPFLAGS'
59332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59341 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59343 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59344 for ac_func in _finitel
59345 do :
59346 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59347 if test "x$ac_cv_func__finitel" = x""yes; then :
59348 cat >>confdefs.h <<_ACEOF
59349 #define HAVE__FINITEL 1
59350 _ACEOF
59353 done
59361 LIBS="$ac_save_LIBS"
59362 CXXFLAGS="$ac_save_CXXFLAGS"
59365 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59366 ac_save_CXXFLAGS="$CXXFLAGS"
59367 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59371 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59372 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59373 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59374 $as_echo_n "(cached) " >&6
59375 else
59378 ac_ext=cpp
59379 ac_cpp='$CXXCPP $CPPFLAGS'
59380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59385 /* end confdefs.h. */
59386 #include <stdlib.h>
59388 main ()
59390 at_quick_exit(0);
59392 return 0;
59394 _ACEOF
59395 if ac_fn_cxx_try_compile "$LINENO"; then :
59396 glibcxx_cv_func_at_quick_exit_use=yes
59397 else
59398 glibcxx_cv_func_at_quick_exit_use=no
59400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59401 ac_ext=c
59402 ac_cpp='$CPP $CPPFLAGS'
59403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59412 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59413 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59414 for ac_func in at_quick_exit
59415 do :
59416 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59417 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59418 cat >>confdefs.h <<_ACEOF
59419 #define HAVE_AT_QUICK_EXIT 1
59420 _ACEOF
59423 done
59428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59429 $as_echo_n "checking for quick_exit declaration... " >&6; }
59430 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59431 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59432 $as_echo_n "(cached) " >&6
59433 else
59436 ac_ext=cpp
59437 ac_cpp='$CXXCPP $CPPFLAGS'
59438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59443 /* end confdefs.h. */
59444 #include <stdlib.h>
59446 main ()
59448 quick_exit(0);
59450 return 0;
59452 _ACEOF
59453 if ac_fn_cxx_try_compile "$LINENO"; then :
59454 glibcxx_cv_func_quick_exit_use=yes
59455 else
59456 glibcxx_cv_func_quick_exit_use=no
59458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459 ac_ext=c
59460 ac_cpp='$CPP $CPPFLAGS'
59461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59470 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59471 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59472 for ac_func in quick_exit
59473 do :
59474 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59475 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59476 cat >>confdefs.h <<_ACEOF
59477 #define HAVE_QUICK_EXIT 1
59478 _ACEOF
59481 done
59486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59487 $as_echo_n "checking for strtold declaration... " >&6; }
59488 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59489 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59490 $as_echo_n "(cached) " >&6
59491 else
59494 ac_ext=cpp
59495 ac_cpp='$CXXCPP $CPPFLAGS'
59496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59501 /* end confdefs.h. */
59502 #include <stdlib.h>
59504 main ()
59506 strtold(0, 0);
59508 return 0;
59510 _ACEOF
59511 if ac_fn_cxx_try_compile "$LINENO"; then :
59512 glibcxx_cv_func_strtold_use=yes
59513 else
59514 glibcxx_cv_func_strtold_use=no
59516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59517 ac_ext=c
59518 ac_cpp='$CPP $CPPFLAGS'
59519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59528 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59529 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59530 for ac_func in strtold
59531 do :
59532 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59533 if test "x$ac_cv_func_strtold" = x""yes; then :
59534 cat >>confdefs.h <<_ACEOF
59535 #define HAVE_STRTOLD 1
59536 _ACEOF
59539 done
59546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59547 $as_echo_n "checking for strtof declaration... " >&6; }
59548 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59549 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59550 $as_echo_n "(cached) " >&6
59551 else
59554 ac_ext=cpp
59555 ac_cpp='$CXXCPP $CPPFLAGS'
59556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59561 /* end confdefs.h. */
59562 #include <stdlib.h>
59564 main ()
59566 strtof(0, 0);
59568 return 0;
59570 _ACEOF
59571 if ac_fn_cxx_try_compile "$LINENO"; then :
59572 glibcxx_cv_func_strtof_use=yes
59573 else
59574 glibcxx_cv_func_strtof_use=no
59576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59577 ac_ext=c
59578 ac_cpp='$CPP $CPPFLAGS'
59579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59588 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59589 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59590 for ac_func in strtof
59591 do :
59592 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59593 if test "x$ac_cv_func_strtof" = x""yes; then :
59594 cat >>confdefs.h <<_ACEOF
59595 #define HAVE_STRTOF 1
59596 _ACEOF
59599 done
59606 CXXFLAGS="$ac_save_CXXFLAGS"
59608 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59612 # Check whether --enable-tls was given.
59613 if test "${enable_tls+set}" = set; then :
59614 enableval=$enable_tls;
59615 case "$enableval" in
59616 yes|no) ;;
59617 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59618 esac
59620 else
59621 enable_tls=yes
59625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59626 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59627 if test "${gcc_cv_have_tls+set}" = set; then :
59628 $as_echo_n "(cached) " >&6
59629 else
59631 if test "$cross_compiling" = yes; then :
59632 if test x$gcc_no_link = xyes; then
59633 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59636 /* end confdefs.h. */
59637 __thread int a; int b; int main() { return a = b; }
59638 _ACEOF
59639 if ac_fn_c_try_link "$LINENO"; then :
59640 chktls_save_LDFLAGS="$LDFLAGS"
59641 case $host in
59642 *-*-linux*)
59643 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59645 esac
59646 chktls_save_CFLAGS="$CFLAGS"
59647 CFLAGS="-fPIC $CFLAGS"
59648 if test x$gcc_no_link = xyes; then
59649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59652 /* end confdefs.h. */
59653 int f() { return 0; }
59654 _ACEOF
59655 if ac_fn_c_try_link "$LINENO"; then :
59656 if test x$gcc_no_link = xyes; then
59657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59660 /* end confdefs.h. */
59661 __thread int a; int b; int f() { return a = b; }
59662 _ACEOF
59663 if ac_fn_c_try_link "$LINENO"; then :
59664 gcc_cv_have_tls=yes
59665 else
59666 gcc_cv_have_tls=no
59668 rm -f core conftest.err conftest.$ac_objext \
59669 conftest$ac_exeext conftest.$ac_ext
59670 else
59671 gcc_cv_have_tls=yes
59673 rm -f core conftest.err conftest.$ac_objext \
59674 conftest$ac_exeext conftest.$ac_ext
59675 CFLAGS="$chktls_save_CFLAGS"
59676 LDFLAGS="$chktls_save_LDFLAGS"
59677 else
59678 gcc_cv_have_tls=no
59680 rm -f core conftest.err conftest.$ac_objext \
59681 conftest$ac_exeext conftest.$ac_ext
59684 else
59685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59686 /* end confdefs.h. */
59687 __thread int a; int b; int main() { return a = b; }
59688 _ACEOF
59689 if ac_fn_c_try_run "$LINENO"; then :
59690 chktls_save_LDFLAGS="$LDFLAGS"
59691 LDFLAGS="-static $LDFLAGS"
59692 if test x$gcc_no_link = xyes; then
59693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59696 /* end confdefs.h. */
59697 int main() { return 0; }
59698 _ACEOF
59699 if ac_fn_c_try_link "$LINENO"; then :
59700 if test "$cross_compiling" = yes; then :
59701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59703 as_fn_error "cannot run test program while cross compiling
59704 See \`config.log' for more details." "$LINENO" 5; }
59705 else
59706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59707 /* end confdefs.h. */
59708 __thread int a; int b; int main() { return a = b; }
59709 _ACEOF
59710 if ac_fn_c_try_run "$LINENO"; then :
59711 gcc_cv_have_tls=yes
59712 else
59713 gcc_cv_have_tls=no
59715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59716 conftest.$ac_objext conftest.beam conftest.$ac_ext
59719 else
59720 gcc_cv_have_tls=yes
59722 rm -f core conftest.err conftest.$ac_objext \
59723 conftest$ac_exeext conftest.$ac_ext
59724 LDFLAGS="$chktls_save_LDFLAGS"
59725 if test $gcc_cv_have_tls = yes; then
59726 chktls_save_CFLAGS="$CFLAGS"
59727 thread_CFLAGS=failed
59728 for flag in '' '-pthread' '-lpthread'; do
59729 CFLAGS="$flag $chktls_save_CFLAGS"
59730 if test x$gcc_no_link = xyes; then
59731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59734 /* end confdefs.h. */
59735 #include <pthread.h>
59736 void *g(void *d) { return NULL; }
59738 main ()
59740 pthread_t t; pthread_create(&t,NULL,g,NULL);
59742 return 0;
59744 _ACEOF
59745 if ac_fn_c_try_link "$LINENO"; then :
59746 thread_CFLAGS="$flag"
59748 rm -f core conftest.err conftest.$ac_objext \
59749 conftest$ac_exeext conftest.$ac_ext
59750 if test "X$thread_CFLAGS" != Xfailed; then
59751 break
59753 done
59754 CFLAGS="$chktls_save_CFLAGS"
59755 if test "X$thread_CFLAGS" != Xfailed; then
59756 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59757 if test "$cross_compiling" = yes; then :
59758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59760 as_fn_error "cannot run test program while cross compiling
59761 See \`config.log' for more details." "$LINENO" 5; }
59762 else
59763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59764 /* end confdefs.h. */
59765 #include <pthread.h>
59766 __thread int a;
59767 static int *volatile a_in_other_thread;
59768 static void *
59769 thread_func (void *arg)
59771 a_in_other_thread = &a;
59772 return (void *)0;
59775 main ()
59777 pthread_t thread;
59778 void *thread_retval;
59779 int *volatile a_in_main_thread;
59780 a_in_main_thread = &a;
59781 if (pthread_create (&thread, (pthread_attr_t *)0,
59782 thread_func, (void *)0))
59783 return 0;
59784 if (pthread_join (thread, &thread_retval))
59785 return 0;
59786 return (a_in_other_thread == a_in_main_thread);
59788 return 0;
59790 _ACEOF
59791 if ac_fn_c_try_run "$LINENO"; then :
59792 gcc_cv_have_tls=yes
59793 else
59794 gcc_cv_have_tls=no
59796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59797 conftest.$ac_objext conftest.beam conftest.$ac_ext
59800 CFLAGS="$chktls_save_CFLAGS"
59803 else
59804 gcc_cv_have_tls=no
59806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59807 conftest.$ac_objext conftest.beam conftest.$ac_ext
59811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59812 $as_echo "$gcc_cv_have_tls" >&6; }
59813 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59815 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59818 for ac_func in __cxa_thread_atexit_impl
59819 do :
59820 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59821 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59822 cat >>confdefs.h <<_ACEOF
59823 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59824 _ACEOF
59827 done
59829 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59830 do :
59831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59833 eval as_val=\$$as_ac_var
59834 if test "x$as_val" = x""yes; then :
59835 cat >>confdefs.h <<_ACEOF
59836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59837 _ACEOF
59840 done
59847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59848 $as_echo_n "checking for iconv... " >&6; }
59849 if test "${am_cv_func_iconv+set}" = set; then :
59850 $as_echo_n "(cached) " >&6
59851 else
59853 am_cv_func_iconv="no, consider installing GNU libiconv"
59854 am_cv_lib_iconv=no
59855 am_save_CPPFLAGS="$CPPFLAGS"
59856 CPPFLAGS="$CPPFLAGS $INCICONV"
59857 if test x$gcc_no_link = xyes; then
59858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59861 /* end confdefs.h. */
59862 #include <stdlib.h>
59863 #include <iconv.h>
59865 main ()
59867 iconv_t cd = iconv_open("","");
59868 iconv(cd,NULL,NULL,NULL,NULL);
59869 iconv_close(cd);
59871 return 0;
59873 _ACEOF
59874 if ac_fn_c_try_link "$LINENO"; then :
59875 am_cv_func_iconv=yes
59877 rm -f core conftest.err conftest.$ac_objext \
59878 conftest$ac_exeext conftest.$ac_ext
59879 CPPFLAGS="$am_save_CPPFLAGS"
59881 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59882 for _libs in .libs _libs; do
59883 am_save_CPPFLAGS="$CPPFLAGS"
59884 am_save_LIBS="$LIBS"
59885 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59886 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59887 if test x$gcc_no_link = xyes; then
59888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59891 /* end confdefs.h. */
59892 #include <stdlib.h>
59893 #include <iconv.h>
59895 main ()
59897 iconv_t cd = iconv_open("","");
59898 iconv(cd,NULL,NULL,NULL,NULL);
59899 iconv_close(cd);
59901 return 0;
59903 _ACEOF
59904 if ac_fn_c_try_link "$LINENO"; then :
59905 INCICONV="-I../libiconv/include"
59906 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59907 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59908 am_cv_lib_iconv=yes
59909 am_cv_func_iconv=yes
59911 rm -f core conftest.err conftest.$ac_objext \
59912 conftest$ac_exeext conftest.$ac_ext
59913 CPPFLAGS="$am_save_CPPFLAGS"
59914 LIBS="$am_save_LIBS"
59915 if test "$am_cv_func_iconv" = "yes"; then
59916 break
59918 done
59921 if test "$am_cv_func_iconv" != yes; then
59922 am_save_CPPFLAGS="$CPPFLAGS"
59923 am_save_LIBS="$LIBS"
59924 CPPFLAGS="$LIBS $INCICONV"
59925 LIBS="$LIBS $LIBICONV"
59926 if test x$gcc_no_link = xyes; then
59927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h. */
59931 #include <stdlib.h>
59932 #include <iconv.h>
59934 main ()
59936 iconv_t cd = iconv_open("","");
59937 iconv(cd,NULL,NULL,NULL,NULL);
59938 iconv_close(cd);
59940 return 0;
59942 _ACEOF
59943 if ac_fn_c_try_link "$LINENO"; then :
59944 am_cv_lib_iconv=yes
59945 am_cv_func_iconv=yes
59947 rm -f core conftest.err conftest.$ac_objext \
59948 conftest$ac_exeext conftest.$ac_ext
59949 CPPFLAGS="$am_save_CPPFLAGS"
59950 LIBS="$am_save_LIBS"
59954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59955 $as_echo "$am_cv_func_iconv" >&6; }
59956 if test "$am_cv_func_iconv" = yes; then
59958 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59961 if test "$am_cv_lib_iconv" = yes; then
59963 for element in $INCICONV; do
59964 haveit=
59965 for x in $CPPFLAGS; do
59967 acl_save_prefix="$prefix"
59968 prefix="$acl_final_prefix"
59969 acl_save_exec_prefix="$exec_prefix"
59970 exec_prefix="$acl_final_exec_prefix"
59971 eval x=\"$x\"
59972 exec_prefix="$acl_save_exec_prefix"
59973 prefix="$acl_save_prefix"
59975 if test "X$x" = "X$element"; then
59976 haveit=yes
59977 break
59979 done
59980 if test -z "$haveit"; then
59981 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59983 done
59985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59986 $as_echo_n "checking how to link with libiconv... " >&6; }
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59988 $as_echo "$LIBICONV" >&6; }
59989 else
59990 LIBICONV=
59991 LTLIBICONV=
59996 if test "$am_cv_func_iconv" = yes; then
59997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59998 $as_echo_n "checking for iconv declaration... " >&6; }
59999 if test "${am_cv_proto_iconv+set}" = set; then :
60000 $as_echo_n "(cached) " >&6
60001 else
60003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60004 /* end confdefs.h. */
60006 #include <stdlib.h>
60007 #include <iconv.h>
60008 extern
60009 #ifdef __cplusplus
60011 #endif
60012 #if defined(__STDC__) || defined(__cplusplus)
60013 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60014 #else
60015 size_t iconv();
60016 #endif
60019 main ()
60023 return 0;
60025 _ACEOF
60026 if ac_fn_c_try_compile "$LINENO"; then :
60027 am_cv_proto_iconv_arg1=""
60028 else
60029 am_cv_proto_iconv_arg1="const"
60031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60032 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);"
60035 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60037 }$am_cv_proto_iconv" >&5
60038 $as_echo "${ac_t:-
60039 }$am_cv_proto_iconv" >&6; }
60041 cat >>confdefs.h <<_ACEOF
60042 #define ICONV_CONST $am_cv_proto_iconv_arg1
60043 _ACEOF
60048 *-mingw32*)
60050 # If we're not using GNU ld, then there's no point in even trying these
60051 # tests. Check for that first. We should have already tested for gld
60052 # by now (in libtool), but require it now just to be safe...
60053 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60054 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60058 # The name set by libtool depends on the version of libtool. Shame on us
60059 # for depending on an impl detail, but c'est la vie. Older versions used
60060 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60061 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60062 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60063 # set (hence we're using an older libtool), then set it.
60064 if test x${with_gnu_ld+set} != xset; then
60065 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60066 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60067 with_gnu_ld=no
60068 else
60069 with_gnu_ld=$ac_cv_prog_gnu_ld
60073 # Start by getting the version number. I think the libtool test already
60074 # does some of this, but throws away the result.
60075 glibcxx_ld_is_gold=no
60076 if test x"$with_gnu_ld" = x"yes"; then
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60078 $as_echo_n "checking for ld version... " >&6; }
60080 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60081 glibcxx_ld_is_gold=yes
60083 ldver=`$LD --version 2>/dev/null |
60084 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'`
60086 glibcxx_gnu_ld_version=`echo $ldver | \
60087 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60089 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60092 # Set --gc-sections.
60093 glibcxx_have_gc_sections=no
60094 if test "$glibcxx_ld_is_gold" = "yes"; then
60095 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60096 glibcxx_have_gc_sections=yes
60098 else
60099 glibcxx_gcsections_min_ld=21602
60100 if test x"$with_gnu_ld" = x"yes" &&
60101 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60102 glibcxx_have_gc_sections=yes
60105 if test "$glibcxx_have_gc_sections" = "yes"; then
60106 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60107 # NB: This flag only works reliably after 2.16.1. Configure tests
60108 # for this are difficult, so hard wire a value that should work.
60110 ac_test_CFLAGS="${CFLAGS+set}"
60111 ac_save_CFLAGS="$CFLAGS"
60112 CFLAGS='-Wl,--gc-sections'
60114 # Check for -Wl,--gc-sections
60115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60116 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60117 if test x$gcc_no_link = xyes; then
60118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60121 /* end confdefs.h. */
60122 int one(void) { return 1; }
60123 int two(void) { return 2; }
60126 main ()
60128 two();
60130 return 0;
60132 _ACEOF
60133 if ac_fn_c_try_link "$LINENO"; then :
60134 ac_gcsections=yes
60135 else
60136 ac_gcsections=no
60138 rm -f core conftest.err conftest.$ac_objext \
60139 conftest$ac_exeext conftest.$ac_ext
60140 if test "$ac_gcsections" = "yes"; then
60141 rm -f conftest.c
60142 touch conftest.c
60143 if $CC -c conftest.c; then
60144 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60145 grep "Warning: gc-sections option ignored" > /dev/null; then
60146 ac_gcsections=no
60149 rm -f conftest.c conftest.o conftest
60151 if test "$ac_gcsections" = "yes"; then
60152 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60155 $as_echo "$ac_gcsections" >&6; }
60157 if test "$ac_test_CFLAGS" = set; then
60158 CFLAGS="$ac_save_CFLAGS"
60159 else
60160 # this is the suspicious part
60161 CFLAGS=''
60165 # Set -z,relro.
60166 # Note this is only for shared objects.
60167 ac_ld_relro=no
60168 if test x"$with_gnu_ld" = x"yes"; then
60169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60170 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60171 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60172 if test -n "$cxx_z_relo"; then
60173 OPT_LDFLAGS="-Wl,-z,relro"
60174 ac_ld_relro=yes
60176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60177 $as_echo "$ac_ld_relro" >&6; }
60180 # Set linker optimization flags.
60181 if test x"$with_gnu_ld" = x"yes"; then
60182 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60189 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60190 ac_save_CXXFLAGS="$CXXFLAGS"
60191 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60194 $as_echo_n "checking for sin in -lm... " >&6; }
60195 if test "${ac_cv_lib_m_sin+set}" = set; then :
60196 $as_echo_n "(cached) " >&6
60197 else
60198 ac_check_lib_save_LIBS=$LIBS
60199 LIBS="-lm $LIBS"
60200 if test x$gcc_no_link = xyes; then
60201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60204 /* end confdefs.h. */
60206 /* Override any GCC internal prototype to avoid an error.
60207 Use char because int might match the return type of a GCC
60208 builtin and then its argument prototype would still apply. */
60209 #ifdef __cplusplus
60210 extern "C"
60211 #endif
60212 char sin ();
60214 main ()
60216 return sin ();
60218 return 0;
60220 _ACEOF
60221 if ac_fn_c_try_link "$LINENO"; then :
60222 ac_cv_lib_m_sin=yes
60223 else
60224 ac_cv_lib_m_sin=no
60226 rm -f core conftest.err conftest.$ac_objext \
60227 conftest$ac_exeext conftest.$ac_ext
60228 LIBS=$ac_check_lib_save_LIBS
60230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60231 $as_echo "$ac_cv_lib_m_sin" >&6; }
60232 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60233 libm="-lm"
60236 ac_save_LIBS="$LIBS"
60237 LIBS="$LIBS $libm"
60241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60242 $as_echo_n "checking for isinf declaration... " >&6; }
60243 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60244 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60245 $as_echo_n "(cached) " >&6
60246 else
60249 ac_ext=cpp
60250 ac_cpp='$CXXCPP $CPPFLAGS'
60251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60256 /* end confdefs.h. */
60257 #include <math.h>
60258 #ifdef HAVE_IEEEFP_H
60259 #include <ieeefp.h>
60260 #endif
60263 main ()
60265 isinf(0);
60267 return 0;
60269 _ACEOF
60270 if ac_fn_cxx_try_compile "$LINENO"; then :
60271 glibcxx_cv_func_isinf_use=yes
60272 else
60273 glibcxx_cv_func_isinf_use=no
60275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60276 ac_ext=c
60277 ac_cpp='$CPP $CPPFLAGS'
60278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60287 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60289 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60290 for ac_func in isinf
60291 do :
60292 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60293 if test "x$ac_cv_func_isinf" = x""yes; then :
60294 cat >>confdefs.h <<_ACEOF
60295 #define HAVE_ISINF 1
60296 _ACEOF
60299 done
60301 else
60303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60304 $as_echo_n "checking for _isinf declaration... " >&6; }
60305 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60306 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60307 $as_echo_n "(cached) " >&6
60308 else
60311 ac_ext=cpp
60312 ac_cpp='$CXXCPP $CPPFLAGS'
60313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60318 /* end confdefs.h. */
60319 #include <math.h>
60320 #ifdef HAVE_IEEEFP_H
60321 #include <ieeefp.h>
60322 #endif
60325 main ()
60327 _isinf(0);
60329 return 0;
60331 _ACEOF
60332 if ac_fn_cxx_try_compile "$LINENO"; then :
60333 glibcxx_cv_func__isinf_use=yes
60334 else
60335 glibcxx_cv_func__isinf_use=no
60337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60338 ac_ext=c
60339 ac_cpp='$CPP $CPPFLAGS'
60340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60349 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60351 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60352 for ac_func in _isinf
60353 do :
60354 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60355 if test "x$ac_cv_func__isinf" = x""yes; then :
60356 cat >>confdefs.h <<_ACEOF
60357 #define HAVE__ISINF 1
60358 _ACEOF
60361 done
60370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60371 $as_echo_n "checking for isnan declaration... " >&6; }
60372 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60373 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60374 $as_echo_n "(cached) " >&6
60375 else
60378 ac_ext=cpp
60379 ac_cpp='$CXXCPP $CPPFLAGS'
60380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60385 /* end confdefs.h. */
60386 #include <math.h>
60387 #ifdef HAVE_IEEEFP_H
60388 #include <ieeefp.h>
60389 #endif
60392 main ()
60394 isnan(0);
60396 return 0;
60398 _ACEOF
60399 if ac_fn_cxx_try_compile "$LINENO"; then :
60400 glibcxx_cv_func_isnan_use=yes
60401 else
60402 glibcxx_cv_func_isnan_use=no
60404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60405 ac_ext=c
60406 ac_cpp='$CPP $CPPFLAGS'
60407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60416 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60418 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60419 for ac_func in isnan
60420 do :
60421 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60422 if test "x$ac_cv_func_isnan" = x""yes; then :
60423 cat >>confdefs.h <<_ACEOF
60424 #define HAVE_ISNAN 1
60425 _ACEOF
60428 done
60430 else
60432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60433 $as_echo_n "checking for _isnan declaration... " >&6; }
60434 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60435 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60436 $as_echo_n "(cached) " >&6
60437 else
60440 ac_ext=cpp
60441 ac_cpp='$CXXCPP $CPPFLAGS'
60442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60447 /* end confdefs.h. */
60448 #include <math.h>
60449 #ifdef HAVE_IEEEFP_H
60450 #include <ieeefp.h>
60451 #endif
60454 main ()
60456 _isnan(0);
60458 return 0;
60460 _ACEOF
60461 if ac_fn_cxx_try_compile "$LINENO"; then :
60462 glibcxx_cv_func__isnan_use=yes
60463 else
60464 glibcxx_cv_func__isnan_use=no
60466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60467 ac_ext=c
60468 ac_cpp='$CPP $CPPFLAGS'
60469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60478 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60480 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60481 for ac_func in _isnan
60482 do :
60483 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60484 if test "x$ac_cv_func__isnan" = x""yes; then :
60485 cat >>confdefs.h <<_ACEOF
60486 #define HAVE__ISNAN 1
60487 _ACEOF
60490 done
60499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60500 $as_echo_n "checking for finite declaration... " >&6; }
60501 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60502 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60503 $as_echo_n "(cached) " >&6
60504 else
60507 ac_ext=cpp
60508 ac_cpp='$CXXCPP $CPPFLAGS'
60509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60514 /* end confdefs.h. */
60515 #include <math.h>
60516 #ifdef HAVE_IEEEFP_H
60517 #include <ieeefp.h>
60518 #endif
60521 main ()
60523 finite(0);
60525 return 0;
60527 _ACEOF
60528 if ac_fn_cxx_try_compile "$LINENO"; then :
60529 glibcxx_cv_func_finite_use=yes
60530 else
60531 glibcxx_cv_func_finite_use=no
60533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60534 ac_ext=c
60535 ac_cpp='$CPP $CPPFLAGS'
60536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60545 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60547 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60548 for ac_func in finite
60549 do :
60550 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60551 if test "x$ac_cv_func_finite" = x""yes; then :
60552 cat >>confdefs.h <<_ACEOF
60553 #define HAVE_FINITE 1
60554 _ACEOF
60557 done
60559 else
60561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60562 $as_echo_n "checking for _finite declaration... " >&6; }
60563 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60564 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60565 $as_echo_n "(cached) " >&6
60566 else
60569 ac_ext=cpp
60570 ac_cpp='$CXXCPP $CPPFLAGS'
60571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60576 /* end confdefs.h. */
60577 #include <math.h>
60578 #ifdef HAVE_IEEEFP_H
60579 #include <ieeefp.h>
60580 #endif
60583 main ()
60585 _finite(0);
60587 return 0;
60589 _ACEOF
60590 if ac_fn_cxx_try_compile "$LINENO"; then :
60591 glibcxx_cv_func__finite_use=yes
60592 else
60593 glibcxx_cv_func__finite_use=no
60595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60596 ac_ext=c
60597 ac_cpp='$CPP $CPPFLAGS'
60598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60607 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60609 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60610 for ac_func in _finite
60611 do :
60612 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60613 if test "x$ac_cv_func__finite" = x""yes; then :
60614 cat >>confdefs.h <<_ACEOF
60615 #define HAVE__FINITE 1
60616 _ACEOF
60619 done
60628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60629 $as_echo_n "checking for sincos declaration... " >&6; }
60630 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60631 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60632 $as_echo_n "(cached) " >&6
60633 else
60636 ac_ext=cpp
60637 ac_cpp='$CXXCPP $CPPFLAGS'
60638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60643 /* end confdefs.h. */
60644 #include <math.h>
60646 main ()
60648 sincos(0, 0, 0);
60650 return 0;
60652 _ACEOF
60653 if ac_fn_cxx_try_compile "$LINENO"; then :
60654 glibcxx_cv_func_sincos_use=yes
60655 else
60656 glibcxx_cv_func_sincos_use=no
60658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60659 ac_ext=c
60660 ac_cpp='$CPP $CPPFLAGS'
60661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60670 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60672 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60673 for ac_func in sincos
60674 do :
60675 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60676 if test "x$ac_cv_func_sincos" = x""yes; then :
60677 cat >>confdefs.h <<_ACEOF
60678 #define HAVE_SINCOS 1
60679 _ACEOF
60682 done
60684 else
60686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60687 $as_echo_n "checking for _sincos declaration... " >&6; }
60688 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60689 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60690 $as_echo_n "(cached) " >&6
60691 else
60694 ac_ext=cpp
60695 ac_cpp='$CXXCPP $CPPFLAGS'
60696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60701 /* end confdefs.h. */
60702 #include <math.h>
60704 main ()
60706 _sincos(0, 0, 0);
60708 return 0;
60710 _ACEOF
60711 if ac_fn_cxx_try_compile "$LINENO"; then :
60712 glibcxx_cv_func__sincos_use=yes
60713 else
60714 glibcxx_cv_func__sincos_use=no
60716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60717 ac_ext=c
60718 ac_cpp='$CPP $CPPFLAGS'
60719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60728 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60730 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60731 for ac_func in _sincos
60732 do :
60733 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60734 if test "x$ac_cv_func__sincos" = x""yes; then :
60735 cat >>confdefs.h <<_ACEOF
60736 #define HAVE__SINCOS 1
60737 _ACEOF
60740 done
60749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60750 $as_echo_n "checking for fpclass declaration... " >&6; }
60751 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60752 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60753 $as_echo_n "(cached) " >&6
60754 else
60757 ac_ext=cpp
60758 ac_cpp='$CXXCPP $CPPFLAGS'
60759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60764 /* end confdefs.h. */
60765 #include <math.h>
60766 #ifdef HAVE_IEEEFP_H
60767 #include <ieeefp.h>
60768 #endif
60771 main ()
60773 fpclass(0);
60775 return 0;
60777 _ACEOF
60778 if ac_fn_cxx_try_compile "$LINENO"; then :
60779 glibcxx_cv_func_fpclass_use=yes
60780 else
60781 glibcxx_cv_func_fpclass_use=no
60783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60784 ac_ext=c
60785 ac_cpp='$CPP $CPPFLAGS'
60786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60795 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60797 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60798 for ac_func in fpclass
60799 do :
60800 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60801 if test "x$ac_cv_func_fpclass" = x""yes; then :
60802 cat >>confdefs.h <<_ACEOF
60803 #define HAVE_FPCLASS 1
60804 _ACEOF
60807 done
60809 else
60811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60812 $as_echo_n "checking for _fpclass declaration... " >&6; }
60813 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60814 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60815 $as_echo_n "(cached) " >&6
60816 else
60819 ac_ext=cpp
60820 ac_cpp='$CXXCPP $CPPFLAGS'
60821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60826 /* end confdefs.h. */
60827 #include <math.h>
60828 #ifdef HAVE_IEEEFP_H
60829 #include <ieeefp.h>
60830 #endif
60833 main ()
60835 _fpclass(0);
60837 return 0;
60839 _ACEOF
60840 if ac_fn_cxx_try_compile "$LINENO"; then :
60841 glibcxx_cv_func__fpclass_use=yes
60842 else
60843 glibcxx_cv_func__fpclass_use=no
60845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60846 ac_ext=c
60847 ac_cpp='$CPP $CPPFLAGS'
60848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60857 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60859 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60860 for ac_func in _fpclass
60861 do :
60862 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60863 if test "x$ac_cv_func__fpclass" = x""yes; then :
60864 cat >>confdefs.h <<_ACEOF
60865 #define HAVE__FPCLASS 1
60866 _ACEOF
60869 done
60878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60879 $as_echo_n "checking for qfpclass declaration... " >&6; }
60880 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60881 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60882 $as_echo_n "(cached) " >&6
60883 else
60886 ac_ext=cpp
60887 ac_cpp='$CXXCPP $CPPFLAGS'
60888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60893 /* end confdefs.h. */
60894 #include <math.h>
60895 #ifdef HAVE_IEEEFP_H
60896 #include <ieeefp.h>
60897 #endif
60900 main ()
60902 qfpclass(0);
60904 return 0;
60906 _ACEOF
60907 if ac_fn_cxx_try_compile "$LINENO"; then :
60908 glibcxx_cv_func_qfpclass_use=yes
60909 else
60910 glibcxx_cv_func_qfpclass_use=no
60912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60913 ac_ext=c
60914 ac_cpp='$CPP $CPPFLAGS'
60915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60924 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60926 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60927 for ac_func in qfpclass
60928 do :
60929 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60930 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60931 cat >>confdefs.h <<_ACEOF
60932 #define HAVE_QFPCLASS 1
60933 _ACEOF
60936 done
60938 else
60940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60941 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60942 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60943 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60944 $as_echo_n "(cached) " >&6
60945 else
60948 ac_ext=cpp
60949 ac_cpp='$CXXCPP $CPPFLAGS'
60950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60955 /* end confdefs.h. */
60956 #include <math.h>
60957 #ifdef HAVE_IEEEFP_H
60958 #include <ieeefp.h>
60959 #endif
60962 main ()
60964 _qfpclass(0);
60966 return 0;
60968 _ACEOF
60969 if ac_fn_cxx_try_compile "$LINENO"; then :
60970 glibcxx_cv_func__qfpclass_use=yes
60971 else
60972 glibcxx_cv_func__qfpclass_use=no
60974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60975 ac_ext=c
60976 ac_cpp='$CPP $CPPFLAGS'
60977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60986 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60988 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60989 for ac_func in _qfpclass
60990 do :
60991 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60992 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60993 cat >>confdefs.h <<_ACEOF
60994 #define HAVE__QFPCLASS 1
60995 _ACEOF
60998 done
61007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61008 $as_echo_n "checking for hypot declaration... " >&6; }
61009 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61010 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61011 $as_echo_n "(cached) " >&6
61012 else
61015 ac_ext=cpp
61016 ac_cpp='$CXXCPP $CPPFLAGS'
61017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61022 /* end confdefs.h. */
61023 #include <math.h>
61025 main ()
61027 hypot(0, 0);
61029 return 0;
61031 _ACEOF
61032 if ac_fn_cxx_try_compile "$LINENO"; then :
61033 glibcxx_cv_func_hypot_use=yes
61034 else
61035 glibcxx_cv_func_hypot_use=no
61037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61038 ac_ext=c
61039 ac_cpp='$CPP $CPPFLAGS'
61040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61049 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61051 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61052 for ac_func in hypot
61053 do :
61054 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61055 if test "x$ac_cv_func_hypot" = x""yes; then :
61056 cat >>confdefs.h <<_ACEOF
61057 #define HAVE_HYPOT 1
61058 _ACEOF
61061 done
61063 else
61065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61066 $as_echo_n "checking for _hypot declaration... " >&6; }
61067 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61068 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61069 $as_echo_n "(cached) " >&6
61070 else
61073 ac_ext=cpp
61074 ac_cpp='$CXXCPP $CPPFLAGS'
61075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61080 /* end confdefs.h. */
61081 #include <math.h>
61083 main ()
61085 _hypot(0, 0);
61087 return 0;
61089 _ACEOF
61090 if ac_fn_cxx_try_compile "$LINENO"; then :
61091 glibcxx_cv_func__hypot_use=yes
61092 else
61093 glibcxx_cv_func__hypot_use=no
61095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61096 ac_ext=c
61097 ac_cpp='$CPP $CPPFLAGS'
61098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61107 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61109 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61110 for ac_func in _hypot
61111 do :
61112 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61113 if test "x$ac_cv_func__hypot" = x""yes; then :
61114 cat >>confdefs.h <<_ACEOF
61115 #define HAVE__HYPOT 1
61116 _ACEOF
61119 done
61128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61129 $as_echo_n "checking for float trig functions... " >&6; }
61130 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61131 $as_echo_n "(cached) " >&6
61132 else
61135 ac_ext=cpp
61136 ac_cpp='$CXXCPP $CPPFLAGS'
61137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61142 /* end confdefs.h. */
61143 #include <math.h>
61145 main ()
61147 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61149 return 0;
61151 _ACEOF
61152 if ac_fn_cxx_try_compile "$LINENO"; then :
61153 glibcxx_cv_func_float_trig_use=yes
61154 else
61155 glibcxx_cv_func_float_trig_use=no
61157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61158 ac_ext=c
61159 ac_cpp='$CPP $CPPFLAGS'
61160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61167 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61168 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61169 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61170 do :
61171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61173 eval as_val=\$$as_ac_var
61174 if test "x$as_val" = x""yes; then :
61175 cat >>confdefs.h <<_ACEOF
61176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61177 _ACEOF
61180 done
61182 else
61183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61184 $as_echo_n "checking for _float trig functions... " >&6; }
61185 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61186 $as_echo_n "(cached) " >&6
61187 else
61190 ac_ext=cpp
61191 ac_cpp='$CXXCPP $CPPFLAGS'
61192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61197 /* end confdefs.h. */
61198 #include <math.h>
61200 main ()
61202 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61204 return 0;
61206 _ACEOF
61207 if ac_fn_cxx_try_compile "$LINENO"; then :
61208 glibcxx_cv_func__float_trig_use=yes
61209 else
61210 glibcxx_cv_func__float_trig_use=no
61212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61213 ac_ext=c
61214 ac_cpp='$CPP $CPPFLAGS'
61215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61222 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61223 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61224 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61225 do :
61226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61228 eval as_val=\$$as_ac_var
61229 if test "x$as_val" = x""yes; then :
61230 cat >>confdefs.h <<_ACEOF
61231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61232 _ACEOF
61235 done
61244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61245 $as_echo_n "checking for float round functions... " >&6; }
61246 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61247 $as_echo_n "(cached) " >&6
61248 else
61251 ac_ext=cpp
61252 ac_cpp='$CXXCPP $CPPFLAGS'
61253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61258 /* end confdefs.h. */
61259 #include <math.h>
61261 main ()
61263 ceilf (0); floorf (0);
61265 return 0;
61267 _ACEOF
61268 if ac_fn_cxx_try_compile "$LINENO"; then :
61269 glibcxx_cv_func_float_round_use=yes
61270 else
61271 glibcxx_cv_func_float_round_use=no
61273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61274 ac_ext=c
61275 ac_cpp='$CPP $CPPFLAGS'
61276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61283 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61284 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61285 for ac_func in ceilf floorf
61286 do :
61287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61289 eval as_val=\$$as_ac_var
61290 if test "x$as_val" = x""yes; then :
61291 cat >>confdefs.h <<_ACEOF
61292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61293 _ACEOF
61296 done
61298 else
61299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61300 $as_echo_n "checking for _float round functions... " >&6; }
61301 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61302 $as_echo_n "(cached) " >&6
61303 else
61306 ac_ext=cpp
61307 ac_cpp='$CXXCPP $CPPFLAGS'
61308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61313 /* end confdefs.h. */
61314 #include <math.h>
61316 main ()
61318 _ceilf (0); _floorf (0);
61320 return 0;
61322 _ACEOF
61323 if ac_fn_cxx_try_compile "$LINENO"; then :
61324 glibcxx_cv_func__float_round_use=yes
61325 else
61326 glibcxx_cv_func__float_round_use=no
61328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61329 ac_ext=c
61330 ac_cpp='$CPP $CPPFLAGS'
61331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61338 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61339 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61340 for ac_func in _ceilf _floorf
61341 do :
61342 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61343 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61344 eval as_val=\$$as_ac_var
61345 if test "x$as_val" = x""yes; then :
61346 cat >>confdefs.h <<_ACEOF
61347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61348 _ACEOF
61351 done
61361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61362 $as_echo_n "checking for expf declaration... " >&6; }
61363 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61364 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61365 $as_echo_n "(cached) " >&6
61366 else
61369 ac_ext=cpp
61370 ac_cpp='$CXXCPP $CPPFLAGS'
61371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61376 /* end confdefs.h. */
61377 #include <math.h>
61378 #ifdef HAVE_IEEEFP_H
61379 #include <ieeefp.h>
61380 #endif
61383 main ()
61385 expf(0);
61387 return 0;
61389 _ACEOF
61390 if ac_fn_cxx_try_compile "$LINENO"; then :
61391 glibcxx_cv_func_expf_use=yes
61392 else
61393 glibcxx_cv_func_expf_use=no
61395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61396 ac_ext=c
61397 ac_cpp='$CPP $CPPFLAGS'
61398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61407 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61409 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61410 for ac_func in expf
61411 do :
61412 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61413 if test "x$ac_cv_func_expf" = x""yes; then :
61414 cat >>confdefs.h <<_ACEOF
61415 #define HAVE_EXPF 1
61416 _ACEOF
61419 done
61421 else
61423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61424 $as_echo_n "checking for _expf declaration... " >&6; }
61425 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61426 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61427 $as_echo_n "(cached) " >&6
61428 else
61431 ac_ext=cpp
61432 ac_cpp='$CXXCPP $CPPFLAGS'
61433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61438 /* end confdefs.h. */
61439 #include <math.h>
61440 #ifdef HAVE_IEEEFP_H
61441 #include <ieeefp.h>
61442 #endif
61445 main ()
61447 _expf(0);
61449 return 0;
61451 _ACEOF
61452 if ac_fn_cxx_try_compile "$LINENO"; then :
61453 glibcxx_cv_func__expf_use=yes
61454 else
61455 glibcxx_cv_func__expf_use=no
61457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61458 ac_ext=c
61459 ac_cpp='$CPP $CPPFLAGS'
61460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61469 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61471 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61472 for ac_func in _expf
61473 do :
61474 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61475 if test "x$ac_cv_func__expf" = x""yes; then :
61476 cat >>confdefs.h <<_ACEOF
61477 #define HAVE__EXPF 1
61478 _ACEOF
61481 done
61490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61491 $as_echo_n "checking for isnanf declaration... " >&6; }
61492 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61493 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61494 $as_echo_n "(cached) " >&6
61495 else
61498 ac_ext=cpp
61499 ac_cpp='$CXXCPP $CPPFLAGS'
61500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61505 /* end confdefs.h. */
61506 #include <math.h>
61507 #ifdef HAVE_IEEEFP_H
61508 #include <ieeefp.h>
61509 #endif
61512 main ()
61514 isnanf(0);
61516 return 0;
61518 _ACEOF
61519 if ac_fn_cxx_try_compile "$LINENO"; then :
61520 glibcxx_cv_func_isnanf_use=yes
61521 else
61522 glibcxx_cv_func_isnanf_use=no
61524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61525 ac_ext=c
61526 ac_cpp='$CPP $CPPFLAGS'
61527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61536 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61538 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61539 for ac_func in isnanf
61540 do :
61541 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61542 if test "x$ac_cv_func_isnanf" = x""yes; then :
61543 cat >>confdefs.h <<_ACEOF
61544 #define HAVE_ISNANF 1
61545 _ACEOF
61548 done
61550 else
61552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61553 $as_echo_n "checking for _isnanf declaration... " >&6; }
61554 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61555 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61556 $as_echo_n "(cached) " >&6
61557 else
61560 ac_ext=cpp
61561 ac_cpp='$CXXCPP $CPPFLAGS'
61562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61567 /* end confdefs.h. */
61568 #include <math.h>
61569 #ifdef HAVE_IEEEFP_H
61570 #include <ieeefp.h>
61571 #endif
61574 main ()
61576 _isnanf(0);
61578 return 0;
61580 _ACEOF
61581 if ac_fn_cxx_try_compile "$LINENO"; then :
61582 glibcxx_cv_func__isnanf_use=yes
61583 else
61584 glibcxx_cv_func__isnanf_use=no
61586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61587 ac_ext=c
61588 ac_cpp='$CPP $CPPFLAGS'
61589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61598 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61600 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61601 for ac_func in _isnanf
61602 do :
61603 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61604 if test "x$ac_cv_func__isnanf" = x""yes; then :
61605 cat >>confdefs.h <<_ACEOF
61606 #define HAVE__ISNANF 1
61607 _ACEOF
61610 done
61619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61620 $as_echo_n "checking for isinff declaration... " >&6; }
61621 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61622 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61623 $as_echo_n "(cached) " >&6
61624 else
61627 ac_ext=cpp
61628 ac_cpp='$CXXCPP $CPPFLAGS'
61629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61634 /* end confdefs.h. */
61635 #include <math.h>
61636 #ifdef HAVE_IEEEFP_H
61637 #include <ieeefp.h>
61638 #endif
61641 main ()
61643 isinff(0);
61645 return 0;
61647 _ACEOF
61648 if ac_fn_cxx_try_compile "$LINENO"; then :
61649 glibcxx_cv_func_isinff_use=yes
61650 else
61651 glibcxx_cv_func_isinff_use=no
61653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61654 ac_ext=c
61655 ac_cpp='$CPP $CPPFLAGS'
61656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61665 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61667 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61668 for ac_func in isinff
61669 do :
61670 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61671 if test "x$ac_cv_func_isinff" = x""yes; then :
61672 cat >>confdefs.h <<_ACEOF
61673 #define HAVE_ISINFF 1
61674 _ACEOF
61677 done
61679 else
61681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61682 $as_echo_n "checking for _isinff declaration... " >&6; }
61683 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61684 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61685 $as_echo_n "(cached) " >&6
61686 else
61689 ac_ext=cpp
61690 ac_cpp='$CXXCPP $CPPFLAGS'
61691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61696 /* end confdefs.h. */
61697 #include <math.h>
61698 #ifdef HAVE_IEEEFP_H
61699 #include <ieeefp.h>
61700 #endif
61703 main ()
61705 _isinff(0);
61707 return 0;
61709 _ACEOF
61710 if ac_fn_cxx_try_compile "$LINENO"; then :
61711 glibcxx_cv_func__isinff_use=yes
61712 else
61713 glibcxx_cv_func__isinff_use=no
61715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61716 ac_ext=c
61717 ac_cpp='$CPP $CPPFLAGS'
61718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61727 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61729 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61730 for ac_func in _isinff
61731 do :
61732 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61733 if test "x$ac_cv_func__isinff" = x""yes; then :
61734 cat >>confdefs.h <<_ACEOF
61735 #define HAVE__ISINFF 1
61736 _ACEOF
61739 done
61748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61749 $as_echo_n "checking for atan2f declaration... " >&6; }
61750 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61751 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61752 $as_echo_n "(cached) " >&6
61753 else
61756 ac_ext=cpp
61757 ac_cpp='$CXXCPP $CPPFLAGS'
61758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61763 /* end confdefs.h. */
61764 #include <math.h>
61766 main ()
61768 atan2f(0, 0);
61770 return 0;
61772 _ACEOF
61773 if ac_fn_cxx_try_compile "$LINENO"; then :
61774 glibcxx_cv_func_atan2f_use=yes
61775 else
61776 glibcxx_cv_func_atan2f_use=no
61778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61779 ac_ext=c
61780 ac_cpp='$CPP $CPPFLAGS'
61781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61790 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61792 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61793 for ac_func in atan2f
61794 do :
61795 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61796 if test "x$ac_cv_func_atan2f" = x""yes; then :
61797 cat >>confdefs.h <<_ACEOF
61798 #define HAVE_ATAN2F 1
61799 _ACEOF
61802 done
61804 else
61806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61807 $as_echo_n "checking for _atan2f declaration... " >&6; }
61808 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61809 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61810 $as_echo_n "(cached) " >&6
61811 else
61814 ac_ext=cpp
61815 ac_cpp='$CXXCPP $CPPFLAGS'
61816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61821 /* end confdefs.h. */
61822 #include <math.h>
61824 main ()
61826 _atan2f(0, 0);
61828 return 0;
61830 _ACEOF
61831 if ac_fn_cxx_try_compile "$LINENO"; then :
61832 glibcxx_cv_func__atan2f_use=yes
61833 else
61834 glibcxx_cv_func__atan2f_use=no
61836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61837 ac_ext=c
61838 ac_cpp='$CPP $CPPFLAGS'
61839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61848 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61850 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61851 for ac_func in _atan2f
61852 do :
61853 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61854 if test "x$ac_cv_func__atan2f" = x""yes; then :
61855 cat >>confdefs.h <<_ACEOF
61856 #define HAVE__ATAN2F 1
61857 _ACEOF
61860 done
61869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61870 $as_echo_n "checking for fabsf declaration... " >&6; }
61871 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61872 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61873 $as_echo_n "(cached) " >&6
61874 else
61877 ac_ext=cpp
61878 ac_cpp='$CXXCPP $CPPFLAGS'
61879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61884 /* end confdefs.h. */
61885 #include <math.h>
61886 #ifdef HAVE_IEEEFP_H
61887 #include <ieeefp.h>
61888 #endif
61891 main ()
61893 fabsf(0);
61895 return 0;
61897 _ACEOF
61898 if ac_fn_cxx_try_compile "$LINENO"; then :
61899 glibcxx_cv_func_fabsf_use=yes
61900 else
61901 glibcxx_cv_func_fabsf_use=no
61903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61904 ac_ext=c
61905 ac_cpp='$CPP $CPPFLAGS'
61906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61915 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61917 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61918 for ac_func in fabsf
61919 do :
61920 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61921 if test "x$ac_cv_func_fabsf" = x""yes; then :
61922 cat >>confdefs.h <<_ACEOF
61923 #define HAVE_FABSF 1
61924 _ACEOF
61927 done
61929 else
61931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61932 $as_echo_n "checking for _fabsf declaration... " >&6; }
61933 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61934 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61935 $as_echo_n "(cached) " >&6
61936 else
61939 ac_ext=cpp
61940 ac_cpp='$CXXCPP $CPPFLAGS'
61941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61946 /* end confdefs.h. */
61947 #include <math.h>
61948 #ifdef HAVE_IEEEFP_H
61949 #include <ieeefp.h>
61950 #endif
61953 main ()
61955 _fabsf(0);
61957 return 0;
61959 _ACEOF
61960 if ac_fn_cxx_try_compile "$LINENO"; then :
61961 glibcxx_cv_func__fabsf_use=yes
61962 else
61963 glibcxx_cv_func__fabsf_use=no
61965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61966 ac_ext=c
61967 ac_cpp='$CPP $CPPFLAGS'
61968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61977 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61979 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61980 for ac_func in _fabsf
61981 do :
61982 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61983 if test "x$ac_cv_func__fabsf" = x""yes; then :
61984 cat >>confdefs.h <<_ACEOF
61985 #define HAVE__FABSF 1
61986 _ACEOF
61989 done
61998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61999 $as_echo_n "checking for fmodf declaration... " >&6; }
62000 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62001 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62002 $as_echo_n "(cached) " >&6
62003 else
62006 ac_ext=cpp
62007 ac_cpp='$CXXCPP $CPPFLAGS'
62008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62013 /* end confdefs.h. */
62014 #include <math.h>
62016 main ()
62018 fmodf(0, 0);
62020 return 0;
62022 _ACEOF
62023 if ac_fn_cxx_try_compile "$LINENO"; then :
62024 glibcxx_cv_func_fmodf_use=yes
62025 else
62026 glibcxx_cv_func_fmodf_use=no
62028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62029 ac_ext=c
62030 ac_cpp='$CPP $CPPFLAGS'
62031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62040 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62042 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62043 for ac_func in fmodf
62044 do :
62045 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62046 if test "x$ac_cv_func_fmodf" = x""yes; then :
62047 cat >>confdefs.h <<_ACEOF
62048 #define HAVE_FMODF 1
62049 _ACEOF
62052 done
62054 else
62056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62057 $as_echo_n "checking for _fmodf declaration... " >&6; }
62058 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62059 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62060 $as_echo_n "(cached) " >&6
62061 else
62064 ac_ext=cpp
62065 ac_cpp='$CXXCPP $CPPFLAGS'
62066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62071 /* end confdefs.h. */
62072 #include <math.h>
62074 main ()
62076 _fmodf(0, 0);
62078 return 0;
62080 _ACEOF
62081 if ac_fn_cxx_try_compile "$LINENO"; then :
62082 glibcxx_cv_func__fmodf_use=yes
62083 else
62084 glibcxx_cv_func__fmodf_use=no
62086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62087 ac_ext=c
62088 ac_cpp='$CPP $CPPFLAGS'
62089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62098 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62100 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62101 for ac_func in _fmodf
62102 do :
62103 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62104 if test "x$ac_cv_func__fmodf" = x""yes; then :
62105 cat >>confdefs.h <<_ACEOF
62106 #define HAVE__FMODF 1
62107 _ACEOF
62110 done
62119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62120 $as_echo_n "checking for frexpf declaration... " >&6; }
62121 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62122 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62123 $as_echo_n "(cached) " >&6
62124 else
62127 ac_ext=cpp
62128 ac_cpp='$CXXCPP $CPPFLAGS'
62129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62134 /* end confdefs.h. */
62135 #include <math.h>
62137 main ()
62139 frexpf(0, 0);
62141 return 0;
62143 _ACEOF
62144 if ac_fn_cxx_try_compile "$LINENO"; then :
62145 glibcxx_cv_func_frexpf_use=yes
62146 else
62147 glibcxx_cv_func_frexpf_use=no
62149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62150 ac_ext=c
62151 ac_cpp='$CPP $CPPFLAGS'
62152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62161 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62163 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62164 for ac_func in frexpf
62165 do :
62166 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62167 if test "x$ac_cv_func_frexpf" = x""yes; then :
62168 cat >>confdefs.h <<_ACEOF
62169 #define HAVE_FREXPF 1
62170 _ACEOF
62173 done
62175 else
62177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62178 $as_echo_n "checking for _frexpf declaration... " >&6; }
62179 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62180 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62181 $as_echo_n "(cached) " >&6
62182 else
62185 ac_ext=cpp
62186 ac_cpp='$CXXCPP $CPPFLAGS'
62187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62192 /* end confdefs.h. */
62193 #include <math.h>
62195 main ()
62197 _frexpf(0, 0);
62199 return 0;
62201 _ACEOF
62202 if ac_fn_cxx_try_compile "$LINENO"; then :
62203 glibcxx_cv_func__frexpf_use=yes
62204 else
62205 glibcxx_cv_func__frexpf_use=no
62207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62208 ac_ext=c
62209 ac_cpp='$CPP $CPPFLAGS'
62210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62219 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62221 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62222 for ac_func in _frexpf
62223 do :
62224 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62225 if test "x$ac_cv_func__frexpf" = x""yes; then :
62226 cat >>confdefs.h <<_ACEOF
62227 #define HAVE__FREXPF 1
62228 _ACEOF
62231 done
62240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62241 $as_echo_n "checking for hypotf declaration... " >&6; }
62242 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62243 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62244 $as_echo_n "(cached) " >&6
62245 else
62248 ac_ext=cpp
62249 ac_cpp='$CXXCPP $CPPFLAGS'
62250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62255 /* end confdefs.h. */
62256 #include <math.h>
62258 main ()
62260 hypotf(0, 0);
62262 return 0;
62264 _ACEOF
62265 if ac_fn_cxx_try_compile "$LINENO"; then :
62266 glibcxx_cv_func_hypotf_use=yes
62267 else
62268 glibcxx_cv_func_hypotf_use=no
62270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62271 ac_ext=c
62272 ac_cpp='$CPP $CPPFLAGS'
62273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62282 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62284 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62285 for ac_func in hypotf
62286 do :
62287 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62288 if test "x$ac_cv_func_hypotf" = x""yes; then :
62289 cat >>confdefs.h <<_ACEOF
62290 #define HAVE_HYPOTF 1
62291 _ACEOF
62294 done
62296 else
62298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62299 $as_echo_n "checking for _hypotf declaration... " >&6; }
62300 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62301 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62302 $as_echo_n "(cached) " >&6
62303 else
62306 ac_ext=cpp
62307 ac_cpp='$CXXCPP $CPPFLAGS'
62308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62313 /* end confdefs.h. */
62314 #include <math.h>
62316 main ()
62318 _hypotf(0, 0);
62320 return 0;
62322 _ACEOF
62323 if ac_fn_cxx_try_compile "$LINENO"; then :
62324 glibcxx_cv_func__hypotf_use=yes
62325 else
62326 glibcxx_cv_func__hypotf_use=no
62328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62329 ac_ext=c
62330 ac_cpp='$CPP $CPPFLAGS'
62331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62340 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62342 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62343 for ac_func in _hypotf
62344 do :
62345 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62346 if test "x$ac_cv_func__hypotf" = x""yes; then :
62347 cat >>confdefs.h <<_ACEOF
62348 #define HAVE__HYPOTF 1
62349 _ACEOF
62352 done
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62362 $as_echo_n "checking for ldexpf declaration... " >&6; }
62363 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62364 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62365 $as_echo_n "(cached) " >&6
62366 else
62369 ac_ext=cpp
62370 ac_cpp='$CXXCPP $CPPFLAGS'
62371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62376 /* end confdefs.h. */
62377 #include <math.h>
62379 main ()
62381 ldexpf(0, 0);
62383 return 0;
62385 _ACEOF
62386 if ac_fn_cxx_try_compile "$LINENO"; then :
62387 glibcxx_cv_func_ldexpf_use=yes
62388 else
62389 glibcxx_cv_func_ldexpf_use=no
62391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62392 ac_ext=c
62393 ac_cpp='$CPP $CPPFLAGS'
62394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62403 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62405 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62406 for ac_func in ldexpf
62407 do :
62408 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62409 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62410 cat >>confdefs.h <<_ACEOF
62411 #define HAVE_LDEXPF 1
62412 _ACEOF
62415 done
62417 else
62419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62420 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62421 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62422 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62423 $as_echo_n "(cached) " >&6
62424 else
62427 ac_ext=cpp
62428 ac_cpp='$CXXCPP $CPPFLAGS'
62429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62434 /* end confdefs.h. */
62435 #include <math.h>
62437 main ()
62439 _ldexpf(0, 0);
62441 return 0;
62443 _ACEOF
62444 if ac_fn_cxx_try_compile "$LINENO"; then :
62445 glibcxx_cv_func__ldexpf_use=yes
62446 else
62447 glibcxx_cv_func__ldexpf_use=no
62449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62450 ac_ext=c
62451 ac_cpp='$CPP $CPPFLAGS'
62452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62461 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62463 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62464 for ac_func in _ldexpf
62465 do :
62466 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62467 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62468 cat >>confdefs.h <<_ACEOF
62469 #define HAVE__LDEXPF 1
62470 _ACEOF
62473 done
62482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62483 $as_echo_n "checking for logf declaration... " >&6; }
62484 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62485 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62486 $as_echo_n "(cached) " >&6
62487 else
62490 ac_ext=cpp
62491 ac_cpp='$CXXCPP $CPPFLAGS'
62492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62497 /* end confdefs.h. */
62498 #include <math.h>
62499 #ifdef HAVE_IEEEFP_H
62500 #include <ieeefp.h>
62501 #endif
62504 main ()
62506 logf(0);
62508 return 0;
62510 _ACEOF
62511 if ac_fn_cxx_try_compile "$LINENO"; then :
62512 glibcxx_cv_func_logf_use=yes
62513 else
62514 glibcxx_cv_func_logf_use=no
62516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62517 ac_ext=c
62518 ac_cpp='$CPP $CPPFLAGS'
62519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62528 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62530 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62531 for ac_func in logf
62532 do :
62533 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62534 if test "x$ac_cv_func_logf" = x""yes; then :
62535 cat >>confdefs.h <<_ACEOF
62536 #define HAVE_LOGF 1
62537 _ACEOF
62540 done
62542 else
62544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62545 $as_echo_n "checking for _logf declaration... " >&6; }
62546 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62547 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62548 $as_echo_n "(cached) " >&6
62549 else
62552 ac_ext=cpp
62553 ac_cpp='$CXXCPP $CPPFLAGS'
62554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62559 /* end confdefs.h. */
62560 #include <math.h>
62561 #ifdef HAVE_IEEEFP_H
62562 #include <ieeefp.h>
62563 #endif
62566 main ()
62568 _logf(0);
62570 return 0;
62572 _ACEOF
62573 if ac_fn_cxx_try_compile "$LINENO"; then :
62574 glibcxx_cv_func__logf_use=yes
62575 else
62576 glibcxx_cv_func__logf_use=no
62578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62579 ac_ext=c
62580 ac_cpp='$CPP $CPPFLAGS'
62581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62590 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62592 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62593 for ac_func in _logf
62594 do :
62595 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62596 if test "x$ac_cv_func__logf" = x""yes; then :
62597 cat >>confdefs.h <<_ACEOF
62598 #define HAVE__LOGF 1
62599 _ACEOF
62602 done
62611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62612 $as_echo_n "checking for log10f declaration... " >&6; }
62613 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62614 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62615 $as_echo_n "(cached) " >&6
62616 else
62619 ac_ext=cpp
62620 ac_cpp='$CXXCPP $CPPFLAGS'
62621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62626 /* end confdefs.h. */
62627 #include <math.h>
62628 #ifdef HAVE_IEEEFP_H
62629 #include <ieeefp.h>
62630 #endif
62633 main ()
62635 log10f(0);
62637 return 0;
62639 _ACEOF
62640 if ac_fn_cxx_try_compile "$LINENO"; then :
62641 glibcxx_cv_func_log10f_use=yes
62642 else
62643 glibcxx_cv_func_log10f_use=no
62645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62646 ac_ext=c
62647 ac_cpp='$CPP $CPPFLAGS'
62648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62657 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62659 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62660 for ac_func in log10f
62661 do :
62662 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62663 if test "x$ac_cv_func_log10f" = x""yes; then :
62664 cat >>confdefs.h <<_ACEOF
62665 #define HAVE_LOG10F 1
62666 _ACEOF
62669 done
62671 else
62673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62674 $as_echo_n "checking for _log10f declaration... " >&6; }
62675 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62676 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62677 $as_echo_n "(cached) " >&6
62678 else
62681 ac_ext=cpp
62682 ac_cpp='$CXXCPP $CPPFLAGS'
62683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62688 /* end confdefs.h. */
62689 #include <math.h>
62690 #ifdef HAVE_IEEEFP_H
62691 #include <ieeefp.h>
62692 #endif
62695 main ()
62697 _log10f(0);
62699 return 0;
62701 _ACEOF
62702 if ac_fn_cxx_try_compile "$LINENO"; then :
62703 glibcxx_cv_func__log10f_use=yes
62704 else
62705 glibcxx_cv_func__log10f_use=no
62707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62708 ac_ext=c
62709 ac_cpp='$CPP $CPPFLAGS'
62710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62719 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62721 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62722 for ac_func in _log10f
62723 do :
62724 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62725 if test "x$ac_cv_func__log10f" = x""yes; then :
62726 cat >>confdefs.h <<_ACEOF
62727 #define HAVE__LOG10F 1
62728 _ACEOF
62731 done
62740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62741 $as_echo_n "checking for modff declaration... " >&6; }
62742 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62743 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62744 $as_echo_n "(cached) " >&6
62745 else
62748 ac_ext=cpp
62749 ac_cpp='$CXXCPP $CPPFLAGS'
62750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62755 /* end confdefs.h. */
62756 #include <math.h>
62758 main ()
62760 modff(0, 0);
62762 return 0;
62764 _ACEOF
62765 if ac_fn_cxx_try_compile "$LINENO"; then :
62766 glibcxx_cv_func_modff_use=yes
62767 else
62768 glibcxx_cv_func_modff_use=no
62770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62771 ac_ext=c
62772 ac_cpp='$CPP $CPPFLAGS'
62773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62782 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62784 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62785 for ac_func in modff
62786 do :
62787 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62788 if test "x$ac_cv_func_modff" = x""yes; then :
62789 cat >>confdefs.h <<_ACEOF
62790 #define HAVE_MODFF 1
62791 _ACEOF
62794 done
62796 else
62798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62799 $as_echo_n "checking for _modff declaration... " >&6; }
62800 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62801 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62802 $as_echo_n "(cached) " >&6
62803 else
62806 ac_ext=cpp
62807 ac_cpp='$CXXCPP $CPPFLAGS'
62808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62813 /* end confdefs.h. */
62814 #include <math.h>
62816 main ()
62818 _modff(0, 0);
62820 return 0;
62822 _ACEOF
62823 if ac_fn_cxx_try_compile "$LINENO"; then :
62824 glibcxx_cv_func__modff_use=yes
62825 else
62826 glibcxx_cv_func__modff_use=no
62828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62829 ac_ext=c
62830 ac_cpp='$CPP $CPPFLAGS'
62831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62840 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62842 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62843 for ac_func in _modff
62844 do :
62845 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62846 if test "x$ac_cv_func__modff" = x""yes; then :
62847 cat >>confdefs.h <<_ACEOF
62848 #define HAVE__MODFF 1
62849 _ACEOF
62852 done
62861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62862 $as_echo_n "checking for modf declaration... " >&6; }
62863 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62864 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62865 $as_echo_n "(cached) " >&6
62866 else
62869 ac_ext=cpp
62870 ac_cpp='$CXXCPP $CPPFLAGS'
62871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62876 /* end confdefs.h. */
62877 #include <math.h>
62879 main ()
62881 modf(0, 0);
62883 return 0;
62885 _ACEOF
62886 if ac_fn_cxx_try_compile "$LINENO"; then :
62887 glibcxx_cv_func_modf_use=yes
62888 else
62889 glibcxx_cv_func_modf_use=no
62891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62892 ac_ext=c
62893 ac_cpp='$CPP $CPPFLAGS'
62894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62903 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62905 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62906 for ac_func in modf
62907 do :
62908 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62909 if test "x$ac_cv_func_modf" = x""yes; then :
62910 cat >>confdefs.h <<_ACEOF
62911 #define HAVE_MODF 1
62912 _ACEOF
62915 done
62917 else
62919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62920 $as_echo_n "checking for _modf declaration... " >&6; }
62921 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62922 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62923 $as_echo_n "(cached) " >&6
62924 else
62927 ac_ext=cpp
62928 ac_cpp='$CXXCPP $CPPFLAGS'
62929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62934 /* end confdefs.h. */
62935 #include <math.h>
62937 main ()
62939 _modf(0, 0);
62941 return 0;
62943 _ACEOF
62944 if ac_fn_cxx_try_compile "$LINENO"; then :
62945 glibcxx_cv_func__modf_use=yes
62946 else
62947 glibcxx_cv_func__modf_use=no
62949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62950 ac_ext=c
62951 ac_cpp='$CPP $CPPFLAGS'
62952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62961 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62963 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62964 for ac_func in _modf
62965 do :
62966 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62967 if test "x$ac_cv_func__modf" = x""yes; then :
62968 cat >>confdefs.h <<_ACEOF
62969 #define HAVE__MODF 1
62970 _ACEOF
62973 done
62982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62983 $as_echo_n "checking for powf declaration... " >&6; }
62984 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62985 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62986 $as_echo_n "(cached) " >&6
62987 else
62990 ac_ext=cpp
62991 ac_cpp='$CXXCPP $CPPFLAGS'
62992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62997 /* end confdefs.h. */
62998 #include <math.h>
63000 main ()
63002 powf(0, 0);
63004 return 0;
63006 _ACEOF
63007 if ac_fn_cxx_try_compile "$LINENO"; then :
63008 glibcxx_cv_func_powf_use=yes
63009 else
63010 glibcxx_cv_func_powf_use=no
63012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63013 ac_ext=c
63014 ac_cpp='$CPP $CPPFLAGS'
63015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63024 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63026 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63027 for ac_func in powf
63028 do :
63029 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63030 if test "x$ac_cv_func_powf" = x""yes; then :
63031 cat >>confdefs.h <<_ACEOF
63032 #define HAVE_POWF 1
63033 _ACEOF
63036 done
63038 else
63040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63041 $as_echo_n "checking for _powf declaration... " >&6; }
63042 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63043 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63044 $as_echo_n "(cached) " >&6
63045 else
63048 ac_ext=cpp
63049 ac_cpp='$CXXCPP $CPPFLAGS'
63050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63055 /* end confdefs.h. */
63056 #include <math.h>
63058 main ()
63060 _powf(0, 0);
63062 return 0;
63064 _ACEOF
63065 if ac_fn_cxx_try_compile "$LINENO"; then :
63066 glibcxx_cv_func__powf_use=yes
63067 else
63068 glibcxx_cv_func__powf_use=no
63070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63071 ac_ext=c
63072 ac_cpp='$CPP $CPPFLAGS'
63073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63082 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63084 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63085 for ac_func in _powf
63086 do :
63087 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63088 if test "x$ac_cv_func__powf" = x""yes; then :
63089 cat >>confdefs.h <<_ACEOF
63090 #define HAVE__POWF 1
63091 _ACEOF
63094 done
63103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63104 $as_echo_n "checking for sqrtf declaration... " >&6; }
63105 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63106 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63107 $as_echo_n "(cached) " >&6
63108 else
63111 ac_ext=cpp
63112 ac_cpp='$CXXCPP $CPPFLAGS'
63113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63118 /* end confdefs.h. */
63119 #include <math.h>
63120 #ifdef HAVE_IEEEFP_H
63121 #include <ieeefp.h>
63122 #endif
63125 main ()
63127 sqrtf(0);
63129 return 0;
63131 _ACEOF
63132 if ac_fn_cxx_try_compile "$LINENO"; then :
63133 glibcxx_cv_func_sqrtf_use=yes
63134 else
63135 glibcxx_cv_func_sqrtf_use=no
63137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63138 ac_ext=c
63139 ac_cpp='$CPP $CPPFLAGS'
63140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63149 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63151 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63152 for ac_func in sqrtf
63153 do :
63154 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63155 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63156 cat >>confdefs.h <<_ACEOF
63157 #define HAVE_SQRTF 1
63158 _ACEOF
63161 done
63163 else
63165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63166 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63167 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63168 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63169 $as_echo_n "(cached) " >&6
63170 else
63173 ac_ext=cpp
63174 ac_cpp='$CXXCPP $CPPFLAGS'
63175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63180 /* end confdefs.h. */
63181 #include <math.h>
63182 #ifdef HAVE_IEEEFP_H
63183 #include <ieeefp.h>
63184 #endif
63187 main ()
63189 _sqrtf(0);
63191 return 0;
63193 _ACEOF
63194 if ac_fn_cxx_try_compile "$LINENO"; then :
63195 glibcxx_cv_func__sqrtf_use=yes
63196 else
63197 glibcxx_cv_func__sqrtf_use=no
63199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63200 ac_ext=c
63201 ac_cpp='$CPP $CPPFLAGS'
63202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63211 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63213 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63214 for ac_func in _sqrtf
63215 do :
63216 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63217 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63218 cat >>confdefs.h <<_ACEOF
63219 #define HAVE__SQRTF 1
63220 _ACEOF
63223 done
63232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63233 $as_echo_n "checking for sincosf declaration... " >&6; }
63234 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63235 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63236 $as_echo_n "(cached) " >&6
63237 else
63240 ac_ext=cpp
63241 ac_cpp='$CXXCPP $CPPFLAGS'
63242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63247 /* end confdefs.h. */
63248 #include <math.h>
63250 main ()
63252 sincosf(0, 0, 0);
63254 return 0;
63256 _ACEOF
63257 if ac_fn_cxx_try_compile "$LINENO"; then :
63258 glibcxx_cv_func_sincosf_use=yes
63259 else
63260 glibcxx_cv_func_sincosf_use=no
63262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63263 ac_ext=c
63264 ac_cpp='$CPP $CPPFLAGS'
63265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63274 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63276 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63277 for ac_func in sincosf
63278 do :
63279 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63280 if test "x$ac_cv_func_sincosf" = x""yes; then :
63281 cat >>confdefs.h <<_ACEOF
63282 #define HAVE_SINCOSF 1
63283 _ACEOF
63286 done
63288 else
63290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63291 $as_echo_n "checking for _sincosf declaration... " >&6; }
63292 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63293 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63294 $as_echo_n "(cached) " >&6
63295 else
63298 ac_ext=cpp
63299 ac_cpp='$CXXCPP $CPPFLAGS'
63300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63305 /* end confdefs.h. */
63306 #include <math.h>
63308 main ()
63310 _sincosf(0, 0, 0);
63312 return 0;
63314 _ACEOF
63315 if ac_fn_cxx_try_compile "$LINENO"; then :
63316 glibcxx_cv_func__sincosf_use=yes
63317 else
63318 glibcxx_cv_func__sincosf_use=no
63320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63321 ac_ext=c
63322 ac_cpp='$CPP $CPPFLAGS'
63323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63332 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63334 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63335 for ac_func in _sincosf
63336 do :
63337 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63338 if test "x$ac_cv_func__sincosf" = x""yes; then :
63339 cat >>confdefs.h <<_ACEOF
63340 #define HAVE__SINCOSF 1
63341 _ACEOF
63344 done
63353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63354 $as_echo_n "checking for finitef declaration... " >&6; }
63355 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63356 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63357 $as_echo_n "(cached) " >&6
63358 else
63361 ac_ext=cpp
63362 ac_cpp='$CXXCPP $CPPFLAGS'
63363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63368 /* end confdefs.h. */
63369 #include <math.h>
63370 #ifdef HAVE_IEEEFP_H
63371 #include <ieeefp.h>
63372 #endif
63375 main ()
63377 finitef(0);
63379 return 0;
63381 _ACEOF
63382 if ac_fn_cxx_try_compile "$LINENO"; then :
63383 glibcxx_cv_func_finitef_use=yes
63384 else
63385 glibcxx_cv_func_finitef_use=no
63387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63388 ac_ext=c
63389 ac_cpp='$CPP $CPPFLAGS'
63390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63399 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63401 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63402 for ac_func in finitef
63403 do :
63404 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63405 if test "x$ac_cv_func_finitef" = x""yes; then :
63406 cat >>confdefs.h <<_ACEOF
63407 #define HAVE_FINITEF 1
63408 _ACEOF
63411 done
63413 else
63415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63416 $as_echo_n "checking for _finitef declaration... " >&6; }
63417 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63418 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63419 $as_echo_n "(cached) " >&6
63420 else
63423 ac_ext=cpp
63424 ac_cpp='$CXXCPP $CPPFLAGS'
63425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63430 /* end confdefs.h. */
63431 #include <math.h>
63432 #ifdef HAVE_IEEEFP_H
63433 #include <ieeefp.h>
63434 #endif
63437 main ()
63439 _finitef(0);
63441 return 0;
63443 _ACEOF
63444 if ac_fn_cxx_try_compile "$LINENO"; then :
63445 glibcxx_cv_func__finitef_use=yes
63446 else
63447 glibcxx_cv_func__finitef_use=no
63449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63450 ac_ext=c
63451 ac_cpp='$CPP $CPPFLAGS'
63452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63461 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63463 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63464 for ac_func in _finitef
63465 do :
63466 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63467 if test "x$ac_cv_func__finitef" = x""yes; then :
63468 cat >>confdefs.h <<_ACEOF
63469 #define HAVE__FINITEF 1
63470 _ACEOF
63473 done
63482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63483 $as_echo_n "checking for long double trig functions... " >&6; }
63484 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63485 $as_echo_n "(cached) " >&6
63486 else
63489 ac_ext=cpp
63490 ac_cpp='$CXXCPP $CPPFLAGS'
63491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63496 /* end confdefs.h. */
63497 #include <math.h>
63499 main ()
63501 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63503 return 0;
63505 _ACEOF
63506 if ac_fn_cxx_try_compile "$LINENO"; then :
63507 glibcxx_cv_func_long_double_trig_use=yes
63508 else
63509 glibcxx_cv_func_long_double_trig_use=no
63511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63512 ac_ext=c
63513 ac_cpp='$CPP $CPPFLAGS'
63514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63521 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63522 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63523 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63524 do :
63525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63527 eval as_val=\$$as_ac_var
63528 if test "x$as_val" = x""yes; then :
63529 cat >>confdefs.h <<_ACEOF
63530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63531 _ACEOF
63534 done
63536 else
63537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63538 $as_echo_n "checking for _long double trig functions... " >&6; }
63539 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63540 $as_echo_n "(cached) " >&6
63541 else
63544 ac_ext=cpp
63545 ac_cpp='$CXXCPP $CPPFLAGS'
63546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63551 /* end confdefs.h. */
63552 #include <math.h>
63554 main ()
63556 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63558 return 0;
63560 _ACEOF
63561 if ac_fn_cxx_try_compile "$LINENO"; then :
63562 glibcxx_cv_func__long_double_trig_use=yes
63563 else
63564 glibcxx_cv_func__long_double_trig_use=no
63566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63567 ac_ext=c
63568 ac_cpp='$CPP $CPPFLAGS'
63569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63576 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63577 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63578 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63579 do :
63580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63582 eval as_val=\$$as_ac_var
63583 if test "x$as_val" = x""yes; then :
63584 cat >>confdefs.h <<_ACEOF
63585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63586 _ACEOF
63589 done
63598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63599 $as_echo_n "checking for long double round functions... " >&6; }
63600 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63601 $as_echo_n "(cached) " >&6
63602 else
63605 ac_ext=cpp
63606 ac_cpp='$CXXCPP $CPPFLAGS'
63607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63612 /* end confdefs.h. */
63613 #include <math.h>
63615 main ()
63617 ceill (0); floorl (0);
63619 return 0;
63621 _ACEOF
63622 if ac_fn_cxx_try_compile "$LINENO"; then :
63623 glibcxx_cv_func_long_double_round_use=yes
63624 else
63625 glibcxx_cv_func_long_double_round_use=no
63627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63628 ac_ext=c
63629 ac_cpp='$CPP $CPPFLAGS'
63630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63637 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63638 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63639 for ac_func in ceill floorl
63640 do :
63641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63643 eval as_val=\$$as_ac_var
63644 if test "x$as_val" = x""yes; then :
63645 cat >>confdefs.h <<_ACEOF
63646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63647 _ACEOF
63650 done
63652 else
63653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63654 $as_echo_n "checking for _long double round functions... " >&6; }
63655 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63656 $as_echo_n "(cached) " >&6
63657 else
63660 ac_ext=cpp
63661 ac_cpp='$CXXCPP $CPPFLAGS'
63662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63667 /* end confdefs.h. */
63668 #include <math.h>
63670 main ()
63672 _ceill (0); _floorl (0);
63674 return 0;
63676 _ACEOF
63677 if ac_fn_cxx_try_compile "$LINENO"; then :
63678 glibcxx_cv_func__long_double_round_use=yes
63679 else
63680 glibcxx_cv_func__long_double_round_use=no
63682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63683 ac_ext=c
63684 ac_cpp='$CPP $CPPFLAGS'
63685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63692 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63693 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63694 for ac_func in _ceill _floorl
63695 do :
63696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63698 eval as_val=\$$as_ac_var
63699 if test "x$as_val" = x""yes; then :
63700 cat >>confdefs.h <<_ACEOF
63701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63702 _ACEOF
63705 done
63715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63716 $as_echo_n "checking for isnanl declaration... " >&6; }
63717 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63718 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63719 $as_echo_n "(cached) " >&6
63720 else
63723 ac_ext=cpp
63724 ac_cpp='$CXXCPP $CPPFLAGS'
63725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63730 /* end confdefs.h. */
63731 #include <math.h>
63732 #ifdef HAVE_IEEEFP_H
63733 #include <ieeefp.h>
63734 #endif
63737 main ()
63739 isnanl(0);
63741 return 0;
63743 _ACEOF
63744 if ac_fn_cxx_try_compile "$LINENO"; then :
63745 glibcxx_cv_func_isnanl_use=yes
63746 else
63747 glibcxx_cv_func_isnanl_use=no
63749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63750 ac_ext=c
63751 ac_cpp='$CPP $CPPFLAGS'
63752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63761 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63763 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63764 for ac_func in isnanl
63765 do :
63766 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63767 if test "x$ac_cv_func_isnanl" = x""yes; then :
63768 cat >>confdefs.h <<_ACEOF
63769 #define HAVE_ISNANL 1
63770 _ACEOF
63773 done
63775 else
63777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63778 $as_echo_n "checking for _isnanl declaration... " >&6; }
63779 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63780 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63781 $as_echo_n "(cached) " >&6
63782 else
63785 ac_ext=cpp
63786 ac_cpp='$CXXCPP $CPPFLAGS'
63787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63792 /* end confdefs.h. */
63793 #include <math.h>
63794 #ifdef HAVE_IEEEFP_H
63795 #include <ieeefp.h>
63796 #endif
63799 main ()
63801 _isnanl(0);
63803 return 0;
63805 _ACEOF
63806 if ac_fn_cxx_try_compile "$LINENO"; then :
63807 glibcxx_cv_func__isnanl_use=yes
63808 else
63809 glibcxx_cv_func__isnanl_use=no
63811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63812 ac_ext=c
63813 ac_cpp='$CPP $CPPFLAGS'
63814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63823 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63825 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63826 for ac_func in _isnanl
63827 do :
63828 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63829 if test "x$ac_cv_func__isnanl" = x""yes; then :
63830 cat >>confdefs.h <<_ACEOF
63831 #define HAVE__ISNANL 1
63832 _ACEOF
63835 done
63844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63845 $as_echo_n "checking for isinfl declaration... " >&6; }
63846 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63847 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63848 $as_echo_n "(cached) " >&6
63849 else
63852 ac_ext=cpp
63853 ac_cpp='$CXXCPP $CPPFLAGS'
63854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63859 /* end confdefs.h. */
63860 #include <math.h>
63861 #ifdef HAVE_IEEEFP_H
63862 #include <ieeefp.h>
63863 #endif
63866 main ()
63868 isinfl(0);
63870 return 0;
63872 _ACEOF
63873 if ac_fn_cxx_try_compile "$LINENO"; then :
63874 glibcxx_cv_func_isinfl_use=yes
63875 else
63876 glibcxx_cv_func_isinfl_use=no
63878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63879 ac_ext=c
63880 ac_cpp='$CPP $CPPFLAGS'
63881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63890 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63892 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63893 for ac_func in isinfl
63894 do :
63895 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63896 if test "x$ac_cv_func_isinfl" = x""yes; then :
63897 cat >>confdefs.h <<_ACEOF
63898 #define HAVE_ISINFL 1
63899 _ACEOF
63902 done
63904 else
63906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63907 $as_echo_n "checking for _isinfl declaration... " >&6; }
63908 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63909 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63910 $as_echo_n "(cached) " >&6
63911 else
63914 ac_ext=cpp
63915 ac_cpp='$CXXCPP $CPPFLAGS'
63916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63921 /* end confdefs.h. */
63922 #include <math.h>
63923 #ifdef HAVE_IEEEFP_H
63924 #include <ieeefp.h>
63925 #endif
63928 main ()
63930 _isinfl(0);
63932 return 0;
63934 _ACEOF
63935 if ac_fn_cxx_try_compile "$LINENO"; then :
63936 glibcxx_cv_func__isinfl_use=yes
63937 else
63938 glibcxx_cv_func__isinfl_use=no
63940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63941 ac_ext=c
63942 ac_cpp='$CPP $CPPFLAGS'
63943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63952 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63954 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63955 for ac_func in _isinfl
63956 do :
63957 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63958 if test "x$ac_cv_func__isinfl" = x""yes; then :
63959 cat >>confdefs.h <<_ACEOF
63960 #define HAVE__ISINFL 1
63961 _ACEOF
63964 done
63973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63974 $as_echo_n "checking for atan2l declaration... " >&6; }
63975 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63976 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63977 $as_echo_n "(cached) " >&6
63978 else
63981 ac_ext=cpp
63982 ac_cpp='$CXXCPP $CPPFLAGS'
63983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63988 /* end confdefs.h. */
63989 #include <math.h>
63991 main ()
63993 atan2l(0, 0);
63995 return 0;
63997 _ACEOF
63998 if ac_fn_cxx_try_compile "$LINENO"; then :
63999 glibcxx_cv_func_atan2l_use=yes
64000 else
64001 glibcxx_cv_func_atan2l_use=no
64003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64004 ac_ext=c
64005 ac_cpp='$CPP $CPPFLAGS'
64006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64015 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64017 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64018 for ac_func in atan2l
64019 do :
64020 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64021 if test "x$ac_cv_func_atan2l" = x""yes; then :
64022 cat >>confdefs.h <<_ACEOF
64023 #define HAVE_ATAN2L 1
64024 _ACEOF
64027 done
64029 else
64031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64032 $as_echo_n "checking for _atan2l declaration... " >&6; }
64033 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64034 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64035 $as_echo_n "(cached) " >&6
64036 else
64039 ac_ext=cpp
64040 ac_cpp='$CXXCPP $CPPFLAGS'
64041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64046 /* end confdefs.h. */
64047 #include <math.h>
64049 main ()
64051 _atan2l(0, 0);
64053 return 0;
64055 _ACEOF
64056 if ac_fn_cxx_try_compile "$LINENO"; then :
64057 glibcxx_cv_func__atan2l_use=yes
64058 else
64059 glibcxx_cv_func__atan2l_use=no
64061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64062 ac_ext=c
64063 ac_cpp='$CPP $CPPFLAGS'
64064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64073 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64075 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64076 for ac_func in _atan2l
64077 do :
64078 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64079 if test "x$ac_cv_func__atan2l" = x""yes; then :
64080 cat >>confdefs.h <<_ACEOF
64081 #define HAVE__ATAN2L 1
64082 _ACEOF
64085 done
64094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64095 $as_echo_n "checking for expl declaration... " >&6; }
64096 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64097 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64098 $as_echo_n "(cached) " >&6
64099 else
64102 ac_ext=cpp
64103 ac_cpp='$CXXCPP $CPPFLAGS'
64104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64109 /* end confdefs.h. */
64110 #include <math.h>
64111 #ifdef HAVE_IEEEFP_H
64112 #include <ieeefp.h>
64113 #endif
64116 main ()
64118 expl(0);
64120 return 0;
64122 _ACEOF
64123 if ac_fn_cxx_try_compile "$LINENO"; then :
64124 glibcxx_cv_func_expl_use=yes
64125 else
64126 glibcxx_cv_func_expl_use=no
64128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64129 ac_ext=c
64130 ac_cpp='$CPP $CPPFLAGS'
64131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64140 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64142 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64143 for ac_func in expl
64144 do :
64145 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64146 if test "x$ac_cv_func_expl" = x""yes; then :
64147 cat >>confdefs.h <<_ACEOF
64148 #define HAVE_EXPL 1
64149 _ACEOF
64152 done
64154 else
64156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64157 $as_echo_n "checking for _expl declaration... " >&6; }
64158 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64159 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64160 $as_echo_n "(cached) " >&6
64161 else
64164 ac_ext=cpp
64165 ac_cpp='$CXXCPP $CPPFLAGS'
64166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64171 /* end confdefs.h. */
64172 #include <math.h>
64173 #ifdef HAVE_IEEEFP_H
64174 #include <ieeefp.h>
64175 #endif
64178 main ()
64180 _expl(0);
64182 return 0;
64184 _ACEOF
64185 if ac_fn_cxx_try_compile "$LINENO"; then :
64186 glibcxx_cv_func__expl_use=yes
64187 else
64188 glibcxx_cv_func__expl_use=no
64190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64191 ac_ext=c
64192 ac_cpp='$CPP $CPPFLAGS'
64193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64202 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64204 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64205 for ac_func in _expl
64206 do :
64207 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64208 if test "x$ac_cv_func__expl" = x""yes; then :
64209 cat >>confdefs.h <<_ACEOF
64210 #define HAVE__EXPL 1
64211 _ACEOF
64214 done
64223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64224 $as_echo_n "checking for fabsl declaration... " >&6; }
64225 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64226 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64227 $as_echo_n "(cached) " >&6
64228 else
64231 ac_ext=cpp
64232 ac_cpp='$CXXCPP $CPPFLAGS'
64233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64238 /* end confdefs.h. */
64239 #include <math.h>
64240 #ifdef HAVE_IEEEFP_H
64241 #include <ieeefp.h>
64242 #endif
64245 main ()
64247 fabsl(0);
64249 return 0;
64251 _ACEOF
64252 if ac_fn_cxx_try_compile "$LINENO"; then :
64253 glibcxx_cv_func_fabsl_use=yes
64254 else
64255 glibcxx_cv_func_fabsl_use=no
64257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64258 ac_ext=c
64259 ac_cpp='$CPP $CPPFLAGS'
64260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64269 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64271 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64272 for ac_func in fabsl
64273 do :
64274 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64275 if test "x$ac_cv_func_fabsl" = x""yes; then :
64276 cat >>confdefs.h <<_ACEOF
64277 #define HAVE_FABSL 1
64278 _ACEOF
64281 done
64283 else
64285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64286 $as_echo_n "checking for _fabsl declaration... " >&6; }
64287 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64288 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64289 $as_echo_n "(cached) " >&6
64290 else
64293 ac_ext=cpp
64294 ac_cpp='$CXXCPP $CPPFLAGS'
64295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64300 /* end confdefs.h. */
64301 #include <math.h>
64302 #ifdef HAVE_IEEEFP_H
64303 #include <ieeefp.h>
64304 #endif
64307 main ()
64309 _fabsl(0);
64311 return 0;
64313 _ACEOF
64314 if ac_fn_cxx_try_compile "$LINENO"; then :
64315 glibcxx_cv_func__fabsl_use=yes
64316 else
64317 glibcxx_cv_func__fabsl_use=no
64319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64320 ac_ext=c
64321 ac_cpp='$CPP $CPPFLAGS'
64322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64331 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64333 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64334 for ac_func in _fabsl
64335 do :
64336 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64337 if test "x$ac_cv_func__fabsl" = x""yes; then :
64338 cat >>confdefs.h <<_ACEOF
64339 #define HAVE__FABSL 1
64340 _ACEOF
64343 done
64352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64353 $as_echo_n "checking for fmodl declaration... " >&6; }
64354 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64355 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64356 $as_echo_n "(cached) " >&6
64357 else
64360 ac_ext=cpp
64361 ac_cpp='$CXXCPP $CPPFLAGS'
64362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64367 /* end confdefs.h. */
64368 #include <math.h>
64370 main ()
64372 fmodl(0, 0);
64374 return 0;
64376 _ACEOF
64377 if ac_fn_cxx_try_compile "$LINENO"; then :
64378 glibcxx_cv_func_fmodl_use=yes
64379 else
64380 glibcxx_cv_func_fmodl_use=no
64382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64383 ac_ext=c
64384 ac_cpp='$CPP $CPPFLAGS'
64385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64394 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64396 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64397 for ac_func in fmodl
64398 do :
64399 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64400 if test "x$ac_cv_func_fmodl" = x""yes; then :
64401 cat >>confdefs.h <<_ACEOF
64402 #define HAVE_FMODL 1
64403 _ACEOF
64406 done
64408 else
64410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64411 $as_echo_n "checking for _fmodl declaration... " >&6; }
64412 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64413 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64414 $as_echo_n "(cached) " >&6
64415 else
64418 ac_ext=cpp
64419 ac_cpp='$CXXCPP $CPPFLAGS'
64420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64425 /* end confdefs.h. */
64426 #include <math.h>
64428 main ()
64430 _fmodl(0, 0);
64432 return 0;
64434 _ACEOF
64435 if ac_fn_cxx_try_compile "$LINENO"; then :
64436 glibcxx_cv_func__fmodl_use=yes
64437 else
64438 glibcxx_cv_func__fmodl_use=no
64440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64441 ac_ext=c
64442 ac_cpp='$CPP $CPPFLAGS'
64443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64452 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64454 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64455 for ac_func in _fmodl
64456 do :
64457 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64458 if test "x$ac_cv_func__fmodl" = x""yes; then :
64459 cat >>confdefs.h <<_ACEOF
64460 #define HAVE__FMODL 1
64461 _ACEOF
64464 done
64473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64474 $as_echo_n "checking for frexpl declaration... " >&6; }
64475 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64476 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64477 $as_echo_n "(cached) " >&6
64478 else
64481 ac_ext=cpp
64482 ac_cpp='$CXXCPP $CPPFLAGS'
64483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64488 /* end confdefs.h. */
64489 #include <math.h>
64491 main ()
64493 frexpl(0, 0);
64495 return 0;
64497 _ACEOF
64498 if ac_fn_cxx_try_compile "$LINENO"; then :
64499 glibcxx_cv_func_frexpl_use=yes
64500 else
64501 glibcxx_cv_func_frexpl_use=no
64503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64504 ac_ext=c
64505 ac_cpp='$CPP $CPPFLAGS'
64506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64515 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64517 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64518 for ac_func in frexpl
64519 do :
64520 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64521 if test "x$ac_cv_func_frexpl" = x""yes; then :
64522 cat >>confdefs.h <<_ACEOF
64523 #define HAVE_FREXPL 1
64524 _ACEOF
64527 done
64529 else
64531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64532 $as_echo_n "checking for _frexpl declaration... " >&6; }
64533 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64534 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64535 $as_echo_n "(cached) " >&6
64536 else
64539 ac_ext=cpp
64540 ac_cpp='$CXXCPP $CPPFLAGS'
64541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64546 /* end confdefs.h. */
64547 #include <math.h>
64549 main ()
64551 _frexpl(0, 0);
64553 return 0;
64555 _ACEOF
64556 if ac_fn_cxx_try_compile "$LINENO"; then :
64557 glibcxx_cv_func__frexpl_use=yes
64558 else
64559 glibcxx_cv_func__frexpl_use=no
64561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64562 ac_ext=c
64563 ac_cpp='$CPP $CPPFLAGS'
64564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64573 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64575 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64576 for ac_func in _frexpl
64577 do :
64578 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64579 if test "x$ac_cv_func__frexpl" = x""yes; then :
64580 cat >>confdefs.h <<_ACEOF
64581 #define HAVE__FREXPL 1
64582 _ACEOF
64585 done
64594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64595 $as_echo_n "checking for hypotl declaration... " >&6; }
64596 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64597 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64598 $as_echo_n "(cached) " >&6
64599 else
64602 ac_ext=cpp
64603 ac_cpp='$CXXCPP $CPPFLAGS'
64604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64609 /* end confdefs.h. */
64610 #include <math.h>
64612 main ()
64614 hypotl(0, 0);
64616 return 0;
64618 _ACEOF
64619 if ac_fn_cxx_try_compile "$LINENO"; then :
64620 glibcxx_cv_func_hypotl_use=yes
64621 else
64622 glibcxx_cv_func_hypotl_use=no
64624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64625 ac_ext=c
64626 ac_cpp='$CPP $CPPFLAGS'
64627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64636 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64638 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64639 for ac_func in hypotl
64640 do :
64641 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64642 if test "x$ac_cv_func_hypotl" = x""yes; then :
64643 cat >>confdefs.h <<_ACEOF
64644 #define HAVE_HYPOTL 1
64645 _ACEOF
64648 done
64650 else
64652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64653 $as_echo_n "checking for _hypotl declaration... " >&6; }
64654 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64655 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64656 $as_echo_n "(cached) " >&6
64657 else
64660 ac_ext=cpp
64661 ac_cpp='$CXXCPP $CPPFLAGS'
64662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64667 /* end confdefs.h. */
64668 #include <math.h>
64670 main ()
64672 _hypotl(0, 0);
64674 return 0;
64676 _ACEOF
64677 if ac_fn_cxx_try_compile "$LINENO"; then :
64678 glibcxx_cv_func__hypotl_use=yes
64679 else
64680 glibcxx_cv_func__hypotl_use=no
64682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64683 ac_ext=c
64684 ac_cpp='$CPP $CPPFLAGS'
64685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64694 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64696 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64697 for ac_func in _hypotl
64698 do :
64699 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64700 if test "x$ac_cv_func__hypotl" = x""yes; then :
64701 cat >>confdefs.h <<_ACEOF
64702 #define HAVE__HYPOTL 1
64703 _ACEOF
64706 done
64715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64716 $as_echo_n "checking for ldexpl declaration... " >&6; }
64717 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64718 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64719 $as_echo_n "(cached) " >&6
64720 else
64723 ac_ext=cpp
64724 ac_cpp='$CXXCPP $CPPFLAGS'
64725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64730 /* end confdefs.h. */
64731 #include <math.h>
64733 main ()
64735 ldexpl(0, 0);
64737 return 0;
64739 _ACEOF
64740 if ac_fn_cxx_try_compile "$LINENO"; then :
64741 glibcxx_cv_func_ldexpl_use=yes
64742 else
64743 glibcxx_cv_func_ldexpl_use=no
64745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64746 ac_ext=c
64747 ac_cpp='$CPP $CPPFLAGS'
64748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64757 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64759 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64760 for ac_func in ldexpl
64761 do :
64762 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64763 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64764 cat >>confdefs.h <<_ACEOF
64765 #define HAVE_LDEXPL 1
64766 _ACEOF
64769 done
64771 else
64773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64774 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64775 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64776 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64777 $as_echo_n "(cached) " >&6
64778 else
64781 ac_ext=cpp
64782 ac_cpp='$CXXCPP $CPPFLAGS'
64783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64788 /* end confdefs.h. */
64789 #include <math.h>
64791 main ()
64793 _ldexpl(0, 0);
64795 return 0;
64797 _ACEOF
64798 if ac_fn_cxx_try_compile "$LINENO"; then :
64799 glibcxx_cv_func__ldexpl_use=yes
64800 else
64801 glibcxx_cv_func__ldexpl_use=no
64803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64804 ac_ext=c
64805 ac_cpp='$CPP $CPPFLAGS'
64806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64815 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64817 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64818 for ac_func in _ldexpl
64819 do :
64820 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64821 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64822 cat >>confdefs.h <<_ACEOF
64823 #define HAVE__LDEXPL 1
64824 _ACEOF
64827 done
64836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64837 $as_echo_n "checking for logl declaration... " >&6; }
64838 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64839 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64840 $as_echo_n "(cached) " >&6
64841 else
64844 ac_ext=cpp
64845 ac_cpp='$CXXCPP $CPPFLAGS'
64846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64851 /* end confdefs.h. */
64852 #include <math.h>
64853 #ifdef HAVE_IEEEFP_H
64854 #include <ieeefp.h>
64855 #endif
64858 main ()
64860 logl(0);
64862 return 0;
64864 _ACEOF
64865 if ac_fn_cxx_try_compile "$LINENO"; then :
64866 glibcxx_cv_func_logl_use=yes
64867 else
64868 glibcxx_cv_func_logl_use=no
64870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64871 ac_ext=c
64872 ac_cpp='$CPP $CPPFLAGS'
64873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64882 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64884 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64885 for ac_func in logl
64886 do :
64887 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64888 if test "x$ac_cv_func_logl" = x""yes; then :
64889 cat >>confdefs.h <<_ACEOF
64890 #define HAVE_LOGL 1
64891 _ACEOF
64894 done
64896 else
64898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64899 $as_echo_n "checking for _logl declaration... " >&6; }
64900 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64901 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64902 $as_echo_n "(cached) " >&6
64903 else
64906 ac_ext=cpp
64907 ac_cpp='$CXXCPP $CPPFLAGS'
64908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64913 /* end confdefs.h. */
64914 #include <math.h>
64915 #ifdef HAVE_IEEEFP_H
64916 #include <ieeefp.h>
64917 #endif
64920 main ()
64922 _logl(0);
64924 return 0;
64926 _ACEOF
64927 if ac_fn_cxx_try_compile "$LINENO"; then :
64928 glibcxx_cv_func__logl_use=yes
64929 else
64930 glibcxx_cv_func__logl_use=no
64932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64933 ac_ext=c
64934 ac_cpp='$CPP $CPPFLAGS'
64935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64944 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64946 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64947 for ac_func in _logl
64948 do :
64949 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64950 if test "x$ac_cv_func__logl" = x""yes; then :
64951 cat >>confdefs.h <<_ACEOF
64952 #define HAVE__LOGL 1
64953 _ACEOF
64956 done
64965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64966 $as_echo_n "checking for log10l declaration... " >&6; }
64967 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64968 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64969 $as_echo_n "(cached) " >&6
64970 else
64973 ac_ext=cpp
64974 ac_cpp='$CXXCPP $CPPFLAGS'
64975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64980 /* end confdefs.h. */
64981 #include <math.h>
64982 #ifdef HAVE_IEEEFP_H
64983 #include <ieeefp.h>
64984 #endif
64987 main ()
64989 log10l(0);
64991 return 0;
64993 _ACEOF
64994 if ac_fn_cxx_try_compile "$LINENO"; then :
64995 glibcxx_cv_func_log10l_use=yes
64996 else
64997 glibcxx_cv_func_log10l_use=no
64999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65000 ac_ext=c
65001 ac_cpp='$CPP $CPPFLAGS'
65002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65011 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65013 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65014 for ac_func in log10l
65015 do :
65016 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65017 if test "x$ac_cv_func_log10l" = x""yes; then :
65018 cat >>confdefs.h <<_ACEOF
65019 #define HAVE_LOG10L 1
65020 _ACEOF
65023 done
65025 else
65027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65028 $as_echo_n "checking for _log10l declaration... " >&6; }
65029 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65030 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65031 $as_echo_n "(cached) " >&6
65032 else
65035 ac_ext=cpp
65036 ac_cpp='$CXXCPP $CPPFLAGS'
65037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65042 /* end confdefs.h. */
65043 #include <math.h>
65044 #ifdef HAVE_IEEEFP_H
65045 #include <ieeefp.h>
65046 #endif
65049 main ()
65051 _log10l(0);
65053 return 0;
65055 _ACEOF
65056 if ac_fn_cxx_try_compile "$LINENO"; then :
65057 glibcxx_cv_func__log10l_use=yes
65058 else
65059 glibcxx_cv_func__log10l_use=no
65061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65062 ac_ext=c
65063 ac_cpp='$CPP $CPPFLAGS'
65064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65073 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65075 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65076 for ac_func in _log10l
65077 do :
65078 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65079 if test "x$ac_cv_func__log10l" = x""yes; then :
65080 cat >>confdefs.h <<_ACEOF
65081 #define HAVE__LOG10L 1
65082 _ACEOF
65085 done
65094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65095 $as_echo_n "checking for modfl declaration... " >&6; }
65096 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65097 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65098 $as_echo_n "(cached) " >&6
65099 else
65102 ac_ext=cpp
65103 ac_cpp='$CXXCPP $CPPFLAGS'
65104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65109 /* end confdefs.h. */
65110 #include <math.h>
65112 main ()
65114 modfl(0, 0);
65116 return 0;
65118 _ACEOF
65119 if ac_fn_cxx_try_compile "$LINENO"; then :
65120 glibcxx_cv_func_modfl_use=yes
65121 else
65122 glibcxx_cv_func_modfl_use=no
65124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65125 ac_ext=c
65126 ac_cpp='$CPP $CPPFLAGS'
65127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65136 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65138 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65139 for ac_func in modfl
65140 do :
65141 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65142 if test "x$ac_cv_func_modfl" = x""yes; then :
65143 cat >>confdefs.h <<_ACEOF
65144 #define HAVE_MODFL 1
65145 _ACEOF
65148 done
65150 else
65152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65153 $as_echo_n "checking for _modfl declaration... " >&6; }
65154 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65155 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65156 $as_echo_n "(cached) " >&6
65157 else
65160 ac_ext=cpp
65161 ac_cpp='$CXXCPP $CPPFLAGS'
65162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65167 /* end confdefs.h. */
65168 #include <math.h>
65170 main ()
65172 _modfl(0, 0);
65174 return 0;
65176 _ACEOF
65177 if ac_fn_cxx_try_compile "$LINENO"; then :
65178 glibcxx_cv_func__modfl_use=yes
65179 else
65180 glibcxx_cv_func__modfl_use=no
65182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65183 ac_ext=c
65184 ac_cpp='$CPP $CPPFLAGS'
65185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65194 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65196 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65197 for ac_func in _modfl
65198 do :
65199 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65200 if test "x$ac_cv_func__modfl" = x""yes; then :
65201 cat >>confdefs.h <<_ACEOF
65202 #define HAVE__MODFL 1
65203 _ACEOF
65206 done
65215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65216 $as_echo_n "checking for powl declaration... " >&6; }
65217 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65218 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65219 $as_echo_n "(cached) " >&6
65220 else
65223 ac_ext=cpp
65224 ac_cpp='$CXXCPP $CPPFLAGS'
65225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65230 /* end confdefs.h. */
65231 #include <math.h>
65233 main ()
65235 powl(0, 0);
65237 return 0;
65239 _ACEOF
65240 if ac_fn_cxx_try_compile "$LINENO"; then :
65241 glibcxx_cv_func_powl_use=yes
65242 else
65243 glibcxx_cv_func_powl_use=no
65245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65246 ac_ext=c
65247 ac_cpp='$CPP $CPPFLAGS'
65248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65257 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65259 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65260 for ac_func in powl
65261 do :
65262 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65263 if test "x$ac_cv_func_powl" = x""yes; then :
65264 cat >>confdefs.h <<_ACEOF
65265 #define HAVE_POWL 1
65266 _ACEOF
65269 done
65271 else
65273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65274 $as_echo_n "checking for _powl declaration... " >&6; }
65275 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65276 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65277 $as_echo_n "(cached) " >&6
65278 else
65281 ac_ext=cpp
65282 ac_cpp='$CXXCPP $CPPFLAGS'
65283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65288 /* end confdefs.h. */
65289 #include <math.h>
65291 main ()
65293 _powl(0, 0);
65295 return 0;
65297 _ACEOF
65298 if ac_fn_cxx_try_compile "$LINENO"; then :
65299 glibcxx_cv_func__powl_use=yes
65300 else
65301 glibcxx_cv_func__powl_use=no
65303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65304 ac_ext=c
65305 ac_cpp='$CPP $CPPFLAGS'
65306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65315 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65317 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65318 for ac_func in _powl
65319 do :
65320 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65321 if test "x$ac_cv_func__powl" = x""yes; then :
65322 cat >>confdefs.h <<_ACEOF
65323 #define HAVE__POWL 1
65324 _ACEOF
65327 done
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65337 $as_echo_n "checking for sqrtl declaration... " >&6; }
65338 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65339 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65340 $as_echo_n "(cached) " >&6
65341 else
65344 ac_ext=cpp
65345 ac_cpp='$CXXCPP $CPPFLAGS'
65346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65351 /* end confdefs.h. */
65352 #include <math.h>
65353 #ifdef HAVE_IEEEFP_H
65354 #include <ieeefp.h>
65355 #endif
65358 main ()
65360 sqrtl(0);
65362 return 0;
65364 _ACEOF
65365 if ac_fn_cxx_try_compile "$LINENO"; then :
65366 glibcxx_cv_func_sqrtl_use=yes
65367 else
65368 glibcxx_cv_func_sqrtl_use=no
65370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65371 ac_ext=c
65372 ac_cpp='$CPP $CPPFLAGS'
65373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65382 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65384 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65385 for ac_func in sqrtl
65386 do :
65387 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65388 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65389 cat >>confdefs.h <<_ACEOF
65390 #define HAVE_SQRTL 1
65391 _ACEOF
65394 done
65396 else
65398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65399 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65400 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65401 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65402 $as_echo_n "(cached) " >&6
65403 else
65406 ac_ext=cpp
65407 ac_cpp='$CXXCPP $CPPFLAGS'
65408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65413 /* end confdefs.h. */
65414 #include <math.h>
65415 #ifdef HAVE_IEEEFP_H
65416 #include <ieeefp.h>
65417 #endif
65420 main ()
65422 _sqrtl(0);
65424 return 0;
65426 _ACEOF
65427 if ac_fn_cxx_try_compile "$LINENO"; then :
65428 glibcxx_cv_func__sqrtl_use=yes
65429 else
65430 glibcxx_cv_func__sqrtl_use=no
65432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65433 ac_ext=c
65434 ac_cpp='$CPP $CPPFLAGS'
65435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65444 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65446 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65447 for ac_func in _sqrtl
65448 do :
65449 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65450 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65451 cat >>confdefs.h <<_ACEOF
65452 #define HAVE__SQRTL 1
65453 _ACEOF
65456 done
65465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65466 $as_echo_n "checking for sincosl declaration... " >&6; }
65467 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65468 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65469 $as_echo_n "(cached) " >&6
65470 else
65473 ac_ext=cpp
65474 ac_cpp='$CXXCPP $CPPFLAGS'
65475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65480 /* end confdefs.h. */
65481 #include <math.h>
65483 main ()
65485 sincosl(0, 0, 0);
65487 return 0;
65489 _ACEOF
65490 if ac_fn_cxx_try_compile "$LINENO"; then :
65491 glibcxx_cv_func_sincosl_use=yes
65492 else
65493 glibcxx_cv_func_sincosl_use=no
65495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65496 ac_ext=c
65497 ac_cpp='$CPP $CPPFLAGS'
65498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65507 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65509 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65510 for ac_func in sincosl
65511 do :
65512 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65513 if test "x$ac_cv_func_sincosl" = x""yes; then :
65514 cat >>confdefs.h <<_ACEOF
65515 #define HAVE_SINCOSL 1
65516 _ACEOF
65519 done
65521 else
65523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65524 $as_echo_n "checking for _sincosl declaration... " >&6; }
65525 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65526 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65527 $as_echo_n "(cached) " >&6
65528 else
65531 ac_ext=cpp
65532 ac_cpp='$CXXCPP $CPPFLAGS'
65533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65538 /* end confdefs.h. */
65539 #include <math.h>
65541 main ()
65543 _sincosl(0, 0, 0);
65545 return 0;
65547 _ACEOF
65548 if ac_fn_cxx_try_compile "$LINENO"; then :
65549 glibcxx_cv_func__sincosl_use=yes
65550 else
65551 glibcxx_cv_func__sincosl_use=no
65553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65554 ac_ext=c
65555 ac_cpp='$CPP $CPPFLAGS'
65556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65565 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65567 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65568 for ac_func in _sincosl
65569 do :
65570 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65571 if test "x$ac_cv_func__sincosl" = x""yes; then :
65572 cat >>confdefs.h <<_ACEOF
65573 #define HAVE__SINCOSL 1
65574 _ACEOF
65577 done
65586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65587 $as_echo_n "checking for finitel declaration... " >&6; }
65588 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65589 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65590 $as_echo_n "(cached) " >&6
65591 else
65594 ac_ext=cpp
65595 ac_cpp='$CXXCPP $CPPFLAGS'
65596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65601 /* end confdefs.h. */
65602 #include <math.h>
65603 #ifdef HAVE_IEEEFP_H
65604 #include <ieeefp.h>
65605 #endif
65608 main ()
65610 finitel(0);
65612 return 0;
65614 _ACEOF
65615 if ac_fn_cxx_try_compile "$LINENO"; then :
65616 glibcxx_cv_func_finitel_use=yes
65617 else
65618 glibcxx_cv_func_finitel_use=no
65620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65621 ac_ext=c
65622 ac_cpp='$CPP $CPPFLAGS'
65623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65632 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65634 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65635 for ac_func in finitel
65636 do :
65637 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65638 if test "x$ac_cv_func_finitel" = x""yes; then :
65639 cat >>confdefs.h <<_ACEOF
65640 #define HAVE_FINITEL 1
65641 _ACEOF
65644 done
65646 else
65648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65649 $as_echo_n "checking for _finitel declaration... " >&6; }
65650 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65651 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65652 $as_echo_n "(cached) " >&6
65653 else
65656 ac_ext=cpp
65657 ac_cpp='$CXXCPP $CPPFLAGS'
65658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65663 /* end confdefs.h. */
65664 #include <math.h>
65665 #ifdef HAVE_IEEEFP_H
65666 #include <ieeefp.h>
65667 #endif
65670 main ()
65672 _finitel(0);
65674 return 0;
65676 _ACEOF
65677 if ac_fn_cxx_try_compile "$LINENO"; then :
65678 glibcxx_cv_func__finitel_use=yes
65679 else
65680 glibcxx_cv_func__finitel_use=no
65682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65683 ac_ext=c
65684 ac_cpp='$CPP $CPPFLAGS'
65685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65694 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65696 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65697 for ac_func in _finitel
65698 do :
65699 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65700 if test "x$ac_cv_func__finitel" = x""yes; then :
65701 cat >>confdefs.h <<_ACEOF
65702 #define HAVE__FINITEL 1
65703 _ACEOF
65706 done
65714 LIBS="$ac_save_LIBS"
65715 CXXFLAGS="$ac_save_CXXFLAGS"
65718 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65719 ac_save_CXXFLAGS="$CXXFLAGS"
65720 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65724 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65725 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65726 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65727 $as_echo_n "(cached) " >&6
65728 else
65731 ac_ext=cpp
65732 ac_cpp='$CXXCPP $CPPFLAGS'
65733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65738 /* end confdefs.h. */
65739 #include <stdlib.h>
65741 main ()
65743 at_quick_exit(0);
65745 return 0;
65747 _ACEOF
65748 if ac_fn_cxx_try_compile "$LINENO"; then :
65749 glibcxx_cv_func_at_quick_exit_use=yes
65750 else
65751 glibcxx_cv_func_at_quick_exit_use=no
65753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65754 ac_ext=c
65755 ac_cpp='$CPP $CPPFLAGS'
65756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65765 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65766 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65767 for ac_func in at_quick_exit
65768 do :
65769 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65770 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65771 cat >>confdefs.h <<_ACEOF
65772 #define HAVE_AT_QUICK_EXIT 1
65773 _ACEOF
65776 done
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65782 $as_echo_n "checking for quick_exit declaration... " >&6; }
65783 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65784 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65785 $as_echo_n "(cached) " >&6
65786 else
65789 ac_ext=cpp
65790 ac_cpp='$CXXCPP $CPPFLAGS'
65791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65796 /* end confdefs.h. */
65797 #include <stdlib.h>
65799 main ()
65801 quick_exit(0);
65803 return 0;
65805 _ACEOF
65806 if ac_fn_cxx_try_compile "$LINENO"; then :
65807 glibcxx_cv_func_quick_exit_use=yes
65808 else
65809 glibcxx_cv_func_quick_exit_use=no
65811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65812 ac_ext=c
65813 ac_cpp='$CPP $CPPFLAGS'
65814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65823 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65824 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65825 for ac_func in quick_exit
65826 do :
65827 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65828 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65829 cat >>confdefs.h <<_ACEOF
65830 #define HAVE_QUICK_EXIT 1
65831 _ACEOF
65834 done
65839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65840 $as_echo_n "checking for strtold declaration... " >&6; }
65841 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65842 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65843 $as_echo_n "(cached) " >&6
65844 else
65847 ac_ext=cpp
65848 ac_cpp='$CXXCPP $CPPFLAGS'
65849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65854 /* end confdefs.h. */
65855 #include <stdlib.h>
65857 main ()
65859 strtold(0, 0);
65861 return 0;
65863 _ACEOF
65864 if ac_fn_cxx_try_compile "$LINENO"; then :
65865 glibcxx_cv_func_strtold_use=yes
65866 else
65867 glibcxx_cv_func_strtold_use=no
65869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65870 ac_ext=c
65871 ac_cpp='$CPP $CPPFLAGS'
65872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65881 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65882 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65883 for ac_func in strtold
65884 do :
65885 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65886 if test "x$ac_cv_func_strtold" = x""yes; then :
65887 cat >>confdefs.h <<_ACEOF
65888 #define HAVE_STRTOLD 1
65889 _ACEOF
65892 done
65899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65900 $as_echo_n "checking for strtof declaration... " >&6; }
65901 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65902 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65903 $as_echo_n "(cached) " >&6
65904 else
65907 ac_ext=cpp
65908 ac_cpp='$CXXCPP $CPPFLAGS'
65909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65914 /* end confdefs.h. */
65915 #include <stdlib.h>
65917 main ()
65919 strtof(0, 0);
65921 return 0;
65923 _ACEOF
65924 if ac_fn_cxx_try_compile "$LINENO"; then :
65925 glibcxx_cv_func_strtof_use=yes
65926 else
65927 glibcxx_cv_func_strtof_use=no
65929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65930 ac_ext=c
65931 ac_cpp='$CPP $CPPFLAGS'
65932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65941 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65942 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65943 for ac_func in strtof
65944 do :
65945 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65946 if test "x$ac_cv_func_strtof" = x""yes; then :
65947 cat >>confdefs.h <<_ACEOF
65948 #define HAVE_STRTOF 1
65949 _ACEOF
65952 done
65959 CXXFLAGS="$ac_save_CXXFLAGS"
65962 *-netbsd*)
65963 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65966 # If we're not using GNU ld, then there's no point in even trying these
65967 # tests. Check for that first. We should have already tested for gld
65968 # by now (in libtool), but require it now just to be safe...
65969 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65970 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65974 # The name set by libtool depends on the version of libtool. Shame on us
65975 # for depending on an impl detail, but c'est la vie. Older versions used
65976 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65977 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65978 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65979 # set (hence we're using an older libtool), then set it.
65980 if test x${with_gnu_ld+set} != xset; then
65981 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65982 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65983 with_gnu_ld=no
65984 else
65985 with_gnu_ld=$ac_cv_prog_gnu_ld
65989 # Start by getting the version number. I think the libtool test already
65990 # does some of this, but throws away the result.
65991 glibcxx_ld_is_gold=no
65992 if test x"$with_gnu_ld" = x"yes"; then
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65994 $as_echo_n "checking for ld version... " >&6; }
65996 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65997 glibcxx_ld_is_gold=yes
65999 ldver=`$LD --version 2>/dev/null |
66000 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'`
66002 glibcxx_gnu_ld_version=`echo $ldver | \
66003 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66005 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66008 # Set --gc-sections.
66009 glibcxx_have_gc_sections=no
66010 if test "$glibcxx_ld_is_gold" = "yes"; then
66011 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66012 glibcxx_have_gc_sections=yes
66014 else
66015 glibcxx_gcsections_min_ld=21602
66016 if test x"$with_gnu_ld" = x"yes" &&
66017 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66018 glibcxx_have_gc_sections=yes
66021 if test "$glibcxx_have_gc_sections" = "yes"; then
66022 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66023 # NB: This flag only works reliably after 2.16.1. Configure tests
66024 # for this are difficult, so hard wire a value that should work.
66026 ac_test_CFLAGS="${CFLAGS+set}"
66027 ac_save_CFLAGS="$CFLAGS"
66028 CFLAGS='-Wl,--gc-sections'
66030 # Check for -Wl,--gc-sections
66031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66032 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66033 if test x$gcc_no_link = xyes; then
66034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66037 /* end confdefs.h. */
66038 int one(void) { return 1; }
66039 int two(void) { return 2; }
66042 main ()
66044 two();
66046 return 0;
66048 _ACEOF
66049 if ac_fn_c_try_link "$LINENO"; then :
66050 ac_gcsections=yes
66051 else
66052 ac_gcsections=no
66054 rm -f core conftest.err conftest.$ac_objext \
66055 conftest$ac_exeext conftest.$ac_ext
66056 if test "$ac_gcsections" = "yes"; then
66057 rm -f conftest.c
66058 touch conftest.c
66059 if $CC -c conftest.c; then
66060 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66061 grep "Warning: gc-sections option ignored" > /dev/null; then
66062 ac_gcsections=no
66065 rm -f conftest.c conftest.o conftest
66067 if test "$ac_gcsections" = "yes"; then
66068 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66071 $as_echo "$ac_gcsections" >&6; }
66073 if test "$ac_test_CFLAGS" = set; then
66074 CFLAGS="$ac_save_CFLAGS"
66075 else
66076 # this is the suspicious part
66077 CFLAGS=''
66081 # Set -z,relro.
66082 # Note this is only for shared objects.
66083 ac_ld_relro=no
66084 if test x"$with_gnu_ld" = x"yes"; then
66085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66086 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66087 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66088 if test -n "$cxx_z_relo"; then
66089 OPT_LDFLAGS="-Wl,-z,relro"
66090 ac_ld_relro=yes
66092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66093 $as_echo "$ac_ld_relro" >&6; }
66096 # Set linker optimization flags.
66097 if test x"$with_gnu_ld" = x"yes"; then
66098 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66104 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66106 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66108 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66110 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66112 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66114 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66116 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66118 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66120 if test x"long_double_math_on_this_cpu" = x"yes"; then
66121 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66123 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66125 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66129 *-qnx6.1* | *-qnx6.2*)
66130 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66133 # If we're not using GNU ld, then there's no point in even trying these
66134 # tests. Check for that first. We should have already tested for gld
66135 # by now (in libtool), but require it now just to be safe...
66136 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66137 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66141 # The name set by libtool depends on the version of libtool. Shame on us
66142 # for depending on an impl detail, but c'est la vie. Older versions used
66143 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66144 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66145 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66146 # set (hence we're using an older libtool), then set it.
66147 if test x${with_gnu_ld+set} != xset; then
66148 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66149 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66150 with_gnu_ld=no
66151 else
66152 with_gnu_ld=$ac_cv_prog_gnu_ld
66156 # Start by getting the version number. I think the libtool test already
66157 # does some of this, but throws away the result.
66158 glibcxx_ld_is_gold=no
66159 if test x"$with_gnu_ld" = x"yes"; then
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66161 $as_echo_n "checking for ld version... " >&6; }
66163 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66164 glibcxx_ld_is_gold=yes
66166 ldver=`$LD --version 2>/dev/null |
66167 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'`
66169 glibcxx_gnu_ld_version=`echo $ldver | \
66170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66172 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66175 # Set --gc-sections.
66176 glibcxx_have_gc_sections=no
66177 if test "$glibcxx_ld_is_gold" = "yes"; then
66178 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66179 glibcxx_have_gc_sections=yes
66181 else
66182 glibcxx_gcsections_min_ld=21602
66183 if test x"$with_gnu_ld" = x"yes" &&
66184 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66185 glibcxx_have_gc_sections=yes
66188 if test "$glibcxx_have_gc_sections" = "yes"; then
66189 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66190 # NB: This flag only works reliably after 2.16.1. Configure tests
66191 # for this are difficult, so hard wire a value that should work.
66193 ac_test_CFLAGS="${CFLAGS+set}"
66194 ac_save_CFLAGS="$CFLAGS"
66195 CFLAGS='-Wl,--gc-sections'
66197 # Check for -Wl,--gc-sections
66198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66199 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66200 if test x$gcc_no_link = xyes; then
66201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66204 /* end confdefs.h. */
66205 int one(void) { return 1; }
66206 int two(void) { return 2; }
66209 main ()
66211 two();
66213 return 0;
66215 _ACEOF
66216 if ac_fn_c_try_link "$LINENO"; then :
66217 ac_gcsections=yes
66218 else
66219 ac_gcsections=no
66221 rm -f core conftest.err conftest.$ac_objext \
66222 conftest$ac_exeext conftest.$ac_ext
66223 if test "$ac_gcsections" = "yes"; then
66224 rm -f conftest.c
66225 touch conftest.c
66226 if $CC -c conftest.c; then
66227 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66228 grep "Warning: gc-sections option ignored" > /dev/null; then
66229 ac_gcsections=no
66232 rm -f conftest.c conftest.o conftest
66234 if test "$ac_gcsections" = "yes"; then
66235 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66238 $as_echo "$ac_gcsections" >&6; }
66240 if test "$ac_test_CFLAGS" = set; then
66241 CFLAGS="$ac_save_CFLAGS"
66242 else
66243 # this is the suspicious part
66244 CFLAGS=''
66248 # Set -z,relro.
66249 # Note this is only for shared objects.
66250 ac_ld_relro=no
66251 if test x"$with_gnu_ld" = x"yes"; then
66252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66253 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66254 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66255 if test -n "$cxx_z_relo"; then
66256 OPT_LDFLAGS="-Wl,-z,relro"
66257 ac_ld_relro=yes
66259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66260 $as_echo "$ac_ld_relro" >&6; }
66263 # Set linker optimization flags.
66264 if test x"$with_gnu_ld" = x"yes"; then
66265 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66271 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66273 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66275 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66277 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66279 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66281 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66283 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66285 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66287 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66289 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66291 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66293 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66296 *-rtems*)
66298 # All these tests are for C++; save the language and the compiler flags.
66299 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66300 # found in GLIBCXX_CONFIGURE.
66302 ac_ext=cpp
66303 ac_cpp='$CXXCPP $CPPFLAGS'
66304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66308 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66309 ac_save_CXXFLAGS="$CXXFLAGS"
66311 # Check for maintainer-mode bits.
66312 if test x"$USE_MAINTAINER_MODE" = xno; then
66313 WERROR=''
66314 else
66315 WERROR='-Werror'
66318 # Check for -ffunction-sections -fdata-sections
66319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66320 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66321 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66323 /* end confdefs.h. */
66324 int foo; void bar() { };
66326 main ()
66330 return 0;
66332 _ACEOF
66333 if ac_fn_cxx_try_compile "$LINENO"; then :
66334 ac_fdsections=yes
66335 else
66336 ac_fdsections=no
66338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66339 if test "$ac_test_CXXFLAGS" = set; then
66340 CXXFLAGS="$ac_save_CXXFLAGS"
66341 else
66342 # this is the suspicious part
66343 CXXFLAGS=''
66345 if test x"$ac_fdsections" = x"yes"; then
66346 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66349 $as_echo "$ac_fdsections" >&6; }
66351 ac_ext=c
66352 ac_cpp='$CPP $CPPFLAGS'
66353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66361 # If we're not using GNU ld, then there's no point in even trying these
66362 # tests. Check for that first. We should have already tested for gld
66363 # by now (in libtool), but require it now just to be safe...
66364 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66365 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66369 # The name set by libtool depends on the version of libtool. Shame on us
66370 # for depending on an impl detail, but c'est la vie. Older versions used
66371 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66372 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66373 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66374 # set (hence we're using an older libtool), then set it.
66375 if test x${with_gnu_ld+set} != xset; then
66376 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66377 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66378 with_gnu_ld=no
66379 else
66380 with_gnu_ld=$ac_cv_prog_gnu_ld
66384 # Start by getting the version number. I think the libtool test already
66385 # does some of this, but throws away the result.
66386 glibcxx_ld_is_gold=no
66387 if test x"$with_gnu_ld" = x"yes"; then
66388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66389 $as_echo_n "checking for ld version... " >&6; }
66391 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66392 glibcxx_ld_is_gold=yes
66394 ldver=`$LD --version 2>/dev/null |
66395 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'`
66397 glibcxx_gnu_ld_version=`echo $ldver | \
66398 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66400 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66403 # Set --gc-sections.
66404 glibcxx_have_gc_sections=no
66405 if test "$glibcxx_ld_is_gold" = "yes"; then
66406 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66407 glibcxx_have_gc_sections=yes
66409 else
66410 glibcxx_gcsections_min_ld=21602
66411 if test x"$with_gnu_ld" = x"yes" &&
66412 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66413 glibcxx_have_gc_sections=yes
66416 if test "$glibcxx_have_gc_sections" = "yes"; then
66417 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66418 # NB: This flag only works reliably after 2.16.1. Configure tests
66419 # for this are difficult, so hard wire a value that should work.
66421 ac_test_CFLAGS="${CFLAGS+set}"
66422 ac_save_CFLAGS="$CFLAGS"
66423 CFLAGS='-Wl,--gc-sections'
66425 # Check for -Wl,--gc-sections
66426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66427 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66428 if test x$gcc_no_link = xyes; then
66429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66432 /* end confdefs.h. */
66433 int one(void) { return 1; }
66434 int two(void) { return 2; }
66437 main ()
66439 two();
66441 return 0;
66443 _ACEOF
66444 if ac_fn_c_try_link "$LINENO"; then :
66445 ac_gcsections=yes
66446 else
66447 ac_gcsections=no
66449 rm -f core conftest.err conftest.$ac_objext \
66450 conftest$ac_exeext conftest.$ac_ext
66451 if test "$ac_gcsections" = "yes"; then
66452 rm -f conftest.c
66453 touch conftest.c
66454 if $CC -c conftest.c; then
66455 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66456 grep "Warning: gc-sections option ignored" > /dev/null; then
66457 ac_gcsections=no
66460 rm -f conftest.c conftest.o conftest
66462 if test "$ac_gcsections" = "yes"; then
66463 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66466 $as_echo "$ac_gcsections" >&6; }
66468 if test "$ac_test_CFLAGS" = set; then
66469 CFLAGS="$ac_save_CFLAGS"
66470 else
66471 # this is the suspicious part
66472 CFLAGS=''
66476 # Set -z,relro.
66477 # Note this is only for shared objects.
66478 ac_ld_relro=no
66479 if test x"$with_gnu_ld" = x"yes"; then
66480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66481 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66482 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66483 if test -n "$cxx_z_relo"; then
66484 OPT_LDFLAGS="-Wl,-z,relro"
66485 ac_ld_relro=yes
66487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66488 $as_echo "$ac_ld_relro" >&6; }
66491 # Set linker optimization flags.
66492 if test x"$with_gnu_ld" = x"yes"; then
66493 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66500 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66501 ac_save_CXXFLAGS="$CXXFLAGS"
66502 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66505 $as_echo_n "checking for sin in -lm... " >&6; }
66506 if test "${ac_cv_lib_m_sin+set}" = set; then :
66507 $as_echo_n "(cached) " >&6
66508 else
66509 ac_check_lib_save_LIBS=$LIBS
66510 LIBS="-lm $LIBS"
66511 if test x$gcc_no_link = xyes; then
66512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66515 /* end confdefs.h. */
66517 /* Override any GCC internal prototype to avoid an error.
66518 Use char because int might match the return type of a GCC
66519 builtin and then its argument prototype would still apply. */
66520 #ifdef __cplusplus
66521 extern "C"
66522 #endif
66523 char sin ();
66525 main ()
66527 return sin ();
66529 return 0;
66531 _ACEOF
66532 if ac_fn_c_try_link "$LINENO"; then :
66533 ac_cv_lib_m_sin=yes
66534 else
66535 ac_cv_lib_m_sin=no
66537 rm -f core conftest.err conftest.$ac_objext \
66538 conftest$ac_exeext conftest.$ac_ext
66539 LIBS=$ac_check_lib_save_LIBS
66541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66542 $as_echo "$ac_cv_lib_m_sin" >&6; }
66543 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66544 libm="-lm"
66547 ac_save_LIBS="$LIBS"
66548 LIBS="$LIBS $libm"
66552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66553 $as_echo_n "checking for isinf declaration... " >&6; }
66554 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66555 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66556 $as_echo_n "(cached) " >&6
66557 else
66560 ac_ext=cpp
66561 ac_cpp='$CXXCPP $CPPFLAGS'
66562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66567 /* end confdefs.h. */
66568 #include <math.h>
66569 #ifdef HAVE_IEEEFP_H
66570 #include <ieeefp.h>
66571 #endif
66574 main ()
66576 isinf(0);
66578 return 0;
66580 _ACEOF
66581 if ac_fn_cxx_try_compile "$LINENO"; then :
66582 glibcxx_cv_func_isinf_use=yes
66583 else
66584 glibcxx_cv_func_isinf_use=no
66586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66587 ac_ext=c
66588 ac_cpp='$CPP $CPPFLAGS'
66589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66598 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66600 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66601 for ac_func in isinf
66602 do :
66603 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66604 if test "x$ac_cv_func_isinf" = x""yes; then :
66605 cat >>confdefs.h <<_ACEOF
66606 #define HAVE_ISINF 1
66607 _ACEOF
66610 done
66612 else
66614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66615 $as_echo_n "checking for _isinf declaration... " >&6; }
66616 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66617 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66618 $as_echo_n "(cached) " >&6
66619 else
66622 ac_ext=cpp
66623 ac_cpp='$CXXCPP $CPPFLAGS'
66624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66629 /* end confdefs.h. */
66630 #include <math.h>
66631 #ifdef HAVE_IEEEFP_H
66632 #include <ieeefp.h>
66633 #endif
66636 main ()
66638 _isinf(0);
66640 return 0;
66642 _ACEOF
66643 if ac_fn_cxx_try_compile "$LINENO"; then :
66644 glibcxx_cv_func__isinf_use=yes
66645 else
66646 glibcxx_cv_func__isinf_use=no
66648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66649 ac_ext=c
66650 ac_cpp='$CPP $CPPFLAGS'
66651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66660 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66662 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66663 for ac_func in _isinf
66664 do :
66665 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66666 if test "x$ac_cv_func__isinf" = x""yes; then :
66667 cat >>confdefs.h <<_ACEOF
66668 #define HAVE__ISINF 1
66669 _ACEOF
66672 done
66681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66682 $as_echo_n "checking for isnan declaration... " >&6; }
66683 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66684 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66685 $as_echo_n "(cached) " >&6
66686 else
66689 ac_ext=cpp
66690 ac_cpp='$CXXCPP $CPPFLAGS'
66691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66696 /* end confdefs.h. */
66697 #include <math.h>
66698 #ifdef HAVE_IEEEFP_H
66699 #include <ieeefp.h>
66700 #endif
66703 main ()
66705 isnan(0);
66707 return 0;
66709 _ACEOF
66710 if ac_fn_cxx_try_compile "$LINENO"; then :
66711 glibcxx_cv_func_isnan_use=yes
66712 else
66713 glibcxx_cv_func_isnan_use=no
66715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66716 ac_ext=c
66717 ac_cpp='$CPP $CPPFLAGS'
66718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66727 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66729 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66730 for ac_func in isnan
66731 do :
66732 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66733 if test "x$ac_cv_func_isnan" = x""yes; then :
66734 cat >>confdefs.h <<_ACEOF
66735 #define HAVE_ISNAN 1
66736 _ACEOF
66739 done
66741 else
66743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66744 $as_echo_n "checking for _isnan declaration... " >&6; }
66745 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66746 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66747 $as_echo_n "(cached) " >&6
66748 else
66751 ac_ext=cpp
66752 ac_cpp='$CXXCPP $CPPFLAGS'
66753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66758 /* end confdefs.h. */
66759 #include <math.h>
66760 #ifdef HAVE_IEEEFP_H
66761 #include <ieeefp.h>
66762 #endif
66765 main ()
66767 _isnan(0);
66769 return 0;
66771 _ACEOF
66772 if ac_fn_cxx_try_compile "$LINENO"; then :
66773 glibcxx_cv_func__isnan_use=yes
66774 else
66775 glibcxx_cv_func__isnan_use=no
66777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66778 ac_ext=c
66779 ac_cpp='$CPP $CPPFLAGS'
66780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66789 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66791 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66792 for ac_func in _isnan
66793 do :
66794 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66795 if test "x$ac_cv_func__isnan" = x""yes; then :
66796 cat >>confdefs.h <<_ACEOF
66797 #define HAVE__ISNAN 1
66798 _ACEOF
66801 done
66810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66811 $as_echo_n "checking for finite declaration... " >&6; }
66812 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66813 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66814 $as_echo_n "(cached) " >&6
66815 else
66818 ac_ext=cpp
66819 ac_cpp='$CXXCPP $CPPFLAGS'
66820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66825 /* end confdefs.h. */
66826 #include <math.h>
66827 #ifdef HAVE_IEEEFP_H
66828 #include <ieeefp.h>
66829 #endif
66832 main ()
66834 finite(0);
66836 return 0;
66838 _ACEOF
66839 if ac_fn_cxx_try_compile "$LINENO"; then :
66840 glibcxx_cv_func_finite_use=yes
66841 else
66842 glibcxx_cv_func_finite_use=no
66844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66845 ac_ext=c
66846 ac_cpp='$CPP $CPPFLAGS'
66847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66856 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66858 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66859 for ac_func in finite
66860 do :
66861 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66862 if test "x$ac_cv_func_finite" = x""yes; then :
66863 cat >>confdefs.h <<_ACEOF
66864 #define HAVE_FINITE 1
66865 _ACEOF
66868 done
66870 else
66872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66873 $as_echo_n "checking for _finite declaration... " >&6; }
66874 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66875 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66876 $as_echo_n "(cached) " >&6
66877 else
66880 ac_ext=cpp
66881 ac_cpp='$CXXCPP $CPPFLAGS'
66882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66887 /* end confdefs.h. */
66888 #include <math.h>
66889 #ifdef HAVE_IEEEFP_H
66890 #include <ieeefp.h>
66891 #endif
66894 main ()
66896 _finite(0);
66898 return 0;
66900 _ACEOF
66901 if ac_fn_cxx_try_compile "$LINENO"; then :
66902 glibcxx_cv_func__finite_use=yes
66903 else
66904 glibcxx_cv_func__finite_use=no
66906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66907 ac_ext=c
66908 ac_cpp='$CPP $CPPFLAGS'
66909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66918 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66920 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66921 for ac_func in _finite
66922 do :
66923 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66924 if test "x$ac_cv_func__finite" = x""yes; then :
66925 cat >>confdefs.h <<_ACEOF
66926 #define HAVE__FINITE 1
66927 _ACEOF
66930 done
66939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66940 $as_echo_n "checking for sincos declaration... " >&6; }
66941 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66942 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66943 $as_echo_n "(cached) " >&6
66944 else
66947 ac_ext=cpp
66948 ac_cpp='$CXXCPP $CPPFLAGS'
66949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66954 /* end confdefs.h. */
66955 #include <math.h>
66957 main ()
66959 sincos(0, 0, 0);
66961 return 0;
66963 _ACEOF
66964 if ac_fn_cxx_try_compile "$LINENO"; then :
66965 glibcxx_cv_func_sincos_use=yes
66966 else
66967 glibcxx_cv_func_sincos_use=no
66969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66970 ac_ext=c
66971 ac_cpp='$CPP $CPPFLAGS'
66972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66981 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66983 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66984 for ac_func in sincos
66985 do :
66986 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66987 if test "x$ac_cv_func_sincos" = x""yes; then :
66988 cat >>confdefs.h <<_ACEOF
66989 #define HAVE_SINCOS 1
66990 _ACEOF
66993 done
66995 else
66997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66998 $as_echo_n "checking for _sincos declaration... " >&6; }
66999 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67000 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67001 $as_echo_n "(cached) " >&6
67002 else
67005 ac_ext=cpp
67006 ac_cpp='$CXXCPP $CPPFLAGS'
67007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67012 /* end confdefs.h. */
67013 #include <math.h>
67015 main ()
67017 _sincos(0, 0, 0);
67019 return 0;
67021 _ACEOF
67022 if ac_fn_cxx_try_compile "$LINENO"; then :
67023 glibcxx_cv_func__sincos_use=yes
67024 else
67025 glibcxx_cv_func__sincos_use=no
67027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67028 ac_ext=c
67029 ac_cpp='$CPP $CPPFLAGS'
67030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67039 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67041 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67042 for ac_func in _sincos
67043 do :
67044 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67045 if test "x$ac_cv_func__sincos" = x""yes; then :
67046 cat >>confdefs.h <<_ACEOF
67047 #define HAVE__SINCOS 1
67048 _ACEOF
67051 done
67060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67061 $as_echo_n "checking for fpclass declaration... " >&6; }
67062 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67063 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67064 $as_echo_n "(cached) " >&6
67065 else
67068 ac_ext=cpp
67069 ac_cpp='$CXXCPP $CPPFLAGS'
67070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67075 /* end confdefs.h. */
67076 #include <math.h>
67077 #ifdef HAVE_IEEEFP_H
67078 #include <ieeefp.h>
67079 #endif
67082 main ()
67084 fpclass(0);
67086 return 0;
67088 _ACEOF
67089 if ac_fn_cxx_try_compile "$LINENO"; then :
67090 glibcxx_cv_func_fpclass_use=yes
67091 else
67092 glibcxx_cv_func_fpclass_use=no
67094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67095 ac_ext=c
67096 ac_cpp='$CPP $CPPFLAGS'
67097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67106 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67108 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67109 for ac_func in fpclass
67110 do :
67111 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67112 if test "x$ac_cv_func_fpclass" = x""yes; then :
67113 cat >>confdefs.h <<_ACEOF
67114 #define HAVE_FPCLASS 1
67115 _ACEOF
67118 done
67120 else
67122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67123 $as_echo_n "checking for _fpclass declaration... " >&6; }
67124 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67125 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67126 $as_echo_n "(cached) " >&6
67127 else
67130 ac_ext=cpp
67131 ac_cpp='$CXXCPP $CPPFLAGS'
67132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67137 /* end confdefs.h. */
67138 #include <math.h>
67139 #ifdef HAVE_IEEEFP_H
67140 #include <ieeefp.h>
67141 #endif
67144 main ()
67146 _fpclass(0);
67148 return 0;
67150 _ACEOF
67151 if ac_fn_cxx_try_compile "$LINENO"; then :
67152 glibcxx_cv_func__fpclass_use=yes
67153 else
67154 glibcxx_cv_func__fpclass_use=no
67156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67157 ac_ext=c
67158 ac_cpp='$CPP $CPPFLAGS'
67159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67168 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67170 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67171 for ac_func in _fpclass
67172 do :
67173 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67174 if test "x$ac_cv_func__fpclass" = x""yes; then :
67175 cat >>confdefs.h <<_ACEOF
67176 #define HAVE__FPCLASS 1
67177 _ACEOF
67180 done
67189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67190 $as_echo_n "checking for qfpclass declaration... " >&6; }
67191 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67192 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67193 $as_echo_n "(cached) " >&6
67194 else
67197 ac_ext=cpp
67198 ac_cpp='$CXXCPP $CPPFLAGS'
67199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67204 /* end confdefs.h. */
67205 #include <math.h>
67206 #ifdef HAVE_IEEEFP_H
67207 #include <ieeefp.h>
67208 #endif
67211 main ()
67213 qfpclass(0);
67215 return 0;
67217 _ACEOF
67218 if ac_fn_cxx_try_compile "$LINENO"; then :
67219 glibcxx_cv_func_qfpclass_use=yes
67220 else
67221 glibcxx_cv_func_qfpclass_use=no
67223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67224 ac_ext=c
67225 ac_cpp='$CPP $CPPFLAGS'
67226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67235 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67237 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67238 for ac_func in qfpclass
67239 do :
67240 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67241 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67242 cat >>confdefs.h <<_ACEOF
67243 #define HAVE_QFPCLASS 1
67244 _ACEOF
67247 done
67249 else
67251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67252 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67253 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67254 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67255 $as_echo_n "(cached) " >&6
67256 else
67259 ac_ext=cpp
67260 ac_cpp='$CXXCPP $CPPFLAGS'
67261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67266 /* end confdefs.h. */
67267 #include <math.h>
67268 #ifdef HAVE_IEEEFP_H
67269 #include <ieeefp.h>
67270 #endif
67273 main ()
67275 _qfpclass(0);
67277 return 0;
67279 _ACEOF
67280 if ac_fn_cxx_try_compile "$LINENO"; then :
67281 glibcxx_cv_func__qfpclass_use=yes
67282 else
67283 glibcxx_cv_func__qfpclass_use=no
67285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67286 ac_ext=c
67287 ac_cpp='$CPP $CPPFLAGS'
67288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67297 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67299 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67300 for ac_func in _qfpclass
67301 do :
67302 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67303 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67304 cat >>confdefs.h <<_ACEOF
67305 #define HAVE__QFPCLASS 1
67306 _ACEOF
67309 done
67318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67319 $as_echo_n "checking for hypot declaration... " >&6; }
67320 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67321 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67322 $as_echo_n "(cached) " >&6
67323 else
67326 ac_ext=cpp
67327 ac_cpp='$CXXCPP $CPPFLAGS'
67328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67333 /* end confdefs.h. */
67334 #include <math.h>
67336 main ()
67338 hypot(0, 0);
67340 return 0;
67342 _ACEOF
67343 if ac_fn_cxx_try_compile "$LINENO"; then :
67344 glibcxx_cv_func_hypot_use=yes
67345 else
67346 glibcxx_cv_func_hypot_use=no
67348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67349 ac_ext=c
67350 ac_cpp='$CPP $CPPFLAGS'
67351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67360 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67362 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67363 for ac_func in hypot
67364 do :
67365 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67366 if test "x$ac_cv_func_hypot" = x""yes; then :
67367 cat >>confdefs.h <<_ACEOF
67368 #define HAVE_HYPOT 1
67369 _ACEOF
67372 done
67374 else
67376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67377 $as_echo_n "checking for _hypot declaration... " >&6; }
67378 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67379 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67380 $as_echo_n "(cached) " >&6
67381 else
67384 ac_ext=cpp
67385 ac_cpp='$CXXCPP $CPPFLAGS'
67386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67391 /* end confdefs.h. */
67392 #include <math.h>
67394 main ()
67396 _hypot(0, 0);
67398 return 0;
67400 _ACEOF
67401 if ac_fn_cxx_try_compile "$LINENO"; then :
67402 glibcxx_cv_func__hypot_use=yes
67403 else
67404 glibcxx_cv_func__hypot_use=no
67406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67407 ac_ext=c
67408 ac_cpp='$CPP $CPPFLAGS'
67409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67418 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67420 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67421 for ac_func in _hypot
67422 do :
67423 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67424 if test "x$ac_cv_func__hypot" = x""yes; then :
67425 cat >>confdefs.h <<_ACEOF
67426 #define HAVE__HYPOT 1
67427 _ACEOF
67430 done
67439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67440 $as_echo_n "checking for float trig functions... " >&6; }
67441 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67442 $as_echo_n "(cached) " >&6
67443 else
67446 ac_ext=cpp
67447 ac_cpp='$CXXCPP $CPPFLAGS'
67448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67453 /* end confdefs.h. */
67454 #include <math.h>
67456 main ()
67458 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67460 return 0;
67462 _ACEOF
67463 if ac_fn_cxx_try_compile "$LINENO"; then :
67464 glibcxx_cv_func_float_trig_use=yes
67465 else
67466 glibcxx_cv_func_float_trig_use=no
67468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67469 ac_ext=c
67470 ac_cpp='$CPP $CPPFLAGS'
67471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67478 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67479 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67480 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67481 do :
67482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67484 eval as_val=\$$as_ac_var
67485 if test "x$as_val" = x""yes; then :
67486 cat >>confdefs.h <<_ACEOF
67487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67488 _ACEOF
67491 done
67493 else
67494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67495 $as_echo_n "checking for _float trig functions... " >&6; }
67496 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67497 $as_echo_n "(cached) " >&6
67498 else
67501 ac_ext=cpp
67502 ac_cpp='$CXXCPP $CPPFLAGS'
67503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67508 /* end confdefs.h. */
67509 #include <math.h>
67511 main ()
67513 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67515 return 0;
67517 _ACEOF
67518 if ac_fn_cxx_try_compile "$LINENO"; then :
67519 glibcxx_cv_func__float_trig_use=yes
67520 else
67521 glibcxx_cv_func__float_trig_use=no
67523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67524 ac_ext=c
67525 ac_cpp='$CPP $CPPFLAGS'
67526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67533 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67534 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67535 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67536 do :
67537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67539 eval as_val=\$$as_ac_var
67540 if test "x$as_val" = x""yes; then :
67541 cat >>confdefs.h <<_ACEOF
67542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67543 _ACEOF
67546 done
67555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67556 $as_echo_n "checking for float round functions... " >&6; }
67557 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67558 $as_echo_n "(cached) " >&6
67559 else
67562 ac_ext=cpp
67563 ac_cpp='$CXXCPP $CPPFLAGS'
67564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67569 /* end confdefs.h. */
67570 #include <math.h>
67572 main ()
67574 ceilf (0); floorf (0);
67576 return 0;
67578 _ACEOF
67579 if ac_fn_cxx_try_compile "$LINENO"; then :
67580 glibcxx_cv_func_float_round_use=yes
67581 else
67582 glibcxx_cv_func_float_round_use=no
67584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67585 ac_ext=c
67586 ac_cpp='$CPP $CPPFLAGS'
67587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67594 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67595 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67596 for ac_func in ceilf floorf
67597 do :
67598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67600 eval as_val=\$$as_ac_var
67601 if test "x$as_val" = x""yes; then :
67602 cat >>confdefs.h <<_ACEOF
67603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67604 _ACEOF
67607 done
67609 else
67610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67611 $as_echo_n "checking for _float round functions... " >&6; }
67612 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67613 $as_echo_n "(cached) " >&6
67614 else
67617 ac_ext=cpp
67618 ac_cpp='$CXXCPP $CPPFLAGS'
67619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67624 /* end confdefs.h. */
67625 #include <math.h>
67627 main ()
67629 _ceilf (0); _floorf (0);
67631 return 0;
67633 _ACEOF
67634 if ac_fn_cxx_try_compile "$LINENO"; then :
67635 glibcxx_cv_func__float_round_use=yes
67636 else
67637 glibcxx_cv_func__float_round_use=no
67639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67640 ac_ext=c
67641 ac_cpp='$CPP $CPPFLAGS'
67642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67649 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67650 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67651 for ac_func in _ceilf _floorf
67652 do :
67653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67655 eval as_val=\$$as_ac_var
67656 if test "x$as_val" = x""yes; then :
67657 cat >>confdefs.h <<_ACEOF
67658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67659 _ACEOF
67662 done
67672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67673 $as_echo_n "checking for expf declaration... " >&6; }
67674 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67675 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67676 $as_echo_n "(cached) " >&6
67677 else
67680 ac_ext=cpp
67681 ac_cpp='$CXXCPP $CPPFLAGS'
67682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67687 /* end confdefs.h. */
67688 #include <math.h>
67689 #ifdef HAVE_IEEEFP_H
67690 #include <ieeefp.h>
67691 #endif
67694 main ()
67696 expf(0);
67698 return 0;
67700 _ACEOF
67701 if ac_fn_cxx_try_compile "$LINENO"; then :
67702 glibcxx_cv_func_expf_use=yes
67703 else
67704 glibcxx_cv_func_expf_use=no
67706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67707 ac_ext=c
67708 ac_cpp='$CPP $CPPFLAGS'
67709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67718 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67720 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67721 for ac_func in expf
67722 do :
67723 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67724 if test "x$ac_cv_func_expf" = x""yes; then :
67725 cat >>confdefs.h <<_ACEOF
67726 #define HAVE_EXPF 1
67727 _ACEOF
67730 done
67732 else
67734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67735 $as_echo_n "checking for _expf declaration... " >&6; }
67736 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67737 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67738 $as_echo_n "(cached) " >&6
67739 else
67742 ac_ext=cpp
67743 ac_cpp='$CXXCPP $CPPFLAGS'
67744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67749 /* end confdefs.h. */
67750 #include <math.h>
67751 #ifdef HAVE_IEEEFP_H
67752 #include <ieeefp.h>
67753 #endif
67756 main ()
67758 _expf(0);
67760 return 0;
67762 _ACEOF
67763 if ac_fn_cxx_try_compile "$LINENO"; then :
67764 glibcxx_cv_func__expf_use=yes
67765 else
67766 glibcxx_cv_func__expf_use=no
67768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67769 ac_ext=c
67770 ac_cpp='$CPP $CPPFLAGS'
67771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67780 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67782 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67783 for ac_func in _expf
67784 do :
67785 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67786 if test "x$ac_cv_func__expf" = x""yes; then :
67787 cat >>confdefs.h <<_ACEOF
67788 #define HAVE__EXPF 1
67789 _ACEOF
67792 done
67801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67802 $as_echo_n "checking for isnanf declaration... " >&6; }
67803 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67804 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67805 $as_echo_n "(cached) " >&6
67806 else
67809 ac_ext=cpp
67810 ac_cpp='$CXXCPP $CPPFLAGS'
67811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67816 /* end confdefs.h. */
67817 #include <math.h>
67818 #ifdef HAVE_IEEEFP_H
67819 #include <ieeefp.h>
67820 #endif
67823 main ()
67825 isnanf(0);
67827 return 0;
67829 _ACEOF
67830 if ac_fn_cxx_try_compile "$LINENO"; then :
67831 glibcxx_cv_func_isnanf_use=yes
67832 else
67833 glibcxx_cv_func_isnanf_use=no
67835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67836 ac_ext=c
67837 ac_cpp='$CPP $CPPFLAGS'
67838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67847 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67849 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67850 for ac_func in isnanf
67851 do :
67852 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67853 if test "x$ac_cv_func_isnanf" = x""yes; then :
67854 cat >>confdefs.h <<_ACEOF
67855 #define HAVE_ISNANF 1
67856 _ACEOF
67859 done
67861 else
67863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67864 $as_echo_n "checking for _isnanf declaration... " >&6; }
67865 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67866 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67867 $as_echo_n "(cached) " >&6
67868 else
67871 ac_ext=cpp
67872 ac_cpp='$CXXCPP $CPPFLAGS'
67873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67878 /* end confdefs.h. */
67879 #include <math.h>
67880 #ifdef HAVE_IEEEFP_H
67881 #include <ieeefp.h>
67882 #endif
67885 main ()
67887 _isnanf(0);
67889 return 0;
67891 _ACEOF
67892 if ac_fn_cxx_try_compile "$LINENO"; then :
67893 glibcxx_cv_func__isnanf_use=yes
67894 else
67895 glibcxx_cv_func__isnanf_use=no
67897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67898 ac_ext=c
67899 ac_cpp='$CPP $CPPFLAGS'
67900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67909 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67911 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67912 for ac_func in _isnanf
67913 do :
67914 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67915 if test "x$ac_cv_func__isnanf" = x""yes; then :
67916 cat >>confdefs.h <<_ACEOF
67917 #define HAVE__ISNANF 1
67918 _ACEOF
67921 done
67930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67931 $as_echo_n "checking for isinff declaration... " >&6; }
67932 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67933 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67934 $as_echo_n "(cached) " >&6
67935 else
67938 ac_ext=cpp
67939 ac_cpp='$CXXCPP $CPPFLAGS'
67940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67945 /* end confdefs.h. */
67946 #include <math.h>
67947 #ifdef HAVE_IEEEFP_H
67948 #include <ieeefp.h>
67949 #endif
67952 main ()
67954 isinff(0);
67956 return 0;
67958 _ACEOF
67959 if ac_fn_cxx_try_compile "$LINENO"; then :
67960 glibcxx_cv_func_isinff_use=yes
67961 else
67962 glibcxx_cv_func_isinff_use=no
67964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67965 ac_ext=c
67966 ac_cpp='$CPP $CPPFLAGS'
67967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67976 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67978 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67979 for ac_func in isinff
67980 do :
67981 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67982 if test "x$ac_cv_func_isinff" = x""yes; then :
67983 cat >>confdefs.h <<_ACEOF
67984 #define HAVE_ISINFF 1
67985 _ACEOF
67988 done
67990 else
67992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67993 $as_echo_n "checking for _isinff declaration... " >&6; }
67994 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67995 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67996 $as_echo_n "(cached) " >&6
67997 else
68000 ac_ext=cpp
68001 ac_cpp='$CXXCPP $CPPFLAGS'
68002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68007 /* end confdefs.h. */
68008 #include <math.h>
68009 #ifdef HAVE_IEEEFP_H
68010 #include <ieeefp.h>
68011 #endif
68014 main ()
68016 _isinff(0);
68018 return 0;
68020 _ACEOF
68021 if ac_fn_cxx_try_compile "$LINENO"; then :
68022 glibcxx_cv_func__isinff_use=yes
68023 else
68024 glibcxx_cv_func__isinff_use=no
68026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68027 ac_ext=c
68028 ac_cpp='$CPP $CPPFLAGS'
68029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68038 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68040 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68041 for ac_func in _isinff
68042 do :
68043 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68044 if test "x$ac_cv_func__isinff" = x""yes; then :
68045 cat >>confdefs.h <<_ACEOF
68046 #define HAVE__ISINFF 1
68047 _ACEOF
68050 done
68059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68060 $as_echo_n "checking for atan2f declaration... " >&6; }
68061 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68062 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68063 $as_echo_n "(cached) " >&6
68064 else
68067 ac_ext=cpp
68068 ac_cpp='$CXXCPP $CPPFLAGS'
68069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68074 /* end confdefs.h. */
68075 #include <math.h>
68077 main ()
68079 atan2f(0, 0);
68081 return 0;
68083 _ACEOF
68084 if ac_fn_cxx_try_compile "$LINENO"; then :
68085 glibcxx_cv_func_atan2f_use=yes
68086 else
68087 glibcxx_cv_func_atan2f_use=no
68089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68090 ac_ext=c
68091 ac_cpp='$CPP $CPPFLAGS'
68092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68101 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68103 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68104 for ac_func in atan2f
68105 do :
68106 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68107 if test "x$ac_cv_func_atan2f" = x""yes; then :
68108 cat >>confdefs.h <<_ACEOF
68109 #define HAVE_ATAN2F 1
68110 _ACEOF
68113 done
68115 else
68117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68118 $as_echo_n "checking for _atan2f declaration... " >&6; }
68119 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68120 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68121 $as_echo_n "(cached) " >&6
68122 else
68125 ac_ext=cpp
68126 ac_cpp='$CXXCPP $CPPFLAGS'
68127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68132 /* end confdefs.h. */
68133 #include <math.h>
68135 main ()
68137 _atan2f(0, 0);
68139 return 0;
68141 _ACEOF
68142 if ac_fn_cxx_try_compile "$LINENO"; then :
68143 glibcxx_cv_func__atan2f_use=yes
68144 else
68145 glibcxx_cv_func__atan2f_use=no
68147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68148 ac_ext=c
68149 ac_cpp='$CPP $CPPFLAGS'
68150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68159 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68161 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68162 for ac_func in _atan2f
68163 do :
68164 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68165 if test "x$ac_cv_func__atan2f" = x""yes; then :
68166 cat >>confdefs.h <<_ACEOF
68167 #define HAVE__ATAN2F 1
68168 _ACEOF
68171 done
68180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68181 $as_echo_n "checking for fabsf declaration... " >&6; }
68182 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68183 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68184 $as_echo_n "(cached) " >&6
68185 else
68188 ac_ext=cpp
68189 ac_cpp='$CXXCPP $CPPFLAGS'
68190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68195 /* end confdefs.h. */
68196 #include <math.h>
68197 #ifdef HAVE_IEEEFP_H
68198 #include <ieeefp.h>
68199 #endif
68202 main ()
68204 fabsf(0);
68206 return 0;
68208 _ACEOF
68209 if ac_fn_cxx_try_compile "$LINENO"; then :
68210 glibcxx_cv_func_fabsf_use=yes
68211 else
68212 glibcxx_cv_func_fabsf_use=no
68214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68215 ac_ext=c
68216 ac_cpp='$CPP $CPPFLAGS'
68217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68226 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68228 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68229 for ac_func in fabsf
68230 do :
68231 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68232 if test "x$ac_cv_func_fabsf" = x""yes; then :
68233 cat >>confdefs.h <<_ACEOF
68234 #define HAVE_FABSF 1
68235 _ACEOF
68238 done
68240 else
68242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68243 $as_echo_n "checking for _fabsf declaration... " >&6; }
68244 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68245 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68246 $as_echo_n "(cached) " >&6
68247 else
68250 ac_ext=cpp
68251 ac_cpp='$CXXCPP $CPPFLAGS'
68252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68257 /* end confdefs.h. */
68258 #include <math.h>
68259 #ifdef HAVE_IEEEFP_H
68260 #include <ieeefp.h>
68261 #endif
68264 main ()
68266 _fabsf(0);
68268 return 0;
68270 _ACEOF
68271 if ac_fn_cxx_try_compile "$LINENO"; then :
68272 glibcxx_cv_func__fabsf_use=yes
68273 else
68274 glibcxx_cv_func__fabsf_use=no
68276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68277 ac_ext=c
68278 ac_cpp='$CPP $CPPFLAGS'
68279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68288 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68290 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68291 for ac_func in _fabsf
68292 do :
68293 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68294 if test "x$ac_cv_func__fabsf" = x""yes; then :
68295 cat >>confdefs.h <<_ACEOF
68296 #define HAVE__FABSF 1
68297 _ACEOF
68300 done
68309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68310 $as_echo_n "checking for fmodf declaration... " >&6; }
68311 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68312 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68313 $as_echo_n "(cached) " >&6
68314 else
68317 ac_ext=cpp
68318 ac_cpp='$CXXCPP $CPPFLAGS'
68319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68324 /* end confdefs.h. */
68325 #include <math.h>
68327 main ()
68329 fmodf(0, 0);
68331 return 0;
68333 _ACEOF
68334 if ac_fn_cxx_try_compile "$LINENO"; then :
68335 glibcxx_cv_func_fmodf_use=yes
68336 else
68337 glibcxx_cv_func_fmodf_use=no
68339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68340 ac_ext=c
68341 ac_cpp='$CPP $CPPFLAGS'
68342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68351 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68353 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68354 for ac_func in fmodf
68355 do :
68356 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68357 if test "x$ac_cv_func_fmodf" = x""yes; then :
68358 cat >>confdefs.h <<_ACEOF
68359 #define HAVE_FMODF 1
68360 _ACEOF
68363 done
68365 else
68367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68368 $as_echo_n "checking for _fmodf declaration... " >&6; }
68369 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68370 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68371 $as_echo_n "(cached) " >&6
68372 else
68375 ac_ext=cpp
68376 ac_cpp='$CXXCPP $CPPFLAGS'
68377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68382 /* end confdefs.h. */
68383 #include <math.h>
68385 main ()
68387 _fmodf(0, 0);
68389 return 0;
68391 _ACEOF
68392 if ac_fn_cxx_try_compile "$LINENO"; then :
68393 glibcxx_cv_func__fmodf_use=yes
68394 else
68395 glibcxx_cv_func__fmodf_use=no
68397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68398 ac_ext=c
68399 ac_cpp='$CPP $CPPFLAGS'
68400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68409 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68411 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68412 for ac_func in _fmodf
68413 do :
68414 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68415 if test "x$ac_cv_func__fmodf" = x""yes; then :
68416 cat >>confdefs.h <<_ACEOF
68417 #define HAVE__FMODF 1
68418 _ACEOF
68421 done
68430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68431 $as_echo_n "checking for frexpf declaration... " >&6; }
68432 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68433 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68434 $as_echo_n "(cached) " >&6
68435 else
68438 ac_ext=cpp
68439 ac_cpp='$CXXCPP $CPPFLAGS'
68440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68445 /* end confdefs.h. */
68446 #include <math.h>
68448 main ()
68450 frexpf(0, 0);
68452 return 0;
68454 _ACEOF
68455 if ac_fn_cxx_try_compile "$LINENO"; then :
68456 glibcxx_cv_func_frexpf_use=yes
68457 else
68458 glibcxx_cv_func_frexpf_use=no
68460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68461 ac_ext=c
68462 ac_cpp='$CPP $CPPFLAGS'
68463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68472 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68474 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68475 for ac_func in frexpf
68476 do :
68477 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68478 if test "x$ac_cv_func_frexpf" = x""yes; then :
68479 cat >>confdefs.h <<_ACEOF
68480 #define HAVE_FREXPF 1
68481 _ACEOF
68484 done
68486 else
68488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68489 $as_echo_n "checking for _frexpf declaration... " >&6; }
68490 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68491 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68492 $as_echo_n "(cached) " >&6
68493 else
68496 ac_ext=cpp
68497 ac_cpp='$CXXCPP $CPPFLAGS'
68498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68503 /* end confdefs.h. */
68504 #include <math.h>
68506 main ()
68508 _frexpf(0, 0);
68510 return 0;
68512 _ACEOF
68513 if ac_fn_cxx_try_compile "$LINENO"; then :
68514 glibcxx_cv_func__frexpf_use=yes
68515 else
68516 glibcxx_cv_func__frexpf_use=no
68518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68519 ac_ext=c
68520 ac_cpp='$CPP $CPPFLAGS'
68521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68530 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68532 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68533 for ac_func in _frexpf
68534 do :
68535 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68536 if test "x$ac_cv_func__frexpf" = x""yes; then :
68537 cat >>confdefs.h <<_ACEOF
68538 #define HAVE__FREXPF 1
68539 _ACEOF
68542 done
68551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68552 $as_echo_n "checking for hypotf declaration... " >&6; }
68553 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68554 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68555 $as_echo_n "(cached) " >&6
68556 else
68559 ac_ext=cpp
68560 ac_cpp='$CXXCPP $CPPFLAGS'
68561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68566 /* end confdefs.h. */
68567 #include <math.h>
68569 main ()
68571 hypotf(0, 0);
68573 return 0;
68575 _ACEOF
68576 if ac_fn_cxx_try_compile "$LINENO"; then :
68577 glibcxx_cv_func_hypotf_use=yes
68578 else
68579 glibcxx_cv_func_hypotf_use=no
68581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68582 ac_ext=c
68583 ac_cpp='$CPP $CPPFLAGS'
68584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68593 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68595 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68596 for ac_func in hypotf
68597 do :
68598 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68599 if test "x$ac_cv_func_hypotf" = x""yes; then :
68600 cat >>confdefs.h <<_ACEOF
68601 #define HAVE_HYPOTF 1
68602 _ACEOF
68605 done
68607 else
68609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68610 $as_echo_n "checking for _hypotf declaration... " >&6; }
68611 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68612 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68613 $as_echo_n "(cached) " >&6
68614 else
68617 ac_ext=cpp
68618 ac_cpp='$CXXCPP $CPPFLAGS'
68619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68624 /* end confdefs.h. */
68625 #include <math.h>
68627 main ()
68629 _hypotf(0, 0);
68631 return 0;
68633 _ACEOF
68634 if ac_fn_cxx_try_compile "$LINENO"; then :
68635 glibcxx_cv_func__hypotf_use=yes
68636 else
68637 glibcxx_cv_func__hypotf_use=no
68639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68640 ac_ext=c
68641 ac_cpp='$CPP $CPPFLAGS'
68642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68651 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68653 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68654 for ac_func in _hypotf
68655 do :
68656 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68657 if test "x$ac_cv_func__hypotf" = x""yes; then :
68658 cat >>confdefs.h <<_ACEOF
68659 #define HAVE__HYPOTF 1
68660 _ACEOF
68663 done
68672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68673 $as_echo_n "checking for ldexpf declaration... " >&6; }
68674 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68675 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68676 $as_echo_n "(cached) " >&6
68677 else
68680 ac_ext=cpp
68681 ac_cpp='$CXXCPP $CPPFLAGS'
68682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68687 /* end confdefs.h. */
68688 #include <math.h>
68690 main ()
68692 ldexpf(0, 0);
68694 return 0;
68696 _ACEOF
68697 if ac_fn_cxx_try_compile "$LINENO"; then :
68698 glibcxx_cv_func_ldexpf_use=yes
68699 else
68700 glibcxx_cv_func_ldexpf_use=no
68702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68703 ac_ext=c
68704 ac_cpp='$CPP $CPPFLAGS'
68705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68714 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68716 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68717 for ac_func in ldexpf
68718 do :
68719 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68720 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68721 cat >>confdefs.h <<_ACEOF
68722 #define HAVE_LDEXPF 1
68723 _ACEOF
68726 done
68728 else
68730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68731 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68732 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68733 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68734 $as_echo_n "(cached) " >&6
68735 else
68738 ac_ext=cpp
68739 ac_cpp='$CXXCPP $CPPFLAGS'
68740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68745 /* end confdefs.h. */
68746 #include <math.h>
68748 main ()
68750 _ldexpf(0, 0);
68752 return 0;
68754 _ACEOF
68755 if ac_fn_cxx_try_compile "$LINENO"; then :
68756 glibcxx_cv_func__ldexpf_use=yes
68757 else
68758 glibcxx_cv_func__ldexpf_use=no
68760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68761 ac_ext=c
68762 ac_cpp='$CPP $CPPFLAGS'
68763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68772 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68774 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68775 for ac_func in _ldexpf
68776 do :
68777 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68778 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68779 cat >>confdefs.h <<_ACEOF
68780 #define HAVE__LDEXPF 1
68781 _ACEOF
68784 done
68793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68794 $as_echo_n "checking for logf declaration... " >&6; }
68795 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68796 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68797 $as_echo_n "(cached) " >&6
68798 else
68801 ac_ext=cpp
68802 ac_cpp='$CXXCPP $CPPFLAGS'
68803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68808 /* end confdefs.h. */
68809 #include <math.h>
68810 #ifdef HAVE_IEEEFP_H
68811 #include <ieeefp.h>
68812 #endif
68815 main ()
68817 logf(0);
68819 return 0;
68821 _ACEOF
68822 if ac_fn_cxx_try_compile "$LINENO"; then :
68823 glibcxx_cv_func_logf_use=yes
68824 else
68825 glibcxx_cv_func_logf_use=no
68827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68828 ac_ext=c
68829 ac_cpp='$CPP $CPPFLAGS'
68830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68839 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68841 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68842 for ac_func in logf
68843 do :
68844 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68845 if test "x$ac_cv_func_logf" = x""yes; then :
68846 cat >>confdefs.h <<_ACEOF
68847 #define HAVE_LOGF 1
68848 _ACEOF
68851 done
68853 else
68855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68856 $as_echo_n "checking for _logf declaration... " >&6; }
68857 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68858 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68859 $as_echo_n "(cached) " >&6
68860 else
68863 ac_ext=cpp
68864 ac_cpp='$CXXCPP $CPPFLAGS'
68865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68870 /* end confdefs.h. */
68871 #include <math.h>
68872 #ifdef HAVE_IEEEFP_H
68873 #include <ieeefp.h>
68874 #endif
68877 main ()
68879 _logf(0);
68881 return 0;
68883 _ACEOF
68884 if ac_fn_cxx_try_compile "$LINENO"; then :
68885 glibcxx_cv_func__logf_use=yes
68886 else
68887 glibcxx_cv_func__logf_use=no
68889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68890 ac_ext=c
68891 ac_cpp='$CPP $CPPFLAGS'
68892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68901 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68903 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68904 for ac_func in _logf
68905 do :
68906 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68907 if test "x$ac_cv_func__logf" = x""yes; then :
68908 cat >>confdefs.h <<_ACEOF
68909 #define HAVE__LOGF 1
68910 _ACEOF
68913 done
68922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68923 $as_echo_n "checking for log10f declaration... " >&6; }
68924 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68925 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68926 $as_echo_n "(cached) " >&6
68927 else
68930 ac_ext=cpp
68931 ac_cpp='$CXXCPP $CPPFLAGS'
68932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68937 /* end confdefs.h. */
68938 #include <math.h>
68939 #ifdef HAVE_IEEEFP_H
68940 #include <ieeefp.h>
68941 #endif
68944 main ()
68946 log10f(0);
68948 return 0;
68950 _ACEOF
68951 if ac_fn_cxx_try_compile "$LINENO"; then :
68952 glibcxx_cv_func_log10f_use=yes
68953 else
68954 glibcxx_cv_func_log10f_use=no
68956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68957 ac_ext=c
68958 ac_cpp='$CPP $CPPFLAGS'
68959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68968 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68970 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68971 for ac_func in log10f
68972 do :
68973 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68974 if test "x$ac_cv_func_log10f" = x""yes; then :
68975 cat >>confdefs.h <<_ACEOF
68976 #define HAVE_LOG10F 1
68977 _ACEOF
68980 done
68982 else
68984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68985 $as_echo_n "checking for _log10f declaration... " >&6; }
68986 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68987 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68988 $as_echo_n "(cached) " >&6
68989 else
68992 ac_ext=cpp
68993 ac_cpp='$CXXCPP $CPPFLAGS'
68994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68999 /* end confdefs.h. */
69000 #include <math.h>
69001 #ifdef HAVE_IEEEFP_H
69002 #include <ieeefp.h>
69003 #endif
69006 main ()
69008 _log10f(0);
69010 return 0;
69012 _ACEOF
69013 if ac_fn_cxx_try_compile "$LINENO"; then :
69014 glibcxx_cv_func__log10f_use=yes
69015 else
69016 glibcxx_cv_func__log10f_use=no
69018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69019 ac_ext=c
69020 ac_cpp='$CPP $CPPFLAGS'
69021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69030 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69032 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69033 for ac_func in _log10f
69034 do :
69035 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69036 if test "x$ac_cv_func__log10f" = x""yes; then :
69037 cat >>confdefs.h <<_ACEOF
69038 #define HAVE__LOG10F 1
69039 _ACEOF
69042 done
69051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69052 $as_echo_n "checking for modff declaration... " >&6; }
69053 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69054 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69055 $as_echo_n "(cached) " >&6
69056 else
69059 ac_ext=cpp
69060 ac_cpp='$CXXCPP $CPPFLAGS'
69061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69066 /* end confdefs.h. */
69067 #include <math.h>
69069 main ()
69071 modff(0, 0);
69073 return 0;
69075 _ACEOF
69076 if ac_fn_cxx_try_compile "$LINENO"; then :
69077 glibcxx_cv_func_modff_use=yes
69078 else
69079 glibcxx_cv_func_modff_use=no
69081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69082 ac_ext=c
69083 ac_cpp='$CPP $CPPFLAGS'
69084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69093 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69095 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69096 for ac_func in modff
69097 do :
69098 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69099 if test "x$ac_cv_func_modff" = x""yes; then :
69100 cat >>confdefs.h <<_ACEOF
69101 #define HAVE_MODFF 1
69102 _ACEOF
69105 done
69107 else
69109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69110 $as_echo_n "checking for _modff declaration... " >&6; }
69111 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69112 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69113 $as_echo_n "(cached) " >&6
69114 else
69117 ac_ext=cpp
69118 ac_cpp='$CXXCPP $CPPFLAGS'
69119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69124 /* end confdefs.h. */
69125 #include <math.h>
69127 main ()
69129 _modff(0, 0);
69131 return 0;
69133 _ACEOF
69134 if ac_fn_cxx_try_compile "$LINENO"; then :
69135 glibcxx_cv_func__modff_use=yes
69136 else
69137 glibcxx_cv_func__modff_use=no
69139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69140 ac_ext=c
69141 ac_cpp='$CPP $CPPFLAGS'
69142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69151 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69153 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69154 for ac_func in _modff
69155 do :
69156 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69157 if test "x$ac_cv_func__modff" = x""yes; then :
69158 cat >>confdefs.h <<_ACEOF
69159 #define HAVE__MODFF 1
69160 _ACEOF
69163 done
69172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69173 $as_echo_n "checking for modf declaration... " >&6; }
69174 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69175 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69176 $as_echo_n "(cached) " >&6
69177 else
69180 ac_ext=cpp
69181 ac_cpp='$CXXCPP $CPPFLAGS'
69182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69187 /* end confdefs.h. */
69188 #include <math.h>
69190 main ()
69192 modf(0, 0);
69194 return 0;
69196 _ACEOF
69197 if ac_fn_cxx_try_compile "$LINENO"; then :
69198 glibcxx_cv_func_modf_use=yes
69199 else
69200 glibcxx_cv_func_modf_use=no
69202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69203 ac_ext=c
69204 ac_cpp='$CPP $CPPFLAGS'
69205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69214 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69216 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69217 for ac_func in modf
69218 do :
69219 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69220 if test "x$ac_cv_func_modf" = x""yes; then :
69221 cat >>confdefs.h <<_ACEOF
69222 #define HAVE_MODF 1
69223 _ACEOF
69226 done
69228 else
69230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69231 $as_echo_n "checking for _modf declaration... " >&6; }
69232 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69233 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69234 $as_echo_n "(cached) " >&6
69235 else
69238 ac_ext=cpp
69239 ac_cpp='$CXXCPP $CPPFLAGS'
69240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69245 /* end confdefs.h. */
69246 #include <math.h>
69248 main ()
69250 _modf(0, 0);
69252 return 0;
69254 _ACEOF
69255 if ac_fn_cxx_try_compile "$LINENO"; then :
69256 glibcxx_cv_func__modf_use=yes
69257 else
69258 glibcxx_cv_func__modf_use=no
69260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69261 ac_ext=c
69262 ac_cpp='$CPP $CPPFLAGS'
69263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69272 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69274 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69275 for ac_func in _modf
69276 do :
69277 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69278 if test "x$ac_cv_func__modf" = x""yes; then :
69279 cat >>confdefs.h <<_ACEOF
69280 #define HAVE__MODF 1
69281 _ACEOF
69284 done
69293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69294 $as_echo_n "checking for powf declaration... " >&6; }
69295 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69296 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69297 $as_echo_n "(cached) " >&6
69298 else
69301 ac_ext=cpp
69302 ac_cpp='$CXXCPP $CPPFLAGS'
69303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69308 /* end confdefs.h. */
69309 #include <math.h>
69311 main ()
69313 powf(0, 0);
69315 return 0;
69317 _ACEOF
69318 if ac_fn_cxx_try_compile "$LINENO"; then :
69319 glibcxx_cv_func_powf_use=yes
69320 else
69321 glibcxx_cv_func_powf_use=no
69323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69324 ac_ext=c
69325 ac_cpp='$CPP $CPPFLAGS'
69326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69335 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69337 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69338 for ac_func in powf
69339 do :
69340 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69341 if test "x$ac_cv_func_powf" = x""yes; then :
69342 cat >>confdefs.h <<_ACEOF
69343 #define HAVE_POWF 1
69344 _ACEOF
69347 done
69349 else
69351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69352 $as_echo_n "checking for _powf declaration... " >&6; }
69353 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69354 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69355 $as_echo_n "(cached) " >&6
69356 else
69359 ac_ext=cpp
69360 ac_cpp='$CXXCPP $CPPFLAGS'
69361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69366 /* end confdefs.h. */
69367 #include <math.h>
69369 main ()
69371 _powf(0, 0);
69373 return 0;
69375 _ACEOF
69376 if ac_fn_cxx_try_compile "$LINENO"; then :
69377 glibcxx_cv_func__powf_use=yes
69378 else
69379 glibcxx_cv_func__powf_use=no
69381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69382 ac_ext=c
69383 ac_cpp='$CPP $CPPFLAGS'
69384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69393 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69395 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69396 for ac_func in _powf
69397 do :
69398 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69399 if test "x$ac_cv_func__powf" = x""yes; then :
69400 cat >>confdefs.h <<_ACEOF
69401 #define HAVE__POWF 1
69402 _ACEOF
69405 done
69414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69415 $as_echo_n "checking for sqrtf declaration... " >&6; }
69416 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69417 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69418 $as_echo_n "(cached) " >&6
69419 else
69422 ac_ext=cpp
69423 ac_cpp='$CXXCPP $CPPFLAGS'
69424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69429 /* end confdefs.h. */
69430 #include <math.h>
69431 #ifdef HAVE_IEEEFP_H
69432 #include <ieeefp.h>
69433 #endif
69436 main ()
69438 sqrtf(0);
69440 return 0;
69442 _ACEOF
69443 if ac_fn_cxx_try_compile "$LINENO"; then :
69444 glibcxx_cv_func_sqrtf_use=yes
69445 else
69446 glibcxx_cv_func_sqrtf_use=no
69448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69449 ac_ext=c
69450 ac_cpp='$CPP $CPPFLAGS'
69451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69460 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69462 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69463 for ac_func in sqrtf
69464 do :
69465 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69466 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69467 cat >>confdefs.h <<_ACEOF
69468 #define HAVE_SQRTF 1
69469 _ACEOF
69472 done
69474 else
69476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69477 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69478 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69479 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69480 $as_echo_n "(cached) " >&6
69481 else
69484 ac_ext=cpp
69485 ac_cpp='$CXXCPP $CPPFLAGS'
69486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69491 /* end confdefs.h. */
69492 #include <math.h>
69493 #ifdef HAVE_IEEEFP_H
69494 #include <ieeefp.h>
69495 #endif
69498 main ()
69500 _sqrtf(0);
69502 return 0;
69504 _ACEOF
69505 if ac_fn_cxx_try_compile "$LINENO"; then :
69506 glibcxx_cv_func__sqrtf_use=yes
69507 else
69508 glibcxx_cv_func__sqrtf_use=no
69510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69511 ac_ext=c
69512 ac_cpp='$CPP $CPPFLAGS'
69513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69522 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69524 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69525 for ac_func in _sqrtf
69526 do :
69527 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69528 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69529 cat >>confdefs.h <<_ACEOF
69530 #define HAVE__SQRTF 1
69531 _ACEOF
69534 done
69543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69544 $as_echo_n "checking for sincosf declaration... " >&6; }
69545 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69546 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69547 $as_echo_n "(cached) " >&6
69548 else
69551 ac_ext=cpp
69552 ac_cpp='$CXXCPP $CPPFLAGS'
69553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69558 /* end confdefs.h. */
69559 #include <math.h>
69561 main ()
69563 sincosf(0, 0, 0);
69565 return 0;
69567 _ACEOF
69568 if ac_fn_cxx_try_compile "$LINENO"; then :
69569 glibcxx_cv_func_sincosf_use=yes
69570 else
69571 glibcxx_cv_func_sincosf_use=no
69573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69574 ac_ext=c
69575 ac_cpp='$CPP $CPPFLAGS'
69576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69585 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69587 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69588 for ac_func in sincosf
69589 do :
69590 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69591 if test "x$ac_cv_func_sincosf" = x""yes; then :
69592 cat >>confdefs.h <<_ACEOF
69593 #define HAVE_SINCOSF 1
69594 _ACEOF
69597 done
69599 else
69601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69602 $as_echo_n "checking for _sincosf declaration... " >&6; }
69603 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69604 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69605 $as_echo_n "(cached) " >&6
69606 else
69609 ac_ext=cpp
69610 ac_cpp='$CXXCPP $CPPFLAGS'
69611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69616 /* end confdefs.h. */
69617 #include <math.h>
69619 main ()
69621 _sincosf(0, 0, 0);
69623 return 0;
69625 _ACEOF
69626 if ac_fn_cxx_try_compile "$LINENO"; then :
69627 glibcxx_cv_func__sincosf_use=yes
69628 else
69629 glibcxx_cv_func__sincosf_use=no
69631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69632 ac_ext=c
69633 ac_cpp='$CPP $CPPFLAGS'
69634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69643 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69645 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69646 for ac_func in _sincosf
69647 do :
69648 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69649 if test "x$ac_cv_func__sincosf" = x""yes; then :
69650 cat >>confdefs.h <<_ACEOF
69651 #define HAVE__SINCOSF 1
69652 _ACEOF
69655 done
69664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69665 $as_echo_n "checking for finitef declaration... " >&6; }
69666 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69667 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69668 $as_echo_n "(cached) " >&6
69669 else
69672 ac_ext=cpp
69673 ac_cpp='$CXXCPP $CPPFLAGS'
69674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69679 /* end confdefs.h. */
69680 #include <math.h>
69681 #ifdef HAVE_IEEEFP_H
69682 #include <ieeefp.h>
69683 #endif
69686 main ()
69688 finitef(0);
69690 return 0;
69692 _ACEOF
69693 if ac_fn_cxx_try_compile "$LINENO"; then :
69694 glibcxx_cv_func_finitef_use=yes
69695 else
69696 glibcxx_cv_func_finitef_use=no
69698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69699 ac_ext=c
69700 ac_cpp='$CPP $CPPFLAGS'
69701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69710 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69712 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69713 for ac_func in finitef
69714 do :
69715 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69716 if test "x$ac_cv_func_finitef" = x""yes; then :
69717 cat >>confdefs.h <<_ACEOF
69718 #define HAVE_FINITEF 1
69719 _ACEOF
69722 done
69724 else
69726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69727 $as_echo_n "checking for _finitef declaration... " >&6; }
69728 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69729 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69730 $as_echo_n "(cached) " >&6
69731 else
69734 ac_ext=cpp
69735 ac_cpp='$CXXCPP $CPPFLAGS'
69736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69741 /* end confdefs.h. */
69742 #include <math.h>
69743 #ifdef HAVE_IEEEFP_H
69744 #include <ieeefp.h>
69745 #endif
69748 main ()
69750 _finitef(0);
69752 return 0;
69754 _ACEOF
69755 if ac_fn_cxx_try_compile "$LINENO"; then :
69756 glibcxx_cv_func__finitef_use=yes
69757 else
69758 glibcxx_cv_func__finitef_use=no
69760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69761 ac_ext=c
69762 ac_cpp='$CPP $CPPFLAGS'
69763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69772 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69774 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69775 for ac_func in _finitef
69776 do :
69777 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69778 if test "x$ac_cv_func__finitef" = x""yes; then :
69779 cat >>confdefs.h <<_ACEOF
69780 #define HAVE__FINITEF 1
69781 _ACEOF
69784 done
69793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69794 $as_echo_n "checking for long double trig functions... " >&6; }
69795 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69796 $as_echo_n "(cached) " >&6
69797 else
69800 ac_ext=cpp
69801 ac_cpp='$CXXCPP $CPPFLAGS'
69802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69807 /* end confdefs.h. */
69808 #include <math.h>
69810 main ()
69812 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69814 return 0;
69816 _ACEOF
69817 if ac_fn_cxx_try_compile "$LINENO"; then :
69818 glibcxx_cv_func_long_double_trig_use=yes
69819 else
69820 glibcxx_cv_func_long_double_trig_use=no
69822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69823 ac_ext=c
69824 ac_cpp='$CPP $CPPFLAGS'
69825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69832 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69833 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69834 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69835 do :
69836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69838 eval as_val=\$$as_ac_var
69839 if test "x$as_val" = x""yes; then :
69840 cat >>confdefs.h <<_ACEOF
69841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69842 _ACEOF
69845 done
69847 else
69848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69849 $as_echo_n "checking for _long double trig functions... " >&6; }
69850 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69851 $as_echo_n "(cached) " >&6
69852 else
69855 ac_ext=cpp
69856 ac_cpp='$CXXCPP $CPPFLAGS'
69857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69862 /* end confdefs.h. */
69863 #include <math.h>
69865 main ()
69867 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69869 return 0;
69871 _ACEOF
69872 if ac_fn_cxx_try_compile "$LINENO"; then :
69873 glibcxx_cv_func__long_double_trig_use=yes
69874 else
69875 glibcxx_cv_func__long_double_trig_use=no
69877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69878 ac_ext=c
69879 ac_cpp='$CPP $CPPFLAGS'
69880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69887 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69888 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69889 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69890 do :
69891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69892 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69893 eval as_val=\$$as_ac_var
69894 if test "x$as_val" = x""yes; then :
69895 cat >>confdefs.h <<_ACEOF
69896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69897 _ACEOF
69900 done
69909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69910 $as_echo_n "checking for long double round functions... " >&6; }
69911 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69912 $as_echo_n "(cached) " >&6
69913 else
69916 ac_ext=cpp
69917 ac_cpp='$CXXCPP $CPPFLAGS'
69918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69923 /* end confdefs.h. */
69924 #include <math.h>
69926 main ()
69928 ceill (0); floorl (0);
69930 return 0;
69932 _ACEOF
69933 if ac_fn_cxx_try_compile "$LINENO"; then :
69934 glibcxx_cv_func_long_double_round_use=yes
69935 else
69936 glibcxx_cv_func_long_double_round_use=no
69938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69939 ac_ext=c
69940 ac_cpp='$CPP $CPPFLAGS'
69941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69948 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69949 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69950 for ac_func in ceill floorl
69951 do :
69952 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69954 eval as_val=\$$as_ac_var
69955 if test "x$as_val" = x""yes; then :
69956 cat >>confdefs.h <<_ACEOF
69957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69958 _ACEOF
69961 done
69963 else
69964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69965 $as_echo_n "checking for _long double round functions... " >&6; }
69966 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69967 $as_echo_n "(cached) " >&6
69968 else
69971 ac_ext=cpp
69972 ac_cpp='$CXXCPP $CPPFLAGS'
69973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69978 /* end confdefs.h. */
69979 #include <math.h>
69981 main ()
69983 _ceill (0); _floorl (0);
69985 return 0;
69987 _ACEOF
69988 if ac_fn_cxx_try_compile "$LINENO"; then :
69989 glibcxx_cv_func__long_double_round_use=yes
69990 else
69991 glibcxx_cv_func__long_double_round_use=no
69993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69994 ac_ext=c
69995 ac_cpp='$CPP $CPPFLAGS'
69996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70003 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70004 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70005 for ac_func in _ceill _floorl
70006 do :
70007 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70009 eval as_val=\$$as_ac_var
70010 if test "x$as_val" = x""yes; then :
70011 cat >>confdefs.h <<_ACEOF
70012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70013 _ACEOF
70016 done
70026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70027 $as_echo_n "checking for isnanl declaration... " >&6; }
70028 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70029 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70030 $as_echo_n "(cached) " >&6
70031 else
70034 ac_ext=cpp
70035 ac_cpp='$CXXCPP $CPPFLAGS'
70036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70041 /* end confdefs.h. */
70042 #include <math.h>
70043 #ifdef HAVE_IEEEFP_H
70044 #include <ieeefp.h>
70045 #endif
70048 main ()
70050 isnanl(0);
70052 return 0;
70054 _ACEOF
70055 if ac_fn_cxx_try_compile "$LINENO"; then :
70056 glibcxx_cv_func_isnanl_use=yes
70057 else
70058 glibcxx_cv_func_isnanl_use=no
70060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70061 ac_ext=c
70062 ac_cpp='$CPP $CPPFLAGS'
70063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70072 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70074 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70075 for ac_func in isnanl
70076 do :
70077 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70078 if test "x$ac_cv_func_isnanl" = x""yes; then :
70079 cat >>confdefs.h <<_ACEOF
70080 #define HAVE_ISNANL 1
70081 _ACEOF
70084 done
70086 else
70088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70089 $as_echo_n "checking for _isnanl declaration... " >&6; }
70090 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70091 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70092 $as_echo_n "(cached) " >&6
70093 else
70096 ac_ext=cpp
70097 ac_cpp='$CXXCPP $CPPFLAGS'
70098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70103 /* end confdefs.h. */
70104 #include <math.h>
70105 #ifdef HAVE_IEEEFP_H
70106 #include <ieeefp.h>
70107 #endif
70110 main ()
70112 _isnanl(0);
70114 return 0;
70116 _ACEOF
70117 if ac_fn_cxx_try_compile "$LINENO"; then :
70118 glibcxx_cv_func__isnanl_use=yes
70119 else
70120 glibcxx_cv_func__isnanl_use=no
70122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70123 ac_ext=c
70124 ac_cpp='$CPP $CPPFLAGS'
70125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70134 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70136 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70137 for ac_func in _isnanl
70138 do :
70139 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70140 if test "x$ac_cv_func__isnanl" = x""yes; then :
70141 cat >>confdefs.h <<_ACEOF
70142 #define HAVE__ISNANL 1
70143 _ACEOF
70146 done
70155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70156 $as_echo_n "checking for isinfl declaration... " >&6; }
70157 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70158 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70159 $as_echo_n "(cached) " >&6
70160 else
70163 ac_ext=cpp
70164 ac_cpp='$CXXCPP $CPPFLAGS'
70165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70170 /* end confdefs.h. */
70171 #include <math.h>
70172 #ifdef HAVE_IEEEFP_H
70173 #include <ieeefp.h>
70174 #endif
70177 main ()
70179 isinfl(0);
70181 return 0;
70183 _ACEOF
70184 if ac_fn_cxx_try_compile "$LINENO"; then :
70185 glibcxx_cv_func_isinfl_use=yes
70186 else
70187 glibcxx_cv_func_isinfl_use=no
70189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70190 ac_ext=c
70191 ac_cpp='$CPP $CPPFLAGS'
70192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70201 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70203 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70204 for ac_func in isinfl
70205 do :
70206 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70207 if test "x$ac_cv_func_isinfl" = x""yes; then :
70208 cat >>confdefs.h <<_ACEOF
70209 #define HAVE_ISINFL 1
70210 _ACEOF
70213 done
70215 else
70217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70218 $as_echo_n "checking for _isinfl declaration... " >&6; }
70219 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70220 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70221 $as_echo_n "(cached) " >&6
70222 else
70225 ac_ext=cpp
70226 ac_cpp='$CXXCPP $CPPFLAGS'
70227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70232 /* end confdefs.h. */
70233 #include <math.h>
70234 #ifdef HAVE_IEEEFP_H
70235 #include <ieeefp.h>
70236 #endif
70239 main ()
70241 _isinfl(0);
70243 return 0;
70245 _ACEOF
70246 if ac_fn_cxx_try_compile "$LINENO"; then :
70247 glibcxx_cv_func__isinfl_use=yes
70248 else
70249 glibcxx_cv_func__isinfl_use=no
70251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70252 ac_ext=c
70253 ac_cpp='$CPP $CPPFLAGS'
70254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70263 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70265 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70266 for ac_func in _isinfl
70267 do :
70268 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70269 if test "x$ac_cv_func__isinfl" = x""yes; then :
70270 cat >>confdefs.h <<_ACEOF
70271 #define HAVE__ISINFL 1
70272 _ACEOF
70275 done
70284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70285 $as_echo_n "checking for atan2l declaration... " >&6; }
70286 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70287 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70288 $as_echo_n "(cached) " >&6
70289 else
70292 ac_ext=cpp
70293 ac_cpp='$CXXCPP $CPPFLAGS'
70294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70299 /* end confdefs.h. */
70300 #include <math.h>
70302 main ()
70304 atan2l(0, 0);
70306 return 0;
70308 _ACEOF
70309 if ac_fn_cxx_try_compile "$LINENO"; then :
70310 glibcxx_cv_func_atan2l_use=yes
70311 else
70312 glibcxx_cv_func_atan2l_use=no
70314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70315 ac_ext=c
70316 ac_cpp='$CPP $CPPFLAGS'
70317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70326 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70328 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70329 for ac_func in atan2l
70330 do :
70331 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70332 if test "x$ac_cv_func_atan2l" = x""yes; then :
70333 cat >>confdefs.h <<_ACEOF
70334 #define HAVE_ATAN2L 1
70335 _ACEOF
70338 done
70340 else
70342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70343 $as_echo_n "checking for _atan2l declaration... " >&6; }
70344 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70345 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70346 $as_echo_n "(cached) " >&6
70347 else
70350 ac_ext=cpp
70351 ac_cpp='$CXXCPP $CPPFLAGS'
70352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70357 /* end confdefs.h. */
70358 #include <math.h>
70360 main ()
70362 _atan2l(0, 0);
70364 return 0;
70366 _ACEOF
70367 if ac_fn_cxx_try_compile "$LINENO"; then :
70368 glibcxx_cv_func__atan2l_use=yes
70369 else
70370 glibcxx_cv_func__atan2l_use=no
70372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70373 ac_ext=c
70374 ac_cpp='$CPP $CPPFLAGS'
70375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70384 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70386 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70387 for ac_func in _atan2l
70388 do :
70389 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70390 if test "x$ac_cv_func__atan2l" = x""yes; then :
70391 cat >>confdefs.h <<_ACEOF
70392 #define HAVE__ATAN2L 1
70393 _ACEOF
70396 done
70405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70406 $as_echo_n "checking for expl declaration... " >&6; }
70407 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70408 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70409 $as_echo_n "(cached) " >&6
70410 else
70413 ac_ext=cpp
70414 ac_cpp='$CXXCPP $CPPFLAGS'
70415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70420 /* end confdefs.h. */
70421 #include <math.h>
70422 #ifdef HAVE_IEEEFP_H
70423 #include <ieeefp.h>
70424 #endif
70427 main ()
70429 expl(0);
70431 return 0;
70433 _ACEOF
70434 if ac_fn_cxx_try_compile "$LINENO"; then :
70435 glibcxx_cv_func_expl_use=yes
70436 else
70437 glibcxx_cv_func_expl_use=no
70439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70440 ac_ext=c
70441 ac_cpp='$CPP $CPPFLAGS'
70442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70451 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70453 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70454 for ac_func in expl
70455 do :
70456 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70457 if test "x$ac_cv_func_expl" = x""yes; then :
70458 cat >>confdefs.h <<_ACEOF
70459 #define HAVE_EXPL 1
70460 _ACEOF
70463 done
70465 else
70467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70468 $as_echo_n "checking for _expl declaration... " >&6; }
70469 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70470 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70471 $as_echo_n "(cached) " >&6
70472 else
70475 ac_ext=cpp
70476 ac_cpp='$CXXCPP $CPPFLAGS'
70477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70482 /* end confdefs.h. */
70483 #include <math.h>
70484 #ifdef HAVE_IEEEFP_H
70485 #include <ieeefp.h>
70486 #endif
70489 main ()
70491 _expl(0);
70493 return 0;
70495 _ACEOF
70496 if ac_fn_cxx_try_compile "$LINENO"; then :
70497 glibcxx_cv_func__expl_use=yes
70498 else
70499 glibcxx_cv_func__expl_use=no
70501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70502 ac_ext=c
70503 ac_cpp='$CPP $CPPFLAGS'
70504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70513 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70515 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70516 for ac_func in _expl
70517 do :
70518 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70519 if test "x$ac_cv_func__expl" = x""yes; then :
70520 cat >>confdefs.h <<_ACEOF
70521 #define HAVE__EXPL 1
70522 _ACEOF
70525 done
70534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70535 $as_echo_n "checking for fabsl declaration... " >&6; }
70536 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70537 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70538 $as_echo_n "(cached) " >&6
70539 else
70542 ac_ext=cpp
70543 ac_cpp='$CXXCPP $CPPFLAGS'
70544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70549 /* end confdefs.h. */
70550 #include <math.h>
70551 #ifdef HAVE_IEEEFP_H
70552 #include <ieeefp.h>
70553 #endif
70556 main ()
70558 fabsl(0);
70560 return 0;
70562 _ACEOF
70563 if ac_fn_cxx_try_compile "$LINENO"; then :
70564 glibcxx_cv_func_fabsl_use=yes
70565 else
70566 glibcxx_cv_func_fabsl_use=no
70568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70569 ac_ext=c
70570 ac_cpp='$CPP $CPPFLAGS'
70571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70580 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70582 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70583 for ac_func in fabsl
70584 do :
70585 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70586 if test "x$ac_cv_func_fabsl" = x""yes; then :
70587 cat >>confdefs.h <<_ACEOF
70588 #define HAVE_FABSL 1
70589 _ACEOF
70592 done
70594 else
70596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70597 $as_echo_n "checking for _fabsl declaration... " >&6; }
70598 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70599 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70600 $as_echo_n "(cached) " >&6
70601 else
70604 ac_ext=cpp
70605 ac_cpp='$CXXCPP $CPPFLAGS'
70606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70611 /* end confdefs.h. */
70612 #include <math.h>
70613 #ifdef HAVE_IEEEFP_H
70614 #include <ieeefp.h>
70615 #endif
70618 main ()
70620 _fabsl(0);
70622 return 0;
70624 _ACEOF
70625 if ac_fn_cxx_try_compile "$LINENO"; then :
70626 glibcxx_cv_func__fabsl_use=yes
70627 else
70628 glibcxx_cv_func__fabsl_use=no
70630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70631 ac_ext=c
70632 ac_cpp='$CPP $CPPFLAGS'
70633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70642 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70644 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70645 for ac_func in _fabsl
70646 do :
70647 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70648 if test "x$ac_cv_func__fabsl" = x""yes; then :
70649 cat >>confdefs.h <<_ACEOF
70650 #define HAVE__FABSL 1
70651 _ACEOF
70654 done
70663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70664 $as_echo_n "checking for fmodl declaration... " >&6; }
70665 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70666 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70667 $as_echo_n "(cached) " >&6
70668 else
70671 ac_ext=cpp
70672 ac_cpp='$CXXCPP $CPPFLAGS'
70673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70678 /* end confdefs.h. */
70679 #include <math.h>
70681 main ()
70683 fmodl(0, 0);
70685 return 0;
70687 _ACEOF
70688 if ac_fn_cxx_try_compile "$LINENO"; then :
70689 glibcxx_cv_func_fmodl_use=yes
70690 else
70691 glibcxx_cv_func_fmodl_use=no
70693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70694 ac_ext=c
70695 ac_cpp='$CPP $CPPFLAGS'
70696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70705 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70707 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70708 for ac_func in fmodl
70709 do :
70710 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70711 if test "x$ac_cv_func_fmodl" = x""yes; then :
70712 cat >>confdefs.h <<_ACEOF
70713 #define HAVE_FMODL 1
70714 _ACEOF
70717 done
70719 else
70721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70722 $as_echo_n "checking for _fmodl declaration... " >&6; }
70723 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70724 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70725 $as_echo_n "(cached) " >&6
70726 else
70729 ac_ext=cpp
70730 ac_cpp='$CXXCPP $CPPFLAGS'
70731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70736 /* end confdefs.h. */
70737 #include <math.h>
70739 main ()
70741 _fmodl(0, 0);
70743 return 0;
70745 _ACEOF
70746 if ac_fn_cxx_try_compile "$LINENO"; then :
70747 glibcxx_cv_func__fmodl_use=yes
70748 else
70749 glibcxx_cv_func__fmodl_use=no
70751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70752 ac_ext=c
70753 ac_cpp='$CPP $CPPFLAGS'
70754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70763 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70765 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70766 for ac_func in _fmodl
70767 do :
70768 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70769 if test "x$ac_cv_func__fmodl" = x""yes; then :
70770 cat >>confdefs.h <<_ACEOF
70771 #define HAVE__FMODL 1
70772 _ACEOF
70775 done
70784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70785 $as_echo_n "checking for frexpl declaration... " >&6; }
70786 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70787 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70788 $as_echo_n "(cached) " >&6
70789 else
70792 ac_ext=cpp
70793 ac_cpp='$CXXCPP $CPPFLAGS'
70794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70799 /* end confdefs.h. */
70800 #include <math.h>
70802 main ()
70804 frexpl(0, 0);
70806 return 0;
70808 _ACEOF
70809 if ac_fn_cxx_try_compile "$LINENO"; then :
70810 glibcxx_cv_func_frexpl_use=yes
70811 else
70812 glibcxx_cv_func_frexpl_use=no
70814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70815 ac_ext=c
70816 ac_cpp='$CPP $CPPFLAGS'
70817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70826 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70828 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70829 for ac_func in frexpl
70830 do :
70831 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70832 if test "x$ac_cv_func_frexpl" = x""yes; then :
70833 cat >>confdefs.h <<_ACEOF
70834 #define HAVE_FREXPL 1
70835 _ACEOF
70838 done
70840 else
70842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70843 $as_echo_n "checking for _frexpl declaration... " >&6; }
70844 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70845 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70846 $as_echo_n "(cached) " >&6
70847 else
70850 ac_ext=cpp
70851 ac_cpp='$CXXCPP $CPPFLAGS'
70852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70857 /* end confdefs.h. */
70858 #include <math.h>
70860 main ()
70862 _frexpl(0, 0);
70864 return 0;
70866 _ACEOF
70867 if ac_fn_cxx_try_compile "$LINENO"; then :
70868 glibcxx_cv_func__frexpl_use=yes
70869 else
70870 glibcxx_cv_func__frexpl_use=no
70872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70873 ac_ext=c
70874 ac_cpp='$CPP $CPPFLAGS'
70875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70884 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70886 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70887 for ac_func in _frexpl
70888 do :
70889 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70890 if test "x$ac_cv_func__frexpl" = x""yes; then :
70891 cat >>confdefs.h <<_ACEOF
70892 #define HAVE__FREXPL 1
70893 _ACEOF
70896 done
70905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70906 $as_echo_n "checking for hypotl declaration... " >&6; }
70907 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70908 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70909 $as_echo_n "(cached) " >&6
70910 else
70913 ac_ext=cpp
70914 ac_cpp='$CXXCPP $CPPFLAGS'
70915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70920 /* end confdefs.h. */
70921 #include <math.h>
70923 main ()
70925 hypotl(0, 0);
70927 return 0;
70929 _ACEOF
70930 if ac_fn_cxx_try_compile "$LINENO"; then :
70931 glibcxx_cv_func_hypotl_use=yes
70932 else
70933 glibcxx_cv_func_hypotl_use=no
70935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70936 ac_ext=c
70937 ac_cpp='$CPP $CPPFLAGS'
70938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70947 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70949 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70950 for ac_func in hypotl
70951 do :
70952 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70953 if test "x$ac_cv_func_hypotl" = x""yes; then :
70954 cat >>confdefs.h <<_ACEOF
70955 #define HAVE_HYPOTL 1
70956 _ACEOF
70959 done
70961 else
70963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70964 $as_echo_n "checking for _hypotl declaration... " >&6; }
70965 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70966 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70967 $as_echo_n "(cached) " >&6
70968 else
70971 ac_ext=cpp
70972 ac_cpp='$CXXCPP $CPPFLAGS'
70973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70978 /* end confdefs.h. */
70979 #include <math.h>
70981 main ()
70983 _hypotl(0, 0);
70985 return 0;
70987 _ACEOF
70988 if ac_fn_cxx_try_compile "$LINENO"; then :
70989 glibcxx_cv_func__hypotl_use=yes
70990 else
70991 glibcxx_cv_func__hypotl_use=no
70993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70994 ac_ext=c
70995 ac_cpp='$CPP $CPPFLAGS'
70996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71005 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71007 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71008 for ac_func in _hypotl
71009 do :
71010 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71011 if test "x$ac_cv_func__hypotl" = x""yes; then :
71012 cat >>confdefs.h <<_ACEOF
71013 #define HAVE__HYPOTL 1
71014 _ACEOF
71017 done
71026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71027 $as_echo_n "checking for ldexpl declaration... " >&6; }
71028 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71029 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71030 $as_echo_n "(cached) " >&6
71031 else
71034 ac_ext=cpp
71035 ac_cpp='$CXXCPP $CPPFLAGS'
71036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71041 /* end confdefs.h. */
71042 #include <math.h>
71044 main ()
71046 ldexpl(0, 0);
71048 return 0;
71050 _ACEOF
71051 if ac_fn_cxx_try_compile "$LINENO"; then :
71052 glibcxx_cv_func_ldexpl_use=yes
71053 else
71054 glibcxx_cv_func_ldexpl_use=no
71056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71057 ac_ext=c
71058 ac_cpp='$CPP $CPPFLAGS'
71059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71068 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71070 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71071 for ac_func in ldexpl
71072 do :
71073 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71074 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71075 cat >>confdefs.h <<_ACEOF
71076 #define HAVE_LDEXPL 1
71077 _ACEOF
71080 done
71082 else
71084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71085 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71086 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71087 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71088 $as_echo_n "(cached) " >&6
71089 else
71092 ac_ext=cpp
71093 ac_cpp='$CXXCPP $CPPFLAGS'
71094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71099 /* end confdefs.h. */
71100 #include <math.h>
71102 main ()
71104 _ldexpl(0, 0);
71106 return 0;
71108 _ACEOF
71109 if ac_fn_cxx_try_compile "$LINENO"; then :
71110 glibcxx_cv_func__ldexpl_use=yes
71111 else
71112 glibcxx_cv_func__ldexpl_use=no
71114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71115 ac_ext=c
71116 ac_cpp='$CPP $CPPFLAGS'
71117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71126 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71128 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71129 for ac_func in _ldexpl
71130 do :
71131 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71132 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71133 cat >>confdefs.h <<_ACEOF
71134 #define HAVE__LDEXPL 1
71135 _ACEOF
71138 done
71147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71148 $as_echo_n "checking for logl declaration... " >&6; }
71149 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71150 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71151 $as_echo_n "(cached) " >&6
71152 else
71155 ac_ext=cpp
71156 ac_cpp='$CXXCPP $CPPFLAGS'
71157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71162 /* end confdefs.h. */
71163 #include <math.h>
71164 #ifdef HAVE_IEEEFP_H
71165 #include <ieeefp.h>
71166 #endif
71169 main ()
71171 logl(0);
71173 return 0;
71175 _ACEOF
71176 if ac_fn_cxx_try_compile "$LINENO"; then :
71177 glibcxx_cv_func_logl_use=yes
71178 else
71179 glibcxx_cv_func_logl_use=no
71181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71182 ac_ext=c
71183 ac_cpp='$CPP $CPPFLAGS'
71184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71193 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71195 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71196 for ac_func in logl
71197 do :
71198 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71199 if test "x$ac_cv_func_logl" = x""yes; then :
71200 cat >>confdefs.h <<_ACEOF
71201 #define HAVE_LOGL 1
71202 _ACEOF
71205 done
71207 else
71209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71210 $as_echo_n "checking for _logl declaration... " >&6; }
71211 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71212 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71213 $as_echo_n "(cached) " >&6
71214 else
71217 ac_ext=cpp
71218 ac_cpp='$CXXCPP $CPPFLAGS'
71219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71224 /* end confdefs.h. */
71225 #include <math.h>
71226 #ifdef HAVE_IEEEFP_H
71227 #include <ieeefp.h>
71228 #endif
71231 main ()
71233 _logl(0);
71235 return 0;
71237 _ACEOF
71238 if ac_fn_cxx_try_compile "$LINENO"; then :
71239 glibcxx_cv_func__logl_use=yes
71240 else
71241 glibcxx_cv_func__logl_use=no
71243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71244 ac_ext=c
71245 ac_cpp='$CPP $CPPFLAGS'
71246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71255 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71257 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71258 for ac_func in _logl
71259 do :
71260 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71261 if test "x$ac_cv_func__logl" = x""yes; then :
71262 cat >>confdefs.h <<_ACEOF
71263 #define HAVE__LOGL 1
71264 _ACEOF
71267 done
71276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71277 $as_echo_n "checking for log10l declaration... " >&6; }
71278 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71279 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71280 $as_echo_n "(cached) " >&6
71281 else
71284 ac_ext=cpp
71285 ac_cpp='$CXXCPP $CPPFLAGS'
71286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71291 /* end confdefs.h. */
71292 #include <math.h>
71293 #ifdef HAVE_IEEEFP_H
71294 #include <ieeefp.h>
71295 #endif
71298 main ()
71300 log10l(0);
71302 return 0;
71304 _ACEOF
71305 if ac_fn_cxx_try_compile "$LINENO"; then :
71306 glibcxx_cv_func_log10l_use=yes
71307 else
71308 glibcxx_cv_func_log10l_use=no
71310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71311 ac_ext=c
71312 ac_cpp='$CPP $CPPFLAGS'
71313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71322 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71324 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71325 for ac_func in log10l
71326 do :
71327 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71328 if test "x$ac_cv_func_log10l" = x""yes; then :
71329 cat >>confdefs.h <<_ACEOF
71330 #define HAVE_LOG10L 1
71331 _ACEOF
71334 done
71336 else
71338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71339 $as_echo_n "checking for _log10l declaration... " >&6; }
71340 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71341 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71342 $as_echo_n "(cached) " >&6
71343 else
71346 ac_ext=cpp
71347 ac_cpp='$CXXCPP $CPPFLAGS'
71348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71353 /* end confdefs.h. */
71354 #include <math.h>
71355 #ifdef HAVE_IEEEFP_H
71356 #include <ieeefp.h>
71357 #endif
71360 main ()
71362 _log10l(0);
71364 return 0;
71366 _ACEOF
71367 if ac_fn_cxx_try_compile "$LINENO"; then :
71368 glibcxx_cv_func__log10l_use=yes
71369 else
71370 glibcxx_cv_func__log10l_use=no
71372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71373 ac_ext=c
71374 ac_cpp='$CPP $CPPFLAGS'
71375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71384 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71386 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71387 for ac_func in _log10l
71388 do :
71389 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71390 if test "x$ac_cv_func__log10l" = x""yes; then :
71391 cat >>confdefs.h <<_ACEOF
71392 #define HAVE__LOG10L 1
71393 _ACEOF
71396 done
71405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71406 $as_echo_n "checking for modfl declaration... " >&6; }
71407 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71408 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71409 $as_echo_n "(cached) " >&6
71410 else
71413 ac_ext=cpp
71414 ac_cpp='$CXXCPP $CPPFLAGS'
71415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71420 /* end confdefs.h. */
71421 #include <math.h>
71423 main ()
71425 modfl(0, 0);
71427 return 0;
71429 _ACEOF
71430 if ac_fn_cxx_try_compile "$LINENO"; then :
71431 glibcxx_cv_func_modfl_use=yes
71432 else
71433 glibcxx_cv_func_modfl_use=no
71435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71436 ac_ext=c
71437 ac_cpp='$CPP $CPPFLAGS'
71438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71447 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71449 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71450 for ac_func in modfl
71451 do :
71452 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71453 if test "x$ac_cv_func_modfl" = x""yes; then :
71454 cat >>confdefs.h <<_ACEOF
71455 #define HAVE_MODFL 1
71456 _ACEOF
71459 done
71461 else
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71464 $as_echo_n "checking for _modfl declaration... " >&6; }
71465 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71466 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71467 $as_echo_n "(cached) " >&6
71468 else
71471 ac_ext=cpp
71472 ac_cpp='$CXXCPP $CPPFLAGS'
71473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71478 /* end confdefs.h. */
71479 #include <math.h>
71481 main ()
71483 _modfl(0, 0);
71485 return 0;
71487 _ACEOF
71488 if ac_fn_cxx_try_compile "$LINENO"; then :
71489 glibcxx_cv_func__modfl_use=yes
71490 else
71491 glibcxx_cv_func__modfl_use=no
71493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71494 ac_ext=c
71495 ac_cpp='$CPP $CPPFLAGS'
71496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71505 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71507 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71508 for ac_func in _modfl
71509 do :
71510 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71511 if test "x$ac_cv_func__modfl" = x""yes; then :
71512 cat >>confdefs.h <<_ACEOF
71513 #define HAVE__MODFL 1
71514 _ACEOF
71517 done
71526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71527 $as_echo_n "checking for powl declaration... " >&6; }
71528 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71529 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71530 $as_echo_n "(cached) " >&6
71531 else
71534 ac_ext=cpp
71535 ac_cpp='$CXXCPP $CPPFLAGS'
71536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71541 /* end confdefs.h. */
71542 #include <math.h>
71544 main ()
71546 powl(0, 0);
71548 return 0;
71550 _ACEOF
71551 if ac_fn_cxx_try_compile "$LINENO"; then :
71552 glibcxx_cv_func_powl_use=yes
71553 else
71554 glibcxx_cv_func_powl_use=no
71556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71557 ac_ext=c
71558 ac_cpp='$CPP $CPPFLAGS'
71559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71568 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71570 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71571 for ac_func in powl
71572 do :
71573 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71574 if test "x$ac_cv_func_powl" = x""yes; then :
71575 cat >>confdefs.h <<_ACEOF
71576 #define HAVE_POWL 1
71577 _ACEOF
71580 done
71582 else
71584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71585 $as_echo_n "checking for _powl declaration... " >&6; }
71586 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71587 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71588 $as_echo_n "(cached) " >&6
71589 else
71592 ac_ext=cpp
71593 ac_cpp='$CXXCPP $CPPFLAGS'
71594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71599 /* end confdefs.h. */
71600 #include <math.h>
71602 main ()
71604 _powl(0, 0);
71606 return 0;
71608 _ACEOF
71609 if ac_fn_cxx_try_compile "$LINENO"; then :
71610 glibcxx_cv_func__powl_use=yes
71611 else
71612 glibcxx_cv_func__powl_use=no
71614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71615 ac_ext=c
71616 ac_cpp='$CPP $CPPFLAGS'
71617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71626 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71628 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71629 for ac_func in _powl
71630 do :
71631 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71632 if test "x$ac_cv_func__powl" = x""yes; then :
71633 cat >>confdefs.h <<_ACEOF
71634 #define HAVE__POWL 1
71635 _ACEOF
71638 done
71647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71648 $as_echo_n "checking for sqrtl declaration... " >&6; }
71649 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71650 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71651 $as_echo_n "(cached) " >&6
71652 else
71655 ac_ext=cpp
71656 ac_cpp='$CXXCPP $CPPFLAGS'
71657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71662 /* end confdefs.h. */
71663 #include <math.h>
71664 #ifdef HAVE_IEEEFP_H
71665 #include <ieeefp.h>
71666 #endif
71669 main ()
71671 sqrtl(0);
71673 return 0;
71675 _ACEOF
71676 if ac_fn_cxx_try_compile "$LINENO"; then :
71677 glibcxx_cv_func_sqrtl_use=yes
71678 else
71679 glibcxx_cv_func_sqrtl_use=no
71681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71682 ac_ext=c
71683 ac_cpp='$CPP $CPPFLAGS'
71684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71693 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71695 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71696 for ac_func in sqrtl
71697 do :
71698 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71699 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71700 cat >>confdefs.h <<_ACEOF
71701 #define HAVE_SQRTL 1
71702 _ACEOF
71705 done
71707 else
71709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71710 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71711 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71712 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71713 $as_echo_n "(cached) " >&6
71714 else
71717 ac_ext=cpp
71718 ac_cpp='$CXXCPP $CPPFLAGS'
71719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71724 /* end confdefs.h. */
71725 #include <math.h>
71726 #ifdef HAVE_IEEEFP_H
71727 #include <ieeefp.h>
71728 #endif
71731 main ()
71733 _sqrtl(0);
71735 return 0;
71737 _ACEOF
71738 if ac_fn_cxx_try_compile "$LINENO"; then :
71739 glibcxx_cv_func__sqrtl_use=yes
71740 else
71741 glibcxx_cv_func__sqrtl_use=no
71743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71744 ac_ext=c
71745 ac_cpp='$CPP $CPPFLAGS'
71746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71755 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71757 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71758 for ac_func in _sqrtl
71759 do :
71760 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71761 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71762 cat >>confdefs.h <<_ACEOF
71763 #define HAVE__SQRTL 1
71764 _ACEOF
71767 done
71776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71777 $as_echo_n "checking for sincosl declaration... " >&6; }
71778 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71779 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71780 $as_echo_n "(cached) " >&6
71781 else
71784 ac_ext=cpp
71785 ac_cpp='$CXXCPP $CPPFLAGS'
71786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71791 /* end confdefs.h. */
71792 #include <math.h>
71794 main ()
71796 sincosl(0, 0, 0);
71798 return 0;
71800 _ACEOF
71801 if ac_fn_cxx_try_compile "$LINENO"; then :
71802 glibcxx_cv_func_sincosl_use=yes
71803 else
71804 glibcxx_cv_func_sincosl_use=no
71806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71807 ac_ext=c
71808 ac_cpp='$CPP $CPPFLAGS'
71809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71818 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71820 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71821 for ac_func in sincosl
71822 do :
71823 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71824 if test "x$ac_cv_func_sincosl" = x""yes; then :
71825 cat >>confdefs.h <<_ACEOF
71826 #define HAVE_SINCOSL 1
71827 _ACEOF
71830 done
71832 else
71834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71835 $as_echo_n "checking for _sincosl declaration... " >&6; }
71836 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71837 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71838 $as_echo_n "(cached) " >&6
71839 else
71842 ac_ext=cpp
71843 ac_cpp='$CXXCPP $CPPFLAGS'
71844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71849 /* end confdefs.h. */
71850 #include <math.h>
71852 main ()
71854 _sincosl(0, 0, 0);
71856 return 0;
71858 _ACEOF
71859 if ac_fn_cxx_try_compile "$LINENO"; then :
71860 glibcxx_cv_func__sincosl_use=yes
71861 else
71862 glibcxx_cv_func__sincosl_use=no
71864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71865 ac_ext=c
71866 ac_cpp='$CPP $CPPFLAGS'
71867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71876 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71878 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71879 for ac_func in _sincosl
71880 do :
71881 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71882 if test "x$ac_cv_func__sincosl" = x""yes; then :
71883 cat >>confdefs.h <<_ACEOF
71884 #define HAVE__SINCOSL 1
71885 _ACEOF
71888 done
71897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71898 $as_echo_n "checking for finitel declaration... " >&6; }
71899 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71900 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71901 $as_echo_n "(cached) " >&6
71902 else
71905 ac_ext=cpp
71906 ac_cpp='$CXXCPP $CPPFLAGS'
71907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71912 /* end confdefs.h. */
71913 #include <math.h>
71914 #ifdef HAVE_IEEEFP_H
71915 #include <ieeefp.h>
71916 #endif
71919 main ()
71921 finitel(0);
71923 return 0;
71925 _ACEOF
71926 if ac_fn_cxx_try_compile "$LINENO"; then :
71927 glibcxx_cv_func_finitel_use=yes
71928 else
71929 glibcxx_cv_func_finitel_use=no
71931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71932 ac_ext=c
71933 ac_cpp='$CPP $CPPFLAGS'
71934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71943 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71945 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71946 for ac_func in finitel
71947 do :
71948 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71949 if test "x$ac_cv_func_finitel" = x""yes; then :
71950 cat >>confdefs.h <<_ACEOF
71951 #define HAVE_FINITEL 1
71952 _ACEOF
71955 done
71957 else
71959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71960 $as_echo_n "checking for _finitel declaration... " >&6; }
71961 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71962 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71963 $as_echo_n "(cached) " >&6
71964 else
71967 ac_ext=cpp
71968 ac_cpp='$CXXCPP $CPPFLAGS'
71969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71974 /* end confdefs.h. */
71975 #include <math.h>
71976 #ifdef HAVE_IEEEFP_H
71977 #include <ieeefp.h>
71978 #endif
71981 main ()
71983 _finitel(0);
71985 return 0;
71987 _ACEOF
71988 if ac_fn_cxx_try_compile "$LINENO"; then :
71989 glibcxx_cv_func__finitel_use=yes
71990 else
71991 glibcxx_cv_func__finitel_use=no
71993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71994 ac_ext=c
71995 ac_cpp='$CPP $CPPFLAGS'
71996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72005 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72007 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72008 for ac_func in _finitel
72009 do :
72010 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72011 if test "x$ac_cv_func__finitel" = x""yes; then :
72012 cat >>confdefs.h <<_ACEOF
72013 #define HAVE__FINITEL 1
72014 _ACEOF
72017 done
72025 LIBS="$ac_save_LIBS"
72026 CXXFLAGS="$ac_save_CXXFLAGS"
72029 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72030 ac_save_CXXFLAGS="$CXXFLAGS"
72031 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72035 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72036 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72037 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72038 $as_echo_n "(cached) " >&6
72039 else
72042 ac_ext=cpp
72043 ac_cpp='$CXXCPP $CPPFLAGS'
72044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72049 /* end confdefs.h. */
72050 #include <stdlib.h>
72052 main ()
72054 at_quick_exit(0);
72056 return 0;
72058 _ACEOF
72059 if ac_fn_cxx_try_compile "$LINENO"; then :
72060 glibcxx_cv_func_at_quick_exit_use=yes
72061 else
72062 glibcxx_cv_func_at_quick_exit_use=no
72064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72065 ac_ext=c
72066 ac_cpp='$CPP $CPPFLAGS'
72067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72076 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72077 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72078 for ac_func in at_quick_exit
72079 do :
72080 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72081 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72082 cat >>confdefs.h <<_ACEOF
72083 #define HAVE_AT_QUICK_EXIT 1
72084 _ACEOF
72087 done
72092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72093 $as_echo_n "checking for quick_exit declaration... " >&6; }
72094 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72095 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72096 $as_echo_n "(cached) " >&6
72097 else
72100 ac_ext=cpp
72101 ac_cpp='$CXXCPP $CPPFLAGS'
72102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72107 /* end confdefs.h. */
72108 #include <stdlib.h>
72110 main ()
72112 quick_exit(0);
72114 return 0;
72116 _ACEOF
72117 if ac_fn_cxx_try_compile "$LINENO"; then :
72118 glibcxx_cv_func_quick_exit_use=yes
72119 else
72120 glibcxx_cv_func_quick_exit_use=no
72122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72123 ac_ext=c
72124 ac_cpp='$CPP $CPPFLAGS'
72125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72134 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72135 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72136 for ac_func in quick_exit
72137 do :
72138 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72139 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72140 cat >>confdefs.h <<_ACEOF
72141 #define HAVE_QUICK_EXIT 1
72142 _ACEOF
72145 done
72150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72151 $as_echo_n "checking for strtold declaration... " >&6; }
72152 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72153 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72154 $as_echo_n "(cached) " >&6
72155 else
72158 ac_ext=cpp
72159 ac_cpp='$CXXCPP $CPPFLAGS'
72160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72165 /* end confdefs.h. */
72166 #include <stdlib.h>
72168 main ()
72170 strtold(0, 0);
72172 return 0;
72174 _ACEOF
72175 if ac_fn_cxx_try_compile "$LINENO"; then :
72176 glibcxx_cv_func_strtold_use=yes
72177 else
72178 glibcxx_cv_func_strtold_use=no
72180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72181 ac_ext=c
72182 ac_cpp='$CPP $CPPFLAGS'
72183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72192 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72193 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72194 for ac_func in strtold
72195 do :
72196 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72197 if test "x$ac_cv_func_strtold" = x""yes; then :
72198 cat >>confdefs.h <<_ACEOF
72199 #define HAVE_STRTOLD 1
72200 _ACEOF
72203 done
72210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72211 $as_echo_n "checking for strtof declaration... " >&6; }
72212 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72213 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72214 $as_echo_n "(cached) " >&6
72215 else
72218 ac_ext=cpp
72219 ac_cpp='$CXXCPP $CPPFLAGS'
72220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72225 /* end confdefs.h. */
72226 #include <stdlib.h>
72228 main ()
72230 strtof(0, 0);
72232 return 0;
72234 _ACEOF
72235 if ac_fn_cxx_try_compile "$LINENO"; then :
72236 glibcxx_cv_func_strtof_use=yes
72237 else
72238 glibcxx_cv_func_strtof_use=no
72240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72241 ac_ext=c
72242 ac_cpp='$CPP $CPPFLAGS'
72243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72252 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72253 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72254 for ac_func in strtof
72255 do :
72256 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72257 if test "x$ac_cv_func_strtof" = x""yes; then :
72258 cat >>confdefs.h <<_ACEOF
72259 #define HAVE_STRTOF 1
72260 _ACEOF
72263 done
72270 CXXFLAGS="$ac_save_CXXFLAGS"
72273 *-solaris*)
72275 # If we're not using GNU ld, then there's no point in even trying these
72276 # tests. Check for that first. We should have already tested for gld
72277 # by now (in libtool), but require it now just to be safe...
72278 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72279 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72283 # The name set by libtool depends on the version of libtool. Shame on us
72284 # for depending on an impl detail, but c'est la vie. Older versions used
72285 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72286 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72287 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72288 # set (hence we're using an older libtool), then set it.
72289 if test x${with_gnu_ld+set} != xset; then
72290 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72291 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72292 with_gnu_ld=no
72293 else
72294 with_gnu_ld=$ac_cv_prog_gnu_ld
72298 # Start by getting the version number. I think the libtool test already
72299 # does some of this, but throws away the result.
72300 glibcxx_ld_is_gold=no
72301 if test x"$with_gnu_ld" = x"yes"; then
72302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72303 $as_echo_n "checking for ld version... " >&6; }
72305 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72306 glibcxx_ld_is_gold=yes
72308 ldver=`$LD --version 2>/dev/null |
72309 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'`
72311 glibcxx_gnu_ld_version=`echo $ldver | \
72312 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72314 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72317 # Set --gc-sections.
72318 glibcxx_have_gc_sections=no
72319 if test "$glibcxx_ld_is_gold" = "yes"; then
72320 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72321 glibcxx_have_gc_sections=yes
72323 else
72324 glibcxx_gcsections_min_ld=21602
72325 if test x"$with_gnu_ld" = x"yes" &&
72326 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72327 glibcxx_have_gc_sections=yes
72330 if test "$glibcxx_have_gc_sections" = "yes"; then
72331 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72332 # NB: This flag only works reliably after 2.16.1. Configure tests
72333 # for this are difficult, so hard wire a value that should work.
72335 ac_test_CFLAGS="${CFLAGS+set}"
72336 ac_save_CFLAGS="$CFLAGS"
72337 CFLAGS='-Wl,--gc-sections'
72339 # Check for -Wl,--gc-sections
72340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72341 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72342 if test x$gcc_no_link = xyes; then
72343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72346 /* end confdefs.h. */
72347 int one(void) { return 1; }
72348 int two(void) { return 2; }
72351 main ()
72353 two();
72355 return 0;
72357 _ACEOF
72358 if ac_fn_c_try_link "$LINENO"; then :
72359 ac_gcsections=yes
72360 else
72361 ac_gcsections=no
72363 rm -f core conftest.err conftest.$ac_objext \
72364 conftest$ac_exeext conftest.$ac_ext
72365 if test "$ac_gcsections" = "yes"; then
72366 rm -f conftest.c
72367 touch conftest.c
72368 if $CC -c conftest.c; then
72369 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72370 grep "Warning: gc-sections option ignored" > /dev/null; then
72371 ac_gcsections=no
72374 rm -f conftest.c conftest.o conftest
72376 if test "$ac_gcsections" = "yes"; then
72377 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72380 $as_echo "$ac_gcsections" >&6; }
72382 if test "$ac_test_CFLAGS" = set; then
72383 CFLAGS="$ac_save_CFLAGS"
72384 else
72385 # this is the suspicious part
72386 CFLAGS=''
72390 # Set -z,relro.
72391 # Note this is only for shared objects.
72392 ac_ld_relro=no
72393 if test x"$with_gnu_ld" = x"yes"; then
72394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72395 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72396 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72397 if test -n "$cxx_z_relo"; then
72398 OPT_LDFLAGS="-Wl,-z,relro"
72399 ac_ld_relro=yes
72401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72402 $as_echo "$ac_ld_relro" >&6; }
72405 # Set linker optimization flags.
72406 if test x"$with_gnu_ld" = x"yes"; then
72407 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72413 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72415 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72417 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72419 # All of the dependencies for wide character support are here, so
72420 # turn it on.
72421 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72423 # These two C99 functions are present only in Solaris >= 10
72424 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72426 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72428 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72430 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72432 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72434 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72437 *-tpf)
72438 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72439 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72441 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72443 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72445 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72447 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72449 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72451 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72453 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72455 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72457 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72459 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72461 if test x"long_double_math_on_this_cpu" = x"yes"; then
72462 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72464 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72466 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72468 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72472 *-*vms*)
72473 # Check for available headers.
72474 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72476 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72477 ac_save_CXXFLAGS="$CXXFLAGS"
72478 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72481 $as_echo_n "checking for sin in -lm... " >&6; }
72482 if test "${ac_cv_lib_m_sin+set}" = set; then :
72483 $as_echo_n "(cached) " >&6
72484 else
72485 ac_check_lib_save_LIBS=$LIBS
72486 LIBS="-lm $LIBS"
72487 if test x$gcc_no_link = xyes; then
72488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72491 /* end confdefs.h. */
72493 /* Override any GCC internal prototype to avoid an error.
72494 Use char because int might match the return type of a GCC
72495 builtin and then its argument prototype would still apply. */
72496 #ifdef __cplusplus
72497 extern "C"
72498 #endif
72499 char sin ();
72501 main ()
72503 return sin ();
72505 return 0;
72507 _ACEOF
72508 if ac_fn_c_try_link "$LINENO"; then :
72509 ac_cv_lib_m_sin=yes
72510 else
72511 ac_cv_lib_m_sin=no
72513 rm -f core conftest.err conftest.$ac_objext \
72514 conftest$ac_exeext conftest.$ac_ext
72515 LIBS=$ac_check_lib_save_LIBS
72517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72518 $as_echo "$ac_cv_lib_m_sin" >&6; }
72519 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72520 libm="-lm"
72523 ac_save_LIBS="$LIBS"
72524 LIBS="$LIBS $libm"
72528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72529 $as_echo_n "checking for isinf declaration... " >&6; }
72530 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72531 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72532 $as_echo_n "(cached) " >&6
72533 else
72536 ac_ext=cpp
72537 ac_cpp='$CXXCPP $CPPFLAGS'
72538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72543 /* end confdefs.h. */
72544 #include <math.h>
72545 #ifdef HAVE_IEEEFP_H
72546 #include <ieeefp.h>
72547 #endif
72550 main ()
72552 isinf(0);
72554 return 0;
72556 _ACEOF
72557 if ac_fn_cxx_try_compile "$LINENO"; then :
72558 glibcxx_cv_func_isinf_use=yes
72559 else
72560 glibcxx_cv_func_isinf_use=no
72562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72563 ac_ext=c
72564 ac_cpp='$CPP $CPPFLAGS'
72565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72574 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72576 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72577 for ac_func in isinf
72578 do :
72579 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72580 if test "x$ac_cv_func_isinf" = x""yes; then :
72581 cat >>confdefs.h <<_ACEOF
72582 #define HAVE_ISINF 1
72583 _ACEOF
72586 done
72588 else
72590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72591 $as_echo_n "checking for _isinf declaration... " >&6; }
72592 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72593 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72594 $as_echo_n "(cached) " >&6
72595 else
72598 ac_ext=cpp
72599 ac_cpp='$CXXCPP $CPPFLAGS'
72600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72605 /* end confdefs.h. */
72606 #include <math.h>
72607 #ifdef HAVE_IEEEFP_H
72608 #include <ieeefp.h>
72609 #endif
72612 main ()
72614 _isinf(0);
72616 return 0;
72618 _ACEOF
72619 if ac_fn_cxx_try_compile "$LINENO"; then :
72620 glibcxx_cv_func__isinf_use=yes
72621 else
72622 glibcxx_cv_func__isinf_use=no
72624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72625 ac_ext=c
72626 ac_cpp='$CPP $CPPFLAGS'
72627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72636 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72638 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72639 for ac_func in _isinf
72640 do :
72641 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72642 if test "x$ac_cv_func__isinf" = x""yes; then :
72643 cat >>confdefs.h <<_ACEOF
72644 #define HAVE__ISINF 1
72645 _ACEOF
72648 done
72657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72658 $as_echo_n "checking for isnan declaration... " >&6; }
72659 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72660 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72661 $as_echo_n "(cached) " >&6
72662 else
72665 ac_ext=cpp
72666 ac_cpp='$CXXCPP $CPPFLAGS'
72667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72672 /* end confdefs.h. */
72673 #include <math.h>
72674 #ifdef HAVE_IEEEFP_H
72675 #include <ieeefp.h>
72676 #endif
72679 main ()
72681 isnan(0);
72683 return 0;
72685 _ACEOF
72686 if ac_fn_cxx_try_compile "$LINENO"; then :
72687 glibcxx_cv_func_isnan_use=yes
72688 else
72689 glibcxx_cv_func_isnan_use=no
72691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72692 ac_ext=c
72693 ac_cpp='$CPP $CPPFLAGS'
72694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72703 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72705 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72706 for ac_func in isnan
72707 do :
72708 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72709 if test "x$ac_cv_func_isnan" = x""yes; then :
72710 cat >>confdefs.h <<_ACEOF
72711 #define HAVE_ISNAN 1
72712 _ACEOF
72715 done
72717 else
72719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72720 $as_echo_n "checking for _isnan declaration... " >&6; }
72721 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72722 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72723 $as_echo_n "(cached) " >&6
72724 else
72727 ac_ext=cpp
72728 ac_cpp='$CXXCPP $CPPFLAGS'
72729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72734 /* end confdefs.h. */
72735 #include <math.h>
72736 #ifdef HAVE_IEEEFP_H
72737 #include <ieeefp.h>
72738 #endif
72741 main ()
72743 _isnan(0);
72745 return 0;
72747 _ACEOF
72748 if ac_fn_cxx_try_compile "$LINENO"; then :
72749 glibcxx_cv_func__isnan_use=yes
72750 else
72751 glibcxx_cv_func__isnan_use=no
72753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72754 ac_ext=c
72755 ac_cpp='$CPP $CPPFLAGS'
72756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72765 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72767 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72768 for ac_func in _isnan
72769 do :
72770 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72771 if test "x$ac_cv_func__isnan" = x""yes; then :
72772 cat >>confdefs.h <<_ACEOF
72773 #define HAVE__ISNAN 1
72774 _ACEOF
72777 done
72786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72787 $as_echo_n "checking for finite declaration... " >&6; }
72788 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72789 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72790 $as_echo_n "(cached) " >&6
72791 else
72794 ac_ext=cpp
72795 ac_cpp='$CXXCPP $CPPFLAGS'
72796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72801 /* end confdefs.h. */
72802 #include <math.h>
72803 #ifdef HAVE_IEEEFP_H
72804 #include <ieeefp.h>
72805 #endif
72808 main ()
72810 finite(0);
72812 return 0;
72814 _ACEOF
72815 if ac_fn_cxx_try_compile "$LINENO"; then :
72816 glibcxx_cv_func_finite_use=yes
72817 else
72818 glibcxx_cv_func_finite_use=no
72820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72821 ac_ext=c
72822 ac_cpp='$CPP $CPPFLAGS'
72823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72832 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72834 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72835 for ac_func in finite
72836 do :
72837 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72838 if test "x$ac_cv_func_finite" = x""yes; then :
72839 cat >>confdefs.h <<_ACEOF
72840 #define HAVE_FINITE 1
72841 _ACEOF
72844 done
72846 else
72848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72849 $as_echo_n "checking for _finite declaration... " >&6; }
72850 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72851 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72852 $as_echo_n "(cached) " >&6
72853 else
72856 ac_ext=cpp
72857 ac_cpp='$CXXCPP $CPPFLAGS'
72858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72863 /* end confdefs.h. */
72864 #include <math.h>
72865 #ifdef HAVE_IEEEFP_H
72866 #include <ieeefp.h>
72867 #endif
72870 main ()
72872 _finite(0);
72874 return 0;
72876 _ACEOF
72877 if ac_fn_cxx_try_compile "$LINENO"; then :
72878 glibcxx_cv_func__finite_use=yes
72879 else
72880 glibcxx_cv_func__finite_use=no
72882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72883 ac_ext=c
72884 ac_cpp='$CPP $CPPFLAGS'
72885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72894 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72896 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72897 for ac_func in _finite
72898 do :
72899 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72900 if test "x$ac_cv_func__finite" = x""yes; then :
72901 cat >>confdefs.h <<_ACEOF
72902 #define HAVE__FINITE 1
72903 _ACEOF
72906 done
72915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72916 $as_echo_n "checking for sincos declaration... " >&6; }
72917 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72918 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72919 $as_echo_n "(cached) " >&6
72920 else
72923 ac_ext=cpp
72924 ac_cpp='$CXXCPP $CPPFLAGS'
72925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72930 /* end confdefs.h. */
72931 #include <math.h>
72933 main ()
72935 sincos(0, 0, 0);
72937 return 0;
72939 _ACEOF
72940 if ac_fn_cxx_try_compile "$LINENO"; then :
72941 glibcxx_cv_func_sincos_use=yes
72942 else
72943 glibcxx_cv_func_sincos_use=no
72945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72946 ac_ext=c
72947 ac_cpp='$CPP $CPPFLAGS'
72948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72957 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72959 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72960 for ac_func in sincos
72961 do :
72962 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72963 if test "x$ac_cv_func_sincos" = x""yes; then :
72964 cat >>confdefs.h <<_ACEOF
72965 #define HAVE_SINCOS 1
72966 _ACEOF
72969 done
72971 else
72973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72974 $as_echo_n "checking for _sincos declaration... " >&6; }
72975 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72976 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72977 $as_echo_n "(cached) " >&6
72978 else
72981 ac_ext=cpp
72982 ac_cpp='$CXXCPP $CPPFLAGS'
72983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72988 /* end confdefs.h. */
72989 #include <math.h>
72991 main ()
72993 _sincos(0, 0, 0);
72995 return 0;
72997 _ACEOF
72998 if ac_fn_cxx_try_compile "$LINENO"; then :
72999 glibcxx_cv_func__sincos_use=yes
73000 else
73001 glibcxx_cv_func__sincos_use=no
73003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73004 ac_ext=c
73005 ac_cpp='$CPP $CPPFLAGS'
73006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73015 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73017 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73018 for ac_func in _sincos
73019 do :
73020 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73021 if test "x$ac_cv_func__sincos" = x""yes; then :
73022 cat >>confdefs.h <<_ACEOF
73023 #define HAVE__SINCOS 1
73024 _ACEOF
73027 done
73036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73037 $as_echo_n "checking for fpclass declaration... " >&6; }
73038 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73039 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73040 $as_echo_n "(cached) " >&6
73041 else
73044 ac_ext=cpp
73045 ac_cpp='$CXXCPP $CPPFLAGS'
73046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73051 /* end confdefs.h. */
73052 #include <math.h>
73053 #ifdef HAVE_IEEEFP_H
73054 #include <ieeefp.h>
73055 #endif
73058 main ()
73060 fpclass(0);
73062 return 0;
73064 _ACEOF
73065 if ac_fn_cxx_try_compile "$LINENO"; then :
73066 glibcxx_cv_func_fpclass_use=yes
73067 else
73068 glibcxx_cv_func_fpclass_use=no
73070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73071 ac_ext=c
73072 ac_cpp='$CPP $CPPFLAGS'
73073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73082 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73084 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73085 for ac_func in fpclass
73086 do :
73087 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73088 if test "x$ac_cv_func_fpclass" = x""yes; then :
73089 cat >>confdefs.h <<_ACEOF
73090 #define HAVE_FPCLASS 1
73091 _ACEOF
73094 done
73096 else
73098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73099 $as_echo_n "checking for _fpclass declaration... " >&6; }
73100 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73101 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73102 $as_echo_n "(cached) " >&6
73103 else
73106 ac_ext=cpp
73107 ac_cpp='$CXXCPP $CPPFLAGS'
73108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73113 /* end confdefs.h. */
73114 #include <math.h>
73115 #ifdef HAVE_IEEEFP_H
73116 #include <ieeefp.h>
73117 #endif
73120 main ()
73122 _fpclass(0);
73124 return 0;
73126 _ACEOF
73127 if ac_fn_cxx_try_compile "$LINENO"; then :
73128 glibcxx_cv_func__fpclass_use=yes
73129 else
73130 glibcxx_cv_func__fpclass_use=no
73132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73133 ac_ext=c
73134 ac_cpp='$CPP $CPPFLAGS'
73135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73144 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73146 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73147 for ac_func in _fpclass
73148 do :
73149 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73150 if test "x$ac_cv_func__fpclass" = x""yes; then :
73151 cat >>confdefs.h <<_ACEOF
73152 #define HAVE__FPCLASS 1
73153 _ACEOF
73156 done
73165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73166 $as_echo_n "checking for qfpclass declaration... " >&6; }
73167 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73168 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73169 $as_echo_n "(cached) " >&6
73170 else
73173 ac_ext=cpp
73174 ac_cpp='$CXXCPP $CPPFLAGS'
73175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73180 /* end confdefs.h. */
73181 #include <math.h>
73182 #ifdef HAVE_IEEEFP_H
73183 #include <ieeefp.h>
73184 #endif
73187 main ()
73189 qfpclass(0);
73191 return 0;
73193 _ACEOF
73194 if ac_fn_cxx_try_compile "$LINENO"; then :
73195 glibcxx_cv_func_qfpclass_use=yes
73196 else
73197 glibcxx_cv_func_qfpclass_use=no
73199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73200 ac_ext=c
73201 ac_cpp='$CPP $CPPFLAGS'
73202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73211 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73213 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73214 for ac_func in qfpclass
73215 do :
73216 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73217 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73218 cat >>confdefs.h <<_ACEOF
73219 #define HAVE_QFPCLASS 1
73220 _ACEOF
73223 done
73225 else
73227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73228 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73229 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73230 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73231 $as_echo_n "(cached) " >&6
73232 else
73235 ac_ext=cpp
73236 ac_cpp='$CXXCPP $CPPFLAGS'
73237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73242 /* end confdefs.h. */
73243 #include <math.h>
73244 #ifdef HAVE_IEEEFP_H
73245 #include <ieeefp.h>
73246 #endif
73249 main ()
73251 _qfpclass(0);
73253 return 0;
73255 _ACEOF
73256 if ac_fn_cxx_try_compile "$LINENO"; then :
73257 glibcxx_cv_func__qfpclass_use=yes
73258 else
73259 glibcxx_cv_func__qfpclass_use=no
73261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73262 ac_ext=c
73263 ac_cpp='$CPP $CPPFLAGS'
73264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73273 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73275 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73276 for ac_func in _qfpclass
73277 do :
73278 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73279 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73280 cat >>confdefs.h <<_ACEOF
73281 #define HAVE__QFPCLASS 1
73282 _ACEOF
73285 done
73294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73295 $as_echo_n "checking for hypot declaration... " >&6; }
73296 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73297 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73298 $as_echo_n "(cached) " >&6
73299 else
73302 ac_ext=cpp
73303 ac_cpp='$CXXCPP $CPPFLAGS'
73304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73309 /* end confdefs.h. */
73310 #include <math.h>
73312 main ()
73314 hypot(0, 0);
73316 return 0;
73318 _ACEOF
73319 if ac_fn_cxx_try_compile "$LINENO"; then :
73320 glibcxx_cv_func_hypot_use=yes
73321 else
73322 glibcxx_cv_func_hypot_use=no
73324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73325 ac_ext=c
73326 ac_cpp='$CPP $CPPFLAGS'
73327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73336 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73338 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73339 for ac_func in hypot
73340 do :
73341 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73342 if test "x$ac_cv_func_hypot" = x""yes; then :
73343 cat >>confdefs.h <<_ACEOF
73344 #define HAVE_HYPOT 1
73345 _ACEOF
73348 done
73350 else
73352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73353 $as_echo_n "checking for _hypot declaration... " >&6; }
73354 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73355 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73356 $as_echo_n "(cached) " >&6
73357 else
73360 ac_ext=cpp
73361 ac_cpp='$CXXCPP $CPPFLAGS'
73362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73367 /* end confdefs.h. */
73368 #include <math.h>
73370 main ()
73372 _hypot(0, 0);
73374 return 0;
73376 _ACEOF
73377 if ac_fn_cxx_try_compile "$LINENO"; then :
73378 glibcxx_cv_func__hypot_use=yes
73379 else
73380 glibcxx_cv_func__hypot_use=no
73382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73383 ac_ext=c
73384 ac_cpp='$CPP $CPPFLAGS'
73385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73394 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73396 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73397 for ac_func in _hypot
73398 do :
73399 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73400 if test "x$ac_cv_func__hypot" = x""yes; then :
73401 cat >>confdefs.h <<_ACEOF
73402 #define HAVE__HYPOT 1
73403 _ACEOF
73406 done
73415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73416 $as_echo_n "checking for float trig functions... " >&6; }
73417 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73418 $as_echo_n "(cached) " >&6
73419 else
73422 ac_ext=cpp
73423 ac_cpp='$CXXCPP $CPPFLAGS'
73424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73429 /* end confdefs.h. */
73430 #include <math.h>
73432 main ()
73434 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73436 return 0;
73438 _ACEOF
73439 if ac_fn_cxx_try_compile "$LINENO"; then :
73440 glibcxx_cv_func_float_trig_use=yes
73441 else
73442 glibcxx_cv_func_float_trig_use=no
73444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73445 ac_ext=c
73446 ac_cpp='$CPP $CPPFLAGS'
73447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73454 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73455 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73456 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73457 do :
73458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73460 eval as_val=\$$as_ac_var
73461 if test "x$as_val" = x""yes; then :
73462 cat >>confdefs.h <<_ACEOF
73463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73464 _ACEOF
73467 done
73469 else
73470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73471 $as_echo_n "checking for _float trig functions... " >&6; }
73472 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73473 $as_echo_n "(cached) " >&6
73474 else
73477 ac_ext=cpp
73478 ac_cpp='$CXXCPP $CPPFLAGS'
73479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73484 /* end confdefs.h. */
73485 #include <math.h>
73487 main ()
73489 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73491 return 0;
73493 _ACEOF
73494 if ac_fn_cxx_try_compile "$LINENO"; then :
73495 glibcxx_cv_func__float_trig_use=yes
73496 else
73497 glibcxx_cv_func__float_trig_use=no
73499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73500 ac_ext=c
73501 ac_cpp='$CPP $CPPFLAGS'
73502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73509 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73510 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73511 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73512 do :
73513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73515 eval as_val=\$$as_ac_var
73516 if test "x$as_val" = x""yes; then :
73517 cat >>confdefs.h <<_ACEOF
73518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73519 _ACEOF
73522 done
73531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73532 $as_echo_n "checking for float round functions... " >&6; }
73533 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73534 $as_echo_n "(cached) " >&6
73535 else
73538 ac_ext=cpp
73539 ac_cpp='$CXXCPP $CPPFLAGS'
73540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73545 /* end confdefs.h. */
73546 #include <math.h>
73548 main ()
73550 ceilf (0); floorf (0);
73552 return 0;
73554 _ACEOF
73555 if ac_fn_cxx_try_compile "$LINENO"; then :
73556 glibcxx_cv_func_float_round_use=yes
73557 else
73558 glibcxx_cv_func_float_round_use=no
73560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73561 ac_ext=c
73562 ac_cpp='$CPP $CPPFLAGS'
73563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73570 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73571 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73572 for ac_func in ceilf floorf
73573 do :
73574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73576 eval as_val=\$$as_ac_var
73577 if test "x$as_val" = x""yes; then :
73578 cat >>confdefs.h <<_ACEOF
73579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73580 _ACEOF
73583 done
73585 else
73586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73587 $as_echo_n "checking for _float round functions... " >&6; }
73588 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73589 $as_echo_n "(cached) " >&6
73590 else
73593 ac_ext=cpp
73594 ac_cpp='$CXXCPP $CPPFLAGS'
73595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73600 /* end confdefs.h. */
73601 #include <math.h>
73603 main ()
73605 _ceilf (0); _floorf (0);
73607 return 0;
73609 _ACEOF
73610 if ac_fn_cxx_try_compile "$LINENO"; then :
73611 glibcxx_cv_func__float_round_use=yes
73612 else
73613 glibcxx_cv_func__float_round_use=no
73615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73616 ac_ext=c
73617 ac_cpp='$CPP $CPPFLAGS'
73618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73625 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73626 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73627 for ac_func in _ceilf _floorf
73628 do :
73629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73631 eval as_val=\$$as_ac_var
73632 if test "x$as_val" = x""yes; then :
73633 cat >>confdefs.h <<_ACEOF
73634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73635 _ACEOF
73638 done
73648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73649 $as_echo_n "checking for expf declaration... " >&6; }
73650 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73651 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73652 $as_echo_n "(cached) " >&6
73653 else
73656 ac_ext=cpp
73657 ac_cpp='$CXXCPP $CPPFLAGS'
73658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73663 /* end confdefs.h. */
73664 #include <math.h>
73665 #ifdef HAVE_IEEEFP_H
73666 #include <ieeefp.h>
73667 #endif
73670 main ()
73672 expf(0);
73674 return 0;
73676 _ACEOF
73677 if ac_fn_cxx_try_compile "$LINENO"; then :
73678 glibcxx_cv_func_expf_use=yes
73679 else
73680 glibcxx_cv_func_expf_use=no
73682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73683 ac_ext=c
73684 ac_cpp='$CPP $CPPFLAGS'
73685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73694 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73696 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73697 for ac_func in expf
73698 do :
73699 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73700 if test "x$ac_cv_func_expf" = x""yes; then :
73701 cat >>confdefs.h <<_ACEOF
73702 #define HAVE_EXPF 1
73703 _ACEOF
73706 done
73708 else
73710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73711 $as_echo_n "checking for _expf declaration... " >&6; }
73712 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73713 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73714 $as_echo_n "(cached) " >&6
73715 else
73718 ac_ext=cpp
73719 ac_cpp='$CXXCPP $CPPFLAGS'
73720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73725 /* end confdefs.h. */
73726 #include <math.h>
73727 #ifdef HAVE_IEEEFP_H
73728 #include <ieeefp.h>
73729 #endif
73732 main ()
73734 _expf(0);
73736 return 0;
73738 _ACEOF
73739 if ac_fn_cxx_try_compile "$LINENO"; then :
73740 glibcxx_cv_func__expf_use=yes
73741 else
73742 glibcxx_cv_func__expf_use=no
73744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73745 ac_ext=c
73746 ac_cpp='$CPP $CPPFLAGS'
73747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73756 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73758 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73759 for ac_func in _expf
73760 do :
73761 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73762 if test "x$ac_cv_func__expf" = x""yes; then :
73763 cat >>confdefs.h <<_ACEOF
73764 #define HAVE__EXPF 1
73765 _ACEOF
73768 done
73777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73778 $as_echo_n "checking for isnanf declaration... " >&6; }
73779 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73780 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73781 $as_echo_n "(cached) " >&6
73782 else
73785 ac_ext=cpp
73786 ac_cpp='$CXXCPP $CPPFLAGS'
73787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73792 /* end confdefs.h. */
73793 #include <math.h>
73794 #ifdef HAVE_IEEEFP_H
73795 #include <ieeefp.h>
73796 #endif
73799 main ()
73801 isnanf(0);
73803 return 0;
73805 _ACEOF
73806 if ac_fn_cxx_try_compile "$LINENO"; then :
73807 glibcxx_cv_func_isnanf_use=yes
73808 else
73809 glibcxx_cv_func_isnanf_use=no
73811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73812 ac_ext=c
73813 ac_cpp='$CPP $CPPFLAGS'
73814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73823 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73825 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73826 for ac_func in isnanf
73827 do :
73828 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73829 if test "x$ac_cv_func_isnanf" = x""yes; then :
73830 cat >>confdefs.h <<_ACEOF
73831 #define HAVE_ISNANF 1
73832 _ACEOF
73835 done
73837 else
73839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73840 $as_echo_n "checking for _isnanf declaration... " >&6; }
73841 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73842 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73843 $as_echo_n "(cached) " >&6
73844 else
73847 ac_ext=cpp
73848 ac_cpp='$CXXCPP $CPPFLAGS'
73849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73854 /* end confdefs.h. */
73855 #include <math.h>
73856 #ifdef HAVE_IEEEFP_H
73857 #include <ieeefp.h>
73858 #endif
73861 main ()
73863 _isnanf(0);
73865 return 0;
73867 _ACEOF
73868 if ac_fn_cxx_try_compile "$LINENO"; then :
73869 glibcxx_cv_func__isnanf_use=yes
73870 else
73871 glibcxx_cv_func__isnanf_use=no
73873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73874 ac_ext=c
73875 ac_cpp='$CPP $CPPFLAGS'
73876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73885 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73887 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73888 for ac_func in _isnanf
73889 do :
73890 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73891 if test "x$ac_cv_func__isnanf" = x""yes; then :
73892 cat >>confdefs.h <<_ACEOF
73893 #define HAVE__ISNANF 1
73894 _ACEOF
73897 done
73906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73907 $as_echo_n "checking for isinff declaration... " >&6; }
73908 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73909 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73910 $as_echo_n "(cached) " >&6
73911 else
73914 ac_ext=cpp
73915 ac_cpp='$CXXCPP $CPPFLAGS'
73916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73921 /* end confdefs.h. */
73922 #include <math.h>
73923 #ifdef HAVE_IEEEFP_H
73924 #include <ieeefp.h>
73925 #endif
73928 main ()
73930 isinff(0);
73932 return 0;
73934 _ACEOF
73935 if ac_fn_cxx_try_compile "$LINENO"; then :
73936 glibcxx_cv_func_isinff_use=yes
73937 else
73938 glibcxx_cv_func_isinff_use=no
73940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73941 ac_ext=c
73942 ac_cpp='$CPP $CPPFLAGS'
73943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73952 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73954 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73955 for ac_func in isinff
73956 do :
73957 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73958 if test "x$ac_cv_func_isinff" = x""yes; then :
73959 cat >>confdefs.h <<_ACEOF
73960 #define HAVE_ISINFF 1
73961 _ACEOF
73964 done
73966 else
73968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73969 $as_echo_n "checking for _isinff declaration... " >&6; }
73970 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73971 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73972 $as_echo_n "(cached) " >&6
73973 else
73976 ac_ext=cpp
73977 ac_cpp='$CXXCPP $CPPFLAGS'
73978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73983 /* end confdefs.h. */
73984 #include <math.h>
73985 #ifdef HAVE_IEEEFP_H
73986 #include <ieeefp.h>
73987 #endif
73990 main ()
73992 _isinff(0);
73994 return 0;
73996 _ACEOF
73997 if ac_fn_cxx_try_compile "$LINENO"; then :
73998 glibcxx_cv_func__isinff_use=yes
73999 else
74000 glibcxx_cv_func__isinff_use=no
74002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74003 ac_ext=c
74004 ac_cpp='$CPP $CPPFLAGS'
74005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74014 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74016 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74017 for ac_func in _isinff
74018 do :
74019 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74020 if test "x$ac_cv_func__isinff" = x""yes; then :
74021 cat >>confdefs.h <<_ACEOF
74022 #define HAVE__ISINFF 1
74023 _ACEOF
74026 done
74035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74036 $as_echo_n "checking for atan2f declaration... " >&6; }
74037 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74038 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74039 $as_echo_n "(cached) " >&6
74040 else
74043 ac_ext=cpp
74044 ac_cpp='$CXXCPP $CPPFLAGS'
74045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74050 /* end confdefs.h. */
74051 #include <math.h>
74053 main ()
74055 atan2f(0, 0);
74057 return 0;
74059 _ACEOF
74060 if ac_fn_cxx_try_compile "$LINENO"; then :
74061 glibcxx_cv_func_atan2f_use=yes
74062 else
74063 glibcxx_cv_func_atan2f_use=no
74065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74066 ac_ext=c
74067 ac_cpp='$CPP $CPPFLAGS'
74068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74077 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74079 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74080 for ac_func in atan2f
74081 do :
74082 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74083 if test "x$ac_cv_func_atan2f" = x""yes; then :
74084 cat >>confdefs.h <<_ACEOF
74085 #define HAVE_ATAN2F 1
74086 _ACEOF
74089 done
74091 else
74093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74094 $as_echo_n "checking for _atan2f declaration... " >&6; }
74095 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74096 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74097 $as_echo_n "(cached) " >&6
74098 else
74101 ac_ext=cpp
74102 ac_cpp='$CXXCPP $CPPFLAGS'
74103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74108 /* end confdefs.h. */
74109 #include <math.h>
74111 main ()
74113 _atan2f(0, 0);
74115 return 0;
74117 _ACEOF
74118 if ac_fn_cxx_try_compile "$LINENO"; then :
74119 glibcxx_cv_func__atan2f_use=yes
74120 else
74121 glibcxx_cv_func__atan2f_use=no
74123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74124 ac_ext=c
74125 ac_cpp='$CPP $CPPFLAGS'
74126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74135 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74137 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74138 for ac_func in _atan2f
74139 do :
74140 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74141 if test "x$ac_cv_func__atan2f" = x""yes; then :
74142 cat >>confdefs.h <<_ACEOF
74143 #define HAVE__ATAN2F 1
74144 _ACEOF
74147 done
74156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74157 $as_echo_n "checking for fabsf declaration... " >&6; }
74158 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74159 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74160 $as_echo_n "(cached) " >&6
74161 else
74164 ac_ext=cpp
74165 ac_cpp='$CXXCPP $CPPFLAGS'
74166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74171 /* end confdefs.h. */
74172 #include <math.h>
74173 #ifdef HAVE_IEEEFP_H
74174 #include <ieeefp.h>
74175 #endif
74178 main ()
74180 fabsf(0);
74182 return 0;
74184 _ACEOF
74185 if ac_fn_cxx_try_compile "$LINENO"; then :
74186 glibcxx_cv_func_fabsf_use=yes
74187 else
74188 glibcxx_cv_func_fabsf_use=no
74190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74191 ac_ext=c
74192 ac_cpp='$CPP $CPPFLAGS'
74193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74202 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74204 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74205 for ac_func in fabsf
74206 do :
74207 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74208 if test "x$ac_cv_func_fabsf" = x""yes; then :
74209 cat >>confdefs.h <<_ACEOF
74210 #define HAVE_FABSF 1
74211 _ACEOF
74214 done
74216 else
74218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74219 $as_echo_n "checking for _fabsf declaration... " >&6; }
74220 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74221 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74222 $as_echo_n "(cached) " >&6
74223 else
74226 ac_ext=cpp
74227 ac_cpp='$CXXCPP $CPPFLAGS'
74228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74233 /* end confdefs.h. */
74234 #include <math.h>
74235 #ifdef HAVE_IEEEFP_H
74236 #include <ieeefp.h>
74237 #endif
74240 main ()
74242 _fabsf(0);
74244 return 0;
74246 _ACEOF
74247 if ac_fn_cxx_try_compile "$LINENO"; then :
74248 glibcxx_cv_func__fabsf_use=yes
74249 else
74250 glibcxx_cv_func__fabsf_use=no
74252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74253 ac_ext=c
74254 ac_cpp='$CPP $CPPFLAGS'
74255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74264 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74266 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74267 for ac_func in _fabsf
74268 do :
74269 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74270 if test "x$ac_cv_func__fabsf" = x""yes; then :
74271 cat >>confdefs.h <<_ACEOF
74272 #define HAVE__FABSF 1
74273 _ACEOF
74276 done
74285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74286 $as_echo_n "checking for fmodf declaration... " >&6; }
74287 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74288 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74289 $as_echo_n "(cached) " >&6
74290 else
74293 ac_ext=cpp
74294 ac_cpp='$CXXCPP $CPPFLAGS'
74295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74300 /* end confdefs.h. */
74301 #include <math.h>
74303 main ()
74305 fmodf(0, 0);
74307 return 0;
74309 _ACEOF
74310 if ac_fn_cxx_try_compile "$LINENO"; then :
74311 glibcxx_cv_func_fmodf_use=yes
74312 else
74313 glibcxx_cv_func_fmodf_use=no
74315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74316 ac_ext=c
74317 ac_cpp='$CPP $CPPFLAGS'
74318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74327 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74329 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74330 for ac_func in fmodf
74331 do :
74332 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74333 if test "x$ac_cv_func_fmodf" = x""yes; then :
74334 cat >>confdefs.h <<_ACEOF
74335 #define HAVE_FMODF 1
74336 _ACEOF
74339 done
74341 else
74343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74344 $as_echo_n "checking for _fmodf declaration... " >&6; }
74345 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74346 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74347 $as_echo_n "(cached) " >&6
74348 else
74351 ac_ext=cpp
74352 ac_cpp='$CXXCPP $CPPFLAGS'
74353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74358 /* end confdefs.h. */
74359 #include <math.h>
74361 main ()
74363 _fmodf(0, 0);
74365 return 0;
74367 _ACEOF
74368 if ac_fn_cxx_try_compile "$LINENO"; then :
74369 glibcxx_cv_func__fmodf_use=yes
74370 else
74371 glibcxx_cv_func__fmodf_use=no
74373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74374 ac_ext=c
74375 ac_cpp='$CPP $CPPFLAGS'
74376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74385 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74387 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74388 for ac_func in _fmodf
74389 do :
74390 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74391 if test "x$ac_cv_func__fmodf" = x""yes; then :
74392 cat >>confdefs.h <<_ACEOF
74393 #define HAVE__FMODF 1
74394 _ACEOF
74397 done
74406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74407 $as_echo_n "checking for frexpf declaration... " >&6; }
74408 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74409 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74410 $as_echo_n "(cached) " >&6
74411 else
74414 ac_ext=cpp
74415 ac_cpp='$CXXCPP $CPPFLAGS'
74416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74421 /* end confdefs.h. */
74422 #include <math.h>
74424 main ()
74426 frexpf(0, 0);
74428 return 0;
74430 _ACEOF
74431 if ac_fn_cxx_try_compile "$LINENO"; then :
74432 glibcxx_cv_func_frexpf_use=yes
74433 else
74434 glibcxx_cv_func_frexpf_use=no
74436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74437 ac_ext=c
74438 ac_cpp='$CPP $CPPFLAGS'
74439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74448 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74450 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74451 for ac_func in frexpf
74452 do :
74453 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74454 if test "x$ac_cv_func_frexpf" = x""yes; then :
74455 cat >>confdefs.h <<_ACEOF
74456 #define HAVE_FREXPF 1
74457 _ACEOF
74460 done
74462 else
74464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74465 $as_echo_n "checking for _frexpf declaration... " >&6; }
74466 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74467 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74468 $as_echo_n "(cached) " >&6
74469 else
74472 ac_ext=cpp
74473 ac_cpp='$CXXCPP $CPPFLAGS'
74474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74479 /* end confdefs.h. */
74480 #include <math.h>
74482 main ()
74484 _frexpf(0, 0);
74486 return 0;
74488 _ACEOF
74489 if ac_fn_cxx_try_compile "$LINENO"; then :
74490 glibcxx_cv_func__frexpf_use=yes
74491 else
74492 glibcxx_cv_func__frexpf_use=no
74494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74495 ac_ext=c
74496 ac_cpp='$CPP $CPPFLAGS'
74497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74506 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74508 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74509 for ac_func in _frexpf
74510 do :
74511 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74512 if test "x$ac_cv_func__frexpf" = x""yes; then :
74513 cat >>confdefs.h <<_ACEOF
74514 #define HAVE__FREXPF 1
74515 _ACEOF
74518 done
74527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74528 $as_echo_n "checking for hypotf declaration... " >&6; }
74529 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74530 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74531 $as_echo_n "(cached) " >&6
74532 else
74535 ac_ext=cpp
74536 ac_cpp='$CXXCPP $CPPFLAGS'
74537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74542 /* end confdefs.h. */
74543 #include <math.h>
74545 main ()
74547 hypotf(0, 0);
74549 return 0;
74551 _ACEOF
74552 if ac_fn_cxx_try_compile "$LINENO"; then :
74553 glibcxx_cv_func_hypotf_use=yes
74554 else
74555 glibcxx_cv_func_hypotf_use=no
74557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74558 ac_ext=c
74559 ac_cpp='$CPP $CPPFLAGS'
74560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74569 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74571 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74572 for ac_func in hypotf
74573 do :
74574 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74575 if test "x$ac_cv_func_hypotf" = x""yes; then :
74576 cat >>confdefs.h <<_ACEOF
74577 #define HAVE_HYPOTF 1
74578 _ACEOF
74581 done
74583 else
74585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74586 $as_echo_n "checking for _hypotf declaration... " >&6; }
74587 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74588 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74589 $as_echo_n "(cached) " >&6
74590 else
74593 ac_ext=cpp
74594 ac_cpp='$CXXCPP $CPPFLAGS'
74595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74600 /* end confdefs.h. */
74601 #include <math.h>
74603 main ()
74605 _hypotf(0, 0);
74607 return 0;
74609 _ACEOF
74610 if ac_fn_cxx_try_compile "$LINENO"; then :
74611 glibcxx_cv_func__hypotf_use=yes
74612 else
74613 glibcxx_cv_func__hypotf_use=no
74615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74616 ac_ext=c
74617 ac_cpp='$CPP $CPPFLAGS'
74618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74627 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74629 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74630 for ac_func in _hypotf
74631 do :
74632 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74633 if test "x$ac_cv_func__hypotf" = x""yes; then :
74634 cat >>confdefs.h <<_ACEOF
74635 #define HAVE__HYPOTF 1
74636 _ACEOF
74639 done
74648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74649 $as_echo_n "checking for ldexpf declaration... " >&6; }
74650 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74651 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74652 $as_echo_n "(cached) " >&6
74653 else
74656 ac_ext=cpp
74657 ac_cpp='$CXXCPP $CPPFLAGS'
74658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74663 /* end confdefs.h. */
74664 #include <math.h>
74666 main ()
74668 ldexpf(0, 0);
74670 return 0;
74672 _ACEOF
74673 if ac_fn_cxx_try_compile "$LINENO"; then :
74674 glibcxx_cv_func_ldexpf_use=yes
74675 else
74676 glibcxx_cv_func_ldexpf_use=no
74678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74679 ac_ext=c
74680 ac_cpp='$CPP $CPPFLAGS'
74681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74690 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74692 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74693 for ac_func in ldexpf
74694 do :
74695 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74696 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74697 cat >>confdefs.h <<_ACEOF
74698 #define HAVE_LDEXPF 1
74699 _ACEOF
74702 done
74704 else
74706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74707 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74708 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74709 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74710 $as_echo_n "(cached) " >&6
74711 else
74714 ac_ext=cpp
74715 ac_cpp='$CXXCPP $CPPFLAGS'
74716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74721 /* end confdefs.h. */
74722 #include <math.h>
74724 main ()
74726 _ldexpf(0, 0);
74728 return 0;
74730 _ACEOF
74731 if ac_fn_cxx_try_compile "$LINENO"; then :
74732 glibcxx_cv_func__ldexpf_use=yes
74733 else
74734 glibcxx_cv_func__ldexpf_use=no
74736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74737 ac_ext=c
74738 ac_cpp='$CPP $CPPFLAGS'
74739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74748 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74750 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74751 for ac_func in _ldexpf
74752 do :
74753 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74754 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74755 cat >>confdefs.h <<_ACEOF
74756 #define HAVE__LDEXPF 1
74757 _ACEOF
74760 done
74769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74770 $as_echo_n "checking for logf declaration... " >&6; }
74771 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74772 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74773 $as_echo_n "(cached) " >&6
74774 else
74777 ac_ext=cpp
74778 ac_cpp='$CXXCPP $CPPFLAGS'
74779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74784 /* end confdefs.h. */
74785 #include <math.h>
74786 #ifdef HAVE_IEEEFP_H
74787 #include <ieeefp.h>
74788 #endif
74791 main ()
74793 logf(0);
74795 return 0;
74797 _ACEOF
74798 if ac_fn_cxx_try_compile "$LINENO"; then :
74799 glibcxx_cv_func_logf_use=yes
74800 else
74801 glibcxx_cv_func_logf_use=no
74803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74804 ac_ext=c
74805 ac_cpp='$CPP $CPPFLAGS'
74806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74815 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74817 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74818 for ac_func in logf
74819 do :
74820 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74821 if test "x$ac_cv_func_logf" = x""yes; then :
74822 cat >>confdefs.h <<_ACEOF
74823 #define HAVE_LOGF 1
74824 _ACEOF
74827 done
74829 else
74831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74832 $as_echo_n "checking for _logf declaration... " >&6; }
74833 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74834 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74835 $as_echo_n "(cached) " >&6
74836 else
74839 ac_ext=cpp
74840 ac_cpp='$CXXCPP $CPPFLAGS'
74841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74846 /* end confdefs.h. */
74847 #include <math.h>
74848 #ifdef HAVE_IEEEFP_H
74849 #include <ieeefp.h>
74850 #endif
74853 main ()
74855 _logf(0);
74857 return 0;
74859 _ACEOF
74860 if ac_fn_cxx_try_compile "$LINENO"; then :
74861 glibcxx_cv_func__logf_use=yes
74862 else
74863 glibcxx_cv_func__logf_use=no
74865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74866 ac_ext=c
74867 ac_cpp='$CPP $CPPFLAGS'
74868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74877 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74879 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74880 for ac_func in _logf
74881 do :
74882 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74883 if test "x$ac_cv_func__logf" = x""yes; then :
74884 cat >>confdefs.h <<_ACEOF
74885 #define HAVE__LOGF 1
74886 _ACEOF
74889 done
74898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74899 $as_echo_n "checking for log10f declaration... " >&6; }
74900 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74901 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74902 $as_echo_n "(cached) " >&6
74903 else
74906 ac_ext=cpp
74907 ac_cpp='$CXXCPP $CPPFLAGS'
74908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74913 /* end confdefs.h. */
74914 #include <math.h>
74915 #ifdef HAVE_IEEEFP_H
74916 #include <ieeefp.h>
74917 #endif
74920 main ()
74922 log10f(0);
74924 return 0;
74926 _ACEOF
74927 if ac_fn_cxx_try_compile "$LINENO"; then :
74928 glibcxx_cv_func_log10f_use=yes
74929 else
74930 glibcxx_cv_func_log10f_use=no
74932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74933 ac_ext=c
74934 ac_cpp='$CPP $CPPFLAGS'
74935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74944 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74946 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74947 for ac_func in log10f
74948 do :
74949 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74950 if test "x$ac_cv_func_log10f" = x""yes; then :
74951 cat >>confdefs.h <<_ACEOF
74952 #define HAVE_LOG10F 1
74953 _ACEOF
74956 done
74958 else
74960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74961 $as_echo_n "checking for _log10f declaration... " >&6; }
74962 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74963 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74964 $as_echo_n "(cached) " >&6
74965 else
74968 ac_ext=cpp
74969 ac_cpp='$CXXCPP $CPPFLAGS'
74970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74975 /* end confdefs.h. */
74976 #include <math.h>
74977 #ifdef HAVE_IEEEFP_H
74978 #include <ieeefp.h>
74979 #endif
74982 main ()
74984 _log10f(0);
74986 return 0;
74988 _ACEOF
74989 if ac_fn_cxx_try_compile "$LINENO"; then :
74990 glibcxx_cv_func__log10f_use=yes
74991 else
74992 glibcxx_cv_func__log10f_use=no
74994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74995 ac_ext=c
74996 ac_cpp='$CPP $CPPFLAGS'
74997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75006 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75008 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75009 for ac_func in _log10f
75010 do :
75011 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75012 if test "x$ac_cv_func__log10f" = x""yes; then :
75013 cat >>confdefs.h <<_ACEOF
75014 #define HAVE__LOG10F 1
75015 _ACEOF
75018 done
75027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75028 $as_echo_n "checking for modff declaration... " >&6; }
75029 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75030 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75031 $as_echo_n "(cached) " >&6
75032 else
75035 ac_ext=cpp
75036 ac_cpp='$CXXCPP $CPPFLAGS'
75037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75042 /* end confdefs.h. */
75043 #include <math.h>
75045 main ()
75047 modff(0, 0);
75049 return 0;
75051 _ACEOF
75052 if ac_fn_cxx_try_compile "$LINENO"; then :
75053 glibcxx_cv_func_modff_use=yes
75054 else
75055 glibcxx_cv_func_modff_use=no
75057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75058 ac_ext=c
75059 ac_cpp='$CPP $CPPFLAGS'
75060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75069 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75071 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75072 for ac_func in modff
75073 do :
75074 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75075 if test "x$ac_cv_func_modff" = x""yes; then :
75076 cat >>confdefs.h <<_ACEOF
75077 #define HAVE_MODFF 1
75078 _ACEOF
75081 done
75083 else
75085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75086 $as_echo_n "checking for _modff declaration... " >&6; }
75087 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75088 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75089 $as_echo_n "(cached) " >&6
75090 else
75093 ac_ext=cpp
75094 ac_cpp='$CXXCPP $CPPFLAGS'
75095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75100 /* end confdefs.h. */
75101 #include <math.h>
75103 main ()
75105 _modff(0, 0);
75107 return 0;
75109 _ACEOF
75110 if ac_fn_cxx_try_compile "$LINENO"; then :
75111 glibcxx_cv_func__modff_use=yes
75112 else
75113 glibcxx_cv_func__modff_use=no
75115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75116 ac_ext=c
75117 ac_cpp='$CPP $CPPFLAGS'
75118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75127 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75129 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75130 for ac_func in _modff
75131 do :
75132 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75133 if test "x$ac_cv_func__modff" = x""yes; then :
75134 cat >>confdefs.h <<_ACEOF
75135 #define HAVE__MODFF 1
75136 _ACEOF
75139 done
75148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75149 $as_echo_n "checking for modf declaration... " >&6; }
75150 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75151 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75152 $as_echo_n "(cached) " >&6
75153 else
75156 ac_ext=cpp
75157 ac_cpp='$CXXCPP $CPPFLAGS'
75158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75163 /* end confdefs.h. */
75164 #include <math.h>
75166 main ()
75168 modf(0, 0);
75170 return 0;
75172 _ACEOF
75173 if ac_fn_cxx_try_compile "$LINENO"; then :
75174 glibcxx_cv_func_modf_use=yes
75175 else
75176 glibcxx_cv_func_modf_use=no
75178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75179 ac_ext=c
75180 ac_cpp='$CPP $CPPFLAGS'
75181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75190 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75192 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75193 for ac_func in modf
75194 do :
75195 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75196 if test "x$ac_cv_func_modf" = x""yes; then :
75197 cat >>confdefs.h <<_ACEOF
75198 #define HAVE_MODF 1
75199 _ACEOF
75202 done
75204 else
75206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75207 $as_echo_n "checking for _modf declaration... " >&6; }
75208 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75209 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75210 $as_echo_n "(cached) " >&6
75211 else
75214 ac_ext=cpp
75215 ac_cpp='$CXXCPP $CPPFLAGS'
75216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75221 /* end confdefs.h. */
75222 #include <math.h>
75224 main ()
75226 _modf(0, 0);
75228 return 0;
75230 _ACEOF
75231 if ac_fn_cxx_try_compile "$LINENO"; then :
75232 glibcxx_cv_func__modf_use=yes
75233 else
75234 glibcxx_cv_func__modf_use=no
75236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75237 ac_ext=c
75238 ac_cpp='$CPP $CPPFLAGS'
75239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75248 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75250 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75251 for ac_func in _modf
75252 do :
75253 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75254 if test "x$ac_cv_func__modf" = x""yes; then :
75255 cat >>confdefs.h <<_ACEOF
75256 #define HAVE__MODF 1
75257 _ACEOF
75260 done
75269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75270 $as_echo_n "checking for powf declaration... " >&6; }
75271 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75272 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75273 $as_echo_n "(cached) " >&6
75274 else
75277 ac_ext=cpp
75278 ac_cpp='$CXXCPP $CPPFLAGS'
75279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75284 /* end confdefs.h. */
75285 #include <math.h>
75287 main ()
75289 powf(0, 0);
75291 return 0;
75293 _ACEOF
75294 if ac_fn_cxx_try_compile "$LINENO"; then :
75295 glibcxx_cv_func_powf_use=yes
75296 else
75297 glibcxx_cv_func_powf_use=no
75299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75300 ac_ext=c
75301 ac_cpp='$CPP $CPPFLAGS'
75302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75311 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75313 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75314 for ac_func in powf
75315 do :
75316 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75317 if test "x$ac_cv_func_powf" = x""yes; then :
75318 cat >>confdefs.h <<_ACEOF
75319 #define HAVE_POWF 1
75320 _ACEOF
75323 done
75325 else
75327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75328 $as_echo_n "checking for _powf declaration... " >&6; }
75329 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75330 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75331 $as_echo_n "(cached) " >&6
75332 else
75335 ac_ext=cpp
75336 ac_cpp='$CXXCPP $CPPFLAGS'
75337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75342 /* end confdefs.h. */
75343 #include <math.h>
75345 main ()
75347 _powf(0, 0);
75349 return 0;
75351 _ACEOF
75352 if ac_fn_cxx_try_compile "$LINENO"; then :
75353 glibcxx_cv_func__powf_use=yes
75354 else
75355 glibcxx_cv_func__powf_use=no
75357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75358 ac_ext=c
75359 ac_cpp='$CPP $CPPFLAGS'
75360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75369 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75371 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75372 for ac_func in _powf
75373 do :
75374 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75375 if test "x$ac_cv_func__powf" = x""yes; then :
75376 cat >>confdefs.h <<_ACEOF
75377 #define HAVE__POWF 1
75378 _ACEOF
75381 done
75390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75391 $as_echo_n "checking for sqrtf declaration... " >&6; }
75392 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75393 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75394 $as_echo_n "(cached) " >&6
75395 else
75398 ac_ext=cpp
75399 ac_cpp='$CXXCPP $CPPFLAGS'
75400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75405 /* end confdefs.h. */
75406 #include <math.h>
75407 #ifdef HAVE_IEEEFP_H
75408 #include <ieeefp.h>
75409 #endif
75412 main ()
75414 sqrtf(0);
75416 return 0;
75418 _ACEOF
75419 if ac_fn_cxx_try_compile "$LINENO"; then :
75420 glibcxx_cv_func_sqrtf_use=yes
75421 else
75422 glibcxx_cv_func_sqrtf_use=no
75424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75425 ac_ext=c
75426 ac_cpp='$CPP $CPPFLAGS'
75427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75436 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75438 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75439 for ac_func in sqrtf
75440 do :
75441 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75442 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75443 cat >>confdefs.h <<_ACEOF
75444 #define HAVE_SQRTF 1
75445 _ACEOF
75448 done
75450 else
75452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75453 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75454 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75455 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75456 $as_echo_n "(cached) " >&6
75457 else
75460 ac_ext=cpp
75461 ac_cpp='$CXXCPP $CPPFLAGS'
75462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75467 /* end confdefs.h. */
75468 #include <math.h>
75469 #ifdef HAVE_IEEEFP_H
75470 #include <ieeefp.h>
75471 #endif
75474 main ()
75476 _sqrtf(0);
75478 return 0;
75480 _ACEOF
75481 if ac_fn_cxx_try_compile "$LINENO"; then :
75482 glibcxx_cv_func__sqrtf_use=yes
75483 else
75484 glibcxx_cv_func__sqrtf_use=no
75486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75487 ac_ext=c
75488 ac_cpp='$CPP $CPPFLAGS'
75489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75498 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75500 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75501 for ac_func in _sqrtf
75502 do :
75503 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75504 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75505 cat >>confdefs.h <<_ACEOF
75506 #define HAVE__SQRTF 1
75507 _ACEOF
75510 done
75519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75520 $as_echo_n "checking for sincosf declaration... " >&6; }
75521 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75522 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75523 $as_echo_n "(cached) " >&6
75524 else
75527 ac_ext=cpp
75528 ac_cpp='$CXXCPP $CPPFLAGS'
75529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75534 /* end confdefs.h. */
75535 #include <math.h>
75537 main ()
75539 sincosf(0, 0, 0);
75541 return 0;
75543 _ACEOF
75544 if ac_fn_cxx_try_compile "$LINENO"; then :
75545 glibcxx_cv_func_sincosf_use=yes
75546 else
75547 glibcxx_cv_func_sincosf_use=no
75549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75550 ac_ext=c
75551 ac_cpp='$CPP $CPPFLAGS'
75552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75561 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75563 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75564 for ac_func in sincosf
75565 do :
75566 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75567 if test "x$ac_cv_func_sincosf" = x""yes; then :
75568 cat >>confdefs.h <<_ACEOF
75569 #define HAVE_SINCOSF 1
75570 _ACEOF
75573 done
75575 else
75577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75578 $as_echo_n "checking for _sincosf declaration... " >&6; }
75579 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75580 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75581 $as_echo_n "(cached) " >&6
75582 else
75585 ac_ext=cpp
75586 ac_cpp='$CXXCPP $CPPFLAGS'
75587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75592 /* end confdefs.h. */
75593 #include <math.h>
75595 main ()
75597 _sincosf(0, 0, 0);
75599 return 0;
75601 _ACEOF
75602 if ac_fn_cxx_try_compile "$LINENO"; then :
75603 glibcxx_cv_func__sincosf_use=yes
75604 else
75605 glibcxx_cv_func__sincosf_use=no
75607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75608 ac_ext=c
75609 ac_cpp='$CPP $CPPFLAGS'
75610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75619 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75621 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75622 for ac_func in _sincosf
75623 do :
75624 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75625 if test "x$ac_cv_func__sincosf" = x""yes; then :
75626 cat >>confdefs.h <<_ACEOF
75627 #define HAVE__SINCOSF 1
75628 _ACEOF
75631 done
75640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75641 $as_echo_n "checking for finitef declaration... " >&6; }
75642 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75643 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75644 $as_echo_n "(cached) " >&6
75645 else
75648 ac_ext=cpp
75649 ac_cpp='$CXXCPP $CPPFLAGS'
75650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75655 /* end confdefs.h. */
75656 #include <math.h>
75657 #ifdef HAVE_IEEEFP_H
75658 #include <ieeefp.h>
75659 #endif
75662 main ()
75664 finitef(0);
75666 return 0;
75668 _ACEOF
75669 if ac_fn_cxx_try_compile "$LINENO"; then :
75670 glibcxx_cv_func_finitef_use=yes
75671 else
75672 glibcxx_cv_func_finitef_use=no
75674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75675 ac_ext=c
75676 ac_cpp='$CPP $CPPFLAGS'
75677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75686 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75688 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75689 for ac_func in finitef
75690 do :
75691 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75692 if test "x$ac_cv_func_finitef" = x""yes; then :
75693 cat >>confdefs.h <<_ACEOF
75694 #define HAVE_FINITEF 1
75695 _ACEOF
75698 done
75700 else
75702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75703 $as_echo_n "checking for _finitef declaration... " >&6; }
75704 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75705 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75706 $as_echo_n "(cached) " >&6
75707 else
75710 ac_ext=cpp
75711 ac_cpp='$CXXCPP $CPPFLAGS'
75712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75717 /* end confdefs.h. */
75718 #include <math.h>
75719 #ifdef HAVE_IEEEFP_H
75720 #include <ieeefp.h>
75721 #endif
75724 main ()
75726 _finitef(0);
75728 return 0;
75730 _ACEOF
75731 if ac_fn_cxx_try_compile "$LINENO"; then :
75732 glibcxx_cv_func__finitef_use=yes
75733 else
75734 glibcxx_cv_func__finitef_use=no
75736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75737 ac_ext=c
75738 ac_cpp='$CPP $CPPFLAGS'
75739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75748 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75750 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75751 for ac_func in _finitef
75752 do :
75753 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75754 if test "x$ac_cv_func__finitef" = x""yes; then :
75755 cat >>confdefs.h <<_ACEOF
75756 #define HAVE__FINITEF 1
75757 _ACEOF
75760 done
75769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75770 $as_echo_n "checking for long double trig functions... " >&6; }
75771 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75772 $as_echo_n "(cached) " >&6
75773 else
75776 ac_ext=cpp
75777 ac_cpp='$CXXCPP $CPPFLAGS'
75778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75783 /* end confdefs.h. */
75784 #include <math.h>
75786 main ()
75788 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75790 return 0;
75792 _ACEOF
75793 if ac_fn_cxx_try_compile "$LINENO"; then :
75794 glibcxx_cv_func_long_double_trig_use=yes
75795 else
75796 glibcxx_cv_func_long_double_trig_use=no
75798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75799 ac_ext=c
75800 ac_cpp='$CPP $CPPFLAGS'
75801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75808 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75809 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75810 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75811 do :
75812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75814 eval as_val=\$$as_ac_var
75815 if test "x$as_val" = x""yes; then :
75816 cat >>confdefs.h <<_ACEOF
75817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75818 _ACEOF
75821 done
75823 else
75824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75825 $as_echo_n "checking for _long double trig functions... " >&6; }
75826 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75827 $as_echo_n "(cached) " >&6
75828 else
75831 ac_ext=cpp
75832 ac_cpp='$CXXCPP $CPPFLAGS'
75833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75838 /* end confdefs.h. */
75839 #include <math.h>
75841 main ()
75843 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75845 return 0;
75847 _ACEOF
75848 if ac_fn_cxx_try_compile "$LINENO"; then :
75849 glibcxx_cv_func__long_double_trig_use=yes
75850 else
75851 glibcxx_cv_func__long_double_trig_use=no
75853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75854 ac_ext=c
75855 ac_cpp='$CPP $CPPFLAGS'
75856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75863 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75864 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75865 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75866 do :
75867 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75869 eval as_val=\$$as_ac_var
75870 if test "x$as_val" = x""yes; then :
75871 cat >>confdefs.h <<_ACEOF
75872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75873 _ACEOF
75876 done
75885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75886 $as_echo_n "checking for long double round functions... " >&6; }
75887 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75888 $as_echo_n "(cached) " >&6
75889 else
75892 ac_ext=cpp
75893 ac_cpp='$CXXCPP $CPPFLAGS'
75894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75899 /* end confdefs.h. */
75900 #include <math.h>
75902 main ()
75904 ceill (0); floorl (0);
75906 return 0;
75908 _ACEOF
75909 if ac_fn_cxx_try_compile "$LINENO"; then :
75910 glibcxx_cv_func_long_double_round_use=yes
75911 else
75912 glibcxx_cv_func_long_double_round_use=no
75914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75915 ac_ext=c
75916 ac_cpp='$CPP $CPPFLAGS'
75917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75924 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75925 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75926 for ac_func in ceill floorl
75927 do :
75928 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75930 eval as_val=\$$as_ac_var
75931 if test "x$as_val" = x""yes; then :
75932 cat >>confdefs.h <<_ACEOF
75933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75934 _ACEOF
75937 done
75939 else
75940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75941 $as_echo_n "checking for _long double round functions... " >&6; }
75942 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75943 $as_echo_n "(cached) " >&6
75944 else
75947 ac_ext=cpp
75948 ac_cpp='$CXXCPP $CPPFLAGS'
75949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75954 /* end confdefs.h. */
75955 #include <math.h>
75957 main ()
75959 _ceill (0); _floorl (0);
75961 return 0;
75963 _ACEOF
75964 if ac_fn_cxx_try_compile "$LINENO"; then :
75965 glibcxx_cv_func__long_double_round_use=yes
75966 else
75967 glibcxx_cv_func__long_double_round_use=no
75969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75970 ac_ext=c
75971 ac_cpp='$CPP $CPPFLAGS'
75972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75979 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75980 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75981 for ac_func in _ceill _floorl
75982 do :
75983 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75985 eval as_val=\$$as_ac_var
75986 if test "x$as_val" = x""yes; then :
75987 cat >>confdefs.h <<_ACEOF
75988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75989 _ACEOF
75992 done
76002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76003 $as_echo_n "checking for isnanl declaration... " >&6; }
76004 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76005 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76006 $as_echo_n "(cached) " >&6
76007 else
76010 ac_ext=cpp
76011 ac_cpp='$CXXCPP $CPPFLAGS'
76012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76017 /* end confdefs.h. */
76018 #include <math.h>
76019 #ifdef HAVE_IEEEFP_H
76020 #include <ieeefp.h>
76021 #endif
76024 main ()
76026 isnanl(0);
76028 return 0;
76030 _ACEOF
76031 if ac_fn_cxx_try_compile "$LINENO"; then :
76032 glibcxx_cv_func_isnanl_use=yes
76033 else
76034 glibcxx_cv_func_isnanl_use=no
76036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76037 ac_ext=c
76038 ac_cpp='$CPP $CPPFLAGS'
76039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76048 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76050 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76051 for ac_func in isnanl
76052 do :
76053 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76054 if test "x$ac_cv_func_isnanl" = x""yes; then :
76055 cat >>confdefs.h <<_ACEOF
76056 #define HAVE_ISNANL 1
76057 _ACEOF
76060 done
76062 else
76064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76065 $as_echo_n "checking for _isnanl declaration... " >&6; }
76066 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76067 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76068 $as_echo_n "(cached) " >&6
76069 else
76072 ac_ext=cpp
76073 ac_cpp='$CXXCPP $CPPFLAGS'
76074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76079 /* end confdefs.h. */
76080 #include <math.h>
76081 #ifdef HAVE_IEEEFP_H
76082 #include <ieeefp.h>
76083 #endif
76086 main ()
76088 _isnanl(0);
76090 return 0;
76092 _ACEOF
76093 if ac_fn_cxx_try_compile "$LINENO"; then :
76094 glibcxx_cv_func__isnanl_use=yes
76095 else
76096 glibcxx_cv_func__isnanl_use=no
76098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76099 ac_ext=c
76100 ac_cpp='$CPP $CPPFLAGS'
76101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76110 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76112 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76113 for ac_func in _isnanl
76114 do :
76115 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76116 if test "x$ac_cv_func__isnanl" = x""yes; then :
76117 cat >>confdefs.h <<_ACEOF
76118 #define HAVE__ISNANL 1
76119 _ACEOF
76122 done
76131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76132 $as_echo_n "checking for isinfl declaration... " >&6; }
76133 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76134 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76135 $as_echo_n "(cached) " >&6
76136 else
76139 ac_ext=cpp
76140 ac_cpp='$CXXCPP $CPPFLAGS'
76141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76146 /* end confdefs.h. */
76147 #include <math.h>
76148 #ifdef HAVE_IEEEFP_H
76149 #include <ieeefp.h>
76150 #endif
76153 main ()
76155 isinfl(0);
76157 return 0;
76159 _ACEOF
76160 if ac_fn_cxx_try_compile "$LINENO"; then :
76161 glibcxx_cv_func_isinfl_use=yes
76162 else
76163 glibcxx_cv_func_isinfl_use=no
76165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76166 ac_ext=c
76167 ac_cpp='$CPP $CPPFLAGS'
76168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76177 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76179 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76180 for ac_func in isinfl
76181 do :
76182 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76183 if test "x$ac_cv_func_isinfl" = x""yes; then :
76184 cat >>confdefs.h <<_ACEOF
76185 #define HAVE_ISINFL 1
76186 _ACEOF
76189 done
76191 else
76193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76194 $as_echo_n "checking for _isinfl declaration... " >&6; }
76195 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76196 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76197 $as_echo_n "(cached) " >&6
76198 else
76201 ac_ext=cpp
76202 ac_cpp='$CXXCPP $CPPFLAGS'
76203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76208 /* end confdefs.h. */
76209 #include <math.h>
76210 #ifdef HAVE_IEEEFP_H
76211 #include <ieeefp.h>
76212 #endif
76215 main ()
76217 _isinfl(0);
76219 return 0;
76221 _ACEOF
76222 if ac_fn_cxx_try_compile "$LINENO"; then :
76223 glibcxx_cv_func__isinfl_use=yes
76224 else
76225 glibcxx_cv_func__isinfl_use=no
76227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76228 ac_ext=c
76229 ac_cpp='$CPP $CPPFLAGS'
76230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76239 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76241 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76242 for ac_func in _isinfl
76243 do :
76244 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76245 if test "x$ac_cv_func__isinfl" = x""yes; then :
76246 cat >>confdefs.h <<_ACEOF
76247 #define HAVE__ISINFL 1
76248 _ACEOF
76251 done
76260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76261 $as_echo_n "checking for atan2l declaration... " >&6; }
76262 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76263 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76264 $as_echo_n "(cached) " >&6
76265 else
76268 ac_ext=cpp
76269 ac_cpp='$CXXCPP $CPPFLAGS'
76270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76275 /* end confdefs.h. */
76276 #include <math.h>
76278 main ()
76280 atan2l(0, 0);
76282 return 0;
76284 _ACEOF
76285 if ac_fn_cxx_try_compile "$LINENO"; then :
76286 glibcxx_cv_func_atan2l_use=yes
76287 else
76288 glibcxx_cv_func_atan2l_use=no
76290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76291 ac_ext=c
76292 ac_cpp='$CPP $CPPFLAGS'
76293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76302 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76304 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76305 for ac_func in atan2l
76306 do :
76307 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76308 if test "x$ac_cv_func_atan2l" = x""yes; then :
76309 cat >>confdefs.h <<_ACEOF
76310 #define HAVE_ATAN2L 1
76311 _ACEOF
76314 done
76316 else
76318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76319 $as_echo_n "checking for _atan2l declaration... " >&6; }
76320 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76321 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76322 $as_echo_n "(cached) " >&6
76323 else
76326 ac_ext=cpp
76327 ac_cpp='$CXXCPP $CPPFLAGS'
76328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76333 /* end confdefs.h. */
76334 #include <math.h>
76336 main ()
76338 _atan2l(0, 0);
76340 return 0;
76342 _ACEOF
76343 if ac_fn_cxx_try_compile "$LINENO"; then :
76344 glibcxx_cv_func__atan2l_use=yes
76345 else
76346 glibcxx_cv_func__atan2l_use=no
76348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76349 ac_ext=c
76350 ac_cpp='$CPP $CPPFLAGS'
76351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76360 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76362 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76363 for ac_func in _atan2l
76364 do :
76365 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76366 if test "x$ac_cv_func__atan2l" = x""yes; then :
76367 cat >>confdefs.h <<_ACEOF
76368 #define HAVE__ATAN2L 1
76369 _ACEOF
76372 done
76381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76382 $as_echo_n "checking for expl declaration... " >&6; }
76383 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76384 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76385 $as_echo_n "(cached) " >&6
76386 else
76389 ac_ext=cpp
76390 ac_cpp='$CXXCPP $CPPFLAGS'
76391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76396 /* end confdefs.h. */
76397 #include <math.h>
76398 #ifdef HAVE_IEEEFP_H
76399 #include <ieeefp.h>
76400 #endif
76403 main ()
76405 expl(0);
76407 return 0;
76409 _ACEOF
76410 if ac_fn_cxx_try_compile "$LINENO"; then :
76411 glibcxx_cv_func_expl_use=yes
76412 else
76413 glibcxx_cv_func_expl_use=no
76415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76416 ac_ext=c
76417 ac_cpp='$CPP $CPPFLAGS'
76418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76427 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76429 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76430 for ac_func in expl
76431 do :
76432 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76433 if test "x$ac_cv_func_expl" = x""yes; then :
76434 cat >>confdefs.h <<_ACEOF
76435 #define HAVE_EXPL 1
76436 _ACEOF
76439 done
76441 else
76443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76444 $as_echo_n "checking for _expl declaration... " >&6; }
76445 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76446 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76447 $as_echo_n "(cached) " >&6
76448 else
76451 ac_ext=cpp
76452 ac_cpp='$CXXCPP $CPPFLAGS'
76453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76458 /* end confdefs.h. */
76459 #include <math.h>
76460 #ifdef HAVE_IEEEFP_H
76461 #include <ieeefp.h>
76462 #endif
76465 main ()
76467 _expl(0);
76469 return 0;
76471 _ACEOF
76472 if ac_fn_cxx_try_compile "$LINENO"; then :
76473 glibcxx_cv_func__expl_use=yes
76474 else
76475 glibcxx_cv_func__expl_use=no
76477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76478 ac_ext=c
76479 ac_cpp='$CPP $CPPFLAGS'
76480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76489 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76491 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76492 for ac_func in _expl
76493 do :
76494 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76495 if test "x$ac_cv_func__expl" = x""yes; then :
76496 cat >>confdefs.h <<_ACEOF
76497 #define HAVE__EXPL 1
76498 _ACEOF
76501 done
76510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76511 $as_echo_n "checking for fabsl declaration... " >&6; }
76512 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76513 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76514 $as_echo_n "(cached) " >&6
76515 else
76518 ac_ext=cpp
76519 ac_cpp='$CXXCPP $CPPFLAGS'
76520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76525 /* end confdefs.h. */
76526 #include <math.h>
76527 #ifdef HAVE_IEEEFP_H
76528 #include <ieeefp.h>
76529 #endif
76532 main ()
76534 fabsl(0);
76536 return 0;
76538 _ACEOF
76539 if ac_fn_cxx_try_compile "$LINENO"; then :
76540 glibcxx_cv_func_fabsl_use=yes
76541 else
76542 glibcxx_cv_func_fabsl_use=no
76544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76545 ac_ext=c
76546 ac_cpp='$CPP $CPPFLAGS'
76547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76556 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76558 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76559 for ac_func in fabsl
76560 do :
76561 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76562 if test "x$ac_cv_func_fabsl" = x""yes; then :
76563 cat >>confdefs.h <<_ACEOF
76564 #define HAVE_FABSL 1
76565 _ACEOF
76568 done
76570 else
76572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76573 $as_echo_n "checking for _fabsl declaration... " >&6; }
76574 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76575 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76576 $as_echo_n "(cached) " >&6
76577 else
76580 ac_ext=cpp
76581 ac_cpp='$CXXCPP $CPPFLAGS'
76582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76587 /* end confdefs.h. */
76588 #include <math.h>
76589 #ifdef HAVE_IEEEFP_H
76590 #include <ieeefp.h>
76591 #endif
76594 main ()
76596 _fabsl(0);
76598 return 0;
76600 _ACEOF
76601 if ac_fn_cxx_try_compile "$LINENO"; then :
76602 glibcxx_cv_func__fabsl_use=yes
76603 else
76604 glibcxx_cv_func__fabsl_use=no
76606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76607 ac_ext=c
76608 ac_cpp='$CPP $CPPFLAGS'
76609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76618 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76620 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76621 for ac_func in _fabsl
76622 do :
76623 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76624 if test "x$ac_cv_func__fabsl" = x""yes; then :
76625 cat >>confdefs.h <<_ACEOF
76626 #define HAVE__FABSL 1
76627 _ACEOF
76630 done
76639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76640 $as_echo_n "checking for fmodl declaration... " >&6; }
76641 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76642 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76643 $as_echo_n "(cached) " >&6
76644 else
76647 ac_ext=cpp
76648 ac_cpp='$CXXCPP $CPPFLAGS'
76649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76654 /* end confdefs.h. */
76655 #include <math.h>
76657 main ()
76659 fmodl(0, 0);
76661 return 0;
76663 _ACEOF
76664 if ac_fn_cxx_try_compile "$LINENO"; then :
76665 glibcxx_cv_func_fmodl_use=yes
76666 else
76667 glibcxx_cv_func_fmodl_use=no
76669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76670 ac_ext=c
76671 ac_cpp='$CPP $CPPFLAGS'
76672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76681 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76683 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76684 for ac_func in fmodl
76685 do :
76686 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76687 if test "x$ac_cv_func_fmodl" = x""yes; then :
76688 cat >>confdefs.h <<_ACEOF
76689 #define HAVE_FMODL 1
76690 _ACEOF
76693 done
76695 else
76697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76698 $as_echo_n "checking for _fmodl declaration... " >&6; }
76699 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76700 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76701 $as_echo_n "(cached) " >&6
76702 else
76705 ac_ext=cpp
76706 ac_cpp='$CXXCPP $CPPFLAGS'
76707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76712 /* end confdefs.h. */
76713 #include <math.h>
76715 main ()
76717 _fmodl(0, 0);
76719 return 0;
76721 _ACEOF
76722 if ac_fn_cxx_try_compile "$LINENO"; then :
76723 glibcxx_cv_func__fmodl_use=yes
76724 else
76725 glibcxx_cv_func__fmodl_use=no
76727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76728 ac_ext=c
76729 ac_cpp='$CPP $CPPFLAGS'
76730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76739 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76741 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76742 for ac_func in _fmodl
76743 do :
76744 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76745 if test "x$ac_cv_func__fmodl" = x""yes; then :
76746 cat >>confdefs.h <<_ACEOF
76747 #define HAVE__FMODL 1
76748 _ACEOF
76751 done
76760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76761 $as_echo_n "checking for frexpl declaration... " >&6; }
76762 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76763 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76764 $as_echo_n "(cached) " >&6
76765 else
76768 ac_ext=cpp
76769 ac_cpp='$CXXCPP $CPPFLAGS'
76770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76775 /* end confdefs.h. */
76776 #include <math.h>
76778 main ()
76780 frexpl(0, 0);
76782 return 0;
76784 _ACEOF
76785 if ac_fn_cxx_try_compile "$LINENO"; then :
76786 glibcxx_cv_func_frexpl_use=yes
76787 else
76788 glibcxx_cv_func_frexpl_use=no
76790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76791 ac_ext=c
76792 ac_cpp='$CPP $CPPFLAGS'
76793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76802 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76804 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76805 for ac_func in frexpl
76806 do :
76807 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76808 if test "x$ac_cv_func_frexpl" = x""yes; then :
76809 cat >>confdefs.h <<_ACEOF
76810 #define HAVE_FREXPL 1
76811 _ACEOF
76814 done
76816 else
76818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76819 $as_echo_n "checking for _frexpl declaration... " >&6; }
76820 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76821 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76822 $as_echo_n "(cached) " >&6
76823 else
76826 ac_ext=cpp
76827 ac_cpp='$CXXCPP $CPPFLAGS'
76828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76833 /* end confdefs.h. */
76834 #include <math.h>
76836 main ()
76838 _frexpl(0, 0);
76840 return 0;
76842 _ACEOF
76843 if ac_fn_cxx_try_compile "$LINENO"; then :
76844 glibcxx_cv_func__frexpl_use=yes
76845 else
76846 glibcxx_cv_func__frexpl_use=no
76848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76849 ac_ext=c
76850 ac_cpp='$CPP $CPPFLAGS'
76851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76860 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76862 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76863 for ac_func in _frexpl
76864 do :
76865 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76866 if test "x$ac_cv_func__frexpl" = x""yes; then :
76867 cat >>confdefs.h <<_ACEOF
76868 #define HAVE__FREXPL 1
76869 _ACEOF
76872 done
76881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76882 $as_echo_n "checking for hypotl declaration... " >&6; }
76883 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76884 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76885 $as_echo_n "(cached) " >&6
76886 else
76889 ac_ext=cpp
76890 ac_cpp='$CXXCPP $CPPFLAGS'
76891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76896 /* end confdefs.h. */
76897 #include <math.h>
76899 main ()
76901 hypotl(0, 0);
76903 return 0;
76905 _ACEOF
76906 if ac_fn_cxx_try_compile "$LINENO"; then :
76907 glibcxx_cv_func_hypotl_use=yes
76908 else
76909 glibcxx_cv_func_hypotl_use=no
76911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76912 ac_ext=c
76913 ac_cpp='$CPP $CPPFLAGS'
76914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76923 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76925 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76926 for ac_func in hypotl
76927 do :
76928 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76929 if test "x$ac_cv_func_hypotl" = x""yes; then :
76930 cat >>confdefs.h <<_ACEOF
76931 #define HAVE_HYPOTL 1
76932 _ACEOF
76935 done
76937 else
76939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76940 $as_echo_n "checking for _hypotl declaration... " >&6; }
76941 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76942 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76943 $as_echo_n "(cached) " >&6
76944 else
76947 ac_ext=cpp
76948 ac_cpp='$CXXCPP $CPPFLAGS'
76949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76954 /* end confdefs.h. */
76955 #include <math.h>
76957 main ()
76959 _hypotl(0, 0);
76961 return 0;
76963 _ACEOF
76964 if ac_fn_cxx_try_compile "$LINENO"; then :
76965 glibcxx_cv_func__hypotl_use=yes
76966 else
76967 glibcxx_cv_func__hypotl_use=no
76969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76970 ac_ext=c
76971 ac_cpp='$CPP $CPPFLAGS'
76972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76981 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76983 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76984 for ac_func in _hypotl
76985 do :
76986 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76987 if test "x$ac_cv_func__hypotl" = x""yes; then :
76988 cat >>confdefs.h <<_ACEOF
76989 #define HAVE__HYPOTL 1
76990 _ACEOF
76993 done
77002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77003 $as_echo_n "checking for ldexpl declaration... " >&6; }
77004 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77005 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77006 $as_echo_n "(cached) " >&6
77007 else
77010 ac_ext=cpp
77011 ac_cpp='$CXXCPP $CPPFLAGS'
77012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77017 /* end confdefs.h. */
77018 #include <math.h>
77020 main ()
77022 ldexpl(0, 0);
77024 return 0;
77026 _ACEOF
77027 if ac_fn_cxx_try_compile "$LINENO"; then :
77028 glibcxx_cv_func_ldexpl_use=yes
77029 else
77030 glibcxx_cv_func_ldexpl_use=no
77032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77033 ac_ext=c
77034 ac_cpp='$CPP $CPPFLAGS'
77035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77044 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77046 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77047 for ac_func in ldexpl
77048 do :
77049 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77050 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77051 cat >>confdefs.h <<_ACEOF
77052 #define HAVE_LDEXPL 1
77053 _ACEOF
77056 done
77058 else
77060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77061 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77062 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77063 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77064 $as_echo_n "(cached) " >&6
77065 else
77068 ac_ext=cpp
77069 ac_cpp='$CXXCPP $CPPFLAGS'
77070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77075 /* end confdefs.h. */
77076 #include <math.h>
77078 main ()
77080 _ldexpl(0, 0);
77082 return 0;
77084 _ACEOF
77085 if ac_fn_cxx_try_compile "$LINENO"; then :
77086 glibcxx_cv_func__ldexpl_use=yes
77087 else
77088 glibcxx_cv_func__ldexpl_use=no
77090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77091 ac_ext=c
77092 ac_cpp='$CPP $CPPFLAGS'
77093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77102 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77104 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77105 for ac_func in _ldexpl
77106 do :
77107 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77108 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77109 cat >>confdefs.h <<_ACEOF
77110 #define HAVE__LDEXPL 1
77111 _ACEOF
77114 done
77123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77124 $as_echo_n "checking for logl declaration... " >&6; }
77125 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77126 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77127 $as_echo_n "(cached) " >&6
77128 else
77131 ac_ext=cpp
77132 ac_cpp='$CXXCPP $CPPFLAGS'
77133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77138 /* end confdefs.h. */
77139 #include <math.h>
77140 #ifdef HAVE_IEEEFP_H
77141 #include <ieeefp.h>
77142 #endif
77145 main ()
77147 logl(0);
77149 return 0;
77151 _ACEOF
77152 if ac_fn_cxx_try_compile "$LINENO"; then :
77153 glibcxx_cv_func_logl_use=yes
77154 else
77155 glibcxx_cv_func_logl_use=no
77157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77158 ac_ext=c
77159 ac_cpp='$CPP $CPPFLAGS'
77160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77169 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77171 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77172 for ac_func in logl
77173 do :
77174 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77175 if test "x$ac_cv_func_logl" = x""yes; then :
77176 cat >>confdefs.h <<_ACEOF
77177 #define HAVE_LOGL 1
77178 _ACEOF
77181 done
77183 else
77185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77186 $as_echo_n "checking for _logl declaration... " >&6; }
77187 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77188 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77189 $as_echo_n "(cached) " >&6
77190 else
77193 ac_ext=cpp
77194 ac_cpp='$CXXCPP $CPPFLAGS'
77195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77200 /* end confdefs.h. */
77201 #include <math.h>
77202 #ifdef HAVE_IEEEFP_H
77203 #include <ieeefp.h>
77204 #endif
77207 main ()
77209 _logl(0);
77211 return 0;
77213 _ACEOF
77214 if ac_fn_cxx_try_compile "$LINENO"; then :
77215 glibcxx_cv_func__logl_use=yes
77216 else
77217 glibcxx_cv_func__logl_use=no
77219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77220 ac_ext=c
77221 ac_cpp='$CPP $CPPFLAGS'
77222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77231 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77233 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77234 for ac_func in _logl
77235 do :
77236 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77237 if test "x$ac_cv_func__logl" = x""yes; then :
77238 cat >>confdefs.h <<_ACEOF
77239 #define HAVE__LOGL 1
77240 _ACEOF
77243 done
77252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77253 $as_echo_n "checking for log10l declaration... " >&6; }
77254 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77255 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77256 $as_echo_n "(cached) " >&6
77257 else
77260 ac_ext=cpp
77261 ac_cpp='$CXXCPP $CPPFLAGS'
77262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77267 /* end confdefs.h. */
77268 #include <math.h>
77269 #ifdef HAVE_IEEEFP_H
77270 #include <ieeefp.h>
77271 #endif
77274 main ()
77276 log10l(0);
77278 return 0;
77280 _ACEOF
77281 if ac_fn_cxx_try_compile "$LINENO"; then :
77282 glibcxx_cv_func_log10l_use=yes
77283 else
77284 glibcxx_cv_func_log10l_use=no
77286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77287 ac_ext=c
77288 ac_cpp='$CPP $CPPFLAGS'
77289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77298 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77300 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77301 for ac_func in log10l
77302 do :
77303 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77304 if test "x$ac_cv_func_log10l" = x""yes; then :
77305 cat >>confdefs.h <<_ACEOF
77306 #define HAVE_LOG10L 1
77307 _ACEOF
77310 done
77312 else
77314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77315 $as_echo_n "checking for _log10l declaration... " >&6; }
77316 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77317 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77318 $as_echo_n "(cached) " >&6
77319 else
77322 ac_ext=cpp
77323 ac_cpp='$CXXCPP $CPPFLAGS'
77324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77329 /* end confdefs.h. */
77330 #include <math.h>
77331 #ifdef HAVE_IEEEFP_H
77332 #include <ieeefp.h>
77333 #endif
77336 main ()
77338 _log10l(0);
77340 return 0;
77342 _ACEOF
77343 if ac_fn_cxx_try_compile "$LINENO"; then :
77344 glibcxx_cv_func__log10l_use=yes
77345 else
77346 glibcxx_cv_func__log10l_use=no
77348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77349 ac_ext=c
77350 ac_cpp='$CPP $CPPFLAGS'
77351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77360 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77362 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77363 for ac_func in _log10l
77364 do :
77365 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77366 if test "x$ac_cv_func__log10l" = x""yes; then :
77367 cat >>confdefs.h <<_ACEOF
77368 #define HAVE__LOG10L 1
77369 _ACEOF
77372 done
77381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77382 $as_echo_n "checking for modfl declaration... " >&6; }
77383 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77384 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77385 $as_echo_n "(cached) " >&6
77386 else
77389 ac_ext=cpp
77390 ac_cpp='$CXXCPP $CPPFLAGS'
77391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77396 /* end confdefs.h. */
77397 #include <math.h>
77399 main ()
77401 modfl(0, 0);
77403 return 0;
77405 _ACEOF
77406 if ac_fn_cxx_try_compile "$LINENO"; then :
77407 glibcxx_cv_func_modfl_use=yes
77408 else
77409 glibcxx_cv_func_modfl_use=no
77411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77412 ac_ext=c
77413 ac_cpp='$CPP $CPPFLAGS'
77414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77423 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77425 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77426 for ac_func in modfl
77427 do :
77428 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77429 if test "x$ac_cv_func_modfl" = x""yes; then :
77430 cat >>confdefs.h <<_ACEOF
77431 #define HAVE_MODFL 1
77432 _ACEOF
77435 done
77437 else
77439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77440 $as_echo_n "checking for _modfl declaration... " >&6; }
77441 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77442 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77443 $as_echo_n "(cached) " >&6
77444 else
77447 ac_ext=cpp
77448 ac_cpp='$CXXCPP $CPPFLAGS'
77449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77454 /* end confdefs.h. */
77455 #include <math.h>
77457 main ()
77459 _modfl(0, 0);
77461 return 0;
77463 _ACEOF
77464 if ac_fn_cxx_try_compile "$LINENO"; then :
77465 glibcxx_cv_func__modfl_use=yes
77466 else
77467 glibcxx_cv_func__modfl_use=no
77469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77470 ac_ext=c
77471 ac_cpp='$CPP $CPPFLAGS'
77472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77481 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77483 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77484 for ac_func in _modfl
77485 do :
77486 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77487 if test "x$ac_cv_func__modfl" = x""yes; then :
77488 cat >>confdefs.h <<_ACEOF
77489 #define HAVE__MODFL 1
77490 _ACEOF
77493 done
77502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77503 $as_echo_n "checking for powl declaration... " >&6; }
77504 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77505 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77506 $as_echo_n "(cached) " >&6
77507 else
77510 ac_ext=cpp
77511 ac_cpp='$CXXCPP $CPPFLAGS'
77512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77517 /* end confdefs.h. */
77518 #include <math.h>
77520 main ()
77522 powl(0, 0);
77524 return 0;
77526 _ACEOF
77527 if ac_fn_cxx_try_compile "$LINENO"; then :
77528 glibcxx_cv_func_powl_use=yes
77529 else
77530 glibcxx_cv_func_powl_use=no
77532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77533 ac_ext=c
77534 ac_cpp='$CPP $CPPFLAGS'
77535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77544 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77546 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77547 for ac_func in powl
77548 do :
77549 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77550 if test "x$ac_cv_func_powl" = x""yes; then :
77551 cat >>confdefs.h <<_ACEOF
77552 #define HAVE_POWL 1
77553 _ACEOF
77556 done
77558 else
77560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77561 $as_echo_n "checking for _powl declaration... " >&6; }
77562 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77563 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77564 $as_echo_n "(cached) " >&6
77565 else
77568 ac_ext=cpp
77569 ac_cpp='$CXXCPP $CPPFLAGS'
77570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77575 /* end confdefs.h. */
77576 #include <math.h>
77578 main ()
77580 _powl(0, 0);
77582 return 0;
77584 _ACEOF
77585 if ac_fn_cxx_try_compile "$LINENO"; then :
77586 glibcxx_cv_func__powl_use=yes
77587 else
77588 glibcxx_cv_func__powl_use=no
77590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77591 ac_ext=c
77592 ac_cpp='$CPP $CPPFLAGS'
77593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77602 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77604 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77605 for ac_func in _powl
77606 do :
77607 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77608 if test "x$ac_cv_func__powl" = x""yes; then :
77609 cat >>confdefs.h <<_ACEOF
77610 #define HAVE__POWL 1
77611 _ACEOF
77614 done
77623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77624 $as_echo_n "checking for sqrtl declaration... " >&6; }
77625 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77626 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77627 $as_echo_n "(cached) " >&6
77628 else
77631 ac_ext=cpp
77632 ac_cpp='$CXXCPP $CPPFLAGS'
77633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77638 /* end confdefs.h. */
77639 #include <math.h>
77640 #ifdef HAVE_IEEEFP_H
77641 #include <ieeefp.h>
77642 #endif
77645 main ()
77647 sqrtl(0);
77649 return 0;
77651 _ACEOF
77652 if ac_fn_cxx_try_compile "$LINENO"; then :
77653 glibcxx_cv_func_sqrtl_use=yes
77654 else
77655 glibcxx_cv_func_sqrtl_use=no
77657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77658 ac_ext=c
77659 ac_cpp='$CPP $CPPFLAGS'
77660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77669 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77671 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77672 for ac_func in sqrtl
77673 do :
77674 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77675 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77676 cat >>confdefs.h <<_ACEOF
77677 #define HAVE_SQRTL 1
77678 _ACEOF
77681 done
77683 else
77685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77686 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77687 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77688 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77689 $as_echo_n "(cached) " >&6
77690 else
77693 ac_ext=cpp
77694 ac_cpp='$CXXCPP $CPPFLAGS'
77695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77700 /* end confdefs.h. */
77701 #include <math.h>
77702 #ifdef HAVE_IEEEFP_H
77703 #include <ieeefp.h>
77704 #endif
77707 main ()
77709 _sqrtl(0);
77711 return 0;
77713 _ACEOF
77714 if ac_fn_cxx_try_compile "$LINENO"; then :
77715 glibcxx_cv_func__sqrtl_use=yes
77716 else
77717 glibcxx_cv_func__sqrtl_use=no
77719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77720 ac_ext=c
77721 ac_cpp='$CPP $CPPFLAGS'
77722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77731 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77733 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77734 for ac_func in _sqrtl
77735 do :
77736 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77737 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77738 cat >>confdefs.h <<_ACEOF
77739 #define HAVE__SQRTL 1
77740 _ACEOF
77743 done
77752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77753 $as_echo_n "checking for sincosl declaration... " >&6; }
77754 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77755 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77756 $as_echo_n "(cached) " >&6
77757 else
77760 ac_ext=cpp
77761 ac_cpp='$CXXCPP $CPPFLAGS'
77762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77767 /* end confdefs.h. */
77768 #include <math.h>
77770 main ()
77772 sincosl(0, 0, 0);
77774 return 0;
77776 _ACEOF
77777 if ac_fn_cxx_try_compile "$LINENO"; then :
77778 glibcxx_cv_func_sincosl_use=yes
77779 else
77780 glibcxx_cv_func_sincosl_use=no
77782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77783 ac_ext=c
77784 ac_cpp='$CPP $CPPFLAGS'
77785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77794 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77796 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77797 for ac_func in sincosl
77798 do :
77799 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77800 if test "x$ac_cv_func_sincosl" = x""yes; then :
77801 cat >>confdefs.h <<_ACEOF
77802 #define HAVE_SINCOSL 1
77803 _ACEOF
77806 done
77808 else
77810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77811 $as_echo_n "checking for _sincosl declaration... " >&6; }
77812 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77813 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77814 $as_echo_n "(cached) " >&6
77815 else
77818 ac_ext=cpp
77819 ac_cpp='$CXXCPP $CPPFLAGS'
77820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77825 /* end confdefs.h. */
77826 #include <math.h>
77828 main ()
77830 _sincosl(0, 0, 0);
77832 return 0;
77834 _ACEOF
77835 if ac_fn_cxx_try_compile "$LINENO"; then :
77836 glibcxx_cv_func__sincosl_use=yes
77837 else
77838 glibcxx_cv_func__sincosl_use=no
77840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77841 ac_ext=c
77842 ac_cpp='$CPP $CPPFLAGS'
77843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77852 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77854 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77855 for ac_func in _sincosl
77856 do :
77857 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77858 if test "x$ac_cv_func__sincosl" = x""yes; then :
77859 cat >>confdefs.h <<_ACEOF
77860 #define HAVE__SINCOSL 1
77861 _ACEOF
77864 done
77873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77874 $as_echo_n "checking for finitel declaration... " >&6; }
77875 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77876 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77877 $as_echo_n "(cached) " >&6
77878 else
77881 ac_ext=cpp
77882 ac_cpp='$CXXCPP $CPPFLAGS'
77883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77888 /* end confdefs.h. */
77889 #include <math.h>
77890 #ifdef HAVE_IEEEFP_H
77891 #include <ieeefp.h>
77892 #endif
77895 main ()
77897 finitel(0);
77899 return 0;
77901 _ACEOF
77902 if ac_fn_cxx_try_compile "$LINENO"; then :
77903 glibcxx_cv_func_finitel_use=yes
77904 else
77905 glibcxx_cv_func_finitel_use=no
77907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77908 ac_ext=c
77909 ac_cpp='$CPP $CPPFLAGS'
77910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77919 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77921 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77922 for ac_func in finitel
77923 do :
77924 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77925 if test "x$ac_cv_func_finitel" = x""yes; then :
77926 cat >>confdefs.h <<_ACEOF
77927 #define HAVE_FINITEL 1
77928 _ACEOF
77931 done
77933 else
77935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77936 $as_echo_n "checking for _finitel declaration... " >&6; }
77937 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77938 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77939 $as_echo_n "(cached) " >&6
77940 else
77943 ac_ext=cpp
77944 ac_cpp='$CXXCPP $CPPFLAGS'
77945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77950 /* end confdefs.h. */
77951 #include <math.h>
77952 #ifdef HAVE_IEEEFP_H
77953 #include <ieeefp.h>
77954 #endif
77957 main ()
77959 _finitel(0);
77961 return 0;
77963 _ACEOF
77964 if ac_fn_cxx_try_compile "$LINENO"; then :
77965 glibcxx_cv_func__finitel_use=yes
77966 else
77967 glibcxx_cv_func__finitel_use=no
77969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77970 ac_ext=c
77971 ac_cpp='$CPP $CPPFLAGS'
77972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77981 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77983 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77984 for ac_func in _finitel
77985 do :
77986 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77987 if test "x$ac_cv_func__finitel" = x""yes; then :
77988 cat >>confdefs.h <<_ACEOF
77989 #define HAVE__FINITEL 1
77990 _ACEOF
77993 done
78001 LIBS="$ac_save_LIBS"
78002 CXXFLAGS="$ac_save_CXXFLAGS"
78005 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78006 ac_save_CXXFLAGS="$CXXFLAGS"
78007 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78011 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78012 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78013 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78014 $as_echo_n "(cached) " >&6
78015 else
78018 ac_ext=cpp
78019 ac_cpp='$CXXCPP $CPPFLAGS'
78020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78025 /* end confdefs.h. */
78026 #include <stdlib.h>
78028 main ()
78030 at_quick_exit(0);
78032 return 0;
78034 _ACEOF
78035 if ac_fn_cxx_try_compile "$LINENO"; then :
78036 glibcxx_cv_func_at_quick_exit_use=yes
78037 else
78038 glibcxx_cv_func_at_quick_exit_use=no
78040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78041 ac_ext=c
78042 ac_cpp='$CPP $CPPFLAGS'
78043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78052 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78053 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78054 for ac_func in at_quick_exit
78055 do :
78056 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78057 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78058 cat >>confdefs.h <<_ACEOF
78059 #define HAVE_AT_QUICK_EXIT 1
78060 _ACEOF
78063 done
78068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78069 $as_echo_n "checking for quick_exit declaration... " >&6; }
78070 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78071 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78072 $as_echo_n "(cached) " >&6
78073 else
78076 ac_ext=cpp
78077 ac_cpp='$CXXCPP $CPPFLAGS'
78078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78083 /* end confdefs.h. */
78084 #include <stdlib.h>
78086 main ()
78088 quick_exit(0);
78090 return 0;
78092 _ACEOF
78093 if ac_fn_cxx_try_compile "$LINENO"; then :
78094 glibcxx_cv_func_quick_exit_use=yes
78095 else
78096 glibcxx_cv_func_quick_exit_use=no
78098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78099 ac_ext=c
78100 ac_cpp='$CPP $CPPFLAGS'
78101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78110 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78111 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78112 for ac_func in quick_exit
78113 do :
78114 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78115 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78116 cat >>confdefs.h <<_ACEOF
78117 #define HAVE_QUICK_EXIT 1
78118 _ACEOF
78121 done
78126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78127 $as_echo_n "checking for strtold declaration... " >&6; }
78128 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78129 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78130 $as_echo_n "(cached) " >&6
78131 else
78134 ac_ext=cpp
78135 ac_cpp='$CXXCPP $CPPFLAGS'
78136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78141 /* end confdefs.h. */
78142 #include <stdlib.h>
78144 main ()
78146 strtold(0, 0);
78148 return 0;
78150 _ACEOF
78151 if ac_fn_cxx_try_compile "$LINENO"; then :
78152 glibcxx_cv_func_strtold_use=yes
78153 else
78154 glibcxx_cv_func_strtold_use=no
78156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78157 ac_ext=c
78158 ac_cpp='$CPP $CPPFLAGS'
78159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78168 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78169 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78170 for ac_func in strtold
78171 do :
78172 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78173 if test "x$ac_cv_func_strtold" = x""yes; then :
78174 cat >>confdefs.h <<_ACEOF
78175 #define HAVE_STRTOLD 1
78176 _ACEOF
78179 done
78186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78187 $as_echo_n "checking for strtof declaration... " >&6; }
78188 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78189 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78190 $as_echo_n "(cached) " >&6
78191 else
78194 ac_ext=cpp
78195 ac_cpp='$CXXCPP $CPPFLAGS'
78196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78201 /* end confdefs.h. */
78202 #include <stdlib.h>
78204 main ()
78206 strtof(0, 0);
78208 return 0;
78210 _ACEOF
78211 if ac_fn_cxx_try_compile "$LINENO"; then :
78212 glibcxx_cv_func_strtof_use=yes
78213 else
78214 glibcxx_cv_func_strtof_use=no
78216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78217 ac_ext=c
78218 ac_cpp='$CPP $CPPFLAGS'
78219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78228 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78229 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78230 for ac_func in strtof
78231 do :
78232 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78233 if test "x$ac_cv_func_strtof" = x""yes; then :
78234 cat >>confdefs.h <<_ACEOF
78235 #define HAVE_STRTOF 1
78236 _ACEOF
78239 done
78246 CXXFLAGS="$ac_save_CXXFLAGS"
78249 *-vxworks)
78250 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78252 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78254 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78256 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78258 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78260 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78262 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78264 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78266 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78268 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78270 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78272 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78274 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78276 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78278 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78280 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78282 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78284 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78286 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78288 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78292 as_fn_error "No support for this host/target combination." "$LINENO" 5
78294 esac
78298 # At some point, we should differentiate between architectures
78299 # like x86, which have long double versions, and alpha/powerpc/etc.,
78300 # which don't. For the time being, punt.
78301 if test x"long_double_math_on_this_cpu" = x"yes"; then
78302 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78304 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78306 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78308 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78310 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78312 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78314 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78316 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78318 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78320 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78322 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78324 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78326 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78328 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78330 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78332 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78334 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78336 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78338 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78340 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78342 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78344 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78346 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78351 # Check for _Unwind_GetIPInfo.
78354 # Check whether --with-system-libunwind was given.
78355 if test "${with_system_libunwind+set}" = set; then :
78356 withval=$with_system_libunwind;
78359 # If system-libunwind was not specifically set, pick a default setting.
78360 if test x$with_system_libunwind = x; then
78361 case ${target} in
78362 ia64-*-hpux*) with_system_libunwind=yes ;;
78363 *) with_system_libunwind=no ;;
78364 esac
78366 # Based on system-libunwind and target, do we have ipinfo?
78367 if test x$with_system_libunwind = xyes; then
78368 case ${target} in
78369 ia64-*-*) have_unwind_getipinfo=no ;;
78370 *) have_unwind_getipinfo=yes ;;
78371 esac
78372 else
78373 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78375 case ${target} in
78376 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78377 *) have_unwind_getipinfo=yes ;;
78378 esac
78382 if test x$have_unwind_getipinfo = xyes; then
78384 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78389 # Check whether --enable-linux-futex was given.
78390 if test "${enable_linux_futex+set}" = set; then :
78391 enableval=$enable_linux_futex;
78392 case "$enableval" in
78393 yes|no|default) ;;
78394 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78395 esac
78397 else
78398 enable_linux_futex=default
78402 case "$target" in
78403 *-linux*)
78404 case "$enable_linux_futex" in
78405 default)
78406 # If headers don't have gettid/futex syscalls definition, then
78407 # default to no, otherwise there will be compile time failures.
78408 # Otherwise, default to yes. If we don't detect we are
78409 # compiled/linked against NPTL and not cross-compiling, check
78410 # if programs are run by default against NPTL and if not, issue
78411 # a warning.
78412 enable_linux_futex=no
78413 if test x$gcc_no_link = xyes; then
78414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78417 /* end confdefs.h. */
78418 #include <sys/syscall.h>
78419 int lk;
78421 main ()
78423 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78425 return 0;
78427 _ACEOF
78428 if ac_fn_c_try_link "$LINENO"; then :
78429 save_LIBS="$LIBS"
78430 LIBS="-lpthread $LIBS"
78431 if test x$gcc_no_link = xyes; then
78432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78435 /* end confdefs.h. */
78436 #ifndef _GNU_SOURCE
78437 #define _GNU_SOURCE 1
78438 #endif
78439 #include <pthread.h>
78440 pthread_t th; void *status;
78442 main ()
78444 pthread_tryjoin_np (th, &status);
78446 return 0;
78448 _ACEOF
78449 if ac_fn_c_try_link "$LINENO"; then :
78450 enable_linux_futex=yes
78451 else
78452 if test x$cross_compiling = xno; then
78453 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78454 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78456 If so, please configure with --disable-linux-futex" >&5
78457 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78458 If so, please configure with --disable-linux-futex" >&2;}
78461 enable_linux_futex=yes
78463 rm -f core conftest.err conftest.$ac_objext \
78464 conftest$ac_exeext conftest.$ac_ext
78465 LIBS="$save_LIBS"
78467 rm -f core conftest.err conftest.$ac_objext \
78468 conftest$ac_exeext conftest.$ac_ext
78470 yes)
78471 if test x$gcc_no_link = xyes; then
78472 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78475 /* end confdefs.h. */
78476 #include <sys/syscall.h>
78477 int lk;
78479 main ()
78481 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78483 return 0;
78485 _ACEOF
78486 if ac_fn_c_try_link "$LINENO"; then :
78488 else
78489 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78491 rm -f core conftest.err conftest.$ac_objext \
78492 conftest$ac_exeext conftest.$ac_ext
78494 esac
78497 enable_linux_futex=no
78499 esac
78500 if test x$enable_linux_futex = xyes; then
78502 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78509 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78511 acx_cv_header_stdint=stddef.h
78512 acx_cv_header_stdint_kind="(already complete)"
78513 for i in stdint.h $inttype_headers; do
78514 unset ac_cv_type_uintptr_t
78515 unset ac_cv_type_uintmax_t
78516 unset ac_cv_type_int_least32_t
78517 unset ac_cv_type_int_fast32_t
78518 unset ac_cv_type_uint64_t
78519 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78520 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78521 #include <$i>
78523 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78524 acx_cv_header_stdint=$i
78525 else
78526 continue
78529 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78530 #include <$i>
78532 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78534 else
78535 acx_cv_header_stdint_kind="(mostly complete)"
78538 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78539 #include <$i>
78541 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78543 else
78544 acx_cv_header_stdint_kind="(mostly complete)"
78547 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78548 #include <$i>
78550 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78552 else
78553 acx_cv_header_stdint_kind="(mostly complete)"
78556 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78557 #include <$i>
78559 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78561 else
78562 acx_cv_header_stdint_kind="(lacks uint64_t)"
78565 break
78566 done
78567 if test "$acx_cv_header_stdint" = stddef.h; then
78568 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78569 for i in stdint.h $inttype_headers; do
78570 unset ac_cv_type_uintptr_t
78571 unset ac_cv_type_uint32_t
78572 unset ac_cv_type_uint64_t
78573 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78574 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78575 #include <$i>
78577 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78578 acx_cv_header_stdint=$i
78579 else
78580 continue
78583 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78584 #include <$i>
78586 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78590 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78591 #include <$i>
78593 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78597 break
78598 done
78600 if test "$acx_cv_header_stdint" = stddef.h; then
78601 acx_cv_header_stdint_kind="(u_intXX_t style)"
78602 for i in sys/types.h $inttype_headers; do
78603 unset ac_cv_type_u_int32_t
78604 unset ac_cv_type_u_int64_t
78605 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78606 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78607 #include <$i>
78609 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78610 acx_cv_header_stdint=$i
78611 else
78612 continue
78615 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78616 #include <$i>
78618 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78622 break
78623 done
78625 if test "$acx_cv_header_stdint" = stddef.h; then
78626 acx_cv_header_stdint_kind="(using manual detection)"
78629 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78630 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78631 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78632 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78633 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78635 # ----------------- Summarize what we found so far
78637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78638 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78640 case `$as_basename -- include/gstdint.h ||
78641 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78642 Xinclude/gstdint.h : 'X\(//\)$' \| \
78643 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78644 $as_echo X/include/gstdint.h |
78645 sed '/^.*\/\([^/][^/]*\)\/*$/{
78646 s//\1/
78649 /^X\/\(\/\/\)$/{
78650 s//\1/
78653 /^X\/\(\/\).*/{
78654 s//\1/
78657 s/.*/./; q'` in
78658 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78659 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78660 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78661 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78662 *) ;;
78663 esac
78665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78666 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78668 # ----------------- done included file, check C basic types --------
78670 # Lacking an uintptr_t? Test size of void *
78671 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78672 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78673 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78674 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78675 # This bug is HP SR number 8606223364.
78676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78677 $as_echo_n "checking size of void *... " >&6; }
78678 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78679 $as_echo_n "(cached) " >&6
78680 else
78681 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78683 else
78684 if test "$ac_cv_type_void_p" = yes; then
78685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78687 { as_fn_set_status 77
78688 as_fn_error "cannot compute sizeof (void *)
78689 See \`config.log' for more details." "$LINENO" 5; }; }
78690 else
78691 ac_cv_sizeof_void_p=0
78696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78697 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78701 cat >>confdefs.h <<_ACEOF
78702 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78703 _ACEOF
78706 esac
78708 # Lacking an uint64_t? Test size of long
78709 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78710 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78713 # This bug is HP SR number 8606223364.
78714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78715 $as_echo_n "checking size of long... " >&6; }
78716 if test "${ac_cv_sizeof_long+set}" = set; then :
78717 $as_echo_n "(cached) " >&6
78718 else
78719 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78721 else
78722 if test "$ac_cv_type_long" = yes; then
78723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78725 { as_fn_set_status 77
78726 as_fn_error "cannot compute sizeof (long)
78727 See \`config.log' for more details." "$LINENO" 5; }; }
78728 else
78729 ac_cv_sizeof_long=0
78734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78735 $as_echo "$ac_cv_sizeof_long" >&6; }
78739 cat >>confdefs.h <<_ACEOF
78740 #define SIZEOF_LONG $ac_cv_sizeof_long
78741 _ACEOF
78744 esac
78746 if test $acx_cv_header_stdint = stddef.h; then
78747 # Lacking a good header? Test size of everything and deduce all types.
78748 # The cast to long int works around a bug in the HP C Compiler
78749 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78750 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78751 # This bug is HP SR number 8606223364.
78752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78753 $as_echo_n "checking size of int... " >&6; }
78754 if test "${ac_cv_sizeof_int+set}" = set; then :
78755 $as_echo_n "(cached) " >&6
78756 else
78757 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78759 else
78760 if test "$ac_cv_type_int" = yes; then
78761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78763 { as_fn_set_status 77
78764 as_fn_error "cannot compute sizeof (int)
78765 See \`config.log' for more details." "$LINENO" 5; }; }
78766 else
78767 ac_cv_sizeof_int=0
78772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78773 $as_echo "$ac_cv_sizeof_int" >&6; }
78777 cat >>confdefs.h <<_ACEOF
78778 #define SIZEOF_INT $ac_cv_sizeof_int
78779 _ACEOF
78782 # The cast to long int works around a bug in the HP C Compiler
78783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78785 # This bug is HP SR number 8606223364.
78786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78787 $as_echo_n "checking size of short... " >&6; }
78788 if test "${ac_cv_sizeof_short+set}" = set; then :
78789 $as_echo_n "(cached) " >&6
78790 else
78791 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78793 else
78794 if test "$ac_cv_type_short" = yes; then
78795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78797 { as_fn_set_status 77
78798 as_fn_error "cannot compute sizeof (short)
78799 See \`config.log' for more details." "$LINENO" 5; }; }
78800 else
78801 ac_cv_sizeof_short=0
78806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78807 $as_echo "$ac_cv_sizeof_short" >&6; }
78811 cat >>confdefs.h <<_ACEOF
78812 #define SIZEOF_SHORT $ac_cv_sizeof_short
78813 _ACEOF
78816 # The cast to long int works around a bug in the HP C Compiler
78817 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78818 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78819 # This bug is HP SR number 8606223364.
78820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78821 $as_echo_n "checking size of char... " >&6; }
78822 if test "${ac_cv_sizeof_char+set}" = set; then :
78823 $as_echo_n "(cached) " >&6
78824 else
78825 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78827 else
78828 if test "$ac_cv_type_char" = yes; then
78829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78831 { as_fn_set_status 77
78832 as_fn_error "cannot compute sizeof (char)
78833 See \`config.log' for more details." "$LINENO" 5; }; }
78834 else
78835 ac_cv_sizeof_char=0
78840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78841 $as_echo "$ac_cv_sizeof_char" >&6; }
78845 cat >>confdefs.h <<_ACEOF
78846 #define SIZEOF_CHAR $ac_cv_sizeof_char
78847 _ACEOF
78851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78852 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78853 case "$ac_cv_sizeof_char" in
78854 1) acx_cv_type_int8_t=char ;;
78855 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78856 esac
78857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78858 $as_echo "$acx_cv_type_int8_t" >&6; }
78860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78861 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78862 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78863 2:*) acx_cv_type_int16_t=int ;;
78864 *:2) acx_cv_type_int16_t=short ;;
78865 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78866 esac
78867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78868 $as_echo "$acx_cv_type_int16_t" >&6; }
78870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78871 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78872 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78873 4:*) acx_cv_type_int32_t=int ;;
78874 *:4) acx_cv_type_int32_t=long ;;
78875 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78876 esac
78877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78878 $as_echo "$acx_cv_type_int32_t" >&6; }
78881 # These tests are here to make the output prettier
78883 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78884 case "$ac_cv_sizeof_long" in
78885 8) acx_cv_type_int64_t=long ;;
78886 esac
78887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78888 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78890 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78893 # Now we can use the above types
78895 if test "$ac_cv_type_uintptr_t" != yes; then
78896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78897 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78898 case $ac_cv_sizeof_void_p in
78899 2) acx_cv_type_intptr_t=int16_t ;;
78900 4) acx_cv_type_intptr_t=int32_t ;;
78901 8) acx_cv_type_intptr_t=int64_t ;;
78902 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78903 esac
78904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78905 $as_echo "$acx_cv_type_intptr_t" >&6; }
78908 # ----------------- done all checks, emit header -------------
78909 ac_config_commands="$ac_config_commands include/gstdint.h"
78915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78916 $as_echo_n "checking for GNU c++filt... " >&6; }
78917 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78918 $as_echo_n "(cached) " >&6
78919 else
78920 if test -z "$CXXFILT"; then
78921 ac_path_CXXFILT_found=false
78922 # Loop through the user's path and test for each of PROGNAME-LIST
78923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78924 for as_dir in $PATH
78926 IFS=$as_save_IFS
78927 test -z "$as_dir" && as_dir=.
78928 for ac_prog in c++filt gc++filt; do
78929 for ac_exec_ext in '' $ac_executable_extensions; do
78930 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78931 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78932 # Check for GNU $ac_path_CXXFILT
78933 case `"$ac_path_CXXFILT" --version 2>&1` in
78934 *GNU*)
78935 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78936 esac
78938 $ac_path_CXXFILT_found && break 3
78939 done
78940 done
78941 done
78942 IFS=$as_save_IFS
78943 if test -z "$ac_cv_path_CXXFILT"; then
78946 else
78947 ac_cv_path_CXXFILT=$CXXFILT
78951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78952 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78953 CXXFILT=$ac_cv_path_CXXFILT
78957 # Check whether --enable-symvers was given.
78958 if test "${enable_symvers+set}" = set; then :
78959 enableval=$enable_symvers;
78960 case "$enableval" in
78961 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78962 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78963 esac
78965 else
78966 enable_symvers=yes
78971 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78972 # don't know enough about $LD to do tricks...
78974 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78975 # with extern "C++" in version scripts.
78978 # Turn a 'yes' into a suitable default.
78979 if test x$enable_symvers = xyes ; then
78980 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78981 enable_symvers=no
78982 else
78983 if test $with_gnu_ld = yes ; then
78984 case ${target_os} in
78985 hpux*)
78986 enable_symvers=no ;;
78988 enable_symvers=gnu ;;
78989 esac
78990 else
78991 case ${target_os} in
78992 darwin*)
78993 enable_symvers=darwin ;;
78994 # Sun symbol versioning exists since Solaris 2.5.
78995 solaris2.[5-9]* | solaris2.1[0-9]*)
78996 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78997 # version scripts, so disable symbol versioning if none can be
78998 # found.
78999 if test -z "$ac_cv_path_CXXFILT"; then
79000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79001 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79003 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79005 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79006 enable_symvers=no
79007 else
79008 enable_symvers=sun
79012 enable_symvers=no ;;
79013 esac
79018 # Check to see if 'darwin' or 'darwin-export' can win.
79019 if test x$enable_symvers = xdarwin-export ; then
79020 enable_symvers=darwin
79023 # Check if 'sun' was requested on non-Solaris 2 platforms.
79024 if test x$enable_symvers = xsun ; then
79025 case ${target_os} in
79026 solaris2*)
79027 # All fine.
79030 # Unlikely to work.
79031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79032 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79034 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79036 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79037 enable_symvers=no
79039 esac
79042 # Check to see if 'gnu' can win.
79043 if test $enable_symvers = gnu ||
79044 test $enable_symvers = gnu-versioned-namespace ||
79045 test $enable_symvers = sun; then
79046 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79048 $as_echo_n "checking for shared libgcc... " >&6; }
79049 ac_save_CFLAGS="$CFLAGS"
79050 CFLAGS=' -lgcc_s'
79051 if test x$gcc_no_link = xyes; then
79052 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79055 /* end confdefs.h. */
79058 main ()
79060 return 0;
79062 return 0;
79064 _ACEOF
79065 if ac_fn_c_try_link "$LINENO"; then :
79066 glibcxx_shared_libgcc=yes
79067 else
79068 glibcxx_shared_libgcc=no
79070 rm -f core conftest.err conftest.$ac_objext \
79071 conftest$ac_exeext conftest.$ac_ext
79072 CFLAGS="$ac_save_CFLAGS"
79073 if test $glibcxx_shared_libgcc = no; then
79074 cat > conftest.c <<EOF
79075 int main (void) { return 0; }
79077 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79078 -shared -shared-libgcc -o conftest.so \
79079 conftest.c -v 2>&1 >/dev/null \
79080 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79081 rm -f conftest.c conftest.so
79082 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79083 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79084 if test x$gcc_no_link = xyes; then
79085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79088 /* end confdefs.h. */
79091 main ()
79093 return 0;
79095 return 0;
79097 _ACEOF
79098 if ac_fn_c_try_link "$LINENO"; then :
79099 glibcxx_shared_libgcc=yes
79101 rm -f core conftest.err conftest.$ac_objext \
79102 conftest$ac_exeext conftest.$ac_ext
79103 CFLAGS="$ac_save_CFLAGS"
79106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79107 $as_echo "$glibcxx_shared_libgcc" >&6; }
79109 # For GNU ld, we need at least this version. The format is described in
79110 # GLIBCXX_CHECK_LINKER_FEATURES above.
79111 glibcxx_min_gnu_ld_version=21400
79113 # If no shared libgcc, can't win.
79114 if test $glibcxx_shared_libgcc != yes; then
79115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79116 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79118 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79120 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79121 enable_symvers=no
79122 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79123 : All interesting versions of Sun ld support sun style symbol versioning.
79124 elif test $with_gnu_ld != yes ; then
79125 # just fail for now
79126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79127 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79129 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79131 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79132 enable_symvers=no
79133 elif test $glibcxx_ld_is_gold = yes ; then
79134 : All versions of gold support symbol versioning.
79135 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79136 # The right tools, the right setup, but too old. Fallbacks?
79137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79138 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79140 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79142 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79144 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79146 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79147 enable_symvers=no
79151 # For libtool versioning info, format is CURRENT:REVISION:AGE
79152 libtool_VERSION=6:23:0
79154 # Everything parsed; figure out what files and settings to use.
79155 case $enable_symvers in
79157 SYMVER_FILE=config/abi/pre/none.ver
79159 gnu)
79160 SYMVER_FILE=config/abi/pre/gnu.ver
79162 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79165 gnu-versioned-namespace)
79166 libtool_VERSION=7:0:0
79167 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79169 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79172 darwin)
79173 SYMVER_FILE=config/abi/pre/gnu.ver
79175 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79178 sun)
79179 SYMVER_FILE=config/abi/pre/gnu.ver
79181 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79184 esac
79186 if test x$enable_symvers != xno ; then
79188 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79193 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79194 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79195 $as_echo_n "(cached) " >&6
79196 else
79198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79199 /* end confdefs.h. */
79200 void foo (void); __asm (".symver foo, bar@SYMVER");
79202 main ()
79206 return 0;
79208 _ACEOF
79209 if ac_fn_c_try_compile "$LINENO"; then :
79210 glibcxx_cv_have_as_symver_directive=yes
79211 else
79212 glibcxx_cv_have_as_symver_directive=no
79214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79217 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79218 if test $glibcxx_cv_have_as_symver_directive = yes; then
79220 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79231 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79232 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79234 if test $enable_symvers != no ; then
79235 case ${target_os} in
79236 # The Solaris 2 runtime linker doesn't support the GNU extension of
79237 # binding the same symbol to different versions
79238 solaris2*)
79240 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79243 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79246 esac
79249 # Now, set up compatibility support, if any.
79250 # In addition, need this to deal with std::size_t mangling in
79251 # src/compatibility.cc. In a perfect world, could use
79252 # typeid(std::size_t).name()[0] to do direct substitution.
79253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79254 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79255 ac_save_CFLAGS="$CFLAGS"
79256 CFLAGS="-Werror"
79257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79258 /* end confdefs.h. */
79261 main ()
79263 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79265 return 0;
79267 _ACEOF
79268 if ac_fn_c_try_compile "$LINENO"; then :
79269 glibcxx_size_t_is_i=yes
79270 else
79271 glibcxx_size_t_is_i=no
79273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79274 CFLAGS=$ac_save_CFLAGS
79275 if test "$glibcxx_size_t_is_i" = yes; then
79277 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79281 $as_echo "$glibcxx_size_t_is_i" >&6; }
79283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79284 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79285 ac_save_CFLAGS="$CFLAGS"
79286 CFLAGS="-Werror"
79287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79288 /* end confdefs.h. */
79291 main ()
79293 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79295 return 0;
79297 _ACEOF
79298 if ac_fn_c_try_compile "$LINENO"; then :
79299 glibcxx_ptrdiff_t_is_i=yes
79300 else
79301 glibcxx_ptrdiff_t_is_i=no
79303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79304 CFLAGS=$ac_save_CFLAGS
79305 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79307 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79311 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79316 # Check whether --enable-libstdcxx-visibility was given.
79317 if test "${enable_libstdcxx_visibility+set}" = set; then :
79318 enableval=$enable_libstdcxx_visibility;
79319 case "$enableval" in
79320 yes|no) ;;
79321 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79322 esac
79324 else
79325 enable_libstdcxx_visibility=yes
79330 if test x$enable_libstdcxx_visibility = xyes ; then
79331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79332 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79333 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79334 $as_echo_n "(cached) " >&6
79335 else
79337 save_CFLAGS="$CFLAGS"
79338 CFLAGS="$CFLAGS -Werror"
79339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79340 /* end confdefs.h. */
79341 void __attribute__((visibility("hidden"))) foo(void) { }
79343 main ()
79347 return 0;
79349 _ACEOF
79350 if ac_fn_c_try_compile "$LINENO"; then :
79351 glibcxx_cv_have_attribute_visibility=yes
79352 else
79353 glibcxx_cv_have_attribute_visibility=no
79355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79356 CFLAGS="$save_CFLAGS"
79358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79359 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79360 if test $glibcxx_cv_have_attribute_visibility = no; then
79361 enable_libstdcxx_visibility=no
79366 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79367 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79371 # Check whether --enable-libstdcxx-dual-abi was given.
79372 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79373 enableval=$enable_libstdcxx_dual_abi;
79374 case "$enableval" in
79375 yes|no) ;;
79376 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79377 esac
79379 else
79380 enable_libstdcxx_dual_abi=yes
79384 if test x$enable_symvers = xgnu-versioned-namespace; then
79385 # gnu-versioned-namespace is incompatible with the dual ABI.
79386 enable_libstdcxx_dual_abi="no"
79388 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79389 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79390 $as_echo "$as_me: dual ABI is disabled" >&6;}
79391 default_libstdcxx_abi="gcc4-compatible"
79396 if test x$enable_libstdcxx_dual_abi = xyes; then
79397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79398 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79400 # Check whether --with-default-libstdcxx-abi was given.
79401 if test "${with_default_libstdcxx_abi+set}" = set; then :
79402 withval=$with_default_libstdcxx_abi; case "$withval" in
79403 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79404 new|cxx11) default_libstdcxx_abi="new" ;;
79405 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79406 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79407 esac
79409 else
79410 default_libstdcxx_abi="new"
79413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79414 $as_echo "${default_libstdcxx_abi}" >&6; }
79416 if test $default_libstdcxx_abi = "new"; then
79417 glibcxx_cxx11_abi=1
79418 glibcxx_cxx98_abi=0
79419 else
79420 glibcxx_cxx11_abi=0
79421 glibcxx_cxx98_abi=1
79427 ac_ldbl_compat=no
79428 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79429 case "$target" in
79430 powerpc*-*-linux* | \
79431 sparc*-*-linux* | \
79432 s390*-*-linux* | \
79433 alpha*-*-linux*)
79434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79435 /* end confdefs.h. */
79438 main ()
79441 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79442 #error no need for long double compatibility
79443 #endif
79446 return 0;
79448 _ACEOF
79449 if ac_fn_c_try_compile "$LINENO"; then :
79450 ac_ldbl_compat=yes
79451 else
79452 ac_ldbl_compat=no
79454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79455 if test "$ac_ldbl_compat" = yes; then
79457 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79459 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79460 case "$target" in
79461 powerpc*-*-linux*)
79462 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79463 esac
79465 esac
79469 # Check if assembler supports disabling hardware capability support.
79471 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79473 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79474 # with a different meaning.
79475 case ${target_os} in
79476 solaris2*)
79477 ac_save_CFLAGS="$CFLAGS"
79478 CFLAGS="$CFLAGS -Wa,-nH"
79480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79481 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79483 /* end confdefs.h. */
79486 main ()
79488 return 0;
79490 return 0;
79492 _ACEOF
79493 if ac_fn_c_try_compile "$LINENO"; then :
79494 ac_hwcap_flags=yes
79495 else
79496 ac_hwcap_flags=no
79498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79499 if test "$ac_hwcap_flags" = "yes"; then
79500 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79503 $as_echo "$ac_hwcap_flags" >&6; }
79505 CFLAGS="$ac_save_CFLAGS"
79507 esac
79512 # Check if assembler supports rdrand opcode.
79514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79515 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79516 if test "${ac_cv_x86_rdrand+set}" = set; then :
79517 $as_echo_n "(cached) " >&6
79518 else
79520 ac_cv_x86_rdrand=no
79521 case "$target" in
79522 i?86-*-* | \
79523 x86_64-*-*)
79524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79525 /* end confdefs.h. */
79528 main ()
79530 asm("rdrand %eax");
79532 return 0;
79534 _ACEOF
79535 if ac_fn_c_try_compile "$LINENO"; then :
79536 ac_cv_x86_rdrand=yes
79537 else
79538 ac_cv_x86_rdrand=no
79540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79541 esac
79545 if test $ac_cv_x86_rdrand = yes; then
79547 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79551 $as_echo "$ac_cv_x86_rdrand" >&6; }
79554 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79556 # Do checks for resource limit functions.
79558 setrlimit_have_headers=yes
79559 for ac_header in unistd.h sys/time.h sys/resource.h
79560 do :
79561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79562 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79563 eval as_val=\$$as_ac_Header
79564 if test "x$as_val" = x""yes; then :
79565 cat >>confdefs.h <<_ACEOF
79566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79567 _ACEOF
79569 else
79570 setrlimit_have_headers=no
79573 done
79575 # If don't have the headers, then we can't run the tests now, and we
79576 # won't be seeing any of these during testsuite compilation.
79577 if test $setrlimit_have_headers = yes; then
79578 # Can't do these in a loop, else the resulting syntax is wrong.
79580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79581 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79583 /* end confdefs.h. */
79584 #include <unistd.h>
79585 #include <sys/time.h>
79586 #include <sys/resource.h>
79589 main ()
79591 int f = RLIMIT_DATA ;
79593 return 0;
79595 _ACEOF
79596 if ac_fn_c_try_compile "$LINENO"; then :
79597 glibcxx_mresult=1
79598 else
79599 glibcxx_mresult=0
79601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79603 cat >>confdefs.h <<_ACEOF
79604 #define HAVE_LIMIT_DATA $glibcxx_mresult
79605 _ACEOF
79607 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79609 $as_echo "$res" >&6; }
79612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79613 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79615 /* end confdefs.h. */
79616 #include <unistd.h>
79617 #include <sys/time.h>
79618 #include <sys/resource.h>
79621 main ()
79623 int f = RLIMIT_RSS ;
79625 return 0;
79627 _ACEOF
79628 if ac_fn_c_try_compile "$LINENO"; then :
79629 glibcxx_mresult=1
79630 else
79631 glibcxx_mresult=0
79633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79635 cat >>confdefs.h <<_ACEOF
79636 #define HAVE_LIMIT_RSS $glibcxx_mresult
79637 _ACEOF
79639 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79641 $as_echo "$res" >&6; }
79644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79645 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79647 /* end confdefs.h. */
79648 #include <unistd.h>
79649 #include <sys/time.h>
79650 #include <sys/resource.h>
79653 main ()
79655 int f = RLIMIT_VMEM ;
79657 return 0;
79659 _ACEOF
79660 if ac_fn_c_try_compile "$LINENO"; then :
79661 glibcxx_mresult=1
79662 else
79663 glibcxx_mresult=0
79665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79667 cat >>confdefs.h <<_ACEOF
79668 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79669 _ACEOF
79671 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79673 $as_echo "$res" >&6; }
79676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79677 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79679 /* end confdefs.h. */
79680 #include <unistd.h>
79681 #include <sys/time.h>
79682 #include <sys/resource.h>
79685 main ()
79687 int f = RLIMIT_AS ;
79689 return 0;
79691 _ACEOF
79692 if ac_fn_c_try_compile "$LINENO"; then :
79693 glibcxx_mresult=1
79694 else
79695 glibcxx_mresult=0
79697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79699 cat >>confdefs.h <<_ACEOF
79700 #define HAVE_LIMIT_AS $glibcxx_mresult
79701 _ACEOF
79703 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79705 $as_echo "$res" >&6; }
79708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79709 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79711 /* end confdefs.h. */
79712 #include <unistd.h>
79713 #include <sys/time.h>
79714 #include <sys/resource.h>
79717 main ()
79719 int f = RLIMIT_FSIZE ;
79721 return 0;
79723 _ACEOF
79724 if ac_fn_c_try_compile "$LINENO"; then :
79725 glibcxx_mresult=1
79726 else
79727 glibcxx_mresult=0
79729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79731 cat >>confdefs.h <<_ACEOF
79732 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79733 _ACEOF
79735 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79737 $as_echo "$res" >&6; }
79740 # Check for rlimit, setrlimit.
79741 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79742 $as_echo_n "(cached) " >&6
79743 else
79745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79746 /* end confdefs.h. */
79747 #include <unistd.h>
79748 #include <sys/time.h>
79749 #include <sys/resource.h>
79752 main ()
79754 struct rlimit r;
79755 setrlimit(0, &r);
79757 return 0;
79759 _ACEOF
79760 if ac_fn_c_try_compile "$LINENO"; then :
79761 glibcxx_cv_setrlimit=yes
79762 else
79763 glibcxx_cv_setrlimit=no
79765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79772 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79773 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79774 ac_res_limits=yes
79776 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79778 else
79779 ac_res_limits=no
79781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79782 $as_echo "$ac_res_limits" >&6; }
79785 if $GLIBCXX_IS_NATIVE ; then
79786 # Look for setenv, so that extended locale tests can be performed.
79788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79789 $as_echo_n "checking for setenv declaration... " >&6; }
79790 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79791 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79792 $as_echo_n "(cached) " >&6
79793 else
79796 ac_ext=cpp
79797 ac_cpp='$CXXCPP $CPPFLAGS'
79798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79803 /* end confdefs.h. */
79804 #include <stdlib.h>
79806 main ()
79808 setenv(0, 0, 0);
79810 return 0;
79812 _ACEOF
79813 if ac_fn_cxx_try_compile "$LINENO"; then :
79814 glibcxx_cv_func_setenv_use=yes
79815 else
79816 glibcxx_cv_func_setenv_use=no
79818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79819 ac_ext=c
79820 ac_cpp='$CPP $CPPFLAGS'
79821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79830 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79831 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79832 for ac_func in setenv
79833 do :
79834 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79835 if test "x$ac_cv_func_setenv" = x""yes; then :
79836 cat >>confdefs.h <<_ACEOF
79837 #define HAVE_SETENV 1
79838 _ACEOF
79841 done
79847 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79848 test $enable_symvers != no; then
79849 case "$host" in
79850 *-*-cygwin*)
79851 enable_abi_check=no ;;
79853 enable_abi_check=yes ;;
79854 esac
79855 else
79856 # Only build this as native, since automake does not understand
79857 # CXX_FOR_BUILD.
79858 enable_abi_check=no
79861 # Export file names for ABI checking.
79862 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79864 baseline_subdir_switch="$abi_baseline_subdir_switch"
79868 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79870 # Check whether --enable-libstdcxx-threads was given.
79871 if test "${enable_libstdcxx_threads+set}" = set; then :
79872 enableval=$enable_libstdcxx_threads;
79873 case "$enableval" in
79874 yes|no) ;;
79875 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79876 esac
79878 else
79879 enable_libstdcxx_threads=auto
79884 if test x$enable_libstdcxx_threads = xauto ||
79885 test x$enable_libstdcxx_threads = xyes; then
79888 ac_ext=cpp
79889 ac_cpp='$CXXCPP $CPPFLAGS'
79890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79895 ac_save_CXXFLAGS="$CXXFLAGS"
79896 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79897 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79899 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79900 case $target_thread_file in
79901 posix)
79902 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79903 esac
79905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79906 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79909 /* end confdefs.h. */
79910 #include <unistd.h>
79912 main ()
79915 // In case of POSIX threads check _POSIX_TIMEOUTS.
79916 #if (defined(_PTHREADS) \
79917 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79918 #error
79919 #endif
79922 return 0;
79924 _ACEOF
79925 if ac_fn_cxx_try_compile "$LINENO"; then :
79926 ac_gthread_use_mutex_timedlock=1
79927 else
79928 ac_gthread_use_mutex_timedlock=0
79930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79933 cat >>confdefs.h <<_ACEOF
79934 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79935 _ACEOF
79938 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79939 else res_mutex_timedlock=no ; fi
79940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79941 $as_echo "$res_mutex_timedlock" >&6; }
79943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79944 $as_echo_n "checking for gthreads library... " >&6; }
79946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79947 /* end confdefs.h. */
79948 #include "gthr.h"
79950 main ()
79953 #ifndef __GTHREADS_CXX0X
79954 #error
79955 #endif
79958 return 0;
79960 _ACEOF
79961 if ac_fn_cxx_try_compile "$LINENO"; then :
79962 ac_has_gthreads=yes
79963 else
79964 ac_has_gthreads=no
79966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79967 else
79968 ac_has_gthreads=no
79971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79972 $as_echo "$ac_has_gthreads" >&6; }
79974 if test x"$ac_has_gthreads" = x"yes"; then
79976 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79979 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79980 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79982 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79984 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79990 CXXFLAGS="$ac_save_CXXFLAGS"
79991 ac_ext=c
79992 ac_cpp='$CPP $CPPFLAGS'
79993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79999 # For Filesystem TS.
80000 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80001 do :
80002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80003 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80004 eval as_val=\$$as_ac_Header
80005 if test "x$as_val" = x""yes; then :
80006 cat >>confdefs.h <<_ACEOF
80007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80008 _ACEOF
80012 done
80015 # Check whether --enable-libstdcxx-filesystem-ts was given.
80016 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80017 enableval=$enable_libstdcxx_filesystem_ts;
80018 case "$enableval" in
80019 yes|no|auto) ;;
80020 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80021 esac
80023 else
80024 enable_libstdcxx_filesystem_ts=auto
80029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80030 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80031 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80032 enable_libstdcxx_filesystem_ts=no
80034 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80035 case "${target_os}" in
80036 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80037 enable_libstdcxx_filesystem_ts=yes
80039 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80040 enable_libstdcxx_filesystem_ts=yes
80042 solaris*)
80043 enable_libstdcxx_filesystem_ts=yes
80046 enable_libstdcxx_filesystem_ts=no
80048 esac
80050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80051 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80055 ac_ext=cpp
80056 ac_cpp='$CXXCPP $CPPFLAGS'
80057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80061 ac_save_CXXFLAGS="$CXXFLAGS"
80062 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80064 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80065 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80066 $as_echo_n "(cached) " >&6
80067 else
80068 if test x$gcc_no_link = xyes; then
80069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80070 /* end confdefs.h. */
80071 #include <dirent.h>
80073 main ()
80076 struct dirent d;
80077 if (sizeof d.d_type) return 0;
80080 return 0;
80082 _ACEOF
80083 if ac_fn_cxx_try_compile "$LINENO"; then :
80084 glibcxx_cv_dirent_d_type=yes
80085 else
80086 glibcxx_cv_dirent_d_type=no
80088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80089 else
80090 if test x$gcc_no_link = xyes; then
80091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80094 /* end confdefs.h. */
80095 #include <dirent.h>
80097 main ()
80100 struct dirent d;
80101 if (sizeof d.d_type) return 0;
80104 return 0;
80106 _ACEOF
80107 if ac_fn_cxx_try_link "$LINENO"; then :
80108 glibcxx_cv_dirent_d_type=yes
80109 else
80110 glibcxx_cv_dirent_d_type=no
80112 rm -f core conftest.err conftest.$ac_objext \
80113 conftest$ac_exeext conftest.$ac_ext
80118 if test $glibcxx_cv_dirent_d_type = yes; then
80120 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80124 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80126 $as_echo_n "checking for realpath... " >&6; }
80127 if test "${glibcxx_cv_realpath+set}" = set; then :
80128 $as_echo_n "(cached) " >&6
80129 else
80130 if test x$gcc_no_link = xyes; then
80131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80132 /* end confdefs.h. */
80134 #include <limits.h>
80135 #include <stdlib.h>
80136 #include <unistd.h>
80139 main ()
80142 #if _XOPEN_VERSION < 500
80143 #error
80144 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80145 char *tmp = realpath((const char*)NULL, (char*)NULL);
80146 #else
80147 #error
80148 #endif
80151 return 0;
80153 _ACEOF
80154 if ac_fn_cxx_try_compile "$LINENO"; then :
80155 glibcxx_cv_realpath=yes
80156 else
80157 glibcxx_cv_realpath=no
80159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80160 else
80161 if test x$gcc_no_link = xyes; then
80162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80165 /* end confdefs.h. */
80167 #include <limits.h>
80168 #include <stdlib.h>
80169 #include <unistd.h>
80172 main ()
80175 #if _XOPEN_VERSION < 500
80176 #error
80177 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80178 char *tmp = realpath((const char*)NULL, (char*)NULL);
80179 #else
80180 #error
80181 #endif
80184 return 0;
80186 _ACEOF
80187 if ac_fn_cxx_try_link "$LINENO"; then :
80188 glibcxx_cv_realpath=yes
80189 else
80190 glibcxx_cv_realpath=no
80192 rm -f core conftest.err conftest.$ac_objext \
80193 conftest$ac_exeext conftest.$ac_ext
80198 if test $glibcxx_cv_realpath = yes; then
80200 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80204 $as_echo "$glibcxx_cv_realpath" >&6; }
80205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80206 $as_echo_n "checking for utimensat... " >&6; }
80207 if test "${glibcxx_cv_utimensat+set}" = set; then :
80208 $as_echo_n "(cached) " >&6
80209 else
80210 if test x$gcc_no_link = xyes; then
80211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80212 /* end confdefs.h. */
80214 #include <fcntl.h>
80215 #include <sys/stat.h>
80218 main ()
80221 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80222 int i = utimensat(AT_FDCWD, "path", ts, 0);
80225 return 0;
80227 _ACEOF
80228 if ac_fn_cxx_try_compile "$LINENO"; then :
80229 glibcxx_cv_utimensat=yes
80230 else
80231 glibcxx_cv_utimensat=no
80233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80234 else
80235 if test x$gcc_no_link = xyes; then
80236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80239 /* end confdefs.h. */
80241 #include <fcntl.h>
80242 #include <sys/stat.h>
80245 main ()
80248 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80249 int i = utimensat(AT_FDCWD, "path", ts, 0);
80252 return 0;
80254 _ACEOF
80255 if ac_fn_cxx_try_link "$LINENO"; then :
80256 glibcxx_cv_utimensat=yes
80257 else
80258 glibcxx_cv_utimensat=no
80260 rm -f core conftest.err conftest.$ac_objext \
80261 conftest$ac_exeext conftest.$ac_ext
80266 if test $glibcxx_cv_utimensat = yes; then
80268 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80272 $as_echo "$glibcxx_cv_utimensat" >&6; }
80273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80274 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80275 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80276 $as_echo_n "(cached) " >&6
80277 else
80278 if test x$gcc_no_link = xyes; then
80279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80280 /* end confdefs.h. */
80281 #include <sys/stat.h>
80283 main ()
80286 struct stat st;
80287 return st.st_mtim.tv_nsec;
80290 return 0;
80292 _ACEOF
80293 if ac_fn_cxx_try_compile "$LINENO"; then :
80294 glibcxx_cv_st_mtim=yes
80295 else
80296 glibcxx_cv_st_mtim=no
80298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80299 else
80300 if test x$gcc_no_link = xyes; then
80301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80304 /* end confdefs.h. */
80305 #include <sys/stat.h>
80307 main ()
80310 struct stat st;
80311 return st.st_mtim.tv_nsec;
80314 return 0;
80316 _ACEOF
80317 if ac_fn_cxx_try_link "$LINENO"; then :
80318 glibcxx_cv_st_mtim=yes
80319 else
80320 glibcxx_cv_st_mtim=no
80322 rm -f core conftest.err conftest.$ac_objext \
80323 conftest$ac_exeext conftest.$ac_ext
80328 if test $glibcxx_cv_st_mtim = yes; then
80330 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80334 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80336 $as_echo_n "checking for fchmod... " >&6; }
80337 if test "${glibcxx_cv_fchmod+set}" = set; then :
80338 $as_echo_n "(cached) " >&6
80339 else
80340 if test x$gcc_no_link = xyes; then
80341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80342 /* end confdefs.h. */
80343 #include <sys/stat.h>
80345 main ()
80347 fchmod(1, S_IWUSR);
80349 return 0;
80351 _ACEOF
80352 if ac_fn_cxx_try_compile "$LINENO"; then :
80353 glibcxx_cv_fchmod=yes
80354 else
80355 glibcxx_cv_fchmod=no
80357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80358 else
80359 if test x$gcc_no_link = xyes; then
80360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80363 /* end confdefs.h. */
80364 #include <sys/stat.h>
80366 main ()
80368 fchmod(1, S_IWUSR);
80370 return 0;
80372 _ACEOF
80373 if ac_fn_cxx_try_link "$LINENO"; then :
80374 glibcxx_cv_fchmod=yes
80375 else
80376 glibcxx_cv_fchmod=no
80378 rm -f core conftest.err conftest.$ac_objext \
80379 conftest$ac_exeext conftest.$ac_ext
80384 if test $glibcxx_cv_fchmod = yes; then
80386 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80390 $as_echo "$glibcxx_cv_fchmod" >&6; }
80391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80392 $as_echo_n "checking for fchmodat... " >&6; }
80393 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80394 $as_echo_n "(cached) " >&6
80395 else
80396 if test x$gcc_no_link = xyes; then
80397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80398 /* end confdefs.h. */
80400 #include <fcntl.h>
80401 #include <sys/stat.h>
80404 main ()
80406 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80408 return 0;
80410 _ACEOF
80411 if ac_fn_cxx_try_compile "$LINENO"; then :
80412 glibcxx_cv_fchmodat=yes
80413 else
80414 glibcxx_cv_fchmodat=no
80416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80417 else
80418 if test x$gcc_no_link = xyes; then
80419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80422 /* end confdefs.h. */
80424 #include <fcntl.h>
80425 #include <sys/stat.h>
80428 main ()
80430 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80432 return 0;
80434 _ACEOF
80435 if ac_fn_cxx_try_link "$LINENO"; then :
80436 glibcxx_cv_fchmodat=yes
80437 else
80438 glibcxx_cv_fchmodat=no
80440 rm -f core conftest.err conftest.$ac_objext \
80441 conftest$ac_exeext conftest.$ac_ext
80446 if test $glibcxx_cv_fchmodat = yes; then
80448 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80452 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80454 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80455 if test "${glibcxx_cv_sendfile+set}" = set; then :
80456 $as_echo_n "(cached) " >&6
80457 else
80458 case "${target_os}" in
80459 gnu* | linux* | solaris*)
80460 if test x$gcc_no_link = xyes; then
80461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80462 /* end confdefs.h. */
80463 #include <sys/sendfile.h>
80465 main ()
80467 sendfile(1, 2, (off_t*)0, sizeof 1);
80469 return 0;
80471 _ACEOF
80472 if ac_fn_cxx_try_compile "$LINENO"; then :
80473 glibcxx_cv_sendfile=yes
80474 else
80475 glibcxx_cv_sendfile=no
80477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80478 else
80479 if test x$gcc_no_link = xyes; then
80480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80483 /* end confdefs.h. */
80484 #include <sys/sendfile.h>
80486 main ()
80488 sendfile(1, 2, (off_t*)0, sizeof 1);
80490 return 0;
80492 _ACEOF
80493 if ac_fn_cxx_try_link "$LINENO"; then :
80494 glibcxx_cv_sendfile=yes
80495 else
80496 glibcxx_cv_sendfile=no
80498 rm -f core conftest.err conftest.$ac_objext \
80499 conftest$ac_exeext conftest.$ac_ext
80503 glibcxx_cv_sendfile=no
80505 esac
80509 if test $glibcxx_cv_sendfile = yes; then
80511 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80515 $as_echo "$glibcxx_cv_sendfile" >&6; }
80516 CXXFLAGS="$ac_save_CXXFLAGS"
80517 ac_ext=c
80518 ac_cpp='$CPP $CPPFLAGS'
80519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80525 # For Transactional Memory TS
80527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80528 $as_echo_n "checking how size_t is mangled... " >&6; }
80529 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80530 $as_echo_n "(cached) " >&6
80531 else
80533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80534 /* end confdefs.h. */
80537 main ()
80539 extern __SIZE_TYPE__ x; extern unsigned long x;
80541 return 0;
80543 _ACEOF
80544 if ac_fn_c_try_compile "$LINENO"; then :
80545 glibcxx_cv_size_t_mangling=m
80546 else
80548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80549 /* end confdefs.h. */
80552 main ()
80554 extern __SIZE_TYPE__ x; extern unsigned int x;
80556 return 0;
80558 _ACEOF
80559 if ac_fn_c_try_compile "$LINENO"; then :
80560 glibcxx_cv_size_t_mangling=j
80561 else
80563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80564 /* end confdefs.h. */
80567 main ()
80569 extern __SIZE_TYPE__ x; extern unsigned long long x;
80571 return 0;
80573 _ACEOF
80574 if ac_fn_c_try_compile "$LINENO"; then :
80575 glibcxx_cv_size_t_mangling=y
80576 else
80578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80579 /* end confdefs.h. */
80582 main ()
80584 extern __SIZE_TYPE__ x; extern unsigned short x;
80586 return 0;
80588 _ACEOF
80589 if ac_fn_c_try_compile "$LINENO"; then :
80590 glibcxx_cv_size_t_mangling=t
80591 else
80592 glibcxx_cv_size_t_mangling=x
80594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80607 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80608 if test $glibcxx_cv_size_t_mangling = x; then
80609 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80612 cat >>confdefs.h <<_ACEOF
80613 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80614 _ACEOF
80618 # Define documentation rules conditionally.
80620 # See if makeinfo has been installed and is modern enough
80621 # that we can use it.
80623 # Extract the first word of "makeinfo", so it can be a program name with args.
80624 set dummy makeinfo; ac_word=$2
80625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80626 $as_echo_n "checking for $ac_word... " >&6; }
80627 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80628 $as_echo_n "(cached) " >&6
80629 else
80630 if test -n "$MAKEINFO"; then
80631 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80632 else
80633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80634 for as_dir in $PATH
80636 IFS=$as_save_IFS
80637 test -z "$as_dir" && as_dir=.
80638 for ac_exec_ext in '' $ac_executable_extensions; do
80639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80640 ac_cv_prog_MAKEINFO="makeinfo"
80641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80642 break 2
80644 done
80645 done
80646 IFS=$as_save_IFS
80650 MAKEINFO=$ac_cv_prog_MAKEINFO
80651 if test -n "$MAKEINFO"; then
80652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80653 $as_echo "$MAKEINFO" >&6; }
80654 else
80655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80656 $as_echo "no" >&6; }
80660 if test -n "$MAKEINFO"; then
80661 # Found it, now check the version.
80662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80663 $as_echo_n "checking for modern makeinfo... " >&6; }
80664 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80665 $as_echo_n "(cached) " >&6
80666 else
80667 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80668 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80670 case $ac_prog_version in
80671 '') gcc_cv_prog_makeinfo_modern=no;;
80672 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80673 *) gcc_cv_prog_makeinfo_modern=no;;
80674 esac
80677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80678 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80679 else
80680 gcc_cv_prog_makeinfo_modern=no
80682 if test $gcc_cv_prog_makeinfo_modern = no; then
80683 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80686 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80687 BUILD_INFO_TRUE=
80688 BUILD_INFO_FALSE='#'
80689 else
80690 BUILD_INFO_TRUE='#'
80691 BUILD_INFO_FALSE=
80695 # Check for doxygen
80696 # Extract the first word of "doxygen", so it can be a program name with args.
80697 set dummy doxygen; ac_word=$2
80698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80699 $as_echo_n "checking for $ac_word... " >&6; }
80700 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80701 $as_echo_n "(cached) " >&6
80702 else
80703 if test -n "$DOXYGEN"; then
80704 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80705 else
80706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80707 for as_dir in $PATH
80709 IFS=$as_save_IFS
80710 test -z "$as_dir" && as_dir=.
80711 for ac_exec_ext in '' $ac_executable_extensions; do
80712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80713 ac_cv_prog_DOXYGEN="yes"
80714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80715 break 2
80717 done
80718 done
80719 IFS=$as_save_IFS
80721 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80724 DOXYGEN=$ac_cv_prog_DOXYGEN
80725 if test -n "$DOXYGEN"; then
80726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80727 $as_echo "$DOXYGEN" >&6; }
80728 else
80729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80730 $as_echo "no" >&6; }
80734 # Extract the first word of "dot", so it can be a program name with args.
80735 set dummy dot; ac_word=$2
80736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80737 $as_echo_n "checking for $ac_word... " >&6; }
80738 if test "${ac_cv_prog_DOT+set}" = set; then :
80739 $as_echo_n "(cached) " >&6
80740 else
80741 if test -n "$DOT"; then
80742 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80743 else
80744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80745 for as_dir in $PATH
80747 IFS=$as_save_IFS
80748 test -z "$as_dir" && as_dir=.
80749 for ac_exec_ext in '' $ac_executable_extensions; do
80750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80751 ac_cv_prog_DOT="yes"
80752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80753 break 2
80755 done
80756 done
80757 IFS=$as_save_IFS
80759 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80762 DOT=$ac_cv_prog_DOT
80763 if test -n "$DOT"; then
80764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80765 $as_echo "$DOT" >&6; }
80766 else
80767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80768 $as_echo "no" >&6; }
80773 # Check for docbook
80774 # Extract the first word of "xsltproc", so it can be a program name with args.
80775 set dummy xsltproc; ac_word=$2
80776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80777 $as_echo_n "checking for $ac_word... " >&6; }
80778 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80779 $as_echo_n "(cached) " >&6
80780 else
80781 if test -n "$XSLTPROC"; then
80782 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80783 else
80784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80785 for as_dir in $PATH
80787 IFS=$as_save_IFS
80788 test -z "$as_dir" && as_dir=.
80789 for ac_exec_ext in '' $ac_executable_extensions; do
80790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80791 ac_cv_prog_XSLTPROC="yes"
80792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80793 break 2
80795 done
80796 done
80797 IFS=$as_save_IFS
80799 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80802 XSLTPROC=$ac_cv_prog_XSLTPROC
80803 if test -n "$XSLTPROC"; then
80804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80805 $as_echo "$XSLTPROC" >&6; }
80806 else
80807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80808 $as_echo "no" >&6; }
80812 # Extract the first word of "xmllint", so it can be a program name with args.
80813 set dummy xmllint; ac_word=$2
80814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80815 $as_echo_n "checking for $ac_word... " >&6; }
80816 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80817 $as_echo_n "(cached) " >&6
80818 else
80819 if test -n "$XMLLINT"; then
80820 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80821 else
80822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80823 for as_dir in $PATH
80825 IFS=$as_save_IFS
80826 test -z "$as_dir" && as_dir=.
80827 for ac_exec_ext in '' $ac_executable_extensions; do
80828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80829 ac_cv_prog_XMLLINT="yes"
80830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80831 break 2
80833 done
80834 done
80835 IFS=$as_save_IFS
80837 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80840 XMLLINT=$ac_cv_prog_XMLLINT
80841 if test -n "$XMLLINT"; then
80842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80843 $as_echo "$XMLLINT" >&6; }
80844 else
80845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80846 $as_echo "no" >&6; }
80852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80853 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80854 glibcxx_stylesheets=no
80855 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
80856 glibcxx_stylesheets=yes
80858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80859 $as_echo "$glibcxx_stylesheets" >&6; }
80861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80862 $as_echo_n "checking for local stylesheet directory... " >&6; }
80863 glibcxx_local_stylesheets=no
80864 if test x"$glibcxx_stylesheets" = x"yes"; then
80865 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80866 glibcxx_local_stylesheets=yes
80867 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80869 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80870 glibcxx_local_stylesheets=yes
80871 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80873 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80874 glibcxx_local_stylesheets=yes
80875 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80879 $as_echo "$glibcxx_local_stylesheets" >&6; }
80881 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80883 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80884 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80885 else
80886 glibcxx_stylesheets=no
80889 # Check for epub3 dependencies.
80890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80891 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80892 glibcxx_epub_stylesheets=no
80893 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80894 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80895 glibcxx_epub_stylesheets=yes
80898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80899 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80900 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80901 BUILD_EPUB_TRUE=
80902 BUILD_EPUB_FALSE='#'
80903 else
80904 BUILD_EPUB_TRUE='#'
80905 BUILD_EPUB_FALSE=
80911 # Check for xml/html dependencies.
80912 if test $ac_cv_prog_DOXYGEN = "yes" &&
80913 test $ac_cv_prog_DOT = "yes" &&
80914 test $ac_cv_prog_XSLTPROC = "yes" &&
80915 test $ac_cv_prog_XMLLINT = "yes" &&
80916 test $glibcxx_stylesheets = "yes"; then
80917 BUILD_XML_TRUE=
80918 BUILD_XML_FALSE='#'
80919 else
80920 BUILD_XML_TRUE='#'
80921 BUILD_XML_FALSE=
80925 if test $ac_cv_prog_DOXYGEN = "yes" &&
80926 test $ac_cv_prog_DOT = "yes" &&
80927 test $ac_cv_prog_XSLTPROC = "yes" &&
80928 test $ac_cv_prog_XMLLINT = "yes" &&
80929 test $glibcxx_stylesheets = "yes"; then
80930 BUILD_HTML_TRUE=
80931 BUILD_HTML_FALSE='#'
80932 else
80933 BUILD_HTML_TRUE='#'
80934 BUILD_HTML_FALSE=
80938 # Check for man dependencies.
80939 if test $ac_cv_prog_DOXYGEN = "yes" &&
80940 test $ac_cv_prog_DOT = "yes"; then
80941 BUILD_MAN_TRUE=
80942 BUILD_MAN_FALSE='#'
80943 else
80944 BUILD_MAN_TRUE='#'
80945 BUILD_MAN_FALSE=
80949 # Check for pdf dependencies.
80950 # Extract the first word of "dblatex", so it can be a program name with args.
80951 set dummy dblatex; ac_word=$2
80952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80953 $as_echo_n "checking for $ac_word... " >&6; }
80954 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80955 $as_echo_n "(cached) " >&6
80956 else
80957 if test -n "$DBLATEX"; then
80958 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80959 else
80960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80961 for as_dir in $PATH
80963 IFS=$as_save_IFS
80964 test -z "$as_dir" && as_dir=.
80965 for ac_exec_ext in '' $ac_executable_extensions; do
80966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80967 ac_cv_prog_DBLATEX="yes"
80968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80969 break 2
80971 done
80972 done
80973 IFS=$as_save_IFS
80975 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80978 DBLATEX=$ac_cv_prog_DBLATEX
80979 if test -n "$DBLATEX"; then
80980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80981 $as_echo "$DBLATEX" >&6; }
80982 else
80983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80984 $as_echo "no" >&6; }
80988 # Extract the first word of "pdflatex", so it can be a program name with args.
80989 set dummy pdflatex; ac_word=$2
80990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80991 $as_echo_n "checking for $ac_word... " >&6; }
80992 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80993 $as_echo_n "(cached) " >&6
80994 else
80995 if test -n "$PDFLATEX"; then
80996 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80997 else
80998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80999 for as_dir in $PATH
81001 IFS=$as_save_IFS
81002 test -z "$as_dir" && as_dir=.
81003 for ac_exec_ext in '' $ac_executable_extensions; do
81004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81005 ac_cv_prog_PDFLATEX="yes"
81006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81007 break 2
81009 done
81010 done
81011 IFS=$as_save_IFS
81013 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81016 PDFLATEX=$ac_cv_prog_PDFLATEX
81017 if test -n "$PDFLATEX"; then
81018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81019 $as_echo "$PDFLATEX" >&6; }
81020 else
81021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81022 $as_echo "no" >&6; }
81026 if test $ac_cv_prog_DBLATEX = "yes" &&
81027 test $ac_cv_prog_PDFLATEX = "yes"; then
81028 BUILD_PDF_TRUE=
81029 BUILD_PDF_FALSE='#'
81030 else
81031 BUILD_PDF_TRUE='#'
81032 BUILD_PDF_FALSE=
81037 # Propagate the target-specific source directories through the build chain.
81038 ATOMICITY_SRCDIR=config/${atomicity_dir}
81039 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81040 ATOMIC_FLAGS=${atomic_flags}
81041 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81042 OS_INC_SRCDIR=config/${os_include_dir}
81043 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81044 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81045 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81046 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81058 # Determine cross-compile flags and AM_CONDITIONALs.
81059 #AC_SUBST(GLIBCXX_IS_NATIVE)
81060 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81061 if test $is_hosted = yes; then
81062 GLIBCXX_HOSTED_TRUE=
81063 GLIBCXX_HOSTED_FALSE='#'
81064 else
81065 GLIBCXX_HOSTED_TRUE='#'
81066 GLIBCXX_HOSTED_FALSE=
81070 if test $enable_libstdcxx_pch = yes; then
81071 GLIBCXX_BUILD_PCH_TRUE=
81072 GLIBCXX_BUILD_PCH_FALSE='#'
81073 else
81074 GLIBCXX_BUILD_PCH_TRUE='#'
81075 GLIBCXX_BUILD_PCH_FALSE=
81079 if test $enable_libstdcxx_allocator_flag = new; then
81080 ENABLE_ALLOCATOR_NEW_TRUE=
81081 ENABLE_ALLOCATOR_NEW_FALSE='#'
81082 else
81083 ENABLE_ALLOCATOR_NEW_TRUE='#'
81084 ENABLE_ALLOCATOR_NEW_FALSE=
81088 if test $enable_cheaders = c; then
81089 GLIBCXX_C_HEADERS_C_TRUE=
81090 GLIBCXX_C_HEADERS_C_FALSE='#'
81091 else
81092 GLIBCXX_C_HEADERS_C_TRUE='#'
81093 GLIBCXX_C_HEADERS_C_FALSE=
81097 if test $enable_cheaders = c_std; then
81098 GLIBCXX_C_HEADERS_C_STD_TRUE=
81099 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81100 else
81101 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81102 GLIBCXX_C_HEADERS_C_STD_FALSE=
81106 if test $enable_cheaders = c_global; then
81107 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81108 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81109 else
81110 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81111 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81115 if test $c_compatibility = yes; then
81116 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81117 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81118 else
81119 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81120 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81124 if test $enable_libstdcxx_debug = yes; then
81125 GLIBCXX_BUILD_DEBUG_TRUE=
81126 GLIBCXX_BUILD_DEBUG_FALSE='#'
81127 else
81128 GLIBCXX_BUILD_DEBUG_TRUE='#'
81129 GLIBCXX_BUILD_DEBUG_FALSE=
81133 if test $enable_extern_template = yes; then
81134 ENABLE_EXTERN_TEMPLATE_TRUE=
81135 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81136 else
81137 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81138 ENABLE_EXTERN_TEMPLATE_FALSE=
81142 if test $python_mod_dir != no; then
81143 ENABLE_PYTHONDIR_TRUE=
81144 ENABLE_PYTHONDIR_FALSE='#'
81145 else
81146 ENABLE_PYTHONDIR_TRUE='#'
81147 ENABLE_PYTHONDIR_FALSE=
81151 if test $enable_werror = yes; then
81152 ENABLE_WERROR_TRUE=
81153 ENABLE_WERROR_FALSE='#'
81154 else
81155 ENABLE_WERROR_TRUE='#'
81156 ENABLE_WERROR_FALSE=
81160 if test $enable_vtable_verify = yes; then
81161 ENABLE_VTABLE_VERIFY_TRUE=
81162 ENABLE_VTABLE_VERIFY_FALSE='#'
81163 else
81164 ENABLE_VTABLE_VERIFY_TRUE='#'
81165 ENABLE_VTABLE_VERIFY_FALSE=
81169 if test $enable_symvers != no; then
81170 ENABLE_SYMVERS_TRUE=
81171 ENABLE_SYMVERS_FALSE='#'
81172 else
81173 ENABLE_SYMVERS_TRUE='#'
81174 ENABLE_SYMVERS_FALSE=
81178 if test $enable_symvers = gnu; then
81179 ENABLE_SYMVERS_GNU_TRUE=
81180 ENABLE_SYMVERS_GNU_FALSE='#'
81181 else
81182 ENABLE_SYMVERS_GNU_TRUE='#'
81183 ENABLE_SYMVERS_GNU_FALSE=
81187 if test $enable_symvers = gnu-versioned-namespace; then
81188 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81189 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81190 else
81191 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81192 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81196 if test $enable_symvers = darwin; then
81197 ENABLE_SYMVERS_DARWIN_TRUE=
81198 ENABLE_SYMVERS_DARWIN_FALSE='#'
81199 else
81200 ENABLE_SYMVERS_DARWIN_TRUE='#'
81201 ENABLE_SYMVERS_DARWIN_FALSE=
81205 if test $enable_symvers = sun; then
81206 ENABLE_SYMVERS_SUN_TRUE=
81207 ENABLE_SYMVERS_SUN_FALSE='#'
81208 else
81209 ENABLE_SYMVERS_SUN_TRUE='#'
81210 ENABLE_SYMVERS_SUN_FALSE=
81214 if test $enable_libstdcxx_visibility = yes; then
81215 ENABLE_VISIBILITY_TRUE=
81216 ENABLE_VISIBILITY_FALSE='#'
81217 else
81218 ENABLE_VISIBILITY_TRUE='#'
81219 ENABLE_VISIBILITY_FALSE=
81223 if test $enable_libstdcxx_dual_abi = yes; then
81224 ENABLE_DUAL_ABI_TRUE=
81225 ENABLE_DUAL_ABI_FALSE='#'
81226 else
81227 ENABLE_DUAL_ABI_TRUE='#'
81228 ENABLE_DUAL_ABI_FALSE=
81232 if test $glibcxx_cxx11_abi = 1; then
81233 ENABLE_CXX11_ABI_TRUE=
81234 ENABLE_CXX11_ABI_FALSE='#'
81235 else
81236 ENABLE_CXX11_ABI_TRUE='#'
81237 ENABLE_CXX11_ABI_FALSE=
81241 if test $ac_ldbl_compat = yes; then
81242 GLIBCXX_LDBL_COMPAT_TRUE=
81243 GLIBCXX_LDBL_COMPAT_FALSE='#'
81244 else
81245 GLIBCXX_LDBL_COMPAT_TRUE='#'
81246 GLIBCXX_LDBL_COMPAT_FALSE=
81250 if test $enable_libstdcxx_filesystem_ts = yes; then
81251 ENABLE_FILESYSTEM_TS_TRUE=
81252 ENABLE_FILESYSTEM_TS_FALSE='#'
81253 else
81254 ENABLE_FILESYSTEM_TS_TRUE='#'
81255 ENABLE_FILESYSTEM_TS_FALSE=
81261 cat >confcache <<\_ACEOF
81262 # This file is a shell script that caches the results of configure
81263 # tests run on this system so they can be shared between configure
81264 # scripts and configure runs, see configure's option --config-cache.
81265 # It is not useful on other systems. If it contains results you don't
81266 # want to keep, you may remove or edit it.
81268 # config.status only pays attention to the cache file if you give it
81269 # the --recheck option to rerun configure.
81271 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81272 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81273 # following values.
81275 _ACEOF
81277 # The following way of writing the cache mishandles newlines in values,
81278 # but we know of no workaround that is simple, portable, and efficient.
81279 # So, we kill variables containing newlines.
81280 # Ultrix sh set writes to stderr and can't be redirected directly,
81281 # and sets the high bit in the cache file unless we assign to the vars.
81283 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81284 eval ac_val=\$$ac_var
81285 case $ac_val in #(
81286 *${as_nl}*)
81287 case $ac_var in #(
81288 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81289 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81290 esac
81291 case $ac_var in #(
81292 _ | IFS | as_nl) ;; #(
81293 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81294 *) { eval $ac_var=; unset $ac_var;} ;;
81295 esac ;;
81296 esac
81297 done
81299 (set) 2>&1 |
81300 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81301 *${as_nl}ac_space=\ *)
81302 # `set' does not quote correctly, so add quotes: double-quote
81303 # substitution turns \\\\ into \\, and sed turns \\ into \.
81304 sed -n \
81305 "s/'/'\\\\''/g;
81306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81307 ;; #(
81309 # `set' quotes correctly as required by POSIX, so do not add quotes.
81310 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81312 esac |
81313 sort
81315 sed '
81316 /^ac_cv_env_/b end
81317 t clear
81318 :clear
81319 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81320 t end
81321 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81322 :end' >>confcache
81323 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81324 if test -w "$cache_file"; then
81325 test "x$cache_file" != "x/dev/null" &&
81326 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81327 $as_echo "$as_me: updating cache $cache_file" >&6;}
81328 cat confcache >$cache_file
81329 else
81330 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81331 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81334 rm -f confcache
81336 if test ${multilib} = yes; then
81337 multilib_arg="--enable-multilib"
81338 else
81339 multilib_arg=
81342 # Export all the install information.
81344 glibcxx_toolexecdir=no
81345 glibcxx_toolexeclibdir=no
81346 glibcxx_prefixdir=$prefix
81348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81349 $as_echo_n "checking for gxx-include-dir... " >&6; }
81351 # Check whether --with-gxx-include-dir was given.
81352 if test "${with_gxx_include_dir+set}" = set; then :
81353 withval=$with_gxx_include_dir; case "$withval" in
81354 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81355 no) gxx_include_dir=no ;;
81356 *) gxx_include_dir=$withval ;;
81357 esac
81358 else
81359 gxx_include_dir=no
81362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81363 $as_echo "$gxx_include_dir" >&6; }
81365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81366 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81367 # Check whether --enable-version-specific-runtime-libs was given.
81368 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81369 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81370 yes) version_specific_libs=yes ;;
81371 no) version_specific_libs=no ;;
81372 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81373 esac
81374 else
81375 version_specific_libs=no
81378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81379 $as_echo "$version_specific_libs" >&6; }
81381 # Default case for install directory for include files.
81382 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81383 gxx_include_dir='include/c++/${gcc_version}'
81384 if test -n "$with_cross_host" &&
81385 test x"$with_cross_host" != x"no"; then
81386 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81387 else
81388 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81392 # Version-specific runtime libs processing.
81393 if test $version_specific_libs = yes; then
81394 # Need the gcc compiler version to know where to install libraries
81395 # and header files if --enable-version-specific-runtime-libs option
81396 # is selected. FIXME: these variables are misnamed, there are
81397 # no executables installed in _toolexecdir or _toolexeclibdir.
81398 if test x"$gxx_include_dir" = x"no"; then
81399 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81401 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81402 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81405 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81406 # Install a library built with a cross compiler in tooldir, not libdir.
81407 if test x"$glibcxx_toolexecdir" = x"no"; then
81408 if test -n "$with_cross_host" &&
81409 test x"$with_cross_host" != x"no"; then
81410 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81411 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81412 else
81413 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81414 glibcxx_toolexeclibdir='${libdir}'
81416 multi_os_directory=`$CXX -print-multi-os-directory`
81417 case $multi_os_directory in
81418 .) ;; # Avoid trailing /.
81419 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81420 esac
81423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81424 $as_echo_n "checking for install location... " >&6; }
81425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81426 $as_echo "$gxx_include_dir" >&6; }
81434 # Export all the include and flag information to Makefiles.
81436 # Used for every C++ compile we perform.
81437 GLIBCXX_INCLUDES="\
81438 -I$glibcxx_builddir/include/$host_alias \
81439 -I$glibcxx_builddir/include \
81440 -I$glibcxx_srcdir/libsupc++"
81442 # For Canadian crosses, pick this up too.
81443 if test $CANADIAN = yes; then
81444 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81447 # Stuff in the actual top level. Currently only used by libsupc++ to
81448 # get unwind* headers from the libgcc dir.
81449 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81450 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81452 # Now, export this to all the little Makefiles....
81457 # Optimization flags that are probably a good idea for thrill-seekers. Just
81458 # uncomment the lines below and make, everything else is ready to go...
81459 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81460 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81463 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81467 ac_config_files="$ac_config_files Makefile"
81469 ac_config_files="$ac_config_files scripts/testsuite_flags"
81471 ac_config_files="$ac_config_files scripts/extract_symvers"
81473 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81476 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81477 # that multilib installs will end up installed in the correct place.
81478 # The testsuite needs it for multilib-aware ABI baseline files.
81479 # To work around this not being passed down from config-ml.in ->
81480 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81481 # append it here. Only modify Makefiles that have just been created.
81483 # Also, get rid of this simulated-VPATH thing that automake does.
81484 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"
81487 ac_config_commands="$ac_config_commands generate-headers"
81490 cat >confcache <<\_ACEOF
81491 # This file is a shell script that caches the results of configure
81492 # tests run on this system so they can be shared between configure
81493 # scripts and configure runs, see configure's option --config-cache.
81494 # It is not useful on other systems. If it contains results you don't
81495 # want to keep, you may remove or edit it.
81497 # config.status only pays attention to the cache file if you give it
81498 # the --recheck option to rerun configure.
81500 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81501 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81502 # following values.
81504 _ACEOF
81506 # The following way of writing the cache mishandles newlines in values,
81507 # but we know of no workaround that is simple, portable, and efficient.
81508 # So, we kill variables containing newlines.
81509 # Ultrix sh set writes to stderr and can't be redirected directly,
81510 # and sets the high bit in the cache file unless we assign to the vars.
81512 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81513 eval ac_val=\$$ac_var
81514 case $ac_val in #(
81515 *${as_nl}*)
81516 case $ac_var in #(
81517 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81518 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81519 esac
81520 case $ac_var in #(
81521 _ | IFS | as_nl) ;; #(
81522 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81523 *) { eval $ac_var=; unset $ac_var;} ;;
81524 esac ;;
81525 esac
81526 done
81528 (set) 2>&1 |
81529 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81530 *${as_nl}ac_space=\ *)
81531 # `set' does not quote correctly, so add quotes: double-quote
81532 # substitution turns \\\\ into \\, and sed turns \\ into \.
81533 sed -n \
81534 "s/'/'\\\\''/g;
81535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81536 ;; #(
81538 # `set' quotes correctly as required by POSIX, so do not add quotes.
81539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81541 esac |
81542 sort
81544 sed '
81545 /^ac_cv_env_/b end
81546 t clear
81547 :clear
81548 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81549 t end
81550 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81551 :end' >>confcache
81552 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81553 if test -w "$cache_file"; then
81554 test "x$cache_file" != "x/dev/null" &&
81555 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81556 $as_echo "$as_me: updating cache $cache_file" >&6;}
81557 cat confcache >$cache_file
81558 else
81559 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81560 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81563 rm -f confcache
81565 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81566 # Let make expand exec_prefix.
81567 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81569 DEFS=-DHAVE_CONFIG_H
81571 ac_libobjs=
81572 ac_ltlibobjs=
81573 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81574 # 1. Remove the extension, and $U if already installed.
81575 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81576 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81577 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81578 # will be set to the directory where LIBOBJS objects are built.
81579 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81580 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81581 done
81582 LIBOBJS=$ac_libobjs
81584 LTLIBOBJS=$ac_ltlibobjs
81587 if test -n "$EXEEXT"; then
81588 am__EXEEXT_TRUE=
81589 am__EXEEXT_FALSE='#'
81590 else
81591 am__EXEEXT_TRUE='#'
81592 am__EXEEXT_FALSE=
81595 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81596 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81599 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81600 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81603 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81604 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81607 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81608 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81611 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81612 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81615 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81616 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81619 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81620 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81623 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81624 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81627 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81628 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81631 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81632 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81635 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81636 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81639 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81640 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81643 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81644 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81647 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81648 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81651 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81652 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81655 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81656 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81659 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81660 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81663 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81664 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81667 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81668 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81671 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81672 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81675 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81676 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81679 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81680 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81683 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81684 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81687 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81688 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81691 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81692 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81695 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81696 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81699 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81700 as_fn_error "conditional \"BUILD_XML\" was never defined.
81701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81703 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81704 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81707 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81708 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81711 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81712 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81716 : ${CONFIG_STATUS=./config.status}
81717 ac_write_fail=0
81718 ac_clean_files_save=$ac_clean_files
81719 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81721 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81722 as_write_fail=0
81723 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81724 #! $SHELL
81725 # Generated by $as_me.
81726 # Run this file to recreate the current configuration.
81727 # Compiler output produced by configure, useful for debugging
81728 # configure, is in config.log if it exists.
81730 debug=false
81731 ac_cs_recheck=false
81732 ac_cs_silent=false
81734 SHELL=\${CONFIG_SHELL-$SHELL}
81735 export SHELL
81736 _ASEOF
81737 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81738 ## -------------------- ##
81739 ## M4sh Initialization. ##
81740 ## -------------------- ##
81742 # Be more Bourne compatible
81743 DUALCASE=1; export DUALCASE # for MKS sh
81744 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81745 emulate sh
81746 NULLCMD=:
81747 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81748 # is contrary to our usage. Disable this feature.
81749 alias -g '${1+"$@"}'='"$@"'
81750 setopt NO_GLOB_SUBST
81751 else
81752 case `(set -o) 2>/dev/null` in #(
81753 *posix*) :
81754 set -o posix ;; #(
81755 *) :
81757 esac
81761 as_nl='
81763 export as_nl
81764 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81765 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81766 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81767 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81768 # Prefer a ksh shell builtin over an external printf program on Solaris,
81769 # but without wasting forks for bash or zsh.
81770 if test -z "$BASH_VERSION$ZSH_VERSION" \
81771 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81772 as_echo='print -r --'
81773 as_echo_n='print -rn --'
81774 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81775 as_echo='printf %s\n'
81776 as_echo_n='printf %s'
81777 else
81778 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81779 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81780 as_echo_n='/usr/ucb/echo -n'
81781 else
81782 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81783 as_echo_n_body='eval
81784 arg=$1;
81785 case $arg in #(
81786 *"$as_nl"*)
81787 expr "X$arg" : "X\\(.*\\)$as_nl";
81788 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81789 esac;
81790 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81792 export as_echo_n_body
81793 as_echo_n='sh -c $as_echo_n_body as_echo'
81795 export as_echo_body
81796 as_echo='sh -c $as_echo_body as_echo'
81799 # The user is always right.
81800 if test "${PATH_SEPARATOR+set}" != set; then
81801 PATH_SEPARATOR=:
81802 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81803 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81804 PATH_SEPARATOR=';'
81809 # IFS
81810 # We need space, tab and new line, in precisely that order. Quoting is
81811 # there to prevent editors from complaining about space-tab.
81812 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81813 # splitting by setting IFS to empty value.)
81814 IFS=" "" $as_nl"
81816 # Find who we are. Look in the path if we contain no directory separator.
81817 case $0 in #((
81818 *[\\/]* ) as_myself=$0 ;;
81819 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81820 for as_dir in $PATH
81822 IFS=$as_save_IFS
81823 test -z "$as_dir" && as_dir=.
81824 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81825 done
81826 IFS=$as_save_IFS
81829 esac
81830 # We did not find ourselves, most probably we were run as `sh COMMAND'
81831 # in which case we are not to be found in the path.
81832 if test "x$as_myself" = x; then
81833 as_myself=$0
81835 if test ! -f "$as_myself"; then
81836 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81837 exit 1
81840 # Unset variables that we do not need and which cause bugs (e.g. in
81841 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81842 # suppresses any "Segmentation fault" message there. '((' could
81843 # trigger a bug in pdksh 5.2.14.
81844 for as_var in BASH_ENV ENV MAIL MAILPATH
81845 do eval test x\${$as_var+set} = xset \
81846 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81847 done
81848 PS1='$ '
81849 PS2='> '
81850 PS4='+ '
81852 # NLS nuisances.
81853 LC_ALL=C
81854 export LC_ALL
81855 LANGUAGE=C
81856 export LANGUAGE
81858 # CDPATH.
81859 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81862 # as_fn_error ERROR [LINENO LOG_FD]
81863 # ---------------------------------
81864 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81865 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81866 # script with status $?, using 1 if that was 0.
81867 as_fn_error ()
81869 as_status=$?; test $as_status -eq 0 && as_status=1
81870 if test "$3"; then
81871 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81872 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81874 $as_echo "$as_me: error: $1" >&2
81875 as_fn_exit $as_status
81876 } # as_fn_error
81879 # as_fn_set_status STATUS
81880 # -----------------------
81881 # Set $? to STATUS, without forking.
81882 as_fn_set_status ()
81884 return $1
81885 } # as_fn_set_status
81887 # as_fn_exit STATUS
81888 # -----------------
81889 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81890 as_fn_exit ()
81892 set +e
81893 as_fn_set_status $1
81894 exit $1
81895 } # as_fn_exit
81897 # as_fn_unset VAR
81898 # ---------------
81899 # Portably unset VAR.
81900 as_fn_unset ()
81902 { eval $1=; unset $1;}
81904 as_unset=as_fn_unset
81905 # as_fn_append VAR VALUE
81906 # ----------------------
81907 # Append the text in VALUE to the end of the definition contained in VAR. Take
81908 # advantage of any shell optimizations that allow amortized linear growth over
81909 # repeated appends, instead of the typical quadratic growth present in naive
81910 # implementations.
81911 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81912 eval 'as_fn_append ()
81914 eval $1+=\$2
81916 else
81917 as_fn_append ()
81919 eval $1=\$$1\$2
81921 fi # as_fn_append
81923 # as_fn_arith ARG...
81924 # ------------------
81925 # Perform arithmetic evaluation on the ARGs, and store the result in the
81926 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81927 # must be portable across $(()) and expr.
81928 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81929 eval 'as_fn_arith ()
81931 as_val=$(( $* ))
81933 else
81934 as_fn_arith ()
81936 as_val=`expr "$@" || test $? -eq 1`
81938 fi # as_fn_arith
81941 if expr a : '\(a\)' >/dev/null 2>&1 &&
81942 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81943 as_expr=expr
81944 else
81945 as_expr=false
81948 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81949 as_basename=basename
81950 else
81951 as_basename=false
81954 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81955 as_dirname=dirname
81956 else
81957 as_dirname=false
81960 as_me=`$as_basename -- "$0" ||
81961 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81962 X"$0" : 'X\(//\)$' \| \
81963 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81964 $as_echo X/"$0" |
81965 sed '/^.*\/\([^/][^/]*\)\/*$/{
81966 s//\1/
81969 /^X\/\(\/\/\)$/{
81970 s//\1/
81973 /^X\/\(\/\).*/{
81974 s//\1/
81977 s/.*/./; q'`
81979 # Avoid depending upon Character Ranges.
81980 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81981 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81982 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81983 as_cr_digits='0123456789'
81984 as_cr_alnum=$as_cr_Letters$as_cr_digits
81986 ECHO_C= ECHO_N= ECHO_T=
81987 case `echo -n x` in #(((((
81988 -n*)
81989 case `echo 'xy\c'` in
81990 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81991 xy) ECHO_C='\c';;
81992 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81993 ECHO_T=' ';;
81994 esac;;
81996 ECHO_N='-n';;
81997 esac
81999 rm -f conf$$ conf$$.exe conf$$.file
82000 if test -d conf$$.dir; then
82001 rm -f conf$$.dir/conf$$.file
82002 else
82003 rm -f conf$$.dir
82004 mkdir conf$$.dir 2>/dev/null
82006 if (echo >conf$$.file) 2>/dev/null; then
82007 if ln -s conf$$.file conf$$ 2>/dev/null; then
82008 as_ln_s='ln -s'
82009 # ... but there are two gotchas:
82010 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82011 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82012 # In both cases, we have to default to `cp -p'.
82013 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82014 as_ln_s='cp -p'
82015 elif ln conf$$.file conf$$ 2>/dev/null; then
82016 as_ln_s=ln
82017 else
82018 as_ln_s='cp -p'
82020 else
82021 as_ln_s='cp -p'
82023 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82024 rmdir conf$$.dir 2>/dev/null
82027 # as_fn_mkdir_p
82028 # -------------
82029 # Create "$as_dir" as a directory, including parents if necessary.
82030 as_fn_mkdir_p ()
82033 case $as_dir in #(
82034 -*) as_dir=./$as_dir;;
82035 esac
82036 test -d "$as_dir" || eval $as_mkdir_p || {
82037 as_dirs=
82038 while :; do
82039 case $as_dir in #(
82040 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82041 *) as_qdir=$as_dir;;
82042 esac
82043 as_dirs="'$as_qdir' $as_dirs"
82044 as_dir=`$as_dirname -- "$as_dir" ||
82045 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82046 X"$as_dir" : 'X\(//\)[^/]' \| \
82047 X"$as_dir" : 'X\(//\)$' \| \
82048 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82049 $as_echo X"$as_dir" |
82050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82051 s//\1/
82054 /^X\(\/\/\)[^/].*/{
82055 s//\1/
82058 /^X\(\/\/\)$/{
82059 s//\1/
82062 /^X\(\/\).*/{
82063 s//\1/
82066 s/.*/./; q'`
82067 test -d "$as_dir" && break
82068 done
82069 test -z "$as_dirs" || eval "mkdir $as_dirs"
82070 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82073 } # as_fn_mkdir_p
82074 if mkdir -p . 2>/dev/null; then
82075 as_mkdir_p='mkdir -p "$as_dir"'
82076 else
82077 test -d ./-p && rmdir ./-p
82078 as_mkdir_p=false
82081 if test -x / >/dev/null 2>&1; then
82082 as_test_x='test -x'
82083 else
82084 if ls -dL / >/dev/null 2>&1; then
82085 as_ls_L_option=L
82086 else
82087 as_ls_L_option=
82089 as_test_x='
82090 eval sh -c '\''
82091 if test -d "$1"; then
82092 test -d "$1/.";
82093 else
82094 case $1 in #(
82095 -*)set "./$1";;
82096 esac;
82097 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82098 ???[sx]*):;;*)false;;esac;fi
82099 '\'' sh
82102 as_executable_p=$as_test_x
82104 # Sed expression to map a string onto a valid CPP name.
82105 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82107 # Sed expression to map a string onto a valid variable name.
82108 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82111 exec 6>&1
82112 ## ----------------------------------- ##
82113 ## Main body of $CONFIG_STATUS script. ##
82114 ## ----------------------------------- ##
82115 _ASEOF
82116 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82119 # Save the log message, to keep $0 and so on meaningful, and to
82120 # report actual input values of CONFIG_FILES etc. instead of their
82121 # values after options handling.
82122 ac_log="
82123 This file was extended by package-unused $as_me version-unused, which was
82124 generated by GNU Autoconf 2.64. Invocation command line was
82126 CONFIG_FILES = $CONFIG_FILES
82127 CONFIG_HEADERS = $CONFIG_HEADERS
82128 CONFIG_LINKS = $CONFIG_LINKS
82129 CONFIG_COMMANDS = $CONFIG_COMMANDS
82130 $ $0 $@
82132 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82135 _ACEOF
82137 case $ac_config_files in *"
82138 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82139 esac
82141 case $ac_config_headers in *"
82142 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82143 esac
82146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82147 # Files that config.status was made for.
82148 config_files="$ac_config_files"
82149 config_headers="$ac_config_headers"
82150 config_commands="$ac_config_commands"
82152 _ACEOF
82154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82155 ac_cs_usage="\
82156 \`$as_me' instantiates files and other configuration actions
82157 from templates according to the current configuration. Unless the files
82158 and actions are specified as TAGs, all are instantiated by default.
82160 Usage: $0 [OPTION]... [TAG]...
82162 -h, --help print this help, then exit
82163 -V, --version print version number and configuration settings, then exit
82164 -q, --quiet, --silent
82165 do not print progress messages
82166 -d, --debug don't remove temporary files
82167 --recheck update $as_me by reconfiguring in the same conditions
82168 --file=FILE[:TEMPLATE]
82169 instantiate the configuration file FILE
82170 --header=FILE[:TEMPLATE]
82171 instantiate the configuration header FILE
82173 Configuration files:
82174 $config_files
82176 Configuration headers:
82177 $config_headers
82179 Configuration commands:
82180 $config_commands
82182 Report bugs to the package provider."
82184 _ACEOF
82185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82186 ac_cs_version="\\
82187 package-unused config.status version-unused
82188 configured by $0, generated by GNU Autoconf 2.64,
82189 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82191 Copyright (C) 2009 Free Software Foundation, Inc.
82192 This config.status script is free software; the Free Software Foundation
82193 gives unlimited permission to copy, distribute and modify it."
82195 ac_pwd='$ac_pwd'
82196 srcdir='$srcdir'
82197 INSTALL='$INSTALL'
82198 MKDIR_P='$MKDIR_P'
82199 AWK='$AWK'
82200 test -n "\$AWK" || AWK=awk
82201 _ACEOF
82203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82204 # The default lists apply if the user does not specify any file.
82205 ac_need_defaults=:
82206 while test $# != 0
82208 case $1 in
82209 --*=*)
82210 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82211 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82212 ac_shift=:
82215 ac_option=$1
82216 ac_optarg=$2
82217 ac_shift=shift
82219 esac
82221 case $ac_option in
82222 # Handling of the options.
82223 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82224 ac_cs_recheck=: ;;
82225 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82226 $as_echo "$ac_cs_version"; exit ;;
82227 --debug | --debu | --deb | --de | --d | -d )
82228 debug=: ;;
82229 --file | --fil | --fi | --f )
82230 $ac_shift
82231 case $ac_optarg in
82232 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82233 esac
82234 as_fn_append CONFIG_FILES " '$ac_optarg'"
82235 ac_need_defaults=false;;
82236 --header | --heade | --head | --hea )
82237 $ac_shift
82238 case $ac_optarg in
82239 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82240 esac
82241 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82242 ac_need_defaults=false;;
82243 --he | --h)
82244 # Conflict between --help and --header
82245 as_fn_error "ambiguous option: \`$1'
82246 Try \`$0 --help' for more information.";;
82247 --help | --hel | -h )
82248 $as_echo "$ac_cs_usage"; exit ;;
82249 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82250 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82251 ac_cs_silent=: ;;
82253 # This is an error.
82254 -*) as_fn_error "unrecognized option: \`$1'
82255 Try \`$0 --help' for more information." ;;
82257 *) as_fn_append ac_config_targets " $1"
82258 ac_need_defaults=false ;;
82260 esac
82261 shift
82262 done
82264 ac_configure_extra_args=
82266 if $ac_cs_silent; then
82267 exec 6>/dev/null
82268 ac_configure_extra_args="$ac_configure_extra_args --silent"
82271 _ACEOF
82272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82273 if \$ac_cs_recheck; then
82274 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82275 shift
82276 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82277 CONFIG_SHELL='$SHELL'
82278 export CONFIG_SHELL
82279 exec "\$@"
82282 _ACEOF
82283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82284 exec 5>>config.log
82286 echo
82287 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82288 ## Running $as_me. ##
82289 _ASBOX
82290 $as_echo "$ac_log"
82291 } >&5
82293 _ACEOF
82294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82296 # INIT-COMMANDS
82299 srcdir="$srcdir"
82300 host="$host"
82301 target="$target"
82302 with_multisubdir="$with_multisubdir"
82303 with_multisrctop="$with_multisrctop"
82304 with_target_subdir="$with_target_subdir"
82305 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82306 multi_basedir="$multi_basedir"
82307 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82308 CC="$CC"
82309 CXX="$CXX"
82310 GFORTRAN="$GFORTRAN"
82313 # The HP-UX ksh and POSIX shell print the target directory to stdout
82314 # if CDPATH is set.
82315 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82317 sed_quote_subst='$sed_quote_subst'
82318 double_quote_subst='$double_quote_subst'
82319 delay_variable_subst='$delay_variable_subst'
82320 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82321 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82322 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82323 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82324 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82325 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82326 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82327 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82328 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82329 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82330 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82331 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82332 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82333 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82334 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82335 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82336 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82337 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82338 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82339 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82340 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82341 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82342 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82343 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82344 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82345 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82346 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82347 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82348 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82349 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82350 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82351 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82352 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82353 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82354 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82355 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82356 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82357 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82358 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82359 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82360 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82361 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82362 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82363 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82364 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82365 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82366 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82367 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82368 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"`'
82369 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82370 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82371 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82372 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82373 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82374 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82375 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82376 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82377 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82378 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82379 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82380 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82381 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82382 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82383 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82384 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82385 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82386 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82387 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82388 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82389 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82390 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82391 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82392 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82393 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82394 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82395 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82396 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82397 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82398 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82399 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82400 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82401 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82402 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82403 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82404 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82405 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82406 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82407 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82408 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82409 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82410 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82411 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82412 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82413 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82414 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82415 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82416 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82417 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82418 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82419 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82420 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82421 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82422 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82423 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82424 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82425 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82426 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82427 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82428 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82429 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82430 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82431 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82432 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82433 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82434 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82435 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82436 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82437 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82438 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82439 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82440 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82441 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82442 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82443 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82444 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82445 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82446 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82447 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82448 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82449 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82450 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82451 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82452 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82453 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82454 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82455 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82456 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82457 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82458 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82459 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82460 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82461 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82462 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82463 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82464 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82465 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82466 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82467 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82468 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82469 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82470 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82471 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82472 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82473 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82474 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82475 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82476 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82477 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82478 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82479 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82480 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82481 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82482 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82483 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82484 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82485 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82486 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82487 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82488 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82489 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82490 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82491 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82492 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82493 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82494 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82496 LTCC='$LTCC'
82497 LTCFLAGS='$LTCFLAGS'
82498 compiler='$compiler_DEFAULT'
82500 # A function that is used when there is no print builtin or printf.
82501 func_fallback_echo ()
82503 eval 'cat <<_LTECHO_EOF
82505 _LTECHO_EOF'
82508 # Quote evaled strings.
82509 for var in SHELL \
82510 ECHO \
82511 SED \
82512 GREP \
82513 EGREP \
82514 FGREP \
82515 LD \
82516 NM \
82517 LN_S \
82518 lt_SP2NL \
82519 lt_NL2SP \
82520 reload_flag \
82521 OBJDUMP \
82522 deplibs_check_method \
82523 file_magic_cmd \
82524 AR \
82525 AR_FLAGS \
82526 STRIP \
82527 RANLIB \
82528 CC \
82529 CFLAGS \
82530 compiler \
82531 lt_cv_sys_global_symbol_pipe \
82532 lt_cv_sys_global_symbol_to_cdecl \
82533 lt_cv_sys_global_symbol_to_c_name_address \
82534 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82535 lt_prog_compiler_no_builtin_flag \
82536 lt_prog_compiler_wl \
82537 lt_prog_compiler_pic \
82538 lt_prog_compiler_static \
82539 lt_cv_prog_compiler_c_o \
82540 need_locks \
82541 DSYMUTIL \
82542 NMEDIT \
82543 LIPO \
82544 OTOOL \
82545 OTOOL64 \
82546 shrext_cmds \
82547 export_dynamic_flag_spec \
82548 whole_archive_flag_spec \
82549 compiler_needs_object \
82550 with_gnu_ld \
82551 allow_undefined_flag \
82552 no_undefined_flag \
82553 hardcode_libdir_flag_spec \
82554 hardcode_libdir_flag_spec_ld \
82555 hardcode_libdir_separator \
82556 fix_srcfile_path \
82557 exclude_expsyms \
82558 include_expsyms \
82559 file_list_spec \
82560 variables_saved_for_relink \
82561 libname_spec \
82562 library_names_spec \
82563 soname_spec \
82564 install_override_mode \
82565 finish_eval \
82566 old_striplib \
82567 striplib \
82568 compiler_lib_search_dirs \
82569 predep_objects \
82570 postdep_objects \
82571 predeps \
82572 postdeps \
82573 compiler_lib_search_path \
82574 LD_CXX \
82575 reload_flag_CXX \
82576 compiler_CXX \
82577 lt_prog_compiler_no_builtin_flag_CXX \
82578 lt_prog_compiler_wl_CXX \
82579 lt_prog_compiler_pic_CXX \
82580 lt_prog_compiler_static_CXX \
82581 lt_cv_prog_compiler_c_o_CXX \
82582 export_dynamic_flag_spec_CXX \
82583 whole_archive_flag_spec_CXX \
82584 compiler_needs_object_CXX \
82585 with_gnu_ld_CXX \
82586 allow_undefined_flag_CXX \
82587 no_undefined_flag_CXX \
82588 hardcode_libdir_flag_spec_CXX \
82589 hardcode_libdir_flag_spec_ld_CXX \
82590 hardcode_libdir_separator_CXX \
82591 fix_srcfile_path_CXX \
82592 exclude_expsyms_CXX \
82593 include_expsyms_CXX \
82594 file_list_spec_CXX \
82595 compiler_lib_search_dirs_CXX \
82596 predep_objects_CXX \
82597 postdep_objects_CXX \
82598 predeps_CXX \
82599 postdeps_CXX \
82600 compiler_lib_search_path_CXX; do
82601 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82602 *[\\\\\\\`\\"\\\$]*)
82603 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82606 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82608 esac
82609 done
82611 # Double-quote double-evaled strings.
82612 for var in reload_cmds \
82613 old_postinstall_cmds \
82614 old_postuninstall_cmds \
82615 old_archive_cmds \
82616 extract_expsyms_cmds \
82617 old_archive_from_new_cmds \
82618 old_archive_from_expsyms_cmds \
82619 archive_cmds \
82620 archive_expsym_cmds \
82621 module_cmds \
82622 module_expsym_cmds \
82623 export_symbols_cmds \
82624 prelink_cmds \
82625 postinstall_cmds \
82626 postuninstall_cmds \
82627 finish_cmds \
82628 sys_lib_search_path_spec \
82629 sys_lib_dlsearch_path_spec \
82630 reload_cmds_CXX \
82631 old_archive_cmds_CXX \
82632 old_archive_from_new_cmds_CXX \
82633 old_archive_from_expsyms_cmds_CXX \
82634 archive_cmds_CXX \
82635 archive_expsym_cmds_CXX \
82636 module_cmds_CXX \
82637 module_expsym_cmds_CXX \
82638 export_symbols_cmds_CXX \
82639 prelink_cmds_CXX; do
82640 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82641 *[\\\\\\\`\\"\\\$]*)
82642 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82645 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82647 esac
82648 done
82650 ac_aux_dir='$ac_aux_dir'
82651 xsi_shell='$xsi_shell'
82652 lt_shell_append='$lt_shell_append'
82654 # See if we are running on zsh, and set the options which allow our
82655 # commands through without removal of \ escapes INIT.
82656 if test -n "\${ZSH_VERSION+set}" ; then
82657 setopt NO_GLOB_SUBST
82661 PACKAGE='$PACKAGE'
82662 VERSION='$VERSION'
82663 TIMESTAMP='$TIMESTAMP'
82664 RM='$RM'
82665 ofile='$ofile'
82672 GCC="$GCC"
82673 CC="$CC"
82674 acx_cv_header_stdint="$acx_cv_header_stdint"
82675 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82676 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82677 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82678 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82679 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82680 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82681 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82682 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82683 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82684 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82685 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82686 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82687 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82690 _ACEOF
82692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82694 # Handling of arguments.
82695 for ac_config_target in $ac_config_targets
82697 case $ac_config_target in
82698 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82699 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82700 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82701 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82702 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82703 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82704 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82705 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82706 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82707 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82708 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82709 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82710 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82711 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82712 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82713 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82714 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82715 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82716 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82718 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82719 esac
82720 done
82723 # If the user did not use the arguments to specify the items to instantiate,
82724 # then the envvar interface is used. Set only those that are not.
82725 # We use the long form for the default assignment because of an extremely
82726 # bizarre bug on SunOS 4.1.3.
82727 if $ac_need_defaults; then
82728 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82729 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82730 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82733 # Have a temporary directory for convenience. Make it in the build tree
82734 # simply because there is no reason against having it here, and in addition,
82735 # creating and moving files from /tmp can sometimes cause problems.
82736 # Hook for its removal unless debugging.
82737 # Note that there is a small window in which the directory will not be cleaned:
82738 # after its creation but before its name has been assigned to `$tmp'.
82739 $debug ||
82741 tmp=
82742 trap 'exit_status=$?
82743 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82745 trap 'as_fn_exit 1' 1 2 13 15
82747 # Create a (secure) tmp directory for tmp files.
82750 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82751 test -n "$tmp" && test -d "$tmp"
82752 } ||
82754 tmp=./conf$$-$RANDOM
82755 (umask 077 && mkdir "$tmp")
82756 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82758 # Set up the scripts for CONFIG_FILES section.
82759 # No need to generate them if there are no CONFIG_FILES.
82760 # This happens for instance with `./config.status config.h'.
82761 if test -n "$CONFIG_FILES"; then
82764 ac_cr=`echo X | tr X '\015'`
82765 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82766 # But we know of no other shell where ac_cr would be empty at this
82767 # point, so we can use a bashism as a fallback.
82768 if test "x$ac_cr" = x; then
82769 eval ac_cr=\$\'\\r\'
82771 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82772 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82773 ac_cs_awk_cr='\r'
82774 else
82775 ac_cs_awk_cr=$ac_cr
82778 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82779 _ACEOF
82783 echo "cat >conf$$subs.awk <<_ACEOF" &&
82784 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82785 echo "_ACEOF"
82786 } >conf$$subs.sh ||
82787 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82788 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82789 ac_delim='%!_!# '
82790 for ac_last_try in false false false false false :; do
82791 . ./conf$$subs.sh ||
82792 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82794 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82795 if test $ac_delim_n = $ac_delim_num; then
82796 break
82797 elif $ac_last_try; then
82798 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82799 else
82800 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82802 done
82803 rm -f conf$$subs.sh
82805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82806 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82807 _ACEOF
82808 sed -n '
82810 s/^/S["/; s/!.*/"]=/
82813 s/^[^!]*!//
82814 :repl
82815 t repl
82816 s/'"$ac_delim"'$//
82817 t delim
82820 s/\(.\{148\}\).*/\1/
82821 t more1
82822 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82825 b repl
82826 :more1
82827 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82830 s/.\{148\}//
82831 t nl
82832 :delim
82834 s/\(.\{148\}\).*/\1/
82835 t more2
82836 s/["\\]/\\&/g; s/^/"/; s/$/"/
82839 :more2
82840 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82843 s/.\{148\}//
82844 t delim
82845 ' <conf$$subs.awk | sed '
82846 /^[^""]/{
82848 s/\n//
82850 ' >>$CONFIG_STATUS || ac_write_fail=1
82851 rm -f conf$$subs.awk
82852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82853 _ACAWK
82854 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82855 for (key in S) S_is_set[key] = 1
82856 FS = "\a"
82860 line = $ 0
82861 nfields = split(line, field, "@")
82862 substed = 0
82863 len = length(field[1])
82864 for (i = 2; i < nfields; i++) {
82865 key = field[i]
82866 keylen = length(key)
82867 if (S_is_set[key]) {
82868 value = S[key]
82869 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82870 len += length(value) + length(field[++i])
82871 substed = 1
82872 } else
82873 len += 1 + keylen
82876 print line
82879 _ACAWK
82880 _ACEOF
82881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82882 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82883 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82884 else
82886 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82887 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82888 _ACEOF
82890 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82891 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82892 # trailing colons and then remove the whole line if VPATH becomes empty
82893 # (actually we leave an empty line to preserve line numbers).
82894 if test "x$srcdir" = x.; then
82895 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82896 s/:*\$(srcdir):*/:/
82897 s/:*\${srcdir}:*/:/
82898 s/:*@srcdir@:*/:/
82899 s/^\([^=]*=[ ]*\):*/\1/
82900 s/:*$//
82901 s/^[^=]*=[ ]*$//
82905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82906 fi # test -n "$CONFIG_FILES"
82908 # Set up the scripts for CONFIG_HEADERS section.
82909 # No need to generate them if there are no CONFIG_HEADERS.
82910 # This happens for instance with `./config.status Makefile'.
82911 if test -n "$CONFIG_HEADERS"; then
82912 cat >"$tmp/defines.awk" <<\_ACAWK ||
82913 BEGIN {
82914 _ACEOF
82916 # Transform confdefs.h into an awk script `defines.awk', embedded as
82917 # here-document in config.status, that substitutes the proper values into
82918 # config.h.in to produce config.h.
82920 # Create a delimiter string that does not exist in confdefs.h, to ease
82921 # handling of long lines.
82922 ac_delim='%!_!# '
82923 for ac_last_try in false false :; do
82924 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82925 if test -z "$ac_t"; then
82926 break
82927 elif $ac_last_try; then
82928 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82929 else
82930 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82932 done
82934 # For the awk script, D is an array of macro values keyed by name,
82935 # likewise P contains macro parameters if any. Preserve backslash
82936 # newline sequences.
82938 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82939 sed -n '
82940 s/.\{148\}/&'"$ac_delim"'/g
82941 t rset
82942 :rset
82943 s/^[ ]*#[ ]*define[ ][ ]*/ /
82944 t def
82946 :def
82947 s/\\$//
82948 t bsnl
82949 s/["\\]/\\&/g
82950 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82951 D["\1"]=" \3"/p
82952 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82954 :bsnl
82955 s/["\\]/\\&/g
82956 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82957 D["\1"]=" \3\\\\\\n"\\/p
82958 t cont
82959 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82960 t cont
82962 :cont
82964 s/.\{148\}/&'"$ac_delim"'/g
82965 t clear
82966 :clear
82967 s/\\$//
82968 t bsnlc
82969 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82971 :bsnlc
82972 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82973 b cont
82974 ' <confdefs.h | sed '
82975 s/'"$ac_delim"'/"\\\
82976 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82979 for (key in D) D_is_set[key] = 1
82980 FS = "\a"
82982 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82983 line = \$ 0
82984 split(line, arg, " ")
82985 if (arg[1] == "#") {
82986 defundef = arg[2]
82987 mac1 = arg[3]
82988 } else {
82989 defundef = substr(arg[1], 2)
82990 mac1 = arg[2]
82992 split(mac1, mac2, "(") #)
82993 macro = mac2[1]
82994 prefix = substr(line, 1, index(line, defundef) - 1)
82995 if (D_is_set[macro]) {
82996 # Preserve the white space surrounding the "#".
82997 print prefix "define", macro P[macro] D[macro]
82998 next
82999 } else {
83000 # Replace #undef with comments. This is necessary, for example,
83001 # in the case of _POSIX_SOURCE, which is predefined and required
83002 # on some systems where configure will not decide to define it.
83003 if (defundef == "undef") {
83004 print "/*", prefix defundef, macro, "*/"
83005 next
83009 { print }
83010 _ACAWK
83011 _ACEOF
83012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83013 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83014 fi # test -n "$CONFIG_HEADERS"
83017 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83018 shift
83019 for ac_tag
83021 case $ac_tag in
83022 :[FHLC]) ac_mode=$ac_tag; continue;;
83023 esac
83024 case $ac_mode$ac_tag in
83025 :[FHL]*:*);;
83026 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83027 :[FH]-) ac_tag=-:-;;
83028 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83029 esac
83030 ac_save_IFS=$IFS
83031 IFS=:
83032 set x $ac_tag
83033 IFS=$ac_save_IFS
83034 shift
83035 ac_file=$1
83036 shift
83038 case $ac_mode in
83039 :L) ac_source=$1;;
83040 :[FH])
83041 ac_file_inputs=
83042 for ac_f
83044 case $ac_f in
83045 -) ac_f="$tmp/stdin";;
83046 *) # Look for the file first in the build tree, then in the source tree
83047 # (if the path is not absolute). The absolute path cannot be DOS-style,
83048 # because $ac_f cannot contain `:'.
83049 test -f "$ac_f" ||
83050 case $ac_f in
83051 [\\/$]*) false;;
83052 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83053 esac ||
83054 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83055 esac
83056 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83057 as_fn_append ac_file_inputs " '$ac_f'"
83058 done
83060 # Let's still pretend it is `configure' which instantiates (i.e., don't
83061 # use $as_me), people would be surprised to read:
83062 # /* config.h. Generated by config.status. */
83063 configure_input='Generated from '`
83064 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83065 `' by configure.'
83066 if test x"$ac_file" != x-; then
83067 configure_input="$ac_file. $configure_input"
83068 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83069 $as_echo "$as_me: creating $ac_file" >&6;}
83071 # Neutralize special characters interpreted by sed in replacement strings.
83072 case $configure_input in #(
83073 *\&* | *\|* | *\\* )
83074 ac_sed_conf_input=`$as_echo "$configure_input" |
83075 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83076 *) ac_sed_conf_input=$configure_input;;
83077 esac
83079 case $ac_tag in
83080 *:-:* | *:-) cat >"$tmp/stdin" \
83081 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83082 esac
83084 esac
83086 ac_dir=`$as_dirname -- "$ac_file" ||
83087 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83088 X"$ac_file" : 'X\(//\)[^/]' \| \
83089 X"$ac_file" : 'X\(//\)$' \| \
83090 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83091 $as_echo X"$ac_file" |
83092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83093 s//\1/
83096 /^X\(\/\/\)[^/].*/{
83097 s//\1/
83100 /^X\(\/\/\)$/{
83101 s//\1/
83104 /^X\(\/\).*/{
83105 s//\1/
83108 s/.*/./; q'`
83109 as_dir="$ac_dir"; as_fn_mkdir_p
83110 ac_builddir=.
83112 case "$ac_dir" in
83113 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83115 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83116 # A ".." for each directory in $ac_dir_suffix.
83117 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83118 case $ac_top_builddir_sub in
83119 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83120 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83121 esac ;;
83122 esac
83123 ac_abs_top_builddir=$ac_pwd
83124 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83125 # for backward compatibility:
83126 ac_top_builddir=$ac_top_build_prefix
83128 case $srcdir in
83129 .) # We are building in place.
83130 ac_srcdir=.
83131 ac_top_srcdir=$ac_top_builddir_sub
83132 ac_abs_top_srcdir=$ac_pwd ;;
83133 [\\/]* | ?:[\\/]* ) # Absolute name.
83134 ac_srcdir=$srcdir$ac_dir_suffix;
83135 ac_top_srcdir=$srcdir
83136 ac_abs_top_srcdir=$srcdir ;;
83137 *) # Relative name.
83138 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83139 ac_top_srcdir=$ac_top_build_prefix$srcdir
83140 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83141 esac
83142 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83145 case $ac_mode in
83148 # CONFIG_FILE
83151 case $INSTALL in
83152 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83153 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83154 esac
83155 ac_MKDIR_P=$MKDIR_P
83156 case $MKDIR_P in
83157 [\\/$]* | ?:[\\/]* ) ;;
83158 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83159 esac
83160 _ACEOF
83162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83163 # If the template does not know about datarootdir, expand it.
83164 # FIXME: This hack should be removed a few years after 2.60.
83165 ac_datarootdir_hack=; ac_datarootdir_seen=
83166 ac_sed_dataroot='
83167 /datarootdir/ {
83171 /@datadir@/p
83172 /@docdir@/p
83173 /@infodir@/p
83174 /@localedir@/p
83175 /@mandir@/p'
83176 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83177 *datarootdir*) ac_datarootdir_seen=yes;;
83178 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83180 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83181 _ACEOF
83182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83183 ac_datarootdir_hack='
83184 s&@datadir@&$datadir&g
83185 s&@docdir@&$docdir&g
83186 s&@infodir@&$infodir&g
83187 s&@localedir@&$localedir&g
83188 s&@mandir@&$mandir&g
83189 s&\\\${datarootdir}&$datarootdir&g' ;;
83190 esac
83191 _ACEOF
83193 # Neutralize VPATH when `$srcdir' = `.'.
83194 # Shell code in configure.ac might set extrasub.
83195 # FIXME: do we really want to maintain this feature?
83196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83197 ac_sed_extra="$ac_vpsub
83198 $extrasub
83199 _ACEOF
83200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83203 s|@configure_input@|$ac_sed_conf_input|;t t
83204 s&@top_builddir@&$ac_top_builddir_sub&;t t
83205 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83206 s&@srcdir@&$ac_srcdir&;t t
83207 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83208 s&@top_srcdir@&$ac_top_srcdir&;t t
83209 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83210 s&@builddir@&$ac_builddir&;t t
83211 s&@abs_builddir@&$ac_abs_builddir&;t t
83212 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83213 s&@INSTALL@&$ac_INSTALL&;t t
83214 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83215 $ac_datarootdir_hack
83217 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83218 || as_fn_error "could not create $ac_file" "$LINENO" 5
83220 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83221 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83222 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83224 which seems to be undefined. Please make sure it is defined." >&5
83225 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83226 which seems to be undefined. Please make sure it is defined." >&2;}
83228 rm -f "$tmp/stdin"
83229 case $ac_file in
83230 -) cat "$tmp/out" && rm -f "$tmp/out";;
83231 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83232 esac \
83233 || as_fn_error "could not create $ac_file" "$LINENO" 5
83237 # CONFIG_HEADER
83239 if test x"$ac_file" != x-; then
83241 $as_echo "/* $configure_input */" \
83242 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83243 } >"$tmp/config.h" \
83244 || as_fn_error "could not create $ac_file" "$LINENO" 5
83245 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83246 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83247 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83248 else
83249 rm -f "$ac_file"
83250 mv "$tmp/config.h" "$ac_file" \
83251 || as_fn_error "could not create $ac_file" "$LINENO" 5
83253 else
83254 $as_echo "/* $configure_input */" \
83255 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83256 || as_fn_error "could not create -" "$LINENO" 5
83258 # Compute "$ac_file"'s index in $config_headers.
83259 _am_arg="$ac_file"
83260 _am_stamp_count=1
83261 for _am_header in $config_headers :; do
83262 case $_am_header in
83263 $_am_arg | $_am_arg:* )
83264 break ;;
83266 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83267 esac
83268 done
83269 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83270 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83271 X"$_am_arg" : 'X\(//\)[^/]' \| \
83272 X"$_am_arg" : 'X\(//\)$' \| \
83273 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83274 $as_echo X"$_am_arg" |
83275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83276 s//\1/
83279 /^X\(\/\/\)[^/].*/{
83280 s//\1/
83283 /^X\(\/\/\)$/{
83284 s//\1/
83287 /^X\(\/\).*/{
83288 s//\1/
83291 s/.*/./; q'`/stamp-h$_am_stamp_count
83294 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83295 $as_echo "$as_me: executing $ac_file commands" >&6;}
83297 esac
83300 case $ac_file$ac_mode in
83301 "default-1":C)
83302 # Only add multilib support code if we just rebuilt the top-level
83303 # Makefile.
83304 case " $CONFIG_FILES " in
83305 *" Makefile "*)
83306 ac_file=Makefile . ${multi_basedir}/config-ml.in
83308 esac ;;
83309 "libtool":C)
83311 # See if we are running on zsh, and set the options which allow our
83312 # commands through without removal of \ escapes.
83313 if test -n "${ZSH_VERSION+set}" ; then
83314 setopt NO_GLOB_SUBST
83317 cfgfile="${ofile}T"
83318 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83319 $RM "$cfgfile"
83321 cat <<_LT_EOF >> "$cfgfile"
83322 #! $SHELL
83324 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83325 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83326 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83327 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83329 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83330 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83331 # Written by Gordon Matzigkeit, 1996
83333 # This file is part of GNU Libtool.
83335 # GNU Libtool is free software; you can redistribute it and/or
83336 # modify it under the terms of the GNU General Public License as
83337 # published by the Free Software Foundation; either version 2 of
83338 # the License, or (at your option) any later version.
83340 # As a special exception to the GNU General Public License,
83341 # if you distribute this file as part of a program or library that
83342 # is built using GNU Libtool, you may include this file under the
83343 # same distribution terms that you use for the rest of that program.
83345 # GNU Libtool is distributed in the hope that it will be useful,
83346 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83347 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83348 # GNU General Public License for more details.
83350 # You should have received a copy of the GNU General Public License
83351 # along with GNU Libtool; see the file COPYING. If not, a copy
83352 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83353 # obtained by writing to the Free Software Foundation, Inc.,
83354 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83357 # The names of the tagged configurations supported by this script.
83358 available_tags="CXX "
83360 # ### BEGIN LIBTOOL CONFIG
83362 # Which release of libtool.m4 was used?
83363 macro_version=$macro_version
83364 macro_revision=$macro_revision
83366 # Whether or not to build shared libraries.
83367 build_libtool_libs=$enable_shared
83369 # Whether or not to build static libraries.
83370 build_old_libs=$enable_static
83372 # What type of objects to build.
83373 pic_mode=$pic_mode
83375 # Whether or not to optimize for fast installation.
83376 fast_install=$enable_fast_install
83378 # Shell to use when invoking shell scripts.
83379 SHELL=$lt_SHELL
83381 # An echo program that protects backslashes.
83382 ECHO=$lt_ECHO
83384 # The host system.
83385 host_alias=$host_alias
83386 host=$host
83387 host_os=$host_os
83389 # The build system.
83390 build_alias=$build_alias
83391 build=$build
83392 build_os=$build_os
83394 # A sed program that does not truncate output.
83395 SED=$lt_SED
83397 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83398 Xsed="\$SED -e 1s/^X//"
83400 # A grep program that handles long lines.
83401 GREP=$lt_GREP
83403 # An ERE matcher.
83404 EGREP=$lt_EGREP
83406 # A literal string matcher.
83407 FGREP=$lt_FGREP
83409 # A BSD- or MS-compatible name lister.
83410 NM=$lt_NM
83412 # Whether we need soft or hard links.
83413 LN_S=$lt_LN_S
83415 # What is the maximum length of a command?
83416 max_cmd_len=$max_cmd_len
83418 # Object file suffix (normally "o").
83419 objext=$ac_objext
83421 # Executable file suffix (normally "").
83422 exeext=$exeext
83424 # whether the shell understands "unset".
83425 lt_unset=$lt_unset
83427 # turn spaces into newlines.
83428 SP2NL=$lt_lt_SP2NL
83430 # turn newlines into spaces.
83431 NL2SP=$lt_lt_NL2SP
83433 # An object symbol dumper.
83434 OBJDUMP=$lt_OBJDUMP
83436 # Method to check whether dependent libraries are shared objects.
83437 deplibs_check_method=$lt_deplibs_check_method
83439 # Command to use when deplibs_check_method == "file_magic".
83440 file_magic_cmd=$lt_file_magic_cmd
83442 # The archiver.
83443 AR=$lt_AR
83444 AR_FLAGS=$lt_AR_FLAGS
83446 # A symbol stripping program.
83447 STRIP=$lt_STRIP
83449 # Commands used to install an old-style archive.
83450 RANLIB=$lt_RANLIB
83451 old_postinstall_cmds=$lt_old_postinstall_cmds
83452 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83454 # Whether to use a lock for old archive extraction.
83455 lock_old_archive_extraction=$lock_old_archive_extraction
83457 # A C compiler.
83458 LTCC=$lt_CC
83460 # LTCC compiler flags.
83461 LTCFLAGS=$lt_CFLAGS
83463 # Take the output of nm and produce a listing of raw symbols and C names.
83464 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83466 # Transform the output of nm in a proper C declaration.
83467 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83469 # Transform the output of nm in a C name address pair.
83470 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83472 # Transform the output of nm in a C name address pair when lib prefix is needed.
83473 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83475 # The name of the directory that contains temporary libtool files.
83476 objdir=$objdir
83478 # Used to examine libraries when file_magic_cmd begins with "file".
83479 MAGIC_CMD=$MAGIC_CMD
83481 # Must we lock files when doing compilation?
83482 need_locks=$lt_need_locks
83484 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83485 DSYMUTIL=$lt_DSYMUTIL
83487 # Tool to change global to local symbols on Mac OS X.
83488 NMEDIT=$lt_NMEDIT
83490 # Tool to manipulate fat objects and archives on Mac OS X.
83491 LIPO=$lt_LIPO
83493 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83494 OTOOL=$lt_OTOOL
83496 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83497 OTOOL64=$lt_OTOOL64
83499 # Old archive suffix (normally "a").
83500 libext=$libext
83502 # Shared library suffix (normally ".so").
83503 shrext_cmds=$lt_shrext_cmds
83505 # The commands to extract the exported symbol list from a shared archive.
83506 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83508 # Variables whose values should be saved in libtool wrapper scripts and
83509 # restored at link time.
83510 variables_saved_for_relink=$lt_variables_saved_for_relink
83512 # Do we need the "lib" prefix for modules?
83513 need_lib_prefix=$need_lib_prefix
83515 # Do we need a version for libraries?
83516 need_version=$need_version
83518 # Library versioning type.
83519 version_type=$version_type
83521 # Shared library runtime path variable.
83522 runpath_var=$runpath_var
83524 # Shared library path variable.
83525 shlibpath_var=$shlibpath_var
83527 # Is shlibpath searched before the hard-coded library search path?
83528 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83530 # Format of library name prefix.
83531 libname_spec=$lt_libname_spec
83533 # List of archive names. First name is the real one, the rest are links.
83534 # The last name is the one that the linker finds with -lNAME
83535 library_names_spec=$lt_library_names_spec
83537 # The coded name of the library, if different from the real name.
83538 soname_spec=$lt_soname_spec
83540 # Permission mode override for installation of shared libraries.
83541 install_override_mode=$lt_install_override_mode
83543 # Command to use after installation of a shared archive.
83544 postinstall_cmds=$lt_postinstall_cmds
83546 # Command to use after uninstallation of a shared archive.
83547 postuninstall_cmds=$lt_postuninstall_cmds
83549 # Commands used to finish a libtool library installation in a directory.
83550 finish_cmds=$lt_finish_cmds
83552 # As "finish_cmds", except a single script fragment to be evaled but
83553 # not shown.
83554 finish_eval=$lt_finish_eval
83556 # Whether we should hardcode library paths into libraries.
83557 hardcode_into_libs=$hardcode_into_libs
83559 # Compile-time system search path for libraries.
83560 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83562 # Run-time system search path for libraries.
83563 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83565 # Whether dlopen is supported.
83566 dlopen_support=$enable_dlopen
83568 # Whether dlopen of programs is supported.
83569 dlopen_self=$enable_dlopen_self
83571 # Whether dlopen of statically linked programs is supported.
83572 dlopen_self_static=$enable_dlopen_self_static
83574 # Commands to strip libraries.
83575 old_striplib=$lt_old_striplib
83576 striplib=$lt_striplib
83579 # The linker used to build libraries.
83580 LD=$lt_LD
83582 # How to create reloadable object files.
83583 reload_flag=$lt_reload_flag
83584 reload_cmds=$lt_reload_cmds
83586 # Commands used to build an old-style archive.
83587 old_archive_cmds=$lt_old_archive_cmds
83589 # A language specific compiler.
83590 CC=$lt_compiler
83592 # Is the compiler the GNU compiler?
83593 with_gcc=$GCC
83595 # Compiler flag to turn off builtin functions.
83596 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83598 # How to pass a linker flag through the compiler.
83599 wl=$lt_lt_prog_compiler_wl
83601 # Additional compiler flags for building library objects.
83602 pic_flag=$lt_lt_prog_compiler_pic
83604 # Compiler flag to prevent dynamic linking.
83605 link_static_flag=$lt_lt_prog_compiler_static
83607 # Does compiler simultaneously support -c and -o options?
83608 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83610 # Whether or not to add -lc for building shared libraries.
83611 build_libtool_need_lc=$archive_cmds_need_lc
83613 # Whether or not to disallow shared libs when runtime libs are static.
83614 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83616 # Compiler flag to allow reflexive dlopens.
83617 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83619 # Compiler flag to generate shared objects directly from archives.
83620 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83622 # Whether the compiler copes with passing no objects directly.
83623 compiler_needs_object=$lt_compiler_needs_object
83625 # Create an old-style archive from a shared archive.
83626 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83628 # Create a temporary old-style archive to link instead of a shared archive.
83629 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83631 # Commands used to build a shared archive.
83632 archive_cmds=$lt_archive_cmds
83633 archive_expsym_cmds=$lt_archive_expsym_cmds
83635 # Commands used to build a loadable module if different from building
83636 # a shared archive.
83637 module_cmds=$lt_module_cmds
83638 module_expsym_cmds=$lt_module_expsym_cmds
83640 # Whether we are building with GNU ld or not.
83641 with_gnu_ld=$lt_with_gnu_ld
83643 # Flag that allows shared libraries with undefined symbols to be built.
83644 allow_undefined_flag=$lt_allow_undefined_flag
83646 # Flag that enforces no undefined symbols.
83647 no_undefined_flag=$lt_no_undefined_flag
83649 # Flag to hardcode \$libdir into a binary during linking.
83650 # This must work even if \$libdir does not exist
83651 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83653 # If ld is used when linking, flag to hardcode \$libdir into a binary
83654 # during linking. This must work even if \$libdir does not exist.
83655 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83657 # Whether we need a single "-rpath" flag with a separated argument.
83658 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83660 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83661 # DIR into the resulting binary.
83662 hardcode_direct=$hardcode_direct
83664 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83665 # DIR into the resulting binary and the resulting library dependency is
83666 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83667 # library is relocated.
83668 hardcode_direct_absolute=$hardcode_direct_absolute
83670 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83671 # into the resulting binary.
83672 hardcode_minus_L=$hardcode_minus_L
83674 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83675 # into the resulting binary.
83676 hardcode_shlibpath_var=$hardcode_shlibpath_var
83678 # Set to "yes" if building a shared library automatically hardcodes DIR
83679 # into the library and all subsequent libraries and executables linked
83680 # against it.
83681 hardcode_automatic=$hardcode_automatic
83683 # Set to yes if linker adds runtime paths of dependent libraries
83684 # to runtime path list.
83685 inherit_rpath=$inherit_rpath
83687 # Whether libtool must link a program against all its dependency libraries.
83688 link_all_deplibs=$link_all_deplibs
83690 # Fix the shell variable \$srcfile for the compiler.
83691 fix_srcfile_path=$lt_fix_srcfile_path
83693 # Set to "yes" if exported symbols are required.
83694 always_export_symbols=$always_export_symbols
83696 # The commands to list exported symbols.
83697 export_symbols_cmds=$lt_export_symbols_cmds
83699 # Symbols that should not be listed in the preloaded symbols.
83700 exclude_expsyms=$lt_exclude_expsyms
83702 # Symbols that must always be exported.
83703 include_expsyms=$lt_include_expsyms
83705 # Commands necessary for linking programs (against libraries) with templates.
83706 prelink_cmds=$lt_prelink_cmds
83708 # Specify filename containing input files.
83709 file_list_spec=$lt_file_list_spec
83711 # How to hardcode a shared library path into an executable.
83712 hardcode_action=$hardcode_action
83714 # The directories searched by this compiler when creating a shared library.
83715 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83717 # Dependencies to place before and after the objects being linked to
83718 # create a shared library.
83719 predep_objects=$lt_predep_objects
83720 postdep_objects=$lt_postdep_objects
83721 predeps=$lt_predeps
83722 postdeps=$lt_postdeps
83724 # The library search path used internally by the compiler when linking
83725 # a shared library.
83726 compiler_lib_search_path=$lt_compiler_lib_search_path
83728 # ### END LIBTOOL CONFIG
83730 _LT_EOF
83732 case $host_os in
83733 aix3*)
83734 cat <<\_LT_EOF >> "$cfgfile"
83735 # AIX sometimes has problems with the GCC collect2 program. For some
83736 # reason, if we set the COLLECT_NAMES environment variable, the problems
83737 # vanish in a puff of smoke.
83738 if test "X${COLLECT_NAMES+set}" != Xset; then
83739 COLLECT_NAMES=
83740 export COLLECT_NAMES
83742 _LT_EOF
83744 esac
83747 ltmain="$ac_aux_dir/ltmain.sh"
83750 # We use sed instead of cat because bash on DJGPP gets confused if
83751 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83752 # text mode, it properly converts lines to CR/LF. This bash problem
83753 # is reportedly fixed, but why not run on old versions too?
83754 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83755 || (rm -f "$cfgfile"; exit 1)
83757 case $xsi_shell in
83758 yes)
83759 cat << \_LT_EOF >> "$cfgfile"
83761 # func_dirname file append nondir_replacement
83762 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83763 # otherwise set result to NONDIR_REPLACEMENT.
83764 func_dirname ()
83766 case ${1} in
83767 */*) func_dirname_result="${1%/*}${2}" ;;
83768 * ) func_dirname_result="${3}" ;;
83769 esac
83772 # func_basename file
83773 func_basename ()
83775 func_basename_result="${1##*/}"
83778 # func_dirname_and_basename file append nondir_replacement
83779 # perform func_basename and func_dirname in a single function
83780 # call:
83781 # dirname: Compute the dirname of FILE. If nonempty,
83782 # add APPEND to the result, otherwise set result
83783 # to NONDIR_REPLACEMENT.
83784 # value returned in "$func_dirname_result"
83785 # basename: Compute filename of FILE.
83786 # value retuned in "$func_basename_result"
83787 # Implementation must be kept synchronized with func_dirname
83788 # and func_basename. For efficiency, we do not delegate to
83789 # those functions but instead duplicate the functionality here.
83790 func_dirname_and_basename ()
83792 case ${1} in
83793 */*) func_dirname_result="${1%/*}${2}" ;;
83794 * ) func_dirname_result="${3}" ;;
83795 esac
83796 func_basename_result="${1##*/}"
83799 # func_stripname prefix suffix name
83800 # strip PREFIX and SUFFIX off of NAME.
83801 # PREFIX and SUFFIX must not contain globbing or regex special
83802 # characters, hashes, percent signs, but SUFFIX may contain a leading
83803 # dot (in which case that matches only a dot).
83804 func_stripname ()
83806 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83807 # positional parameters, so assign one to ordinary parameter first.
83808 func_stripname_result=${3}
83809 func_stripname_result=${func_stripname_result#"${1}"}
83810 func_stripname_result=${func_stripname_result%"${2}"}
83813 # func_opt_split
83814 func_opt_split ()
83816 func_opt_split_opt=${1%%=*}
83817 func_opt_split_arg=${1#*=}
83820 # func_lo2o object
83821 func_lo2o ()
83823 case ${1} in
83824 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83825 *) func_lo2o_result=${1} ;;
83826 esac
83829 # func_xform libobj-or-source
83830 func_xform ()
83832 func_xform_result=${1%.*}.lo
83835 # func_arith arithmetic-term...
83836 func_arith ()
83838 func_arith_result=$(( $* ))
83841 # func_len string
83842 # STRING may not start with a hyphen.
83843 func_len ()
83845 func_len_result=${#1}
83848 _LT_EOF
83850 *) # Bourne compatible functions.
83851 cat << \_LT_EOF >> "$cfgfile"
83853 # func_dirname file append nondir_replacement
83854 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83855 # otherwise set result to NONDIR_REPLACEMENT.
83856 func_dirname ()
83858 # Extract subdirectory from the argument.
83859 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83860 if test "X$func_dirname_result" = "X${1}"; then
83861 func_dirname_result="${3}"
83862 else
83863 func_dirname_result="$func_dirname_result${2}"
83867 # func_basename file
83868 func_basename ()
83870 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83874 # func_stripname prefix suffix name
83875 # strip PREFIX and SUFFIX off of NAME.
83876 # PREFIX and SUFFIX must not contain globbing or regex special
83877 # characters, hashes, percent signs, but SUFFIX may contain a leading
83878 # dot (in which case that matches only a dot).
83879 # func_strip_suffix prefix name
83880 func_stripname ()
83882 case ${2} in
83883 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83884 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83885 esac
83888 # sed scripts:
83889 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83890 my_sed_long_arg='1s/^-[^=]*=//'
83892 # func_opt_split
83893 func_opt_split ()
83895 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83896 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83899 # func_lo2o object
83900 func_lo2o ()
83902 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83905 # func_xform libobj-or-source
83906 func_xform ()
83908 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83911 # func_arith arithmetic-term...
83912 func_arith ()
83914 func_arith_result=`expr "$@"`
83917 # func_len string
83918 # STRING may not start with a hyphen.
83919 func_len ()
83921 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83924 _LT_EOF
83925 esac
83927 case $lt_shell_append in
83928 yes)
83929 cat << \_LT_EOF >> "$cfgfile"
83931 # func_append var value
83932 # Append VALUE to the end of shell variable VAR.
83933 func_append ()
83935 eval "$1+=\$2"
83937 _LT_EOF
83940 cat << \_LT_EOF >> "$cfgfile"
83942 # func_append var value
83943 # Append VALUE to the end of shell variable VAR.
83944 func_append ()
83946 eval "$1=\$$1\$2"
83949 _LT_EOF
83951 esac
83954 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83955 || (rm -f "$cfgfile"; exit 1)
83957 mv -f "$cfgfile" "$ofile" ||
83958 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83959 chmod +x "$ofile"
83962 cat <<_LT_EOF >> "$ofile"
83964 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83966 # The linker used to build libraries.
83967 LD=$lt_LD_CXX
83969 # How to create reloadable object files.
83970 reload_flag=$lt_reload_flag_CXX
83971 reload_cmds=$lt_reload_cmds_CXX
83973 # Commands used to build an old-style archive.
83974 old_archive_cmds=$lt_old_archive_cmds_CXX
83976 # A language specific compiler.
83977 CC=$lt_compiler_CXX
83979 # Is the compiler the GNU compiler?
83980 with_gcc=$GCC_CXX
83982 # Compiler flag to turn off builtin functions.
83983 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83985 # How to pass a linker flag through the compiler.
83986 wl=$lt_lt_prog_compiler_wl_CXX
83988 # Additional compiler flags for building library objects.
83989 pic_flag=$lt_lt_prog_compiler_pic_CXX
83991 # Compiler flag to prevent dynamic linking.
83992 link_static_flag=$lt_lt_prog_compiler_static_CXX
83994 # Does compiler simultaneously support -c and -o options?
83995 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83997 # Whether or not to add -lc for building shared libraries.
83998 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84000 # Whether or not to disallow shared libs when runtime libs are static.
84001 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84003 # Compiler flag to allow reflexive dlopens.
84004 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84006 # Compiler flag to generate shared objects directly from archives.
84007 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84009 # Whether the compiler copes with passing no objects directly.
84010 compiler_needs_object=$lt_compiler_needs_object_CXX
84012 # Create an old-style archive from a shared archive.
84013 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84015 # Create a temporary old-style archive to link instead of a shared archive.
84016 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84018 # Commands used to build a shared archive.
84019 archive_cmds=$lt_archive_cmds_CXX
84020 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84022 # Commands used to build a loadable module if different from building
84023 # a shared archive.
84024 module_cmds=$lt_module_cmds_CXX
84025 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84027 # Whether we are building with GNU ld or not.
84028 with_gnu_ld=$lt_with_gnu_ld_CXX
84030 # Flag that allows shared libraries with undefined symbols to be built.
84031 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84033 # Flag that enforces no undefined symbols.
84034 no_undefined_flag=$lt_no_undefined_flag_CXX
84036 # Flag to hardcode \$libdir into a binary during linking.
84037 # This must work even if \$libdir does not exist
84038 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84040 # If ld is used when linking, flag to hardcode \$libdir into a binary
84041 # during linking. This must work even if \$libdir does not exist.
84042 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84044 # Whether we need a single "-rpath" flag with a separated argument.
84045 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84047 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84048 # DIR into the resulting binary.
84049 hardcode_direct=$hardcode_direct_CXX
84051 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84052 # DIR into the resulting binary and the resulting library dependency is
84053 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84054 # library is relocated.
84055 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84057 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84058 # into the resulting binary.
84059 hardcode_minus_L=$hardcode_minus_L_CXX
84061 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84062 # into the resulting binary.
84063 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84065 # Set to "yes" if building a shared library automatically hardcodes DIR
84066 # into the library and all subsequent libraries and executables linked
84067 # against it.
84068 hardcode_automatic=$hardcode_automatic_CXX
84070 # Set to yes if linker adds runtime paths of dependent libraries
84071 # to runtime path list.
84072 inherit_rpath=$inherit_rpath_CXX
84074 # Whether libtool must link a program against all its dependency libraries.
84075 link_all_deplibs=$link_all_deplibs_CXX
84077 # Fix the shell variable \$srcfile for the compiler.
84078 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84080 # Set to "yes" if exported symbols are required.
84081 always_export_symbols=$always_export_symbols_CXX
84083 # The commands to list exported symbols.
84084 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84086 # Symbols that should not be listed in the preloaded symbols.
84087 exclude_expsyms=$lt_exclude_expsyms_CXX
84089 # Symbols that must always be exported.
84090 include_expsyms=$lt_include_expsyms_CXX
84092 # Commands necessary for linking programs (against libraries) with templates.
84093 prelink_cmds=$lt_prelink_cmds_CXX
84095 # Specify filename containing input files.
84096 file_list_spec=$lt_file_list_spec_CXX
84098 # How to hardcode a shared library path into an executable.
84099 hardcode_action=$hardcode_action_CXX
84101 # The directories searched by this compiler when creating a shared library.
84102 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84104 # Dependencies to place before and after the objects being linked to
84105 # create a shared library.
84106 predep_objects=$lt_predep_objects_CXX
84107 postdep_objects=$lt_postdep_objects_CXX
84108 predeps=$lt_predeps_CXX
84109 postdeps=$lt_postdeps_CXX
84111 # The library search path used internally by the compiler when linking
84112 # a shared library.
84113 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84115 # ### END LIBTOOL TAG CONFIG: CXX
84116 _LT_EOF
84119 "include/gstdint.h":C)
84120 if test "$GCC" = yes; then
84121 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84122 else
84123 echo "/* generated for $CC */" > tmp-stdint.h
84126 sed 's/^ *//' >> tmp-stdint.h <<EOF
84128 #ifndef GCC_GENERATED_STDINT_H
84129 #define GCC_GENERATED_STDINT_H 1
84131 #include <sys/types.h>
84134 if test "$acx_cv_header_stdint" != stdint.h; then
84135 echo "#include <stddef.h>" >> tmp-stdint.h
84137 if test "$acx_cv_header_stdint" != stddef.h; then
84138 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84141 sed 's/^ *//' >> tmp-stdint.h <<EOF
84142 /* glibc uses these symbols as guards to prevent redefinitions. */
84143 #ifdef __int8_t_defined
84144 #define _INT8_T
84145 #define _INT16_T
84146 #define _INT32_T
84147 #endif
84148 #ifdef __uint32_t_defined
84149 #define _UINT32_T
84150 #endif
84154 # ----------------- done header, emit basic int types -------------
84155 if test "$acx_cv_header_stdint" = stddef.h; then
84156 sed 's/^ *//' >> tmp-stdint.h <<EOF
84158 #ifndef _UINT8_T
84159 #define _UINT8_T
84160 #ifndef __uint8_t_defined
84161 #define __uint8_t_defined
84162 #ifndef uint8_t
84163 typedef unsigned $acx_cv_type_int8_t uint8_t;
84164 #endif
84165 #endif
84166 #endif
84168 #ifndef _UINT16_T
84169 #define _UINT16_T
84170 #ifndef __uint16_t_defined
84171 #define __uint16_t_defined
84172 #ifndef uint16_t
84173 typedef unsigned $acx_cv_type_int16_t uint16_t;
84174 #endif
84175 #endif
84176 #endif
84178 #ifndef _UINT32_T
84179 #define _UINT32_T
84180 #ifndef __uint32_t_defined
84181 #define __uint32_t_defined
84182 #ifndef uint32_t
84183 typedef unsigned $acx_cv_type_int32_t uint32_t;
84184 #endif
84185 #endif
84186 #endif
84188 #ifndef _INT8_T
84189 #define _INT8_T
84190 #ifndef __int8_t_defined
84191 #define __int8_t_defined
84192 #ifndef int8_t
84193 typedef $acx_cv_type_int8_t int8_t;
84194 #endif
84195 #endif
84196 #endif
84198 #ifndef _INT16_T
84199 #define _INT16_T
84200 #ifndef __int16_t_defined
84201 #define __int16_t_defined
84202 #ifndef int16_t
84203 typedef $acx_cv_type_int16_t int16_t;
84204 #endif
84205 #endif
84206 #endif
84208 #ifndef _INT32_T
84209 #define _INT32_T
84210 #ifndef __int32_t_defined
84211 #define __int32_t_defined
84212 #ifndef int32_t
84213 typedef $acx_cv_type_int32_t int32_t;
84214 #endif
84215 #endif
84216 #endif
84218 elif test "$ac_cv_type_u_int32_t" = yes; then
84219 sed 's/^ *//' >> tmp-stdint.h <<EOF
84221 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84222 #ifndef _INT8_T
84223 #define _INT8_T
84224 #endif
84225 #ifndef _INT16_T
84226 #define _INT16_T
84227 #endif
84228 #ifndef _INT32_T
84229 #define _INT32_T
84230 #endif
84232 #ifndef _UINT8_T
84233 #define _UINT8_T
84234 #ifndef __uint8_t_defined
84235 #define __uint8_t_defined
84236 #ifndef uint8_t
84237 typedef u_int8_t uint8_t;
84238 #endif
84239 #endif
84240 #endif
84242 #ifndef _UINT16_T
84243 #define _UINT16_T
84244 #ifndef __uint16_t_defined
84245 #define __uint16_t_defined
84246 #ifndef uint16_t
84247 typedef u_int16_t uint16_t;
84248 #endif
84249 #endif
84250 #endif
84252 #ifndef _UINT32_T
84253 #define _UINT32_T
84254 #ifndef __uint32_t_defined
84255 #define __uint32_t_defined
84256 #ifndef uint32_t
84257 typedef u_int32_t uint32_t;
84258 #endif
84259 #endif
84260 #endif
84262 else
84263 sed 's/^ *//' >> tmp-stdint.h <<EOF
84265 /* Some systems have guard macros to prevent redefinitions, define them. */
84266 #ifndef _INT8_T
84267 #define _INT8_T
84268 #endif
84269 #ifndef _INT16_T
84270 #define _INT16_T
84271 #endif
84272 #ifndef _INT32_T
84273 #define _INT32_T
84274 #endif
84275 #ifndef _UINT8_T
84276 #define _UINT8_T
84277 #endif
84278 #ifndef _UINT16_T
84279 #define _UINT16_T
84280 #endif
84281 #ifndef _UINT32_T
84282 #define _UINT32_T
84283 #endif
84287 # ------------- done basic int types, emit int64_t types ------------
84288 if test "$ac_cv_type_uint64_t" = yes; then
84289 sed 's/^ *//' >> tmp-stdint.h <<EOF
84291 /* system headers have good uint64_t and int64_t */
84292 #ifndef _INT64_T
84293 #define _INT64_T
84294 #endif
84295 #ifndef _UINT64_T
84296 #define _UINT64_T
84297 #endif
84299 elif test "$ac_cv_type_u_int64_t" = yes; then
84300 sed 's/^ *//' >> tmp-stdint.h <<EOF
84302 /* system headers have an u_int64_t (and int64_t) */
84303 #ifndef _INT64_T
84304 #define _INT64_T
84305 #endif
84306 #ifndef _UINT64_T
84307 #define _UINT64_T
84308 #ifndef __uint64_t_defined
84309 #define __uint64_t_defined
84310 #ifndef uint64_t
84311 typedef u_int64_t uint64_t;
84312 #endif
84313 #endif
84314 #endif
84316 elif test -n "$acx_cv_type_int64_t"; then
84317 sed 's/^ *//' >> tmp-stdint.h <<EOF
84319 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84320 #ifndef _INT64_T
84321 #define _INT64_T
84322 #ifndef int64_t
84323 typedef $acx_cv_type_int64_t int64_t;
84324 #endif
84325 #endif
84326 #ifndef _UINT64_T
84327 #define _UINT64_T
84328 #ifndef __uint64_t_defined
84329 #define __uint64_t_defined
84330 #ifndef uint64_t
84331 typedef unsigned $acx_cv_type_int64_t uint64_t;
84332 #endif
84333 #endif
84334 #endif
84336 else
84337 sed 's/^ *//' >> tmp-stdint.h <<EOF
84339 /* some common heuristics for int64_t, using compiler-specific tests */
84340 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84341 #ifndef _INT64_T
84342 #define _INT64_T
84343 #ifndef __int64_t_defined
84344 #ifndef int64_t
84345 typedef long long int64_t;
84346 #endif
84347 #endif
84348 #endif
84349 #ifndef _UINT64_T
84350 #define _UINT64_T
84351 #ifndef uint64_t
84352 typedef unsigned long long uint64_t;
84353 #endif
84354 #endif
84356 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84357 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84358 does not implement __extension__. But that compiler doesn't define
84359 __GNUC_MINOR__. */
84360 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84361 # define __extension__
84362 # endif
84364 # ifndef _INT64_T
84365 # define _INT64_T
84366 # ifndef int64_t
84367 __extension__ typedef long long int64_t;
84368 # endif
84369 # endif
84370 # ifndef _UINT64_T
84371 # define _UINT64_T
84372 # ifndef uint64_t
84373 __extension__ typedef unsigned long long uint64_t;
84374 # endif
84375 # endif
84377 #elif !defined __STRICT_ANSI__
84378 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84380 # ifndef _INT64_T
84381 # define _INT64_T
84382 # ifndef int64_t
84383 typedef __int64 int64_t;
84384 # endif
84385 # endif
84386 # ifndef _UINT64_T
84387 # define _UINT64_T
84388 # ifndef uint64_t
84389 typedef unsigned __int64 uint64_t;
84390 # endif
84391 # endif
84392 # endif /* compiler */
84394 #endif /* ANSI version */
84398 # ------------- done int64_t types, emit intptr types ------------
84399 if test "$ac_cv_type_uintptr_t" != yes; then
84400 sed 's/^ *//' >> tmp-stdint.h <<EOF
84402 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84403 #ifndef __uintptr_t_defined
84404 #ifndef uintptr_t
84405 typedef u$acx_cv_type_intptr_t uintptr_t;
84406 #endif
84407 #endif
84408 #ifndef __intptr_t_defined
84409 #ifndef intptr_t
84410 typedef $acx_cv_type_intptr_t intptr_t;
84411 #endif
84412 #endif
84416 # ------------- done intptr types, emit int_least types ------------
84417 if test "$ac_cv_type_int_least32_t" != yes; then
84418 sed 's/^ *//' >> tmp-stdint.h <<EOF
84420 /* Define int_least types */
84421 typedef int8_t int_least8_t;
84422 typedef int16_t int_least16_t;
84423 typedef int32_t int_least32_t;
84424 #ifdef _INT64_T
84425 typedef int64_t int_least64_t;
84426 #endif
84428 typedef uint8_t uint_least8_t;
84429 typedef uint16_t uint_least16_t;
84430 typedef uint32_t uint_least32_t;
84431 #ifdef _UINT64_T
84432 typedef uint64_t uint_least64_t;
84433 #endif
84437 # ------------- done intptr types, emit int_fast types ------------
84438 if test "$ac_cv_type_int_fast32_t" != yes; then
84439 sed 's/^ *//' >> tmp-stdint.h <<EOF
84441 /* Define int_fast types. short is often slow */
84442 typedef int8_t int_fast8_t;
84443 typedef int int_fast16_t;
84444 typedef int32_t int_fast32_t;
84445 #ifdef _INT64_T
84446 typedef int64_t int_fast64_t;
84447 #endif
84449 typedef uint8_t uint_fast8_t;
84450 typedef unsigned int uint_fast16_t;
84451 typedef uint32_t uint_fast32_t;
84452 #ifdef _UINT64_T
84453 typedef uint64_t uint_fast64_t;
84454 #endif
84458 if test "$ac_cv_type_uintmax_t" != yes; then
84459 sed 's/^ *//' >> tmp-stdint.h <<EOF
84461 /* Define intmax based on what we found */
84462 #ifndef intmax_t
84463 #ifdef _INT64_T
84464 typedef int64_t intmax_t;
84465 #else
84466 typedef long intmax_t;
84467 #endif
84468 #endif
84469 #ifndef uintmax_t
84470 #ifdef _UINT64_T
84471 typedef uint64_t uintmax_t;
84472 #else
84473 typedef unsigned long uintmax_t;
84474 #endif
84475 #endif
84479 sed 's/^ *//' >> tmp-stdint.h <<EOF
84481 #endif /* GCC_GENERATED_STDINT_H */
84484 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84485 rm -f tmp-stdint.h
84486 else
84487 mv -f tmp-stdint.h include/gstdint.h
84491 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84492 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84493 "include/Makefile":F) cat > vpsed$$ << \_EOF
84494 s!`test -f '$<' || echo '$(srcdir)/'`!!
84495 _EOF
84496 sed -f vpsed$$ $ac_file > tmp$$
84497 mv tmp$$ $ac_file
84498 rm vpsed$$
84499 echo 'MULTISUBDIR =' >> $ac_file
84500 ml_norecursion=yes
84501 . ${multi_basedir}/config-ml.in
84502 { ml_norecursion=; unset ml_norecursion;}
84504 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84505 s!`test -f '$<' || echo '$(srcdir)/'`!!
84506 _EOF
84507 sed -f vpsed$$ $ac_file > tmp$$
84508 mv tmp$$ $ac_file
84509 rm vpsed$$
84510 echo 'MULTISUBDIR =' >> $ac_file
84511 ml_norecursion=yes
84512 . ${multi_basedir}/config-ml.in
84513 { ml_norecursion=; unset ml_norecursion;}
84515 "src/Makefile":F) cat > vpsed$$ << \_EOF
84516 s!`test -f '$<' || echo '$(srcdir)/'`!!
84517 _EOF
84518 sed -f vpsed$$ $ac_file > tmp$$
84519 mv tmp$$ $ac_file
84520 rm vpsed$$
84521 echo 'MULTISUBDIR =' >> $ac_file
84522 ml_norecursion=yes
84523 . ${multi_basedir}/config-ml.in
84524 { ml_norecursion=; unset ml_norecursion;}
84526 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84527 s!`test -f '$<' || echo '$(srcdir)/'`!!
84528 _EOF
84529 sed -f vpsed$$ $ac_file > tmp$$
84530 mv tmp$$ $ac_file
84531 rm vpsed$$
84532 echo 'MULTISUBDIR =' >> $ac_file
84533 ml_norecursion=yes
84534 . ${multi_basedir}/config-ml.in
84535 { ml_norecursion=; unset ml_norecursion;}
84537 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84538 s!`test -f '$<' || echo '$(srcdir)/'`!!
84539 _EOF
84540 sed -f vpsed$$ $ac_file > tmp$$
84541 mv tmp$$ $ac_file
84542 rm vpsed$$
84543 echo 'MULTISUBDIR =' >> $ac_file
84544 ml_norecursion=yes
84545 . ${multi_basedir}/config-ml.in
84546 { ml_norecursion=; unset ml_norecursion;}
84548 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84549 s!`test -f '$<' || echo '$(srcdir)/'`!!
84550 _EOF
84551 sed -f vpsed$$ $ac_file > tmp$$
84552 mv tmp$$ $ac_file
84553 rm vpsed$$
84554 echo 'MULTISUBDIR =' >> $ac_file
84555 ml_norecursion=yes
84556 . ${multi_basedir}/config-ml.in
84557 { ml_norecursion=; unset ml_norecursion;}
84559 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84560 s!`test -f '$<' || echo '$(srcdir)/'`!!
84561 _EOF
84562 sed -f vpsed$$ $ac_file > tmp$$
84563 mv tmp$$ $ac_file
84564 rm vpsed$$
84565 echo 'MULTISUBDIR =' >> $ac_file
84566 ml_norecursion=yes
84567 . ${multi_basedir}/config-ml.in
84568 { ml_norecursion=; unset ml_norecursion;}
84570 "po/Makefile":F) cat > vpsed$$ << \_EOF
84571 s!`test -f '$<' || echo '$(srcdir)/'`!!
84572 _EOF
84573 sed -f vpsed$$ $ac_file > tmp$$
84574 mv tmp$$ $ac_file
84575 rm vpsed$$
84576 echo 'MULTISUBDIR =' >> $ac_file
84577 ml_norecursion=yes
84578 . ${multi_basedir}/config-ml.in
84579 { ml_norecursion=; unset ml_norecursion;}
84581 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84582 s!`test -f '$<' || echo '$(srcdir)/'`!!
84583 _EOF
84584 sed -f vpsed$$ $ac_file > tmp$$
84585 mv tmp$$ $ac_file
84586 rm vpsed$$
84587 echo 'MULTISUBDIR =' >> $ac_file
84588 ml_norecursion=yes
84589 . ${multi_basedir}/config-ml.in
84590 { ml_norecursion=; unset ml_norecursion;}
84592 "python/Makefile":F) cat > vpsed$$ << \_EOF
84593 s!`test -f '$<' || echo '$(srcdir)/'`!!
84594 _EOF
84595 sed -f vpsed$$ $ac_file > tmp$$
84596 mv tmp$$ $ac_file
84597 rm vpsed$$
84598 echo 'MULTISUBDIR =' >> $ac_file
84599 ml_norecursion=yes
84600 . ${multi_basedir}/config-ml.in
84601 { ml_norecursion=; unset ml_norecursion;}
84603 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84605 esac
84606 done # for ac_tag
84609 as_fn_exit 0
84610 _ACEOF
84611 ac_clean_files=$ac_clean_files_save
84613 test $ac_write_fail = 0 ||
84614 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84617 # configure is writing to config.log, and then calls config.status.
84618 # config.status does its own redirection, appending to config.log.
84619 # Unfortunately, on DOS this fails, as config.log is still kept open
84620 # by configure, so config.status won't be able to write to it; its
84621 # output is simply discarded. So we exec the FD to /dev/null,
84622 # effectively closing config.log, so it can be properly (re)opened and
84623 # appended to by config.status. When coming back to configure, we
84624 # need to make the FD available again.
84625 if test "$no_create" != yes; then
84626 ac_cs_success=:
84627 ac_config_status_args=
84628 test "$silent" = yes &&
84629 ac_config_status_args="$ac_config_status_args --quiet"
84630 exec 5>/dev/null
84631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84632 exec 5>>config.log
84633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84634 # would make configure fail if this is the last instruction.
84635 $ac_cs_success || as_fn_exit $?
84637 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84639 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}