gcc/
[official-gcc.git] / libstdc++-v3 / configure
blobe94fb9d861f0a1a1469c95de8ba1d6a667eedd5a
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 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_CXX11_ABI_FALSE
647 ENABLE_CXX11_ABI_TRUE
648 glibcxx_cxx98_abi
649 ENABLE_DUAL_ABI_FALSE
650 ENABLE_DUAL_ABI_TRUE
651 ENABLE_VISIBILITY_FALSE
652 ENABLE_VISIBILITY_TRUE
653 libtool_VERSION
654 ENABLE_SYMVERS_SUN_FALSE
655 ENABLE_SYMVERS_SUN_TRUE
656 ENABLE_SYMVERS_DARWIN_FALSE
657 ENABLE_SYMVERS_DARWIN_TRUE
658 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
659 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
660 ENABLE_SYMVERS_GNU_FALSE
661 ENABLE_SYMVERS_GNU_TRUE
662 ENABLE_SYMVERS_FALSE
663 ENABLE_SYMVERS_TRUE
664 port_specific_symbol_files
665 SYMVER_FILE
666 CXXFILT
667 LTLIBICONV
668 LIBICONV
669 OPT_LDFLAGS
670 SECTION_LDFLAGS
671 GLIBCXX_LIBS
672 ENABLE_VTABLE_VERIFY_FALSE
673 ENABLE_VTABLE_VERIFY_TRUE
674 VTV_CYGMIN_FALSE
675 VTV_CYGMIN_TRUE
676 VTV_CXXLINKFLAGS
677 VTV_PCH_CXXFLAGS
678 VTV_CXXFLAGS
679 ENABLE_WERROR_FALSE
680 ENABLE_WERROR_TRUE
681 ENABLE_PYTHONDIR_FALSE
682 ENABLE_PYTHONDIR_TRUE
683 python_mod_dir
684 ENABLE_EXTERN_TEMPLATE_FALSE
685 ENABLE_EXTERN_TEMPLATE_TRUE
686 EXTRA_CXX_FLAGS
687 GLIBCXX_BUILD_DEBUG_FALSE
688 GLIBCXX_BUILD_DEBUG_TRUE
689 DEBUG_FLAGS
690 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
691 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
692 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
693 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
694 GLIBCXX_C_HEADERS_C_STD_FALSE
695 GLIBCXX_C_HEADERS_C_STD_TRUE
696 GLIBCXX_C_HEADERS_C_FALSE
697 GLIBCXX_C_HEADERS_C_TRUE
698 C_INCLUDE_DIR
699 ALLOCATOR_NAME
700 ALLOCATOR_H
701 CLOCALE_INTERNAL_H
702 CLOCALE_CC
703 CTIME_CC
704 CTIME_H
705 CNUMERIC_CC
706 CMONEY_CC
707 CMESSAGES_CC
708 CCTYPE_CC
709 CCOLLATE_CC
710 CCODECVT_CC
711 CMESSAGES_H
712 CLOCALE_H
713 USE_NLS
714 glibcxx_localedir
715 glibcxx_POFILES
716 glibcxx_MOFILES
717 check_msgfmt
718 BASIC_FILE_CC
719 BASIC_FILE_H
720 CSTDIO_H
721 SECTION_FLAGS
722 WERROR
723 thread_header
724 glibcxx_PCHFLAGS
725 GLIBCXX_BUILD_PCH_FALSE
726 GLIBCXX_BUILD_PCH_TRUE
727 GLIBCXX_HOSTED_FALSE
728 GLIBCXX_HOSTED_TRUE
729 glibcxx_compiler_shared_flag
730 glibcxx_compiler_pic_flag
731 glibcxx_lt_pic_flag
732 enable_static
733 enable_shared
734 lt_host_flags
735 CXXCPP
736 OTOOL64
737 OTOOL
738 LIPO
739 NMEDIT
740 DSYMUTIL
741 OBJDUMP
743 ac_ct_DUMPBIN
744 DUMPBIN
746 FGREP
748 LIBTOOL
749 EGREP
750 GREP
752 MAINT
753 MAINTAINER_MODE_FALSE
754 MAINTAINER_MODE_TRUE
755 RANLIB
758 LN_S
759 toplevel_srcdir
760 toplevel_builddir
761 glibcxx_srcdir
762 glibcxx_builddir
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 am__untar
774 am__tar
775 AMTAR
776 am__leading_dot
777 SET_MAKE
779 mkdir_p
780 MKDIR_P
781 INSTALL_STRIP_PROGRAM
782 STRIP
783 install_sh
784 MAKEINFO
785 AUTOHEADER
786 AUTOMAKE
787 AUTOCONF
788 ACLOCAL
789 VERSION
790 PACKAGE
791 CYGPATH_W
792 am__isrc
793 INSTALL_DATA
794 INSTALL_SCRIPT
795 INSTALL_PROGRAM
796 target_os
797 target_vendor
798 target_cpu
799 target
800 host_os
801 host_vendor
802 host_cpu
803 host
804 build_os
805 build_vendor
806 build_cpu
807 build
808 multi_basedir
809 target_alias
810 host_alias
811 build_alias
812 LIBS
813 ECHO_T
814 ECHO_N
815 ECHO_C
816 DEFS
817 mandir
818 localedir
819 libdir
820 psdir
821 pdfdir
822 dvidir
823 htmldir
824 infodir
825 docdir
826 oldincludedir
827 includedir
828 localstatedir
829 sharedstatedir
830 sysconfdir
831 datadir
832 datarootdir
833 libexecdir
834 sbindir
835 bindir
836 program_transform_name
837 prefix
838 exec_prefix
839 PACKAGE_URL
840 PACKAGE_BUGREPORT
841 PACKAGE_STRING
842 PACKAGE_VERSION
843 PACKAGE_TARNAME
844 PACKAGE_NAME
845 PATH_SEPARATOR
846 SHELL'
847 ac_subst_files=''
848 ac_user_opts='
849 enable_option_checking
850 enable_multilib
851 with_target_subdir
852 with_cross_host
853 with_newlib
854 enable_maintainer_mode
855 enable_shared
856 enable_static
857 with_pic
858 enable_fast_install
859 with_gnu_ld
860 enable_libtool_lock
861 enable_hosted_libstdcxx
862 enable_libstdcxx_verbose
863 enable_sjlj_exceptions
864 enable_libstdcxx_pch
865 enable_cstdio
866 enable_clocale
867 enable_nls
868 enable_libstdcxx_allocator
869 enable_cheaders
870 enable_long_long
871 enable_wchar_t
872 enable_c99
873 enable_concept_checks
874 enable_libstdcxx_debug_flags
875 enable_libstdcxx_debug
876 enable_cxx_flags
877 enable_fully_dynamic_string
878 enable_extern_template
879 with_python_dir
880 enable_werror
881 enable_vtable_verify
882 enable_libstdcxx_time
883 enable_tls
884 enable_rpath
885 with_libiconv_prefix
886 with_system_libunwind
887 enable_linux_futex
888 enable_symvers
889 enable_libstdcxx_visibility
890 enable_libstdcxx_dual_abi
891 with_default_libstdcxx_abi
892 enable_libstdcxx_threads
893 with_gxx_include_dir
894 enable_version_specific_runtime_libs
896 ac_precious_vars='build_alias
897 host_alias
898 target_alias
900 CFLAGS
901 LDFLAGS
902 LIBS
903 CPPFLAGS
905 CXXFLAGS
908 CXXCPP
909 CXXFILT'
912 # Initialize some variables set by options.
913 ac_init_help=
914 ac_init_version=false
915 ac_unrecognized_opts=
916 ac_unrecognized_sep=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
919 cache_file=/dev/null
920 exec_prefix=NONE
921 no_create=
922 no_recursion=
923 prefix=NONE
924 program_prefix=NONE
925 program_suffix=NONE
926 program_transform_name=s,x,x,
927 silent=
928 site=
929 srcdir=
930 verbose=
931 x_includes=NONE
932 x_libraries=NONE
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir='${exec_prefix}/bin'
941 sbindir='${exec_prefix}/sbin'
942 libexecdir='${exec_prefix}/libexec'
943 datarootdir='${prefix}/share'
944 datadir='${datarootdir}'
945 sysconfdir='${prefix}/etc'
946 sharedstatedir='${prefix}/com'
947 localstatedir='${prefix}/var'
948 includedir='${prefix}/include'
949 oldincludedir='/usr/include'
950 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
951 infodir='${datarootdir}/info'
952 htmldir='${docdir}'
953 dvidir='${docdir}'
954 pdfdir='${docdir}'
955 psdir='${docdir}'
956 libdir='${exec_prefix}/lib'
957 localedir='${datarootdir}/locale'
958 mandir='${datarootdir}/man'
960 ac_prev=
961 ac_dashdash=
962 for ac_option
964 # If the previous option needs an argument, assign it.
965 if test -n "$ac_prev"; then
966 eval $ac_prev=\$ac_option
967 ac_prev=
968 continue
971 case $ac_option in
972 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
973 *) ac_optarg=yes ;;
974 esac
976 # Accept the important Cygnus configure options, so we can diagnose typos.
978 case $ac_dashdash$ac_option in
980 ac_dashdash=yes ;;
982 -bindir | --bindir | --bindi | --bind | --bin | --bi)
983 ac_prev=bindir ;;
984 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
985 bindir=$ac_optarg ;;
987 -build | --build | --buil | --bui | --bu)
988 ac_prev=build_alias ;;
989 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
990 build_alias=$ac_optarg ;;
992 -cache-file | --cache-file | --cache-fil | --cache-fi \
993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
994 ac_prev=cache_file ;;
995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
997 cache_file=$ac_optarg ;;
999 --config-cache | -C)
1000 cache_file=config.cache ;;
1002 -datadir | --datadir | --datadi | --datad)
1003 ac_prev=datadir ;;
1004 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1005 datadir=$ac_optarg ;;
1007 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1008 | --dataroo | --dataro | --datar)
1009 ac_prev=datarootdir ;;
1010 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1011 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1012 datarootdir=$ac_optarg ;;
1014 -disable-* | --disable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval enable_$ac_useropt=no ;;
1030 -docdir | --docdir | --docdi | --doc | --do)
1031 ac_prev=docdir ;;
1032 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033 docdir=$ac_optarg ;;
1035 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036 ac_prev=dvidir ;;
1037 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038 dvidir=$ac_optarg ;;
1040 -enable-* | --enable-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error "invalid feature name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_$ac_useropt"
1050 "*) ;;
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1053 esac
1054 eval enable_$ac_useropt=\$ac_optarg ;;
1056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1058 | --exec | --exe | --ex)
1059 ac_prev=exec_prefix ;;
1060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1062 | --exec=* | --exe=* | --ex=*)
1063 exec_prefix=$ac_optarg ;;
1065 -gas | --gas | --ga | --g)
1066 # Obsolete; use --with-gas.
1067 with_gas=yes ;;
1069 -help | --help | --hel | --he | -h)
1070 ac_init_help=long ;;
1071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1072 ac_init_help=recursive ;;
1073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1074 ac_init_help=short ;;
1076 -host | --host | --hos | --ho)
1077 ac_prev=host_alias ;;
1078 -host=* | --host=* | --hos=* | --ho=*)
1079 host_alias=$ac_optarg ;;
1081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1082 ac_prev=htmldir ;;
1083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1084 | --ht=*)
1085 htmldir=$ac_optarg ;;
1087 -includedir | --includedir | --includedi | --included | --include \
1088 | --includ | --inclu | --incl | --inc)
1089 ac_prev=includedir ;;
1090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1091 | --includ=* | --inclu=* | --incl=* | --inc=*)
1092 includedir=$ac_optarg ;;
1094 -infodir | --infodir | --infodi | --infod | --info | --inf)
1095 ac_prev=infodir ;;
1096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1097 infodir=$ac_optarg ;;
1099 -libdir | --libdir | --libdi | --libd)
1100 ac_prev=libdir ;;
1101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1102 libdir=$ac_optarg ;;
1104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1105 | --libexe | --libex | --libe)
1106 ac_prev=libexecdir ;;
1107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1108 | --libexe=* | --libex=* | --libe=*)
1109 libexecdir=$ac_optarg ;;
1111 -localedir | --localedir | --localedi | --localed | --locale)
1112 ac_prev=localedir ;;
1113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1114 localedir=$ac_optarg ;;
1116 -localstatedir | --localstatedir | --localstatedi | --localstated \
1117 | --localstate | --localstat | --localsta | --localst | --locals)
1118 ac_prev=localstatedir ;;
1119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1121 localstatedir=$ac_optarg ;;
1123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1124 ac_prev=mandir ;;
1125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1126 mandir=$ac_optarg ;;
1128 -nfp | --nfp | --nf)
1129 # Obsolete; use --without-fp.
1130 with_fp=no ;;
1132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1133 | --no-cr | --no-c | -n)
1134 no_create=yes ;;
1136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1138 no_recursion=yes ;;
1140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1142 | --oldin | --oldi | --old | --ol | --o)
1143 ac_prev=oldincludedir ;;
1144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1147 oldincludedir=$ac_optarg ;;
1149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1150 ac_prev=prefix ;;
1151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1152 prefix=$ac_optarg ;;
1154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1155 | --program-pre | --program-pr | --program-p)
1156 ac_prev=program_prefix ;;
1157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1159 program_prefix=$ac_optarg ;;
1161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1162 | --program-suf | --program-su | --program-s)
1163 ac_prev=program_suffix ;;
1164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1166 program_suffix=$ac_optarg ;;
1168 -program-transform-name | --program-transform-name \
1169 | --program-transform-nam | --program-transform-na \
1170 | --program-transform-n | --program-transform- \
1171 | --program-transform | --program-transfor \
1172 | --program-transfo | --program-transf \
1173 | --program-trans | --program-tran \
1174 | --progr-tra | --program-tr | --program-t)
1175 ac_prev=program_transform_name ;;
1176 -program-transform-name=* | --program-transform-name=* \
1177 | --program-transform-nam=* | --program-transform-na=* \
1178 | --program-transform-n=* | --program-transform-=* \
1179 | --program-transform=* | --program-transfor=* \
1180 | --program-transfo=* | --program-transf=* \
1181 | --program-trans=* | --program-tran=* \
1182 | --progr-tra=* | --program-tr=* | --program-t=*)
1183 program_transform_name=$ac_optarg ;;
1185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1186 ac_prev=pdfdir ;;
1187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1188 pdfdir=$ac_optarg ;;
1190 -psdir | --psdir | --psdi | --psd | --ps)
1191 ac_prev=psdir ;;
1192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1193 psdir=$ac_optarg ;;
1195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1196 | -silent | --silent | --silen | --sile | --sil)
1197 silent=yes ;;
1199 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1200 ac_prev=sbindir ;;
1201 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1202 | --sbi=* | --sb=*)
1203 sbindir=$ac_optarg ;;
1205 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1206 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1207 | --sharedst | --shareds | --shared | --share | --shar \
1208 | --sha | --sh)
1209 ac_prev=sharedstatedir ;;
1210 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1211 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1212 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1213 | --sha=* | --sh=*)
1214 sharedstatedir=$ac_optarg ;;
1216 -site | --site | --sit)
1217 ac_prev=site ;;
1218 -site=* | --site=* | --sit=*)
1219 site=$ac_optarg ;;
1221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1222 ac_prev=srcdir ;;
1223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1224 srcdir=$ac_optarg ;;
1226 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1227 | --syscon | --sysco | --sysc | --sys | --sy)
1228 ac_prev=sysconfdir ;;
1229 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1230 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1231 sysconfdir=$ac_optarg ;;
1233 -target | --target | --targe | --targ | --tar | --ta | --t)
1234 ac_prev=target_alias ;;
1235 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1236 target_alias=$ac_optarg ;;
1238 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1239 verbose=yes ;;
1241 -version | --version | --versio | --versi | --vers | -V)
1242 ac_init_version=: ;;
1244 -with-* | --with-*)
1245 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 as_fn_error "invalid package name: $ac_useropt"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1253 "with_$ac_useropt"
1254 "*) ;;
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1257 esac
1258 eval with_$ac_useropt=\$ac_optarg ;;
1260 -without-* | --without-*)
1261 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1264 as_fn_error "invalid package name: $ac_useropt"
1265 ac_useropt_orig=$ac_useropt
1266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267 case $ac_user_opts in
1269 "with_$ac_useropt"
1270 "*) ;;
1271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1272 ac_unrecognized_sep=', ';;
1273 esac
1274 eval with_$ac_useropt=no ;;
1276 --x)
1277 # Obsolete; use --with-x.
1278 with_x=yes ;;
1280 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1281 | --x-incl | --x-inc | --x-in | --x-i)
1282 ac_prev=x_includes ;;
1283 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1284 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1285 x_includes=$ac_optarg ;;
1287 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1288 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1289 ac_prev=x_libraries ;;
1290 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1291 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1292 x_libraries=$ac_optarg ;;
1294 -*) as_fn_error "unrecognized option: \`$ac_option'
1295 Try \`$0 --help' for more information."
1298 *=*)
1299 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300 # Reject names that are not valid shell variable names.
1301 case $ac_envvar in #(
1302 '' | [0-9]* | *[!_$as_cr_alnum]* )
1303 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1304 esac
1305 eval $ac_envvar=\$ac_optarg
1306 export $ac_envvar ;;
1309 # FIXME: should be removed in autoconf 3.0.
1310 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1311 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1312 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1313 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1316 esac
1317 done
1319 if test -n "$ac_prev"; then
1320 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1321 as_fn_error "missing argument to $ac_option"
1324 if test -n "$ac_unrecognized_opts"; then
1325 case $enable_option_checking in
1326 no) ;;
1327 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1328 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329 esac
1332 # Check all directory arguments for consistency.
1333 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334 datadir sysconfdir sharedstatedir localstatedir includedir \
1335 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336 libdir localedir mandir
1338 eval ac_val=\$$ac_var
1339 # Remove trailing slashes.
1340 case $ac_val in
1341 */ )
1342 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343 eval $ac_var=\$ac_val;;
1344 esac
1345 # Be sure to have absolute directory names.
1346 case $ac_val in
1347 [\\/$]* | ?:[\\/]* ) continue;;
1348 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1349 esac
1350 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1351 done
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1356 build=$build_alias
1357 host=$host_alias
1358 target=$target_alias
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x; then
1362 if test "x$build_alias" = x; then
1363 cross_compiling=maybe
1364 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1365 If a cross compiler is detected then cross compile mode will be used." >&2
1366 elif test "x$build_alias" != "x$host_alias"; then
1367 cross_compiling=yes
1371 ac_tool_prefix=
1372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1374 test "$silent" = yes && exec 6>/dev/null
1377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di=`ls -di .` &&
1379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380 as_fn_error "working directory cannot be determined"
1381 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382 as_fn_error "pwd does not report name of working directory"
1385 # Find the source files, if location was not specified.
1386 if test -z "$srcdir"; then
1387 ac_srcdir_defaulted=yes
1388 # Try the directory containing this script, then the parent directory.
1389 ac_confdir=`$as_dirname -- "$as_myself" ||
1390 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391 X"$as_myself" : 'X\(//\)[^/]' \| \
1392 X"$as_myself" : 'X\(//\)$' \| \
1393 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1394 $as_echo X"$as_myself" |
1395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 s//\1/
1399 /^X\(\/\/\)[^/].*/{
1400 s//\1/
1403 /^X\(\/\/\)$/{
1404 s//\1/
1407 /^X\(\/\).*/{
1408 s//\1/
1411 s/.*/./; q'`
1412 srcdir=$ac_confdir
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1414 srcdir=..
1416 else
1417 ac_srcdir_defaulted=no
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1420 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1423 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1424 ac_abs_confdir=`(
1425 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1426 pwd)`
1427 # When building in place, set srcdir=.
1428 if test "$ac_abs_confdir" = "$ac_pwd"; then
1429 srcdir=.
1431 # Remove unnecessary trailing slashes from srcdir.
1432 # Double slashes in file names in object file debugging info
1433 # mess up M-x gdb in Emacs.
1434 case $srcdir in
1435 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 esac
1437 for ac_var in $ac_precious_vars; do
1438 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1439 eval ac_env_${ac_var}_value=\$${ac_var}
1440 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1442 done
1445 # Report the --help message.
1447 if test "$ac_init_help" = "long"; then
1448 # Omit some internal or obsolete options to make the list less imposing.
1449 # This message is too long to be a string in the A/UX 3.1 sh.
1450 cat <<_ACEOF
1451 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1453 Usage: $0 [OPTION]... [VAR=VALUE]...
1455 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1456 VAR=VALUE. See below for descriptions of some of the useful variables.
1458 Defaults for the options are specified in brackets.
1460 Configuration:
1461 -h, --help display this help and exit
1462 --help=short display options specific to this package
1463 --help=recursive display the short help of all the included packages
1464 -V, --version display version information and exit
1465 -q, --quiet, --silent do not print \`checking...' messages
1466 --cache-file=FILE cache test results in FILE [disabled]
1467 -C, --config-cache alias for \`--cache-file=config.cache'
1468 -n, --no-create do not create output files
1469 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1471 Installation directories:
1472 --prefix=PREFIX install architecture-independent files in PREFIX
1473 [$ac_default_prefix]
1474 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1475 [PREFIX]
1477 By default, \`make install' will install all the files in
1478 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1479 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1480 for instance \`--prefix=\$HOME'.
1482 For better control, use the options below.
1484 Fine tuning of the installation directories:
1485 --bindir=DIR user executables [EPREFIX/bin]
1486 --sbindir=DIR system admin executables [EPREFIX/sbin]
1487 --libexecdir=DIR program executables [EPREFIX/libexec]
1488 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1489 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1490 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1491 --libdir=DIR object code libraries [EPREFIX/lib]
1492 --includedir=DIR C header files [PREFIX/include]
1493 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1494 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1495 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1496 --infodir=DIR info documentation [DATAROOTDIR/info]
1497 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1498 --mandir=DIR man documentation [DATAROOTDIR/man]
1499 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1500 --htmldir=DIR html documentation [DOCDIR]
1501 --dvidir=DIR dvi documentation [DOCDIR]
1502 --pdfdir=DIR pdf documentation [DOCDIR]
1503 --psdir=DIR ps documentation [DOCDIR]
1504 _ACEOF
1506 cat <<\_ACEOF
1508 Program names:
1509 --program-prefix=PREFIX prepend PREFIX to installed program names
1510 --program-suffix=SUFFIX append SUFFIX to installed program names
1511 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1513 System types:
1514 --build=BUILD configure for building on BUILD [guessed]
1515 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1516 --target=TARGET configure for building compilers for TARGET [HOST]
1517 _ACEOF
1520 if test -n "$ac_init_help"; then
1521 case $ac_init_help in
1522 short | recursive ) echo "Configuration of package-unused version-unused:";;
1523 esac
1524 cat <<\_ACEOF
1526 Optional Features:
1527 --disable-option-checking ignore unrecognized --enable/--with options
1528 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1529 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1530 --enable-multilib build many library versions (default)
1531 --enable-maintainer-mode enable make rules and dependencies not useful
1532 (and sometimes confusing) to the casual installer
1533 --enable-shared[=PKGS] build shared libraries [default=yes]
1534 --enable-static[=PKGS] build static libraries [default=yes]
1535 --enable-fast-install[=PKGS]
1536 optimize for fast installation [default=yes]
1537 --disable-libtool-lock avoid locking (might break parallel builds)
1538 --disable-hosted-libstdcxx
1539 only build freestanding C++ runtime support
1540 --disable-libstdcxx-verbose
1541 disable termination messages to standard error
1542 --enable-sjlj-exceptions
1543 force use of builtin_setjmp for exceptions
1544 [default=auto]
1545 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1546 [default=$is_hosted]
1547 --enable-cstdio[=PACKAGE]
1548 use target-specific I/O package [default=stdio]
1549 --enable-clocale[=MODEL]
1550 use MODEL for target locale package [default=auto]
1551 --enable-nls use Native Language Support (default)
1552 --enable-libstdcxx-allocator[=KIND]
1553 use KIND for target std::allocator base
1554 [default=auto]
1555 --enable-cheaders[=KIND]
1556 construct "C" headers for g++ [default=$c_model]
1557 --enable-long-long enable template specializations for 'long long'
1558 [default=yes]
1559 --enable-wchar_t enable template specializations for 'wchar_t'
1560 [default=yes]
1561 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1562 --enable-concept-checks use Boost-derived template checks [default=no]
1563 --enable-libstdcxx-debug-flags=FLAGS
1564 pass compiler FLAGS when building debug library
1565 [default="-gdwarf-4 -g3 -O0"]
1566 --enable-libstdcxx-debug
1567 build extra debug library [default=no]
1568 --enable-cxx-flags=FLAGS
1569 pass compiler FLAGS when building library [default=]
1570 --enable-fully-dynamic-string
1571 do not put empty strings in per-process static
1572 memory [default=no]
1573 --enable-extern-template
1574 enable extern template [default=yes]
1575 --enable-werror turns on -Werror [default=yes]
1576 --enable-vtable-verify enable vtable verify [default=no]
1577 --enable-libstdcxx-time[=KIND]
1578 use KIND for check type [default=auto]
1579 --enable-tls Use thread-local storage [default=yes]
1580 --disable-rpath do not hardcode runtime library paths
1581 --enable-linux-futex use the Linux futex system call [default=default]
1582 --enable-symvers[=STYLE]
1583 enables symbol versioning of the shared library
1584 [default=yes]
1585 --enable-libstdcxx-visibility
1586 enables visibility safe usage [default=yes]
1587 --enable-libstdcxx-dual-abi
1588 support two versions of std::string [default=yes]
1589 --enable-libstdcxx-threads
1590 enable C++11 threads support [default=auto]
1591 --enable-version-specific-runtime-libs
1592 Specify that runtime libraries should be installed
1593 in a compiler-specific directory
1595 Optional Packages:
1596 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1597 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1598 --with-target-subdir=SUBDIR
1599 configuring in a subdirectory
1600 --with-cross-host=HOST configuring with a cross compiler
1601 --with-newlib assume newlib as a system C library
1602 --with-pic try to use only PIC/non-PIC objects [default=use
1603 both]
1604 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1605 --with-python-dir the location to install Python modules. This path is
1606 relative starting from the prefix.
1607 --with-gnu-ld assume the C compiler uses GNU ld default=no
1608 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1609 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1610 --with-system-libunwind use installed libunwind
1611 --with-default-libstdcxx-abi
1612 set the std::string ABI to use by default
1613 --with-gxx-include-dir=DIR
1614 installation directory for include files
1616 Some influential environment variables:
1617 CC C compiler command
1618 CFLAGS C compiler flags
1619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1620 nonstandard directory <lib dir>
1621 LIBS libraries to pass to the linker, e.g. -l<library>
1622 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1623 you have headers in a nonstandard directory <include dir>
1624 CXX C++ compiler command
1625 CXXFLAGS C++ compiler flags
1626 CPP C preprocessor
1627 CXXCPP C++ preprocessor
1628 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1629 `c++filt', `gc++filt' on PATH.
1631 Use these variables to override the choices made by `configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1634 Report bugs to the package provider.
1635 _ACEOF
1636 ac_status=$?
1639 if test "$ac_init_help" = "recursive"; then
1640 # If there are subdirs, report their specific --help.
1641 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642 test -d "$ac_dir" ||
1643 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644 continue
1645 ac_builddir=.
1647 case "$ac_dir" in
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1651 # A ".." for each directory in $ac_dir_suffix.
1652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1653 case $ac_top_builddir_sub in
1654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656 esac ;;
1657 esac
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1663 case $srcdir in
1664 .) # We are building in place.
1665 ac_srcdir=.
1666 ac_top_srcdir=$ac_top_builddir_sub
1667 ac_abs_top_srcdir=$ac_pwd ;;
1668 [\\/]* | ?:[\\/]* ) # Absolute name.
1669 ac_srcdir=$srcdir$ac_dir_suffix;
1670 ac_top_srcdir=$srcdir
1671 ac_abs_top_srcdir=$srcdir ;;
1672 *) # Relative name.
1673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674 ac_top_srcdir=$ac_top_build_prefix$srcdir
1675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 esac
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679 cd "$ac_dir" || { ac_status=$?; continue; }
1680 # Check for guested configure.
1681 if test -f "$ac_srcdir/configure.gnu"; then
1682 echo &&
1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684 elif test -f "$ac_srcdir/configure"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure" --help=recursive
1687 else
1688 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 fi || ac_status=$?
1690 cd "$ac_pwd" || { ac_status=$?; break; }
1691 done
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1696 cat <<\_ACEOF
1697 package-unused configure version-unused
1698 generated by GNU Autoconf 2.64
1700 Copyright (C) 2009 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1703 _ACEOF
1704 exit
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1726 ac_status=$?
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1742 ac_retval=1
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 return $ac_retval
1747 } # ac_fn_c_try_compile
1749 # ac_fn_cxx_try_compile LINENO
1750 # ----------------------------
1751 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_cxx_try_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext
1756 if { { ac_try="$ac_compile"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_compile") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_cxx_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest.$ac_objext; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1780 ac_retval=1
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1785 } # ac_fn_cxx_try_compile
1787 # ac_fn_c_try_cpp LINENO
1788 # ----------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_cpp ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 case "(($ac_try" in
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801 ac_status=$?
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } >/dev/null && {
1809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1811 }; then :
1812 ac_retval=0
1813 else
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1817 ac_retval=1
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820 return $ac_retval
1822 } # ac_fn_c_try_cpp
1824 # ac_fn_c_try_link LINENO
1825 # -----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 ac_fn_c_try_link ()
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 rm -f conftest.$ac_objext conftest$ac_exeext
1831 if { { ac_try="$ac_link"
1832 case "(($ac_try" in
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1835 esac
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>conftest.err
1839 ac_status=$?
1840 if test -s conftest.err; then
1841 grep -v '^ *+' conftest.err >conftest.er1
1842 cat conftest.er1 >&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && {
1847 test -z "$ac_c_werror_flag" ||
1848 test ! -s conftest.err
1849 } && test -s conftest$ac_exeext && {
1850 test "$cross_compiling" = yes ||
1851 $as_test_x conftest$ac_exeext
1852 }; then :
1853 ac_retval=0
1854 else
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1858 ac_retval=1
1860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862 # interfere with the next link command; also delete a directory that is
1863 # left behind by Apple's compiler. We do this before executing the actions.
1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866 return $ac_retval
1868 } # ac_fn_c_try_link
1870 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1871 # -------------------------------------------------------
1872 # Tests whether HEADER exists and can be compiled using the include files in
1873 # INCLUDES, setting the cache variable VAR accordingly.
1874 ac_fn_c_check_header_compile ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880 $as_echo_n "(cached) " >&6
1881 else
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1885 #include <$2>
1886 _ACEOF
1887 if ac_fn_c_try_compile "$LINENO"; then :
1888 eval "$3=yes"
1889 else
1890 eval "$3=no"
1892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 eval ac_res=\$$3
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899 } # ac_fn_c_check_header_compile
1901 # ac_fn_c_try_run LINENO
1902 # ----------------------
1903 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1904 # that executables *can* be run.
1905 ac_fn_c_try_run ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 if { { ac_try="$ac_link"
1909 case "(($ac_try" in
1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1911 *) ac_try_echo=$ac_try;;
1912 esac
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_link") 2>&5
1916 ac_status=$?
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1919 { { case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_try") 2>&5
1926 ac_status=$?
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; }; }; then :
1929 ac_retval=0
1930 else
1931 $as_echo "$as_me: program exited with status $ac_status" >&5
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1935 ac_retval=$ac_status
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1939 return $ac_retval
1941 } # ac_fn_c_try_run
1943 # ac_fn_c_check_func LINENO FUNC VAR
1944 # ----------------------------------
1945 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1946 ac_fn_c_check_func ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1952 $as_echo_n "(cached) " >&6
1953 else
1954 if test x$gcc_no_link = xyes; then
1955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1959 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1961 #define $2 innocuous_$2
1963 /* System header to define __stub macros and hopefully few prototypes,
1964 which can conflict with char $2 (); below.
1965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1966 <limits.h> exists even on freestanding compilers. */
1968 #ifdef __STDC__
1969 # include <limits.h>
1970 #else
1971 # include <assert.h>
1972 #endif
1974 #undef $2
1976 /* Override any GCC internal prototype to avoid an error.
1977 Use char because int might match the return type of a GCC
1978 builtin and then its argument prototype would still apply. */
1979 #ifdef __cplusplus
1980 extern "C"
1981 #endif
1982 char $2 ();
1983 /* The GNU C library defines this for functions which it implements
1984 to always fail with ENOSYS. Some functions are actually named
1985 something starting with __ and the normal name is an alias. */
1986 #if defined __stub_$2 || defined __stub___$2
1987 choke me
1988 #endif
1991 main ()
1993 return $2 ();
1995 return 0;
1997 _ACEOF
1998 if ac_fn_c_try_link "$LINENO"; then :
1999 eval "$3=yes"
2000 else
2001 eval "$3=no"
2003 rm -f core conftest.err conftest.$ac_objext \
2004 conftest$ac_exeext conftest.$ac_ext
2006 eval ac_res=\$$3
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008 $as_echo "$ac_res" >&6; }
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011 } # ac_fn_c_check_func
2013 # ac_fn_cxx_try_cpp LINENO
2014 # ------------------------
2015 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_cpp ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 if { { ac_try="$ac_cpp conftest.$ac_ext"
2020 case "(($ac_try" in
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2027 ac_status=$?
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } >/dev/null && {
2035 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 }; then :
2038 ac_retval=0
2039 else
2040 $as_echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.$ac_ext >&5
2043 ac_retval=1
2045 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2046 return $ac_retval
2048 } # ac_fn_cxx_try_cpp
2050 # ac_fn_cxx_try_link LINENO
2051 # -------------------------
2052 # Try to link conftest.$ac_ext, and return whether this succeeded.
2053 ac_fn_cxx_try_link ()
2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056 rm -f conftest.$ac_objext conftest$ac_exeext
2057 if { { ac_try="$ac_link"
2058 case "(($ac_try" in
2059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2061 esac
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064 (eval "$ac_link") 2>conftest.err
2065 ac_status=$?
2066 if test -s conftest.err; then
2067 grep -v '^ *+' conftest.err >conftest.er1
2068 cat conftest.er1 >&5
2069 mv -f conftest.er1 conftest.err
2071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2072 test $ac_status = 0; } && {
2073 test -z "$ac_cxx_werror_flag" ||
2074 test ! -s conftest.err
2075 } && test -s conftest$ac_exeext && {
2076 test "$cross_compiling" = yes ||
2077 $as_test_x conftest$ac_exeext
2078 }; then :
2079 ac_retval=0
2080 else
2081 $as_echo "$as_me: failed program was:" >&5
2082 sed 's/^/| /' conftest.$ac_ext >&5
2084 ac_retval=1
2086 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2087 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2088 # interfere with the next link command; also delete a directory that is
2089 # left behind by Apple's compiler. We do this before executing the actions.
2090 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2091 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2092 return $ac_retval
2094 } # ac_fn_cxx_try_link
2096 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2097 # -------------------------------------------------------
2098 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2099 # the include files in INCLUDES and setting the cache variable VAR
2100 # accordingly.
2101 ac_fn_c_check_header_mongrel ()
2103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 $as_echo_n "(cached) " >&6
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 else
2114 # Is the header compilable?
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2116 $as_echo_n "checking $2 usability... " >&6; }
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h. */
2120 #include <$2>
2121 _ACEOF
2122 if ac_fn_c_try_compile "$LINENO"; then :
2123 ac_header_compiler=yes
2124 else
2125 ac_header_compiler=no
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2129 $as_echo "$ac_header_compiler" >&6; }
2131 # Is the header present?
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2133 $as_echo_n "checking $2 presence... " >&6; }
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2136 #include <$2>
2137 _ACEOF
2138 if ac_fn_c_try_cpp "$LINENO"; then :
2139 ac_header_preproc=yes
2140 else
2141 ac_header_preproc=no
2143 rm -f conftest.err conftest.$ac_ext
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2145 $as_echo "$ac_header_preproc" >&6; }
2147 # So? What about this header?
2148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2149 yes:no: )
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2151 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2153 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2155 no:yes:* )
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2157 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2159 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2161 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2163 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2165 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 esac
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2169 $as_echo_n "checking for $2... " >&6; }
2170 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171 $as_echo_n "(cached) " >&6
2172 else
2173 eval "$3=\$ac_header_compiler"
2175 eval ac_res=\$$3
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2177 $as_echo "$ac_res" >&6; }
2179 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181 } # ac_fn_c_check_header_mongrel
2183 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2184 # ---------------------------------------------------------
2185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2186 # the include files in INCLUDES and setting the cache variable VAR
2187 # accordingly.
2188 ac_fn_cxx_check_header_mongrel ()
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 $as_echo_n "(cached) " >&6
2197 eval ac_res=\$$3
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 else
2201 # Is the header compilable?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2203 $as_echo_n "checking $2 usability... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2207 #include <$2>
2208 _ACEOF
2209 if ac_fn_cxx_try_compile "$LINENO"; then :
2210 ac_header_compiler=yes
2211 else
2212 ac_header_compiler=no
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2216 $as_echo "$ac_header_compiler" >&6; }
2218 # Is the header present?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2220 $as_echo_n "checking $2 presence... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 #include <$2>
2224 _ACEOF
2225 if ac_fn_cxx_try_cpp "$LINENO"; then :
2226 ac_header_preproc=yes
2227 else
2228 ac_header_preproc=no
2230 rm -f conftest.err conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2232 $as_echo "$ac_header_preproc" >&6; }
2234 # So? What about this header?
2235 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2236 yes:no: )
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 no:yes:* )
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 esac
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2256 $as_echo_n "checking for $2... " >&6; }
2257 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2258 $as_echo_n "(cached) " >&6
2259 else
2260 eval "$3=\$ac_header_compiler"
2262 eval ac_res=\$$3
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2266 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2268 } # ac_fn_cxx_check_header_mongrel
2270 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2271 # --------------------------------------------
2272 # Tries to find the compile-time value of EXPR in a program that includes
2273 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2274 # computed
2275 ac_fn_c_compute_int ()
2277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2278 if test "$cross_compiling" = yes; then
2279 # Depending upon the size, compute the lo and hi bounds.
2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2281 /* end confdefs.h. */
2284 main ()
2286 static int test_array [1 - 2 * !(($2) >= 0)];
2287 test_array [0] = 0
2290 return 0;
2292 _ACEOF
2293 if ac_fn_c_try_compile "$LINENO"; then :
2294 ac_lo=0 ac_mid=0
2295 while :; do
2296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297 /* end confdefs.h. */
2300 main ()
2302 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2303 test_array [0] = 0
2306 return 0;
2308 _ACEOF
2309 if ac_fn_c_try_compile "$LINENO"; then :
2310 ac_hi=$ac_mid; break
2311 else
2312 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2313 if test $ac_lo -le $ac_mid; then
2314 ac_lo= ac_hi=
2315 break
2317 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320 done
2321 else
2322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2323 /* end confdefs.h. */
2326 main ()
2328 static int test_array [1 - 2 * !(($2) < 0)];
2329 test_array [0] = 0
2332 return 0;
2334 _ACEOF
2335 if ac_fn_c_try_compile "$LINENO"; then :
2336 ac_hi=-1 ac_mid=-1
2337 while :; do
2338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2339 /* end confdefs.h. */
2342 main ()
2344 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2345 test_array [0] = 0
2348 return 0;
2350 _ACEOF
2351 if ac_fn_c_try_compile "$LINENO"; then :
2352 ac_lo=$ac_mid; break
2353 else
2354 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2355 if test $ac_mid -le $ac_hi; then
2356 ac_lo= ac_hi=
2357 break
2359 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362 done
2363 else
2364 ac_lo= ac_hi=
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 # Binary search between lo and hi bounds.
2370 while test "x$ac_lo" != "x$ac_hi"; do
2371 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2376 main ()
2378 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2379 test_array [0] = 0
2382 return 0;
2384 _ACEOF
2385 if ac_fn_c_try_compile "$LINENO"; then :
2386 ac_hi=$ac_mid
2387 else
2388 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2391 done
2392 case $ac_lo in #((
2393 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2394 '') ac_retval=1 ;;
2395 esac
2396 else
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2400 static long int longval () { return $2; }
2401 static unsigned long int ulongval () { return $2; }
2402 #include <stdio.h>
2403 #include <stdlib.h>
2405 main ()
2408 FILE *f = fopen ("conftest.val", "w");
2409 if (! f)
2410 return 1;
2411 if (($2) < 0)
2413 long int i = longval ();
2414 if (i != ($2))
2415 return 1;
2416 fprintf (f, "%ld", i);
2418 else
2420 unsigned long int i = ulongval ();
2421 if (i != ($2))
2422 return 1;
2423 fprintf (f, "%lu", i);
2425 /* Do not output a trailing newline, as this causes \r\n confusion
2426 on some platforms. */
2427 return ferror (f) || fclose (f) != 0;
2430 return 0;
2432 _ACEOF
2433 if ac_fn_c_try_run "$LINENO"; then :
2434 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2435 else
2436 ac_retval=1
2438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2439 conftest.$ac_objext conftest.beam conftest.$ac_ext
2440 rm -f conftest.val
2443 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2444 return $ac_retval
2446 } # ac_fn_c_compute_int
2448 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2449 # -------------------------------------------
2450 # Tests whether TYPE exists after having included INCLUDES, setting cache
2451 # variable VAR accordingly.
2452 ac_fn_c_check_type ()
2454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2456 $as_echo_n "checking for $2... " >&6; }
2457 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2458 $as_echo_n "(cached) " >&6
2459 else
2460 eval "$3=no"
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 if (sizeof ($2))
2468 return 0;
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475 /* end confdefs.h. */
2478 main ()
2480 if (sizeof (($2)))
2481 return 0;
2483 return 0;
2485 _ACEOF
2486 if ac_fn_c_try_compile "$LINENO"; then :
2488 else
2489 eval "$3=yes"
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 eval ac_res=\$$3
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497 $as_echo "$ac_res" >&6; }
2498 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2500 } # ac_fn_c_check_type
2502 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2503 # ---------------------------------------------
2504 # Tests whether TYPE exists after having included INCLUDES, setting cache
2505 # variable VAR accordingly.
2506 ac_fn_cxx_check_type ()
2508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2510 $as_echo_n "checking for $2... " >&6; }
2511 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2512 $as_echo_n "(cached) " >&6
2513 else
2514 eval "$3=no"
2515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2516 /* end confdefs.h. */
2519 main ()
2521 if (sizeof ($2))
2522 return 0;
2524 return 0;
2526 _ACEOF
2527 if ac_fn_cxx_try_compile "$LINENO"; then :
2528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2529 /* end confdefs.h. */
2532 main ()
2534 if (sizeof (($2)))
2535 return 0;
2537 return 0;
2539 _ACEOF
2540 if ac_fn_cxx_try_compile "$LINENO"; then :
2542 else
2543 eval "$3=yes"
2545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2549 eval ac_res=\$$3
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2551 $as_echo "$ac_res" >&6; }
2552 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2554 } # ac_fn_cxx_check_type
2555 cat >config.log <<_ACEOF
2556 This file contains any messages produced by compilers while
2557 running configure, to aid debugging if configure makes a mistake.
2559 It was created by package-unused $as_me version-unused, which was
2560 generated by GNU Autoconf 2.64. Invocation command line was
2562 $ $0 $@
2564 _ACEOF
2565 exec 5>>config.log
2567 cat <<_ASUNAME
2568 ## --------- ##
2569 ## Platform. ##
2570 ## --------- ##
2572 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2573 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2574 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2575 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2576 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2578 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2579 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2581 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2582 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2583 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2584 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2585 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2586 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2587 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2589 _ASUNAME
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH
2594 IFS=$as_save_IFS
2595 test -z "$as_dir" && as_dir=.
2596 $as_echo "PATH: $as_dir"
2597 done
2598 IFS=$as_save_IFS
2600 } >&5
2602 cat >&5 <<_ACEOF
2605 ## ----------- ##
2606 ## Core tests. ##
2607 ## ----------- ##
2609 _ACEOF
2612 # Keep a trace of the command line.
2613 # Strip out --no-create and --no-recursion so they do not pile up.
2614 # Strip out --silent because we don't want to record it for future runs.
2615 # Also quote any args containing shell meta-characters.
2616 # Make two passes to allow for proper duplicate-argument suppression.
2617 ac_configure_args=
2618 ac_configure_args0=
2619 ac_configure_args1=
2620 ac_must_keep_next=false
2621 for ac_pass in 1 2
2623 for ac_arg
2625 case $ac_arg in
2626 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2627 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2628 | -silent | --silent | --silen | --sile | --sil)
2629 continue ;;
2630 *\'*)
2631 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2632 esac
2633 case $ac_pass in
2634 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2636 as_fn_append ac_configure_args1 " '$ac_arg'"
2637 if test $ac_must_keep_next = true; then
2638 ac_must_keep_next=false # Got value, back to normal.
2639 else
2640 case $ac_arg in
2641 *=* | --config-cache | -C | -disable-* | --disable-* \
2642 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2643 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2644 | -with-* | --with-* | -without-* | --without-* | --x)
2645 case "$ac_configure_args0 " in
2646 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2647 esac
2649 -* ) ac_must_keep_next=true ;;
2650 esac
2652 as_fn_append ac_configure_args " '$ac_arg'"
2654 esac
2655 done
2656 done
2657 { ac_configure_args0=; unset ac_configure_args0;}
2658 { ac_configure_args1=; unset ac_configure_args1;}
2660 # When interrupted or exit'd, cleanup temporary files, and complete
2661 # config.log. We remove comments because anyway the quotes in there
2662 # would cause problems or look ugly.
2663 # WARNING: Use '\'' to represent an apostrophe within the trap.
2664 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2665 trap 'exit_status=$?
2666 # Save into config.log some information that might help in debugging.
2668 echo
2670 cat <<\_ASBOX
2671 ## ---------------- ##
2672 ## Cache variables. ##
2673 ## ---------------- ##
2674 _ASBOX
2675 echo
2676 # The following way of writing the cache mishandles newlines in values,
2678 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2679 eval ac_val=\$$ac_var
2680 case $ac_val in #(
2681 *${as_nl}*)
2682 case $ac_var in #(
2683 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2684 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2685 esac
2686 case $ac_var in #(
2687 _ | IFS | as_nl) ;; #(
2688 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2689 *) { eval $ac_var=; unset $ac_var;} ;;
2690 esac ;;
2691 esac
2692 done
2693 (set) 2>&1 |
2694 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2695 *${as_nl}ac_space=\ *)
2696 sed -n \
2697 "s/'\''/'\''\\\\'\'''\''/g;
2698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2699 ;; #(
2701 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2703 esac |
2704 sort
2706 echo
2708 cat <<\_ASBOX
2709 ## ----------------- ##
2710 ## Output variables. ##
2711 ## ----------------- ##
2712 _ASBOX
2713 echo
2714 for ac_var in $ac_subst_vars
2716 eval ac_val=\$$ac_var
2717 case $ac_val in
2718 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2719 esac
2720 $as_echo "$ac_var='\''$ac_val'\''"
2721 done | sort
2722 echo
2724 if test -n "$ac_subst_files"; then
2725 cat <<\_ASBOX
2726 ## ------------------- ##
2727 ## File substitutions. ##
2728 ## ------------------- ##
2729 _ASBOX
2730 echo
2731 for ac_var in $ac_subst_files
2733 eval ac_val=\$$ac_var
2734 case $ac_val in
2735 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2736 esac
2737 $as_echo "$ac_var='\''$ac_val'\''"
2738 done | sort
2739 echo
2742 if test -s confdefs.h; then
2743 cat <<\_ASBOX
2744 ## ----------- ##
2745 ## confdefs.h. ##
2746 ## ----------- ##
2747 _ASBOX
2748 echo
2749 cat confdefs.h
2750 echo
2752 test "$ac_signal" != 0 &&
2753 $as_echo "$as_me: caught signal $ac_signal"
2754 $as_echo "$as_me: exit $exit_status"
2755 } >&5
2756 rm -f core *.core core.conftest.* &&
2757 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2758 exit $exit_status
2760 for ac_signal in 1 2 13 15; do
2761 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2762 done
2763 ac_signal=0
2765 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2766 rm -f -r conftest* confdefs.h
2768 $as_echo "/* confdefs.h */" > confdefs.h
2770 # Predefined preprocessor variables.
2772 cat >>confdefs.h <<_ACEOF
2773 #define PACKAGE_NAME "$PACKAGE_NAME"
2774 _ACEOF
2776 cat >>confdefs.h <<_ACEOF
2777 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2778 _ACEOF
2780 cat >>confdefs.h <<_ACEOF
2781 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2782 _ACEOF
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE_STRING "$PACKAGE_STRING"
2786 _ACEOF
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2790 _ACEOF
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_URL "$PACKAGE_URL"
2794 _ACEOF
2797 # Let the site file select an alternate cache file if it wants to.
2798 # Prefer an explicitly selected file to automatically selected ones.
2799 ac_site_file1=NONE
2800 ac_site_file2=NONE
2801 if test -n "$CONFIG_SITE"; then
2802 ac_site_file1=$CONFIG_SITE
2803 elif test "x$prefix" != xNONE; then
2804 ac_site_file1=$prefix/share/config.site
2805 ac_site_file2=$prefix/etc/config.site
2806 else
2807 ac_site_file1=$ac_default_prefix/share/config.site
2808 ac_site_file2=$ac_default_prefix/etc/config.site
2810 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2812 test "x$ac_site_file" = xNONE && continue
2813 if test -r "$ac_site_file"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2815 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2816 sed 's/^/| /' "$ac_site_file" >&5
2817 . "$ac_site_file"
2819 done
2821 if test -r "$cache_file"; then
2822 # Some versions of bash will fail to source /dev/null (special
2823 # files actually), so we avoid doing that.
2824 if test -f "$cache_file"; then
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2826 $as_echo "$as_me: loading cache $cache_file" >&6;}
2827 case $cache_file in
2828 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2829 *) . "./$cache_file";;
2830 esac
2832 else
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2834 $as_echo "$as_me: creating cache $cache_file" >&6;}
2835 >$cache_file
2838 # Check that the precious variables saved in the cache have kept the same
2839 # value.
2840 ac_cache_corrupted=false
2841 for ac_var in $ac_precious_vars; do
2842 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2843 eval ac_new_set=\$ac_env_${ac_var}_set
2844 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2845 eval ac_new_val=\$ac_env_${ac_var}_value
2846 case $ac_old_set,$ac_new_set in
2847 set,)
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2849 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2850 ac_cache_corrupted=: ;;
2851 ,set)
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2853 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2854 ac_cache_corrupted=: ;;
2855 ,);;
2857 if test "x$ac_old_val" != "x$ac_new_val"; then
2858 # differences in whitespace do not lead to failure.
2859 ac_old_val_w=`echo x $ac_old_val`
2860 ac_new_val_w=`echo x $ac_new_val`
2861 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2863 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2864 ac_cache_corrupted=:
2865 else
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2867 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2868 eval $ac_var=\$ac_old_val
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2871 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2873 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2874 fi;;
2875 esac
2876 # Pass precious variables to config.status.
2877 if test "$ac_new_set" = set; then
2878 case $ac_new_val in
2879 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2880 *) ac_arg=$ac_var=$ac_new_val ;;
2881 esac
2882 case " $ac_configure_args " in
2883 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2884 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2885 esac
2887 done
2888 if $ac_cache_corrupted; then
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2892 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2893 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2895 ## -------------------- ##
2896 ## Main body of script. ##
2897 ## -------------------- ##
2899 ac_ext=c
2900 ac_cpp='$CPP $CPPFLAGS'
2901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2910 ac_config_headers="$ac_config_headers config.h"
2913 # This works around the fact that libtool configuration may change LD
2914 # for this particular configuration, but some shells, instead of
2915 # keeping the changes in LD private, export them just because LD is
2916 # exported. Only used at the end of this file.
2917 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2919 # Find the rest of the source tree framework.
2920 # Default to --enable-multilib
2921 # Check whether --enable-multilib was given.
2922 if test "${enable_multilib+set}" = set; then :
2923 enableval=$enable_multilib; case "$enableval" in
2924 yes) multilib=yes ;;
2925 no) multilib=no ;;
2926 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2927 esac
2928 else
2929 multilib=yes
2933 # We may get other options which we leave undocumented:
2934 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2935 # See config-ml.in if you want the gory details.
2937 if test "$srcdir" = "."; then
2938 if test "$with_target_subdir" != "."; then
2939 multi_basedir="$srcdir/$with_multisrctop../.."
2940 else
2941 multi_basedir="$srcdir/$with_multisrctop.."
2943 else
2944 multi_basedir="$srcdir/.."
2948 # Even if the default multilib is not a cross compilation,
2949 # it may be that some of the other multilibs are.
2950 if test $cross_compiling = no && test $multilib = yes \
2951 && test "x${with_multisubdir}" != x ; then
2952 cross_compiling=maybe
2955 ac_config_commands="$ac_config_commands default-1"
2958 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2960 # You will slowly go insane if you do not grok the following fact: when
2961 # building v3 as part of the compiler, the top-level /target/ becomes the
2962 # library's /host/. configure then causes --target to default to --host,
2963 # exactly like any other package using autoconf. Therefore, 'target' and
2964 # 'host' will always be the same. This makes sense both for native and
2965 # cross compilers, just think about it for a little while. :-)
2967 # Also, if v3 is being configured as part of a cross compiler, the top-level
2968 # configure script will pass the "real" host as $with_cross_host.
2970 # Do not delete or change the following two lines. For why, see
2971 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2972 ac_aux_dir=
2973 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2974 for ac_t in install-sh install.sh shtool; do
2975 if test -f "$ac_dir/$ac_t"; then
2976 ac_aux_dir=$ac_dir
2977 ac_install_sh="$ac_aux_dir/$ac_t -c"
2978 break 2
2980 done
2981 done
2982 if test -z "$ac_aux_dir"; then
2983 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2986 # These three variables are undocumented and unsupported,
2987 # and are intended to be withdrawn in a future Autoconf release.
2988 # They can cause serious problems if a builder's source tree is in a directory
2989 # whose full name contains unusual characters.
2990 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2991 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2992 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2995 # Make sure we can run config.sub.
2996 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2997 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3000 $as_echo_n "checking build system type... " >&6; }
3001 if test "${ac_cv_build+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 ac_build_alias=$build_alias
3005 test "x$ac_build_alias" = x &&
3006 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3007 test "x$ac_build_alias" = x &&
3008 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3009 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3010 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3014 $as_echo "$ac_cv_build" >&6; }
3015 case $ac_cv_build in
3016 *-*-*) ;;
3017 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3018 esac
3019 build=$ac_cv_build
3020 ac_save_IFS=$IFS; IFS='-'
3021 set x $ac_cv_build
3022 shift
3023 build_cpu=$1
3024 build_vendor=$2
3025 shift; shift
3026 # Remember, the first character of IFS is used to create $*,
3027 # except with old shells:
3028 build_os=$*
3029 IFS=$ac_save_IFS
3030 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3034 $as_echo_n "checking host system type... " >&6; }
3035 if test "${ac_cv_host+set}" = set; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 if test "x$host_alias" = x; then
3039 ac_cv_host=$ac_cv_build
3040 else
3041 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3042 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3047 $as_echo "$ac_cv_host" >&6; }
3048 case $ac_cv_host in
3049 *-*-*) ;;
3050 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3051 esac
3052 host=$ac_cv_host
3053 ac_save_IFS=$IFS; IFS='-'
3054 set x $ac_cv_host
3055 shift
3056 host_cpu=$1
3057 host_vendor=$2
3058 shift; shift
3059 # Remember, the first character of IFS is used to create $*,
3060 # except with old shells:
3061 host_os=$*
3062 IFS=$ac_save_IFS
3063 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3067 $as_echo_n "checking target system type... " >&6; }
3068 if test "${ac_cv_target+set}" = set; then :
3069 $as_echo_n "(cached) " >&6
3070 else
3071 if test "x$target_alias" = x; then
3072 ac_cv_target=$ac_cv_host
3073 else
3074 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3075 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3080 $as_echo "$ac_cv_target" >&6; }
3081 case $ac_cv_target in
3082 *-*-*) ;;
3083 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3084 esac
3085 target=$ac_cv_target
3086 ac_save_IFS=$IFS; IFS='-'
3087 set x $ac_cv_target
3088 shift
3089 target_cpu=$1
3090 target_vendor=$2
3091 shift; shift
3092 # Remember, the first character of IFS is used to create $*,
3093 # except with old shells:
3094 target_os=$*
3095 IFS=$ac_save_IFS
3096 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3099 # The aliases save the names the user supplied, while $host etc.
3100 # will get canonicalized.
3101 test -n "$target_alias" &&
3102 test "$program_prefix$program_suffix$program_transform_name" = \
3103 NONENONEs,x,x, &&
3104 program_prefix=${target_alias}-
3106 target_alias=${target_alias-$host_alias}
3108 # Handy for debugging:
3109 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3111 if test "$build" != "$host"; then
3112 # We are being configured with some form of cross compiler.
3113 GLIBCXX_IS_NATIVE=false
3114 case "$host","$target" in
3115 # Darwin crosses can use the host system's libraries and headers,
3116 # because of the fat library support. Of course, it must be the
3117 # same version of Darwin on both sides. Allow the user to
3118 # just say --target=foo-darwin without a version number to mean
3119 # "the version on this system".
3120 *-*-darwin*,*-*-darwin*)
3121 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3122 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3123 if test $hostos = $targetos -o $targetos = darwin ; then
3124 GLIBCXX_IS_NATIVE=true
3131 esac
3132 else
3133 GLIBCXX_IS_NATIVE=true
3136 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3137 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3138 # 1.x: minimum required version
3139 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3140 # of other PACKAGE_* variables will, however, and there's nothing
3141 # we can do about that; they come from AC_INIT).
3142 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3143 # file in the top srcdir, etc, etc), so stop complaining.
3144 # no-dependencies: turns off auto dependency generation (just for now)
3145 # no-dist: we don't want 'dist' and related rules.
3146 # -Wall: turns on all automake warnings...
3147 # -Wno-portability: ...except this one, since GNU make is now required.
3148 am__api_version='1.11'
3150 # Find a good install program. We prefer a C program (faster),
3151 # so one script is as good as another. But avoid the broken or
3152 # incompatible versions:
3153 # SysV /etc/install, /usr/sbin/install
3154 # SunOS /usr/etc/install
3155 # IRIX /sbin/install
3156 # AIX /bin/install
3157 # AmigaOS /C/install, which installs bootblocks on floppy discs
3158 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3159 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3160 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3161 # OS/2's system install, which has a completely different semantic
3162 # ./install, which can be erroneously created by make from ./install.sh.
3163 # Reject install programs that cannot install multiple files.
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3165 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3166 if test -z "$INSTALL"; then
3167 if test "${ac_cv_path_install+set}" = set; then :
3168 $as_echo_n "(cached) " >&6
3169 else
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 for as_dir in $PATH
3173 IFS=$as_save_IFS
3174 test -z "$as_dir" && as_dir=.
3175 # Account for people who put trailing slashes in PATH elements.
3176 case $as_dir/ in #((
3177 ./ | .// | /[cC]/* | \
3178 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3179 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3180 /usr/ucb/* ) ;;
3182 # OSF1 and SCO ODT 3.0 have their own names for install.
3183 # Don't use installbsd from OSF since it installs stuff as root
3184 # by default.
3185 for ac_prog in ginstall scoinst install; do
3186 for ac_exec_ext in '' $ac_executable_extensions; do
3187 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3188 if test $ac_prog = install &&
3189 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3190 # AIX install. It has an incompatible calling convention.
3192 elif test $ac_prog = install &&
3193 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3194 # program-specific install script used by HP pwplus--don't use.
3196 else
3197 rm -rf conftest.one conftest.two conftest.dir
3198 echo one > conftest.one
3199 echo two > conftest.two
3200 mkdir conftest.dir
3201 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3202 test -s conftest.one && test -s conftest.two &&
3203 test -s conftest.dir/conftest.one &&
3204 test -s conftest.dir/conftest.two
3205 then
3206 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3207 break 3
3211 done
3212 done
3214 esac
3216 done
3217 IFS=$as_save_IFS
3219 rm -rf conftest.one conftest.two conftest.dir
3222 if test "${ac_cv_path_install+set}" = set; then
3223 INSTALL=$ac_cv_path_install
3224 else
3225 # As a last resort, use the slow shell script. Don't cache a
3226 # value for INSTALL within a source directory, because that will
3227 # break other packages using the cache if that directory is
3228 # removed, or if the value is a relative name.
3229 INSTALL=$ac_install_sh
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3233 $as_echo "$INSTALL" >&6; }
3235 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3236 # It thinks the first close brace ends the variable substitution.
3237 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3239 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3241 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3244 $as_echo_n "checking whether build environment is sane... " >&6; }
3245 # Just in case
3246 sleep 1
3247 echo timestamp > conftest.file
3248 # Reject unsafe characters in $srcdir or the absolute working directory
3249 # name. Accept space and tab only in the latter.
3250 am_lf='
3252 case `pwd` in
3253 *[\\\"\#\$\&\'\`$am_lf]*)
3254 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3255 esac
3256 case $srcdir in
3257 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3258 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3259 esac
3261 # Do `set' in a subshell so we don't clobber the current shell's
3262 # arguments. Must try -L first in case configure is actually a
3263 # symlink; some systems play weird games with the mod time of symlinks
3264 # (eg FreeBSD returns the mod time of the symlink's containing
3265 # directory).
3266 if (
3267 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3268 if test "$*" = "X"; then
3269 # -L didn't work.
3270 set X `ls -t "$srcdir/configure" conftest.file`
3272 rm -f conftest.file
3273 if test "$*" != "X $srcdir/configure conftest.file" \
3274 && test "$*" != "X conftest.file $srcdir/configure"; then
3276 # If neither matched, then we have a broken ls. This can happen
3277 # if, for instance, CONFIG_SHELL is bash and it inherits a
3278 # broken ls alias from the environment. This has actually
3279 # happened. Such a system could not be considered "sane".
3280 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3281 alias in your environment" "$LINENO" 5
3284 test "$2" = conftest.file
3286 then
3287 # Ok.
3289 else
3290 as_fn_error "newly created file is older than distributed files!
3291 Check your system clock" "$LINENO" 5
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3294 $as_echo "yes" >&6; }
3295 test "$program_prefix" != NONE &&
3296 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3297 # Use a double $ so make ignores it.
3298 test "$program_suffix" != NONE &&
3299 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3300 # Double any \ or $.
3301 # By default was `s,x,x', remove it if useless.
3302 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3303 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3305 # expand $ac_aux_dir to an absolute path
3306 am_aux_dir=`cd $ac_aux_dir && pwd`
3308 if test x"${MISSING+set}" != xset; then
3309 case $am_aux_dir in
3310 *\ * | *\ *)
3311 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3313 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3314 esac
3316 # Use eval to expand $SHELL
3317 if eval "$MISSING --run true"; then
3318 am_missing_run="$MISSING --run "
3319 else
3320 am_missing_run=
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3322 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3325 if test x"${install_sh}" != xset; then
3326 case $am_aux_dir in
3327 *\ * | *\ *)
3328 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3330 install_sh="\${SHELL} $am_aux_dir/install-sh"
3331 esac
3334 # Installed binaries are usually stripped using `strip' when the user
3335 # run `make install-strip'. However `strip' might not be the right
3336 # tool to use in cross-compilation environments, therefore Automake
3337 # will honor the `STRIP' environment variable to overrule this program.
3338 if test "$cross_compiling" != no; then
3339 if test -n "$ac_tool_prefix"; then
3340 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3341 set dummy ${ac_tool_prefix}strip; ac_word=$2
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343 $as_echo_n "checking for $ac_word... " >&6; }
3344 if test "${ac_cv_prog_STRIP+set}" = set; then :
3345 $as_echo_n "(cached) " >&6
3346 else
3347 if test -n "$STRIP"; then
3348 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3349 else
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351 for as_dir in $PATH
3353 IFS=$as_save_IFS
3354 test -z "$as_dir" && as_dir=.
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3357 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3359 break 2
3361 done
3362 done
3363 IFS=$as_save_IFS
3367 STRIP=$ac_cv_prog_STRIP
3368 if test -n "$STRIP"; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3370 $as_echo "$STRIP" >&6; }
3371 else
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373 $as_echo "no" >&6; }
3378 if test -z "$ac_cv_prog_STRIP"; then
3379 ac_ct_STRIP=$STRIP
3380 # Extract the first word of "strip", so it can be a program name with args.
3381 set dummy strip; ac_word=$2
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3383 $as_echo_n "checking for $ac_word... " >&6; }
3384 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3385 $as_echo_n "(cached) " >&6
3386 else
3387 if test -n "$ac_ct_STRIP"; then
3388 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3389 else
3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391 for as_dir in $PATH
3393 IFS=$as_save_IFS
3394 test -z "$as_dir" && as_dir=.
3395 for ac_exec_ext in '' $ac_executable_extensions; do
3396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3397 ac_cv_prog_ac_ct_STRIP="strip"
3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3399 break 2
3401 done
3402 done
3403 IFS=$as_save_IFS
3407 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3408 if test -n "$ac_ct_STRIP"; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3410 $as_echo "$ac_ct_STRIP" >&6; }
3411 else
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3416 if test "x$ac_ct_STRIP" = x; then
3417 STRIP=":"
3418 else
3419 case $cross_compiling:$ac_tool_warned in
3420 yes:)
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3423 ac_tool_warned=yes ;;
3424 esac
3425 STRIP=$ac_ct_STRIP
3427 else
3428 STRIP="$ac_cv_prog_STRIP"
3432 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3435 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3436 if test -z "$MKDIR_P"; then
3437 if test "${ac_cv_path_mkdir+set}" = set; then :
3438 $as_echo_n "(cached) " >&6
3439 else
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3443 IFS=$as_save_IFS
3444 test -z "$as_dir" && as_dir=.
3445 for ac_prog in mkdir gmkdir; do
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3448 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3449 'mkdir (GNU coreutils) '* | \
3450 'mkdir (coreutils) '* | \
3451 'mkdir (fileutils) '4.1*)
3452 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3453 break 3;;
3454 esac
3455 done
3456 done
3457 done
3458 IFS=$as_save_IFS
3462 if test "${ac_cv_path_mkdir+set}" = set; then
3463 MKDIR_P="$ac_cv_path_mkdir -p"
3464 else
3465 # As a last resort, use the slow shell script. Don't cache a
3466 # value for MKDIR_P within a source directory, because that will
3467 # break other packages using the cache if that directory is
3468 # removed, or if the value is a relative name.
3469 test -d ./--version && rmdir ./--version
3470 MKDIR_P="$ac_install_sh -d"
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3474 $as_echo "$MKDIR_P" >&6; }
3476 mkdir_p="$MKDIR_P"
3477 case $mkdir_p in
3478 [\\/$]* | ?:[\\/]*) ;;
3479 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3480 esac
3482 for ac_prog in gawk mawk nawk awk
3484 # Extract the first word of "$ac_prog", so it can be a program name with args.
3485 set dummy $ac_prog; ac_word=$2
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3487 $as_echo_n "checking for $ac_word... " >&6; }
3488 if test "${ac_cv_prog_AWK+set}" = set; then :
3489 $as_echo_n "(cached) " >&6
3490 else
3491 if test -n "$AWK"; then
3492 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3493 else
3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495 for as_dir in $PATH
3497 IFS=$as_save_IFS
3498 test -z "$as_dir" && as_dir=.
3499 for ac_exec_ext in '' $ac_executable_extensions; do
3500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3501 ac_cv_prog_AWK="$ac_prog"
3502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3503 break 2
3505 done
3506 done
3507 IFS=$as_save_IFS
3511 AWK=$ac_cv_prog_AWK
3512 if test -n "$AWK"; then
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3514 $as_echo "$AWK" >&6; }
3515 else
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3517 $as_echo "no" >&6; }
3521 test -n "$AWK" && break
3522 done
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3525 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3526 set x ${MAKE-make}
3527 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3528 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3529 $as_echo_n "(cached) " >&6
3530 else
3531 cat >conftest.make <<\_ACEOF
3532 SHELL = /bin/sh
3533 all:
3534 @echo '@@@%%%=$(MAKE)=@@@%%%'
3535 _ACEOF
3536 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3537 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3538 *@@@%%%=?*=@@@%%%*)
3539 eval ac_cv_prog_make_${ac_make}_set=yes;;
3541 eval ac_cv_prog_make_${ac_make}_set=no;;
3542 esac
3543 rm -f conftest.make
3545 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3547 $as_echo "yes" >&6; }
3548 SET_MAKE=
3549 else
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551 $as_echo "no" >&6; }
3552 SET_MAKE="MAKE=${MAKE-make}"
3555 rm -rf .tst 2>/dev/null
3556 mkdir .tst 2>/dev/null
3557 if test -d .tst; then
3558 am__leading_dot=.
3559 else
3560 am__leading_dot=_
3562 rmdir .tst 2>/dev/null
3564 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3565 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3566 # is not polluted with repeated "-I."
3567 am__isrc=' -I$(srcdir)'
3568 # test to see if srcdir already configured
3569 if test -f $srcdir/config.status; then
3570 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3574 # test whether we have cygpath
3575 if test -z "$CYGPATH_W"; then
3576 if (cygpath --version) >/dev/null 2>/dev/null; then
3577 CYGPATH_W='cygpath -w'
3578 else
3579 CYGPATH_W=echo
3584 # Define the identity of the package.
3585 PACKAGE='libstdc++'
3586 VERSION='version-unused'
3589 # Some tools Automake needs.
3591 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3594 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3597 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3600 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3603 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3605 # We need awk for the "check" target. The system "awk" is bad on
3606 # some platforms.
3607 # Always define AMTAR for backward compatibility.
3609 AMTAR=${AMTAR-"${am_missing_run}tar"}
3611 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3620 # -fno-builtin must be present here so that a non-conflicting form of
3621 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3623 save_CXXFLAGS="$CXXFLAGS"
3624 CXXFLAGS="$CXXFLAGS -fno-builtin"
3625 ac_ext=c
3626 ac_cpp='$CPP $CPPFLAGS'
3627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3630 if test -n "$ac_tool_prefix"; then
3631 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3632 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3634 $as_echo_n "checking for $ac_word... " >&6; }
3635 if test "${ac_cv_prog_CC+set}" = set; then :
3636 $as_echo_n "(cached) " >&6
3637 else
3638 if test -n "$CC"; then
3639 ac_cv_prog_CC="$CC" # Let the user override the test.
3640 else
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 for as_dir in $PATH
3644 IFS=$as_save_IFS
3645 test -z "$as_dir" && as_dir=.
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3648 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 break 2
3652 done
3653 done
3654 IFS=$as_save_IFS
3658 CC=$ac_cv_prog_CC
3659 if test -n "$CC"; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3661 $as_echo "$CC" >&6; }
3662 else
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664 $as_echo "no" >&6; }
3669 if test -z "$ac_cv_prog_CC"; then
3670 ac_ct_CC=$CC
3671 # Extract the first word of "gcc", so it can be a program name with args.
3672 set dummy gcc; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3676 $as_echo_n "(cached) " >&6
3677 else
3678 if test -n "$ac_ct_CC"; then
3679 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3680 else
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3684 IFS=$as_save_IFS
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688 ac_cv_prog_ac_ct_CC="gcc"
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 break 2
3692 done
3693 done
3694 IFS=$as_save_IFS
3698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3699 if test -n "$ac_ct_CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3701 $as_echo "$ac_ct_CC" >&6; }
3702 else
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3707 if test "x$ac_ct_CC" = x; then
3708 CC=""
3709 else
3710 case $cross_compiling:$ac_tool_warned in
3711 yes:)
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3714 ac_tool_warned=yes ;;
3715 esac
3716 CC=$ac_ct_CC
3718 else
3719 CC="$ac_cv_prog_CC"
3722 if test -z "$CC"; then
3723 if test -n "$ac_tool_prefix"; then
3724 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3725 set dummy ${ac_tool_prefix}cc; ac_word=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if test "${ac_cv_prog_CC+set}" = set; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 if test -n "$CC"; then
3732 ac_cv_prog_CC="$CC" # Let the user override the test.
3733 else
3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735 for as_dir in $PATH
3737 IFS=$as_save_IFS
3738 test -z "$as_dir" && as_dir=.
3739 for ac_exec_ext in '' $ac_executable_extensions; do
3740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3741 ac_cv_prog_CC="${ac_tool_prefix}cc"
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 break 2
3745 done
3746 done
3747 IFS=$as_save_IFS
3751 CC=$ac_cv_prog_CC
3752 if test -n "$CC"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3754 $as_echo "$CC" >&6; }
3755 else
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3763 if test -z "$CC"; then
3764 # Extract the first word of "cc", so it can be a program name with args.
3765 set dummy cc; ac_word=$2
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767 $as_echo_n "checking for $ac_word... " >&6; }
3768 if test "${ac_cv_prog_CC+set}" = set; then :
3769 $as_echo_n "(cached) " >&6
3770 else
3771 if test -n "$CC"; then
3772 ac_cv_prog_CC="$CC" # Let the user override the test.
3773 else
3774 ac_prog_rejected=no
3775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776 for as_dir in $PATH
3778 IFS=$as_save_IFS
3779 test -z "$as_dir" && as_dir=.
3780 for ac_exec_ext in '' $ac_executable_extensions; do
3781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3782 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3783 ac_prog_rejected=yes
3784 continue
3786 ac_cv_prog_CC="cc"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 break 2
3790 done
3791 done
3792 IFS=$as_save_IFS
3794 if test $ac_prog_rejected = yes; then
3795 # We found a bogon in the path, so make sure we never use it.
3796 set dummy $ac_cv_prog_CC
3797 shift
3798 if test $# != 0; then
3799 # We chose a different compiler from the bogus one.
3800 # However, it has the same basename, so the bogon will be chosen
3801 # first if we set CC to just the basename; use the full file name.
3802 shift
3803 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3808 CC=$ac_cv_prog_CC
3809 if test -n "$CC"; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3811 $as_echo "$CC" >&6; }
3812 else
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3819 if test -z "$CC"; then
3820 if test -n "$ac_tool_prefix"; then
3821 for ac_prog in cl.exe
3823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if test "${ac_cv_prog_CC+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3829 else
3830 if test -n "$CC"; then
3831 ac_cv_prog_CC="$CC" # Let the user override the test.
3832 else
3833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 for as_dir in $PATH
3836 IFS=$as_save_IFS
3837 test -z "$as_dir" && as_dir=.
3838 for ac_exec_ext in '' $ac_executable_extensions; do
3839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3842 break 2
3844 done
3845 done
3846 IFS=$as_save_IFS
3850 CC=$ac_cv_prog_CC
3851 if test -n "$CC"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3853 $as_echo "$CC" >&6; }
3854 else
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3860 test -n "$CC" && break
3861 done
3863 if test -z "$CC"; then
3864 ac_ct_CC=$CC
3865 for ac_prog in cl.exe
3867 # Extract the first word of "$ac_prog", so it can be a program name with args.
3868 set dummy $ac_prog; ac_word=$2
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3870 $as_echo_n "checking for $ac_word... " >&6; }
3871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3872 $as_echo_n "(cached) " >&6
3873 else
3874 if test -n "$ac_ct_CC"; then
3875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3876 else
3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 for as_dir in $PATH
3880 IFS=$as_save_IFS
3881 test -z "$as_dir" && as_dir=.
3882 for ac_exec_ext in '' $ac_executable_extensions; do
3883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3884 ac_cv_prog_ac_ct_CC="$ac_prog"
3885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 break 2
3888 done
3889 done
3890 IFS=$as_save_IFS
3894 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3895 if test -n "$ac_ct_CC"; then
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3897 $as_echo "$ac_ct_CC" >&6; }
3898 else
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900 $as_echo "no" >&6; }
3904 test -n "$ac_ct_CC" && break
3905 done
3907 if test "x$ac_ct_CC" = x; then
3908 CC=""
3909 else
3910 case $cross_compiling:$ac_tool_warned in
3911 yes:)
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3914 ac_tool_warned=yes ;;
3915 esac
3916 CC=$ac_ct_CC
3923 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3925 as_fn_error "no acceptable C compiler found in \$PATH
3926 See \`config.log' for more details." "$LINENO" 5; }
3928 # Provide some information about the compiler.
3929 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3930 set X $ac_compile
3931 ac_compiler=$2
3932 for ac_option in --version -v -V -qversion; do
3933 { { ac_try="$ac_compiler $ac_option >&5"
3934 case "(($ac_try" in
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3941 ac_status=$?
3942 if test -s conftest.err; then
3943 sed '10a\
3944 ... rest of stderr output deleted ...
3945 10q' conftest.err >conftest.er1
3946 cat conftest.er1 >&5
3947 rm -f conftest.er1 conftest.err
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }
3951 done
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3957 main ()
3961 return 0;
3963 _ACEOF
3964 # FIXME: Cleanup?
3965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3966 (eval $ac_link) 2>&5
3967 ac_status=$?
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969 test $ac_status = 0; }; then :
3970 gcc_no_link=no
3971 else
3972 gcc_no_link=yes
3974 if test x$gcc_no_link = xyes; then
3975 # Setting cross_compile will disable run tests; it will
3976 # also disable AC_CHECK_FILE but that's generally
3977 # correct if we can't link.
3978 cross_compiling=yes
3979 EXEEXT=
3980 else
3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3985 main ()
3989 return 0;
3991 _ACEOF
3992 ac_clean_files_save=$ac_clean_files
3993 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3994 # Try to create an executable without -o first, disregard a.out.
3995 # It will help us diagnose broken compilers, and finding out an intuition
3996 # of exeext.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3998 $as_echo_n "checking for C compiler default output file name... " >&6; }
3999 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4001 # The possible output files:
4002 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4004 ac_rmfiles=
4005 for ac_file in $ac_files
4007 case $ac_file in
4008 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4009 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4010 esac
4011 done
4012 rm -f $ac_rmfiles
4014 if { { ac_try="$ac_link_default"
4015 case "(($ac_try" in
4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017 *) ac_try_echo=$ac_try;;
4018 esac
4019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4020 $as_echo "$ac_try_echo"; } >&5
4021 (eval "$ac_link_default") 2>&5
4022 ac_status=$?
4023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024 test $ac_status = 0; }; then :
4025 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4026 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4027 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4028 # so that the user can short-circuit this test for compilers unknown to
4029 # Autoconf.
4030 for ac_file in $ac_files ''
4032 test -f "$ac_file" || continue
4033 case $ac_file in
4034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4036 [ab].out )
4037 # We found the default executable, but exeext='' is most
4038 # certainly right.
4039 break;;
4040 *.* )
4041 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4042 then :; else
4043 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4045 # We set ac_cv_exeext here because the later test for it is not
4046 # safe: cross compilers may not add the suffix if given an `-o'
4047 # argument, so we may need to know it at that point already.
4048 # Even if this section looks crufty: it has the advantage of
4049 # actually working.
4050 break;;
4052 break;;
4053 esac
4054 done
4055 test "$ac_cv_exeext" = no && ac_cv_exeext=
4057 else
4058 ac_file=''
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4061 $as_echo "$ac_file" >&6; }
4062 if test -z "$ac_file"; then :
4063 $as_echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.$ac_ext >&5
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 { as_fn_set_status 77
4069 as_fn_error "C compiler cannot create executables
4070 See \`config.log' for more details." "$LINENO" 5; }; }
4072 ac_exeext=$ac_cv_exeext
4074 # Check that the compiler produces executables we can run. If not, either
4075 # the compiler is broken, or we cross compile.
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4077 $as_echo_n "checking whether the C compiler works... " >&6; }
4078 # If not cross compiling, check that we can run a simple program.
4079 if test "$cross_compiling" != yes; then
4080 if { ac_try='./$ac_file'
4081 { { case "(($ac_try" in
4082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4083 *) ac_try_echo=$ac_try;;
4084 esac
4085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4086 $as_echo "$ac_try_echo"; } >&5
4087 (eval "$ac_try") 2>&5
4088 ac_status=$?
4089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4090 test $ac_status = 0; }; }; then
4091 cross_compiling=no
4092 else
4093 if test "$cross_compiling" = maybe; then
4094 cross_compiling=yes
4095 else
4096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4098 as_fn_error "cannot run C compiled programs.
4099 If you meant to cross compile, use \`--host'.
4100 See \`config.log' for more details." "$LINENO" 5; }
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4105 $as_echo "yes" >&6; }
4107 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4108 ac_clean_files=$ac_clean_files_save
4109 # Check that the compiler produces executables we can run. If not, either
4110 # the compiler is broken, or we cross compile.
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4112 $as_echo_n "checking whether we are cross compiling... " >&6; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4114 $as_echo "$cross_compiling" >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4117 $as_echo_n "checking for suffix of executables... " >&6; }
4118 if { { ac_try="$ac_link"
4119 case "(($ac_try" in
4120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121 *) ac_try_echo=$ac_try;;
4122 esac
4123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124 $as_echo "$ac_try_echo"; } >&5
4125 (eval "$ac_link") 2>&5
4126 ac_status=$?
4127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128 test $ac_status = 0; }; then :
4129 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4130 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4131 # work properly (i.e., refer to `conftest.exe'), while it won't with
4132 # `rm'.
4133 for ac_file in conftest.exe conftest conftest.*; do
4134 test -f "$ac_file" || continue
4135 case $ac_file in
4136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4137 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4138 break;;
4139 * ) break;;
4140 esac
4141 done
4142 else
4143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4145 as_fn_error "cannot compute suffix of executables: cannot compile and link
4146 See \`config.log' for more details." "$LINENO" 5; }
4148 rm -f conftest$ac_cv_exeext
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4150 $as_echo "$ac_cv_exeext" >&6; }
4152 rm -f conftest.$ac_ext
4153 EXEEXT=$ac_cv_exeext
4154 ac_exeext=$EXEEXT
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4157 $as_echo_n "checking for suffix of object files... " >&6; }
4158 if test "${ac_cv_objext+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4165 main ()
4169 return 0;
4171 _ACEOF
4172 rm -f conftest.o conftest.obj
4173 if { { ac_try="$ac_compile"
4174 case "(($ac_try" in
4175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176 *) ac_try_echo=$ac_try;;
4177 esac
4178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4179 $as_echo "$ac_try_echo"; } >&5
4180 (eval "$ac_compile") 2>&5
4181 ac_status=$?
4182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4183 test $ac_status = 0; }; then :
4184 for ac_file in conftest.o conftest.obj conftest.*; do
4185 test -f "$ac_file" || continue;
4186 case $ac_file in
4187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4188 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4189 break;;
4190 esac
4191 done
4192 else
4193 $as_echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.$ac_ext >&5
4196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4198 as_fn_error "cannot compute suffix of object files: cannot compile
4199 See \`config.log' for more details." "$LINENO" 5; }
4201 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4204 $as_echo "$ac_cv_objext" >&6; }
4205 OBJEXT=$ac_cv_objext
4206 ac_objext=$OBJEXT
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4208 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4209 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4216 main ()
4218 #ifndef __GNUC__
4219 choke me
4220 #endif
4223 return 0;
4225 _ACEOF
4226 if ac_fn_c_try_compile "$LINENO"; then :
4227 ac_compiler_gnu=yes
4228 else
4229 ac_compiler_gnu=no
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4236 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4237 if test $ac_compiler_gnu = yes; then
4238 GCC=yes
4239 else
4240 GCC=
4242 ac_test_CFLAGS=${CFLAGS+set}
4243 ac_save_CFLAGS=$CFLAGS
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4245 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4246 if test "${ac_cv_prog_cc_g+set}" = set; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 ac_save_c_werror_flag=$ac_c_werror_flag
4250 ac_c_werror_flag=yes
4251 ac_cv_prog_cc_g=no
4252 CFLAGS="-g"
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265 ac_cv_prog_cc_g=yes
4266 else
4267 CFLAGS=""
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4272 main ()
4276 return 0;
4278 _ACEOF
4279 if ac_fn_c_try_compile "$LINENO"; then :
4281 else
4282 ac_c_werror_flag=$ac_save_c_werror_flag
4283 CFLAGS="-g"
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4288 main ()
4292 return 0;
4294 _ACEOF
4295 if ac_fn_c_try_compile "$LINENO"; then :
4296 ac_cv_prog_cc_g=yes
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 ac_c_werror_flag=$ac_save_c_werror_flag
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4306 $as_echo "$ac_cv_prog_cc_g" >&6; }
4307 if test "$ac_test_CFLAGS" = set; then
4308 CFLAGS=$ac_save_CFLAGS
4309 elif test $ac_cv_prog_cc_g = yes; then
4310 if test "$GCC" = yes; then
4311 CFLAGS="-g -O2"
4312 else
4313 CFLAGS="-g"
4315 else
4316 if test "$GCC" = yes; then
4317 CFLAGS="-O2"
4318 else
4319 CFLAGS=
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4323 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4324 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4326 else
4327 ac_cv_prog_cc_c89=no
4328 ac_save_CC=$CC
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h. */
4331 #include <stdarg.h>
4332 #include <stdio.h>
4333 #include <sys/types.h>
4334 #include <sys/stat.h>
4335 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4336 struct buf { int x; };
4337 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4338 static char *e (p, i)
4339 char **p;
4340 int i;
4342 return p[i];
4344 static char *f (char * (*g) (char **, int), char **p, ...)
4346 char *s;
4347 va_list v;
4348 va_start (v,p);
4349 s = g (p, va_arg (v,int));
4350 va_end (v);
4351 return s;
4354 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4355 function prototypes and stuff, but not '\xHH' hex character constants.
4356 These don't provoke an error unfortunately, instead are silently treated
4357 as 'x'. The following induces an error, until -std is added to get
4358 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4359 array size at least. It's necessary to write '\x00'==0 to get something
4360 that's true only with -std. */
4361 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4363 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4364 inside strings and character constants. */
4365 #define FOO(x) 'x'
4366 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4368 int test (int i, double x);
4369 struct s1 {int (*f) (int a);};
4370 struct s2 {int (*f) (double a);};
4371 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4372 int argc;
4373 char **argv;
4375 main ()
4377 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4379 return 0;
4381 _ACEOF
4382 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4383 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4385 CC="$ac_save_CC $ac_arg"
4386 if ac_fn_c_try_compile "$LINENO"; then :
4387 ac_cv_prog_cc_c89=$ac_arg
4389 rm -f core conftest.err conftest.$ac_objext
4390 test "x$ac_cv_prog_cc_c89" != "xno" && break
4391 done
4392 rm -f conftest.$ac_ext
4393 CC=$ac_save_CC
4396 # AC_CACHE_VAL
4397 case "x$ac_cv_prog_cc_c89" in
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4400 $as_echo "none needed" >&6; } ;;
4401 xno)
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4403 $as_echo "unsupported" >&6; } ;;
4405 CC="$CC $ac_cv_prog_cc_c89"
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4407 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4408 esac
4409 if test "x$ac_cv_prog_cc_c89" != xno; then :
4413 ac_ext=c
4414 ac_cpp='$CPP $CPPFLAGS'
4415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4419 ac_ext=cpp
4420 ac_cpp='$CXXCPP $CPPFLAGS'
4421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4424 if test -z "$CXX"; then
4425 if test -n "$CCC"; then
4426 CXX=$CCC
4427 else
4428 if test -n "$ac_tool_prefix"; then
4429 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if test "${ac_cv_prog_CXX+set}" = set; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 if test -n "$CXX"; then
4439 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4448 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 break 2
4452 done
4453 done
4454 IFS=$as_save_IFS
4458 CXX=$ac_cv_prog_CXX
4459 if test -n "$CXX"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4461 $as_echo "$CXX" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4468 test -n "$CXX" && break
4469 done
4471 if test -z "$CXX"; then
4472 ac_ct_CXX=$CXX
4473 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4475 # Extract the first word of "$ac_prog", so it can be a program name with args.
4476 set dummy $ac_prog; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 if test -n "$ac_ct_CXX"; then
4483 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4484 else
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 for as_dir in $PATH
4488 IFS=$as_save_IFS
4489 test -z "$as_dir" && as_dir=.
4490 for ac_exec_ext in '' $ac_executable_extensions; do
4491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4492 ac_cv_prog_ac_ct_CXX="$ac_prog"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 break 2
4496 done
4497 done
4498 IFS=$as_save_IFS
4502 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4503 if test -n "$ac_ct_CXX"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4505 $as_echo "$ac_ct_CXX" >&6; }
4506 else
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4512 test -n "$ac_ct_CXX" && break
4513 done
4515 if test "x$ac_ct_CXX" = x; then
4516 CXX="g++"
4517 else
4518 case $cross_compiling:$ac_tool_warned in
4519 yes:)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4522 ac_tool_warned=yes ;;
4523 esac
4524 CXX=$ac_ct_CXX
4530 # Provide some information about the compiler.
4531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4532 set X $ac_compile
4533 ac_compiler=$2
4534 for ac_option in --version -v -V -qversion; do
4535 { { ac_try="$ac_compiler $ac_option >&5"
4536 case "(($ac_try" in
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4539 esac
4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4543 ac_status=$?
4544 if test -s conftest.err; then
4545 sed '10a\
4546 ... rest of stderr output deleted ...
4547 10q' conftest.err >conftest.er1
4548 cat conftest.er1 >&5
4549 rm -f conftest.er1 conftest.err
4551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4552 test $ac_status = 0; }
4553 done
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4556 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4557 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4559 else
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4566 #ifndef __GNUC__
4567 choke me
4568 #endif
4571 return 0;
4573 _ACEOF
4574 if ac_fn_cxx_try_compile "$LINENO"; then :
4575 ac_compiler_gnu=yes
4576 else
4577 ac_compiler_gnu=no
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4584 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4585 if test $ac_compiler_gnu = yes; then
4586 GXX=yes
4587 else
4588 GXX=
4590 ac_test_CXXFLAGS=${CXXFLAGS+set}
4591 ac_save_CXXFLAGS=$CXXFLAGS
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4593 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4594 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4595 $as_echo_n "(cached) " >&6
4596 else
4597 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4598 ac_cxx_werror_flag=yes
4599 ac_cv_prog_cxx_g=no
4600 CXXFLAGS="-g"
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4605 main ()
4609 return 0;
4611 _ACEOF
4612 if ac_fn_cxx_try_compile "$LINENO"; then :
4613 ac_cv_prog_cxx_g=yes
4614 else
4615 CXXFLAGS=""
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4620 main ()
4624 return 0;
4626 _ACEOF
4627 if ac_fn_cxx_try_compile "$LINENO"; then :
4629 else
4630 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4631 CXXFLAGS="-g"
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4636 main ()
4640 return 0;
4642 _ACEOF
4643 if ac_fn_cxx_try_compile "$LINENO"; then :
4644 ac_cv_prog_cxx_g=yes
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4654 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4655 if test "$ac_test_CXXFLAGS" = set; then
4656 CXXFLAGS=$ac_save_CXXFLAGS
4657 elif test $ac_cv_prog_cxx_g = yes; then
4658 if test "$GXX" = yes; then
4659 CXXFLAGS="-g -O2"
4660 else
4661 CXXFLAGS="-g"
4663 else
4664 if test "$GXX" = yes; then
4665 CXXFLAGS="-O2"
4666 else
4667 CXXFLAGS=
4670 ac_ext=c
4671 ac_cpp='$CPP $CPPFLAGS'
4672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4676 CXXFLAGS="$save_CXXFLAGS"
4678 # Runs configure.host, and assorted other critical bits. Sets
4679 # up critical shell variables.
4681 ac_ext=c
4682 ac_cpp='$CPP $CPPFLAGS'
4683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4687 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4688 # On Suns, sometimes $CPP names a directory.
4689 if test -n "$CPP" && test -d "$CPP"; then
4690 CPP=
4692 if test -z "$CPP"; then
4693 if test "${ac_cv_prog_CPP+set}" = set; then :
4694 $as_echo_n "(cached) " >&6
4695 else
4696 # Double quotes because CPP needs to be expanded
4697 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4699 ac_preproc_ok=false
4700 for ac_c_preproc_warn_flag in '' yes
4702 # Use a header file that comes with gcc, so configuring glibc
4703 # with a fresh cross-compiler works.
4704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4705 # <limits.h> exists even on freestanding compilers.
4706 # On the NeXT, cc -E runs the code through the compiler's parser,
4707 # not just through cpp. "Syntax error" is here to catch this case.
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4710 #ifdef __STDC__
4711 # include <limits.h>
4712 #else
4713 # include <assert.h>
4714 #endif
4715 Syntax error
4716 _ACEOF
4717 if ac_fn_c_try_cpp "$LINENO"; then :
4719 else
4720 # Broken: fails on valid input.
4721 continue
4723 rm -f conftest.err conftest.$ac_ext
4725 # OK, works on sane cases. Now check whether nonexistent headers
4726 # can be detected and how.
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4729 #include <ac_nonexistent.h>
4730 _ACEOF
4731 if ac_fn_c_try_cpp "$LINENO"; then :
4732 # Broken: success on invalid input.
4733 continue
4734 else
4735 # Passes both tests.
4736 ac_preproc_ok=:
4737 break
4739 rm -f conftest.err conftest.$ac_ext
4741 done
4742 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4743 rm -f conftest.err conftest.$ac_ext
4744 if $ac_preproc_ok; then :
4745 break
4748 done
4749 ac_cv_prog_CPP=$CPP
4752 CPP=$ac_cv_prog_CPP
4753 else
4754 ac_cv_prog_CPP=$CPP
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4757 $as_echo "$CPP" >&6; }
4758 ac_preproc_ok=false
4759 for ac_c_preproc_warn_flag in '' yes
4761 # Use a header file that comes with gcc, so configuring glibc
4762 # with a fresh cross-compiler works.
4763 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4764 # <limits.h> exists even on freestanding compilers.
4765 # On the NeXT, cc -E runs the code through the compiler's parser,
4766 # not just through cpp. "Syntax error" is here to catch this case.
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4769 #ifdef __STDC__
4770 # include <limits.h>
4771 #else
4772 # include <assert.h>
4773 #endif
4774 Syntax error
4775 _ACEOF
4776 if ac_fn_c_try_cpp "$LINENO"; then :
4778 else
4779 # Broken: fails on valid input.
4780 continue
4782 rm -f conftest.err conftest.$ac_ext
4784 # OK, works on sane cases. Now check whether nonexistent headers
4785 # can be detected and how.
4786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4788 #include <ac_nonexistent.h>
4789 _ACEOF
4790 if ac_fn_c_try_cpp "$LINENO"; then :
4791 # Broken: success on invalid input.
4792 continue
4793 else
4794 # Passes both tests.
4795 ac_preproc_ok=:
4796 break
4798 rm -f conftest.err conftest.$ac_ext
4800 done
4801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4802 rm -f conftest.err conftest.$ac_ext
4803 if $ac_preproc_ok; then :
4805 else
4806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4808 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4809 See \`config.log' for more details." "$LINENO" 5; }
4812 ac_ext=c
4813 ac_cpp='$CPP $CPPFLAGS'
4814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4820 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4821 if test "${ac_cv_path_GREP+set}" = set; then :
4822 $as_echo_n "(cached) " >&6
4823 else
4824 if test -z "$GREP"; then
4825 ac_path_GREP_found=false
4826 # Loop through the user's path and test for each of PROGNAME-LIST
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4830 IFS=$as_save_IFS
4831 test -z "$as_dir" && as_dir=.
4832 for ac_prog in grep ggrep; do
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4835 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4836 # Check for GNU ac_path_GREP and select it if it is found.
4837 # Check for GNU $ac_path_GREP
4838 case `"$ac_path_GREP" --version 2>&1` in
4839 *GNU*)
4840 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4842 ac_count=0
4843 $as_echo_n 0123456789 >"conftest.in"
4844 while :
4846 cat "conftest.in" "conftest.in" >"conftest.tmp"
4847 mv "conftest.tmp" "conftest.in"
4848 cp "conftest.in" "conftest.nl"
4849 $as_echo 'GREP' >> "conftest.nl"
4850 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4851 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4852 as_fn_arith $ac_count + 1 && ac_count=$as_val
4853 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4854 # Best one so far, save it but keep looking for a better one
4855 ac_cv_path_GREP="$ac_path_GREP"
4856 ac_path_GREP_max=$ac_count
4858 # 10*(2^10) chars as input seems more than enough
4859 test $ac_count -gt 10 && break
4860 done
4861 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4862 esac
4864 $ac_path_GREP_found && break 3
4865 done
4866 done
4867 done
4868 IFS=$as_save_IFS
4869 if test -z "$ac_cv_path_GREP"; then
4870 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4872 else
4873 ac_cv_path_GREP=$GREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4878 $as_echo "$ac_cv_path_GREP" >&6; }
4879 GREP="$ac_cv_path_GREP"
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4883 $as_echo_n "checking for egrep... " >&6; }
4884 if test "${ac_cv_path_EGREP+set}" = set; then :
4885 $as_echo_n "(cached) " >&6
4886 else
4887 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4888 then ac_cv_path_EGREP="$GREP -E"
4889 else
4890 if test -z "$EGREP"; then
4891 ac_path_EGREP_found=false
4892 # Loop through the user's path and test for each of PROGNAME-LIST
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_prog in egrep; do
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4901 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4902 # Check for GNU ac_path_EGREP and select it if it is found.
4903 # Check for GNU $ac_path_EGREP
4904 case `"$ac_path_EGREP" --version 2>&1` in
4905 *GNU*)
4906 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4908 ac_count=0
4909 $as_echo_n 0123456789 >"conftest.in"
4910 while :
4912 cat "conftest.in" "conftest.in" >"conftest.tmp"
4913 mv "conftest.tmp" "conftest.in"
4914 cp "conftest.in" "conftest.nl"
4915 $as_echo 'EGREP' >> "conftest.nl"
4916 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4917 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4918 as_fn_arith $ac_count + 1 && ac_count=$as_val
4919 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4920 # Best one so far, save it but keep looking for a better one
4921 ac_cv_path_EGREP="$ac_path_EGREP"
4922 ac_path_EGREP_max=$ac_count
4924 # 10*(2^10) chars as input seems more than enough
4925 test $ac_count -gt 10 && break
4926 done
4927 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4928 esac
4930 $ac_path_EGREP_found && break 3
4931 done
4932 done
4933 done
4934 IFS=$as_save_IFS
4935 if test -z "$ac_cv_path_EGREP"; then
4936 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4938 else
4939 ac_cv_path_EGREP=$EGREP
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4945 $as_echo "$ac_cv_path_EGREP" >&6; }
4946 EGREP="$ac_cv_path_EGREP"
4950 # Keep these sync'd with the list in Makefile.am. The first provides an
4951 # expandable list at autoconf time; the second provides an expandable list
4952 # (i.e., shell variable) at configure time.
4954 SUBDIRS='include libsupc++ src src/c++98 src/c++11 doc po testsuite python'
4956 # These need to be absolute paths, yet at the same time need to
4957 # canonicalize only relative paths, because then amd will not unmount
4958 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4959 glibcxx_builddir=`${PWDCMD-pwd}`
4960 case $srcdir in
4961 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4962 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4963 esac
4964 toplevel_builddir=${glibcxx_builddir}/..
4965 toplevel_srcdir=${glibcxx_srcdir}/..
4971 # We use these options to decide which functions to include. They are
4972 # set from the top level.
4974 # Check whether --with-target-subdir was given.
4975 if test "${with_target_subdir+set}" = set; then :
4976 withval=$with_target_subdir;
4981 # Check whether --with-cross-host was given.
4982 if test "${with_cross_host+set}" = set; then :
4983 withval=$with_cross_host;
4988 # Check whether --with-newlib was given.
4989 if test "${with_newlib+set}" = set; then :
4990 withval=$with_newlib;
4994 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4995 # available). Uncomment the next line to force a particular method.
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4997 $as_echo_n "checking whether ln -s works... " >&6; }
4998 LN_S=$as_ln_s
4999 if test "$LN_S" = "ln -s"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5001 $as_echo "yes" >&6; }
5002 else
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5004 $as_echo "no, using $LN_S" >&6; }
5007 #LN_S='cp -p'
5009 if test -n "$ac_tool_prefix"; then
5010 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5011 set dummy ${ac_tool_prefix}as; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if test "${ac_cv_prog_AS+set}" = set; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 if test -n "$AS"; then
5018 ac_cv_prog_AS="$AS" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5023 IFS=$as_save_IFS
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027 ac_cv_prog_AS="${ac_tool_prefix}as"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 break 2
5031 done
5032 done
5033 IFS=$as_save_IFS
5037 AS=$ac_cv_prog_AS
5038 if test -n "$AS"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5040 $as_echo "$AS" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5048 if test -z "$ac_cv_prog_AS"; then
5049 ac_ct_AS=$AS
5050 # Extract the first word of "as", so it can be a program name with args.
5051 set dummy as; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5055 $as_echo_n "(cached) " >&6
5056 else
5057 if test -n "$ac_ct_AS"; then
5058 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5063 IFS=$as_save_IFS
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_ac_ct_AS="as"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 break 2
5071 done
5072 done
5073 IFS=$as_save_IFS
5077 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5078 if test -n "$ac_ct_AS"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5080 $as_echo "$ac_ct_AS" >&6; }
5081 else
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5086 if test "x$ac_ct_AS" = x; then
5087 AS=""
5088 else
5089 case $cross_compiling:$ac_tool_warned in
5090 yes:)
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned=yes ;;
5094 esac
5095 AS=$ac_ct_AS
5097 else
5098 AS="$ac_cv_prog_AS"
5101 if test -n "$ac_tool_prefix"; then
5102 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5103 set dummy ${ac_tool_prefix}ar; ac_word=$2
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if test "${ac_cv_prog_AR+set}" = set; then :
5107 $as_echo_n "(cached) " >&6
5108 else
5109 if test -n "$AR"; then
5110 ac_cv_prog_AR="$AR" # Let the user override the test.
5111 else
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 for as_dir in $PATH
5115 IFS=$as_save_IFS
5116 test -z "$as_dir" && as_dir=.
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 ac_cv_prog_AR="${ac_tool_prefix}ar"
5120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121 break 2
5123 done
5124 done
5125 IFS=$as_save_IFS
5129 AR=$ac_cv_prog_AR
5130 if test -n "$AR"; then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5132 $as_echo "$AR" >&6; }
5133 else
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5140 if test -z "$ac_cv_prog_AR"; then
5141 ac_ct_AR=$AR
5142 # Extract the first word of "ar", so it can be a program name with args.
5143 set dummy ar; ac_word=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5147 $as_echo_n "(cached) " >&6
5148 else
5149 if test -n "$ac_ct_AR"; then
5150 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AR="ar"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5163 done
5164 done
5165 IFS=$as_save_IFS
5169 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5170 if test -n "$ac_ct_AR"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5172 $as_echo "$ac_ct_AR" >&6; }
5173 else
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5178 if test "x$ac_ct_AR" = x; then
5179 AR=""
5180 else
5181 case $cross_compiling:$ac_tool_warned in
5182 yes:)
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5185 ac_tool_warned=yes ;;
5186 esac
5187 AR=$ac_ct_AR
5189 else
5190 AR="$ac_cv_prog_AR"
5193 if test -n "$ac_tool_prefix"; then
5194 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5195 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5199 $as_echo_n "(cached) " >&6
5200 else
5201 if test -n "$RANLIB"; then
5202 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5207 IFS=$as_save_IFS
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5211 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 break 2
5215 done
5216 done
5217 IFS=$as_save_IFS
5221 RANLIB=$ac_cv_prog_RANLIB
5222 if test -n "$RANLIB"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5224 $as_echo "$RANLIB" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5232 if test -z "$ac_cv_prog_RANLIB"; then
5233 ac_ct_RANLIB=$RANLIB
5234 # Extract the first word of "ranlib", so it can be a program name with args.
5235 set dummy ranlib; ac_word=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5239 $as_echo_n "(cached) " >&6
5240 else
5241 if test -n "$ac_ct_RANLIB"; then
5242 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5243 else
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245 for as_dir in $PATH
5247 IFS=$as_save_IFS
5248 test -z "$as_dir" && as_dir=.
5249 for ac_exec_ext in '' $ac_executable_extensions; do
5250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5251 ac_cv_prog_ac_ct_RANLIB="ranlib"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 break 2
5255 done
5256 done
5257 IFS=$as_save_IFS
5261 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5262 if test -n "$ac_ct_RANLIB"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5264 $as_echo "$ac_ct_RANLIB" >&6; }
5265 else
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5270 if test "x$ac_ct_RANLIB" = x; then
5271 RANLIB="ranlib-not-found-in-path-error"
5272 else
5273 case $cross_compiling:$ac_tool_warned in
5274 yes:)
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5277 ac_tool_warned=yes ;;
5278 esac
5279 RANLIB=$ac_ct_RANLIB
5281 else
5282 RANLIB="$ac_cv_prog_RANLIB"
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5288 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5289 # Check whether --enable-maintainer-mode was given.
5290 if test "${enable_maintainer_mode+set}" = set; then :
5291 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5292 else
5293 USE_MAINTAINER_MODE=no
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5297 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5298 if test $USE_MAINTAINER_MODE = yes; then
5299 MAINTAINER_MODE_TRUE=
5300 MAINTAINER_MODE_FALSE='#'
5301 else
5302 MAINTAINER_MODE_TRUE='#'
5303 MAINTAINER_MODE_FALSE=
5306 MAINT=$MAINTAINER_MODE_TRUE
5310 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5311 # which are themselves conditionally expanded.
5312 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5313 ## other macros from doing the same. This should be automated.) -pme
5315 # Check for C library flavor since GNU/Linux platforms use different
5316 # configuration directories depending on the C library in use.
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5320 #include <stdio.h>
5321 #if __UCLIBC__
5322 _using_uclibc
5323 #endif
5325 _ACEOF
5326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5327 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5328 uclibc=yes
5329 else
5330 uclibc=no
5332 rm -f conftest*
5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5338 #include <stdio.h>
5339 #if __BIONIC__
5340 _using_bionic
5341 #endif
5343 _ACEOF
5344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5345 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5346 bionic=yes
5347 else
5348 bionic=no
5350 rm -f conftest*
5353 # Find platform-specific directories containing configuration info.
5354 # Also possibly modify flags used elsewhere, as needed by the platform.
5356 . $glibcxx_srcdir/configure.host
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5358 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5360 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5364 # Libtool setup.
5365 if test "x${with_newlib}" != "xyes"; then
5366 enable_dlopen=yes
5371 case `pwd` in
5372 *\ * | *\ *)
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5374 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5375 esac
5379 macro_version='2.2.7a'
5380 macro_revision='1.3134'
5394 ltmain="$ac_aux_dir/ltmain.sh"
5396 # Backslashify metacharacters that are still active within
5397 # double-quoted strings.
5398 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5400 # Same as above, but do not quote variable references.
5401 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5403 # Sed substitution to delay expansion of an escaped shell variable in a
5404 # double_quote_subst'ed string.
5405 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5407 # Sed substitution to delay expansion of an escaped single quote.
5408 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5410 # Sed substitution to avoid accidental globbing in evaled expressions
5411 no_glob_subst='s/\*/\\\*/g'
5413 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5414 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5418 $as_echo_n "checking how to print strings... " >&6; }
5419 # Test print first, because it will be a builtin if present.
5420 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5421 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5422 ECHO='print -r --'
5423 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5424 ECHO='printf %s\n'
5425 else
5426 # Use this function as a fallback that always works.
5427 func_fallback_echo ()
5429 eval 'cat <<_LTECHO_EOF
5431 _LTECHO_EOF'
5433 ECHO='func_fallback_echo'
5436 # func_echo_all arg...
5437 # Invoke $ECHO with all args, space-separated.
5438 func_echo_all ()
5440 $ECHO ""
5443 case "$ECHO" in
5444 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5445 $as_echo "printf" >&6; } ;;
5446 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5447 $as_echo "print -r" >&6; } ;;
5448 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5449 $as_echo "cat" >&6; } ;;
5450 esac
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5466 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5467 if test "${ac_cv_path_SED+set}" = set; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5471 for ac_i in 1 2 3 4 5 6 7; do
5472 ac_script="$ac_script$as_nl$ac_script"
5473 done
5474 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5475 { ac_script=; unset ac_script;}
5476 if test -z "$SED"; then
5477 ac_path_SED_found=false
5478 # Loop through the user's path and test for each of PROGNAME-LIST
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_prog in sed gsed; do
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5487 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5488 # Check for GNU ac_path_SED and select it if it is found.
5489 # Check for GNU $ac_path_SED
5490 case `"$ac_path_SED" --version 2>&1` in
5491 *GNU*)
5492 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5494 ac_count=0
5495 $as_echo_n 0123456789 >"conftest.in"
5496 while :
5498 cat "conftest.in" "conftest.in" >"conftest.tmp"
5499 mv "conftest.tmp" "conftest.in"
5500 cp "conftest.in" "conftest.nl"
5501 $as_echo '' >> "conftest.nl"
5502 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5504 as_fn_arith $ac_count + 1 && ac_count=$as_val
5505 if test $ac_count -gt ${ac_path_SED_max-0}; then
5506 # Best one so far, save it but keep looking for a better one
5507 ac_cv_path_SED="$ac_path_SED"
5508 ac_path_SED_max=$ac_count
5510 # 10*(2^10) chars as input seems more than enough
5511 test $ac_count -gt 10 && break
5512 done
5513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5514 esac
5516 $ac_path_SED_found && break 3
5517 done
5518 done
5519 done
5520 IFS=$as_save_IFS
5521 if test -z "$ac_cv_path_SED"; then
5522 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5524 else
5525 ac_cv_path_SED=$SED
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5530 $as_echo "$ac_cv_path_SED" >&6; }
5531 SED="$ac_cv_path_SED"
5532 rm -f conftest.sed
5534 test -z "$SED" && SED=sed
5535 Xsed="$SED -e 1s/^X//"
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5548 $as_echo_n "checking for fgrep... " >&6; }
5549 if test "${ac_cv_path_FGREP+set}" = set; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5553 then ac_cv_path_FGREP="$GREP -F"
5554 else
5555 if test -z "$FGREP"; then
5556 ac_path_FGREP_found=false
5557 # Loop through the user's path and test for each of PROGNAME-LIST
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_prog in fgrep; do
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5566 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5567 # Check for GNU ac_path_FGREP and select it if it is found.
5568 # Check for GNU $ac_path_FGREP
5569 case `"$ac_path_FGREP" --version 2>&1` in
5570 *GNU*)
5571 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5573 ac_count=0
5574 $as_echo_n 0123456789 >"conftest.in"
5575 while :
5577 cat "conftest.in" "conftest.in" >"conftest.tmp"
5578 mv "conftest.tmp" "conftest.in"
5579 cp "conftest.in" "conftest.nl"
5580 $as_echo 'FGREP' >> "conftest.nl"
5581 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5582 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5583 as_fn_arith $ac_count + 1 && ac_count=$as_val
5584 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5585 # Best one so far, save it but keep looking for a better one
5586 ac_cv_path_FGREP="$ac_path_FGREP"
5587 ac_path_FGREP_max=$ac_count
5589 # 10*(2^10) chars as input seems more than enough
5590 test $ac_count -gt 10 && break
5591 done
5592 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5593 esac
5595 $ac_path_FGREP_found && break 3
5596 done
5597 done
5598 done
5599 IFS=$as_save_IFS
5600 if test -z "$ac_cv_path_FGREP"; then
5601 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5603 else
5604 ac_cv_path_FGREP=$FGREP
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5610 $as_echo "$ac_cv_path_FGREP" >&6; }
5611 FGREP="$ac_cv_path_FGREP"
5614 test -z "$GREP" && GREP=grep
5634 # Check whether --with-gnu-ld was given.
5635 if test "${with_gnu_ld+set}" = set; then :
5636 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5637 else
5638 with_gnu_ld=no
5641 ac_prog=ld
5642 if test "$GCC" = yes; then
5643 # Check if gcc -print-prog-name=ld gives a path.
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5645 $as_echo_n "checking for ld used by $CC... " >&6; }
5646 case $host in
5647 *-*-mingw*)
5648 # gcc leaves a trailing carriage return which upsets mingw
5649 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5651 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5652 esac
5653 case $ac_prog in
5654 # Accept absolute paths.
5655 [\\/]* | ?:[\\/]*)
5656 re_direlt='/[^/][^/]*/\.\./'
5657 # Canonicalize the pathname of ld
5658 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5659 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5660 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5661 done
5662 test -z "$LD" && LD="$ac_prog"
5665 # If it fails, then pretend we aren't using GCC.
5666 ac_prog=ld
5669 # If it is relative, then search for the first ld in PATH.
5670 with_gnu_ld=unknown
5672 esac
5673 elif test "$with_gnu_ld" = yes; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5675 $as_echo_n "checking for GNU ld... " >&6; }
5676 else
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5678 $as_echo_n "checking for non-GNU ld... " >&6; }
5680 if test "${lt_cv_path_LD+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -z "$LD"; then
5684 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5685 for ac_dir in $PATH; do
5686 IFS="$lt_save_ifs"
5687 test -z "$ac_dir" && ac_dir=.
5688 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5689 lt_cv_path_LD="$ac_dir/$ac_prog"
5690 # Check to see if the program is GNU ld. I'd rather use --version,
5691 # but apparently some variants of GNU ld only accept -v.
5692 # Break only if it was the GNU/non-GNU ld that we prefer.
5693 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5694 *GNU* | *'with BFD'*)
5695 test "$with_gnu_ld" != no && break
5698 test "$with_gnu_ld" != yes && break
5700 esac
5702 done
5703 IFS="$lt_save_ifs"
5704 else
5705 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5709 LD="$lt_cv_path_LD"
5710 if test -n "$LD"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5712 $as_echo "$LD" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5717 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5719 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5720 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5724 case `$LD -v 2>&1 </dev/null` in
5725 *GNU* | *'with BFD'*)
5726 lt_cv_prog_gnu_ld=yes
5729 lt_cv_prog_gnu_ld=no
5731 esac
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5734 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5735 with_gnu_ld=$lt_cv_prog_gnu_ld
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5746 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5747 if test "${lt_cv_path_NM+set}" = set; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 if test -n "$NM"; then
5751 # Let the user override the test.
5752 lt_cv_path_NM="$NM"
5753 else
5754 lt_nm_to_check="${ac_tool_prefix}nm"
5755 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5756 lt_nm_to_check="$lt_nm_to_check nm"
5758 for lt_tmp_nm in $lt_nm_to_check; do
5759 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5760 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5761 IFS="$lt_save_ifs"
5762 test -z "$ac_dir" && ac_dir=.
5763 tmp_nm="$ac_dir/$lt_tmp_nm"
5764 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5765 # Check to see if the nm accepts a BSD-compat flag.
5766 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5767 # nm: unknown option "B" ignored
5768 # Tru64's nm complains that /dev/null is an invalid object file
5769 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5770 */dev/null* | *'Invalid file or object type'*)
5771 lt_cv_path_NM="$tmp_nm -B"
5772 break
5775 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5776 */dev/null*)
5777 lt_cv_path_NM="$tmp_nm -p"
5778 break
5781 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5782 continue # so that we can try to find one that supports BSD flags
5784 esac
5786 esac
5788 done
5789 IFS="$lt_save_ifs"
5790 done
5791 : ${lt_cv_path_NM=no}
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5795 $as_echo "$lt_cv_path_NM" >&6; }
5796 if test "$lt_cv_path_NM" != "no"; then
5797 NM="$lt_cv_path_NM"
5798 else
5799 # Didn't find any BSD compatible name lister, look for dumpbin.
5800 if test -n "$DUMPBIN"; then :
5801 # Let the user override the test.
5802 else
5803 if test -n "$ac_tool_prefix"; then
5804 for ac_prog in dumpbin "link -dump"
5806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$DUMPBIN"; then
5814 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 DUMPBIN=$ac_cv_prog_DUMPBIN
5834 if test -n "$DUMPBIN"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5836 $as_echo "$DUMPBIN" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5843 test -n "$DUMPBIN" && break
5844 done
5846 if test -z "$DUMPBIN"; then
5847 ac_ct_DUMPBIN=$DUMPBIN
5848 for ac_prog in dumpbin "link -dump"
5850 # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy $ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5855 $as_echo_n "(cached) " >&6
5856 else
5857 if test -n "$ac_ct_DUMPBIN"; then
5858 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5877 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5878 if test -n "$ac_ct_DUMPBIN"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5880 $as_echo "$ac_ct_DUMPBIN" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5887 test -n "$ac_ct_DUMPBIN" && break
5888 done
5890 if test "x$ac_ct_DUMPBIN" = x; then
5891 DUMPBIN=":"
5892 else
5893 case $cross_compiling:$ac_tool_warned in
5894 yes:)
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5897 ac_tool_warned=yes ;;
5898 esac
5899 DUMPBIN=$ac_ct_DUMPBIN
5903 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5904 *COFF*)
5905 DUMPBIN="$DUMPBIN -symbols"
5908 DUMPBIN=:
5910 esac
5913 if test "$DUMPBIN" != ":"; then
5914 NM="$DUMPBIN"
5917 test -z "$NM" && NM=nm
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5925 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5926 if test "${lt_cv_nm_interface+set}" = set; then :
5927 $as_echo_n "(cached) " >&6
5928 else
5929 lt_cv_nm_interface="BSD nm"
5930 echo "int some_variable = 0;" > conftest.$ac_ext
5931 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5932 (eval "$ac_compile" 2>conftest.err)
5933 cat conftest.err >&5
5934 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5935 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5936 cat conftest.err >&5
5937 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5938 cat conftest.out >&5
5939 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5940 lt_cv_nm_interface="MS dumpbin"
5942 rm -f conftest*
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5945 $as_echo "$lt_cv_nm_interface" >&6; }
5947 # find the maximum length of command line arguments
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5949 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5950 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5954 teststring="ABCD"
5956 case $build_os in
5957 msdosdjgpp*)
5958 # On DJGPP, this test can blow up pretty badly due to problems in libc
5959 # (any single argument exceeding 2000 bytes causes a buffer overrun
5960 # during glob expansion). Even if it were fixed, the result of this
5961 # check would be larger than it should be.
5962 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5965 gnu*)
5966 # Under GNU Hurd, this test is not required because there is
5967 # no limit to the length of command line arguments.
5968 # Libtool will interpret -1 as no limit whatsoever
5969 lt_cv_sys_max_cmd_len=-1;
5972 cygwin* | mingw* | cegcc*)
5973 # On Win9x/ME, this test blows up -- it succeeds, but takes
5974 # about 5 minutes as the teststring grows exponentially.
5975 # Worse, since 9x/ME are not pre-emptively multitasking,
5976 # you end up with a "frozen" computer, even though with patience
5977 # the test eventually succeeds (with a max line length of 256k).
5978 # Instead, let's just punt: use the minimum linelength reported by
5979 # all of the supported platforms: 8192 (on NT/2K/XP).
5980 lt_cv_sys_max_cmd_len=8192;
5983 mint*)
5984 # On MiNT this can take a long time and run out of memory.
5985 lt_cv_sys_max_cmd_len=8192;
5988 amigaos*)
5989 # On AmigaOS with pdksh, this test takes hours, literally.
5990 # So we just punt and use a minimum line length of 8192.
5991 lt_cv_sys_max_cmd_len=8192;
5994 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5995 # This has been around since 386BSD, at least. Likely further.
5996 if test -x /sbin/sysctl; then
5997 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5998 elif test -x /usr/sbin/sysctl; then
5999 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6000 else
6001 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6003 # And add a safety zone
6004 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6008 interix*)
6009 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6010 lt_cv_sys_max_cmd_len=196608
6013 osf*)
6014 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6015 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6016 # nice to cause kernel panics so lets avoid the loop below.
6017 # First set a reasonable default.
6018 lt_cv_sys_max_cmd_len=16384
6020 if test -x /sbin/sysconfig; then
6021 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6022 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6023 esac
6026 sco3.2v5*)
6027 lt_cv_sys_max_cmd_len=102400
6029 sysv5* | sco5v6* | sysv4.2uw2*)
6030 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6031 if test -n "$kargmax"; then
6032 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6033 else
6034 lt_cv_sys_max_cmd_len=32768
6038 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6039 if test -n "$lt_cv_sys_max_cmd_len"; then
6040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6042 else
6043 # Make teststring a little bigger before we do anything with it.
6044 # a 1K string should be a reasonable start.
6045 for i in 1 2 3 4 5 6 7 8 ; do
6046 teststring=$teststring$teststring
6047 done
6048 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6049 # If test is not a shell built-in, we'll probably end up computing a
6050 # maximum length that is only half of the actual maximum length, but
6051 # we can't tell.
6052 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6053 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6054 test $i != 17 # 1/2 MB should be enough
6056 i=`expr $i + 1`
6057 teststring=$teststring$teststring
6058 done
6059 # Only check the string length outside the loop.
6060 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6061 teststring=
6062 # Add a significant safety factor because C++ compilers can tack on
6063 # massive amounts of additional arguments before passing them to the
6064 # linker. It appears as though 1/2 is a usable value.
6065 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6068 esac
6072 if test -n $lt_cv_sys_max_cmd_len ; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6074 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6075 else
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6077 $as_echo "none" >&6; }
6079 max_cmd_len=$lt_cv_sys_max_cmd_len
6086 : ${CP="cp -f"}
6087 : ${MV="mv -f"}
6088 : ${RM="rm -f"}
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6091 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6092 # Try some XSI features
6093 xsi_shell=no
6094 ( _lt_dummy="a/b/c"
6095 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6096 = c,a/b,, \
6097 && eval 'test $(( 1 + 1 )) -eq 2 \
6098 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6099 && xsi_shell=yes
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6101 $as_echo "$xsi_shell" >&6; }
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6105 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6106 lt_shell_append=no
6107 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6108 >/dev/null 2>&1 \
6109 && lt_shell_append=yes
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6111 $as_echo "$lt_shell_append" >&6; }
6114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6115 lt_unset=unset
6116 else
6117 lt_unset=false
6124 # test EBCDIC or ASCII
6125 case `echo X|tr X '\101'` in
6126 A) # ASCII based system
6127 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6128 lt_SP2NL='tr \040 \012'
6129 lt_NL2SP='tr \015\012 \040\040'
6131 *) # EBCDIC based system
6132 lt_SP2NL='tr \100 \n'
6133 lt_NL2SP='tr \r\n \100\100'
6135 esac
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6146 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6147 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6148 $as_echo_n "(cached) " >&6
6149 else
6150 lt_cv_ld_reload_flag='-r'
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6153 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6154 reload_flag=$lt_cv_ld_reload_flag
6155 case $reload_flag in
6156 "" | " "*) ;;
6157 *) reload_flag=" $reload_flag" ;;
6158 esac
6159 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6160 case $host_os in
6161 darwin*)
6162 if test "$GCC" = yes; then
6163 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6164 else
6165 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6168 esac
6178 if test -n "$ac_tool_prefix"; then
6179 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6180 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182 $as_echo_n "checking for $ac_word... " >&6; }
6183 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6186 if test -n "$OBJDUMP"; then
6187 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6188 else
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 for as_dir in $PATH
6192 IFS=$as_save_IFS
6193 test -z "$as_dir" && as_dir=.
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6196 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198 break 2
6200 done
6201 done
6202 IFS=$as_save_IFS
6206 OBJDUMP=$ac_cv_prog_OBJDUMP
6207 if test -n "$OBJDUMP"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6209 $as_echo "$OBJDUMP" >&6; }
6210 else
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6217 if test -z "$ac_cv_prog_OBJDUMP"; then
6218 ac_ct_OBJDUMP=$OBJDUMP
6219 # Extract the first word of "objdump", so it can be a program name with args.
6220 set dummy objdump; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6224 $as_echo_n "(cached) " >&6
6225 else
6226 if test -n "$ac_ct_OBJDUMP"; then
6227 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6228 else
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 for as_dir in $PATH
6232 IFS=$as_save_IFS
6233 test -z "$as_dir" && as_dir=.
6234 for ac_exec_ext in '' $ac_executable_extensions; do
6235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6236 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6238 break 2
6240 done
6241 done
6242 IFS=$as_save_IFS
6246 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6247 if test -n "$ac_ct_OBJDUMP"; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6249 $as_echo "$ac_ct_OBJDUMP" >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252 $as_echo "no" >&6; }
6255 if test "x$ac_ct_OBJDUMP" = x; then
6256 OBJDUMP="false"
6257 else
6258 case $cross_compiling:$ac_tool_warned in
6259 yes:)
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6262 ac_tool_warned=yes ;;
6263 esac
6264 OBJDUMP=$ac_ct_OBJDUMP
6266 else
6267 OBJDUMP="$ac_cv_prog_OBJDUMP"
6270 test -z "$OBJDUMP" && OBJDUMP=objdump
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6281 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6282 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 lt_cv_file_magic_cmd='$MAGIC_CMD'
6286 lt_cv_file_magic_test_file=
6287 lt_cv_deplibs_check_method='unknown'
6288 # Need to set the preceding variable on all platforms that support
6289 # interlibrary dependencies.
6290 # 'none' -- dependencies not supported.
6291 # `unknown' -- same as none, but documents that we really don't know.
6292 # 'pass_all' -- all dependencies passed with no checks.
6293 # 'test_compile' -- check by making test program.
6294 # 'file_magic [[regex]]' -- check by looking for files in library path
6295 # which responds to the $file_magic_cmd with a given extended regex.
6296 # If you have `file' or equivalent on your system and you're not sure
6297 # whether `pass_all' will *always* work, you probably want this one.
6299 case $host_os in
6300 aix[4-9]*)
6301 lt_cv_deplibs_check_method=pass_all
6304 beos*)
6305 lt_cv_deplibs_check_method=pass_all
6308 bsdi[45]*)
6309 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6310 lt_cv_file_magic_cmd='/usr/bin/file -L'
6311 lt_cv_file_magic_test_file=/shlib/libc.so
6314 cygwin*)
6315 # func_win32_libid is a shell function defined in ltmain.sh
6316 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6317 lt_cv_file_magic_cmd='func_win32_libid'
6320 mingw* | pw32*)
6321 # Base MSYS/MinGW do not provide the 'file' command needed by
6322 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6323 # unless we find 'file', for example because we are cross-compiling.
6324 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6325 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6326 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6327 lt_cv_file_magic_cmd='func_win32_libid'
6328 else
6329 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6330 lt_cv_file_magic_cmd='$OBJDUMP -f'
6334 cegcc*)
6335 # use the weaker test based on 'objdump'. See mingw*.
6336 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6337 lt_cv_file_magic_cmd='$OBJDUMP -f'
6340 darwin* | rhapsody*)
6341 lt_cv_deplibs_check_method=pass_all
6344 freebsd* | dragonfly*)
6345 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6346 case $host_cpu in
6347 i*86 )
6348 # Not sure whether the presence of OpenBSD here was a mistake.
6349 # Let's accept both of them until this is cleared up.
6350 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6351 lt_cv_file_magic_cmd=/usr/bin/file
6352 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6354 esac
6355 else
6356 lt_cv_deplibs_check_method=pass_all
6360 gnu*)
6361 lt_cv_deplibs_check_method=pass_all
6364 haiku*)
6365 lt_cv_deplibs_check_method=pass_all
6368 hpux10.20* | hpux11*)
6369 lt_cv_file_magic_cmd=/usr/bin/file
6370 case $host_cpu in
6371 ia64*)
6372 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6373 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6375 hppa*64*)
6376 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]'
6377 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6380 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6381 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6383 esac
6386 interix[3-9]*)
6387 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6388 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6391 irix5* | irix6* | nonstopux*)
6392 case $LD in
6393 *-32|*"-32 ") libmagic=32-bit;;
6394 *-n32|*"-n32 ") libmagic=N32;;
6395 *-64|*"-64 ") libmagic=64-bit;;
6396 *) libmagic=never-match;;
6397 esac
6398 lt_cv_deplibs_check_method=pass_all
6401 # This must be Linux ELF.
6402 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6403 lt_cv_deplibs_check_method=pass_all
6406 netbsd*)
6407 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6408 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6409 else
6410 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6414 newos6*)
6415 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6416 lt_cv_file_magic_cmd=/usr/bin/file
6417 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6420 *nto* | *qnx*)
6421 lt_cv_deplibs_check_method=pass_all
6424 openbsd*)
6425 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6426 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6427 else
6428 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6432 osf3* | osf4* | osf5*)
6433 lt_cv_deplibs_check_method=pass_all
6436 rdos*)
6437 lt_cv_deplibs_check_method=pass_all
6440 solaris*)
6441 lt_cv_deplibs_check_method=pass_all
6444 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6445 lt_cv_deplibs_check_method=pass_all
6448 sysv4 | sysv4.3*)
6449 case $host_vendor in
6450 motorola)
6451 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]'
6452 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6454 ncr)
6455 lt_cv_deplibs_check_method=pass_all
6457 sequent)
6458 lt_cv_file_magic_cmd='/bin/file'
6459 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6461 sni)
6462 lt_cv_file_magic_cmd='/bin/file'
6463 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6464 lt_cv_file_magic_test_file=/lib/libc.so
6466 siemens)
6467 lt_cv_deplibs_check_method=pass_all
6470 lt_cv_deplibs_check_method=pass_all
6472 esac
6475 tpf*)
6476 lt_cv_deplibs_check_method=pass_all
6478 esac
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6482 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6483 file_magic_cmd=$lt_cv_file_magic_cmd
6484 deplibs_check_method=$lt_cv_deplibs_check_method
6485 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6498 if test -n "$ac_tool_prefix"; then
6499 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6500 set dummy ${ac_tool_prefix}ar; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if test "${ac_cv_prog_AR+set}" = set; then :
6504 $as_echo_n "(cached) " >&6
6505 else
6506 if test -n "$AR"; then
6507 ac_cv_prog_AR="$AR" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6512 IFS=$as_save_IFS
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516 ac_cv_prog_AR="${ac_tool_prefix}ar"
6517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518 break 2
6520 done
6521 done
6522 IFS=$as_save_IFS
6526 AR=$ac_cv_prog_AR
6527 if test -n "$AR"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6529 $as_echo "$AR" >&6; }
6530 else
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6537 if test -z "$ac_cv_prog_AR"; then
6538 ac_ct_AR=$AR
6539 # Extract the first word of "ar", so it can be a program name with args.
6540 set dummy ar; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 $as_echo_n "checking for $ac_word... " >&6; }
6543 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6544 $as_echo_n "(cached) " >&6
6545 else
6546 if test -n "$ac_ct_AR"; then
6547 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6548 else
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6550 for as_dir in $PATH
6552 IFS=$as_save_IFS
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6556 ac_cv_prog_ac_ct_AR="ar"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558 break 2
6560 done
6561 done
6562 IFS=$as_save_IFS
6566 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6567 if test -n "$ac_ct_AR"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6569 $as_echo "$ac_ct_AR" >&6; }
6570 else
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 $as_echo "no" >&6; }
6575 if test "x$ac_ct_AR" = x; then
6576 AR="false"
6577 else
6578 case $cross_compiling:$ac_tool_warned in
6579 yes:)
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6582 ac_tool_warned=yes ;;
6583 esac
6584 AR=$ac_ct_AR
6586 else
6587 AR="$ac_cv_prog_AR"
6590 test -z "$AR" && AR=ar
6591 test -z "$AR_FLAGS" && AR_FLAGS=cru
6603 if test -n "$ac_tool_prefix"; then
6604 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6605 set dummy ${ac_tool_prefix}strip; ac_word=$2
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 $as_echo_n "checking for $ac_word... " >&6; }
6608 if test "${ac_cv_prog_STRIP+set}" = set; then :
6609 $as_echo_n "(cached) " >&6
6610 else
6611 if test -n "$STRIP"; then
6612 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6613 else
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 for as_dir in $PATH
6617 IFS=$as_save_IFS
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6621 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6623 break 2
6625 done
6626 done
6627 IFS=$as_save_IFS
6631 STRIP=$ac_cv_prog_STRIP
6632 if test -n "$STRIP"; then
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6634 $as_echo "$STRIP" >&6; }
6635 else
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 $as_echo "no" >&6; }
6642 if test -z "$ac_cv_prog_STRIP"; then
6643 ac_ct_STRIP=$STRIP
6644 # Extract the first word of "strip", so it can be a program name with args.
6645 set dummy strip; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6649 $as_echo_n "(cached) " >&6
6650 else
6651 if test -n "$ac_ct_STRIP"; then
6652 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6653 else
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 for as_dir in $PATH
6657 IFS=$as_save_IFS
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661 ac_cv_prog_ac_ct_STRIP="strip"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663 break 2
6665 done
6666 done
6667 IFS=$as_save_IFS
6671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6672 if test -n "$ac_ct_STRIP"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6674 $as_echo "$ac_ct_STRIP" >&6; }
6675 else
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6680 if test "x$ac_ct_STRIP" = x; then
6681 STRIP=":"
6682 else
6683 case $cross_compiling:$ac_tool_warned in
6684 yes:)
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6687 ac_tool_warned=yes ;;
6688 esac
6689 STRIP=$ac_ct_STRIP
6691 else
6692 STRIP="$ac_cv_prog_STRIP"
6695 test -z "$STRIP" && STRIP=:
6702 if test -n "$ac_tool_prefix"; then
6703 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6704 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706 $as_echo_n "checking for $ac_word... " >&6; }
6707 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6708 $as_echo_n "(cached) " >&6
6709 else
6710 if test -n "$RANLIB"; then
6711 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6712 else
6713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714 for as_dir in $PATH
6716 IFS=$as_save_IFS
6717 test -z "$as_dir" && as_dir=.
6718 for ac_exec_ext in '' $ac_executable_extensions; do
6719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722 break 2
6724 done
6725 done
6726 IFS=$as_save_IFS
6730 RANLIB=$ac_cv_prog_RANLIB
6731 if test -n "$RANLIB"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6733 $as_echo "$RANLIB" >&6; }
6734 else
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736 $as_echo "no" >&6; }
6741 if test -z "$ac_cv_prog_RANLIB"; then
6742 ac_ct_RANLIB=$RANLIB
6743 # Extract the first word of "ranlib", so it can be a program name with args.
6744 set dummy ranlib; ac_word=$2
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6746 $as_echo_n "checking for $ac_word... " >&6; }
6747 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6748 $as_echo_n "(cached) " >&6
6749 else
6750 if test -n "$ac_ct_RANLIB"; then
6751 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6752 else
6753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6754 for as_dir in $PATH
6756 IFS=$as_save_IFS
6757 test -z "$as_dir" && as_dir=.
6758 for ac_exec_ext in '' $ac_executable_extensions; do
6759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6760 ac_cv_prog_ac_ct_RANLIB="ranlib"
6761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 break 2
6764 done
6765 done
6766 IFS=$as_save_IFS
6770 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6771 if test -n "$ac_ct_RANLIB"; then
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6773 $as_echo "$ac_ct_RANLIB" >&6; }
6774 else
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6776 $as_echo "no" >&6; }
6779 if test "x$ac_ct_RANLIB" = x; then
6780 RANLIB=":"
6781 else
6782 case $cross_compiling:$ac_tool_warned in
6783 yes:)
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6786 ac_tool_warned=yes ;;
6787 esac
6788 RANLIB=$ac_ct_RANLIB
6790 else
6791 RANLIB="$ac_cv_prog_RANLIB"
6794 test -z "$RANLIB" && RANLIB=:
6801 # Determine commands to create old-style static archives.
6802 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6803 old_postinstall_cmds='chmod 644 $oldlib'
6804 old_postuninstall_cmds=
6806 if test -n "$RANLIB"; then
6807 case $host_os in
6808 openbsd*)
6809 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6812 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6814 esac
6815 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6818 case $host_os in
6819 darwin*)
6820 lock_old_archive_extraction=yes ;;
6822 lock_old_archive_extraction=no ;;
6823 esac
6863 # If no C compiler was specified, use CC.
6864 LTCC=${LTCC-"$CC"}
6866 # If no C compiler flags were specified, use CFLAGS.
6867 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6869 # Allow CC to be a program name with arguments.
6870 compiler=$CC
6873 # Check for command to grab the raw symbol name followed by C symbol from nm.
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6875 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6876 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6877 $as_echo_n "(cached) " >&6
6878 else
6880 # These are sane defaults that work on at least a few old systems.
6881 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6883 # Character class describing NM global symbol codes.
6884 symcode='[BCDEGRST]'
6886 # Regexp to match symbols that can be accessed directly from C.
6887 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6889 # Define system-specific variables.
6890 case $host_os in
6891 aix*)
6892 symcode='[BCDT]'
6894 cygwin* | mingw* | pw32* | cegcc*)
6895 symcode='[ABCDGISTW]'
6897 hpux*)
6898 if test "$host_cpu" = ia64; then
6899 symcode='[ABCDEGRST]'
6902 irix* | nonstopux*)
6903 symcode='[BCDEGRST]'
6905 osf*)
6906 symcode='[BCDEGQRST]'
6908 solaris*)
6909 symcode='[BDRT]'
6911 sco3.2v5*)
6912 symcode='[DT]'
6914 sysv4.2uw2*)
6915 symcode='[DT]'
6917 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6918 symcode='[ABDT]'
6920 sysv4)
6921 symcode='[DFNSTU]'
6923 esac
6925 # If we're using GNU nm, then use its standard symbol codes.
6926 case `$NM -V 2>&1` in
6927 *GNU* | *'with BFD'*)
6928 symcode='[ABCDGIRSTW]' ;;
6929 esac
6931 # Transform an extracted symbol line into a proper C declaration.
6932 # Some systems (esp. on ia64) link data and code symbols differently,
6933 # so use this general approach.
6934 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6936 # Transform an extracted symbol line into symbol name and symbol address
6937 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6938 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'"
6940 # Handle CRLF in mingw tool chain
6941 opt_cr=
6942 case $build_os in
6943 mingw*)
6944 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6946 esac
6948 # Try without a prefix underscore, then with it.
6949 for ac_symprfx in "" "_"; do
6951 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6952 symxfrm="\\1 $ac_symprfx\\2 \\2"
6954 # Write the raw and C identifiers.
6955 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6956 # Fake it for dumpbin and say T for any non-static function
6957 # and D for any global variable.
6958 # Also find C++ and __fastcall symbols from MSVC++,
6959 # which start with @ or ?.
6960 lt_cv_sys_global_symbol_pipe="$AWK '"\
6961 " {last_section=section; section=\$ 3};"\
6962 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6963 " \$ 0!~/External *\|/{next};"\
6964 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6965 " {if(hide[section]) next};"\
6966 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6967 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6968 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6969 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6970 " ' prfx=^$ac_symprfx"
6971 else
6972 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6975 # Check to see that the pipe works correctly.
6976 pipe_works=no
6978 rm -f conftest*
6979 cat > conftest.$ac_ext <<_LT_EOF
6980 #ifdef __cplusplus
6981 extern "C" {
6982 #endif
6983 char nm_test_var;
6984 void nm_test_func(void);
6985 void nm_test_func(void){}
6986 #ifdef __cplusplus
6988 #endif
6989 int main(){nm_test_var='a';nm_test_func();return(0);}
6990 _LT_EOF
6992 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6993 (eval $ac_compile) 2>&5
6994 ac_status=$?
6995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6996 test $ac_status = 0; }; then
6997 # Now try to grab the symbols.
6998 nlist=conftest.nm
6999 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7000 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7001 ac_status=$?
7002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7003 test $ac_status = 0; } && test -s "$nlist"; then
7004 # Try sorting and uniquifying the output.
7005 if sort "$nlist" | uniq > "$nlist"T; then
7006 mv -f "$nlist"T "$nlist"
7007 else
7008 rm -f "$nlist"T
7011 # Make sure that we snagged all the symbols we need.
7012 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7013 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7014 cat <<_LT_EOF > conftest.$ac_ext
7015 #ifdef __cplusplus
7016 extern "C" {
7017 #endif
7019 _LT_EOF
7020 # Now generate the symbol file.
7021 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7023 cat <<_LT_EOF >> conftest.$ac_ext
7025 /* The mapping between symbol names and symbols. */
7026 const struct {
7027 const char *name;
7028 void *address;
7030 lt__PROGRAM__LTX_preloaded_symbols[] =
7032 { "@PROGRAM@", (void *) 0 },
7033 _LT_EOF
7034 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7035 cat <<\_LT_EOF >> conftest.$ac_ext
7036 {0, (void *) 0}
7039 /* This works around a problem in FreeBSD linker */
7040 #ifdef FREEBSD_WORKAROUND
7041 static const void *lt_preloaded_setup() {
7042 return lt__PROGRAM__LTX_preloaded_symbols;
7044 #endif
7046 #ifdef __cplusplus
7048 #endif
7049 _LT_EOF
7050 # Now try linking the two files.
7051 mv conftest.$ac_objext conftstm.$ac_objext
7052 lt_save_LIBS="$LIBS"
7053 lt_save_CFLAGS="$CFLAGS"
7054 LIBS="conftstm.$ac_objext"
7055 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7057 (eval $ac_link) 2>&5
7058 ac_status=$?
7059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7060 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7061 pipe_works=yes
7063 LIBS="$lt_save_LIBS"
7064 CFLAGS="$lt_save_CFLAGS"
7065 else
7066 echo "cannot find nm_test_func in $nlist" >&5
7068 else
7069 echo "cannot find nm_test_var in $nlist" >&5
7071 else
7072 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7074 else
7075 echo "$progname: failed program was:" >&5
7076 cat conftest.$ac_ext >&5
7078 rm -rf conftest* conftst*
7080 # Do not use the global_symbol_pipe unless it works.
7081 if test "$pipe_works" = yes; then
7082 break
7083 else
7084 lt_cv_sys_global_symbol_pipe=
7086 done
7090 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7091 lt_cv_sys_global_symbol_to_cdecl=
7093 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7095 $as_echo "failed" >&6; }
7096 else
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7098 $as_echo "ok" >&6; }
7122 # Check whether --enable-libtool-lock was given.
7123 if test "${enable_libtool_lock+set}" = set; then :
7124 enableval=$enable_libtool_lock;
7127 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7129 # Some flags need to be propagated to the compiler or linker for good
7130 # libtool support.
7131 case $host in
7132 ia64-*-hpux*)
7133 # Find out which ABI we are using.
7134 echo 'int i;' > conftest.$ac_ext
7135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7136 (eval $ac_compile) 2>&5
7137 ac_status=$?
7138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7139 test $ac_status = 0; }; then
7140 case `/usr/bin/file conftest.$ac_objext` in
7141 *ELF-32*)
7142 HPUX_IA64_MODE="32"
7144 *ELF-64*)
7145 HPUX_IA64_MODE="64"
7147 esac
7149 rm -rf conftest*
7151 *-*-irix6*)
7152 # Find out which ABI we are using.
7153 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7155 (eval $ac_compile) 2>&5
7156 ac_status=$?
7157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7158 test $ac_status = 0; }; then
7159 if test "$lt_cv_prog_gnu_ld" = yes; then
7160 case `/usr/bin/file conftest.$ac_objext` in
7161 *32-bit*)
7162 LD="${LD-ld} -melf32bsmip"
7164 *N32*)
7165 LD="${LD-ld} -melf32bmipn32"
7167 *64-bit*)
7168 LD="${LD-ld} -melf64bmip"
7170 esac
7171 else
7172 case `/usr/bin/file conftest.$ac_objext` in
7173 *32-bit*)
7174 LD="${LD-ld} -32"
7176 *N32*)
7177 LD="${LD-ld} -n32"
7179 *64-bit*)
7180 LD="${LD-ld} -64"
7182 esac
7185 rm -rf conftest*
7188 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7189 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7190 # Find out which ABI we are using.
7191 echo 'int i;' > conftest.$ac_ext
7192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7193 (eval $ac_compile) 2>&5
7194 ac_status=$?
7195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7196 test $ac_status = 0; }; then
7197 case `/usr/bin/file conftest.o` in
7198 *32-bit*)
7199 case $host in
7200 x86_64-*kfreebsd*-gnu)
7201 LD="${LD-ld} -m elf_i386_fbsd"
7203 x86_64-*linux*)
7204 case `/usr/bin/file conftest.o` in
7205 *x86-64*)
7206 LD="${LD-ld} -m elf32_x86_64"
7209 LD="${LD-ld} -m elf_i386"
7211 esac
7213 powerpc64le-*linux*)
7214 LD="${LD-ld} -m elf32lppclinux"
7216 powerpc64-*linux*)
7217 LD="${LD-ld} -m elf32ppclinux"
7219 s390x-*linux*)
7220 LD="${LD-ld} -m elf_s390"
7222 sparc64-*linux*)
7223 LD="${LD-ld} -m elf32_sparc"
7225 esac
7227 *64-bit*)
7228 case $host in
7229 x86_64-*kfreebsd*-gnu)
7230 LD="${LD-ld} -m elf_x86_64_fbsd"
7232 x86_64-*linux*)
7233 LD="${LD-ld} -m elf_x86_64"
7235 powerpcle-*linux*)
7236 LD="${LD-ld} -m elf64lppc"
7238 powerpc-*linux*)
7239 LD="${LD-ld} -m elf64ppc"
7241 s390*-*linux*|s390*-*tpf*)
7242 LD="${LD-ld} -m elf64_s390"
7244 sparc*-*linux*)
7245 LD="${LD-ld} -m elf64_sparc"
7247 esac
7249 esac
7251 rm -rf conftest*
7254 *-*-sco3.2v5*)
7255 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7256 SAVE_CFLAGS="$CFLAGS"
7257 CFLAGS="$CFLAGS -belf"
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7259 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7260 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7261 $as_echo_n "(cached) " >&6
7262 else
7263 ac_ext=c
7264 ac_cpp='$CPP $CPPFLAGS'
7265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7269 if test x$gcc_no_link = xyes; then
7270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7273 /* end confdefs.h. */
7276 main ()
7280 return 0;
7282 _ACEOF
7283 if ac_fn_c_try_link "$LINENO"; then :
7284 lt_cv_cc_needs_belf=yes
7285 else
7286 lt_cv_cc_needs_belf=no
7288 rm -f core conftest.err conftest.$ac_objext \
7289 conftest$ac_exeext conftest.$ac_ext
7290 ac_ext=c
7291 ac_cpp='$CPP $CPPFLAGS'
7292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7298 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7299 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7300 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7301 CFLAGS="$SAVE_CFLAGS"
7304 sparc*-*solaris*)
7305 # Find out which ABI we are using.
7306 echo 'int i;' > conftest.$ac_ext
7307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7308 (eval $ac_compile) 2>&5
7309 ac_status=$?
7310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7311 test $ac_status = 0; }; then
7312 case `/usr/bin/file conftest.o` in
7313 *64-bit*)
7314 case $lt_cv_prog_gnu_ld in
7315 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7317 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7318 LD="${LD-ld} -64"
7321 esac
7323 esac
7325 rm -rf conftest*
7327 esac
7329 need_locks="$enable_libtool_lock"
7332 case $host_os in
7333 rhapsody* | darwin*)
7334 if test -n "$ac_tool_prefix"; then
7335 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7336 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7340 $as_echo_n "(cached) " >&6
7341 else
7342 if test -n "$DSYMUTIL"; then
7343 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7348 IFS=$as_save_IFS
7349 test -z "$as_dir" && as_dir=.
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 break 2
7356 done
7357 done
7358 IFS=$as_save_IFS
7362 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7363 if test -n "$DSYMUTIL"; then
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7365 $as_echo "$DSYMUTIL" >&6; }
7366 else
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7373 if test -z "$ac_cv_prog_DSYMUTIL"; then
7374 ac_ct_DSYMUTIL=$DSYMUTIL
7375 # Extract the first word of "dsymutil", so it can be a program name with args.
7376 set dummy dsymutil; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7380 $as_echo_n "(cached) " >&6
7381 else
7382 if test -n "$ac_ct_DSYMUTIL"; then
7383 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7388 IFS=$as_save_IFS
7389 test -z "$as_dir" && as_dir=.
7390 for ac_exec_ext in '' $ac_executable_extensions; do
7391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7392 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 break 2
7396 done
7397 done
7398 IFS=$as_save_IFS
7402 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7403 if test -n "$ac_ct_DSYMUTIL"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7405 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7406 else
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7411 if test "x$ac_ct_DSYMUTIL" = x; then
7412 DSYMUTIL=":"
7413 else
7414 case $cross_compiling:$ac_tool_warned in
7415 yes:)
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned=yes ;;
7419 esac
7420 DSYMUTIL=$ac_ct_DSYMUTIL
7422 else
7423 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7426 if test -n "$ac_tool_prefix"; then
7427 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7428 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7432 $as_echo_n "(cached) " >&6
7433 else
7434 if test -n "$NMEDIT"; then
7435 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7440 IFS=$as_save_IFS
7441 test -z "$as_dir" && as_dir=.
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 break 2
7448 done
7449 done
7450 IFS=$as_save_IFS
7454 NMEDIT=$ac_cv_prog_NMEDIT
7455 if test -n "$NMEDIT"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7457 $as_echo "$NMEDIT" >&6; }
7458 else
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7465 if test -z "$ac_cv_prog_NMEDIT"; then
7466 ac_ct_NMEDIT=$NMEDIT
7467 # Extract the first word of "nmedit", so it can be a program name with args.
7468 set dummy nmedit; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470 $as_echo_n "checking for $ac_word... " >&6; }
7471 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7472 $as_echo_n "(cached) " >&6
7473 else
7474 if test -n "$ac_ct_NMEDIT"; then
7475 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7476 else
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 for as_dir in $PATH
7480 IFS=$as_save_IFS
7481 test -z "$as_dir" && as_dir=.
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7484 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 break 2
7488 done
7489 done
7490 IFS=$as_save_IFS
7494 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7495 if test -n "$ac_ct_NMEDIT"; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7497 $as_echo "$ac_ct_NMEDIT" >&6; }
7498 else
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 $as_echo "no" >&6; }
7503 if test "x$ac_ct_NMEDIT" = x; then
7504 NMEDIT=":"
7505 else
7506 case $cross_compiling:$ac_tool_warned in
7507 yes:)
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7510 ac_tool_warned=yes ;;
7511 esac
7512 NMEDIT=$ac_ct_NMEDIT
7514 else
7515 NMEDIT="$ac_cv_prog_NMEDIT"
7518 if test -n "$ac_tool_prefix"; then
7519 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7520 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if test "${ac_cv_prog_LIPO+set}" = set; then :
7524 $as_echo_n "(cached) " >&6
7525 else
7526 if test -n "$LIPO"; then
7527 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7528 else
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 for as_dir in $PATH
7532 IFS=$as_save_IFS
7533 test -z "$as_dir" && as_dir=.
7534 for ac_exec_ext in '' $ac_executable_extensions; do
7535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7536 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 break 2
7540 done
7541 done
7542 IFS=$as_save_IFS
7546 LIPO=$ac_cv_prog_LIPO
7547 if test -n "$LIPO"; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7549 $as_echo "$LIPO" >&6; }
7550 else
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7557 if test -z "$ac_cv_prog_LIPO"; then
7558 ac_ct_LIPO=$LIPO
7559 # Extract the first word of "lipo", so it can be a program name with args.
7560 set dummy lipo; ac_word=$2
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7562 $as_echo_n "checking for $ac_word... " >&6; }
7563 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7564 $as_echo_n "(cached) " >&6
7565 else
7566 if test -n "$ac_ct_LIPO"; then
7567 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7568 else
7569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570 for as_dir in $PATH
7572 IFS=$as_save_IFS
7573 test -z "$as_dir" && as_dir=.
7574 for ac_exec_ext in '' $ac_executable_extensions; do
7575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7576 ac_cv_prog_ac_ct_LIPO="lipo"
7577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 break 2
7580 done
7581 done
7582 IFS=$as_save_IFS
7586 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7587 if test -n "$ac_ct_LIPO"; then
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7589 $as_echo "$ac_ct_LIPO" >&6; }
7590 else
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7592 $as_echo "no" >&6; }
7595 if test "x$ac_ct_LIPO" = x; then
7596 LIPO=":"
7597 else
7598 case $cross_compiling:$ac_tool_warned in
7599 yes:)
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7602 ac_tool_warned=yes ;;
7603 esac
7604 LIPO=$ac_ct_LIPO
7606 else
7607 LIPO="$ac_cv_prog_LIPO"
7610 if test -n "$ac_tool_prefix"; then
7611 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7612 set dummy ${ac_tool_prefix}otool; ac_word=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7616 $as_echo_n "(cached) " >&6
7617 else
7618 if test -n "$OTOOL"; then
7619 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7620 else
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 for as_dir in $PATH
7624 IFS=$as_save_IFS
7625 test -z "$as_dir" && as_dir=.
7626 for ac_exec_ext in '' $ac_executable_extensions; do
7627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7628 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 break 2
7632 done
7633 done
7634 IFS=$as_save_IFS
7638 OTOOL=$ac_cv_prog_OTOOL
7639 if test -n "$OTOOL"; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7641 $as_echo "$OTOOL" >&6; }
7642 else
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7649 if test -z "$ac_cv_prog_OTOOL"; then
7650 ac_ct_OTOOL=$OTOOL
7651 # Extract the first word of "otool", so it can be a program name with args.
7652 set dummy otool; ac_word=$2
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7654 $as_echo_n "checking for $ac_word... " >&6; }
7655 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7656 $as_echo_n "(cached) " >&6
7657 else
7658 if test -n "$ac_ct_OTOOL"; then
7659 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7660 else
7661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 for as_dir in $PATH
7664 IFS=$as_save_IFS
7665 test -z "$as_dir" && as_dir=.
7666 for ac_exec_ext in '' $ac_executable_extensions; do
7667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7668 ac_cv_prog_ac_ct_OTOOL="otool"
7669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670 break 2
7672 done
7673 done
7674 IFS=$as_save_IFS
7678 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7679 if test -n "$ac_ct_OTOOL"; then
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7681 $as_echo "$ac_ct_OTOOL" >&6; }
7682 else
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7684 $as_echo "no" >&6; }
7687 if test "x$ac_ct_OTOOL" = x; then
7688 OTOOL=":"
7689 else
7690 case $cross_compiling:$ac_tool_warned in
7691 yes:)
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7694 ac_tool_warned=yes ;;
7695 esac
7696 OTOOL=$ac_ct_OTOOL
7698 else
7699 OTOOL="$ac_cv_prog_OTOOL"
7702 if test -n "$ac_tool_prefix"; then
7703 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7704 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7706 $as_echo_n "checking for $ac_word... " >&6; }
7707 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7708 $as_echo_n "(cached) " >&6
7709 else
7710 if test -n "$OTOOL64"; then
7711 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7712 else
7713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7714 for as_dir in $PATH
7716 IFS=$as_save_IFS
7717 test -z "$as_dir" && as_dir=.
7718 for ac_exec_ext in '' $ac_executable_extensions; do
7719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7720 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7722 break 2
7724 done
7725 done
7726 IFS=$as_save_IFS
7730 OTOOL64=$ac_cv_prog_OTOOL64
7731 if test -n "$OTOOL64"; then
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7733 $as_echo "$OTOOL64" >&6; }
7734 else
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7736 $as_echo "no" >&6; }
7741 if test -z "$ac_cv_prog_OTOOL64"; then
7742 ac_ct_OTOOL64=$OTOOL64
7743 # Extract the first word of "otool64", so it can be a program name with args.
7744 set dummy otool64; ac_word=$2
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7746 $as_echo_n "checking for $ac_word... " >&6; }
7747 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7749 else
7750 if test -n "$ac_ct_OTOOL64"; then
7751 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7752 else
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7754 for as_dir in $PATH
7756 IFS=$as_save_IFS
7757 test -z "$as_dir" && as_dir=.
7758 for ac_exec_ext in '' $ac_executable_extensions; do
7759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7760 ac_cv_prog_ac_ct_OTOOL64="otool64"
7761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7762 break 2
7764 done
7765 done
7766 IFS=$as_save_IFS
7770 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7771 if test -n "$ac_ct_OTOOL64"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7773 $as_echo "$ac_ct_OTOOL64" >&6; }
7774 else
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7776 $as_echo "no" >&6; }
7779 if test "x$ac_ct_OTOOL64" = x; then
7780 OTOOL64=":"
7781 else
7782 case $cross_compiling:$ac_tool_warned in
7783 yes:)
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7786 ac_tool_warned=yes ;;
7787 esac
7788 OTOOL64=$ac_ct_OTOOL64
7790 else
7791 OTOOL64="$ac_cv_prog_OTOOL64"
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7821 $as_echo_n "checking for -single_module linker flag... " >&6; }
7822 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7823 $as_echo_n "(cached) " >&6
7824 else
7825 lt_cv_apple_cc_single_mod=no
7826 if test -z "${LT_MULTI_MODULE}"; then
7827 # By default we will add the -single_module flag. You can override
7828 # by either setting the environment variable LT_MULTI_MODULE
7829 # non-empty at configure time, or by adding -multi_module to the
7830 # link flags.
7831 rm -rf libconftest.dylib*
7832 echo "int foo(void){return 1;}" > conftest.c
7833 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7834 -dynamiclib -Wl,-single_module conftest.c" >&5
7835 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7836 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7837 _lt_result=$?
7838 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7839 lt_cv_apple_cc_single_mod=yes
7840 else
7841 cat conftest.err >&5
7843 rm -rf libconftest.dylib*
7844 rm -f conftest.*
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7848 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7850 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7851 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7852 $as_echo_n "(cached) " >&6
7853 else
7854 lt_cv_ld_exported_symbols_list=no
7855 save_LDFLAGS=$LDFLAGS
7856 echo "_main" > conftest.sym
7857 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7858 if test x$gcc_no_link = xyes; then
7859 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7862 /* end confdefs.h. */
7865 main ()
7869 return 0;
7871 _ACEOF
7872 if ac_fn_c_try_link "$LINENO"; then :
7873 lt_cv_ld_exported_symbols_list=yes
7874 else
7875 lt_cv_ld_exported_symbols_list=no
7877 rm -f core conftest.err conftest.$ac_objext \
7878 conftest$ac_exeext conftest.$ac_ext
7879 LDFLAGS="$save_LDFLAGS"
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7883 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7885 $as_echo_n "checking for -force_load linker flag... " >&6; }
7886 if test "${lt_cv_ld_force_load+set}" = set; then :
7887 $as_echo_n "(cached) " >&6
7888 else
7889 lt_cv_ld_force_load=no
7890 cat > conftest.c << _LT_EOF
7891 int forced_loaded() { return 2;}
7892 _LT_EOF
7893 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7894 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7895 echo "$AR cru libconftest.a conftest.o" >&5
7896 $AR cru libconftest.a conftest.o 2>&5
7897 cat > conftest.c << _LT_EOF
7898 int main() { return 0;}
7899 _LT_EOF
7900 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7901 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7902 _lt_result=$?
7903 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7904 lt_cv_ld_force_load=yes
7905 else
7906 cat conftest.err >&5
7908 rm -f conftest.err libconftest.a conftest conftest.c
7909 rm -rf conftest.dSYM
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7913 $as_echo "$lt_cv_ld_force_load" >&6; }
7914 case $host_os in
7915 rhapsody* | darwin1.[012])
7916 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7917 darwin1.*)
7918 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7919 darwin*) # darwin 5.x on
7920 # if running on 10.5 or later, the deployment target defaults
7921 # to the OS version, if on x86, and 10.4, the deployment
7922 # target defaults to 10.4. Don't you love it?
7923 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7924 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7925 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7926 10.[012][,.]*)
7927 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7928 10.*)
7929 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7930 esac
7932 esac
7933 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7934 _lt_dar_single_mod='$single_module'
7936 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7937 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7938 else
7939 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7941 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7942 _lt_dsymutil='~$DSYMUTIL $lib || :'
7943 else
7944 _lt_dsymutil=
7947 esac
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7950 $as_echo_n "checking for ANSI C header files... " >&6; }
7951 if test "${ac_cv_header_stdc+set}" = set; then :
7952 $as_echo_n "(cached) " >&6
7953 else
7954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7955 /* end confdefs.h. */
7956 #include <stdlib.h>
7957 #include <stdarg.h>
7958 #include <string.h>
7959 #include <float.h>
7962 main ()
7966 return 0;
7968 _ACEOF
7969 if ac_fn_c_try_compile "$LINENO"; then :
7970 ac_cv_header_stdc=yes
7971 else
7972 ac_cv_header_stdc=no
7974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7976 if test $ac_cv_header_stdc = yes; then
7977 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h. */
7980 #include <string.h>
7982 _ACEOF
7983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7984 $EGREP "memchr" >/dev/null 2>&1; then :
7986 else
7987 ac_cv_header_stdc=no
7989 rm -f conftest*
7993 if test $ac_cv_header_stdc = yes; then
7994 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7996 /* end confdefs.h. */
7997 #include <stdlib.h>
7999 _ACEOF
8000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8001 $EGREP "free" >/dev/null 2>&1; then :
8003 else
8004 ac_cv_header_stdc=no
8006 rm -f conftest*
8010 if test $ac_cv_header_stdc = yes; then
8011 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8012 if test "$cross_compiling" = yes; then :
8014 else
8015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8016 /* end confdefs.h. */
8017 #include <ctype.h>
8018 #include <stdlib.h>
8019 #if ((' ' & 0x0FF) == 0x020)
8020 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8021 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8022 #else
8023 # define ISLOWER(c) \
8024 (('a' <= (c) && (c) <= 'i') \
8025 || ('j' <= (c) && (c) <= 'r') \
8026 || ('s' <= (c) && (c) <= 'z'))
8027 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8028 #endif
8030 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8032 main ()
8034 int i;
8035 for (i = 0; i < 256; i++)
8036 if (XOR (islower (i), ISLOWER (i))
8037 || toupper (i) != TOUPPER (i))
8038 return 2;
8039 return 0;
8041 _ACEOF
8042 if ac_fn_c_try_run "$LINENO"; then :
8044 else
8045 ac_cv_header_stdc=no
8047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8048 conftest.$ac_objext conftest.beam conftest.$ac_ext
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8054 $as_echo "$ac_cv_header_stdc" >&6; }
8055 if test $ac_cv_header_stdc = yes; then
8057 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8061 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8062 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8063 inttypes.h stdint.h unistd.h
8064 do :
8065 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8066 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8068 eval as_val=\$$as_ac_Header
8069 if test "x$as_val" = x""yes; then :
8070 cat >>confdefs.h <<_ACEOF
8071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8072 _ACEOF
8076 done
8079 for ac_header in dlfcn.h
8080 do :
8081 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8083 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8084 cat >>confdefs.h <<_ACEOF
8085 #define HAVE_DLFCN_H 1
8086 _ACEOF
8090 done
8097 # Set options
8102 enable_win32_dll=no
8105 # Check whether --enable-shared was given.
8106 if test "${enable_shared+set}" = set; then :
8107 enableval=$enable_shared; p=${PACKAGE-default}
8108 case $enableval in
8109 yes) enable_shared=yes ;;
8110 no) enable_shared=no ;;
8112 enable_shared=no
8113 # Look at the argument we got. We use all the common list separators.
8114 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8115 for pkg in $enableval; do
8116 IFS="$lt_save_ifs"
8117 if test "X$pkg" = "X$p"; then
8118 enable_shared=yes
8120 done
8121 IFS="$lt_save_ifs"
8123 esac
8124 else
8125 enable_shared=yes
8136 # Check whether --enable-static was given.
8137 if test "${enable_static+set}" = set; then :
8138 enableval=$enable_static; p=${PACKAGE-default}
8139 case $enableval in
8140 yes) enable_static=yes ;;
8141 no) enable_static=no ;;
8143 enable_static=no
8144 # Look at the argument we got. We use all the common list separators.
8145 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8146 for pkg in $enableval; do
8147 IFS="$lt_save_ifs"
8148 if test "X$pkg" = "X$p"; then
8149 enable_static=yes
8151 done
8152 IFS="$lt_save_ifs"
8154 esac
8155 else
8156 enable_static=yes
8168 # Check whether --with-pic was given.
8169 if test "${with_pic+set}" = set; then :
8170 withval=$with_pic; pic_mode="$withval"
8171 else
8172 pic_mode=default
8176 test -z "$pic_mode" && pic_mode=default
8184 # Check whether --enable-fast-install was given.
8185 if test "${enable_fast_install+set}" = set; then :
8186 enableval=$enable_fast_install; p=${PACKAGE-default}
8187 case $enableval in
8188 yes) enable_fast_install=yes ;;
8189 no) enable_fast_install=no ;;
8191 enable_fast_install=no
8192 # Look at the argument we got. We use all the common list separators.
8193 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8194 for pkg in $enableval; do
8195 IFS="$lt_save_ifs"
8196 if test "X$pkg" = "X$p"; then
8197 enable_fast_install=yes
8199 done
8200 IFS="$lt_save_ifs"
8202 esac
8203 else
8204 enable_fast_install=yes
8217 # This can be used to rebuild libtool when needed
8218 LIBTOOL_DEPS="$ltmain"
8220 # Always use our own libtool.
8221 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8248 test -z "$LN_S" && LN_S="ln -s"
8263 if test -n "${ZSH_VERSION+set}" ; then
8264 setopt NO_GLOB_SUBST
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8268 $as_echo_n "checking for objdir... " >&6; }
8269 if test "${lt_cv_objdir+set}" = set; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 rm -f .libs 2>/dev/null
8273 mkdir .libs 2>/dev/null
8274 if test -d .libs; then
8275 lt_cv_objdir=.libs
8276 else
8277 # MS-DOS does not allow filenames that begin with a dot.
8278 lt_cv_objdir=_libs
8280 rmdir .libs 2>/dev/null
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8283 $as_echo "$lt_cv_objdir" >&6; }
8284 objdir=$lt_cv_objdir
8290 cat >>confdefs.h <<_ACEOF
8291 #define LT_OBJDIR "$lt_cv_objdir/"
8292 _ACEOF
8297 case $host_os in
8298 aix3*)
8299 # AIX sometimes has problems with the GCC collect2 program. For some
8300 # reason, if we set the COLLECT_NAMES environment variable, the problems
8301 # vanish in a puff of smoke.
8302 if test "X${COLLECT_NAMES+set}" != Xset; then
8303 COLLECT_NAMES=
8304 export COLLECT_NAMES
8307 esac
8309 # Global variables:
8310 ofile=libtool
8311 can_build_shared=yes
8313 # All known linkers require a `.a' archive for static linking (except MSVC,
8314 # which needs '.lib').
8315 libext=a
8317 with_gnu_ld="$lt_cv_prog_gnu_ld"
8319 old_CC="$CC"
8320 old_CFLAGS="$CFLAGS"
8322 # Set sane defaults for various variables
8323 test -z "$CC" && CC=cc
8324 test -z "$LTCC" && LTCC=$CC
8325 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8326 test -z "$LD" && LD=ld
8327 test -z "$ac_objext" && ac_objext=o
8329 for cc_temp in $compiler""; do
8330 case $cc_temp in
8331 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8332 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8333 \-*) ;;
8334 *) break;;
8335 esac
8336 done
8337 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8340 # Only perform the check for file, if the check method requires it
8341 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8342 case $deplibs_check_method in
8343 file_magic*)
8344 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8346 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8347 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8348 $as_echo_n "(cached) " >&6
8349 else
8350 case $MAGIC_CMD in
8351 [\\/*] | ?:[\\/]*)
8352 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8355 lt_save_MAGIC_CMD="$MAGIC_CMD"
8356 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8357 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8358 for ac_dir in $ac_dummy; do
8359 IFS="$lt_save_ifs"
8360 test -z "$ac_dir" && ac_dir=.
8361 if test -f $ac_dir/${ac_tool_prefix}file; then
8362 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8363 if test -n "$file_magic_test_file"; then
8364 case $deplibs_check_method in
8365 "file_magic "*)
8366 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8367 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8368 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8369 $EGREP "$file_magic_regex" > /dev/null; then
8371 else
8372 cat <<_LT_EOF 1>&2
8374 *** Warning: the command libtool uses to detect shared libraries,
8375 *** $file_magic_cmd, produces output that libtool cannot recognize.
8376 *** The result is that libtool may fail to recognize shared libraries
8377 *** as such. This will affect the creation of libtool libraries that
8378 *** depend on shared libraries, but programs linked with such libtool
8379 *** libraries will work regardless of this problem. Nevertheless, you
8380 *** may want to report the problem to your system manager and/or to
8381 *** bug-libtool@gnu.org
8383 _LT_EOF
8384 fi ;;
8385 esac
8387 break
8389 done
8390 IFS="$lt_save_ifs"
8391 MAGIC_CMD="$lt_save_MAGIC_CMD"
8393 esac
8396 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8397 if test -n "$MAGIC_CMD"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8399 $as_echo "$MAGIC_CMD" >&6; }
8400 else
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8409 if test -z "$lt_cv_path_MAGIC_CMD"; then
8410 if test -n "$ac_tool_prefix"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8412 $as_echo_n "checking for file... " >&6; }
8413 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8414 $as_echo_n "(cached) " >&6
8415 else
8416 case $MAGIC_CMD in
8417 [\\/*] | ?:[\\/]*)
8418 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8421 lt_save_MAGIC_CMD="$MAGIC_CMD"
8422 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8423 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8424 for ac_dir in $ac_dummy; do
8425 IFS="$lt_save_ifs"
8426 test -z "$ac_dir" && ac_dir=.
8427 if test -f $ac_dir/file; then
8428 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8429 if test -n "$file_magic_test_file"; then
8430 case $deplibs_check_method in
8431 "file_magic "*)
8432 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8433 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8434 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8435 $EGREP "$file_magic_regex" > /dev/null; then
8437 else
8438 cat <<_LT_EOF 1>&2
8440 *** Warning: the command libtool uses to detect shared libraries,
8441 *** $file_magic_cmd, produces output that libtool cannot recognize.
8442 *** The result is that libtool may fail to recognize shared libraries
8443 *** as such. This will affect the creation of libtool libraries that
8444 *** depend on shared libraries, but programs linked with such libtool
8445 *** libraries will work regardless of this problem. Nevertheless, you
8446 *** may want to report the problem to your system manager and/or to
8447 *** bug-libtool@gnu.org
8449 _LT_EOF
8450 fi ;;
8451 esac
8453 break
8455 done
8456 IFS="$lt_save_ifs"
8457 MAGIC_CMD="$lt_save_MAGIC_CMD"
8459 esac
8462 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8463 if test -n "$MAGIC_CMD"; then
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8465 $as_echo "$MAGIC_CMD" >&6; }
8466 else
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8468 $as_echo "no" >&6; }
8472 else
8473 MAGIC_CMD=:
8479 esac
8481 # Use C for the default configuration in the libtool script
8483 lt_save_CC="$CC"
8484 ac_ext=c
8485 ac_cpp='$CPP $CPPFLAGS'
8486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8491 # Source file extension for C test sources.
8492 ac_ext=c
8494 # Object file extension for compiled C test sources.
8495 objext=o
8496 objext=$objext
8498 # Code to be used in simple compile tests
8499 lt_simple_compile_test_code="int some_variable = 0;"
8501 # Code to be used in simple link tests
8502 lt_simple_link_test_code='int main(){return(0);}'
8510 # If no C compiler was specified, use CC.
8511 LTCC=${LTCC-"$CC"}
8513 # If no C compiler flags were specified, use CFLAGS.
8514 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8516 # Allow CC to be a program name with arguments.
8517 compiler=$CC
8519 # Save the default compiler, since it gets overwritten when the other
8520 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8521 compiler_DEFAULT=$CC
8523 # save warnings/boilerplate of simple test code
8524 ac_outfile=conftest.$ac_objext
8525 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8526 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8527 _lt_compiler_boilerplate=`cat conftest.err`
8528 $RM conftest*
8530 ac_outfile=conftest.$ac_objext
8531 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8532 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8533 _lt_linker_boilerplate=`cat conftest.err`
8534 $RM -r conftest*
8537 ## CAVEAT EMPTOR:
8538 ## There is no encapsulation within the following macros, do not change
8539 ## the running order or otherwise move them around unless you know exactly
8540 ## what you are doing...
8541 if test -n "$compiler"; then
8543 lt_prog_compiler_no_builtin_flag=
8545 if test "$GCC" = yes; then
8546 case $cc_basename in
8547 nvcc*)
8548 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8550 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8551 esac
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8554 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8555 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 lt_cv_prog_compiler_rtti_exceptions=no
8559 ac_outfile=conftest.$ac_objext
8560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8561 lt_compiler_flag="-fno-rtti -fno-exceptions"
8562 # Insert the option either (1) after the last *FLAGS variable, or
8563 # (2) before a word containing "conftest.", or (3) at the end.
8564 # Note that $ac_compile itself does not contain backslashes and begins
8565 # with a dollar sign (not a hyphen), so the echo should work correctly.
8566 # The option is referenced via a variable to avoid confusing sed.
8567 lt_compile=`echo "$ac_compile" | $SED \
8568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8570 -e 's:$: $lt_compiler_flag:'`
8571 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8572 (eval "$lt_compile" 2>conftest.err)
8573 ac_status=$?
8574 cat conftest.err >&5
8575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 if (exit $ac_status) && test -s "$ac_outfile"; then
8577 # The compiler can only warn and ignore the option if not recognized
8578 # So say no if there are warnings other than the usual output.
8579 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8580 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8581 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8582 lt_cv_prog_compiler_rtti_exceptions=yes
8585 $RM conftest*
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8589 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8591 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8592 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8593 else
8604 lt_prog_compiler_wl=
8605 lt_prog_compiler_pic=
8606 lt_prog_compiler_static=
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8609 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8611 if test "$GCC" = yes; then
8612 lt_prog_compiler_wl='-Wl,'
8613 lt_prog_compiler_static='-static'
8615 case $host_os in
8616 aix*)
8617 # All AIX code is PIC.
8618 if test "$host_cpu" = ia64; then
8619 # AIX 5 now supports IA64 processor
8620 lt_prog_compiler_static='-Bstatic'
8622 lt_prog_compiler_pic='-fPIC'
8625 amigaos*)
8626 case $host_cpu in
8627 powerpc)
8628 # see comment about AmigaOS4 .so support
8629 lt_prog_compiler_pic='-fPIC'
8631 m68k)
8632 # FIXME: we need at least 68020 code to build shared libraries, but
8633 # adding the `-m68020' flag to GCC prevents building anything better,
8634 # like `-m68040'.
8635 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8637 esac
8640 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8641 # PIC is the default for these OSes.
8644 mingw* | cygwin* | pw32* | os2* | cegcc*)
8645 # This hack is so that the source file can tell whether it is being
8646 # built for inclusion in a dll (and should export symbols for example).
8647 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8648 # (--disable-auto-import) libraries
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8652 darwin* | rhapsody*)
8653 # PIC is the default on this platform
8654 # Common symbols not allowed in MH_DYLIB files
8655 lt_prog_compiler_pic='-fno-common'
8658 haiku*)
8659 # PIC is the default for Haiku.
8660 # The "-static" flag exists, but is broken.
8661 lt_prog_compiler_static=
8664 hpux*)
8665 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8666 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8667 # sets the default TLS model and affects inlining.
8668 case $host_cpu in
8669 hppa*64*)
8670 # +Z the default
8673 lt_prog_compiler_pic='-fPIC'
8675 esac
8678 interix[3-9]*)
8679 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8680 # Instead, we relocate shared libraries at runtime.
8683 msdosdjgpp*)
8684 # Just because we use GCC doesn't mean we suddenly get shared libraries
8685 # on systems that don't support them.
8686 lt_prog_compiler_can_build_shared=no
8687 enable_shared=no
8690 *nto* | *qnx*)
8691 # QNX uses GNU C++, but need to define -shared option too, otherwise
8692 # it will coredump.
8693 lt_prog_compiler_pic='-fPIC -shared'
8696 sysv4*MP*)
8697 if test -d /usr/nec; then
8698 lt_prog_compiler_pic=-Kconform_pic
8703 lt_prog_compiler_pic='-fPIC'
8705 esac
8707 case $cc_basename in
8708 nvcc*) # Cuda Compiler Driver 2.2
8709 lt_prog_compiler_wl='-Xlinker '
8710 lt_prog_compiler_pic='-Xcompiler -fPIC'
8712 esac
8713 else
8714 # PORTME Check for flag to pass linker flags through the system compiler.
8715 case $host_os in
8716 aix*)
8717 lt_prog_compiler_wl='-Wl,'
8718 if test "$host_cpu" = ia64; then
8719 # AIX 5 now supports IA64 processor
8720 lt_prog_compiler_static='-Bstatic'
8721 else
8722 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8726 mingw* | cygwin* | pw32* | os2* | cegcc*)
8727 # This hack is so that the source file can tell whether it is being
8728 # built for inclusion in a dll (and should export symbols for example).
8729 lt_prog_compiler_pic='-DDLL_EXPORT'
8732 hpux9* | hpux10* | hpux11*)
8733 lt_prog_compiler_wl='-Wl,'
8734 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8735 # not for PA HP-UX.
8736 case $host_cpu in
8737 hppa*64*|ia64*)
8738 # +Z the default
8741 lt_prog_compiler_pic='+Z'
8743 esac
8744 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8745 lt_prog_compiler_static='${wl}-a ${wl}archive'
8748 irix5* | irix6* | nonstopux*)
8749 lt_prog_compiler_wl='-Wl,'
8750 # PIC (with -KPIC) is the default.
8751 lt_prog_compiler_static='-non_shared'
8754 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8755 case $cc_basename in
8756 # old Intel for x86_64 which still supported -KPIC.
8757 ecc*)
8758 lt_prog_compiler_wl='-Wl,'
8759 lt_prog_compiler_pic='-KPIC'
8760 lt_prog_compiler_static='-static'
8762 # icc used to be incompatible with GCC.
8763 # ICC 10 doesn't accept -KPIC any more.
8764 icc* | ifort*)
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_pic='-fPIC'
8767 lt_prog_compiler_static='-static'
8769 # Lahey Fortran 8.1.
8770 lf95*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='--shared'
8773 lt_prog_compiler_static='--static'
8775 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8776 # Portland Group compilers (*not* the Pentium gcc compiler,
8777 # which looks to be a dead project)
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_pic='-fpic'
8780 lt_prog_compiler_static='-Bstatic'
8782 ccc*)
8783 lt_prog_compiler_wl='-Wl,'
8784 # All Alpha code is PIC.
8785 lt_prog_compiler_static='-non_shared'
8787 xl* | bgxl* | bgf* | mpixl*)
8788 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8789 lt_prog_compiler_wl='-Wl,'
8790 lt_prog_compiler_pic='-qpic'
8791 lt_prog_compiler_static='-qstaticlink'
8794 case `$CC -V 2>&1 | sed 5q` in
8795 *Sun\ F* | *Sun*Fortran*)
8796 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8797 lt_prog_compiler_pic='-KPIC'
8798 lt_prog_compiler_static='-Bstatic'
8799 lt_prog_compiler_wl=''
8801 *Sun\ C*)
8802 # Sun C 5.9
8803 lt_prog_compiler_pic='-KPIC'
8804 lt_prog_compiler_static='-Bstatic'
8805 lt_prog_compiler_wl='-Wl,'
8807 esac
8809 esac
8812 newsos6)
8813 lt_prog_compiler_pic='-KPIC'
8814 lt_prog_compiler_static='-Bstatic'
8817 *nto* | *qnx*)
8818 # QNX uses GNU C++, but need to define -shared option too, otherwise
8819 # it will coredump.
8820 lt_prog_compiler_pic='-fPIC -shared'
8823 osf3* | osf4* | osf5*)
8824 lt_prog_compiler_wl='-Wl,'
8825 # All OSF/1 code is PIC.
8826 lt_prog_compiler_static='-non_shared'
8829 rdos*)
8830 lt_prog_compiler_static='-non_shared'
8833 solaris*)
8834 lt_prog_compiler_pic='-KPIC'
8835 lt_prog_compiler_static='-Bstatic'
8836 case $cc_basename in
8837 f77* | f90* | f95*)
8838 lt_prog_compiler_wl='-Qoption ld ';;
8840 lt_prog_compiler_wl='-Wl,';;
8841 esac
8844 sunos4*)
8845 lt_prog_compiler_wl='-Qoption ld '
8846 lt_prog_compiler_pic='-PIC'
8847 lt_prog_compiler_static='-Bstatic'
8850 sysv4 | sysv4.2uw2* | sysv4.3*)
8851 lt_prog_compiler_wl='-Wl,'
8852 lt_prog_compiler_pic='-KPIC'
8853 lt_prog_compiler_static='-Bstatic'
8856 sysv4*MP*)
8857 if test -d /usr/nec ;then
8858 lt_prog_compiler_pic='-Kconform_pic'
8859 lt_prog_compiler_static='-Bstatic'
8863 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8864 lt_prog_compiler_wl='-Wl,'
8865 lt_prog_compiler_pic='-KPIC'
8866 lt_prog_compiler_static='-Bstatic'
8869 unicos*)
8870 lt_prog_compiler_wl='-Wl,'
8871 lt_prog_compiler_can_build_shared=no
8874 uts4*)
8875 lt_prog_compiler_pic='-pic'
8876 lt_prog_compiler_static='-Bstatic'
8880 lt_prog_compiler_can_build_shared=no
8882 esac
8885 case $host_os in
8886 # For platforms which do not support PIC, -DPIC is meaningless:
8887 *djgpp*)
8888 lt_prog_compiler_pic=
8891 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8893 esac
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8895 $as_echo "$lt_prog_compiler_pic" >&6; }
8903 # Check to make sure the PIC flag actually works.
8905 if test -n "$lt_prog_compiler_pic"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8907 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8908 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8909 $as_echo_n "(cached) " >&6
8910 else
8911 lt_cv_prog_compiler_pic_works=no
8912 ac_outfile=conftest.$ac_objext
8913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8914 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8915 # Insert the option either (1) after the last *FLAGS variable, or
8916 # (2) before a word containing "conftest.", or (3) at the end.
8917 # Note that $ac_compile itself does not contain backslashes and begins
8918 # with a dollar sign (not a hyphen), so the echo should work correctly.
8919 # The option is referenced via a variable to avoid confusing sed.
8920 lt_compile=`echo "$ac_compile" | $SED \
8921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923 -e 's:$: $lt_compiler_flag:'`
8924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925 (eval "$lt_compile" 2>conftest.err)
8926 ac_status=$?
8927 cat conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 if (exit $ac_status) && test -s "$ac_outfile"; then
8930 # The compiler can only warn and ignore the option if not recognized
8931 # So say no if there are warnings other than the usual output.
8932 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8933 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8934 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8935 lt_cv_prog_compiler_pic_works=yes
8938 $RM conftest*
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8942 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8944 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8945 case $lt_prog_compiler_pic in
8946 "" | " "*) ;;
8947 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8948 esac
8949 else
8950 lt_prog_compiler_pic=
8951 lt_prog_compiler_can_build_shared=no
8962 # Check to make sure the static flag actually works.
8964 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8966 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8967 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8968 $as_echo_n "(cached) " >&6
8969 else
8970 lt_cv_prog_compiler_static_works=no
8971 save_LDFLAGS="$LDFLAGS"
8972 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8973 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8974 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8975 # The linker can only warn and ignore the option if not recognized
8976 # So say no if there are warnings
8977 if test -s conftest.err; then
8978 # Append any errors to the config.log.
8979 cat conftest.err 1>&5
8980 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8981 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8982 if diff conftest.exp conftest.er2 >/dev/null; then
8983 lt_cv_prog_compiler_static_works=yes
8985 else
8986 lt_cv_prog_compiler_static_works=yes
8989 $RM -r conftest*
8990 LDFLAGS="$save_LDFLAGS"
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8994 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8996 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8998 else
8999 lt_prog_compiler_static=
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9009 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9010 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9011 $as_echo_n "(cached) " >&6
9012 else
9013 lt_cv_prog_compiler_c_o=no
9014 $RM -r conftest 2>/dev/null
9015 mkdir conftest
9016 cd conftest
9017 mkdir out
9018 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9020 lt_compiler_flag="-o out/conftest2.$ac_objext"
9021 # Insert the option either (1) after the last *FLAGS variable, or
9022 # (2) before a word containing "conftest.", or (3) at the end.
9023 # Note that $ac_compile itself does not contain backslashes and begins
9024 # with a dollar sign (not a hyphen), so the echo should work correctly.
9025 lt_compile=`echo "$ac_compile" | $SED \
9026 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9028 -e 's:$: $lt_compiler_flag:'`
9029 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9030 (eval "$lt_compile" 2>out/conftest.err)
9031 ac_status=$?
9032 cat out/conftest.err >&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9035 then
9036 # The compiler can only warn and ignore the option if not recognized
9037 # So say no if there are warnings
9038 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9039 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9040 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9041 lt_cv_prog_compiler_c_o=yes
9044 chmod u+w . 2>&5
9045 $RM conftest*
9046 # SGI C++ compiler will create directory out/ii_files/ for
9047 # template instantiation
9048 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9049 $RM out/* && rmdir out
9050 cd ..
9051 $RM -r conftest
9052 $RM conftest*
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9056 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9064 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9065 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 lt_cv_prog_compiler_c_o=no
9069 $RM -r conftest 2>/dev/null
9070 mkdir conftest
9071 cd conftest
9072 mkdir out
9073 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075 lt_compiler_flag="-o out/conftest2.$ac_objext"
9076 # Insert the option either (1) after the last *FLAGS variable, or
9077 # (2) before a word containing "conftest.", or (3) at the end.
9078 # Note that $ac_compile itself does not contain backslashes and begins
9079 # with a dollar sign (not a hyphen), so the echo should work correctly.
9080 lt_compile=`echo "$ac_compile" | $SED \
9081 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9082 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9083 -e 's:$: $lt_compiler_flag:'`
9084 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9085 (eval "$lt_compile" 2>out/conftest.err)
9086 ac_status=$?
9087 cat out/conftest.err >&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9090 then
9091 # The compiler can only warn and ignore the option if not recognized
9092 # So say no if there are warnings
9093 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9094 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9095 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9096 lt_cv_prog_compiler_c_o=yes
9099 chmod u+w . 2>&5
9100 $RM conftest*
9101 # SGI C++ compiler will create directory out/ii_files/ for
9102 # template instantiation
9103 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9104 $RM out/* && rmdir out
9105 cd ..
9106 $RM -r conftest
9107 $RM conftest*
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9111 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9116 hard_links="nottested"
9117 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9118 # do not overwrite the value of need_locks provided by the user
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9120 $as_echo_n "checking if we can lock with hard links... " >&6; }
9121 hard_links=yes
9122 $RM conftest*
9123 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9124 touch conftest.a
9125 ln conftest.a conftest.b 2>&5 || hard_links=no
9126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9128 $as_echo "$hard_links" >&6; }
9129 if test "$hard_links" = no; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9131 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9132 need_locks=warn
9134 else
9135 need_locks=no
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9144 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9146 runpath_var=
9147 allow_undefined_flag=
9148 always_export_symbols=no
9149 archive_cmds=
9150 archive_expsym_cmds=
9151 compiler_needs_object=no
9152 enable_shared_with_static_runtimes=no
9153 export_dynamic_flag_spec=
9154 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9155 hardcode_automatic=no
9156 hardcode_direct=no
9157 hardcode_direct_absolute=no
9158 hardcode_libdir_flag_spec=
9159 hardcode_libdir_flag_spec_ld=
9160 hardcode_libdir_separator=
9161 hardcode_minus_L=no
9162 hardcode_shlibpath_var=unsupported
9163 inherit_rpath=no
9164 link_all_deplibs=unknown
9165 module_cmds=
9166 module_expsym_cmds=
9167 old_archive_from_new_cmds=
9168 old_archive_from_expsyms_cmds=
9169 thread_safe_flag_spec=
9170 whole_archive_flag_spec=
9171 # include_expsyms should be a list of space-separated symbols to be *always*
9172 # included in the symbol list
9173 include_expsyms=
9174 # exclude_expsyms can be an extended regexp of symbols to exclude
9175 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9176 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9177 # as well as any symbol that contains `d'.
9178 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9179 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9180 # platforms (ab)use it in PIC code, but their linkers get confused if
9181 # the symbol is explicitly referenced. Since portable code cannot
9182 # rely on this symbol name, it's probably fine to never include it in
9183 # preloaded symbol tables.
9184 # Exclude shared library initialization/finalization symbols.
9185 extract_expsyms_cmds=
9187 case $host_os in
9188 cygwin* | mingw* | pw32* | cegcc*)
9189 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9190 # When not using gcc, we currently assume that we are using
9191 # Microsoft Visual C++.
9192 if test "$GCC" != yes; then
9193 with_gnu_ld=no
9196 interix*)
9197 # we just hope/assume this is gcc and not c89 (= MSVC++)
9198 with_gnu_ld=yes
9200 openbsd*)
9201 with_gnu_ld=no
9203 esac
9205 ld_shlibs=yes
9207 # On some targets, GNU ld is compatible enough with the native linker
9208 # that we're better off using the native interface for both.
9209 lt_use_gnu_ld_interface=no
9210 if test "$with_gnu_ld" = yes; then
9211 case $host_os in
9212 aix*)
9213 # The AIX port of GNU ld has always aspired to compatibility
9214 # with the native linker. However, as the warning in the GNU ld
9215 # block says, versions before 2.19.5* couldn't really create working
9216 # shared libraries, regardless of the interface used.
9217 case `$LD -v 2>&1` in
9218 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9219 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9220 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9222 lt_use_gnu_ld_interface=yes
9224 esac
9227 lt_use_gnu_ld_interface=yes
9229 esac
9232 if test "$lt_use_gnu_ld_interface" = yes; then
9233 # If archive_cmds runs LD, not CC, wlarc should be empty
9234 wlarc='${wl}'
9236 # Set some defaults for GNU ld with shared library support. These
9237 # are reset later if shared libraries are not supported. Putting them
9238 # here allows them to be overridden if necessary.
9239 runpath_var=LD_RUN_PATH
9240 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9241 export_dynamic_flag_spec='${wl}--export-dynamic'
9242 # ancient GNU ld didn't support --whole-archive et. al.
9243 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9244 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9245 else
9246 whole_archive_flag_spec=
9248 supports_anon_versioning=no
9249 case `$LD -v 2>&1` in
9250 *GNU\ gold*) supports_anon_versioning=yes ;;
9251 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9252 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9253 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9254 *\ 2.11.*) ;; # other 2.11 versions
9255 *) supports_anon_versioning=yes ;;
9256 esac
9258 # See if GNU ld supports shared libraries.
9259 case $host_os in
9260 aix[3-9]*)
9261 # On AIX/PPC, the GNU linker is very broken
9262 if test "$host_cpu" != ia64; then
9263 ld_shlibs=no
9264 cat <<_LT_EOF 1>&2
9266 *** Warning: the GNU linker, at least up to release 2.19, is reported
9267 *** to be unable to reliably create shared libraries on AIX.
9268 *** Therefore, libtool is disabling shared libraries support. If you
9269 *** really care for shared libraries, you may want to install binutils
9270 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9271 *** You will then need to restart the configuration process.
9273 _LT_EOF
9277 amigaos*)
9278 case $host_cpu in
9279 powerpc)
9280 # see comment about AmigaOS4 .so support
9281 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9282 archive_expsym_cmds=''
9284 m68k)
9285 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)'
9286 hardcode_libdir_flag_spec='-L$libdir'
9287 hardcode_minus_L=yes
9289 esac
9292 beos*)
9293 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9294 allow_undefined_flag=unsupported
9295 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9296 # support --undefined. This deserves some investigation. FIXME
9297 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9298 else
9299 ld_shlibs=no
9303 cygwin* | mingw* | pw32* | cegcc*)
9304 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9305 # as there is no search path for DLLs.
9306 hardcode_libdir_flag_spec='-L$libdir'
9307 export_dynamic_flag_spec='${wl}--export-all-symbols'
9308 allow_undefined_flag=unsupported
9309 always_export_symbols=no
9310 enable_shared_with_static_runtimes=yes
9311 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9313 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9314 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9315 # If the export-symbols file already is a .def file (1st line
9316 # is EXPORTS), use it as is; otherwise, prepend...
9317 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9318 cp $export_symbols $output_objdir/$soname.def;
9319 else
9320 echo EXPORTS > $output_objdir/$soname.def;
9321 cat $export_symbols >> $output_objdir/$soname.def;
9323 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9324 else
9325 ld_shlibs=no
9329 haiku*)
9330 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331 link_all_deplibs=yes
9334 interix[3-9]*)
9335 hardcode_direct=no
9336 hardcode_shlibpath_var=no
9337 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9338 export_dynamic_flag_spec='${wl}-E'
9339 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9340 # Instead, shared libraries are loaded at an image base (0x10000000 by
9341 # default) and relocated if they conflict, which is a slow very memory
9342 # consuming and fragmenting process. To avoid this, we pick a random,
9343 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9344 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9345 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9346 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'
9349 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9350 tmp_diet=no
9351 if test "$host_os" = linux-dietlibc; then
9352 case $cc_basename in
9353 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9354 esac
9356 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9357 && test "$tmp_diet" = no
9358 then
9359 tmp_addflag=' $pic_flag'
9360 tmp_sharedflag='-shared'
9361 case $cc_basename,$host_cpu in
9362 pgcc*) # Portland Group C compiler
9363 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'
9364 tmp_addflag=' $pic_flag'
9366 pgf77* | pgf90* | pgf95* | pgfortran*)
9367 # Portland Group f77 and f90 compilers
9368 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'
9369 tmp_addflag=' $pic_flag -Mnomain' ;;
9370 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9371 tmp_addflag=' -i_dynamic' ;;
9372 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9373 tmp_addflag=' -i_dynamic -nofor_main' ;;
9374 ifc* | ifort*) # Intel Fortran compiler
9375 tmp_addflag=' -nofor_main' ;;
9376 lf95*) # Lahey Fortran 8.1
9377 whole_archive_flag_spec=
9378 tmp_sharedflag='--shared' ;;
9379 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9380 tmp_sharedflag='-qmkshrobj'
9381 tmp_addflag= ;;
9382 nvcc*) # Cuda Compiler Driver 2.2
9383 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'
9384 compiler_needs_object=yes
9386 esac
9387 case `$CC -V 2>&1 | sed 5q` in
9388 *Sun\ C*) # Sun C 5.9
9389 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'
9390 compiler_needs_object=yes
9391 tmp_sharedflag='-G' ;;
9392 *Sun\ F*) # Sun Fortran 8.3
9393 tmp_sharedflag='-G' ;;
9394 esac
9395 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397 if test "x$supports_anon_versioning" = xyes; then
9398 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9399 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9400 echo "local: *; };" >> $output_objdir/$libname.ver~
9401 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9404 case $cc_basename in
9405 xlf* | bgf* | bgxlf* | mpixlf*)
9406 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9407 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9408 hardcode_libdir_flag_spec=
9409 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9410 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9411 if test "x$supports_anon_versioning" = xyes; then
9412 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9413 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9414 echo "local: *; };" >> $output_objdir/$libname.ver~
9415 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9418 esac
9419 else
9420 ld_shlibs=no
9424 netbsd*)
9425 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9426 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9427 wlarc=
9428 else
9429 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9430 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9434 solaris*)
9435 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9436 ld_shlibs=no
9437 cat <<_LT_EOF 1>&2
9439 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9440 *** create shared libraries on Solaris systems. Therefore, libtool
9441 *** is disabling shared libraries support. We urge you to upgrade GNU
9442 *** binutils to release 2.9.1 or newer. Another option is to modify
9443 *** your PATH or compiler configuration so that the native linker is
9444 *** used, and then restart.
9446 _LT_EOF
9447 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9448 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9449 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9450 else
9451 ld_shlibs=no
9455 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9456 case `$LD -v 2>&1` in
9457 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9458 ld_shlibs=no
9459 cat <<_LT_EOF 1>&2
9461 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9462 *** reliably create shared libraries on SCO systems. Therefore, libtool
9463 *** is disabling shared libraries support. We urge you to upgrade GNU
9464 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9465 *** your PATH or compiler configuration so that the native linker is
9466 *** used, and then restart.
9468 _LT_EOF
9471 # For security reasons, it is highly recommended that you always
9472 # use absolute paths for naming shared libraries, and exclude the
9473 # DT_RUNPATH tag from executables and libraries. But doing so
9474 # requires that you compile everything twice, which is a pain.
9475 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9476 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9477 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9478 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9479 else
9480 ld_shlibs=no
9483 esac
9486 sunos4*)
9487 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9488 wlarc=
9489 hardcode_direct=yes
9490 hardcode_shlibpath_var=no
9494 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9495 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9496 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9497 else
9498 ld_shlibs=no
9501 esac
9503 if test "$ld_shlibs" = no; then
9504 runpath_var=
9505 hardcode_libdir_flag_spec=
9506 export_dynamic_flag_spec=
9507 whole_archive_flag_spec=
9509 else
9510 # PORTME fill in a description of your system's linker (not GNU ld)
9511 case $host_os in
9512 aix3*)
9513 allow_undefined_flag=unsupported
9514 always_export_symbols=yes
9515 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'
9516 # Note: this linker hardcodes the directories in LIBPATH if there
9517 # are no directories specified by -L.
9518 hardcode_minus_L=yes
9519 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9520 # Neither direct hardcoding nor static linking is supported with a
9521 # broken collect2.
9522 hardcode_direct=unsupported
9526 aix[4-9]*)
9527 if test "$host_cpu" = ia64; then
9528 # On IA64, the linker does run time linking by default, so we don't
9529 # have to do anything special.
9530 aix_use_runtimelinking=no
9531 exp_sym_flag='-Bexport'
9532 no_entry_flag=""
9533 else
9534 # If we're using GNU nm, then we don't want the "-C" option.
9535 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9536 # Also, AIX nm treats weak defined symbols like other global
9537 # defined symbols, whereas GNU nm marks them as "W".
9538 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9539 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'
9540 else
9541 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9543 aix_use_runtimelinking=no
9545 # Test if we are trying to use run time linking or normal
9546 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9547 # need to do runtime linking.
9548 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9549 for ld_flag in $LDFLAGS; do
9550 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9551 aix_use_runtimelinking=yes
9552 break
9554 done
9556 esac
9558 exp_sym_flag='-bexport'
9559 no_entry_flag='-bnoentry'
9562 # When large executables or shared objects are built, AIX ld can
9563 # have problems creating the table of contents. If linking a library
9564 # or program results in "error TOC overflow" add -mminimal-toc to
9565 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9566 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9568 archive_cmds=''
9569 hardcode_direct=yes
9570 hardcode_direct_absolute=yes
9571 hardcode_libdir_separator=':'
9572 link_all_deplibs=yes
9573 file_list_spec='${wl}-f,'
9575 if test "$GCC" = yes; then
9576 case $host_os in aix4.[012]|aix4.[012].*)
9577 # We only want to do this on AIX 4.2 and lower, the check
9578 # below for broken collect2 doesn't work under 4.3+
9579 collect2name=`${CC} -print-prog-name=collect2`
9580 if test -f "$collect2name" &&
9581 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9582 then
9583 # We have reworked collect2
9585 else
9586 # We have old collect2
9587 hardcode_direct=unsupported
9588 # It fails to find uninstalled libraries when the uninstalled
9589 # path is not listed in the libpath. Setting hardcode_minus_L
9590 # to unsupported forces relinking
9591 hardcode_minus_L=yes
9592 hardcode_libdir_flag_spec='-L$libdir'
9593 hardcode_libdir_separator=
9596 esac
9597 shared_flag='-shared'
9598 if test "$aix_use_runtimelinking" = yes; then
9599 shared_flag="$shared_flag "'${wl}-G'
9601 else
9602 # not using gcc
9603 if test "$host_cpu" = ia64; then
9604 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9605 # chokes on -Wl,-G. The following line is correct:
9606 shared_flag='-G'
9607 else
9608 if test "$aix_use_runtimelinking" = yes; then
9609 shared_flag='${wl}-G'
9610 else
9611 shared_flag='${wl}-bM:SRE'
9616 export_dynamic_flag_spec='${wl}-bexpall'
9617 # It seems that -bexpall does not export symbols beginning with
9618 # underscore (_), so it is better to generate a list of symbols to export.
9619 always_export_symbols=yes
9620 if test "$aix_use_runtimelinking" = yes; then
9621 # Warning - without using the other runtime loading flags (-brtl),
9622 # -berok will link without error, but may produce a broken library.
9623 allow_undefined_flag='-berok'
9624 # Determine the default libpath from the value encoded in an
9625 # empty executable.
9626 if test x$gcc_no_link = xyes; then
9627 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9633 main ()
9637 return 0;
9639 _ACEOF
9640 if ac_fn_c_try_link "$LINENO"; then :
9642 lt_aix_libpath_sed='
9643 /Import File Strings/,/^$/ {
9644 /^0/ {
9645 s/^0 *\(.*\)$/\1/
9649 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9650 # Check for a 64-bit object if we didn't find anything.
9651 if test -z "$aix_libpath"; then
9652 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9655 rm -f core conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9657 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9659 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9660 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"
9661 else
9662 if test "$host_cpu" = ia64; then
9663 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9664 allow_undefined_flag="-z nodefs"
9665 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"
9666 else
9667 # Determine the default libpath from the value encoded in an
9668 # empty executable.
9669 if test x$gcc_no_link = xyes; then
9670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9676 main ()
9680 return 0;
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9685 lt_aix_libpath_sed='
9686 /Import File Strings/,/^$/ {
9687 /^0/ {
9688 s/^0 *\(.*\)$/\1/
9692 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9693 # Check for a 64-bit object if we didn't find anything.
9694 if test -z "$aix_libpath"; then
9695 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9698 rm -f core conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9702 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9703 # Warning - without using the other run time loading flags,
9704 # -berok will link without error, but may produce a broken library.
9705 no_undefined_flag=' ${wl}-bernotok'
9706 allow_undefined_flag=' ${wl}-berok'
9707 if test "$with_gnu_ld" = yes; then
9708 # We only use this code for GNU lds that support --whole-archive.
9709 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9710 else
9711 # Exported symbols can be pulled into shared objects from archives
9712 whole_archive_flag_spec='$convenience'
9714 archive_cmds_need_lc=yes
9715 # This is similar to how AIX traditionally builds its shared libraries.
9716 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'
9721 amigaos*)
9722 case $host_cpu in
9723 powerpc)
9724 # see comment about AmigaOS4 .so support
9725 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9726 archive_expsym_cmds=''
9728 m68k)
9729 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)'
9730 hardcode_libdir_flag_spec='-L$libdir'
9731 hardcode_minus_L=yes
9733 esac
9736 bsdi[45]*)
9737 export_dynamic_flag_spec=-rdynamic
9740 cygwin* | mingw* | pw32* | cegcc*)
9741 # When not using gcc, we currently assume that we are using
9742 # Microsoft Visual C++.
9743 # hardcode_libdir_flag_spec is actually meaningless, as there is
9744 # no search path for DLLs.
9745 hardcode_libdir_flag_spec=' '
9746 allow_undefined_flag=unsupported
9747 # Tell ltmain to make .lib files, not .a files.
9748 libext=lib
9749 # Tell ltmain to make .dll files, not .so files.
9750 shrext_cmds=".dll"
9751 # FIXME: Setting linknames here is a bad hack.
9752 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9753 # The linker will automatically build a .lib file if we build a DLL.
9754 old_archive_from_new_cmds='true'
9755 # FIXME: Should let the user specify the lib program.
9756 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9757 fix_srcfile_path='`cygpath -w "$srcfile"`'
9758 enable_shared_with_static_runtimes=yes
9761 darwin* | rhapsody*)
9764 archive_cmds_need_lc=no
9765 hardcode_direct=no
9766 hardcode_automatic=yes
9767 hardcode_shlibpath_var=unsupported
9768 if test "$lt_cv_ld_force_load" = "yes"; then
9769 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\"`'
9770 else
9771 whole_archive_flag_spec=''
9773 link_all_deplibs=yes
9774 allow_undefined_flag="$_lt_dar_allow_undefined"
9775 case $cc_basename in
9776 ifort*) _lt_dar_can_shared=yes ;;
9777 *) _lt_dar_can_shared=$GCC ;;
9778 esac
9779 if test "$_lt_dar_can_shared" = "yes"; then
9780 output_verbose_link_cmd=func_echo_all
9781 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9782 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9783 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}"
9784 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}"
9786 else
9787 ld_shlibs=no
9792 dgux*)
9793 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9794 hardcode_libdir_flag_spec='-L$libdir'
9795 hardcode_shlibpath_var=no
9798 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9799 # support. Future versions do this automatically, but an explicit c++rt0.o
9800 # does not break anything, and helps significantly (at the cost of a little
9801 # extra space).
9802 freebsd2.2*)
9803 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9804 hardcode_libdir_flag_spec='-R$libdir'
9805 hardcode_direct=yes
9806 hardcode_shlibpath_var=no
9809 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9810 freebsd2.*)
9811 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9812 hardcode_direct=yes
9813 hardcode_minus_L=yes
9814 hardcode_shlibpath_var=no
9817 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9818 freebsd* | dragonfly*)
9819 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9820 hardcode_libdir_flag_spec='-R$libdir'
9821 hardcode_direct=yes
9822 hardcode_shlibpath_var=no
9825 hpux9*)
9826 if test "$GCC" = yes; then
9827 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'
9828 else
9829 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'
9831 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9832 hardcode_libdir_separator=:
9833 hardcode_direct=yes
9835 # hardcode_minus_L: Not really in the search PATH,
9836 # but as the default location of the library.
9837 hardcode_minus_L=yes
9838 export_dynamic_flag_spec='${wl}-E'
9841 hpux10*)
9842 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9843 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9844 else
9845 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9847 if test "$with_gnu_ld" = no; then
9848 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9849 hardcode_libdir_flag_spec_ld='+b $libdir'
9850 hardcode_libdir_separator=:
9851 hardcode_direct=yes
9852 hardcode_direct_absolute=yes
9853 export_dynamic_flag_spec='${wl}-E'
9854 # hardcode_minus_L: Not really in the search PATH,
9855 # but as the default location of the library.
9856 hardcode_minus_L=yes
9860 hpux11*)
9861 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9862 case $host_cpu in
9863 hppa*64*)
9864 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9866 ia64*)
9867 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9872 esac
9873 else
9874 case $host_cpu in
9875 hppa*64*)
9876 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 ia64*)
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9883 # Older versions of the 11.00 compiler do not understand -b yet
9884 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9886 $as_echo_n "checking if $CC understands -b... " >&6; }
9887 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9888 $as_echo_n "(cached) " >&6
9889 else
9890 lt_cv_prog_compiler__b=no
9891 save_LDFLAGS="$LDFLAGS"
9892 LDFLAGS="$LDFLAGS -b"
9893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9895 # The linker can only warn and ignore the option if not recognized
9896 # So say no if there are warnings
9897 if test -s conftest.err; then
9898 # Append any errors to the config.log.
9899 cat conftest.err 1>&5
9900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9902 if diff conftest.exp conftest.er2 >/dev/null; then
9903 lt_cv_prog_compiler__b=yes
9905 else
9906 lt_cv_prog_compiler__b=yes
9909 $RM -r conftest*
9910 LDFLAGS="$save_LDFLAGS"
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9914 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9916 if test x"$lt_cv_prog_compiler__b" = xyes; then
9917 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9918 else
9919 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9923 esac
9925 if test "$with_gnu_ld" = no; then
9926 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9927 hardcode_libdir_separator=:
9929 case $host_cpu in
9930 hppa*64*|ia64*)
9931 hardcode_direct=no
9932 hardcode_shlibpath_var=no
9935 hardcode_direct=yes
9936 hardcode_direct_absolute=yes
9937 export_dynamic_flag_spec='${wl}-E'
9939 # hardcode_minus_L: Not really in the search PATH,
9940 # but as the default location of the library.
9941 hardcode_minus_L=yes
9943 esac
9947 irix5* | irix6* | nonstopux*)
9948 if test "$GCC" = yes; then
9949 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'
9950 # Try to use the -exported_symbol ld option, if it does not
9951 # work, assume that -exports_file does not work either and
9952 # implicitly export all symbols.
9953 save_LDFLAGS="$LDFLAGS"
9954 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9955 if test x$gcc_no_link = xyes; then
9956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9960 int foo(void) {}
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"; then :
9963 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'
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LDFLAGS="$save_LDFLAGS"
9969 else
9970 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'
9971 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'
9973 archive_cmds_need_lc='no'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 hardcode_libdir_separator=:
9976 inherit_rpath=yes
9977 link_all_deplibs=yes
9980 netbsd*)
9981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9982 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9983 else
9984 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9986 hardcode_libdir_flag_spec='-R$libdir'
9987 hardcode_direct=yes
9988 hardcode_shlibpath_var=no
9991 newsos6)
9992 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9993 hardcode_direct=yes
9994 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9995 hardcode_libdir_separator=:
9996 hardcode_shlibpath_var=no
9999 *nto* | *qnx*)
10002 openbsd*)
10003 if test -f /usr/libexec/ld.so; then
10004 hardcode_direct=yes
10005 hardcode_shlibpath_var=no
10006 hardcode_direct_absolute=yes
10007 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10008 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10009 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10010 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10011 export_dynamic_flag_spec='${wl}-E'
10012 else
10013 case $host_os in
10014 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10015 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10016 hardcode_libdir_flag_spec='-R$libdir'
10019 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10020 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10022 esac
10024 else
10025 ld_shlibs=no
10029 os2*)
10030 hardcode_libdir_flag_spec='-L$libdir'
10031 hardcode_minus_L=yes
10032 allow_undefined_flag=unsupported
10033 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'
10034 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10037 osf3*)
10038 if test "$GCC" = yes; then
10039 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10040 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'
10041 else
10042 allow_undefined_flag=' -expect_unresolved \*'
10043 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'
10045 archive_cmds_need_lc='no'
10046 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10047 hardcode_libdir_separator=:
10050 osf4* | osf5*) # as osf3* with the addition of -msym flag
10051 if test "$GCC" = yes; then
10052 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10053 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'
10054 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10055 else
10056 allow_undefined_flag=' -expect_unresolved \*'
10057 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'
10058 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~
10059 $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'
10061 # Both c and cxx compiler support -rpath directly
10062 hardcode_libdir_flag_spec='-rpath $libdir'
10064 archive_cmds_need_lc='no'
10065 hardcode_libdir_separator=:
10068 solaris*)
10069 no_undefined_flag=' -z defs'
10070 if test "$GCC" = yes; then
10071 wlarc='${wl}'
10072 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10073 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10074 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10075 else
10076 case `$CC -V 2>&1` in
10077 *"Compilers 5.0"*)
10078 wlarc=''
10079 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10081 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10084 wlarc='${wl}'
10085 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10086 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10087 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 esac
10091 hardcode_libdir_flag_spec='-R$libdir'
10092 hardcode_shlibpath_var=no
10093 case $host_os in
10094 solaris2.[0-5] | solaris2.[0-5].*) ;;
10096 # The compiler driver will combine and reorder linker options,
10097 # but understands `-z linker_flag'. GCC discards it without `$wl',
10098 # but is careful enough not to reorder.
10099 # Supported since Solaris 2.6 (maybe 2.5.1?)
10100 if test "$GCC" = yes; then
10101 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10102 else
10103 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10106 esac
10107 link_all_deplibs=yes
10110 sunos4*)
10111 if test "x$host_vendor" = xsequent; then
10112 # Use $CC to link under sequent, because it throws in some extra .o
10113 # files that make .init and .fini sections work.
10114 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10115 else
10116 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10118 hardcode_libdir_flag_spec='-L$libdir'
10119 hardcode_direct=yes
10120 hardcode_minus_L=yes
10121 hardcode_shlibpath_var=no
10124 sysv4)
10125 case $host_vendor in
10126 sni)
10127 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10128 hardcode_direct=yes # is this really true???
10130 siemens)
10131 ## LD is ld it makes a PLAMLIB
10132 ## CC just makes a GrossModule.
10133 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10134 reload_cmds='$CC -r -o $output$reload_objs'
10135 hardcode_direct=no
10137 motorola)
10138 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10141 esac
10142 runpath_var='LD_RUN_PATH'
10143 hardcode_shlibpath_var=no
10146 sysv4.3*)
10147 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10148 hardcode_shlibpath_var=no
10149 export_dynamic_flag_spec='-Bexport'
10152 sysv4*MP*)
10153 if test -d /usr/nec; then
10154 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10155 hardcode_shlibpath_var=no
10156 runpath_var=LD_RUN_PATH
10157 hardcode_runpath_var=yes
10158 ld_shlibs=yes
10162 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10163 no_undefined_flag='${wl}-z,text'
10164 archive_cmds_need_lc=no
10165 hardcode_shlibpath_var=no
10166 runpath_var='LD_RUN_PATH'
10168 if test "$GCC" = yes; then
10169 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10170 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 else
10172 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10177 sysv5* | sco3.2v5* | sco5v6*)
10178 # Note: We can NOT use -z defs as we might desire, because we do not
10179 # link with -lc, and that would cause any symbols used from libc to
10180 # always be unresolved, which means just about no library would
10181 # ever link correctly. If we're not using GNU ld we use -z text
10182 # though, which does catch some bad symbols but isn't as heavy-handed
10183 # as -z defs.
10184 no_undefined_flag='${wl}-z,text'
10185 allow_undefined_flag='${wl}-z,nodefs'
10186 archive_cmds_need_lc=no
10187 hardcode_shlibpath_var=no
10188 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10189 hardcode_libdir_separator=':'
10190 link_all_deplibs=yes
10191 export_dynamic_flag_spec='${wl}-Bexport'
10192 runpath_var='LD_RUN_PATH'
10194 if test "$GCC" = yes; then
10195 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10196 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 else
10198 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10203 uts4*)
10204 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10205 hardcode_libdir_flag_spec='-L$libdir'
10206 hardcode_shlibpath_var=no
10210 ld_shlibs=no
10212 esac
10214 if test x$host_vendor = xsni; then
10215 case $host in
10216 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10217 export_dynamic_flag_spec='${wl}-Blargedynsym'
10219 esac
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10224 $as_echo "$ld_shlibs" >&6; }
10225 test "$ld_shlibs" = no && can_build_shared=no
10227 with_gnu_ld=$with_gnu_ld
10244 # Do we need to explicitly link libc?
10246 case "x$archive_cmds_need_lc" in
10247 x|xyes)
10248 # Assume -lc should be added
10249 archive_cmds_need_lc=yes
10251 if test "$enable_shared" = yes && test "$GCC" = yes; then
10252 case $archive_cmds in
10253 *'~'*)
10254 # FIXME: we may have to deal with multi-command sequences.
10256 '$CC '*)
10257 # Test whether the compiler implicitly links with -lc since on some
10258 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10259 # to ld, don't add -lc before -lgcc.
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10261 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10262 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10263 $as_echo_n "(cached) " >&6
10264 else
10265 $RM conftest*
10266 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10269 (eval $ac_compile) 2>&5
10270 ac_status=$?
10271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10272 test $ac_status = 0; } 2>conftest.err; then
10273 soname=conftest
10274 lib=conftest
10275 libobjs=conftest.$ac_objext
10276 deplibs=
10277 wl=$lt_prog_compiler_wl
10278 pic_flag=$lt_prog_compiler_pic
10279 compiler_flags=-v
10280 linker_flags=-v
10281 verstring=
10282 output_objdir=.
10283 libname=conftest
10284 lt_save_allow_undefined_flag=$allow_undefined_flag
10285 allow_undefined_flag=
10286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10287 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10288 ac_status=$?
10289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10290 test $ac_status = 0; }
10291 then
10292 lt_cv_archive_cmds_need_lc=no
10293 else
10294 lt_cv_archive_cmds_need_lc=yes
10296 allow_undefined_flag=$lt_save_allow_undefined_flag
10297 else
10298 cat conftest.err 1>&5
10300 $RM conftest*
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10304 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10305 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10307 esac
10310 esac
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10469 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10471 if test "$GCC" = yes; then
10472 case $host_os in
10473 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10474 *) lt_awk_arg="/^libraries:/" ;;
10475 esac
10476 case $host_os in
10477 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10478 *) lt_sed_strip_eq="s,=/,/,g" ;;
10479 esac
10480 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10481 case $lt_search_path_spec in
10482 *\;*)
10483 # if the path contains ";" then we assume it to be the separator
10484 # otherwise default to the standard path separator (i.e. ":") - it is
10485 # assumed that no part of a normal pathname contains ";" but that should
10486 # okay in the real world where ";" in dirpaths is itself problematic.
10487 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10490 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10492 esac
10493 # Ok, now we have the path, separated by spaces, we can step through it
10494 # and add multilib dir if necessary.
10495 lt_tmp_lt_search_path_spec=
10496 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10497 for lt_sys_path in $lt_search_path_spec; do
10498 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10499 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10500 else
10501 test -d "$lt_sys_path" && \
10502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10504 done
10505 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10506 BEGIN {RS=" "; FS="/|\n";} {
10507 lt_foo="";
10508 lt_count=0;
10509 for (lt_i = NF; lt_i > 0; lt_i--) {
10510 if ($lt_i != "" && $lt_i != ".") {
10511 if ($lt_i == "..") {
10512 lt_count++;
10513 } else {
10514 if (lt_count == 0) {
10515 lt_foo="/" $lt_i lt_foo;
10516 } else {
10517 lt_count--;
10522 if (lt_foo != "") { lt_freq[lt_foo]++; }
10523 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10525 # AWK program above erroneously prepends '/' to C:/dos/paths
10526 # for these hosts.
10527 case $host_os in
10528 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10529 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10530 esac
10531 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10532 else
10533 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10535 library_names_spec=
10536 libname_spec='lib$name'
10537 soname_spec=
10538 shrext_cmds=".so"
10539 postinstall_cmds=
10540 postuninstall_cmds=
10541 finish_cmds=
10542 finish_eval=
10543 shlibpath_var=
10544 shlibpath_overrides_runpath=unknown
10545 version_type=none
10546 dynamic_linker="$host_os ld.so"
10547 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10548 need_lib_prefix=unknown
10549 hardcode_into_libs=no
10551 # when you set need_version to no, make sure it does not cause -set_version
10552 # flags to be left without arguments
10553 need_version=unknown
10555 case $host_os in
10556 aix3*)
10557 version_type=linux
10558 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10559 shlibpath_var=LIBPATH
10561 # AIX 3 has no versioning support, so we append a major version to the name.
10562 soname_spec='${libname}${release}${shared_ext}$major'
10565 aix[4-9]*)
10566 version_type=linux
10567 need_lib_prefix=no
10568 need_version=no
10569 hardcode_into_libs=yes
10570 if test "$host_cpu" = ia64; then
10571 # AIX 5 supports IA64
10572 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10573 shlibpath_var=LD_LIBRARY_PATH
10574 else
10575 # With GCC up to 2.95.x, collect2 would create an import file
10576 # for dependence libraries. The import file would start with
10577 # the line `#! .'. This would cause the generated library to
10578 # depend on `.', always an invalid library. This was fixed in
10579 # development snapshots of GCC prior to 3.0.
10580 case $host_os in
10581 aix4 | aix4.[01] | aix4.[01].*)
10582 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10583 echo ' yes '
10584 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10586 else
10587 can_build_shared=no
10590 esac
10591 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10592 # soname into executable. Probably we can add versioning support to
10593 # collect2, so additional links can be useful in future.
10594 if test "$aix_use_runtimelinking" = yes; then
10595 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10596 # instead of lib<name>.a to let people know that these are not
10597 # typical AIX shared libraries.
10598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10599 else
10600 # We preserve .a as extension for shared libraries through AIX4.2
10601 # and later when we are not doing run time linking.
10602 library_names_spec='${libname}${release}.a $libname.a'
10603 soname_spec='${libname}${release}${shared_ext}$major'
10605 shlibpath_var=LIBPATH
10609 amigaos*)
10610 case $host_cpu in
10611 powerpc)
10612 # Since July 2007 AmigaOS4 officially supports .so libraries.
10613 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 m68k)
10617 library_names_spec='$libname.ixlibrary $libname.a'
10618 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10619 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'
10621 esac
10624 beos*)
10625 library_names_spec='${libname}${shared_ext}'
10626 dynamic_linker="$host_os ld.so"
10627 shlibpath_var=LIBRARY_PATH
10630 bsdi[45]*)
10631 version_type=linux
10632 need_version=no
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10634 soname_spec='${libname}${release}${shared_ext}$major'
10635 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10636 shlibpath_var=LD_LIBRARY_PATH
10637 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10638 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10639 # the default ld.so.conf also contains /usr/contrib/lib and
10640 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10641 # libtool to hard-code these into programs
10644 cygwin* | mingw* | pw32* | cegcc*)
10645 version_type=windows
10646 shrext_cmds=".dll"
10647 need_version=no
10648 need_lib_prefix=no
10650 case $GCC,$host_os in
10651 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10652 library_names_spec='$libname.dll.a'
10653 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10654 postinstall_cmds='base_file=`basename \${file}`~
10655 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10656 dldir=$destdir/`dirname \$dlpath`~
10657 test -d \$dldir || mkdir -p \$dldir~
10658 $install_prog $dir/$dlname \$dldir/$dlname~
10659 chmod a+x \$dldir/$dlname~
10660 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10661 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10663 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10664 dlpath=$dir/\$dldll~
10665 $RM \$dlpath'
10666 shlibpath_overrides_runpath=yes
10668 case $host_os in
10669 cygwin*)
10670 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10671 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10673 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10675 mingw* | cegcc*)
10676 # MinGW DLLs use traditional 'lib' prefix
10677 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10679 pw32*)
10680 # pw32 DLLs use 'pw' prefix rather than 'lib'
10681 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683 esac
10687 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10689 esac
10690 dynamic_linker='Win32 ld.exe'
10691 # FIXME: first we should search . and the directory the executable is in
10692 shlibpath_var=PATH
10695 darwin* | rhapsody*)
10696 dynamic_linker="$host_os dyld"
10697 version_type=darwin
10698 need_lib_prefix=no
10699 need_version=no
10700 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10701 soname_spec='${libname}${release}${major}$shared_ext'
10702 shlibpath_overrides_runpath=yes
10703 shlibpath_var=DYLD_LIBRARY_PATH
10704 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10706 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10707 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10710 dgux*)
10711 version_type=linux
10712 need_lib_prefix=no
10713 need_version=no
10714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10715 soname_spec='${libname}${release}${shared_ext}$major'
10716 shlibpath_var=LD_LIBRARY_PATH
10719 freebsd* | dragonfly*)
10720 # DragonFly does not have aout. When/if they implement a new
10721 # versioning mechanism, adjust this.
10722 if test -x /usr/bin/objformat; then
10723 objformat=`/usr/bin/objformat`
10724 else
10725 case $host_os in
10726 freebsd[23].*) objformat=aout ;;
10727 *) objformat=elf ;;
10728 esac
10730 version_type=freebsd-$objformat
10731 case $version_type in
10732 freebsd-elf*)
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10734 need_version=no
10735 need_lib_prefix=no
10737 freebsd-*)
10738 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10739 need_version=yes
10741 esac
10742 shlibpath_var=LD_LIBRARY_PATH
10743 case $host_os in
10744 freebsd2.*)
10745 shlibpath_overrides_runpath=yes
10747 freebsd3.[01]* | freebsdelf3.[01]*)
10748 shlibpath_overrides_runpath=yes
10749 hardcode_into_libs=yes
10751 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10752 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10753 shlibpath_overrides_runpath=no
10754 hardcode_into_libs=yes
10756 *) # from 4.6 on, and DragonFly
10757 shlibpath_overrides_runpath=yes
10758 hardcode_into_libs=yes
10760 esac
10763 gnu*)
10764 version_type=linux
10765 need_lib_prefix=no
10766 need_version=no
10767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10768 soname_spec='${libname}${release}${shared_ext}$major'
10769 shlibpath_var=LD_LIBRARY_PATH
10770 hardcode_into_libs=yes
10773 haiku*)
10774 version_type=linux
10775 need_lib_prefix=no
10776 need_version=no
10777 dynamic_linker="$host_os runtime_loader"
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10779 soname_spec='${libname}${release}${shared_ext}$major'
10780 shlibpath_var=LIBRARY_PATH
10781 shlibpath_overrides_runpath=yes
10782 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10783 hardcode_into_libs=yes
10786 hpux9* | hpux10* | hpux11*)
10787 # Give a soname corresponding to the major version so that dld.sl refuses to
10788 # link against other versions.
10789 version_type=sunos
10790 need_lib_prefix=no
10791 need_version=no
10792 case $host_cpu in
10793 ia64*)
10794 shrext_cmds='.so'
10795 hardcode_into_libs=yes
10796 dynamic_linker="$host_os dld.so"
10797 shlibpath_var=LD_LIBRARY_PATH
10798 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800 soname_spec='${libname}${release}${shared_ext}$major'
10801 if test "X$HPUX_IA64_MODE" = X32; then
10802 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10803 else
10804 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10806 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10808 hppa*64*)
10809 shrext_cmds='.sl'
10810 hardcode_into_libs=yes
10811 dynamic_linker="$host_os dld.sl"
10812 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10813 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10817 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10820 shrext_cmds='.sl'
10821 dynamic_linker="$host_os dld.sl"
10822 shlibpath_var=SHLIB_PATH
10823 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825 soname_spec='${libname}${release}${shared_ext}$major'
10827 esac
10828 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10829 postinstall_cmds='chmod 555 $lib'
10830 # or fails outright, so override atomically:
10831 install_override_mode=555
10834 interix[3-9]*)
10835 version_type=linux
10836 need_lib_prefix=no
10837 need_version=no
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10840 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10841 shlibpath_var=LD_LIBRARY_PATH
10842 shlibpath_overrides_runpath=no
10843 hardcode_into_libs=yes
10846 irix5* | irix6* | nonstopux*)
10847 case $host_os in
10848 nonstopux*) version_type=nonstopux ;;
10850 if test "$lt_cv_prog_gnu_ld" = yes; then
10851 version_type=linux
10852 else
10853 version_type=irix
10854 fi ;;
10855 esac
10856 need_lib_prefix=no
10857 need_version=no
10858 soname_spec='${libname}${release}${shared_ext}$major'
10859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10860 case $host_os in
10861 irix5* | nonstopux*)
10862 libsuff= shlibsuff=
10865 case $LD in # libtool.m4 will add one of these switches to LD
10866 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10867 libsuff= shlibsuff= libmagic=32-bit;;
10868 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10869 libsuff=32 shlibsuff=N32 libmagic=N32;;
10870 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10871 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10872 *) libsuff= shlibsuff= libmagic=never-match;;
10873 esac
10875 esac
10876 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10877 shlibpath_overrides_runpath=no
10878 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10879 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10880 hardcode_into_libs=yes
10883 # No shared lib support for Linux oldld, aout, or coff.
10884 linux*oldld* | linux*aout* | linux*coff*)
10885 dynamic_linker=no
10888 # This must be Linux ELF.
10889 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10890 version_type=linux
10891 need_lib_prefix=no
10892 need_version=no
10893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10894 soname_spec='${libname}${release}${shared_ext}$major'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 shlibpath_overrides_runpath=no
10899 # Some binutils ld are patched to set DT_RUNPATH
10900 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10901 $as_echo_n "(cached) " >&6
10902 else
10903 lt_cv_shlibpath_overrides_runpath=no
10904 save_LDFLAGS=$LDFLAGS
10905 save_libdir=$libdir
10906 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10907 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10908 if test x$gcc_no_link = xyes; then
10909 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10912 /* end confdefs.h. */
10915 main ()
10919 return 0;
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"; then :
10923 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10924 lt_cv_shlibpath_overrides_runpath=yes
10927 rm -f core conftest.err conftest.$ac_objext \
10928 conftest$ac_exeext conftest.$ac_ext
10929 LDFLAGS=$save_LDFLAGS
10930 libdir=$save_libdir
10934 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10936 # This implies no fast_install, which is unacceptable.
10937 # Some rework will be needed to allow for fast_install
10938 # before this can be enabled.
10939 hardcode_into_libs=yes
10941 # Append ld.so.conf contents to the search path
10942 if test -f /etc/ld.so.conf; then
10943 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' ' '`
10944 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10947 # We used to test for /lib/ld.so.1 and disable shared libraries on
10948 # powerpc, because MkLinux only supported shared libraries with the
10949 # GNU dynamic linker. Since this was broken with cross compilers,
10950 # most powerpc-linux boxes support dynamic linking these days and
10951 # people can always --disable-shared, the test was removed, and we
10952 # assume the GNU/Linux dynamic linker is in use.
10953 dynamic_linker='GNU/Linux ld.so'
10956 netbsd*)
10957 version_type=sunos
10958 need_lib_prefix=no
10959 need_version=no
10960 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10962 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10963 dynamic_linker='NetBSD (a.out) ld.so'
10964 else
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 dynamic_linker='NetBSD ld.elf_so'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10974 newsos6)
10975 version_type=linux
10976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10977 shlibpath_var=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath=yes
10981 *nto* | *qnx*)
10982 version_type=qnx
10983 need_lib_prefix=no
10984 need_version=no
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec='${libname}${release}${shared_ext}$major'
10987 shlibpath_var=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath=no
10989 hardcode_into_libs=yes
10990 dynamic_linker='ldqnx.so'
10993 openbsd*)
10994 version_type=sunos
10995 sys_lib_dlsearch_path_spec="/usr/lib"
10996 need_lib_prefix=no
10997 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10998 case $host_os in
10999 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11000 *) need_version=no ;;
11001 esac
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11003 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11004 shlibpath_var=LD_LIBRARY_PATH
11005 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11006 case $host_os in
11007 openbsd2.[89] | openbsd2.[89].*)
11008 shlibpath_overrides_runpath=no
11011 shlibpath_overrides_runpath=yes
11013 esac
11014 else
11015 shlibpath_overrides_runpath=yes
11019 os2*)
11020 libname_spec='$name'
11021 shrext_cmds=".dll"
11022 need_lib_prefix=no
11023 library_names_spec='$libname${shared_ext} $libname.a'
11024 dynamic_linker='OS/2 ld.exe'
11025 shlibpath_var=LIBPATH
11028 osf3* | osf4* | osf5*)
11029 version_type=osf
11030 need_lib_prefix=no
11031 need_version=no
11032 soname_spec='${libname}${release}${shared_ext}$major'
11033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11034 shlibpath_var=LD_LIBRARY_PATH
11035 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11036 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11039 rdos*)
11040 dynamic_linker=no
11043 solaris*)
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec='${libname}${release}${shared_ext}$major'
11049 shlibpath_var=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath=yes
11051 hardcode_into_libs=yes
11052 # ldd complains unless libraries are executable
11053 postinstall_cmds='chmod +x $lib'
11056 sunos4*)
11057 version_type=sunos
11058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11059 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11060 shlibpath_var=LD_LIBRARY_PATH
11061 shlibpath_overrides_runpath=yes
11062 if test "$with_gnu_ld" = yes; then
11063 need_lib_prefix=no
11065 need_version=yes
11068 sysv4 | sysv4.3*)
11069 version_type=linux
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 soname_spec='${libname}${release}${shared_ext}$major'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 case $host_vendor in
11074 sni)
11075 shlibpath_overrides_runpath=no
11076 need_lib_prefix=no
11077 runpath_var=LD_RUN_PATH
11079 siemens)
11080 need_lib_prefix=no
11082 motorola)
11083 need_lib_prefix=no
11084 need_version=no
11085 shlibpath_overrides_runpath=no
11086 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11088 esac
11091 sysv4*MP*)
11092 if test -d /usr/nec ;then
11093 version_type=linux
11094 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11095 soname_spec='$libname${shared_ext}.$major'
11096 shlibpath_var=LD_LIBRARY_PATH
11100 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11101 version_type=freebsd-elf
11102 need_lib_prefix=no
11103 need_version=no
11104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11105 soname_spec='${libname}${release}${shared_ext}$major'
11106 shlibpath_var=LD_LIBRARY_PATH
11107 shlibpath_overrides_runpath=yes
11108 hardcode_into_libs=yes
11109 if test "$with_gnu_ld" = yes; then
11110 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11111 else
11112 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11113 case $host_os in
11114 sco3.2v5*)
11115 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11117 esac
11119 sys_lib_dlsearch_path_spec='/usr/lib'
11122 tpf*)
11123 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11124 version_type=linux
11125 need_lib_prefix=no
11126 need_version=no
11127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11128 shlibpath_var=LD_LIBRARY_PATH
11129 shlibpath_overrides_runpath=no
11130 hardcode_into_libs=yes
11133 uts4*)
11134 version_type=linux
11135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11136 soname_spec='${libname}${release}${shared_ext}$major'
11137 shlibpath_var=LD_LIBRARY_PATH
11141 dynamic_linker=no
11143 esac
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11145 $as_echo "$dynamic_linker" >&6; }
11146 test "$dynamic_linker" = no && can_build_shared=no
11148 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11149 if test "$GCC" = yes; then
11150 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11153 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11154 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11156 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11157 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11252 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11253 hardcode_action=
11254 if test -n "$hardcode_libdir_flag_spec" ||
11255 test -n "$runpath_var" ||
11256 test "X$hardcode_automatic" = "Xyes" ; then
11258 # We can hardcode non-existent directories.
11259 if test "$hardcode_direct" != no &&
11260 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11261 # have to relink, otherwise we might link with an installed library
11262 # when we should be linking with a yet-to-be-installed one
11263 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11264 test "$hardcode_minus_L" != no; then
11265 # Linking always hardcodes the temporary library directory.
11266 hardcode_action=relink
11267 else
11268 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11269 hardcode_action=immediate
11271 else
11272 # We cannot hardcode anything, or else we can only hardcode existing
11273 # directories.
11274 hardcode_action=unsupported
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11277 $as_echo "$hardcode_action" >&6; }
11279 if test "$hardcode_action" = relink ||
11280 test "$inherit_rpath" = yes; then
11281 # Fast installation is not supported
11282 enable_fast_install=no
11283 elif test "$shlibpath_overrides_runpath" = yes ||
11284 test "$enable_shared" = no; then
11285 # Fast installation is not necessary
11286 enable_fast_install=needless
11294 if test "x$enable_dlopen" != xyes; then
11295 enable_dlopen=unknown
11296 enable_dlopen_self=unknown
11297 enable_dlopen_self_static=unknown
11298 else
11299 lt_cv_dlopen=no
11300 lt_cv_dlopen_libs=
11302 case $host_os in
11303 beos*)
11304 lt_cv_dlopen="load_add_on"
11305 lt_cv_dlopen_libs=
11306 lt_cv_dlopen_self=yes
11309 mingw* | pw32* | cegcc*)
11310 lt_cv_dlopen="LoadLibrary"
11311 lt_cv_dlopen_libs=
11314 cygwin*)
11315 lt_cv_dlopen="dlopen"
11316 lt_cv_dlopen_libs=
11319 darwin*)
11320 # if libdl is installed we need to link against it
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11322 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11323 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 ac_check_lib_save_LIBS=$LIBS
11327 LIBS="-ldl $LIBS"
11328 if test x$gcc_no_link = xyes; then
11329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char dlopen ();
11342 main ()
11344 return dlopen ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_dl_dlopen=yes
11351 else
11352 ac_cv_lib_dl_dlopen=no
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11359 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11360 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11361 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11362 else
11364 lt_cv_dlopen="dyld"
11365 lt_cv_dlopen_libs=
11366 lt_cv_dlopen_self=yes
11373 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11374 if test "x$ac_cv_func_shl_load" = x""yes; then :
11375 lt_cv_dlopen="shl_load"
11376 else
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11378 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11379 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11380 $as_echo_n "(cached) " >&6
11381 else
11382 ac_check_lib_save_LIBS=$LIBS
11383 LIBS="-ldld $LIBS"
11384 if test x$gcc_no_link = xyes; then
11385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11393 #ifdef __cplusplus
11394 extern "C"
11395 #endif
11396 char shl_load ();
11398 main ()
11400 return shl_load ();
11402 return 0;
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"; then :
11406 ac_cv_lib_dld_shl_load=yes
11407 else
11408 ac_cv_lib_dld_shl_load=no
11410 rm -f core conftest.err conftest.$ac_objext \
11411 conftest$ac_exeext conftest.$ac_ext
11412 LIBS=$ac_check_lib_save_LIBS
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11415 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11416 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11417 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11418 else
11419 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11420 if test "x$ac_cv_func_dlopen" = x""yes; then :
11421 lt_cv_dlopen="dlopen"
11422 else
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11424 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11425 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-ldl $LIBS"
11430 if test x$gcc_no_link = xyes; then
11431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char dlopen ();
11444 main ()
11446 return dlopen ();
11448 return 0;
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452 ac_cv_lib_dl_dlopen=yes
11453 else
11454 ac_cv_lib_dl_dlopen=no
11456 rm -f core conftest.err conftest.$ac_objext \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11461 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11462 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11463 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11464 else
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11466 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11467 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11468 $as_echo_n "(cached) " >&6
11469 else
11470 ac_check_lib_save_LIBS=$LIBS
11471 LIBS="-lsvld $LIBS"
11472 if test x$gcc_no_link = xyes; then
11473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11481 #ifdef __cplusplus
11482 extern "C"
11483 #endif
11484 char dlopen ();
11486 main ()
11488 return dlopen ();
11490 return 0;
11492 _ACEOF
11493 if ac_fn_c_try_link "$LINENO"; then :
11494 ac_cv_lib_svld_dlopen=yes
11495 else
11496 ac_cv_lib_svld_dlopen=no
11498 rm -f core conftest.err conftest.$ac_objext \
11499 conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_lib_save_LIBS
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11503 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11504 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11505 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11506 else
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11508 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11509 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11510 $as_echo_n "(cached) " >&6
11511 else
11512 ac_check_lib_save_LIBS=$LIBS
11513 LIBS="-ldld $LIBS"
11514 if test x$gcc_no_link = xyes; then
11515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11520 /* Override any GCC internal prototype to avoid an error.
11521 Use char because int might match the return type of a GCC
11522 builtin and then its argument prototype would still apply. */
11523 #ifdef __cplusplus
11524 extern "C"
11525 #endif
11526 char dld_link ();
11528 main ()
11530 return dld_link ();
11532 return 0;
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536 ac_cv_lib_dld_dld_link=yes
11537 else
11538 ac_cv_lib_dld_dld_link=no
11540 rm -f core conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11542 LIBS=$ac_check_lib_save_LIBS
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11545 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11546 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11547 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11566 esac
11568 if test "x$lt_cv_dlopen" != xno; then
11569 enable_dlopen=yes
11570 else
11571 enable_dlopen=no
11574 case $lt_cv_dlopen in
11575 dlopen)
11576 save_CPPFLAGS="$CPPFLAGS"
11577 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11579 save_LDFLAGS="$LDFLAGS"
11580 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11582 save_LIBS="$LIBS"
11583 LIBS="$lt_cv_dlopen_libs $LIBS"
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11586 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11587 if test "${lt_cv_dlopen_self+set}" = set; then :
11588 $as_echo_n "(cached) " >&6
11589 else
11590 if test "$cross_compiling" = yes; then :
11591 lt_cv_dlopen_self=cross
11592 else
11593 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11594 lt_status=$lt_dlunknown
11595 cat > conftest.$ac_ext <<_LT_EOF
11596 #line 11596 "configure"
11597 #include "confdefs.h"
11599 #if HAVE_DLFCN_H
11600 #include <dlfcn.h>
11601 #endif
11603 #include <stdio.h>
11605 #ifdef RTLD_GLOBAL
11606 # define LT_DLGLOBAL RTLD_GLOBAL
11607 #else
11608 # ifdef DL_GLOBAL
11609 # define LT_DLGLOBAL DL_GLOBAL
11610 # else
11611 # define LT_DLGLOBAL 0
11612 # endif
11613 #endif
11615 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11616 find out it does not work in some platform. */
11617 #ifndef LT_DLLAZY_OR_NOW
11618 # ifdef RTLD_LAZY
11619 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11620 # else
11621 # ifdef DL_LAZY
11622 # define LT_DLLAZY_OR_NOW DL_LAZY
11623 # else
11624 # ifdef RTLD_NOW
11625 # define LT_DLLAZY_OR_NOW RTLD_NOW
11626 # else
11627 # ifdef DL_NOW
11628 # define LT_DLLAZY_OR_NOW DL_NOW
11629 # else
11630 # define LT_DLLAZY_OR_NOW 0
11631 # endif
11632 # endif
11633 # endif
11634 # endif
11635 #endif
11637 /* When -fvisbility=hidden is used, assume the code has been annotated
11638 correspondingly for the symbols needed. */
11639 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11640 void fnord () __attribute__((visibility("default")));
11641 #endif
11643 void fnord () { int i=42; }
11644 int main ()
11646 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11647 int status = $lt_dlunknown;
11649 if (self)
11651 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11652 else
11654 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11655 else puts (dlerror ());
11657 /* dlclose (self); */
11659 else
11660 puts (dlerror ());
11662 return status;
11664 _LT_EOF
11665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11666 (eval $ac_link) 2>&5
11667 ac_status=$?
11668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11669 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11670 (./conftest; exit; ) >&5 2>/dev/null
11671 lt_status=$?
11672 case x$lt_status in
11673 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11674 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11675 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11676 esac
11677 else :
11678 # compilation failed
11679 lt_cv_dlopen_self=no
11682 rm -fr conftest*
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11687 $as_echo "$lt_cv_dlopen_self" >&6; }
11689 if test "x$lt_cv_dlopen_self" = xyes; then
11690 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11692 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11693 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11694 $as_echo_n "(cached) " >&6
11695 else
11696 if test "$cross_compiling" = yes; then :
11697 lt_cv_dlopen_self_static=cross
11698 else
11699 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11700 lt_status=$lt_dlunknown
11701 cat > conftest.$ac_ext <<_LT_EOF
11702 #line 11702 "configure"
11703 #include "confdefs.h"
11705 #if HAVE_DLFCN_H
11706 #include <dlfcn.h>
11707 #endif
11709 #include <stdio.h>
11711 #ifdef RTLD_GLOBAL
11712 # define LT_DLGLOBAL RTLD_GLOBAL
11713 #else
11714 # ifdef DL_GLOBAL
11715 # define LT_DLGLOBAL DL_GLOBAL
11716 # else
11717 # define LT_DLGLOBAL 0
11718 # endif
11719 #endif
11721 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11722 find out it does not work in some platform. */
11723 #ifndef LT_DLLAZY_OR_NOW
11724 # ifdef RTLD_LAZY
11725 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11726 # else
11727 # ifdef DL_LAZY
11728 # define LT_DLLAZY_OR_NOW DL_LAZY
11729 # else
11730 # ifdef RTLD_NOW
11731 # define LT_DLLAZY_OR_NOW RTLD_NOW
11732 # else
11733 # ifdef DL_NOW
11734 # define LT_DLLAZY_OR_NOW DL_NOW
11735 # else
11736 # define LT_DLLAZY_OR_NOW 0
11737 # endif
11738 # endif
11739 # endif
11740 # endif
11741 #endif
11743 /* When -fvisbility=hidden is used, assume the code has been annotated
11744 correspondingly for the symbols needed. */
11745 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11746 void fnord () __attribute__((visibility("default")));
11747 #endif
11749 void fnord () { int i=42; }
11750 int main ()
11752 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11753 int status = $lt_dlunknown;
11755 if (self)
11757 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11758 else
11760 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11761 else puts (dlerror ());
11763 /* dlclose (self); */
11765 else
11766 puts (dlerror ());
11768 return status;
11770 _LT_EOF
11771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11772 (eval $ac_link) 2>&5
11773 ac_status=$?
11774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11775 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11776 (./conftest; exit; ) >&5 2>/dev/null
11777 lt_status=$?
11778 case x$lt_status in
11779 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11780 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11781 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11782 esac
11783 else :
11784 # compilation failed
11785 lt_cv_dlopen_self_static=no
11788 rm -fr conftest*
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11793 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11796 CPPFLAGS="$save_CPPFLAGS"
11797 LDFLAGS="$save_LDFLAGS"
11798 LIBS="$save_LIBS"
11800 esac
11802 case $lt_cv_dlopen_self in
11803 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11804 *) enable_dlopen_self=unknown ;;
11805 esac
11807 case $lt_cv_dlopen_self_static in
11808 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11809 *) enable_dlopen_self_static=unknown ;;
11810 esac
11829 striplib=
11830 old_striplib=
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11832 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11833 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11834 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11835 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11837 $as_echo "yes" >&6; }
11838 else
11839 # FIXME - insert some real tests, host_os isn't really good enough
11840 case $host_os in
11841 darwin*)
11842 if test -n "$STRIP" ; then
11843 striplib="$STRIP -x"
11844 old_striplib="$STRIP -S"
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11846 $as_echo "yes" >&6; }
11847 else
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11849 $as_echo "no" >&6; }
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11854 $as_echo "no" >&6; }
11856 esac
11870 # Report which library types will actually be built
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11872 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11874 $as_echo "$can_build_shared" >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11877 $as_echo_n "checking whether to build shared libraries... " >&6; }
11878 test "$can_build_shared" = "no" && enable_shared=no
11880 # On AIX, shared libraries and static libraries use the same namespace, and
11881 # are all built from PIC.
11882 case $host_os in
11883 aix3*)
11884 test "$enable_shared" = yes && enable_static=no
11885 if test -n "$RANLIB"; then
11886 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11887 postinstall_cmds='$RANLIB $lib'
11891 aix[4-9]*)
11892 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11893 test "$enable_shared" = yes && enable_static=no
11896 esac
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11898 $as_echo "$enable_shared" >&6; }
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11901 $as_echo_n "checking whether to build static libraries... " >&6; }
11902 # Make sure either enable_shared or enable_static is yes.
11903 test "$enable_shared" = yes || enable_static=yes
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11905 $as_echo "$enable_static" >&6; }
11911 ac_ext=c
11912 ac_cpp='$CPP $CPPFLAGS'
11913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11917 CC="$lt_save_CC"
11919 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11920 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11921 (test "X$CXX" != "Xg++"))) ; then
11922 ac_ext=cpp
11923 ac_cpp='$CXXCPP $CPPFLAGS'
11924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11928 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11929 if test -z "$CXXCPP"; then
11930 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11931 $as_echo_n "(cached) " >&6
11932 else
11933 # Double quotes because CXXCPP needs to be expanded
11934 for CXXCPP in "$CXX -E" "/lib/cpp"
11936 ac_preproc_ok=false
11937 for ac_cxx_preproc_warn_flag in '' yes
11939 # Use a header file that comes with gcc, so configuring glibc
11940 # with a fresh cross-compiler works.
11941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11942 # <limits.h> exists even on freestanding compilers.
11943 # On the NeXT, cc -E runs the code through the compiler's parser,
11944 # not just through cpp. "Syntax error" is here to catch this case.
11945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11947 #ifdef __STDC__
11948 # include <limits.h>
11949 #else
11950 # include <assert.h>
11951 #endif
11952 Syntax error
11953 _ACEOF
11954 if ac_fn_cxx_try_cpp "$LINENO"; then :
11956 else
11957 # Broken: fails on valid input.
11958 continue
11960 rm -f conftest.err conftest.$ac_ext
11962 # OK, works on sane cases. Now check whether nonexistent headers
11963 # can be detected and how.
11964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11965 /* end confdefs.h. */
11966 #include <ac_nonexistent.h>
11967 _ACEOF
11968 if ac_fn_cxx_try_cpp "$LINENO"; then :
11969 # Broken: success on invalid input.
11970 continue
11971 else
11972 # Passes both tests.
11973 ac_preproc_ok=:
11974 break
11976 rm -f conftest.err conftest.$ac_ext
11978 done
11979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11980 rm -f conftest.err conftest.$ac_ext
11981 if $ac_preproc_ok; then :
11982 break
11985 done
11986 ac_cv_prog_CXXCPP=$CXXCPP
11989 CXXCPP=$ac_cv_prog_CXXCPP
11990 else
11991 ac_cv_prog_CXXCPP=$CXXCPP
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11994 $as_echo "$CXXCPP" >&6; }
11995 ac_preproc_ok=false
11996 for ac_cxx_preproc_warn_flag in '' yes
11998 # Use a header file that comes with gcc, so configuring glibc
11999 # with a fresh cross-compiler works.
12000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12001 # <limits.h> exists even on freestanding compilers.
12002 # On the NeXT, cc -E runs the code through the compiler's parser,
12003 # not just through cpp. "Syntax error" is here to catch this case.
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12006 #ifdef __STDC__
12007 # include <limits.h>
12008 #else
12009 # include <assert.h>
12010 #endif
12011 Syntax error
12012 _ACEOF
12013 if ac_fn_cxx_try_cpp "$LINENO"; then :
12015 else
12016 # Broken: fails on valid input.
12017 continue
12019 rm -f conftest.err conftest.$ac_ext
12021 # OK, works on sane cases. Now check whether nonexistent headers
12022 # can be detected and how.
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12025 #include <ac_nonexistent.h>
12026 _ACEOF
12027 if ac_fn_cxx_try_cpp "$LINENO"; then :
12028 # Broken: success on invalid input.
12029 continue
12030 else
12031 # Passes both tests.
12032 ac_preproc_ok=:
12033 break
12035 rm -f conftest.err conftest.$ac_ext
12037 done
12038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12039 rm -f conftest.err conftest.$ac_ext
12040 if $ac_preproc_ok; then :
12042 else
12043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12045 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12046 See \`config.log' for more details." "$LINENO" 5; }
12049 ac_ext=c
12050 ac_cpp='$CPP $CPPFLAGS'
12051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12055 else
12056 _lt_caught_CXX_error=yes
12059 ac_ext=cpp
12060 ac_cpp='$CXXCPP $CPPFLAGS'
12061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12065 archive_cmds_need_lc_CXX=no
12066 allow_undefined_flag_CXX=
12067 always_export_symbols_CXX=no
12068 archive_expsym_cmds_CXX=
12069 compiler_needs_object_CXX=no
12070 export_dynamic_flag_spec_CXX=
12071 hardcode_direct_CXX=no
12072 hardcode_direct_absolute_CXX=no
12073 hardcode_libdir_flag_spec_CXX=
12074 hardcode_libdir_flag_spec_ld_CXX=
12075 hardcode_libdir_separator_CXX=
12076 hardcode_minus_L_CXX=no
12077 hardcode_shlibpath_var_CXX=unsupported
12078 hardcode_automatic_CXX=no
12079 inherit_rpath_CXX=no
12080 module_cmds_CXX=
12081 module_expsym_cmds_CXX=
12082 link_all_deplibs_CXX=unknown
12083 old_archive_cmds_CXX=$old_archive_cmds
12084 reload_flag_CXX=$reload_flag
12085 reload_cmds_CXX=$reload_cmds
12086 no_undefined_flag_CXX=
12087 whole_archive_flag_spec_CXX=
12088 enable_shared_with_static_runtimes_CXX=no
12090 # Source file extension for C++ test sources.
12091 ac_ext=cpp
12093 # Object file extension for compiled C++ test sources.
12094 objext=o
12095 objext_CXX=$objext
12097 # No sense in running all these tests if we already determined that
12098 # the CXX compiler isn't working. Some variables (like enable_shared)
12099 # are currently assumed to apply to all compilers on this platform,
12100 # and will be corrupted by setting them based on a non-working compiler.
12101 if test "$_lt_caught_CXX_error" != yes; then
12102 # Code to be used in simple compile tests
12103 lt_simple_compile_test_code="int some_variable = 0;"
12105 # Code to be used in simple link tests
12106 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12108 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12115 # If no C compiler was specified, use CC.
12116 LTCC=${LTCC-"$CC"}
12118 # If no C compiler flags were specified, use CFLAGS.
12119 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12121 # Allow CC to be a program name with arguments.
12122 compiler=$CC
12125 # save warnings/boilerplate of simple test code
12126 ac_outfile=conftest.$ac_objext
12127 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12128 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12129 _lt_compiler_boilerplate=`cat conftest.err`
12130 $RM conftest*
12132 ac_outfile=conftest.$ac_objext
12133 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12134 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12135 _lt_linker_boilerplate=`cat conftest.err`
12136 $RM -r conftest*
12139 # Allow CC to be a program name with arguments.
12140 lt_save_CC=$CC
12141 lt_save_LD=$LD
12142 lt_save_GCC=$GCC
12143 GCC=$GXX
12144 lt_save_with_gnu_ld=$with_gnu_ld
12145 lt_save_path_LD=$lt_cv_path_LD
12146 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12147 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12148 else
12149 $as_unset lt_cv_prog_gnu_ld
12151 if test -n "${lt_cv_path_LDCXX+set}"; then
12152 lt_cv_path_LD=$lt_cv_path_LDCXX
12153 else
12154 $as_unset lt_cv_path_LD
12156 test -z "${LDCXX+set}" || LD=$LDCXX
12157 CC=${CXX-"c++"}
12158 compiler=$CC
12159 compiler_CXX=$CC
12160 for cc_temp in $compiler""; do
12161 case $cc_temp in
12162 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12163 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12164 \-*) ;;
12165 *) break;;
12166 esac
12167 done
12168 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12171 if test -n "$compiler"; then
12172 # We don't want -fno-exception when compiling C++ code, so set the
12173 # no_builtin_flag separately
12174 if test "$GXX" = yes; then
12175 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12176 else
12177 lt_prog_compiler_no_builtin_flag_CXX=
12180 if test "$GXX" = yes; then
12181 # Set up default GNU C++ configuration
12185 # Check whether --with-gnu-ld was given.
12186 if test "${with_gnu_ld+set}" = set; then :
12187 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12188 else
12189 with_gnu_ld=no
12192 ac_prog=ld
12193 if test "$GCC" = yes; then
12194 # Check if gcc -print-prog-name=ld gives a path.
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12196 $as_echo_n "checking for ld used by $CC... " >&6; }
12197 case $host in
12198 *-*-mingw*)
12199 # gcc leaves a trailing carriage return which upsets mingw
12200 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12202 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12203 esac
12204 case $ac_prog in
12205 # Accept absolute paths.
12206 [\\/]* | ?:[\\/]*)
12207 re_direlt='/[^/][^/]*/\.\./'
12208 # Canonicalize the pathname of ld
12209 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12210 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12211 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12212 done
12213 test -z "$LD" && LD="$ac_prog"
12216 # If it fails, then pretend we aren't using GCC.
12217 ac_prog=ld
12220 # If it is relative, then search for the first ld in PATH.
12221 with_gnu_ld=unknown
12223 esac
12224 elif test "$with_gnu_ld" = yes; then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12226 $as_echo_n "checking for GNU ld... " >&6; }
12227 else
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12229 $as_echo_n "checking for non-GNU ld... " >&6; }
12231 if test "${lt_cv_path_LD+set}" = set; then :
12232 $as_echo_n "(cached) " >&6
12233 else
12234 if test -z "$LD"; then
12235 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12236 for ac_dir in $PATH; do
12237 IFS="$lt_save_ifs"
12238 test -z "$ac_dir" && ac_dir=.
12239 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12240 lt_cv_path_LD="$ac_dir/$ac_prog"
12241 # Check to see if the program is GNU ld. I'd rather use --version,
12242 # but apparently some variants of GNU ld only accept -v.
12243 # Break only if it was the GNU/non-GNU ld that we prefer.
12244 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12245 *GNU* | *'with BFD'*)
12246 test "$with_gnu_ld" != no && break
12249 test "$with_gnu_ld" != yes && break
12251 esac
12253 done
12254 IFS="$lt_save_ifs"
12255 else
12256 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12260 LD="$lt_cv_path_LD"
12261 if test -n "$LD"; then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12263 $as_echo "$LD" >&6; }
12264 else
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12266 $as_echo "no" >&6; }
12268 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12270 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12271 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12272 $as_echo_n "(cached) " >&6
12273 else
12274 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12275 case `$LD -v 2>&1 </dev/null` in
12276 *GNU* | *'with BFD'*)
12277 lt_cv_prog_gnu_ld=yes
12280 lt_cv_prog_gnu_ld=no
12282 esac
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12285 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12286 with_gnu_ld=$lt_cv_prog_gnu_ld
12294 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12295 # archiving commands below assume that GNU ld is being used.
12296 if test "$with_gnu_ld" = yes; then
12297 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12298 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'
12300 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12301 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12303 # If archive_cmds runs LD, not CC, wlarc should be empty
12304 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12305 # investigate it a little bit more. (MM)
12306 wlarc='${wl}'
12308 # ancient GNU ld didn't support --whole-archive et. al.
12309 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12310 $GREP 'no-whole-archive' > /dev/null; then
12311 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12312 else
12313 whole_archive_flag_spec_CXX=
12315 else
12316 with_gnu_ld=no
12317 wlarc=
12319 # A generic and very simple default shared library creation
12320 # command for GNU C++ for the case where it uses the native
12321 # linker, instead of GNU ld. If possible, this setting should
12322 # overridden to take advantage of the native linker features on
12323 # the platform it is being used on.
12324 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12327 # Commands to make compiler produce verbose output that lists
12328 # what "hidden" libraries, object files and flags are used when
12329 # linking a shared library.
12330 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12332 else
12333 GXX=no
12334 with_gnu_ld=no
12335 wlarc=
12338 # PORTME: fill in a description of your system's C++ link characteristics
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12340 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12341 ld_shlibs_CXX=yes
12342 case $host_os in
12343 aix3*)
12344 # FIXME: insert proper C++ library support
12345 ld_shlibs_CXX=no
12347 aix[4-9]*)
12348 if test "$host_cpu" = ia64; then
12349 # On IA64, the linker does run time linking by default, so we don't
12350 # have to do anything special.
12351 aix_use_runtimelinking=no
12352 exp_sym_flag='-Bexport'
12353 no_entry_flag=""
12354 else
12355 aix_use_runtimelinking=no
12357 # Test if we are trying to use run time linking or normal
12358 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12359 # need to do runtime linking.
12360 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12361 for ld_flag in $LDFLAGS; do
12362 case $ld_flag in
12363 *-brtl*)
12364 aix_use_runtimelinking=yes
12365 break
12367 esac
12368 done
12370 esac
12372 exp_sym_flag='-bexport'
12373 no_entry_flag='-bnoentry'
12376 # When large executables or shared objects are built, AIX ld can
12377 # have problems creating the table of contents. If linking a library
12378 # or program results in "error TOC overflow" add -mminimal-toc to
12379 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12380 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12382 archive_cmds_CXX=''
12383 hardcode_direct_CXX=yes
12384 hardcode_direct_absolute_CXX=yes
12385 hardcode_libdir_separator_CXX=':'
12386 link_all_deplibs_CXX=yes
12387 file_list_spec_CXX='${wl}-f,'
12389 if test "$GXX" = yes; then
12390 case $host_os in aix4.[012]|aix4.[012].*)
12391 # We only want to do this on AIX 4.2 and lower, the check
12392 # below for broken collect2 doesn't work under 4.3+
12393 collect2name=`${CC} -print-prog-name=collect2`
12394 if test -f "$collect2name" &&
12395 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12396 then
12397 # We have reworked collect2
12399 else
12400 # We have old collect2
12401 hardcode_direct_CXX=unsupported
12402 # It fails to find uninstalled libraries when the uninstalled
12403 # path is not listed in the libpath. Setting hardcode_minus_L
12404 # to unsupported forces relinking
12405 hardcode_minus_L_CXX=yes
12406 hardcode_libdir_flag_spec_CXX='-L$libdir'
12407 hardcode_libdir_separator_CXX=
12409 esac
12410 shared_flag='-shared'
12411 if test "$aix_use_runtimelinking" = yes; then
12412 shared_flag="$shared_flag "'${wl}-G'
12414 else
12415 # not using gcc
12416 if test "$host_cpu" = ia64; then
12417 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12418 # chokes on -Wl,-G. The following line is correct:
12419 shared_flag='-G'
12420 else
12421 if test "$aix_use_runtimelinking" = yes; then
12422 shared_flag='${wl}-G'
12423 else
12424 shared_flag='${wl}-bM:SRE'
12429 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12430 # It seems that -bexpall does not export symbols beginning with
12431 # underscore (_), so it is better to generate a list of symbols to
12432 # export.
12433 always_export_symbols_CXX=yes
12434 if test "$aix_use_runtimelinking" = yes; then
12435 # Warning - without using the other runtime loading flags (-brtl),
12436 # -berok will link without error, but may produce a broken library.
12437 allow_undefined_flag_CXX='-berok'
12438 # Determine the default libpath from the value encoded in an empty
12439 # executable.
12440 if test x$gcc_no_link = xyes; then
12441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12447 main ()
12451 return 0;
12453 _ACEOF
12454 if ac_fn_cxx_try_link "$LINENO"; then :
12456 lt_aix_libpath_sed='
12457 /Import File Strings/,/^$/ {
12458 /^0/ {
12459 s/^0 *\(.*\)$/\1/
12463 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12464 # Check for a 64-bit object if we didn't find anything.
12465 if test -z "$aix_libpath"; then
12466 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12469 rm -f core conftest.err conftest.$ac_objext \
12470 conftest$ac_exeext conftest.$ac_ext
12471 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12473 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12475 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"
12476 else
12477 if test "$host_cpu" = ia64; then
12478 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12479 allow_undefined_flag_CXX="-z nodefs"
12480 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"
12481 else
12482 # Determine the default libpath from the value encoded in an
12483 # empty executable.
12484 if test x$gcc_no_link = xyes; then
12485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12491 main ()
12495 return 0;
12497 _ACEOF
12498 if ac_fn_cxx_try_link "$LINENO"; then :
12500 lt_aix_libpath_sed='
12501 /Import File Strings/,/^$/ {
12502 /^0/ {
12503 s/^0 *\(.*\)$/\1/
12507 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12508 # Check for a 64-bit object if we didn't find anything.
12509 if test -z "$aix_libpath"; then
12510 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12513 rm -f core conftest.err conftest.$ac_objext \
12514 conftest$ac_exeext conftest.$ac_ext
12515 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12517 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12518 # Warning - without using the other run time loading flags,
12519 # -berok will link without error, but may produce a broken library.
12520 no_undefined_flag_CXX=' ${wl}-bernotok'
12521 allow_undefined_flag_CXX=' ${wl}-berok'
12522 if test "$with_gnu_ld" = yes; then
12523 # We only use this code for GNU lds that support --whole-archive.
12524 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12525 else
12526 # Exported symbols can be pulled into shared objects from archives
12527 whole_archive_flag_spec_CXX='$convenience'
12529 archive_cmds_need_lc_CXX=yes
12530 # This is similar to how AIX traditionally builds its shared
12531 # libraries.
12532 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'
12537 beos*)
12538 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12539 allow_undefined_flag_CXX=unsupported
12540 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12541 # support --undefined. This deserves some investigation. FIXME
12542 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12543 else
12544 ld_shlibs_CXX=no
12548 chorus*)
12549 case $cc_basename in
12551 # FIXME: insert proper C++ library support
12552 ld_shlibs_CXX=no
12554 esac
12557 cygwin* | mingw* | pw32* | cegcc*)
12558 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12559 # as there is no search path for DLLs.
12560 hardcode_libdir_flag_spec_CXX='-L$libdir'
12561 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12562 allow_undefined_flag_CXX=unsupported
12563 always_export_symbols_CXX=no
12564 enable_shared_with_static_runtimes_CXX=yes
12566 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12567 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'
12568 # If the export-symbols file already is a .def file (1st line
12569 # is EXPORTS), use it as is; otherwise, prepend...
12570 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12571 cp $export_symbols $output_objdir/$soname.def;
12572 else
12573 echo EXPORTS > $output_objdir/$soname.def;
12574 cat $export_symbols >> $output_objdir/$soname.def;
12576 $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'
12577 else
12578 ld_shlibs_CXX=no
12581 darwin* | rhapsody*)
12584 archive_cmds_need_lc_CXX=no
12585 hardcode_direct_CXX=no
12586 hardcode_automatic_CXX=yes
12587 hardcode_shlibpath_var_CXX=unsupported
12588 if test "$lt_cv_ld_force_load" = "yes"; then
12589 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\"`'
12590 else
12591 whole_archive_flag_spec_CXX=''
12593 link_all_deplibs_CXX=yes
12594 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12595 case $cc_basename in
12596 ifort*) _lt_dar_can_shared=yes ;;
12597 *) _lt_dar_can_shared=$GCC ;;
12598 esac
12599 if test "$_lt_dar_can_shared" = "yes"; then
12600 output_verbose_link_cmd=func_echo_all
12601 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}"
12602 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12603 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}"
12604 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}"
12605 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12606 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}"
12607 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}"
12610 else
12611 ld_shlibs_CXX=no
12616 dgux*)
12617 case $cc_basename in
12618 ec++*)
12619 # FIXME: insert proper C++ library support
12620 ld_shlibs_CXX=no
12622 ghcx*)
12623 # Green Hills C++ Compiler
12624 # FIXME: insert proper C++ library support
12625 ld_shlibs_CXX=no
12628 # FIXME: insert proper C++ library support
12629 ld_shlibs_CXX=no
12631 esac
12634 freebsd2.*)
12635 # C++ shared libraries reported to be fairly broken before
12636 # switch to ELF
12637 ld_shlibs_CXX=no
12640 freebsd-elf*)
12641 archive_cmds_need_lc_CXX=no
12644 freebsd* | dragonfly*)
12645 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12646 # conventions
12647 ld_shlibs_CXX=yes
12650 gnu*)
12653 haiku*)
12654 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12655 link_all_deplibs_CXX=yes
12658 hpux9*)
12659 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12660 hardcode_libdir_separator_CXX=:
12661 export_dynamic_flag_spec_CXX='${wl}-E'
12662 hardcode_direct_CXX=yes
12663 hardcode_minus_L_CXX=yes # Not in the search PATH,
12664 # but as the default
12665 # location of the library.
12667 case $cc_basename in
12668 CC*)
12669 # FIXME: insert proper C++ library support
12670 ld_shlibs_CXX=no
12672 aCC*)
12673 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'
12674 # Commands to make compiler produce verbose output that lists
12675 # what "hidden" libraries, object files and flags are used when
12676 # linking a shared library.
12678 # There doesn't appear to be a way to prevent this compiler from
12679 # explicitly linking system object files so we need to strip them
12680 # from the output so that they don't get included in the library
12681 # dependencies.
12682 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"'
12685 if test "$GXX" = yes; then
12686 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'
12687 else
12688 # FIXME: insert proper C++ library support
12689 ld_shlibs_CXX=no
12692 esac
12695 hpux10*|hpux11*)
12696 if test $with_gnu_ld = no; then
12697 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12698 hardcode_libdir_separator_CXX=:
12700 case $host_cpu in
12701 hppa*64*|ia64*)
12704 export_dynamic_flag_spec_CXX='${wl}-E'
12706 esac
12708 case $host_cpu in
12709 hppa*64*|ia64*)
12710 hardcode_direct_CXX=no
12711 hardcode_shlibpath_var_CXX=no
12714 hardcode_direct_CXX=yes
12715 hardcode_direct_absolute_CXX=yes
12716 hardcode_minus_L_CXX=yes # Not in the search PATH,
12717 # but as the default
12718 # location of the library.
12720 esac
12722 case $cc_basename in
12723 CC*)
12724 # FIXME: insert proper C++ library support
12725 ld_shlibs_CXX=no
12727 aCC*)
12728 case $host_cpu in
12729 hppa*64*)
12730 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12732 ia64*)
12733 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12736 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12738 esac
12739 # Commands to make compiler produce verbose output that lists
12740 # what "hidden" libraries, object files and flags are used when
12741 # linking a shared library.
12743 # There doesn't appear to be a way to prevent this compiler from
12744 # explicitly linking system object files so we need to strip them
12745 # from the output so that they don't get included in the library
12746 # dependencies.
12747 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"'
12750 if test "$GXX" = yes; then
12751 if test $with_gnu_ld = no; then
12752 case $host_cpu in
12753 hppa*64*)
12754 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 ia64*)
12757 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12760 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'
12762 esac
12764 else
12765 # FIXME: insert proper C++ library support
12766 ld_shlibs_CXX=no
12769 esac
12772 interix[3-9]*)
12773 hardcode_direct_CXX=no
12774 hardcode_shlibpath_var_CXX=no
12775 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12776 export_dynamic_flag_spec_CXX='${wl}-E'
12777 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12778 # Instead, shared libraries are loaded at an image base (0x10000000 by
12779 # default) and relocated if they conflict, which is a slow very memory
12780 # consuming and fragmenting process. To avoid this, we pick a random,
12781 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12782 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12783 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'
12784 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'
12786 irix5* | irix6*)
12787 case $cc_basename in
12788 CC*)
12789 # SGI C++
12790 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'
12792 # Archives containing C++ object files must be created using
12793 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12794 # necessary to make sure instantiated templates are included
12795 # in the archive.
12796 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12799 if test "$GXX" = yes; then
12800 if test "$with_gnu_ld" = no; then
12801 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'
12802 else
12803 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'
12806 link_all_deplibs_CXX=yes
12808 esac
12809 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12810 hardcode_libdir_separator_CXX=:
12811 inherit_rpath_CXX=yes
12814 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12815 case $cc_basename in
12816 KCC*)
12817 # Kuck and Associates, Inc. (KAI) C++ Compiler
12819 # KCC will only create a shared library if the output file
12820 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12821 # to its proper name (with version) after linking.
12822 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'
12823 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'
12824 # Commands to make compiler produce verbose output that lists
12825 # what "hidden" libraries, object files and flags are used when
12826 # linking a shared library.
12828 # There doesn't appear to be a way to prevent this compiler from
12829 # explicitly linking system object files so we need to strip them
12830 # from the output so that they don't get included in the library
12831 # dependencies.
12832 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"'
12834 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12835 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12837 # Archives containing C++ object files must be created using
12838 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12839 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12841 icpc* | ecpc* )
12842 # Intel C++
12843 with_gnu_ld=yes
12844 # version 8.0 and above of icpc choke on multiply defined symbols
12845 # if we add $predep_objects and $postdep_objects, however 7.1 and
12846 # earlier do not add the objects themselves.
12847 case `$CC -V 2>&1` in
12848 *"Version 7."*)
12849 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12850 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'
12852 *) # Version 8.0 or newer
12853 tmp_idyn=
12854 case $host_cpu in
12855 ia64*) tmp_idyn=' -i_dynamic';;
12856 esac
12857 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12858 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'
12860 esac
12861 archive_cmds_need_lc_CXX=no
12862 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12863 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12864 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12866 pgCC* | pgcpp*)
12867 # Portland Group C++ compiler
12868 case `$CC -V` in
12869 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12870 prelink_cmds_CXX='tpldir=Template.dir~
12871 rm -rf $tpldir~
12872 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12873 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12874 old_archive_cmds_CXX='tpldir=Template.dir~
12875 rm -rf $tpldir~
12876 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12877 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12878 $RANLIB $oldlib'
12879 archive_cmds_CXX='tpldir=Template.dir~
12880 rm -rf $tpldir~
12881 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12882 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12883 archive_expsym_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 ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12888 *) # Version 6 and above use weak symbols
12889 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12890 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'
12892 esac
12894 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12895 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12896 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'
12898 cxx*)
12899 # Compaq C++
12900 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12901 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'
12903 runpath_var=LD_RUN_PATH
12904 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12905 hardcode_libdir_separator_CXX=:
12907 # Commands to make compiler produce verbose output that lists
12908 # what "hidden" libraries, object files and flags are used when
12909 # linking a shared library.
12911 # There doesn't appear to be a way to prevent this compiler from
12912 # explicitly linking system object files so we need to strip them
12913 # from the output so that they don't get included in the library
12914 # dependencies.
12915 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'
12917 xl* | mpixl* | bgxl*)
12918 # IBM XL 8.0 on PPC, with GNU ld
12919 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12920 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12921 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12922 if test "x$supports_anon_versioning" = xyes; then
12923 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12924 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12925 echo "local: *; };" >> $output_objdir/$libname.ver~
12926 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12930 case `$CC -V 2>&1 | sed 5q` in
12931 *Sun\ C*)
12932 # Sun C++ 5.9
12933 no_undefined_flag_CXX=' -zdefs'
12934 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12935 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'
12936 hardcode_libdir_flag_spec_CXX='-R$libdir'
12937 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'
12938 compiler_needs_object_CXX=yes
12940 # Not sure whether something based on
12941 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12942 # would be better.
12943 output_verbose_link_cmd='func_echo_all'
12945 # Archives containing C++ object files must be created using
12946 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12947 # necessary to make sure instantiated templates are included
12948 # in the archive.
12949 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12951 esac
12953 esac
12956 lynxos*)
12957 # FIXME: insert proper C++ library support
12958 ld_shlibs_CXX=no
12961 m88k*)
12962 # FIXME: insert proper C++ library support
12963 ld_shlibs_CXX=no
12966 mvs*)
12967 case $cc_basename in
12968 cxx*)
12969 # FIXME: insert proper C++ library support
12970 ld_shlibs_CXX=no
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12976 esac
12979 netbsd*)
12980 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12981 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12982 wlarc=
12983 hardcode_libdir_flag_spec_CXX='-R$libdir'
12984 hardcode_direct_CXX=yes
12985 hardcode_shlibpath_var_CXX=no
12987 # Workaround some broken pre-1.5 toolchains
12988 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12991 *nto* | *qnx*)
12992 ld_shlibs_CXX=yes
12995 openbsd2*)
12996 # C++ shared libraries are fairly broken
12997 ld_shlibs_CXX=no
13000 openbsd*)
13001 if test -f /usr/libexec/ld.so; then
13002 hardcode_direct_CXX=yes
13003 hardcode_shlibpath_var_CXX=no
13004 hardcode_direct_absolute_CXX=yes
13005 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13006 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13007 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13008 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13009 export_dynamic_flag_spec_CXX='${wl}-E'
13010 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13012 output_verbose_link_cmd=func_echo_all
13013 else
13014 ld_shlibs_CXX=no
13018 osf3* | osf4* | osf5*)
13019 case $cc_basename in
13020 KCC*)
13021 # Kuck and Associates, Inc. (KAI) C++ Compiler
13023 # KCC will only create a shared library if the output file
13024 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13025 # to its proper name (with version) after linking.
13026 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'
13028 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13029 hardcode_libdir_separator_CXX=:
13031 # Archives containing C++ object files must be created using
13032 # the KAI C++ compiler.
13033 case $host in
13034 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13035 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13036 esac
13038 RCC*)
13039 # Rational C++ 2.4.1
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13043 cxx*)
13044 case $host in
13045 osf3*)
13046 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13047 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'
13048 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13051 allow_undefined_flag_CXX=' -expect_unresolved \*'
13052 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'
13053 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13054 echo "-hidden">> $lib.exp~
13055 $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~
13056 $RM $lib.exp'
13057 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13059 esac
13061 hardcode_libdir_separator_CXX=:
13063 # Commands to make compiler produce verbose output that lists
13064 # what "hidden" libraries, object files and flags are used when
13065 # linking a shared library.
13067 # There doesn't appear to be a way to prevent this compiler from
13068 # explicitly linking system object files so we need to strip them
13069 # from the output so that they don't get included in the library
13070 # dependencies.
13071 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"'
13074 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13075 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13076 case $host in
13077 osf3*)
13078 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'
13081 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'
13083 esac
13085 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13086 hardcode_libdir_separator_CXX=:
13088 # Commands to make compiler produce verbose output that lists
13089 # what "hidden" libraries, object files and flags are used when
13090 # linking a shared library.
13091 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13093 else
13094 # FIXME: insert proper C++ library support
13095 ld_shlibs_CXX=no
13098 esac
13101 psos*)
13102 # FIXME: insert proper C++ library support
13103 ld_shlibs_CXX=no
13106 sunos4*)
13107 case $cc_basename in
13108 CC*)
13109 # Sun C++ 4.x
13110 # FIXME: insert proper C++ library support
13111 ld_shlibs_CXX=no
13113 lcc*)
13114 # Lucid
13115 # FIXME: insert proper C++ library support
13116 ld_shlibs_CXX=no
13119 # FIXME: insert proper C++ library support
13120 ld_shlibs_CXX=no
13122 esac
13125 solaris*)
13126 case $cc_basename in
13127 CC*)
13128 # Sun C++ 4.2, 5.x and Centerline C++
13129 archive_cmds_need_lc_CXX=yes
13130 no_undefined_flag_CXX=' -zdefs'
13131 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13132 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13133 $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'
13135 hardcode_libdir_flag_spec_CXX='-R$libdir'
13136 hardcode_shlibpath_var_CXX=no
13137 case $host_os in
13138 solaris2.[0-5] | solaris2.[0-5].*) ;;
13140 # The compiler driver will combine and reorder linker options,
13141 # but understands `-z linker_flag'.
13142 # Supported since Solaris 2.6 (maybe 2.5.1?)
13143 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13145 esac
13146 link_all_deplibs_CXX=yes
13148 output_verbose_link_cmd='func_echo_all'
13150 # Archives containing C++ object files must be created using
13151 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13152 # necessary to make sure instantiated templates are included
13153 # in the archive.
13154 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13156 gcx*)
13157 # Green Hills C++ Compiler
13158 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13160 # The C++ compiler must be used to create the archive.
13161 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13164 # GNU C++ compiler with Solaris linker
13165 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13166 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13167 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13168 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13169 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13170 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13172 # Commands to make compiler produce verbose output that lists
13173 # what "hidden" libraries, object files and flags are used when
13174 # linking a shared library.
13175 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13176 else
13177 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13178 # platform.
13179 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13180 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13181 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13183 # Commands to make compiler produce verbose output that lists
13184 # what "hidden" libraries, object files and flags are used when
13185 # linking a shared library.
13186 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13189 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13190 case $host_os in
13191 solaris2.[0-5] | solaris2.[0-5].*) ;;
13193 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13195 esac
13198 esac
13201 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13202 no_undefined_flag_CXX='${wl}-z,text'
13203 archive_cmds_need_lc_CXX=no
13204 hardcode_shlibpath_var_CXX=no
13205 runpath_var='LD_RUN_PATH'
13207 case $cc_basename in
13208 CC*)
13209 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13210 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 esac
13219 sysv5* | sco3.2v5* | sco5v6*)
13220 # Note: We can NOT use -z defs as we might desire, because we do not
13221 # link with -lc, and that would cause any symbols used from libc to
13222 # always be unresolved, which means just about no library would
13223 # ever link correctly. If we're not using GNU ld we use -z text
13224 # though, which does catch some bad symbols but isn't as heavy-handed
13225 # as -z defs.
13226 no_undefined_flag_CXX='${wl}-z,text'
13227 allow_undefined_flag_CXX='${wl}-z,nodefs'
13228 archive_cmds_need_lc_CXX=no
13229 hardcode_shlibpath_var_CXX=no
13230 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13231 hardcode_libdir_separator_CXX=':'
13232 link_all_deplibs_CXX=yes
13233 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13234 runpath_var='LD_RUN_PATH'
13236 case $cc_basename in
13237 CC*)
13238 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13239 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13241 '"$old_archive_cmds_CXX"
13242 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13243 '"$reload_cmds_CXX"
13246 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13247 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249 esac
13252 tandem*)
13253 case $cc_basename in
13254 NCC*)
13255 # NonStop-UX NCC 3.20
13256 # FIXME: insert proper C++ library support
13257 ld_shlibs_CXX=no
13260 # FIXME: insert proper C++ library support
13261 ld_shlibs_CXX=no
13263 esac
13266 vxworks*)
13267 # FIXME: insert proper C++ library support
13268 ld_shlibs_CXX=no
13272 # FIXME: insert proper C++ library support
13273 ld_shlibs_CXX=no
13275 esac
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13278 $as_echo "$ld_shlibs_CXX" >&6; }
13279 test "$ld_shlibs_CXX" = no && can_build_shared=no
13281 GCC_CXX="$GXX"
13282 LD_CXX="$LD"
13284 ## CAVEAT EMPTOR:
13285 ## There is no encapsulation within the following macros, do not change
13286 ## the running order or otherwise move them around unless you know exactly
13287 ## what you are doing...
13288 # Dependencies to place before and after the object being linked:
13289 predep_objects_CXX=
13290 postdep_objects_CXX=
13291 predeps_CXX=
13292 postdeps_CXX=
13293 compiler_lib_search_path_CXX=
13295 cat > conftest.$ac_ext <<_LT_EOF
13296 class Foo
13298 public:
13299 Foo (void) { a = 0; }
13300 private:
13301 int a;
13303 _LT_EOF
13305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13306 (eval $ac_compile) 2>&5
13307 ac_status=$?
13308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13309 test $ac_status = 0; }; then
13310 # Parse the compiler output and extract the necessary
13311 # objects, libraries and library flags.
13313 # Sentinel used to keep track of whether or not we are before
13314 # the conftest object file.
13315 pre_test_object_deps_done=no
13317 for p in `eval "$output_verbose_link_cmd"`; do
13318 case $p in
13320 -L* | -R* | -l*)
13321 # Some compilers place space between "-{L,R}" and the path.
13322 # Remove the space.
13323 if test $p = "-L" ||
13324 test $p = "-R"; then
13325 prev=$p
13326 continue
13327 else
13328 prev=
13331 if test "$pre_test_object_deps_done" = no; then
13332 case $p in
13333 -L* | -R*)
13334 # Internal compiler library paths should come after those
13335 # provided the user. The postdeps already come after the
13336 # user supplied libs so there is no need to process them.
13337 if test -z "$compiler_lib_search_path_CXX"; then
13338 compiler_lib_search_path_CXX="${prev}${p}"
13339 else
13340 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13343 # The "-l" case would never come before the object being
13344 # linked, so don't bother handling this case.
13345 esac
13346 else
13347 if test -z "$postdeps_CXX"; then
13348 postdeps_CXX="${prev}${p}"
13349 else
13350 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13355 *.$objext)
13356 # This assumes that the test object file only shows up
13357 # once in the compiler output.
13358 if test "$p" = "conftest.$objext"; then
13359 pre_test_object_deps_done=yes
13360 continue
13363 if test "$pre_test_object_deps_done" = no; then
13364 if test -z "$predep_objects_CXX"; then
13365 predep_objects_CXX="$p"
13366 else
13367 predep_objects_CXX="$predep_objects_CXX $p"
13369 else
13370 if test -z "$postdep_objects_CXX"; then
13371 postdep_objects_CXX="$p"
13372 else
13373 postdep_objects_CXX="$postdep_objects_CXX $p"
13378 *) ;; # Ignore the rest.
13380 esac
13381 done
13383 # Clean up.
13384 rm -f a.out a.exe
13385 else
13386 echo "libtool.m4: error: problem compiling CXX test program"
13389 $RM -f confest.$objext
13391 # PORTME: override above test on systems where it is broken
13392 case $host_os in
13393 interix[3-9]*)
13394 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13395 # hack all around it, let's just trust "g++" to DTRT.
13396 predep_objects_CXX=
13397 postdep_objects_CXX=
13398 postdeps_CXX=
13401 linux*)
13402 case `$CC -V 2>&1 | sed 5q` in
13403 *Sun\ C*)
13404 # Sun C++ 5.9
13406 # The more standards-conforming stlport4 library is
13407 # incompatible with the Cstd library. Avoid specifying
13408 # it if it's in CXXFLAGS. Ignore libCrun as
13409 # -library=stlport4 depends on it.
13410 case " $CXX $CXXFLAGS " in
13411 *" -library=stlport4 "*)
13412 solaris_use_stlport4=yes
13414 esac
13416 if test "$solaris_use_stlport4" != yes; then
13417 postdeps_CXX='-library=Cstd -library=Crun'
13420 esac
13423 solaris*)
13424 case $cc_basename in
13425 CC*)
13426 # The more standards-conforming stlport4 library is
13427 # incompatible with the Cstd library. Avoid specifying
13428 # it if it's in CXXFLAGS. Ignore libCrun as
13429 # -library=stlport4 depends on it.
13430 case " $CXX $CXXFLAGS " in
13431 *" -library=stlport4 "*)
13432 solaris_use_stlport4=yes
13434 esac
13436 # Adding this requires a known-good setup of shared libraries for
13437 # Sun compiler versions before 5.6, else PIC objects from an old
13438 # archive will be linked into the output, leading to subtle bugs.
13439 if test "$solaris_use_stlport4" != yes; then
13440 postdeps_CXX='-library=Cstd -library=Crun'
13443 esac
13445 esac
13448 case " $postdeps_CXX " in
13449 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13450 esac
13451 compiler_lib_search_dirs_CXX=
13452 if test -n "${compiler_lib_search_path_CXX}"; then
13453 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13486 lt_prog_compiler_wl_CXX=
13487 lt_prog_compiler_pic_CXX=
13488 lt_prog_compiler_static_CXX=
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13491 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13493 # C++ specific cases for pic, static, wl, etc.
13494 if test "$GXX" = yes; then
13495 lt_prog_compiler_wl_CXX='-Wl,'
13496 lt_prog_compiler_static_CXX='-static'
13498 case $host_os in
13499 aix*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13505 lt_prog_compiler_pic_CXX='-fPIC'
13508 amigaos*)
13509 case $host_cpu in
13510 powerpc)
13511 # see comment about AmigaOS4 .so support
13512 lt_prog_compiler_pic_CXX='-fPIC'
13514 m68k)
13515 # FIXME: we need at least 68020 code to build shared libraries, but
13516 # adding the `-m68020' flag to GCC prevents building anything better,
13517 # like `-m68040'.
13518 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13520 esac
13523 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13524 # PIC is the default for these OSes.
13526 mingw* | cygwin* | os2* | pw32* | cegcc*)
13527 # This hack is so that the source file can tell whether it is being
13528 # built for inclusion in a dll (and should export symbols for example).
13529 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13530 # (--disable-auto-import) libraries
13531 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13533 darwin* | rhapsody*)
13534 # PIC is the default on this platform
13535 # Common symbols not allowed in MH_DYLIB files
13536 lt_prog_compiler_pic_CXX='-fno-common'
13538 *djgpp*)
13539 # DJGPP does not support shared libraries at all
13540 lt_prog_compiler_pic_CXX=
13542 haiku*)
13543 # PIC is the default for Haiku.
13544 # The "-static" flag exists, but is broken.
13545 lt_prog_compiler_static_CXX=
13547 interix[3-9]*)
13548 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13549 # Instead, we relocate shared libraries at runtime.
13551 sysv4*MP*)
13552 if test -d /usr/nec; then
13553 lt_prog_compiler_pic_CXX=-Kconform_pic
13556 hpux*)
13557 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13558 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13559 # sets the default TLS model and affects inlining.
13560 case $host_cpu in
13561 hppa*64*)
13564 lt_prog_compiler_pic_CXX='-fPIC'
13566 esac
13568 *qnx* | *nto*)
13569 # QNX uses GNU C++, but need to define -shared option too, otherwise
13570 # it will coredump.
13571 lt_prog_compiler_pic_CXX='-fPIC -shared'
13574 lt_prog_compiler_pic_CXX='-fPIC'
13576 esac
13577 else
13578 case $host_os in
13579 aix[4-9]*)
13580 # All AIX code is PIC.
13581 if test "$host_cpu" = ia64; then
13582 # AIX 5 now supports IA64 processor
13583 lt_prog_compiler_static_CXX='-Bstatic'
13584 else
13585 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13588 chorus*)
13589 case $cc_basename in
13590 cxch68*)
13591 # Green Hills C++ Compiler
13592 # _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"
13594 esac
13596 dgux*)
13597 case $cc_basename in
13598 ec++*)
13599 lt_prog_compiler_pic_CXX='-KPIC'
13601 ghcx*)
13602 # Green Hills C++ Compiler
13603 lt_prog_compiler_pic_CXX='-pic'
13607 esac
13609 freebsd* | dragonfly*)
13610 # FreeBSD uses GNU C++
13612 hpux9* | hpux10* | hpux11*)
13613 case $cc_basename in
13614 CC*)
13615 lt_prog_compiler_wl_CXX='-Wl,'
13616 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13617 if test "$host_cpu" != ia64; then
13618 lt_prog_compiler_pic_CXX='+Z'
13621 aCC*)
13622 lt_prog_compiler_wl_CXX='-Wl,'
13623 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13624 case $host_cpu in
13625 hppa*64*|ia64*)
13626 # +Z the default
13629 lt_prog_compiler_pic_CXX='+Z'
13631 esac
13635 esac
13637 interix*)
13638 # This is c89, which is MS Visual C++ (no shared libs)
13639 # Anyone wants to do a port?
13641 irix5* | irix6* | nonstopux*)
13642 case $cc_basename in
13643 CC*)
13644 lt_prog_compiler_wl_CXX='-Wl,'
13645 lt_prog_compiler_static_CXX='-non_shared'
13646 # CC pic flag -KPIC is the default.
13650 esac
13652 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13653 case $cc_basename in
13654 KCC*)
13655 # KAI C++ Compiler
13656 lt_prog_compiler_wl_CXX='--backend -Wl,'
13657 lt_prog_compiler_pic_CXX='-fPIC'
13659 ecpc* )
13660 # old Intel C++ for x86_64 which still supported -KPIC.
13661 lt_prog_compiler_wl_CXX='-Wl,'
13662 lt_prog_compiler_pic_CXX='-KPIC'
13663 lt_prog_compiler_static_CXX='-static'
13665 icpc* )
13666 # Intel C++, used to be incompatible with GCC.
13667 # ICC 10 doesn't accept -KPIC any more.
13668 lt_prog_compiler_wl_CXX='-Wl,'
13669 lt_prog_compiler_pic_CXX='-fPIC'
13670 lt_prog_compiler_static_CXX='-static'
13672 pgCC* | pgcpp*)
13673 # Portland Group C++ compiler
13674 lt_prog_compiler_wl_CXX='-Wl,'
13675 lt_prog_compiler_pic_CXX='-fpic'
13676 lt_prog_compiler_static_CXX='-Bstatic'
13678 cxx*)
13679 # Compaq C++
13680 # Make sure the PIC flag is empty. It appears that all Alpha
13681 # Linux and Compaq Tru64 Unix objects are PIC.
13682 lt_prog_compiler_pic_CXX=
13683 lt_prog_compiler_static_CXX='-non_shared'
13685 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13686 # IBM XL 8.0, 9.0 on PPC and BlueGene
13687 lt_prog_compiler_wl_CXX='-Wl,'
13688 lt_prog_compiler_pic_CXX='-qpic'
13689 lt_prog_compiler_static_CXX='-qstaticlink'
13692 case `$CC -V 2>&1 | sed 5q` in
13693 *Sun\ C*)
13694 # Sun C++ 5.9
13695 lt_prog_compiler_pic_CXX='-KPIC'
13696 lt_prog_compiler_static_CXX='-Bstatic'
13697 lt_prog_compiler_wl_CXX='-Qoption ld '
13699 esac
13701 esac
13703 lynxos*)
13705 m88k*)
13707 mvs*)
13708 case $cc_basename in
13709 cxx*)
13710 lt_prog_compiler_pic_CXX='-W c,exportall'
13714 esac
13716 netbsd*)
13718 *qnx* | *nto*)
13719 # QNX uses GNU C++, but need to define -shared option too, otherwise
13720 # it will coredump.
13721 lt_prog_compiler_pic_CXX='-fPIC -shared'
13723 osf3* | osf4* | osf5*)
13724 case $cc_basename in
13725 KCC*)
13726 lt_prog_compiler_wl_CXX='--backend -Wl,'
13728 RCC*)
13729 # Rational C++ 2.4.1
13730 lt_prog_compiler_pic_CXX='-pic'
13732 cxx*)
13733 # Digital/Compaq C++
13734 lt_prog_compiler_wl_CXX='-Wl,'
13735 # Make sure the PIC flag is empty. It appears that all Alpha
13736 # Linux and Compaq Tru64 Unix objects are PIC.
13737 lt_prog_compiler_pic_CXX=
13738 lt_prog_compiler_static_CXX='-non_shared'
13742 esac
13744 psos*)
13746 solaris*)
13747 case $cc_basename in
13748 CC*)
13749 # Sun C++ 4.2, 5.x and Centerline C++
13750 lt_prog_compiler_pic_CXX='-KPIC'
13751 lt_prog_compiler_static_CXX='-Bstatic'
13752 lt_prog_compiler_wl_CXX='-Qoption ld '
13754 gcx*)
13755 # Green Hills C++ Compiler
13756 lt_prog_compiler_pic_CXX='-PIC'
13760 esac
13762 sunos4*)
13763 case $cc_basename in
13764 CC*)
13765 # Sun C++ 4.x
13766 lt_prog_compiler_pic_CXX='-pic'
13767 lt_prog_compiler_static_CXX='-Bstatic'
13769 lcc*)
13770 # Lucid
13771 lt_prog_compiler_pic_CXX='-pic'
13775 esac
13777 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13778 case $cc_basename in
13779 CC*)
13780 lt_prog_compiler_wl_CXX='-Wl,'
13781 lt_prog_compiler_pic_CXX='-KPIC'
13782 lt_prog_compiler_static_CXX='-Bstatic'
13784 esac
13786 tandem*)
13787 case $cc_basename in
13788 NCC*)
13789 # NonStop-UX NCC 3.20
13790 lt_prog_compiler_pic_CXX='-KPIC'
13794 esac
13796 vxworks*)
13799 lt_prog_compiler_can_build_shared_CXX=no
13801 esac
13804 case $host_os in
13805 # For platforms which do not support PIC, -DPIC is meaningless:
13806 *djgpp*)
13807 lt_prog_compiler_pic_CXX=
13810 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13812 esac
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13814 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13819 # Check to make sure the PIC flag actually works.
13821 if test -n "$lt_prog_compiler_pic_CXX"; then
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13823 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13824 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13825 $as_echo_n "(cached) " >&6
13826 else
13827 lt_cv_prog_compiler_pic_works_CXX=no
13828 ac_outfile=conftest.$ac_objext
13829 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13830 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13831 # Insert the option either (1) after the last *FLAGS variable, or
13832 # (2) before a word containing "conftest.", or (3) at the end.
13833 # Note that $ac_compile itself does not contain backslashes and begins
13834 # with a dollar sign (not a hyphen), so the echo should work correctly.
13835 # The option is referenced via a variable to avoid confusing sed.
13836 lt_compile=`echo "$ac_compile" | $SED \
13837 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13838 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13839 -e 's:$: $lt_compiler_flag:'`
13840 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13841 (eval "$lt_compile" 2>conftest.err)
13842 ac_status=$?
13843 cat conftest.err >&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 if (exit $ac_status) && test -s "$ac_outfile"; then
13846 # The compiler can only warn and ignore the option if not recognized
13847 # So say no if there are warnings other than the usual output.
13848 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13849 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13850 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13851 lt_cv_prog_compiler_pic_works_CXX=yes
13854 $RM conftest*
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13858 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13860 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13861 case $lt_prog_compiler_pic_CXX in
13862 "" | " "*) ;;
13863 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13864 esac
13865 else
13866 lt_prog_compiler_pic_CXX=
13867 lt_prog_compiler_can_build_shared_CXX=no
13875 # Check to make sure the static flag actually works.
13877 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13879 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13880 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 lt_cv_prog_compiler_static_works_CXX=no
13884 save_LDFLAGS="$LDFLAGS"
13885 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13886 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13887 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13888 # The linker can only warn and ignore the option if not recognized
13889 # So say no if there are warnings
13890 if test -s conftest.err; then
13891 # Append any errors to the config.log.
13892 cat conftest.err 1>&5
13893 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13894 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13895 if diff conftest.exp conftest.er2 >/dev/null; then
13896 lt_cv_prog_compiler_static_works_CXX=yes
13898 else
13899 lt_cv_prog_compiler_static_works_CXX=yes
13902 $RM -r conftest*
13903 LDFLAGS="$save_LDFLAGS"
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13907 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13909 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13911 else
13912 lt_prog_compiler_static_CXX=
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13919 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13920 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13921 $as_echo_n "(cached) " >&6
13922 else
13923 lt_cv_prog_compiler_c_o_CXX=no
13924 $RM -r conftest 2>/dev/null
13925 mkdir conftest
13926 cd conftest
13927 mkdir out
13928 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13930 lt_compiler_flag="-o out/conftest2.$ac_objext"
13931 # Insert the option either (1) after the last *FLAGS variable, or
13932 # (2) before a word containing "conftest.", or (3) at the end.
13933 # Note that $ac_compile itself does not contain backslashes and begins
13934 # with a dollar sign (not a hyphen), so the echo should work correctly.
13935 lt_compile=`echo "$ac_compile" | $SED \
13936 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13937 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13938 -e 's:$: $lt_compiler_flag:'`
13939 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13940 (eval "$lt_compile" 2>out/conftest.err)
13941 ac_status=$?
13942 cat out/conftest.err >&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13945 then
13946 # The compiler can only warn and ignore the option if not recognized
13947 # So say no if there are warnings
13948 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13949 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13950 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13951 lt_cv_prog_compiler_c_o_CXX=yes
13954 chmod u+w . 2>&5
13955 $RM conftest*
13956 # SGI C++ compiler will create directory out/ii_files/ for
13957 # template instantiation
13958 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13959 $RM out/* && rmdir out
13960 cd ..
13961 $RM -r conftest
13962 $RM conftest*
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13966 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13971 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13972 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13973 $as_echo_n "(cached) " >&6
13974 else
13975 lt_cv_prog_compiler_c_o_CXX=no
13976 $RM -r conftest 2>/dev/null
13977 mkdir conftest
13978 cd conftest
13979 mkdir out
13980 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13982 lt_compiler_flag="-o out/conftest2.$ac_objext"
13983 # Insert the option either (1) after the last *FLAGS variable, or
13984 # (2) before a word containing "conftest.", or (3) at the end.
13985 # Note that $ac_compile itself does not contain backslashes and begins
13986 # with a dollar sign (not a hyphen), so the echo should work correctly.
13987 lt_compile=`echo "$ac_compile" | $SED \
13988 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13989 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13990 -e 's:$: $lt_compiler_flag:'`
13991 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13992 (eval "$lt_compile" 2>out/conftest.err)
13993 ac_status=$?
13994 cat out/conftest.err >&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13997 then
13998 # The compiler can only warn and ignore the option if not recognized
13999 # So say no if there are warnings
14000 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14001 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14002 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14003 lt_cv_prog_compiler_c_o_CXX=yes
14006 chmod u+w . 2>&5
14007 $RM conftest*
14008 # SGI C++ compiler will create directory out/ii_files/ for
14009 # template instantiation
14010 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14011 $RM out/* && rmdir out
14012 cd ..
14013 $RM -r conftest
14014 $RM conftest*
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14018 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14023 hard_links="nottested"
14024 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14025 # do not overwrite the value of need_locks provided by the user
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14027 $as_echo_n "checking if we can lock with hard links... " >&6; }
14028 hard_links=yes
14029 $RM conftest*
14030 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14031 touch conftest.a
14032 ln conftest.a conftest.b 2>&5 || hard_links=no
14033 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14035 $as_echo "$hard_links" >&6; }
14036 if test "$hard_links" = no; then
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14038 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14039 need_locks=warn
14041 else
14042 need_locks=no
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14048 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14050 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14051 case $host_os in
14052 aix[4-9]*)
14053 # If we're using GNU nm, then we don't want the "-C" option.
14054 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14055 # Also, AIX nm treats weak defined symbols like other global defined
14056 # symbols, whereas GNU nm marks them as "W".
14057 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14058 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'
14059 else
14060 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14063 pw32*)
14064 export_symbols_cmds_CXX="$ltdll_cmds"
14066 cygwin* | mingw* | cegcc*)
14067 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'
14070 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14072 esac
14073 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14076 $as_echo "$ld_shlibs_CXX" >&6; }
14077 test "$ld_shlibs_CXX" = no && can_build_shared=no
14079 with_gnu_ld_CXX=$with_gnu_ld
14087 # Do we need to explicitly link libc?
14089 case "x$archive_cmds_need_lc_CXX" in
14090 x|xyes)
14091 # Assume -lc should be added
14092 archive_cmds_need_lc_CXX=yes
14094 if test "$enable_shared" = yes && test "$GCC" = yes; then
14095 case $archive_cmds_CXX in
14096 *'~'*)
14097 # FIXME: we may have to deal with multi-command sequences.
14099 '$CC '*)
14100 # Test whether the compiler implicitly links with -lc since on some
14101 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14102 # to ld, don't add -lc before -lgcc.
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14104 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14105 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14106 $as_echo_n "(cached) " >&6
14107 else
14108 $RM conftest*
14109 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14111 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14112 (eval $ac_compile) 2>&5
14113 ac_status=$?
14114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14115 test $ac_status = 0; } 2>conftest.err; then
14116 soname=conftest
14117 lib=conftest
14118 libobjs=conftest.$ac_objext
14119 deplibs=
14120 wl=$lt_prog_compiler_wl_CXX
14121 pic_flag=$lt_prog_compiler_pic_CXX
14122 compiler_flags=-v
14123 linker_flags=-v
14124 verstring=
14125 output_objdir=.
14126 libname=conftest
14127 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14128 allow_undefined_flag_CXX=
14129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14130 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14131 ac_status=$?
14132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14133 test $ac_status = 0; }
14134 then
14135 lt_cv_archive_cmds_need_lc_CXX=no
14136 else
14137 lt_cv_archive_cmds_need_lc_CXX=yes
14139 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14140 else
14141 cat conftest.err 1>&5
14143 $RM conftest*
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14147 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14148 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14150 esac
14153 esac
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14219 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14221 library_names_spec=
14222 libname_spec='lib$name'
14223 soname_spec=
14224 shrext_cmds=".so"
14225 postinstall_cmds=
14226 postuninstall_cmds=
14227 finish_cmds=
14228 finish_eval=
14229 shlibpath_var=
14230 shlibpath_overrides_runpath=unknown
14231 version_type=none
14232 dynamic_linker="$host_os ld.so"
14233 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14234 need_lib_prefix=unknown
14235 hardcode_into_libs=no
14237 # when you set need_version to no, make sure it does not cause -set_version
14238 # flags to be left without arguments
14239 need_version=unknown
14241 case $host_os in
14242 aix3*)
14243 version_type=linux
14244 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14245 shlibpath_var=LIBPATH
14247 # AIX 3 has no versioning support, so we append a major version to the name.
14248 soname_spec='${libname}${release}${shared_ext}$major'
14251 aix[4-9]*)
14252 version_type=linux
14253 need_lib_prefix=no
14254 need_version=no
14255 hardcode_into_libs=yes
14256 if test "$host_cpu" = ia64; then
14257 # AIX 5 supports IA64
14258 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14259 shlibpath_var=LD_LIBRARY_PATH
14260 else
14261 # With GCC up to 2.95.x, collect2 would create an import file
14262 # for dependence libraries. The import file would start with
14263 # the line `#! .'. This would cause the generated library to
14264 # depend on `.', always an invalid library. This was fixed in
14265 # development snapshots of GCC prior to 3.0.
14266 case $host_os in
14267 aix4 | aix4.[01] | aix4.[01].*)
14268 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14269 echo ' yes '
14270 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14272 else
14273 can_build_shared=no
14276 esac
14277 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14278 # soname into executable. Probably we can add versioning support to
14279 # collect2, so additional links can be useful in future.
14280 if test "$aix_use_runtimelinking" = yes; then
14281 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14282 # instead of lib<name>.a to let people know that these are not
14283 # typical AIX shared libraries.
14284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14285 else
14286 # We preserve .a as extension for shared libraries through AIX4.2
14287 # and later when we are not doing run time linking.
14288 library_names_spec='${libname}${release}.a $libname.a'
14289 soname_spec='${libname}${release}${shared_ext}$major'
14291 shlibpath_var=LIBPATH
14295 amigaos*)
14296 case $host_cpu in
14297 powerpc)
14298 # Since July 2007 AmigaOS4 officially supports .so libraries.
14299 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14302 m68k)
14303 library_names_spec='$libname.ixlibrary $libname.a'
14304 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14305 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'
14307 esac
14310 beos*)
14311 library_names_spec='${libname}${shared_ext}'
14312 dynamic_linker="$host_os ld.so"
14313 shlibpath_var=LIBRARY_PATH
14316 bsdi[45]*)
14317 version_type=linux
14318 need_version=no
14319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14320 soname_spec='${libname}${release}${shared_ext}$major'
14321 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14322 shlibpath_var=LD_LIBRARY_PATH
14323 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14324 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14325 # the default ld.so.conf also contains /usr/contrib/lib and
14326 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14327 # libtool to hard-code these into programs
14330 cygwin* | mingw* | pw32* | cegcc*)
14331 version_type=windows
14332 shrext_cmds=".dll"
14333 need_version=no
14334 need_lib_prefix=no
14336 case $GCC,$host_os in
14337 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14338 library_names_spec='$libname.dll.a'
14339 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14340 postinstall_cmds='base_file=`basename \${file}`~
14341 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14342 dldir=$destdir/`dirname \$dlpath`~
14343 test -d \$dldir || mkdir -p \$dldir~
14344 $install_prog $dir/$dlname \$dldir/$dlname~
14345 chmod a+x \$dldir/$dlname~
14346 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14347 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14349 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14350 dlpath=$dir/\$dldll~
14351 $RM \$dlpath'
14352 shlibpath_overrides_runpath=yes
14354 case $host_os in
14355 cygwin*)
14356 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14357 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14360 mingw* | cegcc*)
14361 # MinGW DLLs use traditional 'lib' prefix
14362 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14364 pw32*)
14365 # pw32 DLLs use 'pw' prefix rather than 'lib'
14366 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 esac
14372 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14374 esac
14375 dynamic_linker='Win32 ld.exe'
14376 # FIXME: first we should search . and the directory the executable is in
14377 shlibpath_var=PATH
14380 darwin* | rhapsody*)
14381 dynamic_linker="$host_os dyld"
14382 version_type=darwin
14383 need_lib_prefix=no
14384 need_version=no
14385 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14386 soname_spec='${libname}${release}${major}$shared_ext'
14387 shlibpath_overrides_runpath=yes
14388 shlibpath_var=DYLD_LIBRARY_PATH
14389 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14391 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14394 dgux*)
14395 version_type=linux
14396 need_lib_prefix=no
14397 need_version=no
14398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14399 soname_spec='${libname}${release}${shared_ext}$major'
14400 shlibpath_var=LD_LIBRARY_PATH
14403 freebsd* | dragonfly*)
14404 # DragonFly does not have aout. When/if they implement a new
14405 # versioning mechanism, adjust this.
14406 if test -x /usr/bin/objformat; then
14407 objformat=`/usr/bin/objformat`
14408 else
14409 case $host_os in
14410 freebsd[23].*) objformat=aout ;;
14411 *) objformat=elf ;;
14412 esac
14414 version_type=freebsd-$objformat
14415 case $version_type in
14416 freebsd-elf*)
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14418 need_version=no
14419 need_lib_prefix=no
14421 freebsd-*)
14422 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14423 need_version=yes
14425 esac
14426 shlibpath_var=LD_LIBRARY_PATH
14427 case $host_os in
14428 freebsd2.*)
14429 shlibpath_overrides_runpath=yes
14431 freebsd3.[01]* | freebsdelf3.[01]*)
14432 shlibpath_overrides_runpath=yes
14433 hardcode_into_libs=yes
14435 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14436 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14437 shlibpath_overrides_runpath=no
14438 hardcode_into_libs=yes
14440 *) # from 4.6 on, and DragonFly
14441 shlibpath_overrides_runpath=yes
14442 hardcode_into_libs=yes
14444 esac
14447 gnu*)
14448 version_type=linux
14449 need_lib_prefix=no
14450 need_version=no
14451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14452 soname_spec='${libname}${release}${shared_ext}$major'
14453 shlibpath_var=LD_LIBRARY_PATH
14454 hardcode_into_libs=yes
14457 haiku*)
14458 version_type=linux
14459 need_lib_prefix=no
14460 need_version=no
14461 dynamic_linker="$host_os runtime_loader"
14462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14463 soname_spec='${libname}${release}${shared_ext}$major'
14464 shlibpath_var=LIBRARY_PATH
14465 shlibpath_overrides_runpath=yes
14466 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14467 hardcode_into_libs=yes
14470 hpux9* | hpux10* | hpux11*)
14471 # Give a soname corresponding to the major version so that dld.sl refuses to
14472 # link against other versions.
14473 version_type=sunos
14474 need_lib_prefix=no
14475 need_version=no
14476 case $host_cpu in
14477 ia64*)
14478 shrext_cmds='.so'
14479 hardcode_into_libs=yes
14480 dynamic_linker="$host_os dld.so"
14481 shlibpath_var=LD_LIBRARY_PATH
14482 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14484 soname_spec='${libname}${release}${shared_ext}$major'
14485 if test "X$HPUX_IA64_MODE" = X32; then
14486 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14487 else
14488 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14490 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14492 hppa*64*)
14493 shrext_cmds='.sl'
14494 hardcode_into_libs=yes
14495 dynamic_linker="$host_os dld.sl"
14496 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14497 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14499 soname_spec='${libname}${release}${shared_ext}$major'
14500 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14501 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14504 shrext_cmds='.sl'
14505 dynamic_linker="$host_os dld.sl"
14506 shlibpath_var=SHLIB_PATH
14507 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14509 soname_spec='${libname}${release}${shared_ext}$major'
14511 esac
14512 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14513 postinstall_cmds='chmod 555 $lib'
14514 # or fails outright, so override atomically:
14515 install_override_mode=555
14518 interix[3-9]*)
14519 version_type=linux
14520 need_lib_prefix=no
14521 need_version=no
14522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14523 soname_spec='${libname}${release}${shared_ext}$major'
14524 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14525 shlibpath_var=LD_LIBRARY_PATH
14526 shlibpath_overrides_runpath=no
14527 hardcode_into_libs=yes
14530 irix5* | irix6* | nonstopux*)
14531 case $host_os in
14532 nonstopux*) version_type=nonstopux ;;
14534 if test "$lt_cv_prog_gnu_ld" = yes; then
14535 version_type=linux
14536 else
14537 version_type=irix
14538 fi ;;
14539 esac
14540 need_lib_prefix=no
14541 need_version=no
14542 soname_spec='${libname}${release}${shared_ext}$major'
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14544 case $host_os in
14545 irix5* | nonstopux*)
14546 libsuff= shlibsuff=
14549 case $LD in # libtool.m4 will add one of these switches to LD
14550 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14551 libsuff= shlibsuff= libmagic=32-bit;;
14552 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14553 libsuff=32 shlibsuff=N32 libmagic=N32;;
14554 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14555 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14556 *) libsuff= shlibsuff= libmagic=never-match;;
14557 esac
14559 esac
14560 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14561 shlibpath_overrides_runpath=no
14562 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14563 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14564 hardcode_into_libs=yes
14567 # No shared lib support for Linux oldld, aout, or coff.
14568 linux*oldld* | linux*aout* | linux*coff*)
14569 dynamic_linker=no
14572 # This must be Linux ELF.
14573 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14574 version_type=linux
14575 need_lib_prefix=no
14576 need_version=no
14577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14578 soname_spec='${libname}${release}${shared_ext}$major'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14580 shlibpath_var=LD_LIBRARY_PATH
14581 shlibpath_overrides_runpath=no
14583 # Some binutils ld are patched to set DT_RUNPATH
14584 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14585 $as_echo_n "(cached) " >&6
14586 else
14587 lt_cv_shlibpath_overrides_runpath=no
14588 save_LDFLAGS=$LDFLAGS
14589 save_libdir=$libdir
14590 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14591 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14592 if test x$gcc_no_link = xyes; then
14593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14599 main ()
14603 return 0;
14605 _ACEOF
14606 if ac_fn_cxx_try_link "$LINENO"; then :
14607 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14608 lt_cv_shlibpath_overrides_runpath=yes
14611 rm -f core conftest.err conftest.$ac_objext \
14612 conftest$ac_exeext conftest.$ac_ext
14613 LDFLAGS=$save_LDFLAGS
14614 libdir=$save_libdir
14618 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14620 # This implies no fast_install, which is unacceptable.
14621 # Some rework will be needed to allow for fast_install
14622 # before this can be enabled.
14623 hardcode_into_libs=yes
14625 # Append ld.so.conf contents to the search path
14626 if test -f /etc/ld.so.conf; then
14627 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' ' '`
14628 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14631 # We used to test for /lib/ld.so.1 and disable shared libraries on
14632 # powerpc, because MkLinux only supported shared libraries with the
14633 # GNU dynamic linker. Since this was broken with cross compilers,
14634 # most powerpc-linux boxes support dynamic linking these days and
14635 # people can always --disable-shared, the test was removed, and we
14636 # assume the GNU/Linux dynamic linker is in use.
14637 dynamic_linker='GNU/Linux ld.so'
14640 netbsd*)
14641 version_type=sunos
14642 need_lib_prefix=no
14643 need_version=no
14644 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14646 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14647 dynamic_linker='NetBSD (a.out) ld.so'
14648 else
14649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14650 soname_spec='${libname}${release}${shared_ext}$major'
14651 dynamic_linker='NetBSD ld.elf_so'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14658 newsos6)
14659 version_type=linux
14660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14661 shlibpath_var=LD_LIBRARY_PATH
14662 shlibpath_overrides_runpath=yes
14665 *nto* | *qnx*)
14666 version_type=qnx
14667 need_lib_prefix=no
14668 need_version=no
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670 soname_spec='${libname}${release}${shared_ext}$major'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 shlibpath_overrides_runpath=no
14673 hardcode_into_libs=yes
14674 dynamic_linker='ldqnx.so'
14677 openbsd*)
14678 version_type=sunos
14679 sys_lib_dlsearch_path_spec="/usr/lib"
14680 need_lib_prefix=no
14681 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14682 case $host_os in
14683 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14684 *) need_version=no ;;
14685 esac
14686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14687 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14688 shlibpath_var=LD_LIBRARY_PATH
14689 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14690 case $host_os in
14691 openbsd2.[89] | openbsd2.[89].*)
14692 shlibpath_overrides_runpath=no
14695 shlibpath_overrides_runpath=yes
14697 esac
14698 else
14699 shlibpath_overrides_runpath=yes
14703 os2*)
14704 libname_spec='$name'
14705 shrext_cmds=".dll"
14706 need_lib_prefix=no
14707 library_names_spec='$libname${shared_ext} $libname.a'
14708 dynamic_linker='OS/2 ld.exe'
14709 shlibpath_var=LIBPATH
14712 osf3* | osf4* | osf5*)
14713 version_type=osf
14714 need_lib_prefix=no
14715 need_version=no
14716 soname_spec='${libname}${release}${shared_ext}$major'
14717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14718 shlibpath_var=LD_LIBRARY_PATH
14719 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14720 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14723 rdos*)
14724 dynamic_linker=no
14727 solaris*)
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 soname_spec='${libname}${release}${shared_ext}$major'
14733 shlibpath_var=LD_LIBRARY_PATH
14734 shlibpath_overrides_runpath=yes
14735 hardcode_into_libs=yes
14736 # ldd complains unless libraries are executable
14737 postinstall_cmds='chmod +x $lib'
14740 sunos4*)
14741 version_type=sunos
14742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14743 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14744 shlibpath_var=LD_LIBRARY_PATH
14745 shlibpath_overrides_runpath=yes
14746 if test "$with_gnu_ld" = yes; then
14747 need_lib_prefix=no
14749 need_version=yes
14752 sysv4 | sysv4.3*)
14753 version_type=linux
14754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14755 soname_spec='${libname}${release}${shared_ext}$major'
14756 shlibpath_var=LD_LIBRARY_PATH
14757 case $host_vendor in
14758 sni)
14759 shlibpath_overrides_runpath=no
14760 need_lib_prefix=no
14761 runpath_var=LD_RUN_PATH
14763 siemens)
14764 need_lib_prefix=no
14766 motorola)
14767 need_lib_prefix=no
14768 need_version=no
14769 shlibpath_overrides_runpath=no
14770 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14772 esac
14775 sysv4*MP*)
14776 if test -d /usr/nec ;then
14777 version_type=linux
14778 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14779 soname_spec='$libname${shared_ext}.$major'
14780 shlibpath_var=LD_LIBRARY_PATH
14784 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14785 version_type=freebsd-elf
14786 need_lib_prefix=no
14787 need_version=no
14788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14789 soname_spec='${libname}${release}${shared_ext}$major'
14790 shlibpath_var=LD_LIBRARY_PATH
14791 shlibpath_overrides_runpath=yes
14792 hardcode_into_libs=yes
14793 if test "$with_gnu_ld" = yes; then
14794 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14795 else
14796 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14797 case $host_os in
14798 sco3.2v5*)
14799 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14801 esac
14803 sys_lib_dlsearch_path_spec='/usr/lib'
14806 tpf*)
14807 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14808 version_type=linux
14809 need_lib_prefix=no
14810 need_version=no
14811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14812 shlibpath_var=LD_LIBRARY_PATH
14813 shlibpath_overrides_runpath=no
14814 hardcode_into_libs=yes
14817 uts4*)
14818 version_type=linux
14819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14820 soname_spec='${libname}${release}${shared_ext}$major'
14821 shlibpath_var=LD_LIBRARY_PATH
14825 dynamic_linker=no
14827 esac
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14829 $as_echo "$dynamic_linker" >&6; }
14830 test "$dynamic_linker" = no && can_build_shared=no
14832 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14833 if test "$GCC" = yes; then
14834 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14837 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14838 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14840 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14841 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14882 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14883 hardcode_action_CXX=
14884 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14885 test -n "$runpath_var_CXX" ||
14886 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14888 # We can hardcode non-existent directories.
14889 if test "$hardcode_direct_CXX" != no &&
14890 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14891 # have to relink, otherwise we might link with an installed library
14892 # when we should be linking with a yet-to-be-installed one
14893 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14894 test "$hardcode_minus_L_CXX" != no; then
14895 # Linking always hardcodes the temporary library directory.
14896 hardcode_action_CXX=relink
14897 else
14898 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14899 hardcode_action_CXX=immediate
14901 else
14902 # We cannot hardcode anything, or else we can only hardcode existing
14903 # directories.
14904 hardcode_action_CXX=unsupported
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14907 $as_echo "$hardcode_action_CXX" >&6; }
14909 if test "$hardcode_action_CXX" = relink ||
14910 test "$inherit_rpath_CXX" = yes; then
14911 # Fast installation is not supported
14912 enable_fast_install=no
14913 elif test "$shlibpath_overrides_runpath" = yes ||
14914 test "$enable_shared" = no; then
14915 # Fast installation is not necessary
14916 enable_fast_install=needless
14925 fi # test -n "$compiler"
14927 CC=$lt_save_CC
14928 LDCXX=$LD
14929 LD=$lt_save_LD
14930 GCC=$lt_save_GCC
14931 with_gnu_ld=$lt_save_with_gnu_ld
14932 lt_cv_path_LDCXX=$lt_cv_path_LD
14933 lt_cv_path_LD=$lt_save_path_LD
14934 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14935 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14936 fi # test "$_lt_caught_CXX_error" != yes
14938 ac_ext=c
14939 ac_cpp='$CPP $CPPFLAGS'
14940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14956 ac_config_commands="$ac_config_commands libtool"
14961 # Only expand once:
14967 case $host in
14968 *-cygwin* | *-mingw*)
14969 # 'host' will be top-level target in the case of a target lib,
14970 # we must compare to with_cross_host to decide if this is a native
14971 # or cross-compiler and select where to install dlls appropriately.
14972 if test -n "$with_cross_host" &&
14973 test x"$with_cross_host" != x"no"; then
14974 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14975 else
14976 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14980 lt_host_flags=
14982 esac
14989 if test "$enable_vtable_verify" = yes; then
14990 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14991 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14995 # libtool variables for C++ shared and position-independent compiles.
14997 # Use glibcxx_lt_pic_flag to designate the automake variable
14998 # used to encapsulate the default libtool approach to creating objects
14999 # with position-independent code. Default: -prefer-pic.
15001 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15002 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15004 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15005 # creating position-independent objects. This varies with the target
15006 # hardware and operating system, but is often: -DPIC -fPIC.
15007 if test "$enable_shared" = yes; then
15008 glibcxx_lt_pic_flag="-prefer-pic"
15009 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15010 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15012 else
15013 glibcxx_lt_pic_flag=
15014 glibcxx_compiler_pic_flag=
15015 glibcxx_compiler_shared_flag=
15021 # Override the libtool's pic_flag and pic_mode.
15022 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15023 # NB: this impacts --with-pic and --without-pic.
15024 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15025 pic_mode='default'
15027 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15028 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15030 # Possibly disable most of the library.
15031 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15032 ## than just ignoring the results. Faster /and/ more correct, win win.
15034 # Check whether --enable-hosted-libstdcxx was given.
15035 if test "${enable_hosted_libstdcxx+set}" = set; then :
15036 enableval=$enable_hosted_libstdcxx;
15037 else
15038 case "$host" in
15039 arm*-*-symbianelf*)
15040 enable_hosted_libstdcxx=no
15043 enable_hosted_libstdcxx=yes
15045 esac
15048 if test "$enable_hosted_libstdcxx" = no; then
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15050 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15051 is_hosted=no
15052 hosted_define=0
15053 enable_abi_check=no
15054 enable_libstdcxx_pch=no
15055 else
15056 is_hosted=yes
15057 hosted_define=1
15061 cat >>confdefs.h <<_ACEOF
15062 #define _GLIBCXX_HOSTED $hosted_define
15063 _ACEOF
15067 # Enable descriptive messages to standard output on termination.
15069 # Check whether --enable-libstdcxx-verbose was given.
15070 if test "${enable_libstdcxx_verbose+set}" = set; then :
15071 enableval=$enable_libstdcxx_verbose;
15072 else
15073 enable_libstdcxx_verbose=yes
15076 if test x"$enable_libstdcxx_verbose" = xyes; then
15077 verbose_define=1
15078 else
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15080 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15081 verbose_define=0
15084 cat >>confdefs.h <<_ACEOF
15085 #define _GLIBCXX_VERBOSE $verbose_define
15086 _ACEOF
15090 # Enable compiler support that doesn't require linking.
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15093 $as_echo_n "checking for exception model to use... " >&6; }
15095 ac_ext=cpp
15096 ac_cpp='$CXXCPP $CPPFLAGS'
15097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15101 # Check whether --enable-sjlj-exceptions was given.
15102 if test "${enable_sjlj_exceptions+set}" = set; then :
15103 enableval=$enable_sjlj_exceptions;
15104 case "$enableval" in
15105 yes|no|auto) ;;
15106 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15107 esac
15109 else
15110 enable_sjlj_exceptions=auto
15115 if test $enable_sjlj_exceptions = auto; then
15116 # Botheration. Now we've got to detect the exception model. Link tests
15117 # against libgcc.a are problematic since we've not been given proper -L
15118 # bits for single-tree newlib and libgloss.
15120 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15121 cat > conftest.$ac_ext << EOF
15122 #line 15122 "configure"
15123 struct S { ~S(); };
15124 void bar();
15125 void foo()
15127 S s;
15128 bar();
15131 old_CXXFLAGS="$CXXFLAGS"
15132 CXXFLAGS=-S
15133 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15134 (eval $ac_compile) 2>&5
15135 ac_status=$?
15136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15137 test $ac_status = 0; }; then
15138 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15139 enable_sjlj_exceptions=yes
15140 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15141 enable_sjlj_exceptions=yes
15142 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15143 enable_sjlj_exceptions=no
15144 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15145 enable_sjlj_exceptions=no
15148 CXXFLAGS="$old_CXXFLAGS"
15149 rm -f conftest*
15152 # This is a tad weird, for hysterical raisins. We have to map
15153 # enable/disable to two different models.
15154 case $enable_sjlj_exceptions in
15155 yes)
15157 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15159 ac_exception_model_name=sjlj
15162 ac_exception_model_name="call frame"
15165 as_fn_error "unable to detect exception model" "$LINENO" 5
15167 esac
15168 ac_ext=c
15169 ac_cpp='$CPP $CPPFLAGS'
15170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15175 $as_echo "$ac_exception_model_name" >&6; }
15178 # Check whether --enable-libstdcxx-pch was given.
15179 if test "${enable_libstdcxx_pch+set}" = set; then :
15180 enableval=$enable_libstdcxx_pch;
15181 case "$enableval" in
15182 yes|no) ;;
15183 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15184 esac
15186 else
15187 enable_libstdcxx_pch=$is_hosted
15191 if test $enable_libstdcxx_pch = yes; then
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15193 $as_echo_n "checking for compiler with PCH support... " >&6; }
15194 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15195 $as_echo_n "(cached) " >&6
15196 else
15197 ac_save_CXXFLAGS="$CXXFLAGS"
15198 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15200 ac_ext=cpp
15201 ac_cpp='$CXXCPP $CPPFLAGS'
15202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15206 echo '#include <math.h>' > conftest.h
15207 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15208 -o conftest.h.gch 1>&5 2>&1 &&
15209 echo '#error "pch failed"' > conftest.h &&
15210 echo '#include "conftest.h"' > conftest.cc &&
15211 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15212 then
15213 glibcxx_cv_prog_CXX_pch=yes
15214 else
15215 glibcxx_cv_prog_CXX_pch=no
15217 rm -f conftest*
15218 CXXFLAGS=$ac_save_CXXFLAGS
15219 ac_ext=c
15220 ac_cpp='$CPP $CPPFLAGS'
15221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15228 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15229 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15233 $as_echo_n "checking for enabled PCH... " >&6; }
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15235 $as_echo "$enable_libstdcxx_pch" >&6; }
15238 if test $enable_libstdcxx_pch = yes; then
15239 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15240 else
15241 glibcxx_PCHFLAGS=""
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15247 $as_echo_n "checking for thread model used by GCC... " >&6; }
15248 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15250 $as_echo "$target_thread_file" >&6; }
15252 case $target_thread_file in
15253 aix) thread_header=config/rs6000/gthr-aix.h ;;
15254 dce) thread_header=config/pa/gthr-dce.h ;;
15255 lynx) thread_header=config/gthr-lynx.h ;;
15256 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15257 posix) thread_header=gthr-posix.h ;;
15258 rtems) thread_header=config/gthr-rtems.h ;;
15259 single) thread_header=gthr-single.h ;;
15260 tpf) thread_header=config/s390/gthr-tpf.h ;;
15261 vxworks) thread_header=config/gthr-vxworks.h ;;
15262 win32) thread_header=config/i386/gthr-win32.h ;;
15263 esac
15269 ac_ext=cpp
15270 ac_cpp='$CXXCPP $CPPFLAGS'
15271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15275 old_CXXFLAGS="$CXXFLAGS"
15277 # Do link tests if possible, instead asm tests, limited to some platforms
15278 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15279 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15280 atomic_builtins_link_tests=no
15281 if test x$gcc_no_link != xyes; then
15282 # Can do link tests. Limit to some tested platforms
15283 case "$host" in
15284 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15285 atomic_builtins_link_tests=yes
15287 esac
15290 if test x$atomic_builtins_link_tests = xyes; then
15292 # Do link tests.
15294 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15297 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15298 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15299 $as_echo_n "(cached) " >&6
15300 else
15302 if test x$gcc_no_link = xyes; then
15303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15309 main ()
15311 typedef bool atomic_type;
15312 atomic_type c1;
15313 atomic_type c2;
15314 atomic_type c3(0);
15315 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15316 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15317 __ATOMIC_RELAXED);
15318 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15319 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15322 return 0;
15324 _ACEOF
15325 if ac_fn_cxx_try_link "$LINENO"; then :
15326 glibcxx_cv_atomic_bool=yes
15327 else
15328 glibcxx_cv_atomic_bool=no
15330 rm -f core conftest.err conftest.$ac_objext \
15331 conftest$ac_exeext conftest.$ac_ext
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15336 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15339 $as_echo_n "checking for atomic builtins for short... " >&6; }
15340 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15341 $as_echo_n "(cached) " >&6
15342 else
15344 if test x$gcc_no_link = xyes; then
15345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h. */
15351 main ()
15353 typedef short atomic_type;
15354 atomic_type c1;
15355 atomic_type c2;
15356 atomic_type c3(0);
15357 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15358 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15359 __ATOMIC_RELAXED);
15360 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15361 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15364 return 0;
15366 _ACEOF
15367 if ac_fn_cxx_try_link "$LINENO"; then :
15368 glibcxx_cv_atomic_short=yes
15369 else
15370 glibcxx_cv_atomic_short=no
15372 rm -f core conftest.err conftest.$ac_objext \
15373 conftest$ac_exeext conftest.$ac_ext
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15378 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15381 $as_echo_n "checking for atomic builtins for int... " >&6; }
15382 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15383 $as_echo_n "(cached) " >&6
15384 else
15386 if test x$gcc_no_link = xyes; then
15387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15393 main ()
15395 typedef int atomic_type;
15396 atomic_type c1;
15397 atomic_type c2;
15398 atomic_type c3(0);
15399 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
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);
15406 return 0;
15408 _ACEOF
15409 if ac_fn_cxx_try_link "$LINENO"; then :
15410 glibcxx_cv_atomic_int=yes
15411 else
15412 glibcxx_cv_atomic_int=no
15414 rm -f core conftest.err conftest.$ac_objext \
15415 conftest$ac_exeext conftest.$ac_ext
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15420 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15423 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15424 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15425 $as_echo_n "(cached) " >&6
15426 else
15428 if test x$gcc_no_link = xyes; then
15429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15435 main ()
15437 typedef long long atomic_type;
15438 atomic_type c1;
15439 atomic_type c2;
15440 atomic_type c3(0);
15441 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15442 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15443 __ATOMIC_RELAXED);
15444 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15445 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15448 return 0;
15450 _ACEOF
15451 if ac_fn_cxx_try_link "$LINENO"; then :
15452 glibcxx_cv_atomic_long_long=yes
15453 else
15454 glibcxx_cv_atomic_long_long=no
15456 rm -f core conftest.err conftest.$ac_objext \
15457 conftest$ac_exeext conftest.$ac_ext
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15462 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15464 else
15466 # Do asm tests.
15468 # Compile unoptimized.
15469 CXXFLAGS='-O0 -S'
15471 # Fake what AC_TRY_COMPILE does.
15473 cat > conftest.$ac_ext << EOF
15474 #line 15474 "configure"
15475 int main()
15477 typedef bool atomic_type;
15478 atomic_type c1;
15479 atomic_type c2;
15480 atomic_type c3(0);
15481 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15482 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15483 __ATOMIC_RELAXED);
15484 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15485 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15487 return 0;
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15492 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15494 (eval $ac_compile) 2>&5
15495 ac_status=$?
15496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15497 test $ac_status = 0; }; then
15498 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15499 glibcxx_cv_atomic_bool=no
15500 else
15501 glibcxx_cv_atomic_bool=yes
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15505 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15506 rm -f conftest*
15508 cat > conftest.$ac_ext << EOF
15509 #line 15509 "configure"
15510 int main()
15512 typedef short atomic_type;
15513 atomic_type c1;
15514 atomic_type c2;
15515 atomic_type c3(0);
15516 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15517 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15518 __ATOMIC_RELAXED);
15519 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15520 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15522 return 0;
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15527 $as_echo_n "checking for atomic builtins for short... " >&6; }
15528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15529 (eval $ac_compile) 2>&5
15530 ac_status=$?
15531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15532 test $ac_status = 0; }; then
15533 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15534 glibcxx_cv_atomic_short=no
15535 else
15536 glibcxx_cv_atomic_short=yes
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15540 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15541 rm -f conftest*
15543 cat > conftest.$ac_ext << EOF
15544 #line 15544 "configure"
15545 int main()
15547 // NB: _Atomic_word not necessarily int.
15548 typedef int atomic_type;
15549 atomic_type c1;
15550 atomic_type c2;
15551 atomic_type c3(0);
15552 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15553 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15554 __ATOMIC_RELAXED);
15555 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15556 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15558 return 0;
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15563 $as_echo_n "checking for atomic builtins for int... " >&6; }
15564 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15565 (eval $ac_compile) 2>&5
15566 ac_status=$?
15567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15568 test $ac_status = 0; }; then
15569 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15570 glibcxx_cv_atomic_int=no
15571 else
15572 glibcxx_cv_atomic_int=yes
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15576 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15577 rm -f conftest*
15579 cat > conftest.$ac_ext << EOF
15580 #line 15580 "configure"
15581 int main()
15583 typedef long long atomic_type;
15584 atomic_type c1;
15585 atomic_type c2;
15586 atomic_type c3(0);
15587 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15588 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15589 __ATOMIC_RELAXED);
15590 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15591 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15593 return 0;
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15598 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15600 (eval $ac_compile) 2>&5
15601 ac_status=$?
15602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15603 test $ac_status = 0; }; then
15604 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15605 glibcxx_cv_atomic_long_long=no
15606 else
15607 glibcxx_cv_atomic_long_long=yes
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15611 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15612 rm -f conftest*
15616 CXXFLAGS="$old_CXXFLAGS"
15617 ac_ext=c
15618 ac_cpp='$CPP $CPPFLAGS'
15619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15624 # Set atomicity_dir to builtins if all but the long long test above passes.
15625 if test $glibcxx_cv_atomic_bool = yes \
15626 && test $glibcxx_cv_atomic_short = yes \
15627 && test $glibcxx_cv_atomic_int = yes; then
15629 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15631 atomicity_dir=cpu/generic/atomicity_builtins
15634 # If still generic, set to mutex.
15635 if test $atomicity_dir = "cpu/generic" ; then
15636 atomicity_dir=cpu/generic/atomicity_mutex
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15638 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15639 if test "x$target_thread_file" = xsingle; then
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15641 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15643 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15644 else
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15646 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15648 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15655 # Fake what AC_TRY_COMPILE does, without linking as this is
15656 # unnecessary for this test.
15658 cat > conftest.$ac_ext << EOF
15659 #line 15659 "configure"
15660 int main()
15662 _Decimal32 d1;
15663 _Decimal64 d2;
15664 _Decimal128 d3;
15665 return 0;
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15670 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15672 (eval $ac_compile) 2>&5
15673 ac_status=$?
15674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15675 test $ac_status = 0; }; then
15677 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15679 enable_dfp=yes
15680 else
15681 enable_dfp=no
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15684 $as_echo "$enable_dfp" >&6; }
15685 rm -f conftest*
15690 ac_ext=cpp
15691 ac_cpp='$CXXCPP $CPPFLAGS'
15692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15697 # Fake what AC_TRY_COMPILE does, without linking as this is
15698 # unnecessary for this test.
15700 cat > conftest.$ac_ext << EOF
15701 #line 15701 "configure"
15702 template<typename T1, typename T2>
15703 struct same
15704 { typedef T2 type; };
15706 template<typename T>
15707 struct same<T, T>;
15709 int main()
15711 typename same<long, __int128>::type i1;
15712 typename same<long long, __int128>::type i2;
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15717 $as_echo_n "checking for __int128... " >&6; }
15718 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15719 (eval $ac_compile) 2>&5
15720 ac_status=$?
15721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15722 test $ac_status = 0; }; then
15724 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15726 enable_int128=yes
15727 else
15728 enable_int128=no
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15731 $as_echo "$enable_int128" >&6; }
15732 rm -f conftest*
15734 cat > conftest.$ac_ext << EOF
15735 #line 15735 "configure"
15736 template<typename T1, typename T2>
15737 struct same
15738 { typedef T2 type; };
15740 template<typename T>
15741 struct same<T, T>;
15743 int main()
15745 typename same<double, __float128>::type f1;
15746 typename same<long double, __float128>::type f2;
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15751 $as_echo_n "checking for __float128... " >&6; }
15752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15753 (eval $ac_compile) 2>&5
15754 ac_status=$?
15755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15756 test $ac_status = 0; }; then
15758 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15760 enable_float128=yes
15761 else
15762 enable_float128=no
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15765 $as_echo "$enable_float128" >&6; }
15766 rm -f conftest*
15768 ac_ext=c
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15775 if test "$enable_float128" = yes; then
15776 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15779 # Checks for compiler support that doesn't require linking.
15781 # All these tests are for C++; save the language and the compiler flags.
15782 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15783 # found in GLIBCXX_CONFIGURE.
15785 ac_ext=cpp
15786 ac_cpp='$CXXCPP $CPPFLAGS'
15787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15791 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15792 ac_save_CXXFLAGS="$CXXFLAGS"
15794 # Check for maintainer-mode bits.
15795 if test x"$USE_MAINTAINER_MODE" = xno; then
15796 WERROR=''
15797 else
15798 WERROR='-Werror'
15801 # Check for -ffunction-sections -fdata-sections
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15803 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15804 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 int foo; void bar() { };
15809 main ()
15813 return 0;
15815 _ACEOF
15816 if ac_fn_cxx_try_compile "$LINENO"; then :
15817 ac_fdsections=yes
15818 else
15819 ac_fdsections=no
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15822 if test "$ac_test_CXXFLAGS" = set; then
15823 CXXFLAGS="$ac_save_CXXFLAGS"
15824 else
15825 # this is the suspicious part
15826 CXXFLAGS=''
15828 if test x"$ac_fdsections" = x"yes"; then
15829 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15832 $as_echo "$ac_fdsections" >&6; }
15834 ac_ext=c
15835 ac_cpp='$CPP $CPPFLAGS'
15836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15844 # Enable all the variable C++ runtime options that don't require linking.
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15847 $as_echo_n "checking for underlying I/O to use... " >&6; }
15848 # Check whether --enable-cstdio was given.
15849 if test "${enable_cstdio+set}" = set; then :
15850 enableval=$enable_cstdio;
15851 case "$enableval" in
15852 stdio) ;;
15853 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15854 esac
15856 else
15857 enable_cstdio=stdio
15862 # Now that libio has been removed, you can have any color you want as long
15863 # as it's black. This is one big no-op until other packages are added, but
15864 # showing the framework never hurts.
15865 case ${enable_cstdio} in
15866 stdio)
15867 CSTDIO_H=config/io/c_io_stdio.h
15868 BASIC_FILE_H=config/io/basic_file_stdio.h
15869 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15871 $as_echo "stdio" >&6; }
15873 esac
15880 # Check whether --enable-clocale was given.
15881 if test "${enable_clocale+set}" = set; then :
15882 enableval=$enable_clocale;
15883 case "$enableval" in
15884 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15885 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15886 esac
15888 else
15889 enable_clocale=auto
15894 # Deal with gettext issues. Default to not using it (=no) until we detect
15895 # support for it later. Let the user turn it off via --e/d, but let that
15896 # default to on for easier handling.
15897 USE_NLS=no
15898 # Check whether --enable-nls was given.
15899 if test "${enable_nls+set}" = set; then :
15900 enableval=$enable_nls;
15901 else
15902 enable_nls=yes
15906 # Either a known package, or "auto"
15907 if test $enable_clocale = no || test $enable_clocale = yes; then
15908 enable_clocale=auto
15910 enable_clocale_flag=$enable_clocale
15912 # Probe for locale model to use if none specified.
15913 # Default to "generic".
15914 if test $enable_clocale_flag = auto; then
15915 case ${target_os} in
15916 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15917 enable_clocale_flag=gnu
15919 darwin* | freebsd*)
15920 enable_clocale_flag=darwin
15922 dragonfly*)
15923 enable_clocale_flag=dragonfly
15925 openbsd*)
15926 enable_clocale_flag=newlib
15929 if test x"$with_newlib" = x"yes"; then
15930 enable_clocale_flag=newlib
15931 else
15932 enable_clocale_flag=generic
15935 esac
15938 # Sanity check model, and test for special functionality.
15939 if test $enable_clocale_flag = gnu; then
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15943 #include <features.h>
15944 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15945 _GLIBCXX_ok
15946 #endif
15948 _ACEOF
15949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15950 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15951 enable_clocale_flag=gnu
15952 else
15953 enable_clocale_flag=generic
15955 rm -f conftest*
15958 # Set it to scream when it hurts.
15959 ac_save_CFLAGS="$CFLAGS"
15960 CFLAGS="-Wimplicit-function-declaration -Werror"
15962 # Use strxfrm_l if available.
15963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h. */
15965 #define _GNU_SOURCE 1
15966 #include <string.h>
15967 #include <locale.h>
15969 main ()
15971 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15973 return 0;
15975 _ACEOF
15976 if ac_fn_c_try_compile "$LINENO"; then :
15978 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15983 # Use strerror_l if available.
15984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15985 /* end confdefs.h. */
15986 #define _GNU_SOURCE 1
15987 #include <string.h>
15988 #include <locale.h>
15990 main ()
15992 __locale_t loc; strerror_l(5, loc);
15994 return 0;
15996 _ACEOF
15997 if ac_fn_c_try_compile "$LINENO"; then :
15999 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16004 CFLAGS="$ac_save_CFLAGS"
16007 # Perhaps use strerror_r if available, and strerror_l isn't.
16008 ac_save_CFLAGS="$CFLAGS"
16009 CFLAGS="-Wimplicit-function-declaration -Werror"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16012 #define _GNU_SOURCE 1
16013 #include <string.h>
16014 #include <locale.h>
16016 main ()
16018 char s[128]; strerror_r(5, s, 128);
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_compile "$LINENO"; then :
16025 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16029 CFLAGS="$ac_save_CFLAGS"
16031 # Set configure bits for specified locale package
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16033 $as_echo_n "checking for C locale to use... " >&6; }
16034 case ${enable_clocale_flag} in
16035 generic)
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16037 $as_echo "generic" >&6; }
16039 CLOCALE_H=config/locale/generic/c_locale.h
16040 CLOCALE_CC=config/locale/generic/c_locale.cc
16041 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16042 CCOLLATE_CC=config/locale/generic/collate_members.cc
16043 CCTYPE_CC=config/locale/generic/ctype_members.cc
16044 CMESSAGES_H=config/locale/generic/messages_members.h
16045 CMESSAGES_CC=config/locale/generic/messages_members.cc
16046 CMONEY_CC=config/locale/generic/monetary_members.cc
16047 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16048 CTIME_H=config/locale/generic/time_members.h
16049 CTIME_CC=config/locale/generic/time_members.cc
16050 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16052 darwin)
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
16054 $as_echo "darwin or freebsd" >&6; }
16056 CLOCALE_H=config/locale/generic/c_locale.h
16057 CLOCALE_CC=config/locale/generic/c_locale.cc
16058 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16059 CCOLLATE_CC=config/locale/generic/collate_members.cc
16060 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16061 CMESSAGES_H=config/locale/generic/messages_members.h
16062 CMESSAGES_CC=config/locale/generic/messages_members.cc
16063 CMONEY_CC=config/locale/generic/monetary_members.cc
16064 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16065 CTIME_H=config/locale/generic/time_members.h
16066 CTIME_CC=config/locale/generic/time_members.cc
16067 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16070 dragonfly)
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16072 $as_echo "dragonfly" >&6; }
16074 CLOCALE_H=config/locale/generic/c_locale.h
16075 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16076 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16077 CCOLLATE_CC=config/locale/generic/collate_members.cc
16078 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16079 CMESSAGES_H=config/locale/generic/messages_members.h
16080 CMESSAGES_CC=config/locale/generic/messages_members.cc
16081 CMONEY_CC=config/locale/generic/monetary_members.cc
16082 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16083 CTIME_H=config/locale/generic/time_members.h
16084 CTIME_CC=config/locale/generic/time_members.cc
16085 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16088 gnu)
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16090 $as_echo "gnu" >&6; }
16092 # Declare intention to use gettext, and add support for specific
16093 # languages.
16094 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16095 ALL_LINGUAS="de fr"
16097 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16098 # Extract the first word of "msgfmt", so it can be a program name with args.
16099 set dummy msgfmt; ac_word=$2
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16101 $as_echo_n "checking for $ac_word... " >&6; }
16102 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16103 $as_echo_n "(cached) " >&6
16104 else
16105 if test -n "$check_msgfmt"; then
16106 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16107 else
16108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16109 for as_dir in $PATH
16111 IFS=$as_save_IFS
16112 test -z "$as_dir" && as_dir=.
16113 for ac_exec_ext in '' $ac_executable_extensions; do
16114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16115 ac_cv_prog_check_msgfmt="yes"
16116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16117 break 2
16119 done
16120 done
16121 IFS=$as_save_IFS
16123 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16126 check_msgfmt=$ac_cv_prog_check_msgfmt
16127 if test -n "$check_msgfmt"; then
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16129 $as_echo "$check_msgfmt" >&6; }
16130 else
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16132 $as_echo "no" >&6; }
16136 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16137 USE_NLS=yes
16139 # Export the build objects.
16140 for ling in $ALL_LINGUAS; do \
16141 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16142 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16143 done
16147 CLOCALE_H=config/locale/gnu/c_locale.h
16148 CLOCALE_CC=config/locale/gnu/c_locale.cc
16149 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16150 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16151 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16152 CMESSAGES_H=config/locale/gnu/messages_members.h
16153 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16154 CMONEY_CC=config/locale/gnu/monetary_members.cc
16155 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16156 CTIME_H=config/locale/gnu/time_members.h
16157 CTIME_CC=config/locale/gnu/time_members.cc
16158 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16160 ieee_1003.1-2001)
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16162 $as_echo "IEEE 1003.1" >&6; }
16164 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16165 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16166 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16167 CCOLLATE_CC=config/locale/generic/collate_members.cc
16168 CCTYPE_CC=config/locale/generic/ctype_members.cc
16169 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16170 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16171 CMONEY_CC=config/locale/generic/monetary_members.cc
16172 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16173 CTIME_H=config/locale/generic/time_members.h
16174 CTIME_CC=config/locale/generic/time_members.cc
16175 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16177 newlib)
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16179 $as_echo "newlib" >&6; }
16181 CLOCALE_H=config/locale/generic/c_locale.h
16182 CLOCALE_CC=config/locale/generic/c_locale.cc
16183 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16184 CCOLLATE_CC=config/locale/generic/collate_members.cc
16185 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16186 CMESSAGES_H=config/locale/generic/messages_members.h
16187 CMESSAGES_CC=config/locale/generic/messages_members.cc
16188 CMONEY_CC=config/locale/generic/monetary_members.cc
16189 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16190 CTIME_H=config/locale/generic/time_members.h
16191 CTIME_CC=config/locale/generic/time_members.cc
16192 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16194 esac
16196 # This is where the testsuite looks for locale catalogs, using the
16197 # -DLOCALEDIR define during testsuite compilation.
16198 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16201 # A standalone libintl (e.g., GNU libintl) may be in use.
16202 if test $USE_NLS = yes; then
16203 for ac_header in libintl.h
16204 do :
16205 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16206 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16207 cat >>confdefs.h <<_ACEOF
16208 #define HAVE_LIBINTL_H 1
16209 _ACEOF
16211 else
16212 USE_NLS=no
16215 done
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16218 $as_echo_n "checking for library containing gettext... " >&6; }
16219 if test "${ac_cv_search_gettext+set}" = set; then :
16220 $as_echo_n "(cached) " >&6
16221 else
16222 ac_func_search_save_LIBS=$LIBS
16223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16226 /* Override any GCC internal prototype to avoid an error.
16227 Use char because int might match the return type of a GCC
16228 builtin and then its argument prototype would still apply. */
16229 #ifdef __cplusplus
16230 extern "C"
16231 #endif
16232 char gettext ();
16234 main ()
16236 return gettext ();
16238 return 0;
16240 _ACEOF
16241 for ac_lib in '' intl; do
16242 if test -z "$ac_lib"; then
16243 ac_res="none required"
16244 else
16245 ac_res=-l$ac_lib
16246 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16248 if test x$gcc_no_link = xyes; then
16249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16251 if ac_fn_c_try_link "$LINENO"; then :
16252 ac_cv_search_gettext=$ac_res
16254 rm -f core conftest.err conftest.$ac_objext \
16255 conftest$ac_exeext
16256 if test "${ac_cv_search_gettext+set}" = set; then :
16257 break
16259 done
16260 if test "${ac_cv_search_gettext+set}" = set; then :
16262 else
16263 ac_cv_search_gettext=no
16265 rm conftest.$ac_ext
16266 LIBS=$ac_func_search_save_LIBS
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16269 $as_echo "$ac_cv_search_gettext" >&6; }
16270 ac_res=$ac_cv_search_gettext
16271 if test "$ac_res" != no; then :
16272 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16274 else
16275 USE_NLS=no
16279 if test $USE_NLS = yes; then
16281 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16301 $as_echo_n "checking for std::allocator base class... " >&6; }
16302 # Check whether --enable-libstdcxx-allocator was given.
16303 if test "${enable_libstdcxx_allocator+set}" = set; then :
16304 enableval=$enable_libstdcxx_allocator;
16305 case "$enableval" in
16306 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16307 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16308 esac
16310 else
16311 enable_libstdcxx_allocator=auto
16316 # If they didn't use this option switch, or if they specified --enable
16317 # with no specific model, we'll have to look for one. If they
16318 # specified --disable (???), do likewise.
16319 if test $enable_libstdcxx_allocator = no ||
16320 test $enable_libstdcxx_allocator = yes;
16321 then
16322 enable_libstdcxx_allocator=auto
16325 # Either a known package, or "auto". Auto implies the default choice
16326 # for a particular platform.
16327 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16329 # Probe for host-specific support if no specific model is specified.
16330 # Default to "new".
16331 if test $enable_libstdcxx_allocator_flag = auto; then
16332 case ${target_os} in
16333 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16334 enable_libstdcxx_allocator_flag=new
16337 enable_libstdcxx_allocator_flag=new
16339 esac
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16342 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16345 # Set configure bits for specified locale package
16346 case ${enable_libstdcxx_allocator_flag} in
16347 bitmap)
16348 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16349 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16351 malloc)
16352 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16353 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16356 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16357 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16359 new)
16360 ALLOCATOR_H=config/allocator/new_allocator_base.h
16361 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16363 pool)
16364 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16365 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16367 esac
16373 # Check whether --enable-cheaders was given.
16374 if test "${enable_cheaders+set}" = set; then :
16375 enableval=$enable_cheaders;
16376 case "$enableval" in
16377 c|c_std|c_global) ;;
16378 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16379 esac
16381 else
16382 enable_cheaders=$c_model
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16387 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16389 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16391 # Allow overrides to configure.host here.
16392 if test $enable_cheaders = c_global; then
16393 c_compatibility=yes
16402 # Check whether --enable-long-long was given.
16403 if test "${enable_long_long+set}" = set; then :
16404 enableval=$enable_long_long;
16405 case "$enableval" in
16406 yes|no) ;;
16407 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16408 esac
16410 else
16411 enable_long_long=yes
16415 if test $enable_long_long = yes; then
16417 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16421 $as_echo_n "checking for enabled long long specializations... " >&6; }
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16423 $as_echo "$enable_long_long" >&6; }
16426 # Check whether --enable-wchar_t was given.
16427 if test "${enable_wchar_t+set}" = set; then :
16428 enableval=$enable_wchar_t;
16429 case "$enableval" in
16430 yes|no) ;;
16431 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16432 esac
16434 else
16435 enable_wchar_t=yes
16440 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16441 for ac_header in wchar.h
16442 do :
16443 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16444 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16445 cat >>confdefs.h <<_ACEOF
16446 #define HAVE_WCHAR_H 1
16447 _ACEOF
16448 ac_has_wchar_h=yes
16449 else
16450 ac_has_wchar_h=no
16453 done
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16456 $as_echo_n "checking for mbstate_t... " >&6; }
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #include <wchar.h>
16461 main ()
16463 mbstate_t teststate;
16465 return 0;
16467 _ACEOF
16468 if ac_fn_c_try_compile "$LINENO"; then :
16469 have_mbstate_t=yes
16470 else
16471 have_mbstate_t=no
16473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16475 $as_echo "$have_mbstate_t" >&6; }
16476 if test x"$have_mbstate_t" = xyes; then
16478 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16482 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16483 # ac_has_wchar_h.
16484 for ac_header in wctype.h
16485 do :
16486 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16487 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16488 cat >>confdefs.h <<_ACEOF
16489 #define HAVE_WCTYPE_H 1
16490 _ACEOF
16491 ac_has_wctype_h=yes
16492 else
16493 ac_has_wctype_h=no
16496 done
16499 if test x"$enable_wchar_t" = x"yes"; then
16502 ac_ext=cpp
16503 ac_cpp='$CXXCPP $CPPFLAGS'
16504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16509 if test x"$ac_has_wchar_h" = xyes &&
16510 test x"$ac_has_wctype_h" = xyes; then
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513 #include <wchar.h>
16514 #include <stddef.h>
16515 wint_t i;
16516 long l = WEOF;
16517 long j = WCHAR_MIN;
16518 long k = WCHAR_MAX;
16519 namespace test
16521 using ::btowc;
16522 using ::fgetwc;
16523 using ::fgetws;
16524 using ::fputwc;
16525 using ::fputws;
16526 using ::fwide;
16527 using ::fwprintf;
16528 using ::fwscanf;
16529 using ::getwc;
16530 using ::getwchar;
16531 using ::mbrlen;
16532 using ::mbrtowc;
16533 using ::mbsinit;
16534 using ::mbsrtowcs;
16535 using ::putwc;
16536 using ::putwchar;
16537 using ::swprintf;
16538 using ::swscanf;
16539 using ::ungetwc;
16540 using ::vfwprintf;
16541 using ::vswprintf;
16542 using ::vwprintf;
16543 using ::wcrtomb;
16544 using ::wcscat;
16545 using ::wcschr;
16546 using ::wcscmp;
16547 using ::wcscoll;
16548 using ::wcscpy;
16549 using ::wcscspn;
16550 using ::wcsftime;
16551 using ::wcslen;
16552 using ::wcsncat;
16553 using ::wcsncmp;
16554 using ::wcsncpy;
16555 using ::wcspbrk;
16556 using ::wcsrchr;
16557 using ::wcsrtombs;
16558 using ::wcsspn;
16559 using ::wcsstr;
16560 using ::wcstod;
16561 using ::wcstok;
16562 using ::wcstol;
16563 using ::wcstoul;
16564 using ::wcsxfrm;
16565 using ::wctob;
16566 using ::wmemchr;
16567 using ::wmemcmp;
16568 using ::wmemcpy;
16569 using ::wmemmove;
16570 using ::wmemset;
16571 using ::wprintf;
16572 using ::wscanf;
16576 main ()
16580 return 0;
16582 _ACEOF
16583 if ac_fn_cxx_try_compile "$LINENO"; then :
16585 else
16586 enable_wchar_t=no
16588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16589 else
16590 enable_wchar_t=no
16593 ac_ext=c
16594 ac_cpp='$CPP $CPPFLAGS'
16595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16601 if test x"$enable_wchar_t" = x"yes"; then
16603 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16608 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16610 $as_echo "$enable_wchar_t" >&6; }
16614 # Check whether --enable-c99 was given.
16615 if test "${enable_c99+set}" = set; then :
16616 enableval=$enable_c99;
16617 case "$enableval" in
16618 yes|no) ;;
16619 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16620 esac
16622 else
16623 enable_c99=yes
16628 if test x"$enable_c99" = x"yes"; then
16631 ac_ext=cpp
16632 ac_cpp='$CXXCPP $CPPFLAGS'
16633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16638 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16639 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16640 # spuriously enabled.
16641 # Long term, -std=c++0x could be even better, could manage to explicitly
16642 # request C99 facilities to the underlying C headers.
16643 ac_save_CXXFLAGS="$CXXFLAGS"
16644 CXXFLAGS="$CXXFLAGS -std=c++98"
16645 ac_save_LIBS="$LIBS"
16646 ac_save_gcc_no_link="$gcc_no_link"
16648 if test x$gcc_no_link != xyes; then
16649 # Use -fno-exceptions to that the C driver can link these tests without
16650 # hitting undefined references to personality routines.
16651 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16653 $as_echo_n "checking for sin in -lm... " >&6; }
16654 if test "${ac_cv_lib_m_sin+set}" = set; then :
16655 $as_echo_n "(cached) " >&6
16656 else
16657 ac_check_lib_save_LIBS=$LIBS
16658 LIBS="-lm $LIBS"
16659 if test x$gcc_no_link = xyes; then
16660 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h. */
16665 /* Override any GCC internal prototype to avoid an error.
16666 Use char because int might match the return type of a GCC
16667 builtin and then its argument prototype would still apply. */
16668 #ifdef __cplusplus
16669 extern "C"
16670 #endif
16671 char sin ();
16673 main ()
16675 return sin ();
16677 return 0;
16679 _ACEOF
16680 if ac_fn_cxx_try_link "$LINENO"; then :
16681 ac_cv_lib_m_sin=yes
16682 else
16683 ac_cv_lib_m_sin=no
16685 rm -f core conftest.err conftest.$ac_objext \
16686 conftest$ac_exeext conftest.$ac_ext
16687 LIBS=$ac_check_lib_save_LIBS
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16690 $as_echo "$ac_cv_lib_m_sin" >&6; }
16691 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16693 LIBS="$LIBS -lm"
16695 else
16697 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16698 gcc_no_link=yes
16704 # Check for the existence of <math.h> functions used if C99 is enabled.
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16706 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16707 if test "${glibcxx_cv_c99_math+set}" = set; then :
16708 $as_echo_n "(cached) " >&6
16709 else
16711 if test x$gcc_no_link = xyes; then
16712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h. */
16714 #include <math.h>
16715 volatile double d1, d2;
16716 volatile int i;
16718 main ()
16720 i = fpclassify(d1);
16721 i = isfinite(d1);
16722 i = isinf(d1);
16723 i = isnan(d1);
16724 i = isnormal(d1);
16725 i = signbit(d1);
16726 i = isgreater(d1, d2);
16727 i = isgreaterequal(d1, d2);
16728 i = isless(d1, d2);
16729 i = islessequal(d1, d2);
16730 i = islessgreater(d1, d2);
16731 i = islessgreater(d1, d2);
16732 i = isunordered(d1, d2);
16735 return 0;
16737 _ACEOF
16738 if ac_fn_cxx_try_compile "$LINENO"; then :
16739 glibcxx_cv_c99_math=yes
16740 else
16741 glibcxx_cv_c99_math=no
16743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16744 else
16745 if test x$gcc_no_link = xyes; then
16746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16750 #include <math.h>
16751 volatile double d1, d2;
16752 volatile int i;
16754 main ()
16756 i = fpclassify(d1);
16757 i = isfinite(d1);
16758 i = isinf(d1);
16759 i = isnan(d1);
16760 i = isnormal(d1);
16761 i = signbit(d1);
16762 i = isgreater(d1, d2);
16763 i = isgreaterequal(d1, d2);
16764 i = isless(d1, d2);
16765 i = islessequal(d1, d2);
16766 i = islessgreater(d1, d2);
16767 i = islessgreater(d1, d2);
16768 i = isunordered(d1, d2);
16771 return 0;
16773 _ACEOF
16774 if ac_fn_cxx_try_link "$LINENO"; then :
16775 glibcxx_cv_c99_math=yes
16776 else
16777 glibcxx_cv_c99_math=no
16779 rm -f core conftest.err conftest.$ac_objext \
16780 conftest$ac_exeext conftest.$ac_ext
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16786 $as_echo "$glibcxx_cv_c99_math" >&6; }
16787 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16789 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16793 # Check for the existence of <complex.h> complex math functions.
16794 # This is necessary even though libstdc++ uses the builtin versions
16795 # of these functions, because if the builtin cannot be used, a reference
16796 # to the library function is emitted.
16797 for ac_header in tgmath.h
16798 do :
16799 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16800 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16801 cat >>confdefs.h <<_ACEOF
16802 #define HAVE_TGMATH_H 1
16803 _ACEOF
16804 ac_has_tgmath_h=yes
16805 else
16806 ac_has_tgmath_h=no
16809 done
16811 for ac_header in complex.h
16812 do :
16813 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16814 if test "x$ac_cv_header_complex_h" = x""yes; then :
16815 cat >>confdefs.h <<_ACEOF
16816 #define HAVE_COMPLEX_H 1
16817 _ACEOF
16818 ac_has_complex_h=yes
16819 else
16820 ac_has_complex_h=no
16823 done
16825 glibcxx_cv_c99_complex=no;
16826 if test x"$ac_has_complex_h" = x"yes"; then
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16828 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16829 if test x$gcc_no_link = xyes; then
16830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16832 #include <complex.h>
16833 typedef __complex__ float float_type;
16834 typedef __complex__ double double_type;
16835 typedef __complex__ long double ld_type;
16836 volatile float_type tmpf;
16837 volatile double_type tmpd;
16838 volatile ld_type tmpld;
16839 volatile float f;
16840 volatile double d;
16841 volatile long double ld;
16843 main ()
16845 f = cabsf(tmpf);
16846 f = cargf(tmpf);
16847 tmpf = ccosf(tmpf);
16848 tmpf = ccoshf(tmpf);
16849 tmpf = cexpf(tmpf);
16850 tmpf = clogf(tmpf);
16851 tmpf = csinf(tmpf);
16852 tmpf = csinhf(tmpf);
16853 tmpf = csqrtf(tmpf);
16854 tmpf = ctanf(tmpf);
16855 tmpf = ctanhf(tmpf);
16856 tmpf = cpowf(tmpf, tmpf);
16857 tmpf = cprojf(tmpf);
16858 d = cabs(tmpd);
16859 d = carg(tmpd);
16860 tmpd = ccos(tmpd);
16861 tmpd = ccosh(tmpd);
16862 tmpd = cexp(tmpd);
16863 tmpd = clog(tmpd);
16864 tmpd = csin(tmpd);
16865 tmpd = csinh(tmpd);
16866 tmpd = csqrt(tmpd);
16867 tmpd = ctan(tmpd);
16868 tmpd = ctanh(tmpd);
16869 tmpd = cpow(tmpd, tmpd);
16870 tmpd = cproj(tmpd);
16871 ld = cabsl(tmpld);
16872 ld = cargl(tmpld);
16873 tmpld = ccosl(tmpld);
16874 tmpld = ccoshl(tmpld);
16875 tmpld = cexpl(tmpld);
16876 tmpld = clogl(tmpld);
16877 tmpld = csinl(tmpld);
16878 tmpld = csinhl(tmpld);
16879 tmpld = csqrtl(tmpld);
16880 tmpld = ctanl(tmpld);
16881 tmpld = ctanhl(tmpld);
16882 tmpld = cpowl(tmpld, tmpld);
16883 tmpld = cprojl(tmpld);
16886 return 0;
16888 _ACEOF
16889 if ac_fn_cxx_try_compile "$LINENO"; then :
16890 glibcxx_cv_c99_complex=yes
16891 else
16892 glibcxx_cv_c99_complex=no
16894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16895 else
16896 if test x$gcc_no_link = xyes; then
16897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16901 #include <complex.h>
16902 typedef __complex__ float float_type;
16903 typedef __complex__ double double_type;
16904 typedef __complex__ long double ld_type;
16905 volatile float_type tmpf;
16906 volatile double_type tmpd;
16907 volatile ld_type tmpld;
16908 volatile float f;
16909 volatile double d;
16910 volatile long double ld;
16912 main ()
16914 f = cabsf(tmpf);
16915 f = cargf(tmpf);
16916 tmpf = ccosf(tmpf);
16917 tmpf = ccoshf(tmpf);
16918 tmpf = cexpf(tmpf);
16919 tmpf = clogf(tmpf);
16920 tmpf = csinf(tmpf);
16921 tmpf = csinhf(tmpf);
16922 tmpf = csqrtf(tmpf);
16923 tmpf = ctanf(tmpf);
16924 tmpf = ctanhf(tmpf);
16925 tmpf = cpowf(tmpf, tmpf);
16926 tmpf = cprojf(tmpf);
16927 d = cabs(tmpd);
16928 d = carg(tmpd);
16929 tmpd = ccos(tmpd);
16930 tmpd = ccosh(tmpd);
16931 tmpd = cexp(tmpd);
16932 tmpd = clog(tmpd);
16933 tmpd = csin(tmpd);
16934 tmpd = csinh(tmpd);
16935 tmpd = csqrt(tmpd);
16936 tmpd = ctan(tmpd);
16937 tmpd = ctanh(tmpd);
16938 tmpd = cpow(tmpd, tmpd);
16939 tmpd = cproj(tmpd);
16940 ld = cabsl(tmpld);
16941 ld = cargl(tmpld);
16942 tmpld = ccosl(tmpld);
16943 tmpld = ccoshl(tmpld);
16944 tmpld = cexpl(tmpld);
16945 tmpld = clogl(tmpld);
16946 tmpld = csinl(tmpld);
16947 tmpld = csinhl(tmpld);
16948 tmpld = csqrtl(tmpld);
16949 tmpld = ctanl(tmpld);
16950 tmpld = ctanhl(tmpld);
16951 tmpld = cpowl(tmpld, tmpld);
16952 tmpld = cprojl(tmpld);
16955 return 0;
16957 _ACEOF
16958 if ac_fn_cxx_try_link "$LINENO"; then :
16959 glibcxx_cv_c99_complex=yes
16960 else
16961 glibcxx_cv_c99_complex=no
16963 rm -f core conftest.err conftest.$ac_objext \
16964 conftest$ac_exeext conftest.$ac_ext
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16968 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16969 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16971 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16975 # Check for the existence in <stdio.h> of vscanf, et. al.
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16977 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16978 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16982 if test x$gcc_no_link = xyes; then
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #include <stdio.h>
16986 #include <stdarg.h>
16987 void foo(char* fmt, ...)
16989 va_list args; va_start(args, fmt);
16990 vfscanf(stderr, "%i", args);
16991 vscanf("%i", args);
16992 vsnprintf(fmt, 0, "%i", args);
16993 vsscanf(fmt, "%i", args);
16994 snprintf(fmt, 0, "%i");
16997 main ()
17001 return 0;
17003 _ACEOF
17004 if ac_fn_cxx_try_compile "$LINENO"; then :
17005 glibcxx_cv_c99_stdio=yes
17006 else
17007 glibcxx_cv_c99_stdio=no
17009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17010 else
17011 if test x$gcc_no_link = xyes; then
17012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #include <stdio.h>
17017 #include <stdarg.h>
17018 void foo(char* fmt, ...)
17020 va_list args; va_start(args, fmt);
17021 vfscanf(stderr, "%i", args);
17022 vscanf("%i", args);
17023 vsnprintf(fmt, 0, "%i", args);
17024 vsscanf(fmt, "%i", args);
17025 snprintf(fmt, 0, "%i");
17028 main ()
17032 return 0;
17034 _ACEOF
17035 if ac_fn_cxx_try_link "$LINENO"; then :
17036 glibcxx_cv_c99_stdio=yes
17037 else
17038 glibcxx_cv_c99_stdio=no
17040 rm -f core conftest.err conftest.$ac_objext \
17041 conftest$ac_exeext conftest.$ac_ext
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
17047 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
17049 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
17051 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
17052 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17056 if test x$gcc_no_link = xyes; then
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 #include <stdlib.h>
17060 volatile float f;
17061 volatile long double ld;
17062 volatile unsigned long long ll;
17063 lldiv_t mydivt;
17065 main ()
17067 char* tmp;
17068 f = strtof("gnu", &tmp);
17069 ld = strtold("gnu", &tmp);
17070 ll = strtoll("gnu", &tmp, 10);
17071 ll = strtoull("gnu", &tmp, 10);
17072 ll = llabs(10);
17073 mydivt = lldiv(10,1);
17074 ll = mydivt.quot;
17075 ll = mydivt.rem;
17076 ll = atoll("10");
17077 _Exit(0);
17080 return 0;
17082 _ACEOF
17083 if ac_fn_cxx_try_compile "$LINENO"; then :
17084 glibcxx_cv_c99_stdlib=yes
17085 else
17086 glibcxx_cv_c99_stdlib=no
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089 else
17090 if test x$gcc_no_link = xyes; then
17091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h. */
17095 #include <stdlib.h>
17096 volatile float f;
17097 volatile long double ld;
17098 volatile unsigned long long ll;
17099 lldiv_t mydivt;
17101 main ()
17103 char* tmp;
17104 f = strtof("gnu", &tmp);
17105 ld = strtold("gnu", &tmp);
17106 ll = strtoll("gnu", &tmp, 10);
17107 ll = strtoull("gnu", &tmp, 10);
17108 ll = llabs(10);
17109 mydivt = lldiv(10,1);
17110 ll = mydivt.quot;
17111 ll = mydivt.rem;
17112 ll = atoll("10");
17113 _Exit(0);
17116 return 0;
17118 _ACEOF
17119 if ac_fn_cxx_try_link "$LINENO"; then :
17120 glibcxx_cv_c99_stdlib=yes
17121 else
17122 glibcxx_cv_c99_stdlib=no
17124 rm -f core conftest.err conftest.$ac_objext \
17125 conftest$ac_exeext conftest.$ac_ext
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17131 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17133 # Check for the existence in <wchar.h> of wcstold, etc.
17134 glibcxx_cv_c99_wchar=no;
17135 if test x"$ac_has_wchar_h" = xyes &&
17136 test x"$ac_has_wctype_h" = xyes; then
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17138 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17141 #include <wchar.h>
17142 namespace test
17144 using ::wcstold;
17145 using ::wcstoll;
17146 using ::wcstoull;
17150 main ()
17154 return 0;
17156 _ACEOF
17157 if ac_fn_cxx_try_compile "$LINENO"; then :
17158 glibcxx_cv_c99_wchar=yes
17159 else
17160 glibcxx_cv_c99_wchar=no
17162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17164 # Checks for wide character functions that may not be present.
17165 # Injection of these is wrapped with guard macros.
17166 # NB: only put functions here, instead of immediately above, if
17167 # absolutely necessary.
17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17170 #include <wchar.h>
17171 namespace test { using ::vfwscanf; }
17173 main ()
17177 return 0;
17179 _ACEOF
17180 if ac_fn_cxx_try_compile "$LINENO"; then :
17182 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17189 #include <wchar.h>
17190 namespace test { using ::vswscanf; }
17192 main ()
17196 return 0;
17198 _ACEOF
17199 if ac_fn_cxx_try_compile "$LINENO"; then :
17201 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 #include <wchar.h>
17209 namespace test { using ::vwscanf; }
17211 main ()
17215 return 0;
17217 _ACEOF
17218 if ac_fn_cxx_try_compile "$LINENO"; then :
17220 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h. */
17227 #include <wchar.h>
17228 namespace test { using ::wcstof; }
17230 main ()
17234 return 0;
17236 _ACEOF
17237 if ac_fn_cxx_try_compile "$LINENO"; then :
17239 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17245 /* end confdefs.h. */
17246 #include <wctype.h>
17248 main ()
17250 wint_t t; int i = iswblank(t);
17252 return 0;
17254 _ACEOF
17255 if ac_fn_cxx_try_compile "$LINENO"; then :
17257 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17263 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17266 # Option parsed, now set things appropriately.
17267 if test x"$glibcxx_cv_c99_math" = x"no" ||
17268 test x"$glibcxx_cv_c99_complex" = x"no" ||
17269 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17270 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17271 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17272 enable_c99=no;
17273 else
17275 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17279 gcc_no_link="$ac_save_gcc_no_link"
17280 LIBS="$ac_save_LIBS"
17281 CXXFLAGS="$ac_save_CXXFLAGS"
17282 ac_ext=c
17283 ac_cpp='$CPP $CPPFLAGS'
17284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17291 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17293 $as_echo "$enable_c99" >&6; }
17296 # Check whether --enable-concept-checks was given.
17297 if test "${enable_concept_checks+set}" = set; then :
17298 enableval=$enable_concept_checks;
17299 case "$enableval" in
17300 yes|no) ;;
17301 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17302 esac
17304 else
17305 enable_concept_checks=no
17309 if test $enable_concept_checks = yes; then
17311 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17316 # Check whether --enable-libstdcxx-debug-flags was given.
17317 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17318 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17319 xno | x) enable_libstdcxx_debug_flags= ;;
17320 x-*) ;;
17321 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17322 esac
17323 else
17324 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17329 # Option parsed, now set things appropriately
17330 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17334 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17338 $as_echo_n "checking for additional debug build... " >&6; }
17339 # Check whether --enable-libstdcxx-debug was given.
17340 if test "${enable_libstdcxx_debug+set}" = set; then :
17341 enableval=$enable_libstdcxx_debug;
17342 case "$enableval" in
17343 yes|no) ;;
17344 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17345 esac
17347 else
17348 enable_libstdcxx_debug=no
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17353 $as_echo "$enable_libstdcxx_debug" >&6; }
17358 enable_parallel=no;
17360 # See if configured libgomp/omp.h exists. (libgomp may be in
17361 # noconfigdirs but not explicitly disabled.)
17362 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17363 enable_parallel=yes;
17364 else
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17366 $as_echo "$as_me: target-libgomp not built" >&6;}
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17370 $as_echo_n "checking for parallel mode support... " >&6; }
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17372 $as_echo "$enable_parallel" >&6; }
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17375 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17376 # Check whether --enable-cxx-flags was given.
17377 if test "${enable_cxx_flags+set}" = set; then :
17378 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17379 xno | x) enable_cxx_flags= ;;
17380 x-*) ;;
17381 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17382 esac
17383 else
17384 enable_cxx_flags=
17389 # Run through flags (either default or command-line) and set anything
17390 # extra (e.g., #defines) that must accompany particular g++ options.
17391 if test -n "$enable_cxx_flags"; then
17392 for f in $enable_cxx_flags; do
17393 case "$f" in
17394 -fhonor-std) ;;
17395 -*) ;;
17396 *) # and we're trying to pass /what/ exactly?
17397 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17398 esac
17399 done
17402 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17404 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17408 # Check whether --enable-fully-dynamic-string was given.
17409 if test "${enable_fully_dynamic_string+set}" = set; then :
17410 enableval=$enable_fully_dynamic_string;
17411 case "$enableval" in
17412 yes|no) ;;
17413 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17414 esac
17416 else
17417 enable_fully_dynamic_string=no
17421 if test $enable_fully_dynamic_string = yes; then
17422 enable_fully_dynamic_string_def=1
17423 else
17424 enable_fully_dynamic_string_def=0
17427 cat >>confdefs.h <<_ACEOF
17428 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17429 _ACEOF
17434 # Check whether --enable-extern-template was given.
17435 if test "${enable_extern_template+set}" = set; then :
17436 enableval=$enable_extern_template;
17437 case "$enableval" in
17438 yes|no) ;;
17439 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17440 esac
17442 else
17443 enable_extern_template=yes
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17449 $as_echo_n "checking for extern template support... " >&6; }
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17451 $as_echo "$enable_extern_template" >&6; }
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17458 $as_echo_n "checking for custom python install directory... " >&6; }
17460 # Check whether --with-python-dir was given.
17461 if test "${with_python_dir+set}" = set; then :
17462 withval=$with_python_dir; with_python_dir=$withval
17463 else
17464 with_python_dir="no"
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17468 $as_echo "${with_python_dir}" >&6; }
17470 # Needed for installing Python modules during make install.
17471 python_mod_dir="${with_python_dir}"
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17477 $as_echo_n "checking for -Werror... " >&6; }
17478 # Check whether --enable-werror was given.
17479 if test "${enable_werror+set}" = set; then :
17480 enableval=$enable_werror;
17481 case "$enableval" in
17482 yes|no) ;;
17483 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17484 esac
17486 else
17487 enable_werror=yes
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17492 $as_echo "$enable_werror" >&6; }
17497 # Check whether --enable-vtable-verify was given.
17498 if test "${enable_vtable_verify+set}" = set; then :
17499 enableval=$enable_vtable_verify;
17500 case "$enableval" in
17501 yes|no) ;;
17502 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17503 esac
17505 else
17506 enable_vtable_verify=no
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17512 $as_echo_n "checking for vtable verify support... " >&6; }
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17514 $as_echo "$enable_vtable_verify" >&6; }
17516 vtv_cygmin=no
17517 if test $enable_vtable_verify = yes; then
17518 case ${target_os} in
17519 cygwin*|mingw32*)
17520 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17521 vtv_cygmin=yes
17524 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17526 esac
17527 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17528 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17529 else
17530 VTV_CXXFLAGS=
17531 VTV_PCH_CXXFLAGS=
17532 VTV_CXXLINKFLAGS=
17538 if test x$vtv_cygmin = xyes; then
17539 VTV_CYGMIN_TRUE=
17540 VTV_CYGMIN_FALSE='#'
17541 else
17542 VTV_CYGMIN_TRUE='#'
17543 VTV_CYGMIN_FALSE=
17549 # Checks for operating systems support that doesn't require linking.
17553 ac_ext=cpp
17554 ac_cpp='$CXXCPP $CPPFLAGS'
17555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17561 $as_echo_n "checking for gets declaration... " >&6; }
17562 if test "${glibcxx_cv_gets+set}" = set; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 #include <stdio.h>
17569 namespace test
17571 using ::gets;
17574 _ACEOF
17575 if ac_fn_cxx_try_compile "$LINENO"; then :
17576 glibcxx_cv_gets=yes
17577 else
17578 glibcxx_cv_gets=no
17581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 if test $glibcxx_cv_gets = yes; then
17587 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17591 $as_echo "$glibcxx_cv_gets" >&6; }
17593 ac_ext=c
17594 ac_cpp='$CPP $CPPFLAGS'
17595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17603 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17604 if test "${glibcxx_cv_system_error1+set}" = set; then :
17605 $as_echo_n "(cached) " >&6
17606 else
17608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h. */
17610 #include <errno.h>
17612 main ()
17614 int i = EOWNERDEAD;
17616 return 0;
17618 _ACEOF
17619 if ac_fn_c_try_compile "$LINENO"; then :
17620 glibcxx_cv_system_error1=yes
17621 else
17622 glibcxx_cv_system_error1=no
17624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17629 $as_echo "$glibcxx_cv_system_error1" >&6; }
17630 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17632 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17636 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17637 if test "${glibcxx_cv_system_error2+set}" = set; then :
17638 $as_echo_n "(cached) " >&6
17639 else
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17643 #include <errno.h>
17645 main ()
17647 int i = ENOTRECOVERABLE;
17649 return 0;
17651 _ACEOF
17652 if ac_fn_c_try_compile "$LINENO"; then :
17653 glibcxx_cv_system_error2=yes
17654 else
17655 glibcxx_cv_system_error2=no
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17662 $as_echo "$glibcxx_cv_system_error2" >&6; }
17663 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17665 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17669 $as_echo_n "checking for ENOLINK... " >&6; }
17670 if test "${glibcxx_cv_system_error3+set}" = set; then :
17671 $as_echo_n "(cached) " >&6
17672 else
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17676 #include <errno.h>
17678 main ()
17680 int i = ENOLINK;
17682 return 0;
17684 _ACEOF
17685 if ac_fn_c_try_compile "$LINENO"; then :
17686 glibcxx_cv_system_error3=yes
17687 else
17688 glibcxx_cv_system_error3=no
17690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17695 $as_echo "$glibcxx_cv_system_error3" >&6; }
17696 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17698 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17702 $as_echo_n "checking for EPROTO... " >&6; }
17703 if test "${glibcxx_cv_system_error4+set}" = set; then :
17704 $as_echo_n "(cached) " >&6
17705 else
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17709 #include <errno.h>
17711 main ()
17713 int i = EPROTO;
17715 return 0;
17717 _ACEOF
17718 if ac_fn_c_try_compile "$LINENO"; then :
17719 glibcxx_cv_system_error4=yes
17720 else
17721 glibcxx_cv_system_error4=no
17723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17728 $as_echo "$glibcxx_cv_system_error4" >&6; }
17729 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17731 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17735 $as_echo_n "checking for ENODATA... " >&6; }
17736 if test "${glibcxx_cv_system_error5+set}" = set; then :
17737 $as_echo_n "(cached) " >&6
17738 else
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17742 #include <errno.h>
17744 main ()
17746 int i = ENODATA;
17748 return 0;
17750 _ACEOF
17751 if ac_fn_c_try_compile "$LINENO"; then :
17752 glibcxx_cv_system_error5=yes
17753 else
17754 glibcxx_cv_system_error5=no
17756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17761 $as_echo "$glibcxx_cv_system_error5" >&6; }
17762 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17764 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17768 $as_echo_n "checking for ENOSR... " >&6; }
17769 if test "${glibcxx_cv_system_error6+set}" = set; then :
17770 $as_echo_n "(cached) " >&6
17771 else
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 #include <errno.h>
17777 main ()
17779 int i = ENOSR;
17781 return 0;
17783 _ACEOF
17784 if ac_fn_c_try_compile "$LINENO"; then :
17785 glibcxx_cv_system_error6=yes
17786 else
17787 glibcxx_cv_system_error6=no
17789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17794 $as_echo "$glibcxx_cv_system_error6" >&6; }
17795 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17797 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17801 $as_echo_n "checking for ENOSTR... " >&6; }
17802 if test "${glibcxx_cv_system_error7+set}" = set; then :
17803 $as_echo_n "(cached) " >&6
17804 else
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <errno.h>
17810 main ()
17812 int i = ENOSTR;
17814 return 0;
17816 _ACEOF
17817 if ac_fn_c_try_compile "$LINENO"; then :
17818 glibcxx_cv_system_error7=yes
17819 else
17820 glibcxx_cv_system_error7=no
17822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17827 $as_echo "$glibcxx_cv_system_error7" >&6; }
17828 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17830 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17834 $as_echo_n "checking for ETIME... " >&6; }
17835 if test "${glibcxx_cv_system_error8+set}" = set; then :
17836 $as_echo_n "(cached) " >&6
17837 else
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <errno.h>
17843 main ()
17845 int i = ETIME;
17847 return 0;
17849 _ACEOF
17850 if ac_fn_c_try_compile "$LINENO"; then :
17851 glibcxx_cv_system_error8=yes
17852 else
17853 glibcxx_cv_system_error8=no
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17860 $as_echo "$glibcxx_cv_system_error8" >&6; }
17861 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17863 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17867 $as_echo_n "checking for EBADMSG... " >&6; }
17868 if test "${glibcxx_cv_system_error9+set}" = set; then :
17869 $as_echo_n "(cached) " >&6
17870 else
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17874 #include <errno.h>
17876 main ()
17878 int i = EBADMSG;
17880 return 0;
17882 _ACEOF
17883 if ac_fn_c_try_compile "$LINENO"; then :
17884 glibcxx_cv_system_error9=yes
17885 else
17886 glibcxx_cv_system_error9=no
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17893 $as_echo "$glibcxx_cv_system_error9" >&6; }
17894 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17896 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17900 $as_echo_n "checking for ECANCELED... " >&6; }
17901 if test "${glibcxx_cv_system_error10+set}" = set; then :
17902 $as_echo_n "(cached) " >&6
17903 else
17905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17906 /* end confdefs.h. */
17907 #include <errno.h>
17909 main ()
17911 int i = ECANCELED;
17913 return 0;
17915 _ACEOF
17916 if ac_fn_c_try_compile "$LINENO"; then :
17917 glibcxx_cv_system_error10=yes
17918 else
17919 glibcxx_cv_system_error10=no
17921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17926 $as_echo "$glibcxx_cv_system_error10" >&6; }
17927 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17929 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17933 $as_echo_n "checking for EOVERFLOW... " >&6; }
17934 if test "${glibcxx_cv_system_error11+set}" = set; then :
17935 $as_echo_n "(cached) " >&6
17936 else
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #include <errno.h>
17942 main ()
17944 int i = EOVERFLOW;
17946 return 0;
17948 _ACEOF
17949 if ac_fn_c_try_compile "$LINENO"; then :
17950 glibcxx_cv_system_error11=yes
17951 else
17952 glibcxx_cv_system_error11=no
17954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17959 $as_echo "$glibcxx_cv_system_error11" >&6; }
17960 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17962 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17966 $as_echo_n "checking for ENOTSUP... " >&6; }
17967 if test "${glibcxx_cv_system_error12+set}" = set; then :
17968 $as_echo_n "(cached) " >&6
17969 else
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17973 #include <errno.h>
17975 main ()
17977 int i = ENOTSUP;
17979 return 0;
17981 _ACEOF
17982 if ac_fn_c_try_compile "$LINENO"; then :
17983 glibcxx_cv_system_error12=yes
17984 else
17985 glibcxx_cv_system_error12=no
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17992 $as_echo "$glibcxx_cv_system_error12" >&6; }
17993 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17995 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17999 $as_echo_n "checking for EIDRM... " >&6; }
18000 if test "${glibcxx_cv_system_error13+set}" = set; then :
18001 $as_echo_n "(cached) " >&6
18002 else
18004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18006 #include <errno.h>
18008 main ()
18010 int i = EIDRM;
18012 return 0;
18014 _ACEOF
18015 if ac_fn_c_try_compile "$LINENO"; then :
18016 glibcxx_cv_system_error13=yes
18017 else
18018 glibcxx_cv_system_error13=no
18020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18025 $as_echo "$glibcxx_cv_system_error13" >&6; }
18026 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18028 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18032 $as_echo_n "checking for ETXTBSY... " >&6; }
18033 if test "${glibcxx_cv_system_error14+set}" = set; then :
18034 $as_echo_n "(cached) " >&6
18035 else
18037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18038 /* end confdefs.h. */
18039 #include <errno.h>
18041 main ()
18043 int i = ETXTBSY;
18045 return 0;
18047 _ACEOF
18048 if ac_fn_c_try_compile "$LINENO"; then :
18049 glibcxx_cv_system_error14=yes
18050 else
18051 glibcxx_cv_system_error14=no
18053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18058 $as_echo "$glibcxx_cv_system_error14" >&6; }
18059 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18061 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18065 $as_echo_n "checking for ECHILD... " >&6; }
18066 if test "${glibcxx_cv_system_error15+set}" = set; then :
18067 $as_echo_n "(cached) " >&6
18068 else
18070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18071 /* end confdefs.h. */
18072 #include <errno.h>
18074 main ()
18076 int i = ECHILD;
18078 return 0;
18080 _ACEOF
18081 if ac_fn_c_try_compile "$LINENO"; then :
18082 glibcxx_cv_system_error15=yes
18083 else
18084 glibcxx_cv_system_error15=no
18086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18091 $as_echo "$glibcxx_cv_system_error15" >&6; }
18092 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18094 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18098 $as_echo_n "checking for ENOSPC... " >&6; }
18099 if test "${glibcxx_cv_system_error16+set}" = set; then :
18100 $as_echo_n "(cached) " >&6
18101 else
18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18105 #include <errno.h>
18107 main ()
18109 int i = ENOSPC;
18111 return 0;
18113 _ACEOF
18114 if ac_fn_c_try_compile "$LINENO"; then :
18115 glibcxx_cv_system_error16=yes
18116 else
18117 glibcxx_cv_system_error16=no
18119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18124 $as_echo "$glibcxx_cv_system_error16" >&6; }
18125 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18127 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18131 $as_echo_n "checking for EPERM... " >&6; }
18132 if test "${glibcxx_cv_system_error17+set}" = set; then :
18133 $as_echo_n "(cached) " >&6
18134 else
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18138 #include <errno.h>
18140 main ()
18142 int i = EPERM;
18144 return 0;
18146 _ACEOF
18147 if ac_fn_c_try_compile "$LINENO"; then :
18148 glibcxx_cv_system_error17=yes
18149 else
18150 glibcxx_cv_system_error17=no
18152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18157 $as_echo "$glibcxx_cv_system_error17" >&6; }
18158 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18160 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18164 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18165 if test "${glibcxx_cv_system_error18+set}" = set; then :
18166 $as_echo_n "(cached) " >&6
18167 else
18169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18170 /* end confdefs.h. */
18171 #include <errno.h>
18173 main ()
18175 int i = ETIMEDOUT;
18177 return 0;
18179 _ACEOF
18180 if ac_fn_c_try_compile "$LINENO"; then :
18181 glibcxx_cv_system_error18=yes
18182 else
18183 glibcxx_cv_system_error18=no
18185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18190 $as_echo "$glibcxx_cv_system_error18" >&6; }
18191 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18193 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18197 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18198 if test "${glibcxx_cv_system_error19+set}" = set; then :
18199 $as_echo_n "(cached) " >&6
18200 else
18202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18203 /* end confdefs.h. */
18204 #include <errno.h>
18206 main ()
18208 int i = EWOULDBLOCK;
18210 return 0;
18212 _ACEOF
18213 if ac_fn_c_try_compile "$LINENO"; then :
18214 glibcxx_cv_system_error19=yes
18215 else
18216 glibcxx_cv_system_error19=no
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18223 $as_echo "$glibcxx_cv_system_error19" >&6; }
18224 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18226 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18232 # For the streamoff typedef.
18236 ac_ext=cpp
18237 ac_cpp='$CXXCPP $CPPFLAGS'
18238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18244 $as_echo_n "checking for int64_t... " >&6; }
18245 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18246 $as_echo_n "(cached) " >&6
18247 else
18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18251 #include <stdint.h>
18253 main ()
18255 int64_t var;
18257 return 0;
18259 _ACEOF
18260 if ac_fn_cxx_try_compile "$LINENO"; then :
18261 glibcxx_cv_INT64_T=yes
18262 else
18263 glibcxx_cv_INT64_T=no
18265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18270 if test $glibcxx_cv_INT64_T = yes; then
18272 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18275 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18278 $as_echo_n "checking for int64_t as long... " >&6; }
18279 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18280 $as_echo_n "(cached) " >&6
18281 else
18283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h. */
18285 #include <stdint.h>
18286 template<typename, typename> struct same { enum { value = -1 }; };
18287 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18288 int array[same<int64_t, long>::value];
18290 main ()
18294 return 0;
18296 _ACEOF
18297 if ac_fn_cxx_try_compile "$LINENO"; then :
18298 glibcxx_cv_int64_t_long=yes
18299 else
18300 glibcxx_cv_int64_t_long=no
18302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18307 if test $glibcxx_cv_int64_t_long = yes; then
18309 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18312 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18316 $as_echo_n "checking for int64_t as long long... " >&6; }
18317 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18318 $as_echo_n "(cached) " >&6
18319 else
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18323 #include <stdint.h>
18324 template<typename, typename> struct same { enum { value = -1 }; };
18325 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18326 int array[same<int64_t, long long>::value];
18328 main ()
18332 return 0;
18334 _ACEOF
18335 if ac_fn_cxx_try_compile "$LINENO"; then :
18336 glibcxx_cv_int64_t_long_long=yes
18337 else
18338 glibcxx_cv_int64_t_long_long=no
18340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18345 if test $glibcxx_cv_int64_t_long_long = yes; then
18347 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18350 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18354 ac_ext=c
18355 ac_cpp='$CPP $CPPFLAGS'
18356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18362 # For LFS support.
18365 ac_ext=cpp
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18371 ac_save_CXXFLAGS="$CXXFLAGS"
18372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18374 $as_echo_n "checking for LFS support... " >&6; }
18375 if test "${glibcxx_cv_LFS+set}" = set; then :
18376 $as_echo_n "(cached) " >&6
18377 else
18379 if test x$gcc_no_link = xyes; then
18380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h. */
18382 #include <unistd.h>
18383 #include <stdio.h>
18384 #include <sys/stat.h>
18387 main ()
18389 FILE* fp;
18390 fopen64("t", "w");
18391 fseeko64(fp, 0, SEEK_CUR);
18392 ftello64(fp);
18393 lseek64(1, 0, SEEK_CUR);
18394 struct stat64 buf;
18395 fstat64(1, &buf);
18397 return 0;
18399 _ACEOF
18400 if ac_fn_cxx_try_compile "$LINENO"; then :
18401 glibcxx_cv_LFS=yes
18402 else
18403 glibcxx_cv_LFS=no
18405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 else
18407 if test x$gcc_no_link = xyes; then
18408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18412 #include <unistd.h>
18413 #include <stdio.h>
18414 #include <sys/stat.h>
18417 main ()
18419 FILE* fp;
18420 fopen64("t", "w");
18421 fseeko64(fp, 0, SEEK_CUR);
18422 ftello64(fp);
18423 lseek64(1, 0, SEEK_CUR);
18424 struct stat64 buf;
18425 fstat64(1, &buf);
18427 return 0;
18429 _ACEOF
18430 if ac_fn_cxx_try_link "$LINENO"; then :
18431 glibcxx_cv_LFS=yes
18432 else
18433 glibcxx_cv_LFS=no
18435 rm -f core conftest.err conftest.$ac_objext \
18436 conftest$ac_exeext conftest.$ac_ext
18441 if test $glibcxx_cv_LFS = yes; then
18443 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18447 $as_echo "$glibcxx_cv_LFS" >&6; }
18448 CXXFLAGS="$ac_save_CXXFLAGS"
18449 ac_ext=c
18450 ac_cpp='$CPP $CPPFLAGS'
18451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18457 # For showmanyc_helper().
18458 for ac_header in sys/ioctl.h sys/filio.h
18459 do :
18460 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18461 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18462 eval as_val=\$$as_ac_Header
18463 if test "x$as_val" = x""yes; then :
18464 cat >>confdefs.h <<_ACEOF
18465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18466 _ACEOF
18470 done
18475 ac_ext=cpp
18476 ac_cpp='$CXXCPP $CPPFLAGS'
18477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18481 ac_save_CXXFLAGS="$CXXFLAGS"
18482 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18485 $as_echo_n "checking for poll... " >&6; }
18486 if test "${glibcxx_cv_POLL+set}" = set; then :
18487 $as_echo_n "(cached) " >&6
18488 else
18490 if test x$gcc_no_link = xyes; then
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18493 #include <poll.h>
18495 main ()
18497 struct pollfd pfd[1];
18498 pfd[0].events = POLLIN;
18499 poll(pfd, 1, 0);
18501 return 0;
18503 _ACEOF
18504 if ac_fn_cxx_try_compile "$LINENO"; then :
18505 glibcxx_cv_POLL=yes
18506 else
18507 glibcxx_cv_POLL=no
18509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18510 else
18511 if test x$gcc_no_link = xyes; then
18512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18516 #include <poll.h>
18518 main ()
18520 struct pollfd pfd[1];
18521 pfd[0].events = POLLIN;
18522 poll(pfd, 1, 0);
18524 return 0;
18526 _ACEOF
18527 if ac_fn_cxx_try_link "$LINENO"; then :
18528 glibcxx_cv_POLL=yes
18529 else
18530 glibcxx_cv_POLL=no
18532 rm -f core conftest.err conftest.$ac_objext \
18533 conftest$ac_exeext conftest.$ac_ext
18538 if test $glibcxx_cv_POLL = yes; then
18540 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18544 $as_echo "$glibcxx_cv_POLL" >&6; }
18546 CXXFLAGS="$ac_save_CXXFLAGS"
18547 ac_ext=c
18548 ac_cpp='$CPP $CPPFLAGS'
18549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18557 ac_ext=cpp
18558 ac_cpp='$CXXCPP $CPPFLAGS'
18559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18563 ac_save_CXXFLAGS="$CXXFLAGS"
18564 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18567 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18568 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18569 $as_echo_n "(cached) " >&6
18570 else
18572 if test x$gcc_no_link = xyes; then
18573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18574 /* end confdefs.h. */
18575 #include <sys/stat.h>
18577 main ()
18579 struct stat buffer;
18580 fstat(0, &buffer);
18581 S_ISREG(buffer.st_mode);
18583 return 0;
18585 _ACEOF
18586 if ac_fn_cxx_try_compile "$LINENO"; then :
18587 glibcxx_cv_S_ISREG=yes
18588 else
18589 glibcxx_cv_S_ISREG=no
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592 else
18593 if test x$gcc_no_link = xyes; then
18594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18598 #include <sys/stat.h>
18600 main ()
18602 struct stat buffer;
18603 fstat(0, &buffer);
18604 S_ISREG(buffer.st_mode);
18606 return 0;
18608 _ACEOF
18609 if ac_fn_cxx_try_link "$LINENO"; then :
18610 glibcxx_cv_S_ISREG=yes
18611 else
18612 glibcxx_cv_S_ISREG=no
18614 rm -f core conftest.err conftest.$ac_objext \
18615 conftest$ac_exeext conftest.$ac_ext
18620 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18624 if test x$gcc_no_link = xyes; then
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #include <sys/stat.h>
18629 main ()
18631 struct stat buffer;
18632 fstat(0, &buffer);
18633 S_IFREG & buffer.st_mode;
18635 return 0;
18637 _ACEOF
18638 if ac_fn_cxx_try_compile "$LINENO"; then :
18639 glibcxx_cv_S_IFREG=yes
18640 else
18641 glibcxx_cv_S_IFREG=no
18643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18644 else
18645 if test x$gcc_no_link = xyes; then
18646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18650 #include <sys/stat.h>
18652 main ()
18654 struct stat buffer;
18655 fstat(0, &buffer);
18656 S_IFREG & buffer.st_mode;
18658 return 0;
18660 _ACEOF
18661 if ac_fn_cxx_try_link "$LINENO"; then :
18662 glibcxx_cv_S_IFREG=yes
18663 else
18664 glibcxx_cv_S_IFREG=no
18666 rm -f core conftest.err conftest.$ac_objext \
18667 conftest$ac_exeext conftest.$ac_ext
18672 res=no
18673 if test $glibcxx_cv_S_ISREG = yes; then
18675 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18677 res=S_ISREG
18678 elif test $glibcxx_cv_S_IFREG = yes; then
18680 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18682 res=S_IFREG
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18685 $as_echo "$res" >&6; }
18687 CXXFLAGS="$ac_save_CXXFLAGS"
18688 ac_ext=c
18689 ac_cpp='$CPP $CPPFLAGS'
18690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18696 # For xsputn_2().
18697 for ac_header in sys/uio.h
18698 do :
18699 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18700 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18701 cat >>confdefs.h <<_ACEOF
18702 #define HAVE_SYS_UIO_H 1
18703 _ACEOF
18707 done
18712 ac_ext=cpp
18713 ac_cpp='$CXXCPP $CPPFLAGS'
18714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18718 ac_save_CXXFLAGS="$CXXFLAGS"
18719 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18722 $as_echo_n "checking for writev... " >&6; }
18723 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18724 $as_echo_n "(cached) " >&6
18725 else
18727 if test x$gcc_no_link = xyes; then
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18730 #include <sys/uio.h>
18732 main ()
18734 struct iovec iov[2];
18735 writev(0, iov, 0);
18737 return 0;
18739 _ACEOF
18740 if ac_fn_cxx_try_compile "$LINENO"; then :
18741 glibcxx_cv_WRITEV=yes
18742 else
18743 glibcxx_cv_WRITEV=no
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18746 else
18747 if test x$gcc_no_link = xyes; then
18748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18751 /* end confdefs.h. */
18752 #include <sys/uio.h>
18754 main ()
18756 struct iovec iov[2];
18757 writev(0, iov, 0);
18759 return 0;
18761 _ACEOF
18762 if ac_fn_cxx_try_link "$LINENO"; then :
18763 glibcxx_cv_WRITEV=yes
18764 else
18765 glibcxx_cv_WRITEV=no
18767 rm -f core conftest.err conftest.$ac_objext \
18768 conftest$ac_exeext conftest.$ac_ext
18773 if test $glibcxx_cv_WRITEV = yes; then
18775 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18779 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18781 CXXFLAGS="$ac_save_CXXFLAGS"
18782 ac_ext=c
18783 ac_cpp='$CPP $CPPFLAGS'
18784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18790 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18791 # so that the check is done with the C compiler (not C++).
18792 # Checking with C++ can break a canadian cross build if either
18793 # file does not exist in C but does in C++.
18794 for ac_header in fenv.h complex.h
18795 do :
18796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18797 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18798 eval as_val=\$$as_ac_Header
18799 if test "x$as_val" = x""yes; then :
18800 cat >>confdefs.h <<_ACEOF
18801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18802 _ACEOF
18806 done
18809 # For C99 support to TR1.
18813 ac_ext=cpp
18814 ac_cpp='$CXXCPP $CPPFLAGS'
18815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18820 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18821 # undefined and fake C99 facilities may be spuriously enabled.
18822 ac_save_CXXFLAGS="$CXXFLAGS"
18823 CXXFLAGS="$CXXFLAGS -std=c++98"
18825 # Check for the existence of <complex.h> complex math functions used
18826 # by tr1/complex.
18827 for ac_header in complex.h
18828 do :
18829 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18830 if test "x$ac_cv_header_complex_h" = x""yes; then :
18831 cat >>confdefs.h <<_ACEOF
18832 #define HAVE_COMPLEX_H 1
18833 _ACEOF
18834 ac_has_complex_h=yes
18835 else
18836 ac_has_complex_h=no
18839 done
18841 ac_c99_complex_tr1=no;
18842 if test x"$ac_has_complex_h" = x"yes"; then
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18844 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18847 #include <complex.h>
18849 main ()
18851 typedef __complex__ float float_type; float_type tmpf;
18852 cacosf(tmpf);
18853 casinf(tmpf);
18854 catanf(tmpf);
18855 cacoshf(tmpf);
18856 casinhf(tmpf);
18857 catanhf(tmpf);
18858 typedef __complex__ double double_type; double_type tmpd;
18859 cacos(tmpd);
18860 casin(tmpd);
18861 catan(tmpd);
18862 cacosh(tmpd);
18863 casinh(tmpd);
18864 catanh(tmpd);
18865 typedef __complex__ long double ld_type; ld_type tmpld;
18866 cacosl(tmpld);
18867 casinl(tmpld);
18868 catanl(tmpld);
18869 cacoshl(tmpld);
18870 casinhl(tmpld);
18871 catanhl(tmpld);
18874 return 0;
18876 _ACEOF
18877 if ac_fn_cxx_try_compile "$LINENO"; then :
18878 ac_c99_complex_tr1=yes
18879 else
18880 ac_c99_complex_tr1=no
18882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18885 $as_echo "$ac_c99_complex_tr1" >&6; }
18886 if test x"$ac_c99_complex_tr1" = x"yes"; then
18888 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18892 # Check for the existence of <ctype.h> functions.
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18894 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18895 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18896 $as_echo_n "(cached) " >&6
18897 else
18899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18901 #include <ctype.h>
18903 main ()
18905 int ch;
18906 int ret;
18907 ret = isblank(ch);
18910 return 0;
18912 _ACEOF
18913 if ac_fn_cxx_try_compile "$LINENO"; then :
18914 glibcxx_cv_c99_ctype_tr1=yes
18915 else
18916 glibcxx_cv_c99_ctype_tr1=no
18918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18923 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18924 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18926 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18930 # Check for the existence of <fenv.h> functions.
18931 for ac_header in fenv.h
18932 do :
18933 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18934 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_FENV_H 1
18937 _ACEOF
18938 ac_has_fenv_h=yes
18939 else
18940 ac_has_fenv_h=no
18943 done
18945 ac_c99_fenv_tr1=no;
18946 if test x"$ac_has_fenv_h" = x"yes"; then
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18948 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18950 /* end confdefs.h. */
18951 #include <fenv.h>
18953 main ()
18955 int except, mode;
18956 fexcept_t* pflag;
18957 fenv_t* penv;
18958 int ret;
18959 ret = feclearexcept(except);
18960 ret = fegetexceptflag(pflag, except);
18961 ret = feraiseexcept(except);
18962 ret = fesetexceptflag(pflag, except);
18963 ret = fetestexcept(except);
18964 ret = fegetround();
18965 ret = fesetround(mode);
18966 ret = fegetenv(penv);
18967 ret = feholdexcept(penv);
18968 ret = fesetenv(penv);
18969 ret = feupdateenv(penv);
18972 return 0;
18974 _ACEOF
18975 if ac_fn_cxx_try_compile "$LINENO"; then :
18976 ac_c99_fenv_tr1=yes
18977 else
18978 ac_c99_fenv_tr1=no
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18983 $as_echo "$ac_c99_fenv_tr1" >&6; }
18984 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18986 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18990 # Check for the existence of <stdint.h> types.
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18992 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18993 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18994 $as_echo_n "(cached) " >&6
18995 else
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
18999 #define __STDC_LIMIT_MACROS
19000 #define __STDC_CONSTANT_MACROS
19001 #include <stdint.h>
19003 main ()
19005 typedef int8_t my_int8_t;
19006 my_int8_t i8 = INT8_MIN;
19007 i8 = INT8_MAX;
19008 typedef int16_t my_int16_t;
19009 my_int16_t i16 = INT16_MIN;
19010 i16 = INT16_MAX;
19011 typedef int32_t my_int32_t;
19012 my_int32_t i32 = INT32_MIN;
19013 i32 = INT32_MAX;
19014 typedef int64_t my_int64_t;
19015 my_int64_t i64 = INT64_MIN;
19016 i64 = INT64_MAX;
19017 typedef int_fast8_t my_int_fast8_t;
19018 my_int_fast8_t if8 = INT_FAST8_MIN;
19019 if8 = INT_FAST8_MAX;
19020 typedef int_fast16_t my_int_fast16_t;
19021 my_int_fast16_t if16 = INT_FAST16_MIN;
19022 if16 = INT_FAST16_MAX;
19023 typedef int_fast32_t my_int_fast32_t;
19024 my_int_fast32_t if32 = INT_FAST32_MIN;
19025 if32 = INT_FAST32_MAX;
19026 typedef int_fast64_t my_int_fast64_t;
19027 my_int_fast64_t if64 = INT_FAST64_MIN;
19028 if64 = INT_FAST64_MAX;
19029 typedef int_least8_t my_int_least8_t;
19030 my_int_least8_t il8 = INT_LEAST8_MIN;
19031 il8 = INT_LEAST8_MAX;
19032 typedef int_least16_t my_int_least16_t;
19033 my_int_least16_t il16 = INT_LEAST16_MIN;
19034 il16 = INT_LEAST16_MAX;
19035 typedef int_least32_t my_int_least32_t;
19036 my_int_least32_t il32 = INT_LEAST32_MIN;
19037 il32 = INT_LEAST32_MAX;
19038 typedef int_least64_t my_int_least64_t;
19039 my_int_least64_t il64 = INT_LEAST64_MIN;
19040 il64 = INT_LEAST64_MAX;
19041 typedef intmax_t my_intmax_t;
19042 my_intmax_t im = INTMAX_MAX;
19043 im = INTMAX_MIN;
19044 typedef intptr_t my_intptr_t;
19045 my_intptr_t ip = INTPTR_MAX;
19046 ip = INTPTR_MIN;
19047 typedef uint8_t my_uint8_t;
19048 my_uint8_t ui8 = UINT8_MAX;
19049 ui8 = UINT8_MAX;
19050 typedef uint16_t my_uint16_t;
19051 my_uint16_t ui16 = UINT16_MAX;
19052 ui16 = UINT16_MAX;
19053 typedef uint32_t my_uint32_t;
19054 my_uint32_t ui32 = UINT32_MAX;
19055 ui32 = UINT32_MAX;
19056 typedef uint64_t my_uint64_t;
19057 my_uint64_t ui64 = UINT64_MAX;
19058 ui64 = UINT64_MAX;
19059 typedef uint_fast8_t my_uint_fast8_t;
19060 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19061 uif8 = UINT_FAST8_MAX;
19062 typedef uint_fast16_t my_uint_fast16_t;
19063 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19064 uif16 = UINT_FAST16_MAX;
19065 typedef uint_fast32_t my_uint_fast32_t;
19066 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19067 uif32 = UINT_FAST32_MAX;
19068 typedef uint_fast64_t my_uint_fast64_t;
19069 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19070 uif64 = UINT_FAST64_MAX;
19071 typedef uint_least8_t my_uint_least8_t;
19072 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19073 uil8 = UINT_LEAST8_MAX;
19074 typedef uint_least16_t my_uint_least16_t;
19075 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19076 uil16 = UINT_LEAST16_MAX;
19077 typedef uint_least32_t my_uint_least32_t;
19078 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19079 uil32 = UINT_LEAST32_MAX;
19080 typedef uint_least64_t my_uint_least64_t;
19081 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19082 uil64 = UINT_LEAST64_MAX;
19083 typedef uintmax_t my_uintmax_t;
19084 my_uintmax_t uim = UINTMAX_MAX;
19085 uim = UINTMAX_MAX;
19086 typedef uintptr_t my_uintptr_t;
19087 my_uintptr_t uip = UINTPTR_MAX;
19088 uip = UINTPTR_MAX;
19091 return 0;
19093 _ACEOF
19094 if ac_fn_cxx_try_compile "$LINENO"; then :
19095 glibcxx_cv_c99_stdint_tr1=yes
19096 else
19097 glibcxx_cv_c99_stdint_tr1=no
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19104 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19105 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19107 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19111 # Check for the existence of <math.h> functions.
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19113 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19114 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19115 $as_echo_n "(cached) " >&6
19116 else
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 #include <math.h>
19122 main ()
19124 typedef double_t my_double_t;
19125 typedef float_t my_float_t;
19126 acosh(0.0);
19127 acoshf(0.0f);
19128 acoshl(0.0l);
19129 asinh(0.0);
19130 asinhf(0.0f);
19131 asinhl(0.0l);
19132 atanh(0.0);
19133 atanhf(0.0f);
19134 atanhl(0.0l);
19135 cbrt(0.0);
19136 cbrtf(0.0f);
19137 cbrtl(0.0l);
19138 copysign(0.0, 0.0);
19139 copysignf(0.0f, 0.0f);
19140 copysignl(0.0l, 0.0l);
19141 erf(0.0);
19142 erff(0.0f);
19143 erfl(0.0l);
19144 erfc(0.0);
19145 erfcf(0.0f);
19146 erfcl(0.0l);
19147 exp2(0.0);
19148 exp2f(0.0f);
19149 exp2l(0.0l);
19150 expm1(0.0);
19151 expm1f(0.0f);
19152 expm1l(0.0l);
19153 fdim(0.0, 0.0);
19154 fdimf(0.0f, 0.0f);
19155 fdiml(0.0l, 0.0l);
19156 fma(0.0, 0.0, 0.0);
19157 fmaf(0.0f, 0.0f, 0.0f);
19158 fmal(0.0l, 0.0l, 0.0l);
19159 fmax(0.0, 0.0);
19160 fmaxf(0.0f, 0.0f);
19161 fmaxl(0.0l, 0.0l);
19162 fmin(0.0, 0.0);
19163 fminf(0.0f, 0.0f);
19164 fminl(0.0l, 0.0l);
19165 hypot(0.0, 0.0);
19166 hypotf(0.0f, 0.0f);
19167 hypotl(0.0l, 0.0l);
19168 ilogb(0.0);
19169 ilogbf(0.0f);
19170 ilogbl(0.0l);
19171 lgamma(0.0);
19172 lgammaf(0.0f);
19173 lgammal(0.0l);
19174 llrint(0.0);
19175 llrintf(0.0f);
19176 llrintl(0.0l);
19177 llround(0.0);
19178 llroundf(0.0f);
19179 llroundl(0.0l);
19180 log1p(0.0);
19181 log1pf(0.0f);
19182 log1pl(0.0l);
19183 log2(0.0);
19184 log2f(0.0f);
19185 log2l(0.0l);
19186 logb(0.0);
19187 logbf(0.0f);
19188 logbl(0.0l);
19189 lrint(0.0);
19190 lrintf(0.0f);
19191 lrintl(0.0l);
19192 lround(0.0);
19193 lroundf(0.0f);
19194 lroundl(0.0l);
19195 nan(0);
19196 nanf(0);
19197 nanl(0);
19198 nearbyint(0.0);
19199 nearbyintf(0.0f);
19200 nearbyintl(0.0l);
19201 nextafter(0.0, 0.0);
19202 nextafterf(0.0f, 0.0f);
19203 nextafterl(0.0l, 0.0l);
19204 nexttoward(0.0, 0.0);
19205 nexttowardf(0.0f, 0.0f);
19206 nexttowardl(0.0l, 0.0l);
19207 remainder(0.0, 0.0);
19208 remainderf(0.0f, 0.0f);
19209 remainderl(0.0l, 0.0l);
19210 remquo(0.0, 0.0, 0);
19211 remquof(0.0f, 0.0f, 0);
19212 remquol(0.0l, 0.0l, 0);
19213 rint(0.0);
19214 rintf(0.0f);
19215 rintl(0.0l);
19216 round(0.0);
19217 roundf(0.0f);
19218 roundl(0.0l);
19219 scalbln(0.0, 0l);
19220 scalblnf(0.0f, 0l);
19221 scalblnl(0.0l, 0l);
19222 scalbn(0.0, 0);
19223 scalbnf(0.0f, 0);
19224 scalbnl(0.0l, 0);
19225 tgamma(0.0);
19226 tgammaf(0.0f);
19227 tgammal(0.0l);
19228 trunc(0.0);
19229 truncf(0.0f);
19230 truncl(0.0l);
19233 return 0;
19235 _ACEOF
19236 if ac_fn_cxx_try_compile "$LINENO"; then :
19237 glibcxx_cv_c99_math_tr1=yes
19238 else
19239 glibcxx_cv_c99_math_tr1=no
19241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19246 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19247 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19249 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19253 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19254 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19255 ac_c99_inttypes_tr1=no;
19256 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19258 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19260 /* end confdefs.h. */
19261 #include <inttypes.h>
19263 main ()
19265 intmax_t i, numer, denom, base;
19266 const char* s;
19267 char** endptr;
19268 intmax_t ret = imaxabs(i);
19269 imaxdiv_t dret = imaxdiv(numer, denom);
19270 ret = strtoimax(s, endptr, base);
19271 uintmax_t uret = strtoumax(s, endptr, base);
19274 return 0;
19276 _ACEOF
19277 if ac_fn_cxx_try_compile "$LINENO"; then :
19278 ac_c99_inttypes_tr1=yes
19279 else
19280 ac_c99_inttypes_tr1=no
19282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19285 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19286 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19288 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19292 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19293 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19294 ac_c99_inttypes_wchar_t_tr1=no;
19295 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19297 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19300 #include <inttypes.h>
19302 main ()
19304 intmax_t base;
19305 const wchar_t* s;
19306 wchar_t** endptr;
19307 intmax_t ret = wcstoimax(s, endptr, base);
19308 uintmax_t uret = wcstoumax(s, endptr, base);
19311 return 0;
19313 _ACEOF
19314 if ac_fn_cxx_try_compile "$LINENO"; then :
19315 ac_c99_inttypes_wchar_t_tr1=yes
19316 else
19317 ac_c99_inttypes_wchar_t_tr1=no
19319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19322 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19323 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19325 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19329 # Check for the existence of the <stdbool.h> header.
19330 for ac_header in stdbool.h
19331 do :
19332 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19333 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19334 cat >>confdefs.h <<_ACEOF
19335 #define HAVE_STDBOOL_H 1
19336 _ACEOF
19340 done
19343 # Check for the existence of the <stdalign.h> header.
19344 for ac_header in stdalign.h
19345 do :
19346 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19347 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_STDALIGN_H 1
19350 _ACEOF
19354 done
19357 CXXFLAGS="$ac_save_CXXFLAGS"
19358 ac_ext=c
19359 ac_cpp='$CPP $CPPFLAGS'
19360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19366 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19370 $as_echo_n "checking for the value of EOF... " >&6; }
19371 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19372 $as_echo_n "(cached) " >&6
19373 else
19375 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19377 else
19378 as_fn_error "computing EOF failed" "$LINENO" 5
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19384 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19386 cat >>confdefs.h <<_ACEOF
19387 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19388 _ACEOF
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19392 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19393 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19394 $as_echo_n "(cached) " >&6
19395 else
19397 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19399 else
19400 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19406 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19408 cat >>confdefs.h <<_ACEOF
19409 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19410 _ACEOF
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19414 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19415 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19416 $as_echo_n "(cached) " >&6
19417 else
19419 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19421 else
19422 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19428 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19430 cat >>confdefs.h <<_ACEOF
19431 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19432 _ACEOF
19436 # For gettimeofday support.
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19440 $as_echo_n "checking for gettimeofday... " >&6; }
19443 ac_ext=cpp
19444 ac_cpp='$CXXCPP $CPPFLAGS'
19445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19449 ac_save_CXXFLAGS="$CXXFLAGS"
19450 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19452 ac_has_gettimeofday=no;
19453 for ac_header in sys/time.h
19454 do :
19455 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19456 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19457 cat >>confdefs.h <<_ACEOF
19458 #define HAVE_SYS_TIME_H 1
19459 _ACEOF
19460 ac_has_sys_time_h=yes
19461 else
19462 ac_has_sys_time_h=no
19465 done
19467 if test x"$ac_has_sys_time_h" = x"yes"; then
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19469 $as_echo_n "checking for gettimeofday... " >&6; }
19470 if test x$gcc_no_link = xyes; then
19471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19473 #include <sys/time.h>
19475 main ()
19477 timeval tv; gettimeofday(&tv, 0);
19479 return 0;
19481 _ACEOF
19482 if ac_fn_cxx_try_compile "$LINENO"; then :
19483 ac_has_gettimeofday=yes
19484 else
19485 ac_has_gettimeofday=no
19487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488 else
19489 if test x$gcc_no_link = xyes; then
19490 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <sys/time.h>
19496 main ()
19498 timeval tv; gettimeofday(&tv, 0);
19500 return 0;
19502 _ACEOF
19503 if ac_fn_cxx_try_link "$LINENO"; then :
19504 ac_has_gettimeofday=yes
19505 else
19506 ac_has_gettimeofday=no
19508 rm -f core conftest.err conftest.$ac_objext \
19509 conftest$ac_exeext conftest.$ac_ext
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19513 $as_echo "$ac_has_gettimeofday" >&6; }
19516 if test x"$ac_has_gettimeofday" = x"yes"; then
19518 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19522 CXXFLAGS="$ac_save_CXXFLAGS"
19523 ac_ext=c
19524 ac_cpp='$CPP $CPPFLAGS'
19525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19531 # For clock_gettime, nanosleep and sched_yield support.
19534 # Check whether --enable-libstdcxx-time was given.
19535 if test "${enable_libstdcxx_time+set}" = set; then :
19536 enableval=$enable_libstdcxx_time;
19537 case "$enableval" in
19538 yes|no|rt) ;;
19539 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19540 esac
19542 else
19543 enable_libstdcxx_time=auto
19549 ac_ext=cpp
19550 ac_cpp='$CXXCPP $CPPFLAGS'
19551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555 ac_save_CXXFLAGS="$CXXFLAGS"
19556 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19557 ac_save_LIBS="$LIBS"
19559 ac_has_clock_monotonic=no
19560 ac_has_clock_realtime=no
19561 ac_has_nanosleep=no
19562 ac_has_sched_yield=no
19564 if test x"$enable_libstdcxx_time" = x"auto"; then
19566 case "${target_os}" in
19567 cygwin*)
19568 ac_has_nanosleep=yes
19570 darwin*)
19571 ac_has_nanosleep=yes
19572 ac_has_sched_yield=yes
19574 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19576 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h. */
19579 #include <features.h>
19581 main ()
19584 #if ! __GLIBC_PREREQ(2, 17)
19585 #error
19586 #endif
19589 return 0;
19591 _ACEOF
19592 if ac_fn_cxx_try_compile "$LINENO"; then :
19593 glibcxx_glibc217=yes
19594 else
19595 glibcxx_glibc217=no
19597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19599 $as_echo "$glibcxx_glibc217" >&6; }
19601 if test x"$glibcxx_glibc217" = x"yes"; then
19602 ac_has_clock_monotonic=yes
19603 ac_has_clock_realtime=yes
19605 ac_has_nanosleep=yes
19606 ac_has_sched_yield=yes
19608 freebsd*|netbsd*|dragonfly*)
19609 ac_has_clock_monotonic=yes
19610 ac_has_clock_realtime=yes
19611 ac_has_nanosleep=yes
19612 ac_has_sched_yield=yes
19614 openbsd*)
19615 ac_has_clock_monotonic=yes
19616 ac_has_clock_realtime=yes
19617 ac_has_nanosleep=yes
19619 solaris*)
19620 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19621 ac_has_clock_monotonic=yes
19622 ac_has_clock_realtime=yes
19623 ac_has_nanosleep=yes
19624 ac_has_sched_yield=yes
19626 esac
19628 elif test x"$enable_libstdcxx_time" != x"no"; then
19630 if test x"$enable_libstdcxx_time" = x"rt"; then
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19632 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19633 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19634 $as_echo_n "(cached) " >&6
19635 else
19636 ac_func_search_save_LIBS=$LIBS
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19640 /* Override any GCC internal prototype to avoid an error.
19641 Use char because int might match the return type of a GCC
19642 builtin and then its argument prototype would still apply. */
19643 #ifdef __cplusplus
19644 extern "C"
19645 #endif
19646 char clock_gettime ();
19648 main ()
19650 return clock_gettime ();
19652 return 0;
19654 _ACEOF
19655 for ac_lib in '' rt posix4; do
19656 if test -z "$ac_lib"; then
19657 ac_res="none required"
19658 else
19659 ac_res=-l$ac_lib
19660 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19662 if test x$gcc_no_link = xyes; then
19663 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665 if ac_fn_cxx_try_link "$LINENO"; then :
19666 ac_cv_search_clock_gettime=$ac_res
19668 rm -f core conftest.err conftest.$ac_objext \
19669 conftest$ac_exeext
19670 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19671 break
19673 done
19674 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19676 else
19677 ac_cv_search_clock_gettime=no
19679 rm conftest.$ac_ext
19680 LIBS=$ac_func_search_save_LIBS
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19683 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19684 ac_res=$ac_cv_search_clock_gettime
19685 if test "$ac_res" != no; then :
19686 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19691 $as_echo_n "checking for library containing nanosleep... " >&6; }
19692 if test "${ac_cv_search_nanosleep+set}" = set; then :
19693 $as_echo_n "(cached) " >&6
19694 else
19695 ac_func_search_save_LIBS=$LIBS
19696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19697 /* end confdefs.h. */
19699 /* Override any GCC internal prototype to avoid an error.
19700 Use char because int might match the return type of a GCC
19701 builtin and then its argument prototype would still apply. */
19702 #ifdef __cplusplus
19703 extern "C"
19704 #endif
19705 char nanosleep ();
19707 main ()
19709 return nanosleep ();
19711 return 0;
19713 _ACEOF
19714 for ac_lib in '' rt posix4; do
19715 if test -z "$ac_lib"; then
19716 ac_res="none required"
19717 else
19718 ac_res=-l$ac_lib
19719 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19721 if test x$gcc_no_link = xyes; then
19722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19724 if ac_fn_cxx_try_link "$LINENO"; then :
19725 ac_cv_search_nanosleep=$ac_res
19727 rm -f core conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext
19729 if test "${ac_cv_search_nanosleep+set}" = set; then :
19730 break
19732 done
19733 if test "${ac_cv_search_nanosleep+set}" = set; then :
19735 else
19736 ac_cv_search_nanosleep=no
19738 rm conftest.$ac_ext
19739 LIBS=$ac_func_search_save_LIBS
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19742 $as_echo "$ac_cv_search_nanosleep" >&6; }
19743 ac_res=$ac_cv_search_nanosleep
19744 if test "$ac_res" != no; then :
19745 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19749 else
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19751 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19752 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19753 $as_echo_n "(cached) " >&6
19754 else
19755 ac_func_search_save_LIBS=$LIBS
19756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 /* end confdefs.h. */
19759 /* Override any GCC internal prototype to avoid an error.
19760 Use char because int might match the return type of a GCC
19761 builtin and then its argument prototype would still apply. */
19762 #ifdef __cplusplus
19763 extern "C"
19764 #endif
19765 char clock_gettime ();
19767 main ()
19769 return clock_gettime ();
19771 return 0;
19773 _ACEOF
19774 for ac_lib in '' posix4; do
19775 if test -z "$ac_lib"; then
19776 ac_res="none required"
19777 else
19778 ac_res=-l$ac_lib
19779 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19781 if test x$gcc_no_link = xyes; then
19782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19784 if ac_fn_cxx_try_link "$LINENO"; then :
19785 ac_cv_search_clock_gettime=$ac_res
19787 rm -f core conftest.err conftest.$ac_objext \
19788 conftest$ac_exeext
19789 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19790 break
19792 done
19793 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19795 else
19796 ac_cv_search_clock_gettime=no
19798 rm conftest.$ac_ext
19799 LIBS=$ac_func_search_save_LIBS
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19802 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19803 ac_res=$ac_cv_search_clock_gettime
19804 if test "$ac_res" != no; then :
19805 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19810 $as_echo_n "checking for library containing nanosleep... " >&6; }
19811 if test "${ac_cv_search_nanosleep+set}" = set; then :
19812 $as_echo_n "(cached) " >&6
19813 else
19814 ac_func_search_save_LIBS=$LIBS
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19818 /* Override any GCC internal prototype to avoid an error.
19819 Use char because int might match the return type of a GCC
19820 builtin and then its argument prototype would still apply. */
19821 #ifdef __cplusplus
19822 extern "C"
19823 #endif
19824 char nanosleep ();
19826 main ()
19828 return nanosleep ();
19830 return 0;
19832 _ACEOF
19833 for ac_lib in '' posix4; do
19834 if test -z "$ac_lib"; then
19835 ac_res="none required"
19836 else
19837 ac_res=-l$ac_lib
19838 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19840 if test x$gcc_no_link = xyes; then
19841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19843 if ac_fn_cxx_try_link "$LINENO"; then :
19844 ac_cv_search_nanosleep=$ac_res
19846 rm -f core conftest.err conftest.$ac_objext \
19847 conftest$ac_exeext
19848 if test "${ac_cv_search_nanosleep+set}" = set; then :
19849 break
19851 done
19852 if test "${ac_cv_search_nanosleep+set}" = set; then :
19854 else
19855 ac_cv_search_nanosleep=no
19857 rm conftest.$ac_ext
19858 LIBS=$ac_func_search_save_LIBS
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19861 $as_echo "$ac_cv_search_nanosleep" >&6; }
19862 ac_res=$ac_cv_search_nanosleep
19863 if test "$ac_res" != no; then :
19864 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19870 case "$ac_cv_search_clock_gettime" in
19871 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19873 esac
19874 case "$ac_cv_search_nanosleep" in
19875 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19877 esac
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19880 $as_echo_n "checking for library containing sched_yield... " >&6; }
19881 if test "${ac_cv_search_sched_yield+set}" = set; then :
19882 $as_echo_n "(cached) " >&6
19883 else
19884 ac_func_search_save_LIBS=$LIBS
19885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19886 /* end confdefs.h. */
19888 /* Override any GCC internal prototype to avoid an error.
19889 Use char because int might match the return type of a GCC
19890 builtin and then its argument prototype would still apply. */
19891 #ifdef __cplusplus
19892 extern "C"
19893 #endif
19894 char sched_yield ();
19896 main ()
19898 return sched_yield ();
19900 return 0;
19902 _ACEOF
19903 for ac_lib in '' rt posix4; do
19904 if test -z "$ac_lib"; then
19905 ac_res="none required"
19906 else
19907 ac_res=-l$ac_lib
19908 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19910 if test x$gcc_no_link = xyes; then
19911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19913 if ac_fn_cxx_try_link "$LINENO"; then :
19914 ac_cv_search_sched_yield=$ac_res
19916 rm -f core conftest.err conftest.$ac_objext \
19917 conftest$ac_exeext
19918 if test "${ac_cv_search_sched_yield+set}" = set; then :
19919 break
19921 done
19922 if test "${ac_cv_search_sched_yield+set}" = set; then :
19924 else
19925 ac_cv_search_sched_yield=no
19927 rm conftest.$ac_ext
19928 LIBS=$ac_func_search_save_LIBS
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19931 $as_echo "$ac_cv_search_sched_yield" >&6; }
19932 ac_res=$ac_cv_search_sched_yield
19933 if test "$ac_res" != no; then :
19934 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19939 case "$ac_cv_search_sched_yield" in
19940 -lposix4*)
19941 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19942 ac_has_sched_yield=yes
19944 -lrt*)
19945 if test x"$enable_libstdcxx_time" = x"rt"; then
19946 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19947 ac_has_sched_yield=yes
19951 ac_has_sched_yield=yes
19953 esac
19955 for ac_header in unistd.h
19956 do :
19957 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19958 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19959 cat >>confdefs.h <<_ACEOF
19960 #define HAVE_UNISTD_H 1
19961 _ACEOF
19962 ac_has_unistd_h=yes
19963 else
19964 ac_has_unistd_h=no
19967 done
19970 if test x"$ac_has_unistd_h" = x"yes"; then
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19972 $as_echo_n "checking for monotonic clock... " >&6; }
19973 if test x$gcc_no_link = xyes; then
19974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19977 /* end confdefs.h. */
19978 #include <unistd.h>
19979 #include <time.h>
19982 main ()
19984 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19985 timespec tp;
19986 #endif
19987 clock_gettime(CLOCK_MONOTONIC, &tp);
19990 return 0;
19992 _ACEOF
19993 if ac_fn_cxx_try_link "$LINENO"; then :
19994 ac_has_clock_monotonic=yes
19995 else
19996 ac_has_clock_monotonic=no
19998 rm -f core conftest.err conftest.$ac_objext \
19999 conftest$ac_exeext conftest.$ac_ext
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20002 $as_echo "$ac_has_clock_monotonic" >&6; }
20004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20005 $as_echo_n "checking for realtime clock... " >&6; }
20006 if test x$gcc_no_link = xyes; then
20007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20010 /* end confdefs.h. */
20011 #include <unistd.h>
20012 #include <time.h>
20015 main ()
20017 #if _POSIX_TIMERS > 0
20018 timespec tp;
20019 #endif
20020 clock_gettime(CLOCK_REALTIME, &tp);
20023 return 0;
20025 _ACEOF
20026 if ac_fn_cxx_try_link "$LINENO"; then :
20027 ac_has_clock_realtime=yes
20028 else
20029 ac_has_clock_realtime=no
20031 rm -f core conftest.err conftest.$ac_objext \
20032 conftest$ac_exeext conftest.$ac_ext
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20035 $as_echo "$ac_has_clock_realtime" >&6; }
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20038 $as_echo_n "checking for nanosleep... " >&6; }
20039 if test x$gcc_no_link = xyes; then
20040 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20043 /* end confdefs.h. */
20044 #include <unistd.h>
20045 #include <time.h>
20048 main ()
20050 #if _POSIX_TIMERS > 0
20051 timespec tp;
20052 #endif
20053 nanosleep(&tp, 0);
20056 return 0;
20058 _ACEOF
20059 if ac_fn_cxx_try_link "$LINENO"; then :
20060 ac_has_nanosleep=yes
20061 else
20062 ac_has_nanosleep=no
20064 rm -f core conftest.err conftest.$ac_objext \
20065 conftest$ac_exeext conftest.$ac_ext
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20068 $as_echo "$ac_has_nanosleep" >&6; }
20072 if test x"$ac_has_clock_monotonic" != x"yes"; then
20073 case ${target_os} in
20074 linux*)
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20076 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20079 #include <unistd.h>
20080 #include <time.h>
20081 #include <sys/syscall.h>
20084 main ()
20086 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20087 timespec tp;
20088 #endif
20089 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20090 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20093 return 0;
20095 _ACEOF
20096 if ac_fn_cxx_try_compile "$LINENO"; then :
20097 ac_has_clock_monotonic_syscall=yes
20098 else
20099 ac_has_clock_monotonic_syscall=no
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20103 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20104 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20106 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20108 ac_has_clock_monotonic=yes
20109 ac_has_clock_realtime=yes
20110 fi;;
20111 esac
20114 if test x"$ac_has_clock_monotonic" = x"yes"; then
20116 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20120 if test x"$ac_has_clock_realtime" = x"yes"; then
20122 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20126 if test x"$ac_has_sched_yield" = x"yes"; then
20128 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20132 if test x"$ac_has_nanosleep" = x"yes"; then
20134 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20136 else
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20138 $as_echo_n "checking for sleep... " >&6; }
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #include <unistd.h>
20143 main ()
20145 sleep(1)
20147 return 0;
20149 _ACEOF
20150 if ac_fn_cxx_try_compile "$LINENO"; then :
20151 ac_has_sleep=yes
20152 else
20153 ac_has_sleep=no
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 if test x"$ac_has_sleep" = x"yes"; then
20158 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20162 $as_echo "$ac_has_sleep" >&6; }
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20164 $as_echo_n "checking for usleep... " >&6; }
20165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h. */
20167 #include <unistd.h>
20169 main ()
20171 sleep(1);
20172 usleep(100);
20174 return 0;
20176 _ACEOF
20177 if ac_fn_cxx_try_compile "$LINENO"; then :
20178 ac_has_usleep=yes
20179 else
20180 ac_has_usleep=no
20182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20183 if test x"$ac_has_usleep" = x"yes"; then
20185 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20189 $as_echo "$ac_has_usleep" >&6; }
20192 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20194 $as_echo_n "checking for Sleep... " >&6; }
20195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20196 /* end confdefs.h. */
20197 #include <windows.h>
20199 main ()
20201 Sleep(1)
20203 return 0;
20205 _ACEOF
20206 if ac_fn_cxx_try_compile "$LINENO"; then :
20207 ac_has_win32_sleep=yes
20208 else
20209 ac_has_win32_sleep=no
20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212 if test x"$ac_has_win32_sleep" = x"yes"; then
20214 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20218 $as_echo "$ac_has_win32_sleep" >&6; }
20223 CXXFLAGS="$ac_save_CXXFLAGS"
20224 LIBS="$ac_save_LIBS"
20225 ac_ext=c
20226 ac_cpp='$CPP $CPPFLAGS'
20227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20233 # Check for tmpnam which is obsolescent in POSIX.1-2008
20235 ac_ext=cpp
20236 ac_cpp='$CXXCPP $CPPFLAGS'
20237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20241 ac_save_CXXFLAGS="$CXXFLAGS"
20242 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20244 $as_echo_n "checking for tmpnam... " >&6; }
20245 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20246 $as_echo_n "(cached) " >&6
20247 else
20248 if test x$gcc_no_link = xyes; then
20249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20250 /* end confdefs.h. */
20251 #include <stdio.h>
20253 main ()
20255 char *tmp = tmpnam(NULL);
20257 return 0;
20259 _ACEOF
20260 if ac_fn_cxx_try_compile "$LINENO"; then :
20261 glibcxx_cv_TMPNAM=yes
20262 else
20263 glibcxx_cv_TMPNAM=no
20265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20266 else
20267 if test x$gcc_no_link = xyes; then
20268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h. */
20272 #include <stdio.h>
20274 main ()
20276 char *tmp = tmpnam(NULL);
20278 return 0;
20280 _ACEOF
20281 if ac_fn_cxx_try_link "$LINENO"; then :
20282 glibcxx_cv_TMPNAM=yes
20283 else
20284 glibcxx_cv_TMPNAM=no
20286 rm -f core conftest.err conftest.$ac_objext \
20287 conftest$ac_exeext conftest.$ac_ext
20292 if test $glibcxx_cv_TMPNAM = yes; then
20294 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20298 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20299 CXXFLAGS="$ac_save_CXXFLAGS"
20300 ac_ext=c
20301 ac_cpp='$CPP $CPPFLAGS'
20302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20309 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20310 if test "x$ac_cv_header_locale_h" = x""yes; then :
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20313 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20314 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20315 $as_echo_n "(cached) " >&6
20316 else
20317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20318 /* end confdefs.h. */
20319 #include <locale.h>
20321 main ()
20323 return LC_MESSAGES
20325 return 0;
20327 _ACEOF
20328 if ac_fn_c_try_compile "$LINENO"; then :
20329 ac_cv_val_LC_MESSAGES=yes
20330 else
20331 ac_cv_val_LC_MESSAGES=no
20333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20336 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20337 if test $ac_cv_val_LC_MESSAGES = yes; then
20339 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20348 # For hardware_concurrency
20349 for ac_header in sys/sysinfo.h
20350 do :
20351 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20352 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20353 cat >>confdefs.h <<_ACEOF
20354 #define HAVE_SYS_SYSINFO_H 1
20355 _ACEOF
20359 done
20364 ac_ext=cpp
20365 ac_cpp='$CXXCPP $CPPFLAGS'
20366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20370 ac_save_CXXFLAGS="$CXXFLAGS"
20371 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20374 $as_echo_n "checking for get_nprocs... " >&6; }
20375 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20376 $as_echo_n "(cached) " >&6
20377 else
20379 if test x$gcc_no_link = xyes; then
20380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20381 /* end confdefs.h. */
20382 #include <sys/sysinfo.h>
20384 main ()
20386 int n = get_nprocs();
20388 return 0;
20390 _ACEOF
20391 if ac_fn_cxx_try_compile "$LINENO"; then :
20392 glibcxx_cv_GET_NPROCS=yes
20393 else
20394 glibcxx_cv_GET_NPROCS=no
20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20397 else
20398 if test x$gcc_no_link = xyes; then
20399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20402 /* end confdefs.h. */
20403 #include <sys/sysinfo.h>
20405 main ()
20407 int n = get_nprocs();
20409 return 0;
20411 _ACEOF
20412 if ac_fn_cxx_try_link "$LINENO"; then :
20413 glibcxx_cv_GET_NPROCS=yes
20414 else
20415 glibcxx_cv_GET_NPROCS=no
20417 rm -f core conftest.err conftest.$ac_objext \
20418 conftest$ac_exeext conftest.$ac_ext
20423 if test $glibcxx_cv_GET_NPROCS = yes; then
20425 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20429 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20431 CXXFLAGS="$ac_save_CXXFLAGS"
20432 ac_ext=c
20433 ac_cpp='$CPP $CPPFLAGS'
20434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20439 for ac_header in unistd.h
20440 do :
20441 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20442 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20443 cat >>confdefs.h <<_ACEOF
20444 #define HAVE_UNISTD_H 1
20445 _ACEOF
20449 done
20454 ac_ext=cpp
20455 ac_cpp='$CXXCPP $CPPFLAGS'
20456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20460 ac_save_CXXFLAGS="$CXXFLAGS"
20461 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20464 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20465 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20466 $as_echo_n "(cached) " >&6
20467 else
20469 if test x$gcc_no_link = xyes; then
20470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20471 /* end confdefs.h. */
20472 #include <unistd.h>
20474 main ()
20476 int n = sysconf(_SC_NPROCESSORS_ONLN);
20478 return 0;
20480 _ACEOF
20481 if ac_fn_cxx_try_compile "$LINENO"; then :
20482 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20483 else
20484 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20487 else
20488 if test x$gcc_no_link = xyes; then
20489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20492 /* end confdefs.h. */
20493 #include <unistd.h>
20495 main ()
20497 int n = sysconf(_SC_NPROCESSORS_ONLN);
20499 return 0;
20501 _ACEOF
20502 if ac_fn_cxx_try_link "$LINENO"; then :
20503 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20504 else
20505 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20507 rm -f core conftest.err conftest.$ac_objext \
20508 conftest$ac_exeext conftest.$ac_ext
20513 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20515 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20519 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20521 CXXFLAGS="$ac_save_CXXFLAGS"
20522 ac_ext=c
20523 ac_cpp='$CPP $CPPFLAGS'
20524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20532 ac_ext=cpp
20533 ac_cpp='$CXXCPP $CPPFLAGS'
20534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20538 ac_save_CXXFLAGS="$CXXFLAGS"
20539 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20542 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20543 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20544 $as_echo_n "(cached) " >&6
20545 else
20547 if test x$gcc_no_link = xyes; then
20548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20549 /* end confdefs.h. */
20550 #include <unistd.h>
20552 main ()
20554 int n = sysconf(_SC_NPROC_ONLN);
20556 return 0;
20558 _ACEOF
20559 if ac_fn_cxx_try_compile "$LINENO"; then :
20560 glibcxx_cv_SC_NPROC_ONLN=yes
20561 else
20562 glibcxx_cv_SC_NPROC_ONLN=no
20564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20565 else
20566 if test x$gcc_no_link = xyes; then
20567 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20570 /* end confdefs.h. */
20571 #include <unistd.h>
20573 main ()
20575 int n = sysconf(_SC_NPROC_ONLN);
20577 return 0;
20579 _ACEOF
20580 if ac_fn_cxx_try_link "$LINENO"; then :
20581 glibcxx_cv_SC_NPROC_ONLN=yes
20582 else
20583 glibcxx_cv_SC_NPROC_ONLN=no
20585 rm -f core conftest.err conftest.$ac_objext \
20586 conftest$ac_exeext conftest.$ac_ext
20591 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20593 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20597 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20599 CXXFLAGS="$ac_save_CXXFLAGS"
20600 ac_ext=c
20601 ac_cpp='$CPP $CPPFLAGS'
20602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20610 ac_ext=cpp
20611 ac_cpp='$CXXCPP $CPPFLAGS'
20612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20616 ac_save_CXXFLAGS="$CXXFLAGS"
20617 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20620 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20621 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20622 $as_echo_n "(cached) " >&6
20623 else
20625 if test x$gcc_no_link = xyes; then
20626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20627 /* end confdefs.h. */
20628 #include <pthread.h>
20630 main ()
20632 int n = pthread_num_processors_np();
20634 return 0;
20636 _ACEOF
20637 if ac_fn_cxx_try_compile "$LINENO"; then :
20638 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20639 else
20640 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20643 else
20644 if test x$gcc_no_link = xyes; then
20645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20648 /* end confdefs.h. */
20649 #include <pthread.h>
20651 main ()
20653 int n = pthread_num_processors_np();
20655 return 0;
20657 _ACEOF
20658 if ac_fn_cxx_try_link "$LINENO"; then :
20659 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20660 else
20661 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20663 rm -f core conftest.err conftest.$ac_objext \
20664 conftest$ac_exeext conftest.$ac_ext
20669 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20671 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20675 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20677 CXXFLAGS="$ac_save_CXXFLAGS"
20678 ac_ext=c
20679 ac_cpp='$CPP $CPPFLAGS'
20680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20688 ac_ext=cpp
20689 ac_cpp='$CXXCPP $CPPFLAGS'
20690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20694 ac_save_CXXFLAGS="$CXXFLAGS"
20695 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20698 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20699 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20700 $as_echo_n "(cached) " >&6
20701 else
20703 if test x$gcc_no_link = xyes; then
20704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20705 /* end confdefs.h. */
20707 #include <stddef.h>
20708 #include <sys/sysctl.h>
20711 main ()
20714 int count;
20715 size_t size = sizeof(count);
20716 int mib[] = { CTL_HW, HW_NCPU };
20717 sysctl(mib, 2, &count, &size, NULL, 0);
20720 return 0;
20722 _ACEOF
20723 if ac_fn_cxx_try_compile "$LINENO"; then :
20724 glibcxx_cv_SYSCTL_HW_NCPU=yes
20725 else
20726 glibcxx_cv_SYSCTL_HW_NCPU=no
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729 else
20730 if test x$gcc_no_link = xyes; then
20731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20734 /* end confdefs.h. */
20736 #include <stddef.h>
20737 #include <sys/sysctl.h>
20740 main ()
20743 int count;
20744 size_t size = sizeof(count);
20745 int mib[] = { CTL_HW, HW_NCPU };
20746 sysctl(mib, 2, &count, &size, NULL, 0);
20749 return 0;
20751 _ACEOF
20752 if ac_fn_cxx_try_link "$LINENO"; then :
20753 glibcxx_cv_SYSCTL_HW_NCPU=yes
20754 else
20755 glibcxx_cv_SYSCTL_HW_NCPU=no
20757 rm -f core conftest.err conftest.$ac_objext \
20758 conftest$ac_exeext conftest.$ac_ext
20763 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20765 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20769 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20771 CXXFLAGS="$ac_save_CXXFLAGS"
20772 ac_ext=c
20773 ac_cpp='$CPP $CPPFLAGS'
20774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20781 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20782 # Note that this test has to be run with the C language.
20783 # Otherwise, sdt.h will try to include some headers from
20784 # libstdc++ itself.
20786 ac_ext=c
20787 ac_cpp='$CPP $CPPFLAGS'
20788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20792 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20793 $as_echo_n "(cached) " >&6
20794 else
20796 # Because we have to run the test in C, we use grep rather
20797 # than the compiler to check for the bug. The bug is that
20798 # were strings without trailing whitespace, causing g++
20799 # to look for operator"". The pattern searches for the fixed
20800 # output.
20801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20802 /* end confdefs.h. */
20804 #include <sys/sdt.h>
20805 int f() { STAP_PROBE(hi, bob); }
20807 _ACEOF
20808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20809 $EGREP " \",\" " >/dev/null 2>&1; then :
20810 glibcxx_cv_sys_sdt_h=yes
20811 else
20812 glibcxx_cv_sys_sdt_h=no
20814 rm -f conftest*
20819 ac_ext=c
20820 ac_cpp='$CPP $CPPFLAGS'
20821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20825 if test $glibcxx_cv_sys_sdt_h = yes; then
20827 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20831 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20834 # Check for available headers.
20835 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20836 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20837 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20838 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20839 wchar.h wctype.h
20840 do :
20841 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20842 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20843 eval as_val=\$$as_ac_Header
20844 if test "x$as_val" = x""yes; then :
20845 cat >>confdefs.h <<_ACEOF
20846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20847 _ACEOF
20851 done
20854 # Only do link tests if native. Else, hardcode.
20855 if $GLIBCXX_IS_NATIVE; then
20857 # We can do more elaborate tests that assume a working linker.
20858 CANADIAN=no
20862 # Check whether --with-gnu-ld was given.
20863 if test "${with_gnu_ld+set}" = set; then :
20864 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20865 else
20866 with_gnu_ld=no
20869 ac_prog=ld
20870 if test "$GCC" = yes; then
20871 # Check if gcc -print-prog-name=ld gives a path.
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20873 $as_echo_n "checking for ld used by $CC... " >&6; }
20874 case $host in
20875 *-*-mingw*)
20876 # gcc leaves a trailing carriage return which upsets mingw
20877 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20879 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20880 esac
20881 case $ac_prog in
20882 # Accept absolute paths.
20883 [\\/]* | ?:[\\/]*)
20884 re_direlt='/[^/][^/]*/\.\./'
20885 # Canonicalize the pathname of ld
20886 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20887 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20888 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20889 done
20890 test -z "$LD" && LD="$ac_prog"
20893 # If it fails, then pretend we aren't using GCC.
20894 ac_prog=ld
20897 # If it is relative, then search for the first ld in PATH.
20898 with_gnu_ld=unknown
20900 esac
20901 elif test "$with_gnu_ld" = yes; then
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20903 $as_echo_n "checking for GNU ld... " >&6; }
20904 else
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20906 $as_echo_n "checking for non-GNU ld... " >&6; }
20908 if test "${lt_cv_path_LD+set}" = set; then :
20909 $as_echo_n "(cached) " >&6
20910 else
20911 if test -z "$LD"; then
20912 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20913 for ac_dir in $PATH; do
20914 IFS="$lt_save_ifs"
20915 test -z "$ac_dir" && ac_dir=.
20916 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20917 lt_cv_path_LD="$ac_dir/$ac_prog"
20918 # Check to see if the program is GNU ld. I'd rather use --version,
20919 # but apparently some variants of GNU ld only accept -v.
20920 # Break only if it was the GNU/non-GNU ld that we prefer.
20921 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20922 *GNU* | *'with BFD'*)
20923 test "$with_gnu_ld" != no && break
20926 test "$with_gnu_ld" != yes && break
20928 esac
20930 done
20931 IFS="$lt_save_ifs"
20932 else
20933 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20937 LD="$lt_cv_path_LD"
20938 if test -n "$LD"; then
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20940 $as_echo "$LD" >&6; }
20941 else
20942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20943 $as_echo "no" >&6; }
20945 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20947 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20948 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20949 $as_echo_n "(cached) " >&6
20950 else
20951 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20952 case `$LD -v 2>&1 </dev/null` in
20953 *GNU* | *'with BFD'*)
20954 lt_cv_prog_gnu_ld=yes
20957 lt_cv_prog_gnu_ld=no
20959 esac
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20962 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20963 with_gnu_ld=$lt_cv_prog_gnu_ld
20971 # If we're not using GNU ld, then there's no point in even trying these
20972 # tests. Check for that first. We should have already tested for gld
20973 # by now (in libtool), but require it now just to be safe...
20974 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20975 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20979 # The name set by libtool depends on the version of libtool. Shame on us
20980 # for depending on an impl detail, but c'est la vie. Older versions used
20981 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20982 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20983 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20984 # set (hence we're using an older libtool), then set it.
20985 if test x${with_gnu_ld+set} != xset; then
20986 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20987 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20988 with_gnu_ld=no
20989 else
20990 with_gnu_ld=$ac_cv_prog_gnu_ld
20994 # Start by getting the version number. I think the libtool test already
20995 # does some of this, but throws away the result.
20996 glibcxx_ld_is_gold=no
20997 if test x"$with_gnu_ld" = x"yes"; then
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20999 $as_echo_n "checking for ld version... " >&6; }
21001 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21002 glibcxx_ld_is_gold=yes
21004 ldver=`$LD --version 2>/dev/null |
21005 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'`
21007 glibcxx_gnu_ld_version=`echo $ldver | \
21008 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21010 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21013 # Set --gc-sections.
21014 glibcxx_have_gc_sections=no
21015 if test "$glibcxx_ld_is_gold" = "yes"; then
21016 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21017 glibcxx_have_gc_sections=yes
21019 else
21020 glibcxx_gcsections_min_ld=21602
21021 if test x"$with_gnu_ld" = x"yes" &&
21022 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21023 glibcxx_have_gc_sections=yes
21026 if test "$glibcxx_have_gc_sections" = "yes"; then
21027 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21028 # NB: This flag only works reliably after 2.16.1. Configure tests
21029 # for this are difficult, so hard wire a value that should work.
21031 ac_test_CFLAGS="${CFLAGS+set}"
21032 ac_save_CFLAGS="$CFLAGS"
21033 CFLAGS='-Wl,--gc-sections'
21035 # Check for -Wl,--gc-sections
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21037 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21038 if test x$gcc_no_link = xyes; then
21039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 int one(void) { return 1; }
21044 int two(void) { return 2; }
21047 main ()
21049 two();
21051 return 0;
21053 _ACEOF
21054 if ac_fn_c_try_link "$LINENO"; then :
21055 ac_gcsections=yes
21056 else
21057 ac_gcsections=no
21059 rm -f core conftest.err conftest.$ac_objext \
21060 conftest$ac_exeext conftest.$ac_ext
21061 if test "$ac_gcsections" = "yes"; then
21062 rm -f conftest.c
21063 touch conftest.c
21064 if $CC -c conftest.c; then
21065 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21066 grep "Warning: gc-sections option ignored" > /dev/null; then
21067 ac_gcsections=no
21070 rm -f conftest.c conftest.o conftest
21072 if test "$ac_gcsections" = "yes"; then
21073 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21076 $as_echo "$ac_gcsections" >&6; }
21078 if test "$ac_test_CFLAGS" = set; then
21079 CFLAGS="$ac_save_CFLAGS"
21080 else
21081 # this is the suspicious part
21082 CFLAGS=''
21086 # Set -z,relro.
21087 # Note this is only for shared objects.
21088 ac_ld_relro=no
21089 if test x"$with_gnu_ld" = x"yes"; then
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21091 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21092 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21093 if test -n "$cxx_z_relo"; then
21094 OPT_LDFLAGS="-Wl,-z,relro"
21095 ac_ld_relro=yes
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21098 $as_echo "$ac_ld_relro" >&6; }
21101 # Set linker optimization flags.
21102 if test x"$with_gnu_ld" = x"yes"; then
21103 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21110 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21111 ac_save_CXXFLAGS="$CXXFLAGS"
21112 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21115 $as_echo_n "checking for sin in -lm... " >&6; }
21116 if test "${ac_cv_lib_m_sin+set}" = set; then :
21117 $as_echo_n "(cached) " >&6
21118 else
21119 ac_check_lib_save_LIBS=$LIBS
21120 LIBS="-lm $LIBS"
21121 if test x$gcc_no_link = xyes; then
21122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21125 /* end confdefs.h. */
21127 /* Override any GCC internal prototype to avoid an error.
21128 Use char because int might match the return type of a GCC
21129 builtin and then its argument prototype would still apply. */
21130 #ifdef __cplusplus
21131 extern "C"
21132 #endif
21133 char sin ();
21135 main ()
21137 return sin ();
21139 return 0;
21141 _ACEOF
21142 if ac_fn_c_try_link "$LINENO"; then :
21143 ac_cv_lib_m_sin=yes
21144 else
21145 ac_cv_lib_m_sin=no
21147 rm -f core conftest.err conftest.$ac_objext \
21148 conftest$ac_exeext conftest.$ac_ext
21149 LIBS=$ac_check_lib_save_LIBS
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21152 $as_echo "$ac_cv_lib_m_sin" >&6; }
21153 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21154 libm="-lm"
21157 ac_save_LIBS="$LIBS"
21158 LIBS="$LIBS $libm"
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21163 $as_echo_n "checking for isinf declaration... " >&6; }
21164 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21165 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21166 $as_echo_n "(cached) " >&6
21167 else
21170 ac_ext=cpp
21171 ac_cpp='$CXXCPP $CPPFLAGS'
21172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21177 /* end confdefs.h. */
21178 #include <math.h>
21179 #ifdef HAVE_IEEEFP_H
21180 #include <ieeefp.h>
21181 #endif
21184 main ()
21186 isinf(0);
21188 return 0;
21190 _ACEOF
21191 if ac_fn_cxx_try_compile "$LINENO"; then :
21192 glibcxx_cv_func_isinf_use=yes
21193 else
21194 glibcxx_cv_func_isinf_use=no
21196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21197 ac_ext=c
21198 ac_cpp='$CPP $CPPFLAGS'
21199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21208 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21210 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21211 for ac_func in isinf
21212 do :
21213 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21214 if test "x$ac_cv_func_isinf" = x""yes; then :
21215 cat >>confdefs.h <<_ACEOF
21216 #define HAVE_ISINF 1
21217 _ACEOF
21220 done
21222 else
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21225 $as_echo_n "checking for _isinf declaration... " >&6; }
21226 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21227 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21228 $as_echo_n "(cached) " >&6
21229 else
21232 ac_ext=cpp
21233 ac_cpp='$CXXCPP $CPPFLAGS'
21234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h. */
21240 #include <math.h>
21241 #ifdef HAVE_IEEEFP_H
21242 #include <ieeefp.h>
21243 #endif
21246 main ()
21248 _isinf(0);
21250 return 0;
21252 _ACEOF
21253 if ac_fn_cxx_try_compile "$LINENO"; then :
21254 glibcxx_cv_func__isinf_use=yes
21255 else
21256 glibcxx_cv_func__isinf_use=no
21258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21259 ac_ext=c
21260 ac_cpp='$CPP $CPPFLAGS'
21261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21270 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21272 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21273 for ac_func in _isinf
21274 do :
21275 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21276 if test "x$ac_cv_func__isinf" = x""yes; then :
21277 cat >>confdefs.h <<_ACEOF
21278 #define HAVE__ISINF 1
21279 _ACEOF
21282 done
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21292 $as_echo_n "checking for isnan declaration... " >&6; }
21293 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21294 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21295 $as_echo_n "(cached) " >&6
21296 else
21299 ac_ext=cpp
21300 ac_cpp='$CXXCPP $CPPFLAGS'
21301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h. */
21307 #include <math.h>
21308 #ifdef HAVE_IEEEFP_H
21309 #include <ieeefp.h>
21310 #endif
21313 main ()
21315 isnan(0);
21317 return 0;
21319 _ACEOF
21320 if ac_fn_cxx_try_compile "$LINENO"; then :
21321 glibcxx_cv_func_isnan_use=yes
21322 else
21323 glibcxx_cv_func_isnan_use=no
21325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21326 ac_ext=c
21327 ac_cpp='$CPP $CPPFLAGS'
21328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21337 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21339 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21340 for ac_func in isnan
21341 do :
21342 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21343 if test "x$ac_cv_func_isnan" = x""yes; then :
21344 cat >>confdefs.h <<_ACEOF
21345 #define HAVE_ISNAN 1
21346 _ACEOF
21349 done
21351 else
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21354 $as_echo_n "checking for _isnan declaration... " >&6; }
21355 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21356 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21357 $as_echo_n "(cached) " >&6
21358 else
21361 ac_ext=cpp
21362 ac_cpp='$CXXCPP $CPPFLAGS'
21363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21368 /* end confdefs.h. */
21369 #include <math.h>
21370 #ifdef HAVE_IEEEFP_H
21371 #include <ieeefp.h>
21372 #endif
21375 main ()
21377 _isnan(0);
21379 return 0;
21381 _ACEOF
21382 if ac_fn_cxx_try_compile "$LINENO"; then :
21383 glibcxx_cv_func__isnan_use=yes
21384 else
21385 glibcxx_cv_func__isnan_use=no
21387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21388 ac_ext=c
21389 ac_cpp='$CPP $CPPFLAGS'
21390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21399 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21401 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21402 for ac_func in _isnan
21403 do :
21404 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21405 if test "x$ac_cv_func__isnan" = x""yes; then :
21406 cat >>confdefs.h <<_ACEOF
21407 #define HAVE__ISNAN 1
21408 _ACEOF
21411 done
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21421 $as_echo_n "checking for finite declaration... " >&6; }
21422 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21423 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21424 $as_echo_n "(cached) " >&6
21425 else
21428 ac_ext=cpp
21429 ac_cpp='$CXXCPP $CPPFLAGS'
21430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21436 #include <math.h>
21437 #ifdef HAVE_IEEEFP_H
21438 #include <ieeefp.h>
21439 #endif
21442 main ()
21444 finite(0);
21446 return 0;
21448 _ACEOF
21449 if ac_fn_cxx_try_compile "$LINENO"; then :
21450 glibcxx_cv_func_finite_use=yes
21451 else
21452 glibcxx_cv_func_finite_use=no
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455 ac_ext=c
21456 ac_cpp='$CPP $CPPFLAGS'
21457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21466 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21468 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21469 for ac_func in finite
21470 do :
21471 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21472 if test "x$ac_cv_func_finite" = x""yes; then :
21473 cat >>confdefs.h <<_ACEOF
21474 #define HAVE_FINITE 1
21475 _ACEOF
21478 done
21480 else
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21483 $as_echo_n "checking for _finite declaration... " >&6; }
21484 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21485 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21486 $as_echo_n "(cached) " >&6
21487 else
21490 ac_ext=cpp
21491 ac_cpp='$CXXCPP $CPPFLAGS'
21492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21498 #include <math.h>
21499 #ifdef HAVE_IEEEFP_H
21500 #include <ieeefp.h>
21501 #endif
21504 main ()
21506 _finite(0);
21508 return 0;
21510 _ACEOF
21511 if ac_fn_cxx_try_compile "$LINENO"; then :
21512 glibcxx_cv_func__finite_use=yes
21513 else
21514 glibcxx_cv_func__finite_use=no
21516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21517 ac_ext=c
21518 ac_cpp='$CPP $CPPFLAGS'
21519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21528 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21530 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21531 for ac_func in _finite
21532 do :
21533 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21534 if test "x$ac_cv_func__finite" = x""yes; then :
21535 cat >>confdefs.h <<_ACEOF
21536 #define HAVE__FINITE 1
21537 _ACEOF
21540 done
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21550 $as_echo_n "checking for sincos declaration... " >&6; }
21551 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21552 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21553 $as_echo_n "(cached) " >&6
21554 else
21557 ac_ext=cpp
21558 ac_cpp='$CXXCPP $CPPFLAGS'
21559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21565 #include <math.h>
21567 main ()
21569 sincos(0, 0, 0);
21571 return 0;
21573 _ACEOF
21574 if ac_fn_cxx_try_compile "$LINENO"; then :
21575 glibcxx_cv_func_sincos_use=yes
21576 else
21577 glibcxx_cv_func_sincos_use=no
21579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21580 ac_ext=c
21581 ac_cpp='$CPP $CPPFLAGS'
21582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21591 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21593 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21594 for ac_func in sincos
21595 do :
21596 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21597 if test "x$ac_cv_func_sincos" = x""yes; then :
21598 cat >>confdefs.h <<_ACEOF
21599 #define HAVE_SINCOS 1
21600 _ACEOF
21603 done
21605 else
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21608 $as_echo_n "checking for _sincos declaration... " >&6; }
21609 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21610 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21611 $as_echo_n "(cached) " >&6
21612 else
21615 ac_ext=cpp
21616 ac_cpp='$CXXCPP $CPPFLAGS'
21617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21622 /* end confdefs.h. */
21623 #include <math.h>
21625 main ()
21627 _sincos(0, 0, 0);
21629 return 0;
21631 _ACEOF
21632 if ac_fn_cxx_try_compile "$LINENO"; then :
21633 glibcxx_cv_func__sincos_use=yes
21634 else
21635 glibcxx_cv_func__sincos_use=no
21637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21638 ac_ext=c
21639 ac_cpp='$CPP $CPPFLAGS'
21640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21649 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21651 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21652 for ac_func in _sincos
21653 do :
21654 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21655 if test "x$ac_cv_func__sincos" = x""yes; then :
21656 cat >>confdefs.h <<_ACEOF
21657 #define HAVE__SINCOS 1
21658 _ACEOF
21661 done
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21671 $as_echo_n "checking for fpclass declaration... " >&6; }
21672 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21673 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21674 $as_echo_n "(cached) " >&6
21675 else
21678 ac_ext=cpp
21679 ac_cpp='$CXXCPP $CPPFLAGS'
21680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21685 /* end confdefs.h. */
21686 #include <math.h>
21687 #ifdef HAVE_IEEEFP_H
21688 #include <ieeefp.h>
21689 #endif
21692 main ()
21694 fpclass(0);
21696 return 0;
21698 _ACEOF
21699 if ac_fn_cxx_try_compile "$LINENO"; then :
21700 glibcxx_cv_func_fpclass_use=yes
21701 else
21702 glibcxx_cv_func_fpclass_use=no
21704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21705 ac_ext=c
21706 ac_cpp='$CPP $CPPFLAGS'
21707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21716 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21718 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21719 for ac_func in fpclass
21720 do :
21721 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21722 if test "x$ac_cv_func_fpclass" = x""yes; then :
21723 cat >>confdefs.h <<_ACEOF
21724 #define HAVE_FPCLASS 1
21725 _ACEOF
21728 done
21730 else
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21733 $as_echo_n "checking for _fpclass declaration... " >&6; }
21734 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21735 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21736 $as_echo_n "(cached) " >&6
21737 else
21740 ac_ext=cpp
21741 ac_cpp='$CXXCPP $CPPFLAGS'
21742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h. */
21748 #include <math.h>
21749 #ifdef HAVE_IEEEFP_H
21750 #include <ieeefp.h>
21751 #endif
21754 main ()
21756 _fpclass(0);
21758 return 0;
21760 _ACEOF
21761 if ac_fn_cxx_try_compile "$LINENO"; then :
21762 glibcxx_cv_func__fpclass_use=yes
21763 else
21764 glibcxx_cv_func__fpclass_use=no
21766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21767 ac_ext=c
21768 ac_cpp='$CPP $CPPFLAGS'
21769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21778 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21780 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21781 for ac_func in _fpclass
21782 do :
21783 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21784 if test "x$ac_cv_func__fpclass" = x""yes; then :
21785 cat >>confdefs.h <<_ACEOF
21786 #define HAVE__FPCLASS 1
21787 _ACEOF
21790 done
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21800 $as_echo_n "checking for qfpclass declaration... " >&6; }
21801 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21802 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21803 $as_echo_n "(cached) " >&6
21804 else
21807 ac_ext=cpp
21808 ac_cpp='$CXXCPP $CPPFLAGS'
21809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21814 /* end confdefs.h. */
21815 #include <math.h>
21816 #ifdef HAVE_IEEEFP_H
21817 #include <ieeefp.h>
21818 #endif
21821 main ()
21823 qfpclass(0);
21825 return 0;
21827 _ACEOF
21828 if ac_fn_cxx_try_compile "$LINENO"; then :
21829 glibcxx_cv_func_qfpclass_use=yes
21830 else
21831 glibcxx_cv_func_qfpclass_use=no
21833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21834 ac_ext=c
21835 ac_cpp='$CPP $CPPFLAGS'
21836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21845 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21847 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21848 for ac_func in qfpclass
21849 do :
21850 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21851 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21852 cat >>confdefs.h <<_ACEOF
21853 #define HAVE_QFPCLASS 1
21854 _ACEOF
21857 done
21859 else
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21862 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21863 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21864 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21865 $as_echo_n "(cached) " >&6
21866 else
21869 ac_ext=cpp
21870 ac_cpp='$CXXCPP $CPPFLAGS'
21871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21877 #include <math.h>
21878 #ifdef HAVE_IEEEFP_H
21879 #include <ieeefp.h>
21880 #endif
21883 main ()
21885 _qfpclass(0);
21887 return 0;
21889 _ACEOF
21890 if ac_fn_cxx_try_compile "$LINENO"; then :
21891 glibcxx_cv_func__qfpclass_use=yes
21892 else
21893 glibcxx_cv_func__qfpclass_use=no
21895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21896 ac_ext=c
21897 ac_cpp='$CPP $CPPFLAGS'
21898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21907 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21909 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21910 for ac_func in _qfpclass
21911 do :
21912 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21913 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21914 cat >>confdefs.h <<_ACEOF
21915 #define HAVE__QFPCLASS 1
21916 _ACEOF
21919 done
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21929 $as_echo_n "checking for hypot declaration... " >&6; }
21930 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21931 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21932 $as_echo_n "(cached) " >&6
21933 else
21936 ac_ext=cpp
21937 ac_cpp='$CXXCPP $CPPFLAGS'
21938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21943 /* end confdefs.h. */
21944 #include <math.h>
21946 main ()
21948 hypot(0, 0);
21950 return 0;
21952 _ACEOF
21953 if ac_fn_cxx_try_compile "$LINENO"; then :
21954 glibcxx_cv_func_hypot_use=yes
21955 else
21956 glibcxx_cv_func_hypot_use=no
21958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21959 ac_ext=c
21960 ac_cpp='$CPP $CPPFLAGS'
21961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21970 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21972 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21973 for ac_func in hypot
21974 do :
21975 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21976 if test "x$ac_cv_func_hypot" = x""yes; then :
21977 cat >>confdefs.h <<_ACEOF
21978 #define HAVE_HYPOT 1
21979 _ACEOF
21982 done
21984 else
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21987 $as_echo_n "checking for _hypot declaration... " >&6; }
21988 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21989 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21990 $as_echo_n "(cached) " >&6
21991 else
21994 ac_ext=cpp
21995 ac_cpp='$CXXCPP $CPPFLAGS'
21996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22001 /* end confdefs.h. */
22002 #include <math.h>
22004 main ()
22006 _hypot(0, 0);
22008 return 0;
22010 _ACEOF
22011 if ac_fn_cxx_try_compile "$LINENO"; then :
22012 glibcxx_cv_func__hypot_use=yes
22013 else
22014 glibcxx_cv_func__hypot_use=no
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017 ac_ext=c
22018 ac_cpp='$CPP $CPPFLAGS'
22019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22028 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22030 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22031 for ac_func in _hypot
22032 do :
22033 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22034 if test "x$ac_cv_func__hypot" = x""yes; then :
22035 cat >>confdefs.h <<_ACEOF
22036 #define HAVE__HYPOT 1
22037 _ACEOF
22040 done
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22050 $as_echo_n "checking for float trig functions... " >&6; }
22051 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22052 $as_echo_n "(cached) " >&6
22053 else
22056 ac_ext=cpp
22057 ac_cpp='$CXXCPP $CPPFLAGS'
22058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22063 /* end confdefs.h. */
22064 #include <math.h>
22066 main ()
22068 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22070 return 0;
22072 _ACEOF
22073 if ac_fn_cxx_try_compile "$LINENO"; then :
22074 glibcxx_cv_func_float_trig_use=yes
22075 else
22076 glibcxx_cv_func_float_trig_use=no
22078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079 ac_ext=c
22080 ac_cpp='$CPP $CPPFLAGS'
22081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22088 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22089 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22090 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22091 do :
22092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22094 eval as_val=\$$as_ac_var
22095 if test "x$as_val" = x""yes; then :
22096 cat >>confdefs.h <<_ACEOF
22097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22098 _ACEOF
22101 done
22103 else
22104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22105 $as_echo_n "checking for _float trig functions... " >&6; }
22106 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22107 $as_echo_n "(cached) " >&6
22108 else
22111 ac_ext=cpp
22112 ac_cpp='$CXXCPP $CPPFLAGS'
22113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22118 /* end confdefs.h. */
22119 #include <math.h>
22121 main ()
22123 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22125 return 0;
22127 _ACEOF
22128 if ac_fn_cxx_try_compile "$LINENO"; then :
22129 glibcxx_cv_func__float_trig_use=yes
22130 else
22131 glibcxx_cv_func__float_trig_use=no
22133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22134 ac_ext=c
22135 ac_cpp='$CPP $CPPFLAGS'
22136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22143 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22144 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22145 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22146 do :
22147 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22148 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22149 eval as_val=\$$as_ac_var
22150 if test "x$as_val" = x""yes; then :
22151 cat >>confdefs.h <<_ACEOF
22152 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22153 _ACEOF
22156 done
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22166 $as_echo_n "checking for float round functions... " >&6; }
22167 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22168 $as_echo_n "(cached) " >&6
22169 else
22172 ac_ext=cpp
22173 ac_cpp='$CXXCPP $CPPFLAGS'
22174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22179 /* end confdefs.h. */
22180 #include <math.h>
22182 main ()
22184 ceilf (0); floorf (0);
22186 return 0;
22188 _ACEOF
22189 if ac_fn_cxx_try_compile "$LINENO"; then :
22190 glibcxx_cv_func_float_round_use=yes
22191 else
22192 glibcxx_cv_func_float_round_use=no
22194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22195 ac_ext=c
22196 ac_cpp='$CPP $CPPFLAGS'
22197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22204 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22205 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22206 for ac_func in ceilf floorf
22207 do :
22208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22210 eval as_val=\$$as_ac_var
22211 if test "x$as_val" = x""yes; then :
22212 cat >>confdefs.h <<_ACEOF
22213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22214 _ACEOF
22217 done
22219 else
22220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22221 $as_echo_n "checking for _float round functions... " >&6; }
22222 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22223 $as_echo_n "(cached) " >&6
22224 else
22227 ac_ext=cpp
22228 ac_cpp='$CXXCPP $CPPFLAGS'
22229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22234 /* end confdefs.h. */
22235 #include <math.h>
22237 main ()
22239 _ceilf (0); _floorf (0);
22241 return 0;
22243 _ACEOF
22244 if ac_fn_cxx_try_compile "$LINENO"; then :
22245 glibcxx_cv_func__float_round_use=yes
22246 else
22247 glibcxx_cv_func__float_round_use=no
22249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22250 ac_ext=c
22251 ac_cpp='$CPP $CPPFLAGS'
22252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22259 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22260 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22261 for ac_func in _ceilf _floorf
22262 do :
22263 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22264 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22265 eval as_val=\$$as_ac_var
22266 if test "x$as_val" = x""yes; then :
22267 cat >>confdefs.h <<_ACEOF
22268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22269 _ACEOF
22272 done
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22283 $as_echo_n "checking for expf declaration... " >&6; }
22284 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22285 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22286 $as_echo_n "(cached) " >&6
22287 else
22290 ac_ext=cpp
22291 ac_cpp='$CXXCPP $CPPFLAGS'
22292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22297 /* end confdefs.h. */
22298 #include <math.h>
22299 #ifdef HAVE_IEEEFP_H
22300 #include <ieeefp.h>
22301 #endif
22304 main ()
22306 expf(0);
22308 return 0;
22310 _ACEOF
22311 if ac_fn_cxx_try_compile "$LINENO"; then :
22312 glibcxx_cv_func_expf_use=yes
22313 else
22314 glibcxx_cv_func_expf_use=no
22316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22317 ac_ext=c
22318 ac_cpp='$CPP $CPPFLAGS'
22319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22328 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22330 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22331 for ac_func in expf
22332 do :
22333 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22334 if test "x$ac_cv_func_expf" = x""yes; then :
22335 cat >>confdefs.h <<_ACEOF
22336 #define HAVE_EXPF 1
22337 _ACEOF
22340 done
22342 else
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22345 $as_echo_n "checking for _expf declaration... " >&6; }
22346 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22347 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22348 $as_echo_n "(cached) " >&6
22349 else
22352 ac_ext=cpp
22353 ac_cpp='$CXXCPP $CPPFLAGS'
22354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22359 /* end confdefs.h. */
22360 #include <math.h>
22361 #ifdef HAVE_IEEEFP_H
22362 #include <ieeefp.h>
22363 #endif
22366 main ()
22368 _expf(0);
22370 return 0;
22372 _ACEOF
22373 if ac_fn_cxx_try_compile "$LINENO"; then :
22374 glibcxx_cv_func__expf_use=yes
22375 else
22376 glibcxx_cv_func__expf_use=no
22378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379 ac_ext=c
22380 ac_cpp='$CPP $CPPFLAGS'
22381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22390 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22392 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22393 for ac_func in _expf
22394 do :
22395 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22396 if test "x$ac_cv_func__expf" = x""yes; then :
22397 cat >>confdefs.h <<_ACEOF
22398 #define HAVE__EXPF 1
22399 _ACEOF
22402 done
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22412 $as_echo_n "checking for isnanf declaration... " >&6; }
22413 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22414 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22415 $as_echo_n "(cached) " >&6
22416 else
22419 ac_ext=cpp
22420 ac_cpp='$CXXCPP $CPPFLAGS'
22421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22426 /* end confdefs.h. */
22427 #include <math.h>
22428 #ifdef HAVE_IEEEFP_H
22429 #include <ieeefp.h>
22430 #endif
22433 main ()
22435 isnanf(0);
22437 return 0;
22439 _ACEOF
22440 if ac_fn_cxx_try_compile "$LINENO"; then :
22441 glibcxx_cv_func_isnanf_use=yes
22442 else
22443 glibcxx_cv_func_isnanf_use=no
22445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446 ac_ext=c
22447 ac_cpp='$CPP $CPPFLAGS'
22448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22457 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22459 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22460 for ac_func in isnanf
22461 do :
22462 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22463 if test "x$ac_cv_func_isnanf" = x""yes; then :
22464 cat >>confdefs.h <<_ACEOF
22465 #define HAVE_ISNANF 1
22466 _ACEOF
22469 done
22471 else
22473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22474 $as_echo_n "checking for _isnanf declaration... " >&6; }
22475 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22476 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22477 $as_echo_n "(cached) " >&6
22478 else
22481 ac_ext=cpp
22482 ac_cpp='$CXXCPP $CPPFLAGS'
22483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22488 /* end confdefs.h. */
22489 #include <math.h>
22490 #ifdef HAVE_IEEEFP_H
22491 #include <ieeefp.h>
22492 #endif
22495 main ()
22497 _isnanf(0);
22499 return 0;
22501 _ACEOF
22502 if ac_fn_cxx_try_compile "$LINENO"; then :
22503 glibcxx_cv_func__isnanf_use=yes
22504 else
22505 glibcxx_cv_func__isnanf_use=no
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508 ac_ext=c
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22519 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22521 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22522 for ac_func in _isnanf
22523 do :
22524 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22525 if test "x$ac_cv_func__isnanf" = x""yes; then :
22526 cat >>confdefs.h <<_ACEOF
22527 #define HAVE__ISNANF 1
22528 _ACEOF
22531 done
22540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22541 $as_echo_n "checking for isinff declaration... " >&6; }
22542 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22543 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22544 $as_echo_n "(cached) " >&6
22545 else
22548 ac_ext=cpp
22549 ac_cpp='$CXXCPP $CPPFLAGS'
22550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22555 /* end confdefs.h. */
22556 #include <math.h>
22557 #ifdef HAVE_IEEEFP_H
22558 #include <ieeefp.h>
22559 #endif
22562 main ()
22564 isinff(0);
22566 return 0;
22568 _ACEOF
22569 if ac_fn_cxx_try_compile "$LINENO"; then :
22570 glibcxx_cv_func_isinff_use=yes
22571 else
22572 glibcxx_cv_func_isinff_use=no
22574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22575 ac_ext=c
22576 ac_cpp='$CPP $CPPFLAGS'
22577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22586 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22588 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22589 for ac_func in isinff
22590 do :
22591 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22592 if test "x$ac_cv_func_isinff" = x""yes; then :
22593 cat >>confdefs.h <<_ACEOF
22594 #define HAVE_ISINFF 1
22595 _ACEOF
22598 done
22600 else
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22603 $as_echo_n "checking for _isinff declaration... " >&6; }
22604 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22605 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22606 $as_echo_n "(cached) " >&6
22607 else
22610 ac_ext=cpp
22611 ac_cpp='$CXXCPP $CPPFLAGS'
22612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22617 /* end confdefs.h. */
22618 #include <math.h>
22619 #ifdef HAVE_IEEEFP_H
22620 #include <ieeefp.h>
22621 #endif
22624 main ()
22626 _isinff(0);
22628 return 0;
22630 _ACEOF
22631 if ac_fn_cxx_try_compile "$LINENO"; then :
22632 glibcxx_cv_func__isinff_use=yes
22633 else
22634 glibcxx_cv_func__isinff_use=no
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637 ac_ext=c
22638 ac_cpp='$CPP $CPPFLAGS'
22639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22648 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22650 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22651 for ac_func in _isinff
22652 do :
22653 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22654 if test "x$ac_cv_func__isinff" = x""yes; then :
22655 cat >>confdefs.h <<_ACEOF
22656 #define HAVE__ISINFF 1
22657 _ACEOF
22660 done
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22670 $as_echo_n "checking for atan2f declaration... " >&6; }
22671 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22672 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22673 $as_echo_n "(cached) " >&6
22674 else
22677 ac_ext=cpp
22678 ac_cpp='$CXXCPP $CPPFLAGS'
22679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22684 /* end confdefs.h. */
22685 #include <math.h>
22687 main ()
22689 atan2f(0, 0);
22691 return 0;
22693 _ACEOF
22694 if ac_fn_cxx_try_compile "$LINENO"; then :
22695 glibcxx_cv_func_atan2f_use=yes
22696 else
22697 glibcxx_cv_func_atan2f_use=no
22699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22700 ac_ext=c
22701 ac_cpp='$CPP $CPPFLAGS'
22702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22711 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22713 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22714 for ac_func in atan2f
22715 do :
22716 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22717 if test "x$ac_cv_func_atan2f" = x""yes; then :
22718 cat >>confdefs.h <<_ACEOF
22719 #define HAVE_ATAN2F 1
22720 _ACEOF
22723 done
22725 else
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22728 $as_echo_n "checking for _atan2f declaration... " >&6; }
22729 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22730 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22731 $as_echo_n "(cached) " >&6
22732 else
22735 ac_ext=cpp
22736 ac_cpp='$CXXCPP $CPPFLAGS'
22737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22742 /* end confdefs.h. */
22743 #include <math.h>
22745 main ()
22747 _atan2f(0, 0);
22749 return 0;
22751 _ACEOF
22752 if ac_fn_cxx_try_compile "$LINENO"; then :
22753 glibcxx_cv_func__atan2f_use=yes
22754 else
22755 glibcxx_cv_func__atan2f_use=no
22757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22758 ac_ext=c
22759 ac_cpp='$CPP $CPPFLAGS'
22760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22769 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22771 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22772 for ac_func in _atan2f
22773 do :
22774 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22775 if test "x$ac_cv_func__atan2f" = x""yes; then :
22776 cat >>confdefs.h <<_ACEOF
22777 #define HAVE__ATAN2F 1
22778 _ACEOF
22781 done
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22791 $as_echo_n "checking for fabsf declaration... " >&6; }
22792 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22793 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22794 $as_echo_n "(cached) " >&6
22795 else
22798 ac_ext=cpp
22799 ac_cpp='$CXXCPP $CPPFLAGS'
22800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22805 /* end confdefs.h. */
22806 #include <math.h>
22807 #ifdef HAVE_IEEEFP_H
22808 #include <ieeefp.h>
22809 #endif
22812 main ()
22814 fabsf(0);
22816 return 0;
22818 _ACEOF
22819 if ac_fn_cxx_try_compile "$LINENO"; then :
22820 glibcxx_cv_func_fabsf_use=yes
22821 else
22822 glibcxx_cv_func_fabsf_use=no
22824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22825 ac_ext=c
22826 ac_cpp='$CPP $CPPFLAGS'
22827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22836 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22838 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22839 for ac_func in fabsf
22840 do :
22841 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22842 if test "x$ac_cv_func_fabsf" = x""yes; then :
22843 cat >>confdefs.h <<_ACEOF
22844 #define HAVE_FABSF 1
22845 _ACEOF
22848 done
22850 else
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22853 $as_echo_n "checking for _fabsf declaration... " >&6; }
22854 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22855 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22856 $as_echo_n "(cached) " >&6
22857 else
22860 ac_ext=cpp
22861 ac_cpp='$CXXCPP $CPPFLAGS'
22862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22867 /* end confdefs.h. */
22868 #include <math.h>
22869 #ifdef HAVE_IEEEFP_H
22870 #include <ieeefp.h>
22871 #endif
22874 main ()
22876 _fabsf(0);
22878 return 0;
22880 _ACEOF
22881 if ac_fn_cxx_try_compile "$LINENO"; then :
22882 glibcxx_cv_func__fabsf_use=yes
22883 else
22884 glibcxx_cv_func__fabsf_use=no
22886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22887 ac_ext=c
22888 ac_cpp='$CPP $CPPFLAGS'
22889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22898 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22900 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22901 for ac_func in _fabsf
22902 do :
22903 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22904 if test "x$ac_cv_func__fabsf" = x""yes; then :
22905 cat >>confdefs.h <<_ACEOF
22906 #define HAVE__FABSF 1
22907 _ACEOF
22910 done
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22920 $as_echo_n "checking for fmodf declaration... " >&6; }
22921 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22922 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22923 $as_echo_n "(cached) " >&6
22924 else
22927 ac_ext=cpp
22928 ac_cpp='$CXXCPP $CPPFLAGS'
22929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22934 /* end confdefs.h. */
22935 #include <math.h>
22937 main ()
22939 fmodf(0, 0);
22941 return 0;
22943 _ACEOF
22944 if ac_fn_cxx_try_compile "$LINENO"; then :
22945 glibcxx_cv_func_fmodf_use=yes
22946 else
22947 glibcxx_cv_func_fmodf_use=no
22949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22950 ac_ext=c
22951 ac_cpp='$CPP $CPPFLAGS'
22952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22961 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22963 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22964 for ac_func in fmodf
22965 do :
22966 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22967 if test "x$ac_cv_func_fmodf" = x""yes; then :
22968 cat >>confdefs.h <<_ACEOF
22969 #define HAVE_FMODF 1
22970 _ACEOF
22973 done
22975 else
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22978 $as_echo_n "checking for _fmodf declaration... " >&6; }
22979 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22980 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22981 $as_echo_n "(cached) " >&6
22982 else
22985 ac_ext=cpp
22986 ac_cpp='$CXXCPP $CPPFLAGS'
22987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22992 /* end confdefs.h. */
22993 #include <math.h>
22995 main ()
22997 _fmodf(0, 0);
22999 return 0;
23001 _ACEOF
23002 if ac_fn_cxx_try_compile "$LINENO"; then :
23003 glibcxx_cv_func__fmodf_use=yes
23004 else
23005 glibcxx_cv_func__fmodf_use=no
23007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23008 ac_ext=c
23009 ac_cpp='$CPP $CPPFLAGS'
23010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23019 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23021 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23022 for ac_func in _fmodf
23023 do :
23024 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23025 if test "x$ac_cv_func__fmodf" = x""yes; then :
23026 cat >>confdefs.h <<_ACEOF
23027 #define HAVE__FMODF 1
23028 _ACEOF
23031 done
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23041 $as_echo_n "checking for frexpf declaration... " >&6; }
23042 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23043 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23044 $as_echo_n "(cached) " >&6
23045 else
23048 ac_ext=cpp
23049 ac_cpp='$CXXCPP $CPPFLAGS'
23050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23055 /* end confdefs.h. */
23056 #include <math.h>
23058 main ()
23060 frexpf(0, 0);
23062 return 0;
23064 _ACEOF
23065 if ac_fn_cxx_try_compile "$LINENO"; then :
23066 glibcxx_cv_func_frexpf_use=yes
23067 else
23068 glibcxx_cv_func_frexpf_use=no
23070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23071 ac_ext=c
23072 ac_cpp='$CPP $CPPFLAGS'
23073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23082 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23084 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23085 for ac_func in frexpf
23086 do :
23087 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23088 if test "x$ac_cv_func_frexpf" = x""yes; then :
23089 cat >>confdefs.h <<_ACEOF
23090 #define HAVE_FREXPF 1
23091 _ACEOF
23094 done
23096 else
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23099 $as_echo_n "checking for _frexpf declaration... " >&6; }
23100 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23101 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23102 $as_echo_n "(cached) " >&6
23103 else
23106 ac_ext=cpp
23107 ac_cpp='$CXXCPP $CPPFLAGS'
23108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23113 /* end confdefs.h. */
23114 #include <math.h>
23116 main ()
23118 _frexpf(0, 0);
23120 return 0;
23122 _ACEOF
23123 if ac_fn_cxx_try_compile "$LINENO"; then :
23124 glibcxx_cv_func__frexpf_use=yes
23125 else
23126 glibcxx_cv_func__frexpf_use=no
23128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23129 ac_ext=c
23130 ac_cpp='$CPP $CPPFLAGS'
23131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23140 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23142 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23143 for ac_func in _frexpf
23144 do :
23145 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23146 if test "x$ac_cv_func__frexpf" = x""yes; then :
23147 cat >>confdefs.h <<_ACEOF
23148 #define HAVE__FREXPF 1
23149 _ACEOF
23152 done
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23162 $as_echo_n "checking for hypotf declaration... " >&6; }
23163 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23164 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23165 $as_echo_n "(cached) " >&6
23166 else
23169 ac_ext=cpp
23170 ac_cpp='$CXXCPP $CPPFLAGS'
23171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23176 /* end confdefs.h. */
23177 #include <math.h>
23179 main ()
23181 hypotf(0, 0);
23183 return 0;
23185 _ACEOF
23186 if ac_fn_cxx_try_compile "$LINENO"; then :
23187 glibcxx_cv_func_hypotf_use=yes
23188 else
23189 glibcxx_cv_func_hypotf_use=no
23191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23192 ac_ext=c
23193 ac_cpp='$CPP $CPPFLAGS'
23194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23203 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23205 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23206 for ac_func in hypotf
23207 do :
23208 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23209 if test "x$ac_cv_func_hypotf" = x""yes; then :
23210 cat >>confdefs.h <<_ACEOF
23211 #define HAVE_HYPOTF 1
23212 _ACEOF
23215 done
23217 else
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23220 $as_echo_n "checking for _hypotf declaration... " >&6; }
23221 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23222 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23223 $as_echo_n "(cached) " >&6
23224 else
23227 ac_ext=cpp
23228 ac_cpp='$CXXCPP $CPPFLAGS'
23229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23234 /* end confdefs.h. */
23235 #include <math.h>
23237 main ()
23239 _hypotf(0, 0);
23241 return 0;
23243 _ACEOF
23244 if ac_fn_cxx_try_compile "$LINENO"; then :
23245 glibcxx_cv_func__hypotf_use=yes
23246 else
23247 glibcxx_cv_func__hypotf_use=no
23249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23250 ac_ext=c
23251 ac_cpp='$CPP $CPPFLAGS'
23252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23261 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23263 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23264 for ac_func in _hypotf
23265 do :
23266 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23267 if test "x$ac_cv_func__hypotf" = x""yes; then :
23268 cat >>confdefs.h <<_ACEOF
23269 #define HAVE__HYPOTF 1
23270 _ACEOF
23273 done
23282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23283 $as_echo_n "checking for ldexpf declaration... " >&6; }
23284 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23285 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23286 $as_echo_n "(cached) " >&6
23287 else
23290 ac_ext=cpp
23291 ac_cpp='$CXXCPP $CPPFLAGS'
23292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23297 /* end confdefs.h. */
23298 #include <math.h>
23300 main ()
23302 ldexpf(0, 0);
23304 return 0;
23306 _ACEOF
23307 if ac_fn_cxx_try_compile "$LINENO"; then :
23308 glibcxx_cv_func_ldexpf_use=yes
23309 else
23310 glibcxx_cv_func_ldexpf_use=no
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313 ac_ext=c
23314 ac_cpp='$CPP $CPPFLAGS'
23315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23324 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23326 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23327 for ac_func in ldexpf
23328 do :
23329 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23330 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23331 cat >>confdefs.h <<_ACEOF
23332 #define HAVE_LDEXPF 1
23333 _ACEOF
23336 done
23338 else
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23341 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23342 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23343 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23344 $as_echo_n "(cached) " >&6
23345 else
23348 ac_ext=cpp
23349 ac_cpp='$CXXCPP $CPPFLAGS'
23350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23355 /* end confdefs.h. */
23356 #include <math.h>
23358 main ()
23360 _ldexpf(0, 0);
23362 return 0;
23364 _ACEOF
23365 if ac_fn_cxx_try_compile "$LINENO"; then :
23366 glibcxx_cv_func__ldexpf_use=yes
23367 else
23368 glibcxx_cv_func__ldexpf_use=no
23370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23371 ac_ext=c
23372 ac_cpp='$CPP $CPPFLAGS'
23373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23382 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23384 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23385 for ac_func in _ldexpf
23386 do :
23387 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23388 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23389 cat >>confdefs.h <<_ACEOF
23390 #define HAVE__LDEXPF 1
23391 _ACEOF
23394 done
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23404 $as_echo_n "checking for logf declaration... " >&6; }
23405 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23406 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23407 $as_echo_n "(cached) " >&6
23408 else
23411 ac_ext=cpp
23412 ac_cpp='$CXXCPP $CPPFLAGS'
23413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23418 /* end confdefs.h. */
23419 #include <math.h>
23420 #ifdef HAVE_IEEEFP_H
23421 #include <ieeefp.h>
23422 #endif
23425 main ()
23427 logf(0);
23429 return 0;
23431 _ACEOF
23432 if ac_fn_cxx_try_compile "$LINENO"; then :
23433 glibcxx_cv_func_logf_use=yes
23434 else
23435 glibcxx_cv_func_logf_use=no
23437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23438 ac_ext=c
23439 ac_cpp='$CPP $CPPFLAGS'
23440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23449 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23451 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23452 for ac_func in logf
23453 do :
23454 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23455 if test "x$ac_cv_func_logf" = x""yes; then :
23456 cat >>confdefs.h <<_ACEOF
23457 #define HAVE_LOGF 1
23458 _ACEOF
23461 done
23463 else
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23466 $as_echo_n "checking for _logf declaration... " >&6; }
23467 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23468 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23469 $as_echo_n "(cached) " >&6
23470 else
23473 ac_ext=cpp
23474 ac_cpp='$CXXCPP $CPPFLAGS'
23475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23480 /* end confdefs.h. */
23481 #include <math.h>
23482 #ifdef HAVE_IEEEFP_H
23483 #include <ieeefp.h>
23484 #endif
23487 main ()
23489 _logf(0);
23491 return 0;
23493 _ACEOF
23494 if ac_fn_cxx_try_compile "$LINENO"; then :
23495 glibcxx_cv_func__logf_use=yes
23496 else
23497 glibcxx_cv_func__logf_use=no
23499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23500 ac_ext=c
23501 ac_cpp='$CPP $CPPFLAGS'
23502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23511 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23513 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23514 for ac_func in _logf
23515 do :
23516 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23517 if test "x$ac_cv_func__logf" = x""yes; then :
23518 cat >>confdefs.h <<_ACEOF
23519 #define HAVE__LOGF 1
23520 _ACEOF
23523 done
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23533 $as_echo_n "checking for log10f declaration... " >&6; }
23534 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23535 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23536 $as_echo_n "(cached) " >&6
23537 else
23540 ac_ext=cpp
23541 ac_cpp='$CXXCPP $CPPFLAGS'
23542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23547 /* end confdefs.h. */
23548 #include <math.h>
23549 #ifdef HAVE_IEEEFP_H
23550 #include <ieeefp.h>
23551 #endif
23554 main ()
23556 log10f(0);
23558 return 0;
23560 _ACEOF
23561 if ac_fn_cxx_try_compile "$LINENO"; then :
23562 glibcxx_cv_func_log10f_use=yes
23563 else
23564 glibcxx_cv_func_log10f_use=no
23566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23567 ac_ext=c
23568 ac_cpp='$CPP $CPPFLAGS'
23569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23578 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23580 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23581 for ac_func in log10f
23582 do :
23583 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23584 if test "x$ac_cv_func_log10f" = x""yes; then :
23585 cat >>confdefs.h <<_ACEOF
23586 #define HAVE_LOG10F 1
23587 _ACEOF
23590 done
23592 else
23594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23595 $as_echo_n "checking for _log10f declaration... " >&6; }
23596 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23597 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23598 $as_echo_n "(cached) " >&6
23599 else
23602 ac_ext=cpp
23603 ac_cpp='$CXXCPP $CPPFLAGS'
23604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23609 /* end confdefs.h. */
23610 #include <math.h>
23611 #ifdef HAVE_IEEEFP_H
23612 #include <ieeefp.h>
23613 #endif
23616 main ()
23618 _log10f(0);
23620 return 0;
23622 _ACEOF
23623 if ac_fn_cxx_try_compile "$LINENO"; then :
23624 glibcxx_cv_func__log10f_use=yes
23625 else
23626 glibcxx_cv_func__log10f_use=no
23628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23629 ac_ext=c
23630 ac_cpp='$CPP $CPPFLAGS'
23631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23640 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23642 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23643 for ac_func in _log10f
23644 do :
23645 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23646 if test "x$ac_cv_func__log10f" = x""yes; then :
23647 cat >>confdefs.h <<_ACEOF
23648 #define HAVE__LOG10F 1
23649 _ACEOF
23652 done
23661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23662 $as_echo_n "checking for modff declaration... " >&6; }
23663 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23664 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23665 $as_echo_n "(cached) " >&6
23666 else
23669 ac_ext=cpp
23670 ac_cpp='$CXXCPP $CPPFLAGS'
23671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23676 /* end confdefs.h. */
23677 #include <math.h>
23679 main ()
23681 modff(0, 0);
23683 return 0;
23685 _ACEOF
23686 if ac_fn_cxx_try_compile "$LINENO"; then :
23687 glibcxx_cv_func_modff_use=yes
23688 else
23689 glibcxx_cv_func_modff_use=no
23691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23692 ac_ext=c
23693 ac_cpp='$CPP $CPPFLAGS'
23694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23703 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23705 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23706 for ac_func in modff
23707 do :
23708 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23709 if test "x$ac_cv_func_modff" = x""yes; then :
23710 cat >>confdefs.h <<_ACEOF
23711 #define HAVE_MODFF 1
23712 _ACEOF
23715 done
23717 else
23719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23720 $as_echo_n "checking for _modff declaration... " >&6; }
23721 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23722 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23723 $as_echo_n "(cached) " >&6
23724 else
23727 ac_ext=cpp
23728 ac_cpp='$CXXCPP $CPPFLAGS'
23729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23734 /* end confdefs.h. */
23735 #include <math.h>
23737 main ()
23739 _modff(0, 0);
23741 return 0;
23743 _ACEOF
23744 if ac_fn_cxx_try_compile "$LINENO"; then :
23745 glibcxx_cv_func__modff_use=yes
23746 else
23747 glibcxx_cv_func__modff_use=no
23749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23750 ac_ext=c
23751 ac_cpp='$CPP $CPPFLAGS'
23752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23761 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23763 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23764 for ac_func in _modff
23765 do :
23766 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23767 if test "x$ac_cv_func__modff" = x""yes; then :
23768 cat >>confdefs.h <<_ACEOF
23769 #define HAVE__MODFF 1
23770 _ACEOF
23773 done
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23783 $as_echo_n "checking for modf declaration... " >&6; }
23784 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23785 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23786 $as_echo_n "(cached) " >&6
23787 else
23790 ac_ext=cpp
23791 ac_cpp='$CXXCPP $CPPFLAGS'
23792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23797 /* end confdefs.h. */
23798 #include <math.h>
23800 main ()
23802 modf(0, 0);
23804 return 0;
23806 _ACEOF
23807 if ac_fn_cxx_try_compile "$LINENO"; then :
23808 glibcxx_cv_func_modf_use=yes
23809 else
23810 glibcxx_cv_func_modf_use=no
23812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23813 ac_ext=c
23814 ac_cpp='$CPP $CPPFLAGS'
23815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23824 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23826 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23827 for ac_func in modf
23828 do :
23829 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23830 if test "x$ac_cv_func_modf" = x""yes; then :
23831 cat >>confdefs.h <<_ACEOF
23832 #define HAVE_MODF 1
23833 _ACEOF
23836 done
23838 else
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23841 $as_echo_n "checking for _modf declaration... " >&6; }
23842 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23843 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23844 $as_echo_n "(cached) " >&6
23845 else
23848 ac_ext=cpp
23849 ac_cpp='$CXXCPP $CPPFLAGS'
23850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23855 /* end confdefs.h. */
23856 #include <math.h>
23858 main ()
23860 _modf(0, 0);
23862 return 0;
23864 _ACEOF
23865 if ac_fn_cxx_try_compile "$LINENO"; then :
23866 glibcxx_cv_func__modf_use=yes
23867 else
23868 glibcxx_cv_func__modf_use=no
23870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23871 ac_ext=c
23872 ac_cpp='$CPP $CPPFLAGS'
23873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23882 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23884 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23885 for ac_func in _modf
23886 do :
23887 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23888 if test "x$ac_cv_func__modf" = x""yes; then :
23889 cat >>confdefs.h <<_ACEOF
23890 #define HAVE__MODF 1
23891 _ACEOF
23894 done
23903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23904 $as_echo_n "checking for powf declaration... " >&6; }
23905 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23906 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23907 $as_echo_n "(cached) " >&6
23908 else
23911 ac_ext=cpp
23912 ac_cpp='$CXXCPP $CPPFLAGS'
23913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23918 /* end confdefs.h. */
23919 #include <math.h>
23921 main ()
23923 powf(0, 0);
23925 return 0;
23927 _ACEOF
23928 if ac_fn_cxx_try_compile "$LINENO"; then :
23929 glibcxx_cv_func_powf_use=yes
23930 else
23931 glibcxx_cv_func_powf_use=no
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934 ac_ext=c
23935 ac_cpp='$CPP $CPPFLAGS'
23936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23945 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23947 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23948 for ac_func in powf
23949 do :
23950 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23951 if test "x$ac_cv_func_powf" = x""yes; then :
23952 cat >>confdefs.h <<_ACEOF
23953 #define HAVE_POWF 1
23954 _ACEOF
23957 done
23959 else
23961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23962 $as_echo_n "checking for _powf declaration... " >&6; }
23963 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23964 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23965 $as_echo_n "(cached) " >&6
23966 else
23969 ac_ext=cpp
23970 ac_cpp='$CXXCPP $CPPFLAGS'
23971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23976 /* end confdefs.h. */
23977 #include <math.h>
23979 main ()
23981 _powf(0, 0);
23983 return 0;
23985 _ACEOF
23986 if ac_fn_cxx_try_compile "$LINENO"; then :
23987 glibcxx_cv_func__powf_use=yes
23988 else
23989 glibcxx_cv_func__powf_use=no
23991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23992 ac_ext=c
23993 ac_cpp='$CPP $CPPFLAGS'
23994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24003 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24005 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24006 for ac_func in _powf
24007 do :
24008 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24009 if test "x$ac_cv_func__powf" = x""yes; then :
24010 cat >>confdefs.h <<_ACEOF
24011 #define HAVE__POWF 1
24012 _ACEOF
24015 done
24024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24025 $as_echo_n "checking for sqrtf declaration... " >&6; }
24026 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24027 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24028 $as_echo_n "(cached) " >&6
24029 else
24032 ac_ext=cpp
24033 ac_cpp='$CXXCPP $CPPFLAGS'
24034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24039 /* end confdefs.h. */
24040 #include <math.h>
24041 #ifdef HAVE_IEEEFP_H
24042 #include <ieeefp.h>
24043 #endif
24046 main ()
24048 sqrtf(0);
24050 return 0;
24052 _ACEOF
24053 if ac_fn_cxx_try_compile "$LINENO"; then :
24054 glibcxx_cv_func_sqrtf_use=yes
24055 else
24056 glibcxx_cv_func_sqrtf_use=no
24058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24059 ac_ext=c
24060 ac_cpp='$CPP $CPPFLAGS'
24061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24070 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24072 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24073 for ac_func in sqrtf
24074 do :
24075 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24076 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24077 cat >>confdefs.h <<_ACEOF
24078 #define HAVE_SQRTF 1
24079 _ACEOF
24082 done
24084 else
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24087 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24088 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24089 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24090 $as_echo_n "(cached) " >&6
24091 else
24094 ac_ext=cpp
24095 ac_cpp='$CXXCPP $CPPFLAGS'
24096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24101 /* end confdefs.h. */
24102 #include <math.h>
24103 #ifdef HAVE_IEEEFP_H
24104 #include <ieeefp.h>
24105 #endif
24108 main ()
24110 _sqrtf(0);
24112 return 0;
24114 _ACEOF
24115 if ac_fn_cxx_try_compile "$LINENO"; then :
24116 glibcxx_cv_func__sqrtf_use=yes
24117 else
24118 glibcxx_cv_func__sqrtf_use=no
24120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24121 ac_ext=c
24122 ac_cpp='$CPP $CPPFLAGS'
24123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24132 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24134 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24135 for ac_func in _sqrtf
24136 do :
24137 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24138 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24139 cat >>confdefs.h <<_ACEOF
24140 #define HAVE__SQRTF 1
24141 _ACEOF
24144 done
24153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24154 $as_echo_n "checking for sincosf declaration... " >&6; }
24155 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24156 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24157 $as_echo_n "(cached) " >&6
24158 else
24161 ac_ext=cpp
24162 ac_cpp='$CXXCPP $CPPFLAGS'
24163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24168 /* end confdefs.h. */
24169 #include <math.h>
24171 main ()
24173 sincosf(0, 0, 0);
24175 return 0;
24177 _ACEOF
24178 if ac_fn_cxx_try_compile "$LINENO"; then :
24179 glibcxx_cv_func_sincosf_use=yes
24180 else
24181 glibcxx_cv_func_sincosf_use=no
24183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24184 ac_ext=c
24185 ac_cpp='$CPP $CPPFLAGS'
24186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24195 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24197 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24198 for ac_func in sincosf
24199 do :
24200 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24201 if test "x$ac_cv_func_sincosf" = x""yes; then :
24202 cat >>confdefs.h <<_ACEOF
24203 #define HAVE_SINCOSF 1
24204 _ACEOF
24207 done
24209 else
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24212 $as_echo_n "checking for _sincosf declaration... " >&6; }
24213 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24214 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24215 $as_echo_n "(cached) " >&6
24216 else
24219 ac_ext=cpp
24220 ac_cpp='$CXXCPP $CPPFLAGS'
24221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24226 /* end confdefs.h. */
24227 #include <math.h>
24229 main ()
24231 _sincosf(0, 0, 0);
24233 return 0;
24235 _ACEOF
24236 if ac_fn_cxx_try_compile "$LINENO"; then :
24237 glibcxx_cv_func__sincosf_use=yes
24238 else
24239 glibcxx_cv_func__sincosf_use=no
24241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24242 ac_ext=c
24243 ac_cpp='$CPP $CPPFLAGS'
24244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24253 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24255 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24256 for ac_func in _sincosf
24257 do :
24258 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24259 if test "x$ac_cv_func__sincosf" = x""yes; then :
24260 cat >>confdefs.h <<_ACEOF
24261 #define HAVE__SINCOSF 1
24262 _ACEOF
24265 done
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24275 $as_echo_n "checking for finitef declaration... " >&6; }
24276 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24277 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24278 $as_echo_n "(cached) " >&6
24279 else
24282 ac_ext=cpp
24283 ac_cpp='$CXXCPP $CPPFLAGS'
24284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24289 /* end confdefs.h. */
24290 #include <math.h>
24291 #ifdef HAVE_IEEEFP_H
24292 #include <ieeefp.h>
24293 #endif
24296 main ()
24298 finitef(0);
24300 return 0;
24302 _ACEOF
24303 if ac_fn_cxx_try_compile "$LINENO"; then :
24304 glibcxx_cv_func_finitef_use=yes
24305 else
24306 glibcxx_cv_func_finitef_use=no
24308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24309 ac_ext=c
24310 ac_cpp='$CPP $CPPFLAGS'
24311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24320 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24322 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24323 for ac_func in finitef
24324 do :
24325 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24326 if test "x$ac_cv_func_finitef" = x""yes; then :
24327 cat >>confdefs.h <<_ACEOF
24328 #define HAVE_FINITEF 1
24329 _ACEOF
24332 done
24334 else
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24337 $as_echo_n "checking for _finitef declaration... " >&6; }
24338 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24339 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24340 $as_echo_n "(cached) " >&6
24341 else
24344 ac_ext=cpp
24345 ac_cpp='$CXXCPP $CPPFLAGS'
24346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24351 /* end confdefs.h. */
24352 #include <math.h>
24353 #ifdef HAVE_IEEEFP_H
24354 #include <ieeefp.h>
24355 #endif
24358 main ()
24360 _finitef(0);
24362 return 0;
24364 _ACEOF
24365 if ac_fn_cxx_try_compile "$LINENO"; then :
24366 glibcxx_cv_func__finitef_use=yes
24367 else
24368 glibcxx_cv_func__finitef_use=no
24370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24371 ac_ext=c
24372 ac_cpp='$CPP $CPPFLAGS'
24373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24382 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24384 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24385 for ac_func in _finitef
24386 do :
24387 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24388 if test "x$ac_cv_func__finitef" = x""yes; then :
24389 cat >>confdefs.h <<_ACEOF
24390 #define HAVE__FINITEF 1
24391 _ACEOF
24394 done
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24404 $as_echo_n "checking for long double trig functions... " >&6; }
24405 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24406 $as_echo_n "(cached) " >&6
24407 else
24410 ac_ext=cpp
24411 ac_cpp='$CXXCPP $CPPFLAGS'
24412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24417 /* end confdefs.h. */
24418 #include <math.h>
24420 main ()
24422 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24424 return 0;
24426 _ACEOF
24427 if ac_fn_cxx_try_compile "$LINENO"; then :
24428 glibcxx_cv_func_long_double_trig_use=yes
24429 else
24430 glibcxx_cv_func_long_double_trig_use=no
24432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24433 ac_ext=c
24434 ac_cpp='$CPP $CPPFLAGS'
24435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24442 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24443 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24444 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24445 do :
24446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24448 eval as_val=\$$as_ac_var
24449 if test "x$as_val" = x""yes; then :
24450 cat >>confdefs.h <<_ACEOF
24451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24452 _ACEOF
24455 done
24457 else
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24459 $as_echo_n "checking for _long double trig functions... " >&6; }
24460 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24461 $as_echo_n "(cached) " >&6
24462 else
24465 ac_ext=cpp
24466 ac_cpp='$CXXCPP $CPPFLAGS'
24467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24472 /* end confdefs.h. */
24473 #include <math.h>
24475 main ()
24477 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24479 return 0;
24481 _ACEOF
24482 if ac_fn_cxx_try_compile "$LINENO"; then :
24483 glibcxx_cv_func__long_double_trig_use=yes
24484 else
24485 glibcxx_cv_func__long_double_trig_use=no
24487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24488 ac_ext=c
24489 ac_cpp='$CPP $CPPFLAGS'
24490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24497 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24498 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24499 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24500 do :
24501 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24503 eval as_val=\$$as_ac_var
24504 if test "x$as_val" = x""yes; then :
24505 cat >>confdefs.h <<_ACEOF
24506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24507 _ACEOF
24510 done
24519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24520 $as_echo_n "checking for long double round functions... " >&6; }
24521 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24522 $as_echo_n "(cached) " >&6
24523 else
24526 ac_ext=cpp
24527 ac_cpp='$CXXCPP $CPPFLAGS'
24528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24533 /* end confdefs.h. */
24534 #include <math.h>
24536 main ()
24538 ceill (0); floorl (0);
24540 return 0;
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544 glibcxx_cv_func_long_double_round_use=yes
24545 else
24546 glibcxx_cv_func_long_double_round_use=no
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24558 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24559 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24560 for ac_func in ceill floorl
24561 do :
24562 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24563 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24564 eval as_val=\$$as_ac_var
24565 if test "x$as_val" = x""yes; then :
24566 cat >>confdefs.h <<_ACEOF
24567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24568 _ACEOF
24571 done
24573 else
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24575 $as_echo_n "checking for _long double round functions... " >&6; }
24576 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24577 $as_echo_n "(cached) " >&6
24578 else
24581 ac_ext=cpp
24582 ac_cpp='$CXXCPP $CPPFLAGS'
24583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24588 /* end confdefs.h. */
24589 #include <math.h>
24591 main ()
24593 _ceill (0); _floorl (0);
24595 return 0;
24597 _ACEOF
24598 if ac_fn_cxx_try_compile "$LINENO"; then :
24599 glibcxx_cv_func__long_double_round_use=yes
24600 else
24601 glibcxx_cv_func__long_double_round_use=no
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604 ac_ext=c
24605 ac_cpp='$CPP $CPPFLAGS'
24606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24613 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24614 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24615 for ac_func in _ceill _floorl
24616 do :
24617 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24619 eval as_val=\$$as_ac_var
24620 if test "x$as_val" = x""yes; then :
24621 cat >>confdefs.h <<_ACEOF
24622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24623 _ACEOF
24626 done
24636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24637 $as_echo_n "checking for isnanl declaration... " >&6; }
24638 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24639 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24640 $as_echo_n "(cached) " >&6
24641 else
24644 ac_ext=cpp
24645 ac_cpp='$CXXCPP $CPPFLAGS'
24646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h. */
24652 #include <math.h>
24653 #ifdef HAVE_IEEEFP_H
24654 #include <ieeefp.h>
24655 #endif
24658 main ()
24660 isnanl(0);
24662 return 0;
24664 _ACEOF
24665 if ac_fn_cxx_try_compile "$LINENO"; then :
24666 glibcxx_cv_func_isnanl_use=yes
24667 else
24668 glibcxx_cv_func_isnanl_use=no
24670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24671 ac_ext=c
24672 ac_cpp='$CPP $CPPFLAGS'
24673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24682 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24684 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24685 for ac_func in isnanl
24686 do :
24687 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24688 if test "x$ac_cv_func_isnanl" = x""yes; then :
24689 cat >>confdefs.h <<_ACEOF
24690 #define HAVE_ISNANL 1
24691 _ACEOF
24694 done
24696 else
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24699 $as_echo_n "checking for _isnanl declaration... " >&6; }
24700 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24701 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24702 $as_echo_n "(cached) " >&6
24703 else
24706 ac_ext=cpp
24707 ac_cpp='$CXXCPP $CPPFLAGS'
24708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h. */
24714 #include <math.h>
24715 #ifdef HAVE_IEEEFP_H
24716 #include <ieeefp.h>
24717 #endif
24720 main ()
24722 _isnanl(0);
24724 return 0;
24726 _ACEOF
24727 if ac_fn_cxx_try_compile "$LINENO"; then :
24728 glibcxx_cv_func__isnanl_use=yes
24729 else
24730 glibcxx_cv_func__isnanl_use=no
24732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24733 ac_ext=c
24734 ac_cpp='$CPP $CPPFLAGS'
24735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24744 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24746 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24747 for ac_func in _isnanl
24748 do :
24749 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24750 if test "x$ac_cv_func__isnanl" = x""yes; then :
24751 cat >>confdefs.h <<_ACEOF
24752 #define HAVE__ISNANL 1
24753 _ACEOF
24756 done
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24766 $as_echo_n "checking for isinfl declaration... " >&6; }
24767 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24768 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24769 $as_echo_n "(cached) " >&6
24770 else
24773 ac_ext=cpp
24774 ac_cpp='$CXXCPP $CPPFLAGS'
24775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24780 /* end confdefs.h. */
24781 #include <math.h>
24782 #ifdef HAVE_IEEEFP_H
24783 #include <ieeefp.h>
24784 #endif
24787 main ()
24789 isinfl(0);
24791 return 0;
24793 _ACEOF
24794 if ac_fn_cxx_try_compile "$LINENO"; then :
24795 glibcxx_cv_func_isinfl_use=yes
24796 else
24797 glibcxx_cv_func_isinfl_use=no
24799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24800 ac_ext=c
24801 ac_cpp='$CPP $CPPFLAGS'
24802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24811 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24813 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24814 for ac_func in isinfl
24815 do :
24816 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24817 if test "x$ac_cv_func_isinfl" = x""yes; then :
24818 cat >>confdefs.h <<_ACEOF
24819 #define HAVE_ISINFL 1
24820 _ACEOF
24823 done
24825 else
24827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24828 $as_echo_n "checking for _isinfl declaration... " >&6; }
24829 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24830 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24831 $as_echo_n "(cached) " >&6
24832 else
24835 ac_ext=cpp
24836 ac_cpp='$CXXCPP $CPPFLAGS'
24837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h. */
24843 #include <math.h>
24844 #ifdef HAVE_IEEEFP_H
24845 #include <ieeefp.h>
24846 #endif
24849 main ()
24851 _isinfl(0);
24853 return 0;
24855 _ACEOF
24856 if ac_fn_cxx_try_compile "$LINENO"; then :
24857 glibcxx_cv_func__isinfl_use=yes
24858 else
24859 glibcxx_cv_func__isinfl_use=no
24861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24862 ac_ext=c
24863 ac_cpp='$CPP $CPPFLAGS'
24864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24873 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24875 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24876 for ac_func in _isinfl
24877 do :
24878 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24879 if test "x$ac_cv_func__isinfl" = x""yes; then :
24880 cat >>confdefs.h <<_ACEOF
24881 #define HAVE__ISINFL 1
24882 _ACEOF
24885 done
24894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24895 $as_echo_n "checking for atan2l declaration... " >&6; }
24896 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24897 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24898 $as_echo_n "(cached) " >&6
24899 else
24902 ac_ext=cpp
24903 ac_cpp='$CXXCPP $CPPFLAGS'
24904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24909 /* end confdefs.h. */
24910 #include <math.h>
24912 main ()
24914 atan2l(0, 0);
24916 return 0;
24918 _ACEOF
24919 if ac_fn_cxx_try_compile "$LINENO"; then :
24920 glibcxx_cv_func_atan2l_use=yes
24921 else
24922 glibcxx_cv_func_atan2l_use=no
24924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24925 ac_ext=c
24926 ac_cpp='$CPP $CPPFLAGS'
24927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24936 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24938 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24939 for ac_func in atan2l
24940 do :
24941 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24942 if test "x$ac_cv_func_atan2l" = x""yes; then :
24943 cat >>confdefs.h <<_ACEOF
24944 #define HAVE_ATAN2L 1
24945 _ACEOF
24948 done
24950 else
24952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24953 $as_echo_n "checking for _atan2l declaration... " >&6; }
24954 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24955 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24956 $as_echo_n "(cached) " >&6
24957 else
24960 ac_ext=cpp
24961 ac_cpp='$CXXCPP $CPPFLAGS'
24962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24967 /* end confdefs.h. */
24968 #include <math.h>
24970 main ()
24972 _atan2l(0, 0);
24974 return 0;
24976 _ACEOF
24977 if ac_fn_cxx_try_compile "$LINENO"; then :
24978 glibcxx_cv_func__atan2l_use=yes
24979 else
24980 glibcxx_cv_func__atan2l_use=no
24982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24983 ac_ext=c
24984 ac_cpp='$CPP $CPPFLAGS'
24985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24994 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24996 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24997 for ac_func in _atan2l
24998 do :
24999 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25000 if test "x$ac_cv_func__atan2l" = x""yes; then :
25001 cat >>confdefs.h <<_ACEOF
25002 #define HAVE__ATAN2L 1
25003 _ACEOF
25006 done
25015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25016 $as_echo_n "checking for expl declaration... " >&6; }
25017 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25018 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25019 $as_echo_n "(cached) " >&6
25020 else
25023 ac_ext=cpp
25024 ac_cpp='$CXXCPP $CPPFLAGS'
25025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25030 /* end confdefs.h. */
25031 #include <math.h>
25032 #ifdef HAVE_IEEEFP_H
25033 #include <ieeefp.h>
25034 #endif
25037 main ()
25039 expl(0);
25041 return 0;
25043 _ACEOF
25044 if ac_fn_cxx_try_compile "$LINENO"; then :
25045 glibcxx_cv_func_expl_use=yes
25046 else
25047 glibcxx_cv_func_expl_use=no
25049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25050 ac_ext=c
25051 ac_cpp='$CPP $CPPFLAGS'
25052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25061 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25063 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25064 for ac_func in expl
25065 do :
25066 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25067 if test "x$ac_cv_func_expl" = x""yes; then :
25068 cat >>confdefs.h <<_ACEOF
25069 #define HAVE_EXPL 1
25070 _ACEOF
25073 done
25075 else
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25078 $as_echo_n "checking for _expl declaration... " >&6; }
25079 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25080 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25081 $as_echo_n "(cached) " >&6
25082 else
25085 ac_ext=cpp
25086 ac_cpp='$CXXCPP $CPPFLAGS'
25087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h. */
25093 #include <math.h>
25094 #ifdef HAVE_IEEEFP_H
25095 #include <ieeefp.h>
25096 #endif
25099 main ()
25101 _expl(0);
25103 return 0;
25105 _ACEOF
25106 if ac_fn_cxx_try_compile "$LINENO"; then :
25107 glibcxx_cv_func__expl_use=yes
25108 else
25109 glibcxx_cv_func__expl_use=no
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25112 ac_ext=c
25113 ac_cpp='$CPP $CPPFLAGS'
25114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25123 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25125 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25126 for ac_func in _expl
25127 do :
25128 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25129 if test "x$ac_cv_func__expl" = x""yes; then :
25130 cat >>confdefs.h <<_ACEOF
25131 #define HAVE__EXPL 1
25132 _ACEOF
25135 done
25144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25145 $as_echo_n "checking for fabsl declaration... " >&6; }
25146 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25147 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25148 $as_echo_n "(cached) " >&6
25149 else
25152 ac_ext=cpp
25153 ac_cpp='$CXXCPP $CPPFLAGS'
25154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25159 /* end confdefs.h. */
25160 #include <math.h>
25161 #ifdef HAVE_IEEEFP_H
25162 #include <ieeefp.h>
25163 #endif
25166 main ()
25168 fabsl(0);
25170 return 0;
25172 _ACEOF
25173 if ac_fn_cxx_try_compile "$LINENO"; then :
25174 glibcxx_cv_func_fabsl_use=yes
25175 else
25176 glibcxx_cv_func_fabsl_use=no
25178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25179 ac_ext=c
25180 ac_cpp='$CPP $CPPFLAGS'
25181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25190 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25192 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25193 for ac_func in fabsl
25194 do :
25195 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25196 if test "x$ac_cv_func_fabsl" = x""yes; then :
25197 cat >>confdefs.h <<_ACEOF
25198 #define HAVE_FABSL 1
25199 _ACEOF
25202 done
25204 else
25206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25207 $as_echo_n "checking for _fabsl declaration... " >&6; }
25208 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25209 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25210 $as_echo_n "(cached) " >&6
25211 else
25214 ac_ext=cpp
25215 ac_cpp='$CXXCPP $CPPFLAGS'
25216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25221 /* end confdefs.h. */
25222 #include <math.h>
25223 #ifdef HAVE_IEEEFP_H
25224 #include <ieeefp.h>
25225 #endif
25228 main ()
25230 _fabsl(0);
25232 return 0;
25234 _ACEOF
25235 if ac_fn_cxx_try_compile "$LINENO"; then :
25236 glibcxx_cv_func__fabsl_use=yes
25237 else
25238 glibcxx_cv_func__fabsl_use=no
25240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25241 ac_ext=c
25242 ac_cpp='$CPP $CPPFLAGS'
25243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25252 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25254 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25255 for ac_func in _fabsl
25256 do :
25257 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25258 if test "x$ac_cv_func__fabsl" = x""yes; then :
25259 cat >>confdefs.h <<_ACEOF
25260 #define HAVE__FABSL 1
25261 _ACEOF
25264 done
25273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25274 $as_echo_n "checking for fmodl declaration... " >&6; }
25275 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25276 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25277 $as_echo_n "(cached) " >&6
25278 else
25281 ac_ext=cpp
25282 ac_cpp='$CXXCPP $CPPFLAGS'
25283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25288 /* end confdefs.h. */
25289 #include <math.h>
25291 main ()
25293 fmodl(0, 0);
25295 return 0;
25297 _ACEOF
25298 if ac_fn_cxx_try_compile "$LINENO"; then :
25299 glibcxx_cv_func_fmodl_use=yes
25300 else
25301 glibcxx_cv_func_fmodl_use=no
25303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25304 ac_ext=c
25305 ac_cpp='$CPP $CPPFLAGS'
25306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25315 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25317 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25318 for ac_func in fmodl
25319 do :
25320 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25321 if test "x$ac_cv_func_fmodl" = x""yes; then :
25322 cat >>confdefs.h <<_ACEOF
25323 #define HAVE_FMODL 1
25324 _ACEOF
25327 done
25329 else
25331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25332 $as_echo_n "checking for _fmodl declaration... " >&6; }
25333 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25334 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25335 $as_echo_n "(cached) " >&6
25336 else
25339 ac_ext=cpp
25340 ac_cpp='$CXXCPP $CPPFLAGS'
25341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25346 /* end confdefs.h. */
25347 #include <math.h>
25349 main ()
25351 _fmodl(0, 0);
25353 return 0;
25355 _ACEOF
25356 if ac_fn_cxx_try_compile "$LINENO"; then :
25357 glibcxx_cv_func__fmodl_use=yes
25358 else
25359 glibcxx_cv_func__fmodl_use=no
25361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25362 ac_ext=c
25363 ac_cpp='$CPP $CPPFLAGS'
25364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25373 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25375 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25376 for ac_func in _fmodl
25377 do :
25378 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25379 if test "x$ac_cv_func__fmodl" = x""yes; then :
25380 cat >>confdefs.h <<_ACEOF
25381 #define HAVE__FMODL 1
25382 _ACEOF
25385 done
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25395 $as_echo_n "checking for frexpl declaration... " >&6; }
25396 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25397 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25398 $as_echo_n "(cached) " >&6
25399 else
25402 ac_ext=cpp
25403 ac_cpp='$CXXCPP $CPPFLAGS'
25404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25409 /* end confdefs.h. */
25410 #include <math.h>
25412 main ()
25414 frexpl(0, 0);
25416 return 0;
25418 _ACEOF
25419 if ac_fn_cxx_try_compile "$LINENO"; then :
25420 glibcxx_cv_func_frexpl_use=yes
25421 else
25422 glibcxx_cv_func_frexpl_use=no
25424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25425 ac_ext=c
25426 ac_cpp='$CPP $CPPFLAGS'
25427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25436 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25438 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25439 for ac_func in frexpl
25440 do :
25441 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25442 if test "x$ac_cv_func_frexpl" = x""yes; then :
25443 cat >>confdefs.h <<_ACEOF
25444 #define HAVE_FREXPL 1
25445 _ACEOF
25448 done
25450 else
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25453 $as_echo_n "checking for _frexpl declaration... " >&6; }
25454 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25455 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25456 $as_echo_n "(cached) " >&6
25457 else
25460 ac_ext=cpp
25461 ac_cpp='$CXXCPP $CPPFLAGS'
25462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25467 /* end confdefs.h. */
25468 #include <math.h>
25470 main ()
25472 _frexpl(0, 0);
25474 return 0;
25476 _ACEOF
25477 if ac_fn_cxx_try_compile "$LINENO"; then :
25478 glibcxx_cv_func__frexpl_use=yes
25479 else
25480 glibcxx_cv_func__frexpl_use=no
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25483 ac_ext=c
25484 ac_cpp='$CPP $CPPFLAGS'
25485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25494 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25496 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25497 for ac_func in _frexpl
25498 do :
25499 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25500 if test "x$ac_cv_func__frexpl" = x""yes; then :
25501 cat >>confdefs.h <<_ACEOF
25502 #define HAVE__FREXPL 1
25503 _ACEOF
25506 done
25515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25516 $as_echo_n "checking for hypotl declaration... " >&6; }
25517 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25518 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25519 $as_echo_n "(cached) " >&6
25520 else
25523 ac_ext=cpp
25524 ac_cpp='$CXXCPP $CPPFLAGS'
25525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25530 /* end confdefs.h. */
25531 #include <math.h>
25533 main ()
25535 hypotl(0, 0);
25537 return 0;
25539 _ACEOF
25540 if ac_fn_cxx_try_compile "$LINENO"; then :
25541 glibcxx_cv_func_hypotl_use=yes
25542 else
25543 glibcxx_cv_func_hypotl_use=no
25545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25546 ac_ext=c
25547 ac_cpp='$CPP $CPPFLAGS'
25548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25557 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25559 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25560 for ac_func in hypotl
25561 do :
25562 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25563 if test "x$ac_cv_func_hypotl" = x""yes; then :
25564 cat >>confdefs.h <<_ACEOF
25565 #define HAVE_HYPOTL 1
25566 _ACEOF
25569 done
25571 else
25573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25574 $as_echo_n "checking for _hypotl declaration... " >&6; }
25575 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25576 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25577 $as_echo_n "(cached) " >&6
25578 else
25581 ac_ext=cpp
25582 ac_cpp='$CXXCPP $CPPFLAGS'
25583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25588 /* end confdefs.h. */
25589 #include <math.h>
25591 main ()
25593 _hypotl(0, 0);
25595 return 0;
25597 _ACEOF
25598 if ac_fn_cxx_try_compile "$LINENO"; then :
25599 glibcxx_cv_func__hypotl_use=yes
25600 else
25601 glibcxx_cv_func__hypotl_use=no
25603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25604 ac_ext=c
25605 ac_cpp='$CPP $CPPFLAGS'
25606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25615 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25617 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25618 for ac_func in _hypotl
25619 do :
25620 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25621 if test "x$ac_cv_func__hypotl" = x""yes; then :
25622 cat >>confdefs.h <<_ACEOF
25623 #define HAVE__HYPOTL 1
25624 _ACEOF
25627 done
25636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25637 $as_echo_n "checking for ldexpl declaration... " >&6; }
25638 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25639 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25640 $as_echo_n "(cached) " >&6
25641 else
25644 ac_ext=cpp
25645 ac_cpp='$CXXCPP $CPPFLAGS'
25646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25651 /* end confdefs.h. */
25652 #include <math.h>
25654 main ()
25656 ldexpl(0, 0);
25658 return 0;
25660 _ACEOF
25661 if ac_fn_cxx_try_compile "$LINENO"; then :
25662 glibcxx_cv_func_ldexpl_use=yes
25663 else
25664 glibcxx_cv_func_ldexpl_use=no
25666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25667 ac_ext=c
25668 ac_cpp='$CPP $CPPFLAGS'
25669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25678 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25680 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25681 for ac_func in ldexpl
25682 do :
25683 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25684 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25685 cat >>confdefs.h <<_ACEOF
25686 #define HAVE_LDEXPL 1
25687 _ACEOF
25690 done
25692 else
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25695 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25696 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25697 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25698 $as_echo_n "(cached) " >&6
25699 else
25702 ac_ext=cpp
25703 ac_cpp='$CXXCPP $CPPFLAGS'
25704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25709 /* end confdefs.h. */
25710 #include <math.h>
25712 main ()
25714 _ldexpl(0, 0);
25716 return 0;
25718 _ACEOF
25719 if ac_fn_cxx_try_compile "$LINENO"; then :
25720 glibcxx_cv_func__ldexpl_use=yes
25721 else
25722 glibcxx_cv_func__ldexpl_use=no
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25725 ac_ext=c
25726 ac_cpp='$CPP $CPPFLAGS'
25727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25736 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25738 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25739 for ac_func in _ldexpl
25740 do :
25741 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25742 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25743 cat >>confdefs.h <<_ACEOF
25744 #define HAVE__LDEXPL 1
25745 _ACEOF
25748 done
25757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25758 $as_echo_n "checking for logl declaration... " >&6; }
25759 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25760 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25761 $as_echo_n "(cached) " >&6
25762 else
25765 ac_ext=cpp
25766 ac_cpp='$CXXCPP $CPPFLAGS'
25767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25772 /* end confdefs.h. */
25773 #include <math.h>
25774 #ifdef HAVE_IEEEFP_H
25775 #include <ieeefp.h>
25776 #endif
25779 main ()
25781 logl(0);
25783 return 0;
25785 _ACEOF
25786 if ac_fn_cxx_try_compile "$LINENO"; then :
25787 glibcxx_cv_func_logl_use=yes
25788 else
25789 glibcxx_cv_func_logl_use=no
25791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25792 ac_ext=c
25793 ac_cpp='$CPP $CPPFLAGS'
25794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25803 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25805 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25806 for ac_func in logl
25807 do :
25808 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25809 if test "x$ac_cv_func_logl" = x""yes; then :
25810 cat >>confdefs.h <<_ACEOF
25811 #define HAVE_LOGL 1
25812 _ACEOF
25815 done
25817 else
25819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25820 $as_echo_n "checking for _logl declaration... " >&6; }
25821 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25822 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25823 $as_echo_n "(cached) " >&6
25824 else
25827 ac_ext=cpp
25828 ac_cpp='$CXXCPP $CPPFLAGS'
25829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25834 /* end confdefs.h. */
25835 #include <math.h>
25836 #ifdef HAVE_IEEEFP_H
25837 #include <ieeefp.h>
25838 #endif
25841 main ()
25843 _logl(0);
25845 return 0;
25847 _ACEOF
25848 if ac_fn_cxx_try_compile "$LINENO"; then :
25849 glibcxx_cv_func__logl_use=yes
25850 else
25851 glibcxx_cv_func__logl_use=no
25853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25854 ac_ext=c
25855 ac_cpp='$CPP $CPPFLAGS'
25856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25865 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25867 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25868 for ac_func in _logl
25869 do :
25870 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25871 if test "x$ac_cv_func__logl" = x""yes; then :
25872 cat >>confdefs.h <<_ACEOF
25873 #define HAVE__LOGL 1
25874 _ACEOF
25877 done
25886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25887 $as_echo_n "checking for log10l declaration... " >&6; }
25888 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25889 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25890 $as_echo_n "(cached) " >&6
25891 else
25894 ac_ext=cpp
25895 ac_cpp='$CXXCPP $CPPFLAGS'
25896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25901 /* end confdefs.h. */
25902 #include <math.h>
25903 #ifdef HAVE_IEEEFP_H
25904 #include <ieeefp.h>
25905 #endif
25908 main ()
25910 log10l(0);
25912 return 0;
25914 _ACEOF
25915 if ac_fn_cxx_try_compile "$LINENO"; then :
25916 glibcxx_cv_func_log10l_use=yes
25917 else
25918 glibcxx_cv_func_log10l_use=no
25920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25921 ac_ext=c
25922 ac_cpp='$CPP $CPPFLAGS'
25923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25932 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25934 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25935 for ac_func in log10l
25936 do :
25937 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25938 if test "x$ac_cv_func_log10l" = x""yes; then :
25939 cat >>confdefs.h <<_ACEOF
25940 #define HAVE_LOG10L 1
25941 _ACEOF
25944 done
25946 else
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25949 $as_echo_n "checking for _log10l declaration... " >&6; }
25950 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25951 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25952 $as_echo_n "(cached) " >&6
25953 else
25956 ac_ext=cpp
25957 ac_cpp='$CXXCPP $CPPFLAGS'
25958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25963 /* end confdefs.h. */
25964 #include <math.h>
25965 #ifdef HAVE_IEEEFP_H
25966 #include <ieeefp.h>
25967 #endif
25970 main ()
25972 _log10l(0);
25974 return 0;
25976 _ACEOF
25977 if ac_fn_cxx_try_compile "$LINENO"; then :
25978 glibcxx_cv_func__log10l_use=yes
25979 else
25980 glibcxx_cv_func__log10l_use=no
25982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25983 ac_ext=c
25984 ac_cpp='$CPP $CPPFLAGS'
25985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25994 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25996 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25997 for ac_func in _log10l
25998 do :
25999 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26000 if test "x$ac_cv_func__log10l" = x""yes; then :
26001 cat >>confdefs.h <<_ACEOF
26002 #define HAVE__LOG10L 1
26003 _ACEOF
26006 done
26015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26016 $as_echo_n "checking for modfl declaration... " >&6; }
26017 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26018 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26019 $as_echo_n "(cached) " >&6
26020 else
26023 ac_ext=cpp
26024 ac_cpp='$CXXCPP $CPPFLAGS'
26025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26030 /* end confdefs.h. */
26031 #include <math.h>
26033 main ()
26035 modfl(0, 0);
26037 return 0;
26039 _ACEOF
26040 if ac_fn_cxx_try_compile "$LINENO"; then :
26041 glibcxx_cv_func_modfl_use=yes
26042 else
26043 glibcxx_cv_func_modfl_use=no
26045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26046 ac_ext=c
26047 ac_cpp='$CPP $CPPFLAGS'
26048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26057 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26059 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26060 for ac_func in modfl
26061 do :
26062 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26063 if test "x$ac_cv_func_modfl" = x""yes; then :
26064 cat >>confdefs.h <<_ACEOF
26065 #define HAVE_MODFL 1
26066 _ACEOF
26069 done
26071 else
26073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26074 $as_echo_n "checking for _modfl declaration... " >&6; }
26075 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26076 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26077 $as_echo_n "(cached) " >&6
26078 else
26081 ac_ext=cpp
26082 ac_cpp='$CXXCPP $CPPFLAGS'
26083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26088 /* end confdefs.h. */
26089 #include <math.h>
26091 main ()
26093 _modfl(0, 0);
26095 return 0;
26097 _ACEOF
26098 if ac_fn_cxx_try_compile "$LINENO"; then :
26099 glibcxx_cv_func__modfl_use=yes
26100 else
26101 glibcxx_cv_func__modfl_use=no
26103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26104 ac_ext=c
26105 ac_cpp='$CPP $CPPFLAGS'
26106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26115 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26117 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26118 for ac_func in _modfl
26119 do :
26120 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26121 if test "x$ac_cv_func__modfl" = x""yes; then :
26122 cat >>confdefs.h <<_ACEOF
26123 #define HAVE__MODFL 1
26124 _ACEOF
26127 done
26136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26137 $as_echo_n "checking for powl declaration... " >&6; }
26138 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26139 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26140 $as_echo_n "(cached) " >&6
26141 else
26144 ac_ext=cpp
26145 ac_cpp='$CXXCPP $CPPFLAGS'
26146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26151 /* end confdefs.h. */
26152 #include <math.h>
26154 main ()
26156 powl(0, 0);
26158 return 0;
26160 _ACEOF
26161 if ac_fn_cxx_try_compile "$LINENO"; then :
26162 glibcxx_cv_func_powl_use=yes
26163 else
26164 glibcxx_cv_func_powl_use=no
26166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26167 ac_ext=c
26168 ac_cpp='$CPP $CPPFLAGS'
26169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26178 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26180 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26181 for ac_func in powl
26182 do :
26183 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26184 if test "x$ac_cv_func_powl" = x""yes; then :
26185 cat >>confdefs.h <<_ACEOF
26186 #define HAVE_POWL 1
26187 _ACEOF
26190 done
26192 else
26194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26195 $as_echo_n "checking for _powl declaration... " >&6; }
26196 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26197 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26198 $as_echo_n "(cached) " >&6
26199 else
26202 ac_ext=cpp
26203 ac_cpp='$CXXCPP $CPPFLAGS'
26204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26209 /* end confdefs.h. */
26210 #include <math.h>
26212 main ()
26214 _powl(0, 0);
26216 return 0;
26218 _ACEOF
26219 if ac_fn_cxx_try_compile "$LINENO"; then :
26220 glibcxx_cv_func__powl_use=yes
26221 else
26222 glibcxx_cv_func__powl_use=no
26224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26225 ac_ext=c
26226 ac_cpp='$CPP $CPPFLAGS'
26227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26236 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26238 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26239 for ac_func in _powl
26240 do :
26241 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26242 if test "x$ac_cv_func__powl" = x""yes; then :
26243 cat >>confdefs.h <<_ACEOF
26244 #define HAVE__POWL 1
26245 _ACEOF
26248 done
26257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26258 $as_echo_n "checking for sqrtl declaration... " >&6; }
26259 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26260 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26261 $as_echo_n "(cached) " >&6
26262 else
26265 ac_ext=cpp
26266 ac_cpp='$CXXCPP $CPPFLAGS'
26267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26272 /* end confdefs.h. */
26273 #include <math.h>
26274 #ifdef HAVE_IEEEFP_H
26275 #include <ieeefp.h>
26276 #endif
26279 main ()
26281 sqrtl(0);
26283 return 0;
26285 _ACEOF
26286 if ac_fn_cxx_try_compile "$LINENO"; then :
26287 glibcxx_cv_func_sqrtl_use=yes
26288 else
26289 glibcxx_cv_func_sqrtl_use=no
26291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26292 ac_ext=c
26293 ac_cpp='$CPP $CPPFLAGS'
26294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26303 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26305 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26306 for ac_func in sqrtl
26307 do :
26308 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26309 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26310 cat >>confdefs.h <<_ACEOF
26311 #define HAVE_SQRTL 1
26312 _ACEOF
26315 done
26317 else
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26320 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26321 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26322 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26323 $as_echo_n "(cached) " >&6
26324 else
26327 ac_ext=cpp
26328 ac_cpp='$CXXCPP $CPPFLAGS'
26329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26334 /* end confdefs.h. */
26335 #include <math.h>
26336 #ifdef HAVE_IEEEFP_H
26337 #include <ieeefp.h>
26338 #endif
26341 main ()
26343 _sqrtl(0);
26345 return 0;
26347 _ACEOF
26348 if ac_fn_cxx_try_compile "$LINENO"; then :
26349 glibcxx_cv_func__sqrtl_use=yes
26350 else
26351 glibcxx_cv_func__sqrtl_use=no
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354 ac_ext=c
26355 ac_cpp='$CPP $CPPFLAGS'
26356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26365 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26367 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26368 for ac_func in _sqrtl
26369 do :
26370 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26371 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26372 cat >>confdefs.h <<_ACEOF
26373 #define HAVE__SQRTL 1
26374 _ACEOF
26377 done
26386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26387 $as_echo_n "checking for sincosl declaration... " >&6; }
26388 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26389 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26390 $as_echo_n "(cached) " >&6
26391 else
26394 ac_ext=cpp
26395 ac_cpp='$CXXCPP $CPPFLAGS'
26396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h. */
26402 #include <math.h>
26404 main ()
26406 sincosl(0, 0, 0);
26408 return 0;
26410 _ACEOF
26411 if ac_fn_cxx_try_compile "$LINENO"; then :
26412 glibcxx_cv_func_sincosl_use=yes
26413 else
26414 glibcxx_cv_func_sincosl_use=no
26416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26417 ac_ext=c
26418 ac_cpp='$CPP $CPPFLAGS'
26419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26428 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26430 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26431 for ac_func in sincosl
26432 do :
26433 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26434 if test "x$ac_cv_func_sincosl" = x""yes; then :
26435 cat >>confdefs.h <<_ACEOF
26436 #define HAVE_SINCOSL 1
26437 _ACEOF
26440 done
26442 else
26444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26445 $as_echo_n "checking for _sincosl declaration... " >&6; }
26446 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26447 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26448 $as_echo_n "(cached) " >&6
26449 else
26452 ac_ext=cpp
26453 ac_cpp='$CXXCPP $CPPFLAGS'
26454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26459 /* end confdefs.h. */
26460 #include <math.h>
26462 main ()
26464 _sincosl(0, 0, 0);
26466 return 0;
26468 _ACEOF
26469 if ac_fn_cxx_try_compile "$LINENO"; then :
26470 glibcxx_cv_func__sincosl_use=yes
26471 else
26472 glibcxx_cv_func__sincosl_use=no
26474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26475 ac_ext=c
26476 ac_cpp='$CPP $CPPFLAGS'
26477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26486 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26488 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26489 for ac_func in _sincosl
26490 do :
26491 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26492 if test "x$ac_cv_func__sincosl" = x""yes; then :
26493 cat >>confdefs.h <<_ACEOF
26494 #define HAVE__SINCOSL 1
26495 _ACEOF
26498 done
26507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26508 $as_echo_n "checking for finitel declaration... " >&6; }
26509 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26510 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26511 $as_echo_n "(cached) " >&6
26512 else
26515 ac_ext=cpp
26516 ac_cpp='$CXXCPP $CPPFLAGS'
26517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26522 /* end confdefs.h. */
26523 #include <math.h>
26524 #ifdef HAVE_IEEEFP_H
26525 #include <ieeefp.h>
26526 #endif
26529 main ()
26531 finitel(0);
26533 return 0;
26535 _ACEOF
26536 if ac_fn_cxx_try_compile "$LINENO"; then :
26537 glibcxx_cv_func_finitel_use=yes
26538 else
26539 glibcxx_cv_func_finitel_use=no
26541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26542 ac_ext=c
26543 ac_cpp='$CPP $CPPFLAGS'
26544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26553 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26555 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26556 for ac_func in finitel
26557 do :
26558 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26559 if test "x$ac_cv_func_finitel" = x""yes; then :
26560 cat >>confdefs.h <<_ACEOF
26561 #define HAVE_FINITEL 1
26562 _ACEOF
26565 done
26567 else
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26570 $as_echo_n "checking for _finitel declaration... " >&6; }
26571 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26572 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26573 $as_echo_n "(cached) " >&6
26574 else
26577 ac_ext=cpp
26578 ac_cpp='$CXXCPP $CPPFLAGS'
26579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26584 /* end confdefs.h. */
26585 #include <math.h>
26586 #ifdef HAVE_IEEEFP_H
26587 #include <ieeefp.h>
26588 #endif
26591 main ()
26593 _finitel(0);
26595 return 0;
26597 _ACEOF
26598 if ac_fn_cxx_try_compile "$LINENO"; then :
26599 glibcxx_cv_func__finitel_use=yes
26600 else
26601 glibcxx_cv_func__finitel_use=no
26603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26604 ac_ext=c
26605 ac_cpp='$CPP $CPPFLAGS'
26606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26615 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26617 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26618 for ac_func in _finitel
26619 do :
26620 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26621 if test "x$ac_cv_func__finitel" = x""yes; then :
26622 cat >>confdefs.h <<_ACEOF
26623 #define HAVE__FINITEL 1
26624 _ACEOF
26627 done
26635 LIBS="$ac_save_LIBS"
26636 CXXFLAGS="$ac_save_CXXFLAGS"
26639 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26640 ac_save_CXXFLAGS="$CXXFLAGS"
26641 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26645 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26646 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26647 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26648 $as_echo_n "(cached) " >&6
26649 else
26652 ac_ext=cpp
26653 ac_cpp='$CXXCPP $CPPFLAGS'
26654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26659 /* end confdefs.h. */
26660 #include <stdlib.h>
26662 main ()
26664 at_quick_exit(0);
26666 return 0;
26668 _ACEOF
26669 if ac_fn_cxx_try_compile "$LINENO"; then :
26670 glibcxx_cv_func_at_quick_exit_use=yes
26671 else
26672 glibcxx_cv_func_at_quick_exit_use=no
26674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26675 ac_ext=c
26676 ac_cpp='$CPP $CPPFLAGS'
26677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26686 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26687 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26688 for ac_func in at_quick_exit
26689 do :
26690 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26691 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26692 cat >>confdefs.h <<_ACEOF
26693 #define HAVE_AT_QUICK_EXIT 1
26694 _ACEOF
26697 done
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26703 $as_echo_n "checking for quick_exit declaration... " >&6; }
26704 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26705 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26706 $as_echo_n "(cached) " >&6
26707 else
26710 ac_ext=cpp
26711 ac_cpp='$CXXCPP $CPPFLAGS'
26712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26717 /* end confdefs.h. */
26718 #include <stdlib.h>
26720 main ()
26722 quick_exit(0);
26724 return 0;
26726 _ACEOF
26727 if ac_fn_cxx_try_compile "$LINENO"; then :
26728 glibcxx_cv_func_quick_exit_use=yes
26729 else
26730 glibcxx_cv_func_quick_exit_use=no
26732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26733 ac_ext=c
26734 ac_cpp='$CPP $CPPFLAGS'
26735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26744 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26745 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26746 for ac_func in quick_exit
26747 do :
26748 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26749 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26750 cat >>confdefs.h <<_ACEOF
26751 #define HAVE_QUICK_EXIT 1
26752 _ACEOF
26755 done
26760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26761 $as_echo_n "checking for strtold declaration... " >&6; }
26762 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26763 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26764 $as_echo_n "(cached) " >&6
26765 else
26768 ac_ext=cpp
26769 ac_cpp='$CXXCPP $CPPFLAGS'
26770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26775 /* end confdefs.h. */
26776 #include <stdlib.h>
26778 main ()
26780 strtold(0, 0);
26782 return 0;
26784 _ACEOF
26785 if ac_fn_cxx_try_compile "$LINENO"; then :
26786 glibcxx_cv_func_strtold_use=yes
26787 else
26788 glibcxx_cv_func_strtold_use=no
26790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26791 ac_ext=c
26792 ac_cpp='$CPP $CPPFLAGS'
26793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26802 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26803 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26804 for ac_func in strtold
26805 do :
26806 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26807 if test "x$ac_cv_func_strtold" = x""yes; then :
26808 cat >>confdefs.h <<_ACEOF
26809 #define HAVE_STRTOLD 1
26810 _ACEOF
26813 done
26820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26821 $as_echo_n "checking for strtof declaration... " >&6; }
26822 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26823 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26824 $as_echo_n "(cached) " >&6
26825 else
26828 ac_ext=cpp
26829 ac_cpp='$CXXCPP $CPPFLAGS'
26830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26835 /* end confdefs.h. */
26836 #include <stdlib.h>
26838 main ()
26840 strtof(0, 0);
26842 return 0;
26844 _ACEOF
26845 if ac_fn_cxx_try_compile "$LINENO"; then :
26846 glibcxx_cv_func_strtof_use=yes
26847 else
26848 glibcxx_cv_func_strtof_use=no
26850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26851 ac_ext=c
26852 ac_cpp='$CPP $CPPFLAGS'
26853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26862 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26863 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26864 for ac_func in strtof
26865 do :
26866 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26867 if test "x$ac_cv_func_strtof" = x""yes; then :
26868 cat >>confdefs.h <<_ACEOF
26869 #define HAVE_STRTOF 1
26870 _ACEOF
26873 done
26880 CXXFLAGS="$ac_save_CXXFLAGS"
26883 # For /dev/random and /dev/urandom for TR1.
26886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26887 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26888 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26889 $as_echo_n "(cached) " >&6
26890 else
26892 if test -r /dev/random && test -r /dev/urandom; then
26893 ## For MSys environment the test above is detect as false-positive
26894 ## on mingw-targets. So disable it explicit for them.
26895 case ${target_os} in
26896 *mingw*) glibcxx_cv_random_tr1=no ;;
26897 *) glibcxx_cv_random_tr1=yes ;;
26898 esac
26899 else
26900 glibcxx_cv_random_tr1=no;
26905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26906 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26908 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26910 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26916 # For TLS support.
26919 # Check whether --enable-tls was given.
26920 if test "${enable_tls+set}" = set; then :
26921 enableval=$enable_tls;
26922 case "$enableval" in
26923 yes|no) ;;
26924 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26925 esac
26927 else
26928 enable_tls=yes
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26933 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26934 if test "${gcc_cv_have_tls+set}" = set; then :
26935 $as_echo_n "(cached) " >&6
26936 else
26938 if test "$cross_compiling" = yes; then :
26939 if test x$gcc_no_link = xyes; then
26940 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26943 /* end confdefs.h. */
26944 __thread int a; int b; int main() { return a = b; }
26945 _ACEOF
26946 if ac_fn_c_try_link "$LINENO"; then :
26947 chktls_save_LDFLAGS="$LDFLAGS"
26948 case $host in
26949 *-*-linux*)
26950 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26952 esac
26953 chktls_save_CFLAGS="$CFLAGS"
26954 CFLAGS="-fPIC $CFLAGS"
26955 if test x$gcc_no_link = xyes; then
26956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26959 /* end confdefs.h. */
26960 int f() { return 0; }
26961 _ACEOF
26962 if ac_fn_c_try_link "$LINENO"; then :
26963 if test x$gcc_no_link = xyes; then
26964 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26967 /* end confdefs.h. */
26968 __thread int a; int b; int f() { return a = b; }
26969 _ACEOF
26970 if ac_fn_c_try_link "$LINENO"; then :
26971 gcc_cv_have_tls=yes
26972 else
26973 gcc_cv_have_tls=no
26975 rm -f core conftest.err conftest.$ac_objext \
26976 conftest$ac_exeext conftest.$ac_ext
26977 else
26978 gcc_cv_have_tls=yes
26980 rm -f core conftest.err conftest.$ac_objext \
26981 conftest$ac_exeext conftest.$ac_ext
26982 CFLAGS="$chktls_save_CFLAGS"
26983 LDFLAGS="$chktls_save_LDFLAGS"
26984 else
26985 gcc_cv_have_tls=no
26987 rm -f core conftest.err conftest.$ac_objext \
26988 conftest$ac_exeext conftest.$ac_ext
26991 else
26992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26993 /* end confdefs.h. */
26994 __thread int a; int b; int main() { return a = b; }
26995 _ACEOF
26996 if ac_fn_c_try_run "$LINENO"; then :
26997 chktls_save_LDFLAGS="$LDFLAGS"
26998 LDFLAGS="-static $LDFLAGS"
26999 if test x$gcc_no_link = xyes; then
27000 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27003 /* end confdefs.h. */
27004 int main() { return 0; }
27005 _ACEOF
27006 if ac_fn_c_try_link "$LINENO"; then :
27007 if test "$cross_compiling" = yes; then :
27008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27010 as_fn_error "cannot run test program while cross compiling
27011 See \`config.log' for more details." "$LINENO" 5; }
27012 else
27013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27014 /* end confdefs.h. */
27015 __thread int a; int b; int main() { return a = b; }
27016 _ACEOF
27017 if ac_fn_c_try_run "$LINENO"; then :
27018 gcc_cv_have_tls=yes
27019 else
27020 gcc_cv_have_tls=no
27022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27023 conftest.$ac_objext conftest.beam conftest.$ac_ext
27026 else
27027 gcc_cv_have_tls=yes
27029 rm -f core conftest.err conftest.$ac_objext \
27030 conftest$ac_exeext conftest.$ac_ext
27031 LDFLAGS="$chktls_save_LDFLAGS"
27032 if test $gcc_cv_have_tls = yes; then
27033 chktls_save_CFLAGS="$CFLAGS"
27034 thread_CFLAGS=failed
27035 for flag in '' '-pthread' '-lpthread'; do
27036 CFLAGS="$flag $chktls_save_CFLAGS"
27037 if test x$gcc_no_link = xyes; then
27038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27041 /* end confdefs.h. */
27042 #include <pthread.h>
27043 void *g(void *d) { return NULL; }
27045 main ()
27047 pthread_t t; pthread_create(&t,NULL,g,NULL);
27049 return 0;
27051 _ACEOF
27052 if ac_fn_c_try_link "$LINENO"; then :
27053 thread_CFLAGS="$flag"
27055 rm -f core conftest.err conftest.$ac_objext \
27056 conftest$ac_exeext conftest.$ac_ext
27057 if test "X$thread_CFLAGS" != Xfailed; then
27058 break
27060 done
27061 CFLAGS="$chktls_save_CFLAGS"
27062 if test "X$thread_CFLAGS" != Xfailed; then
27063 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27064 if test "$cross_compiling" = yes; then :
27065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27067 as_fn_error "cannot run test program while cross compiling
27068 See \`config.log' for more details." "$LINENO" 5; }
27069 else
27070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27071 /* end confdefs.h. */
27072 #include <pthread.h>
27073 __thread int a;
27074 static int *volatile a_in_other_thread;
27075 static void *
27076 thread_func (void *arg)
27078 a_in_other_thread = &a;
27079 return (void *)0;
27082 main ()
27084 pthread_t thread;
27085 void *thread_retval;
27086 int *volatile a_in_main_thread;
27087 a_in_main_thread = &a;
27088 if (pthread_create (&thread, (pthread_attr_t *)0,
27089 thread_func, (void *)0))
27090 return 0;
27091 if (pthread_join (thread, &thread_retval))
27092 return 0;
27093 return (a_in_other_thread == a_in_main_thread);
27095 return 0;
27097 _ACEOF
27098 if ac_fn_c_try_run "$LINENO"; then :
27099 gcc_cv_have_tls=yes
27100 else
27101 gcc_cv_have_tls=no
27103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27104 conftest.$ac_objext conftest.beam conftest.$ac_ext
27107 CFLAGS="$chktls_save_CFLAGS"
27110 else
27111 gcc_cv_have_tls=no
27113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27114 conftest.$ac_objext conftest.beam conftest.$ac_ext
27118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27119 $as_echo "$gcc_cv_have_tls" >&6; }
27120 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27122 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27126 for ac_func in __cxa_thread_atexit_impl
27127 do :
27128 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27129 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27130 cat >>confdefs.h <<_ACEOF
27131 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27132 _ACEOF
27135 done
27138 # For iconv support.
27140 if test "X$prefix" = "XNONE"; then
27141 acl_final_prefix="$ac_default_prefix"
27142 else
27143 acl_final_prefix="$prefix"
27145 if test "X$exec_prefix" = "XNONE"; then
27146 acl_final_exec_prefix='${prefix}'
27147 else
27148 acl_final_exec_prefix="$exec_prefix"
27150 acl_save_prefix="$prefix"
27151 prefix="$acl_final_prefix"
27152 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27153 prefix="$acl_save_prefix"
27156 # Check whether --with-gnu-ld was given.
27157 if test "${with_gnu_ld+set}" = set; then :
27158 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27159 else
27160 with_gnu_ld=no
27163 # Prepare PATH_SEPARATOR.
27164 # The user is always right.
27165 if test "${PATH_SEPARATOR+set}" != set; then
27166 echo "#! /bin/sh" >conf$$.sh
27167 echo "exit 0" >>conf$$.sh
27168 chmod +x conf$$.sh
27169 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27170 PATH_SEPARATOR=';'
27171 else
27172 PATH_SEPARATOR=:
27174 rm -f conf$$.sh
27176 ac_prog=ld
27177 if test "$GCC" = yes; then
27178 # Check if gcc -print-prog-name=ld gives a path.
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27180 $as_echo_n "checking for ld used by GCC... " >&6; }
27181 case $host in
27182 *-*-mingw*)
27183 # gcc leaves a trailing carriage return which upsets mingw
27184 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27186 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27187 esac
27188 case $ac_prog in
27189 # Accept absolute paths.
27190 [\\/]* | [A-Za-z]:[\\/]*)
27191 re_direlt='/[^/][^/]*/\.\./'
27192 # Canonicalize the path of ld
27193 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27194 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27195 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27196 done
27197 test -z "$LD" && LD="$ac_prog"
27200 # If it fails, then pretend we aren't using GCC.
27201 ac_prog=ld
27204 # If it is relative, then search for the first ld in PATH.
27205 with_gnu_ld=unknown
27207 esac
27208 elif test "$with_gnu_ld" = yes; then
27209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27210 $as_echo_n "checking for GNU ld... " >&6; }
27211 else
27212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27213 $as_echo_n "checking for non-GNU ld... " >&6; }
27215 if test "${acl_cv_path_LD+set}" = set; then :
27216 $as_echo_n "(cached) " >&6
27217 else
27218 if test -z "$LD"; then
27219 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27220 for ac_dir in $PATH; do
27221 test -z "$ac_dir" && ac_dir=.
27222 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27223 acl_cv_path_LD="$ac_dir/$ac_prog"
27224 # Check to see if the program is GNU ld. I'd rather use --version,
27225 # but apparently some GNU ld's only accept -v.
27226 # Break only if it was the GNU/non-GNU ld that we prefer.
27227 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27228 test "$with_gnu_ld" != no && break
27229 else
27230 test "$with_gnu_ld" != yes && break
27233 done
27234 IFS="$ac_save_ifs"
27235 else
27236 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27240 LD="$acl_cv_path_LD"
27241 if test -n "$LD"; then
27242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27243 $as_echo "$LD" >&6; }
27244 else
27245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27246 $as_echo "no" >&6; }
27248 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27250 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27251 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27252 $as_echo_n "(cached) " >&6
27253 else
27254 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27255 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27256 acl_cv_prog_gnu_ld=yes
27257 else
27258 acl_cv_prog_gnu_ld=no
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27262 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27263 with_gnu_ld=$acl_cv_prog_gnu_ld
27267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27268 $as_echo_n "checking for shared library run path origin... " >&6; }
27269 if test "${acl_cv_rpath+set}" = set; then :
27270 $as_echo_n "(cached) " >&6
27271 else
27273 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27274 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27275 . ./conftest.sh
27276 rm -f ./conftest.sh
27277 acl_cv_rpath=done
27280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27281 $as_echo "$acl_cv_rpath" >&6; }
27282 wl="$acl_cv_wl"
27283 libext="$acl_cv_libext"
27284 shlibext="$acl_cv_shlibext"
27285 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27286 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27287 hardcode_direct="$acl_cv_hardcode_direct"
27288 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27289 # Check whether --enable-rpath was given.
27290 if test "${enable_rpath+set}" = set; then :
27291 enableval=$enable_rpath; :
27292 else
27293 enable_rpath=yes
27303 use_additional=yes
27305 acl_save_prefix="$prefix"
27306 prefix="$acl_final_prefix"
27307 acl_save_exec_prefix="$exec_prefix"
27308 exec_prefix="$acl_final_exec_prefix"
27310 eval additional_includedir=\"$includedir\"
27311 eval additional_libdir=\"$libdir\"
27313 exec_prefix="$acl_save_exec_prefix"
27314 prefix="$acl_save_prefix"
27317 # Check whether --with-libiconv-prefix was given.
27318 if test "${with_libiconv_prefix+set}" = set; then :
27319 withval=$with_libiconv_prefix;
27320 if test "X$withval" = "Xno"; then
27321 use_additional=no
27322 else
27323 if test "X$withval" = "X"; then
27325 acl_save_prefix="$prefix"
27326 prefix="$acl_final_prefix"
27327 acl_save_exec_prefix="$exec_prefix"
27328 exec_prefix="$acl_final_exec_prefix"
27330 eval additional_includedir=\"$includedir\"
27331 eval additional_libdir=\"$libdir\"
27333 exec_prefix="$acl_save_exec_prefix"
27334 prefix="$acl_save_prefix"
27336 else
27337 additional_includedir="$withval/include"
27338 additional_libdir="$withval/lib"
27344 LIBICONV=
27345 LTLIBICONV=
27346 INCICONV=
27347 rpathdirs=
27348 ltrpathdirs=
27349 names_already_handled=
27350 names_next_round='iconv '
27351 while test -n "$names_next_round"; do
27352 names_this_round="$names_next_round"
27353 names_next_round=
27354 for name in $names_this_round; do
27355 already_handled=
27356 for n in $names_already_handled; do
27357 if test "$n" = "$name"; then
27358 already_handled=yes
27359 break
27361 done
27362 if test -z "$already_handled"; then
27363 names_already_handled="$names_already_handled $name"
27364 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27365 eval value=\"\$HAVE_LIB$uppername\"
27366 if test -n "$value"; then
27367 if test "$value" = yes; then
27368 eval value=\"\$LIB$uppername\"
27369 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27370 eval value=\"\$LTLIB$uppername\"
27371 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27372 else
27375 else
27376 found_dir=
27377 found_la=
27378 found_so=
27379 found_a=
27380 if test $use_additional = yes; then
27381 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27382 found_dir="$additional_libdir"
27383 found_so="$additional_libdir/lib$name.$shlibext"
27384 if test -f "$additional_libdir/lib$name.la"; then
27385 found_la="$additional_libdir/lib$name.la"
27387 else
27388 if test -f "$additional_libdir/lib$name.$libext"; then
27389 found_dir="$additional_libdir"
27390 found_a="$additional_libdir/lib$name.$libext"
27391 if test -f "$additional_libdir/lib$name.la"; then
27392 found_la="$additional_libdir/lib$name.la"
27397 if test "X$found_dir" = "X"; then
27398 for x in $LDFLAGS $LTLIBICONV; do
27400 acl_save_prefix="$prefix"
27401 prefix="$acl_final_prefix"
27402 acl_save_exec_prefix="$exec_prefix"
27403 exec_prefix="$acl_final_exec_prefix"
27404 eval x=\"$x\"
27405 exec_prefix="$acl_save_exec_prefix"
27406 prefix="$acl_save_prefix"
27408 case "$x" in
27409 -L*)
27410 dir=`echo "X$x" | sed -e 's/^X-L//'`
27411 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27412 found_dir="$dir"
27413 found_so="$dir/lib$name.$shlibext"
27414 if test -f "$dir/lib$name.la"; then
27415 found_la="$dir/lib$name.la"
27417 else
27418 if test -f "$dir/lib$name.$libext"; then
27419 found_dir="$dir"
27420 found_a="$dir/lib$name.$libext"
27421 if test -f "$dir/lib$name.la"; then
27422 found_la="$dir/lib$name.la"
27427 esac
27428 if test "X$found_dir" != "X"; then
27429 break
27431 done
27433 if test "X$found_dir" != "X"; then
27434 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27435 if test "X$found_so" != "X"; then
27436 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27437 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27438 else
27439 haveit=
27440 for x in $ltrpathdirs; do
27441 if test "X$x" = "X$found_dir"; then
27442 haveit=yes
27443 break
27445 done
27446 if test -z "$haveit"; then
27447 ltrpathdirs="$ltrpathdirs $found_dir"
27449 if test "$hardcode_direct" = yes; then
27450 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27451 else
27452 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27453 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27454 haveit=
27455 for x in $rpathdirs; do
27456 if test "X$x" = "X$found_dir"; then
27457 haveit=yes
27458 break
27460 done
27461 if test -z "$haveit"; then
27462 rpathdirs="$rpathdirs $found_dir"
27464 else
27465 haveit=
27466 for x in $LDFLAGS $LIBICONV; do
27468 acl_save_prefix="$prefix"
27469 prefix="$acl_final_prefix"
27470 acl_save_exec_prefix="$exec_prefix"
27471 exec_prefix="$acl_final_exec_prefix"
27472 eval x=\"$x\"
27473 exec_prefix="$acl_save_exec_prefix"
27474 prefix="$acl_save_prefix"
27476 if test "X$x" = "X-L$found_dir"; then
27477 haveit=yes
27478 break
27480 done
27481 if test -z "$haveit"; then
27482 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27484 if test "$hardcode_minus_L" != no; then
27485 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27486 else
27487 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27492 else
27493 if test "X$found_a" != "X"; then
27494 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27495 else
27496 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27499 additional_includedir=
27500 case "$found_dir" in
27501 */lib | */lib/)
27502 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27503 additional_includedir="$basedir/include"
27505 esac
27506 if test "X$additional_includedir" != "X"; then
27507 if test "X$additional_includedir" != "X/usr/include"; then
27508 haveit=
27509 if test "X$additional_includedir" = "X/usr/local/include"; then
27510 if test -n "$GCC"; then
27511 case $host_os in
27512 linux*) haveit=yes;;
27513 esac
27516 if test -z "$haveit"; then
27517 for x in $CPPFLAGS $INCICONV; do
27519 acl_save_prefix="$prefix"
27520 prefix="$acl_final_prefix"
27521 acl_save_exec_prefix="$exec_prefix"
27522 exec_prefix="$acl_final_exec_prefix"
27523 eval x=\"$x\"
27524 exec_prefix="$acl_save_exec_prefix"
27525 prefix="$acl_save_prefix"
27527 if test "X$x" = "X-I$additional_includedir"; then
27528 haveit=yes
27529 break
27531 done
27532 if test -z "$haveit"; then
27533 if test -d "$additional_includedir"; then
27534 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27540 if test -n "$found_la"; then
27541 save_libdir="$libdir"
27542 case "$found_la" in
27543 */* | *\\*) . "$found_la" ;;
27544 *) . "./$found_la" ;;
27545 esac
27546 libdir="$save_libdir"
27547 for dep in $dependency_libs; do
27548 case "$dep" in
27549 -L*)
27550 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27551 if test "X$additional_libdir" != "X/usr/lib"; then
27552 haveit=
27553 if test "X$additional_libdir" = "X/usr/local/lib"; then
27554 if test -n "$GCC"; then
27555 case $host_os in
27556 linux*) haveit=yes;;
27557 esac
27560 if test -z "$haveit"; then
27561 haveit=
27562 for x in $LDFLAGS $LIBICONV; do
27564 acl_save_prefix="$prefix"
27565 prefix="$acl_final_prefix"
27566 acl_save_exec_prefix="$exec_prefix"
27567 exec_prefix="$acl_final_exec_prefix"
27568 eval x=\"$x\"
27569 exec_prefix="$acl_save_exec_prefix"
27570 prefix="$acl_save_prefix"
27572 if test "X$x" = "X-L$additional_libdir"; then
27573 haveit=yes
27574 break
27576 done
27577 if test -z "$haveit"; then
27578 if test -d "$additional_libdir"; then
27579 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27582 haveit=
27583 for x in $LDFLAGS $LTLIBICONV; do
27585 acl_save_prefix="$prefix"
27586 prefix="$acl_final_prefix"
27587 acl_save_exec_prefix="$exec_prefix"
27588 exec_prefix="$acl_final_exec_prefix"
27589 eval x=\"$x\"
27590 exec_prefix="$acl_save_exec_prefix"
27591 prefix="$acl_save_prefix"
27593 if test "X$x" = "X-L$additional_libdir"; then
27594 haveit=yes
27595 break
27597 done
27598 if test -z "$haveit"; then
27599 if test -d "$additional_libdir"; then
27600 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27606 -R*)
27607 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27608 if test "$enable_rpath" != no; then
27609 haveit=
27610 for x in $rpathdirs; do
27611 if test "X$x" = "X$dir"; then
27612 haveit=yes
27613 break
27615 done
27616 if test -z "$haveit"; then
27617 rpathdirs="$rpathdirs $dir"
27619 haveit=
27620 for x in $ltrpathdirs; do
27621 if test "X$x" = "X$dir"; then
27622 haveit=yes
27623 break
27625 done
27626 if test -z "$haveit"; then
27627 ltrpathdirs="$ltrpathdirs $dir"
27631 -l*)
27632 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27634 *.la)
27635 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27638 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27639 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27641 esac
27642 done
27644 else
27645 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27646 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27650 done
27651 done
27652 if test "X$rpathdirs" != "X"; then
27653 if test -n "$hardcode_libdir_separator"; then
27654 alldirs=
27655 for found_dir in $rpathdirs; do
27656 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27657 done
27658 acl_save_libdir="$libdir"
27659 libdir="$alldirs"
27660 eval flag=\"$hardcode_libdir_flag_spec\"
27661 libdir="$acl_save_libdir"
27662 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27663 else
27664 for found_dir in $rpathdirs; do
27665 acl_save_libdir="$libdir"
27666 libdir="$found_dir"
27667 eval flag=\"$hardcode_libdir_flag_spec\"
27668 libdir="$acl_save_libdir"
27669 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27670 done
27673 if test "X$ltrpathdirs" != "X"; then
27674 for found_dir in $ltrpathdirs; do
27675 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27676 done
27685 am_save_CPPFLAGS="$CPPFLAGS"
27687 for element in $INCICONV; do
27688 haveit=
27689 for x in $CPPFLAGS; do
27691 acl_save_prefix="$prefix"
27692 prefix="$acl_final_prefix"
27693 acl_save_exec_prefix="$exec_prefix"
27694 exec_prefix="$acl_final_exec_prefix"
27695 eval x=\"$x\"
27696 exec_prefix="$acl_save_exec_prefix"
27697 prefix="$acl_save_prefix"
27699 if test "X$x" = "X$element"; then
27700 haveit=yes
27701 break
27703 done
27704 if test -z "$haveit"; then
27705 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27707 done
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27711 $as_echo_n "checking for iconv... " >&6; }
27712 if test "${am_cv_func_iconv+set}" = set; then :
27713 $as_echo_n "(cached) " >&6
27714 else
27716 am_cv_func_iconv="no, consider installing GNU libiconv"
27717 am_cv_lib_iconv=no
27718 if test x$gcc_no_link = xyes; then
27719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27722 /* end confdefs.h. */
27723 #include <stdlib.h>
27724 #include <iconv.h>
27726 main ()
27728 iconv_t cd = iconv_open("","");
27729 iconv(cd,NULL,NULL,NULL,NULL);
27730 iconv_close(cd);
27732 return 0;
27734 _ACEOF
27735 if ac_fn_c_try_link "$LINENO"; then :
27736 am_cv_func_iconv=yes
27738 rm -f core conftest.err conftest.$ac_objext \
27739 conftest$ac_exeext conftest.$ac_ext
27740 if test "$am_cv_func_iconv" != yes; then
27741 am_save_LIBS="$LIBS"
27742 LIBS="$LIBS $LIBICONV"
27743 if test x$gcc_no_link = xyes; then
27744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27747 /* end confdefs.h. */
27748 #include <stdlib.h>
27749 #include <iconv.h>
27751 main ()
27753 iconv_t cd = iconv_open("","");
27754 iconv(cd,NULL,NULL,NULL,NULL);
27755 iconv_close(cd);
27757 return 0;
27759 _ACEOF
27760 if ac_fn_c_try_link "$LINENO"; then :
27761 am_cv_lib_iconv=yes
27762 am_cv_func_iconv=yes
27764 rm -f core conftest.err conftest.$ac_objext \
27765 conftest$ac_exeext conftest.$ac_ext
27766 LIBS="$am_save_LIBS"
27770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27771 $as_echo "$am_cv_func_iconv" >&6; }
27772 if test "$am_cv_func_iconv" = yes; then
27774 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27777 if test "$am_cv_lib_iconv" = yes; then
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27779 $as_echo_n "checking how to link with libiconv... " >&6; }
27780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27781 $as_echo "$LIBICONV" >&6; }
27782 else
27783 CPPFLAGS="$am_save_CPPFLAGS"
27784 LIBICONV=
27785 LTLIBICONV=
27790 if test "$am_cv_func_iconv" = yes; then
27791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27792 $as_echo_n "checking for iconv declaration... " >&6; }
27793 if test "${am_cv_proto_iconv+set}" = set; then :
27794 $as_echo_n "(cached) " >&6
27795 else
27797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27798 /* end confdefs.h. */
27800 #include <stdlib.h>
27801 #include <iconv.h>
27802 extern
27803 #ifdef __cplusplus
27805 #endif
27806 #if defined(__STDC__) || defined(__cplusplus)
27807 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27808 #else
27809 size_t iconv();
27810 #endif
27813 main ()
27817 return 0;
27819 _ACEOF
27820 if ac_fn_c_try_compile "$LINENO"; then :
27821 am_cv_proto_iconv_arg1=""
27822 else
27823 am_cv_proto_iconv_arg1="const"
27825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27826 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);"
27829 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27831 }$am_cv_proto_iconv" >&5
27832 $as_echo "${ac_t:-
27833 }$am_cv_proto_iconv" >&6; }
27835 cat >>confdefs.h <<_ACEOF
27836 #define ICONV_CONST $am_cv_proto_iconv_arg1
27837 _ACEOF
27842 else
27844 # This lets us hard-code the functionality we know we'll have in the cross
27845 # target environment. "Let" is a sugar-coated word placed on an especially
27846 # dull and tedious hack, actually.
27848 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27849 # that involve linking, can't be used:
27850 # "cannot open sim-crt0.o"
27851 # "cannot open crt0.o"
27852 # etc. All this is because there currently exists no unified, consistent
27853 # way for top level CC information to be passed down to target directories:
27854 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27855 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27856 # crosses can be removed.
27858 # If Canadian cross, then don't pick up tools from the build directory.
27859 # Used only in GLIBCXX_EXPORT_INCLUDES.
27860 if test -n "$with_cross_host" &&
27861 test x"$build_alias" != x"$with_cross_host" &&
27862 test x"$build" != x"$target";
27863 then
27864 CANADIAN=yes
27865 else
27866 CANADIAN=no
27869 # Construct crosses by hand, eliminating bits that need ld...
27870 # GLIBCXX_CHECK_MATH_SUPPORT
27872 # First, test for "known" system libraries. We may be using newlib even
27873 # on a hosted environment.
27874 if test "x${with_newlib}" = "xyes"; then
27875 os_include_dir="os/newlib"
27876 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27879 # GLIBCXX_CHECK_STDLIB_SUPPORT
27880 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27883 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27885 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27887 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27889 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27891 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27893 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27895 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27897 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27899 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27901 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27903 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27905 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27907 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27909 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27911 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27913 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27915 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27917 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27919 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27921 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27923 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27925 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27928 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27930 else
27932 # Base decisions on target environment.
27933 case "${host}" in
27934 arm*-*-symbianelf*)
27935 # This is a freestanding configuration; there is nothing to do here.
27938 mips*-sde-elf*)
27939 # These definitions are for the SDE C library rather than newlib.
27940 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27943 # All these tests are for C++; save the language and the compiler flags.
27944 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27945 # found in GLIBCXX_CONFIGURE.
27947 ac_ext=cpp
27948 ac_cpp='$CXXCPP $CPPFLAGS'
27949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27953 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27954 ac_save_CXXFLAGS="$CXXFLAGS"
27956 # Check for maintainer-mode bits.
27957 if test x"$USE_MAINTAINER_MODE" = xno; then
27958 WERROR=''
27959 else
27960 WERROR='-Werror'
27963 # Check for -ffunction-sections -fdata-sections
27964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27965 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27966 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27968 /* end confdefs.h. */
27969 int foo; void bar() { };
27971 main ()
27975 return 0;
27977 _ACEOF
27978 if ac_fn_cxx_try_compile "$LINENO"; then :
27979 ac_fdsections=yes
27980 else
27981 ac_fdsections=no
27983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27984 if test "$ac_test_CXXFLAGS" = set; then
27985 CXXFLAGS="$ac_save_CXXFLAGS"
27986 else
27987 # this is the suspicious part
27988 CXXFLAGS=''
27990 if test x"$ac_fdsections" = x"yes"; then
27991 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27994 $as_echo "$ac_fdsections" >&6; }
27996 ac_ext=c
27997 ac_cpp='$CPP $CPPFLAGS'
27998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28006 # If we're not using GNU ld, then there's no point in even trying these
28007 # tests. Check for that first. We should have already tested for gld
28008 # by now (in libtool), but require it now just to be safe...
28009 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28010 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28014 # The name set by libtool depends on the version of libtool. Shame on us
28015 # for depending on an impl detail, but c'est la vie. Older versions used
28016 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28017 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28018 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28019 # set (hence we're using an older libtool), then set it.
28020 if test x${with_gnu_ld+set} != xset; then
28021 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28022 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28023 with_gnu_ld=no
28024 else
28025 with_gnu_ld=$ac_cv_prog_gnu_ld
28029 # Start by getting the version number. I think the libtool test already
28030 # does some of this, but throws away the result.
28031 glibcxx_ld_is_gold=no
28032 if test x"$with_gnu_ld" = x"yes"; then
28033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28034 $as_echo_n "checking for ld version... " >&6; }
28036 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28037 glibcxx_ld_is_gold=yes
28039 ldver=`$LD --version 2>/dev/null |
28040 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'`
28042 glibcxx_gnu_ld_version=`echo $ldver | \
28043 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28045 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28048 # Set --gc-sections.
28049 glibcxx_have_gc_sections=no
28050 if test "$glibcxx_ld_is_gold" = "yes"; then
28051 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28052 glibcxx_have_gc_sections=yes
28054 else
28055 glibcxx_gcsections_min_ld=21602
28056 if test x"$with_gnu_ld" = x"yes" &&
28057 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28058 glibcxx_have_gc_sections=yes
28061 if test "$glibcxx_have_gc_sections" = "yes"; then
28062 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28063 # NB: This flag only works reliably after 2.16.1. Configure tests
28064 # for this are difficult, so hard wire a value that should work.
28066 ac_test_CFLAGS="${CFLAGS+set}"
28067 ac_save_CFLAGS="$CFLAGS"
28068 CFLAGS='-Wl,--gc-sections'
28070 # Check for -Wl,--gc-sections
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28072 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28073 if test x$gcc_no_link = xyes; then
28074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28077 /* end confdefs.h. */
28078 int one(void) { return 1; }
28079 int two(void) { return 2; }
28082 main ()
28084 two();
28086 return 0;
28088 _ACEOF
28089 if ac_fn_c_try_link "$LINENO"; then :
28090 ac_gcsections=yes
28091 else
28092 ac_gcsections=no
28094 rm -f core conftest.err conftest.$ac_objext \
28095 conftest$ac_exeext conftest.$ac_ext
28096 if test "$ac_gcsections" = "yes"; then
28097 rm -f conftest.c
28098 touch conftest.c
28099 if $CC -c conftest.c; then
28100 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28101 grep "Warning: gc-sections option ignored" > /dev/null; then
28102 ac_gcsections=no
28105 rm -f conftest.c conftest.o conftest
28107 if test "$ac_gcsections" = "yes"; then
28108 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28111 $as_echo "$ac_gcsections" >&6; }
28113 if test "$ac_test_CFLAGS" = set; then
28114 CFLAGS="$ac_save_CFLAGS"
28115 else
28116 # this is the suspicious part
28117 CFLAGS=''
28121 # Set -z,relro.
28122 # Note this is only for shared objects.
28123 ac_ld_relro=no
28124 if test x"$with_gnu_ld" = x"yes"; then
28125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28126 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28127 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28128 if test -n "$cxx_z_relo"; then
28129 OPT_LDFLAGS="-Wl,-z,relro"
28130 ac_ld_relro=yes
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28133 $as_echo "$ac_ld_relro" >&6; }
28136 # Set linker optimization flags.
28137 if test x"$with_gnu_ld" = x"yes"; then
28138 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28145 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28146 ac_save_CXXFLAGS="$CXXFLAGS"
28147 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28150 $as_echo_n "checking for sin in -lm... " >&6; }
28151 if test "${ac_cv_lib_m_sin+set}" = set; then :
28152 $as_echo_n "(cached) " >&6
28153 else
28154 ac_check_lib_save_LIBS=$LIBS
28155 LIBS="-lm $LIBS"
28156 if test x$gcc_no_link = xyes; then
28157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28160 /* end confdefs.h. */
28162 /* Override any GCC internal prototype to avoid an error.
28163 Use char because int might match the return type of a GCC
28164 builtin and then its argument prototype would still apply. */
28165 #ifdef __cplusplus
28166 extern "C"
28167 #endif
28168 char sin ();
28170 main ()
28172 return sin ();
28174 return 0;
28176 _ACEOF
28177 if ac_fn_c_try_link "$LINENO"; then :
28178 ac_cv_lib_m_sin=yes
28179 else
28180 ac_cv_lib_m_sin=no
28182 rm -f core conftest.err conftest.$ac_objext \
28183 conftest$ac_exeext conftest.$ac_ext
28184 LIBS=$ac_check_lib_save_LIBS
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28187 $as_echo "$ac_cv_lib_m_sin" >&6; }
28188 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28189 libm="-lm"
28192 ac_save_LIBS="$LIBS"
28193 LIBS="$LIBS $libm"
28197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28198 $as_echo_n "checking for isinf declaration... " >&6; }
28199 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28200 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28201 $as_echo_n "(cached) " >&6
28202 else
28205 ac_ext=cpp
28206 ac_cpp='$CXXCPP $CPPFLAGS'
28207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28212 /* end confdefs.h. */
28213 #include <math.h>
28214 #ifdef HAVE_IEEEFP_H
28215 #include <ieeefp.h>
28216 #endif
28219 main ()
28221 isinf(0);
28223 return 0;
28225 _ACEOF
28226 if ac_fn_cxx_try_compile "$LINENO"; then :
28227 glibcxx_cv_func_isinf_use=yes
28228 else
28229 glibcxx_cv_func_isinf_use=no
28231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28232 ac_ext=c
28233 ac_cpp='$CPP $CPPFLAGS'
28234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28243 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28245 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28246 for ac_func in isinf
28247 do :
28248 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28249 if test "x$ac_cv_func_isinf" = x""yes; then :
28250 cat >>confdefs.h <<_ACEOF
28251 #define HAVE_ISINF 1
28252 _ACEOF
28255 done
28257 else
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28260 $as_echo_n "checking for _isinf declaration... " >&6; }
28261 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28262 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28263 $as_echo_n "(cached) " >&6
28264 else
28267 ac_ext=cpp
28268 ac_cpp='$CXXCPP $CPPFLAGS'
28269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28274 /* end confdefs.h. */
28275 #include <math.h>
28276 #ifdef HAVE_IEEEFP_H
28277 #include <ieeefp.h>
28278 #endif
28281 main ()
28283 _isinf(0);
28285 return 0;
28287 _ACEOF
28288 if ac_fn_cxx_try_compile "$LINENO"; then :
28289 glibcxx_cv_func__isinf_use=yes
28290 else
28291 glibcxx_cv_func__isinf_use=no
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28294 ac_ext=c
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28305 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28307 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28308 for ac_func in _isinf
28309 do :
28310 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28311 if test "x$ac_cv_func__isinf" = x""yes; then :
28312 cat >>confdefs.h <<_ACEOF
28313 #define HAVE__ISINF 1
28314 _ACEOF
28317 done
28326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28327 $as_echo_n "checking for isnan declaration... " >&6; }
28328 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28329 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28330 $as_echo_n "(cached) " >&6
28331 else
28334 ac_ext=cpp
28335 ac_cpp='$CXXCPP $CPPFLAGS'
28336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28341 /* end confdefs.h. */
28342 #include <math.h>
28343 #ifdef HAVE_IEEEFP_H
28344 #include <ieeefp.h>
28345 #endif
28348 main ()
28350 isnan(0);
28352 return 0;
28354 _ACEOF
28355 if ac_fn_cxx_try_compile "$LINENO"; then :
28356 glibcxx_cv_func_isnan_use=yes
28357 else
28358 glibcxx_cv_func_isnan_use=no
28360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28361 ac_ext=c
28362 ac_cpp='$CPP $CPPFLAGS'
28363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28372 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28374 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28375 for ac_func in isnan
28376 do :
28377 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28378 if test "x$ac_cv_func_isnan" = x""yes; then :
28379 cat >>confdefs.h <<_ACEOF
28380 #define HAVE_ISNAN 1
28381 _ACEOF
28384 done
28386 else
28388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28389 $as_echo_n "checking for _isnan declaration... " >&6; }
28390 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28391 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28392 $as_echo_n "(cached) " >&6
28393 else
28396 ac_ext=cpp
28397 ac_cpp='$CXXCPP $CPPFLAGS'
28398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28403 /* end confdefs.h. */
28404 #include <math.h>
28405 #ifdef HAVE_IEEEFP_H
28406 #include <ieeefp.h>
28407 #endif
28410 main ()
28412 _isnan(0);
28414 return 0;
28416 _ACEOF
28417 if ac_fn_cxx_try_compile "$LINENO"; then :
28418 glibcxx_cv_func__isnan_use=yes
28419 else
28420 glibcxx_cv_func__isnan_use=no
28422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28423 ac_ext=c
28424 ac_cpp='$CPP $CPPFLAGS'
28425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28434 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28436 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28437 for ac_func in _isnan
28438 do :
28439 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28440 if test "x$ac_cv_func__isnan" = x""yes; then :
28441 cat >>confdefs.h <<_ACEOF
28442 #define HAVE__ISNAN 1
28443 _ACEOF
28446 done
28455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28456 $as_echo_n "checking for finite declaration... " >&6; }
28457 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28458 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28459 $as_echo_n "(cached) " >&6
28460 else
28463 ac_ext=cpp
28464 ac_cpp='$CXXCPP $CPPFLAGS'
28465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28470 /* end confdefs.h. */
28471 #include <math.h>
28472 #ifdef HAVE_IEEEFP_H
28473 #include <ieeefp.h>
28474 #endif
28477 main ()
28479 finite(0);
28481 return 0;
28483 _ACEOF
28484 if ac_fn_cxx_try_compile "$LINENO"; then :
28485 glibcxx_cv_func_finite_use=yes
28486 else
28487 glibcxx_cv_func_finite_use=no
28489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28490 ac_ext=c
28491 ac_cpp='$CPP $CPPFLAGS'
28492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28501 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28503 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28504 for ac_func in finite
28505 do :
28506 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28507 if test "x$ac_cv_func_finite" = x""yes; then :
28508 cat >>confdefs.h <<_ACEOF
28509 #define HAVE_FINITE 1
28510 _ACEOF
28513 done
28515 else
28517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28518 $as_echo_n "checking for _finite declaration... " >&6; }
28519 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28520 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28521 $as_echo_n "(cached) " >&6
28522 else
28525 ac_ext=cpp
28526 ac_cpp='$CXXCPP $CPPFLAGS'
28527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28532 /* end confdefs.h. */
28533 #include <math.h>
28534 #ifdef HAVE_IEEEFP_H
28535 #include <ieeefp.h>
28536 #endif
28539 main ()
28541 _finite(0);
28543 return 0;
28545 _ACEOF
28546 if ac_fn_cxx_try_compile "$LINENO"; then :
28547 glibcxx_cv_func__finite_use=yes
28548 else
28549 glibcxx_cv_func__finite_use=no
28551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28552 ac_ext=c
28553 ac_cpp='$CPP $CPPFLAGS'
28554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28563 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28565 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28566 for ac_func in _finite
28567 do :
28568 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28569 if test "x$ac_cv_func__finite" = x""yes; then :
28570 cat >>confdefs.h <<_ACEOF
28571 #define HAVE__FINITE 1
28572 _ACEOF
28575 done
28584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28585 $as_echo_n "checking for sincos declaration... " >&6; }
28586 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28587 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28588 $as_echo_n "(cached) " >&6
28589 else
28592 ac_ext=cpp
28593 ac_cpp='$CXXCPP $CPPFLAGS'
28594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28599 /* end confdefs.h. */
28600 #include <math.h>
28602 main ()
28604 sincos(0, 0, 0);
28606 return 0;
28608 _ACEOF
28609 if ac_fn_cxx_try_compile "$LINENO"; then :
28610 glibcxx_cv_func_sincos_use=yes
28611 else
28612 glibcxx_cv_func_sincos_use=no
28614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28615 ac_ext=c
28616 ac_cpp='$CPP $CPPFLAGS'
28617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28626 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28628 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28629 for ac_func in sincos
28630 do :
28631 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28632 if test "x$ac_cv_func_sincos" = x""yes; then :
28633 cat >>confdefs.h <<_ACEOF
28634 #define HAVE_SINCOS 1
28635 _ACEOF
28638 done
28640 else
28642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28643 $as_echo_n "checking for _sincos declaration... " >&6; }
28644 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28645 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28646 $as_echo_n "(cached) " >&6
28647 else
28650 ac_ext=cpp
28651 ac_cpp='$CXXCPP $CPPFLAGS'
28652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28657 /* end confdefs.h. */
28658 #include <math.h>
28660 main ()
28662 _sincos(0, 0, 0);
28664 return 0;
28666 _ACEOF
28667 if ac_fn_cxx_try_compile "$LINENO"; then :
28668 glibcxx_cv_func__sincos_use=yes
28669 else
28670 glibcxx_cv_func__sincos_use=no
28672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28673 ac_ext=c
28674 ac_cpp='$CPP $CPPFLAGS'
28675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28684 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28686 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28687 for ac_func in _sincos
28688 do :
28689 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28690 if test "x$ac_cv_func__sincos" = x""yes; then :
28691 cat >>confdefs.h <<_ACEOF
28692 #define HAVE__SINCOS 1
28693 _ACEOF
28696 done
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28706 $as_echo_n "checking for fpclass declaration... " >&6; }
28707 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28708 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28709 $as_echo_n "(cached) " >&6
28710 else
28713 ac_ext=cpp
28714 ac_cpp='$CXXCPP $CPPFLAGS'
28715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28720 /* end confdefs.h. */
28721 #include <math.h>
28722 #ifdef HAVE_IEEEFP_H
28723 #include <ieeefp.h>
28724 #endif
28727 main ()
28729 fpclass(0);
28731 return 0;
28733 _ACEOF
28734 if ac_fn_cxx_try_compile "$LINENO"; then :
28735 glibcxx_cv_func_fpclass_use=yes
28736 else
28737 glibcxx_cv_func_fpclass_use=no
28739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28740 ac_ext=c
28741 ac_cpp='$CPP $CPPFLAGS'
28742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28751 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28753 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28754 for ac_func in fpclass
28755 do :
28756 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28757 if test "x$ac_cv_func_fpclass" = x""yes; then :
28758 cat >>confdefs.h <<_ACEOF
28759 #define HAVE_FPCLASS 1
28760 _ACEOF
28763 done
28765 else
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28768 $as_echo_n "checking for _fpclass declaration... " >&6; }
28769 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28770 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28771 $as_echo_n "(cached) " >&6
28772 else
28775 ac_ext=cpp
28776 ac_cpp='$CXXCPP $CPPFLAGS'
28777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28782 /* end confdefs.h. */
28783 #include <math.h>
28784 #ifdef HAVE_IEEEFP_H
28785 #include <ieeefp.h>
28786 #endif
28789 main ()
28791 _fpclass(0);
28793 return 0;
28795 _ACEOF
28796 if ac_fn_cxx_try_compile "$LINENO"; then :
28797 glibcxx_cv_func__fpclass_use=yes
28798 else
28799 glibcxx_cv_func__fpclass_use=no
28801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28802 ac_ext=c
28803 ac_cpp='$CPP $CPPFLAGS'
28804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28813 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28815 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28816 for ac_func in _fpclass
28817 do :
28818 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28819 if test "x$ac_cv_func__fpclass" = x""yes; then :
28820 cat >>confdefs.h <<_ACEOF
28821 #define HAVE__FPCLASS 1
28822 _ACEOF
28825 done
28834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28835 $as_echo_n "checking for qfpclass declaration... " >&6; }
28836 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28837 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28838 $as_echo_n "(cached) " >&6
28839 else
28842 ac_ext=cpp
28843 ac_cpp='$CXXCPP $CPPFLAGS'
28844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28849 /* end confdefs.h. */
28850 #include <math.h>
28851 #ifdef HAVE_IEEEFP_H
28852 #include <ieeefp.h>
28853 #endif
28856 main ()
28858 qfpclass(0);
28860 return 0;
28862 _ACEOF
28863 if ac_fn_cxx_try_compile "$LINENO"; then :
28864 glibcxx_cv_func_qfpclass_use=yes
28865 else
28866 glibcxx_cv_func_qfpclass_use=no
28868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28869 ac_ext=c
28870 ac_cpp='$CPP $CPPFLAGS'
28871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28880 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28882 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28883 for ac_func in qfpclass
28884 do :
28885 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28886 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28887 cat >>confdefs.h <<_ACEOF
28888 #define HAVE_QFPCLASS 1
28889 _ACEOF
28892 done
28894 else
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28897 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28898 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28899 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28900 $as_echo_n "(cached) " >&6
28901 else
28904 ac_ext=cpp
28905 ac_cpp='$CXXCPP $CPPFLAGS'
28906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28911 /* end confdefs.h. */
28912 #include <math.h>
28913 #ifdef HAVE_IEEEFP_H
28914 #include <ieeefp.h>
28915 #endif
28918 main ()
28920 _qfpclass(0);
28922 return 0;
28924 _ACEOF
28925 if ac_fn_cxx_try_compile "$LINENO"; then :
28926 glibcxx_cv_func__qfpclass_use=yes
28927 else
28928 glibcxx_cv_func__qfpclass_use=no
28930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28931 ac_ext=c
28932 ac_cpp='$CPP $CPPFLAGS'
28933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28942 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28944 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28945 for ac_func in _qfpclass
28946 do :
28947 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28948 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28949 cat >>confdefs.h <<_ACEOF
28950 #define HAVE__QFPCLASS 1
28951 _ACEOF
28954 done
28963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28964 $as_echo_n "checking for hypot declaration... " >&6; }
28965 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28966 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28967 $as_echo_n "(cached) " >&6
28968 else
28971 ac_ext=cpp
28972 ac_cpp='$CXXCPP $CPPFLAGS'
28973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28978 /* end confdefs.h. */
28979 #include <math.h>
28981 main ()
28983 hypot(0, 0);
28985 return 0;
28987 _ACEOF
28988 if ac_fn_cxx_try_compile "$LINENO"; then :
28989 glibcxx_cv_func_hypot_use=yes
28990 else
28991 glibcxx_cv_func_hypot_use=no
28993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28994 ac_ext=c
28995 ac_cpp='$CPP $CPPFLAGS'
28996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29005 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29007 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29008 for ac_func in hypot
29009 do :
29010 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29011 if test "x$ac_cv_func_hypot" = x""yes; then :
29012 cat >>confdefs.h <<_ACEOF
29013 #define HAVE_HYPOT 1
29014 _ACEOF
29017 done
29019 else
29021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29022 $as_echo_n "checking for _hypot declaration... " >&6; }
29023 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29024 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29025 $as_echo_n "(cached) " >&6
29026 else
29029 ac_ext=cpp
29030 ac_cpp='$CXXCPP $CPPFLAGS'
29031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29036 /* end confdefs.h. */
29037 #include <math.h>
29039 main ()
29041 _hypot(0, 0);
29043 return 0;
29045 _ACEOF
29046 if ac_fn_cxx_try_compile "$LINENO"; then :
29047 glibcxx_cv_func__hypot_use=yes
29048 else
29049 glibcxx_cv_func__hypot_use=no
29051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29052 ac_ext=c
29053 ac_cpp='$CPP $CPPFLAGS'
29054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29063 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29065 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29066 for ac_func in _hypot
29067 do :
29068 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29069 if test "x$ac_cv_func__hypot" = x""yes; then :
29070 cat >>confdefs.h <<_ACEOF
29071 #define HAVE__HYPOT 1
29072 _ACEOF
29075 done
29084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29085 $as_echo_n "checking for float trig functions... " >&6; }
29086 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29087 $as_echo_n "(cached) " >&6
29088 else
29091 ac_ext=cpp
29092 ac_cpp='$CXXCPP $CPPFLAGS'
29093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29098 /* end confdefs.h. */
29099 #include <math.h>
29101 main ()
29103 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29105 return 0;
29107 _ACEOF
29108 if ac_fn_cxx_try_compile "$LINENO"; then :
29109 glibcxx_cv_func_float_trig_use=yes
29110 else
29111 glibcxx_cv_func_float_trig_use=no
29113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29114 ac_ext=c
29115 ac_cpp='$CPP $CPPFLAGS'
29116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29123 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29124 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29125 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29126 do :
29127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29129 eval as_val=\$$as_ac_var
29130 if test "x$as_val" = x""yes; then :
29131 cat >>confdefs.h <<_ACEOF
29132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29133 _ACEOF
29136 done
29138 else
29139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29140 $as_echo_n "checking for _float trig functions... " >&6; }
29141 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29142 $as_echo_n "(cached) " >&6
29143 else
29146 ac_ext=cpp
29147 ac_cpp='$CXXCPP $CPPFLAGS'
29148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29153 /* end confdefs.h. */
29154 #include <math.h>
29156 main ()
29158 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29160 return 0;
29162 _ACEOF
29163 if ac_fn_cxx_try_compile "$LINENO"; then :
29164 glibcxx_cv_func__float_trig_use=yes
29165 else
29166 glibcxx_cv_func__float_trig_use=no
29168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29169 ac_ext=c
29170 ac_cpp='$CPP $CPPFLAGS'
29171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29178 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29179 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29180 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29181 do :
29182 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29184 eval as_val=\$$as_ac_var
29185 if test "x$as_val" = x""yes; then :
29186 cat >>confdefs.h <<_ACEOF
29187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29188 _ACEOF
29191 done
29200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29201 $as_echo_n "checking for float round functions... " >&6; }
29202 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29203 $as_echo_n "(cached) " >&6
29204 else
29207 ac_ext=cpp
29208 ac_cpp='$CXXCPP $CPPFLAGS'
29209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29214 /* end confdefs.h. */
29215 #include <math.h>
29217 main ()
29219 ceilf (0); floorf (0);
29221 return 0;
29223 _ACEOF
29224 if ac_fn_cxx_try_compile "$LINENO"; then :
29225 glibcxx_cv_func_float_round_use=yes
29226 else
29227 glibcxx_cv_func_float_round_use=no
29229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29230 ac_ext=c
29231 ac_cpp='$CPP $CPPFLAGS'
29232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29239 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29240 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29241 for ac_func in ceilf floorf
29242 do :
29243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29245 eval as_val=\$$as_ac_var
29246 if test "x$as_val" = x""yes; then :
29247 cat >>confdefs.h <<_ACEOF
29248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29249 _ACEOF
29252 done
29254 else
29255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29256 $as_echo_n "checking for _float round functions... " >&6; }
29257 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29258 $as_echo_n "(cached) " >&6
29259 else
29262 ac_ext=cpp
29263 ac_cpp='$CXXCPP $CPPFLAGS'
29264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29269 /* end confdefs.h. */
29270 #include <math.h>
29272 main ()
29274 _ceilf (0); _floorf (0);
29276 return 0;
29278 _ACEOF
29279 if ac_fn_cxx_try_compile "$LINENO"; then :
29280 glibcxx_cv_func__float_round_use=yes
29281 else
29282 glibcxx_cv_func__float_round_use=no
29284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29285 ac_ext=c
29286 ac_cpp='$CPP $CPPFLAGS'
29287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29294 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29295 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29296 for ac_func in _ceilf _floorf
29297 do :
29298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29300 eval as_val=\$$as_ac_var
29301 if test "x$as_val" = x""yes; then :
29302 cat >>confdefs.h <<_ACEOF
29303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29304 _ACEOF
29307 done
29317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29318 $as_echo_n "checking for expf declaration... " >&6; }
29319 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29320 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29321 $as_echo_n "(cached) " >&6
29322 else
29325 ac_ext=cpp
29326 ac_cpp='$CXXCPP $CPPFLAGS'
29327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29332 /* end confdefs.h. */
29333 #include <math.h>
29334 #ifdef HAVE_IEEEFP_H
29335 #include <ieeefp.h>
29336 #endif
29339 main ()
29341 expf(0);
29343 return 0;
29345 _ACEOF
29346 if ac_fn_cxx_try_compile "$LINENO"; then :
29347 glibcxx_cv_func_expf_use=yes
29348 else
29349 glibcxx_cv_func_expf_use=no
29351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29352 ac_ext=c
29353 ac_cpp='$CPP $CPPFLAGS'
29354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29363 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29365 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29366 for ac_func in expf
29367 do :
29368 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29369 if test "x$ac_cv_func_expf" = x""yes; then :
29370 cat >>confdefs.h <<_ACEOF
29371 #define HAVE_EXPF 1
29372 _ACEOF
29375 done
29377 else
29379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29380 $as_echo_n "checking for _expf declaration... " >&6; }
29381 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29382 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29383 $as_echo_n "(cached) " >&6
29384 else
29387 ac_ext=cpp
29388 ac_cpp='$CXXCPP $CPPFLAGS'
29389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29394 /* end confdefs.h. */
29395 #include <math.h>
29396 #ifdef HAVE_IEEEFP_H
29397 #include <ieeefp.h>
29398 #endif
29401 main ()
29403 _expf(0);
29405 return 0;
29407 _ACEOF
29408 if ac_fn_cxx_try_compile "$LINENO"; then :
29409 glibcxx_cv_func__expf_use=yes
29410 else
29411 glibcxx_cv_func__expf_use=no
29413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29414 ac_ext=c
29415 ac_cpp='$CPP $CPPFLAGS'
29416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29425 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29427 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29428 for ac_func in _expf
29429 do :
29430 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29431 if test "x$ac_cv_func__expf" = x""yes; then :
29432 cat >>confdefs.h <<_ACEOF
29433 #define HAVE__EXPF 1
29434 _ACEOF
29437 done
29446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29447 $as_echo_n "checking for isnanf declaration... " >&6; }
29448 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29449 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29450 $as_echo_n "(cached) " >&6
29451 else
29454 ac_ext=cpp
29455 ac_cpp='$CXXCPP $CPPFLAGS'
29456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29461 /* end confdefs.h. */
29462 #include <math.h>
29463 #ifdef HAVE_IEEEFP_H
29464 #include <ieeefp.h>
29465 #endif
29468 main ()
29470 isnanf(0);
29472 return 0;
29474 _ACEOF
29475 if ac_fn_cxx_try_compile "$LINENO"; then :
29476 glibcxx_cv_func_isnanf_use=yes
29477 else
29478 glibcxx_cv_func_isnanf_use=no
29480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29481 ac_ext=c
29482 ac_cpp='$CPP $CPPFLAGS'
29483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29492 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29494 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29495 for ac_func in isnanf
29496 do :
29497 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29498 if test "x$ac_cv_func_isnanf" = x""yes; then :
29499 cat >>confdefs.h <<_ACEOF
29500 #define HAVE_ISNANF 1
29501 _ACEOF
29504 done
29506 else
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29509 $as_echo_n "checking for _isnanf declaration... " >&6; }
29510 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29511 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29512 $as_echo_n "(cached) " >&6
29513 else
29516 ac_ext=cpp
29517 ac_cpp='$CXXCPP $CPPFLAGS'
29518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29523 /* end confdefs.h. */
29524 #include <math.h>
29525 #ifdef HAVE_IEEEFP_H
29526 #include <ieeefp.h>
29527 #endif
29530 main ()
29532 _isnanf(0);
29534 return 0;
29536 _ACEOF
29537 if ac_fn_cxx_try_compile "$LINENO"; then :
29538 glibcxx_cv_func__isnanf_use=yes
29539 else
29540 glibcxx_cv_func__isnanf_use=no
29542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29543 ac_ext=c
29544 ac_cpp='$CPP $CPPFLAGS'
29545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29554 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29556 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29557 for ac_func in _isnanf
29558 do :
29559 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29560 if test "x$ac_cv_func__isnanf" = x""yes; then :
29561 cat >>confdefs.h <<_ACEOF
29562 #define HAVE__ISNANF 1
29563 _ACEOF
29566 done
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29576 $as_echo_n "checking for isinff declaration... " >&6; }
29577 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29578 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29579 $as_echo_n "(cached) " >&6
29580 else
29583 ac_ext=cpp
29584 ac_cpp='$CXXCPP $CPPFLAGS'
29585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29590 /* end confdefs.h. */
29591 #include <math.h>
29592 #ifdef HAVE_IEEEFP_H
29593 #include <ieeefp.h>
29594 #endif
29597 main ()
29599 isinff(0);
29601 return 0;
29603 _ACEOF
29604 if ac_fn_cxx_try_compile "$LINENO"; then :
29605 glibcxx_cv_func_isinff_use=yes
29606 else
29607 glibcxx_cv_func_isinff_use=no
29609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29610 ac_ext=c
29611 ac_cpp='$CPP $CPPFLAGS'
29612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29621 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29623 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29624 for ac_func in isinff
29625 do :
29626 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29627 if test "x$ac_cv_func_isinff" = x""yes; then :
29628 cat >>confdefs.h <<_ACEOF
29629 #define HAVE_ISINFF 1
29630 _ACEOF
29633 done
29635 else
29637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29638 $as_echo_n "checking for _isinff declaration... " >&6; }
29639 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29640 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29641 $as_echo_n "(cached) " >&6
29642 else
29645 ac_ext=cpp
29646 ac_cpp='$CXXCPP $CPPFLAGS'
29647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29652 /* end confdefs.h. */
29653 #include <math.h>
29654 #ifdef HAVE_IEEEFP_H
29655 #include <ieeefp.h>
29656 #endif
29659 main ()
29661 _isinff(0);
29663 return 0;
29665 _ACEOF
29666 if ac_fn_cxx_try_compile "$LINENO"; then :
29667 glibcxx_cv_func__isinff_use=yes
29668 else
29669 glibcxx_cv_func__isinff_use=no
29671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29672 ac_ext=c
29673 ac_cpp='$CPP $CPPFLAGS'
29674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29683 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29685 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29686 for ac_func in _isinff
29687 do :
29688 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29689 if test "x$ac_cv_func__isinff" = x""yes; then :
29690 cat >>confdefs.h <<_ACEOF
29691 #define HAVE__ISINFF 1
29692 _ACEOF
29695 done
29704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29705 $as_echo_n "checking for atan2f declaration... " >&6; }
29706 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29707 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29708 $as_echo_n "(cached) " >&6
29709 else
29712 ac_ext=cpp
29713 ac_cpp='$CXXCPP $CPPFLAGS'
29714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29719 /* end confdefs.h. */
29720 #include <math.h>
29722 main ()
29724 atan2f(0, 0);
29726 return 0;
29728 _ACEOF
29729 if ac_fn_cxx_try_compile "$LINENO"; then :
29730 glibcxx_cv_func_atan2f_use=yes
29731 else
29732 glibcxx_cv_func_atan2f_use=no
29734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29735 ac_ext=c
29736 ac_cpp='$CPP $CPPFLAGS'
29737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29746 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29748 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29749 for ac_func in atan2f
29750 do :
29751 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29752 if test "x$ac_cv_func_atan2f" = x""yes; then :
29753 cat >>confdefs.h <<_ACEOF
29754 #define HAVE_ATAN2F 1
29755 _ACEOF
29758 done
29760 else
29762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29763 $as_echo_n "checking for _atan2f declaration... " >&6; }
29764 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29765 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29766 $as_echo_n "(cached) " >&6
29767 else
29770 ac_ext=cpp
29771 ac_cpp='$CXXCPP $CPPFLAGS'
29772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29777 /* end confdefs.h. */
29778 #include <math.h>
29780 main ()
29782 _atan2f(0, 0);
29784 return 0;
29786 _ACEOF
29787 if ac_fn_cxx_try_compile "$LINENO"; then :
29788 glibcxx_cv_func__atan2f_use=yes
29789 else
29790 glibcxx_cv_func__atan2f_use=no
29792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29793 ac_ext=c
29794 ac_cpp='$CPP $CPPFLAGS'
29795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29804 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29806 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29807 for ac_func in _atan2f
29808 do :
29809 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29810 if test "x$ac_cv_func__atan2f" = x""yes; then :
29811 cat >>confdefs.h <<_ACEOF
29812 #define HAVE__ATAN2F 1
29813 _ACEOF
29816 done
29825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29826 $as_echo_n "checking for fabsf declaration... " >&6; }
29827 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29828 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29829 $as_echo_n "(cached) " >&6
29830 else
29833 ac_ext=cpp
29834 ac_cpp='$CXXCPP $CPPFLAGS'
29835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29840 /* end confdefs.h. */
29841 #include <math.h>
29842 #ifdef HAVE_IEEEFP_H
29843 #include <ieeefp.h>
29844 #endif
29847 main ()
29849 fabsf(0);
29851 return 0;
29853 _ACEOF
29854 if ac_fn_cxx_try_compile "$LINENO"; then :
29855 glibcxx_cv_func_fabsf_use=yes
29856 else
29857 glibcxx_cv_func_fabsf_use=no
29859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29860 ac_ext=c
29861 ac_cpp='$CPP $CPPFLAGS'
29862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29871 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29873 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29874 for ac_func in fabsf
29875 do :
29876 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29877 if test "x$ac_cv_func_fabsf" = x""yes; then :
29878 cat >>confdefs.h <<_ACEOF
29879 #define HAVE_FABSF 1
29880 _ACEOF
29883 done
29885 else
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29888 $as_echo_n "checking for _fabsf declaration... " >&6; }
29889 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29890 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29891 $as_echo_n "(cached) " >&6
29892 else
29895 ac_ext=cpp
29896 ac_cpp='$CXXCPP $CPPFLAGS'
29897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29902 /* end confdefs.h. */
29903 #include <math.h>
29904 #ifdef HAVE_IEEEFP_H
29905 #include <ieeefp.h>
29906 #endif
29909 main ()
29911 _fabsf(0);
29913 return 0;
29915 _ACEOF
29916 if ac_fn_cxx_try_compile "$LINENO"; then :
29917 glibcxx_cv_func__fabsf_use=yes
29918 else
29919 glibcxx_cv_func__fabsf_use=no
29921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29922 ac_ext=c
29923 ac_cpp='$CPP $CPPFLAGS'
29924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29933 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29935 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29936 for ac_func in _fabsf
29937 do :
29938 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29939 if test "x$ac_cv_func__fabsf" = x""yes; then :
29940 cat >>confdefs.h <<_ACEOF
29941 #define HAVE__FABSF 1
29942 _ACEOF
29945 done
29954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29955 $as_echo_n "checking for fmodf declaration... " >&6; }
29956 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29957 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29958 $as_echo_n "(cached) " >&6
29959 else
29962 ac_ext=cpp
29963 ac_cpp='$CXXCPP $CPPFLAGS'
29964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29969 /* end confdefs.h. */
29970 #include <math.h>
29972 main ()
29974 fmodf(0, 0);
29976 return 0;
29978 _ACEOF
29979 if ac_fn_cxx_try_compile "$LINENO"; then :
29980 glibcxx_cv_func_fmodf_use=yes
29981 else
29982 glibcxx_cv_func_fmodf_use=no
29984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29985 ac_ext=c
29986 ac_cpp='$CPP $CPPFLAGS'
29987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29996 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29998 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29999 for ac_func in fmodf
30000 do :
30001 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30002 if test "x$ac_cv_func_fmodf" = x""yes; then :
30003 cat >>confdefs.h <<_ACEOF
30004 #define HAVE_FMODF 1
30005 _ACEOF
30008 done
30010 else
30012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30013 $as_echo_n "checking for _fmodf declaration... " >&6; }
30014 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30015 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30016 $as_echo_n "(cached) " >&6
30017 else
30020 ac_ext=cpp
30021 ac_cpp='$CXXCPP $CPPFLAGS'
30022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30027 /* end confdefs.h. */
30028 #include <math.h>
30030 main ()
30032 _fmodf(0, 0);
30034 return 0;
30036 _ACEOF
30037 if ac_fn_cxx_try_compile "$LINENO"; then :
30038 glibcxx_cv_func__fmodf_use=yes
30039 else
30040 glibcxx_cv_func__fmodf_use=no
30042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30043 ac_ext=c
30044 ac_cpp='$CPP $CPPFLAGS'
30045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30054 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30056 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30057 for ac_func in _fmodf
30058 do :
30059 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30060 if test "x$ac_cv_func__fmodf" = x""yes; then :
30061 cat >>confdefs.h <<_ACEOF
30062 #define HAVE__FMODF 1
30063 _ACEOF
30066 done
30075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30076 $as_echo_n "checking for frexpf declaration... " >&6; }
30077 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30078 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30079 $as_echo_n "(cached) " >&6
30080 else
30083 ac_ext=cpp
30084 ac_cpp='$CXXCPP $CPPFLAGS'
30085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30090 /* end confdefs.h. */
30091 #include <math.h>
30093 main ()
30095 frexpf(0, 0);
30097 return 0;
30099 _ACEOF
30100 if ac_fn_cxx_try_compile "$LINENO"; then :
30101 glibcxx_cv_func_frexpf_use=yes
30102 else
30103 glibcxx_cv_func_frexpf_use=no
30105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30106 ac_ext=c
30107 ac_cpp='$CPP $CPPFLAGS'
30108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30117 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30119 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30120 for ac_func in frexpf
30121 do :
30122 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30123 if test "x$ac_cv_func_frexpf" = x""yes; then :
30124 cat >>confdefs.h <<_ACEOF
30125 #define HAVE_FREXPF 1
30126 _ACEOF
30129 done
30131 else
30133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30134 $as_echo_n "checking for _frexpf declaration... " >&6; }
30135 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30136 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30137 $as_echo_n "(cached) " >&6
30138 else
30141 ac_ext=cpp
30142 ac_cpp='$CXXCPP $CPPFLAGS'
30143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30148 /* end confdefs.h. */
30149 #include <math.h>
30151 main ()
30153 _frexpf(0, 0);
30155 return 0;
30157 _ACEOF
30158 if ac_fn_cxx_try_compile "$LINENO"; then :
30159 glibcxx_cv_func__frexpf_use=yes
30160 else
30161 glibcxx_cv_func__frexpf_use=no
30163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30164 ac_ext=c
30165 ac_cpp='$CPP $CPPFLAGS'
30166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30175 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30177 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30178 for ac_func in _frexpf
30179 do :
30180 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30181 if test "x$ac_cv_func__frexpf" = x""yes; then :
30182 cat >>confdefs.h <<_ACEOF
30183 #define HAVE__FREXPF 1
30184 _ACEOF
30187 done
30196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30197 $as_echo_n "checking for hypotf declaration... " >&6; }
30198 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30199 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30200 $as_echo_n "(cached) " >&6
30201 else
30204 ac_ext=cpp
30205 ac_cpp='$CXXCPP $CPPFLAGS'
30206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30211 /* end confdefs.h. */
30212 #include <math.h>
30214 main ()
30216 hypotf(0, 0);
30218 return 0;
30220 _ACEOF
30221 if ac_fn_cxx_try_compile "$LINENO"; then :
30222 glibcxx_cv_func_hypotf_use=yes
30223 else
30224 glibcxx_cv_func_hypotf_use=no
30226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30227 ac_ext=c
30228 ac_cpp='$CPP $CPPFLAGS'
30229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30238 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30240 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30241 for ac_func in hypotf
30242 do :
30243 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30244 if test "x$ac_cv_func_hypotf" = x""yes; then :
30245 cat >>confdefs.h <<_ACEOF
30246 #define HAVE_HYPOTF 1
30247 _ACEOF
30250 done
30252 else
30254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30255 $as_echo_n "checking for _hypotf declaration... " >&6; }
30256 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30257 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30258 $as_echo_n "(cached) " >&6
30259 else
30262 ac_ext=cpp
30263 ac_cpp='$CXXCPP $CPPFLAGS'
30264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30269 /* end confdefs.h. */
30270 #include <math.h>
30272 main ()
30274 _hypotf(0, 0);
30276 return 0;
30278 _ACEOF
30279 if ac_fn_cxx_try_compile "$LINENO"; then :
30280 glibcxx_cv_func__hypotf_use=yes
30281 else
30282 glibcxx_cv_func__hypotf_use=no
30284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30285 ac_ext=c
30286 ac_cpp='$CPP $CPPFLAGS'
30287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30296 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30298 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30299 for ac_func in _hypotf
30300 do :
30301 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30302 if test "x$ac_cv_func__hypotf" = x""yes; then :
30303 cat >>confdefs.h <<_ACEOF
30304 #define HAVE__HYPOTF 1
30305 _ACEOF
30308 done
30317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30318 $as_echo_n "checking for ldexpf declaration... " >&6; }
30319 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30320 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30321 $as_echo_n "(cached) " >&6
30322 else
30325 ac_ext=cpp
30326 ac_cpp='$CXXCPP $CPPFLAGS'
30327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30332 /* end confdefs.h. */
30333 #include <math.h>
30335 main ()
30337 ldexpf(0, 0);
30339 return 0;
30341 _ACEOF
30342 if ac_fn_cxx_try_compile "$LINENO"; then :
30343 glibcxx_cv_func_ldexpf_use=yes
30344 else
30345 glibcxx_cv_func_ldexpf_use=no
30347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30348 ac_ext=c
30349 ac_cpp='$CPP $CPPFLAGS'
30350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30359 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30361 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30362 for ac_func in ldexpf
30363 do :
30364 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30365 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30366 cat >>confdefs.h <<_ACEOF
30367 #define HAVE_LDEXPF 1
30368 _ACEOF
30371 done
30373 else
30375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30376 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30377 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30378 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30379 $as_echo_n "(cached) " >&6
30380 else
30383 ac_ext=cpp
30384 ac_cpp='$CXXCPP $CPPFLAGS'
30385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30390 /* end confdefs.h. */
30391 #include <math.h>
30393 main ()
30395 _ldexpf(0, 0);
30397 return 0;
30399 _ACEOF
30400 if ac_fn_cxx_try_compile "$LINENO"; then :
30401 glibcxx_cv_func__ldexpf_use=yes
30402 else
30403 glibcxx_cv_func__ldexpf_use=no
30405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30406 ac_ext=c
30407 ac_cpp='$CPP $CPPFLAGS'
30408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30417 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30419 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30420 for ac_func in _ldexpf
30421 do :
30422 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30423 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30424 cat >>confdefs.h <<_ACEOF
30425 #define HAVE__LDEXPF 1
30426 _ACEOF
30429 done
30438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30439 $as_echo_n "checking for logf declaration... " >&6; }
30440 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30441 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30442 $as_echo_n "(cached) " >&6
30443 else
30446 ac_ext=cpp
30447 ac_cpp='$CXXCPP $CPPFLAGS'
30448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30453 /* end confdefs.h. */
30454 #include <math.h>
30455 #ifdef HAVE_IEEEFP_H
30456 #include <ieeefp.h>
30457 #endif
30460 main ()
30462 logf(0);
30464 return 0;
30466 _ACEOF
30467 if ac_fn_cxx_try_compile "$LINENO"; then :
30468 glibcxx_cv_func_logf_use=yes
30469 else
30470 glibcxx_cv_func_logf_use=no
30472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30473 ac_ext=c
30474 ac_cpp='$CPP $CPPFLAGS'
30475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30484 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30486 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30487 for ac_func in logf
30488 do :
30489 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30490 if test "x$ac_cv_func_logf" = x""yes; then :
30491 cat >>confdefs.h <<_ACEOF
30492 #define HAVE_LOGF 1
30493 _ACEOF
30496 done
30498 else
30500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30501 $as_echo_n "checking for _logf declaration... " >&6; }
30502 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30503 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30504 $as_echo_n "(cached) " >&6
30505 else
30508 ac_ext=cpp
30509 ac_cpp='$CXXCPP $CPPFLAGS'
30510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30515 /* end confdefs.h. */
30516 #include <math.h>
30517 #ifdef HAVE_IEEEFP_H
30518 #include <ieeefp.h>
30519 #endif
30522 main ()
30524 _logf(0);
30526 return 0;
30528 _ACEOF
30529 if ac_fn_cxx_try_compile "$LINENO"; then :
30530 glibcxx_cv_func__logf_use=yes
30531 else
30532 glibcxx_cv_func__logf_use=no
30534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30535 ac_ext=c
30536 ac_cpp='$CPP $CPPFLAGS'
30537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30546 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30548 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30549 for ac_func in _logf
30550 do :
30551 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30552 if test "x$ac_cv_func__logf" = x""yes; then :
30553 cat >>confdefs.h <<_ACEOF
30554 #define HAVE__LOGF 1
30555 _ACEOF
30558 done
30567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30568 $as_echo_n "checking for log10f declaration... " >&6; }
30569 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30570 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30571 $as_echo_n "(cached) " >&6
30572 else
30575 ac_ext=cpp
30576 ac_cpp='$CXXCPP $CPPFLAGS'
30577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30582 /* end confdefs.h. */
30583 #include <math.h>
30584 #ifdef HAVE_IEEEFP_H
30585 #include <ieeefp.h>
30586 #endif
30589 main ()
30591 log10f(0);
30593 return 0;
30595 _ACEOF
30596 if ac_fn_cxx_try_compile "$LINENO"; then :
30597 glibcxx_cv_func_log10f_use=yes
30598 else
30599 glibcxx_cv_func_log10f_use=no
30601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30602 ac_ext=c
30603 ac_cpp='$CPP $CPPFLAGS'
30604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30613 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30615 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30616 for ac_func in log10f
30617 do :
30618 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30619 if test "x$ac_cv_func_log10f" = x""yes; then :
30620 cat >>confdefs.h <<_ACEOF
30621 #define HAVE_LOG10F 1
30622 _ACEOF
30625 done
30627 else
30629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30630 $as_echo_n "checking for _log10f declaration... " >&6; }
30631 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30632 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30633 $as_echo_n "(cached) " >&6
30634 else
30637 ac_ext=cpp
30638 ac_cpp='$CXXCPP $CPPFLAGS'
30639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30644 /* end confdefs.h. */
30645 #include <math.h>
30646 #ifdef HAVE_IEEEFP_H
30647 #include <ieeefp.h>
30648 #endif
30651 main ()
30653 _log10f(0);
30655 return 0;
30657 _ACEOF
30658 if ac_fn_cxx_try_compile "$LINENO"; then :
30659 glibcxx_cv_func__log10f_use=yes
30660 else
30661 glibcxx_cv_func__log10f_use=no
30663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30664 ac_ext=c
30665 ac_cpp='$CPP $CPPFLAGS'
30666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30675 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30677 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30678 for ac_func in _log10f
30679 do :
30680 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30681 if test "x$ac_cv_func__log10f" = x""yes; then :
30682 cat >>confdefs.h <<_ACEOF
30683 #define HAVE__LOG10F 1
30684 _ACEOF
30687 done
30696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30697 $as_echo_n "checking for modff declaration... " >&6; }
30698 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30699 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30700 $as_echo_n "(cached) " >&6
30701 else
30704 ac_ext=cpp
30705 ac_cpp='$CXXCPP $CPPFLAGS'
30706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30711 /* end confdefs.h. */
30712 #include <math.h>
30714 main ()
30716 modff(0, 0);
30718 return 0;
30720 _ACEOF
30721 if ac_fn_cxx_try_compile "$LINENO"; then :
30722 glibcxx_cv_func_modff_use=yes
30723 else
30724 glibcxx_cv_func_modff_use=no
30726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30727 ac_ext=c
30728 ac_cpp='$CPP $CPPFLAGS'
30729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30738 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30740 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30741 for ac_func in modff
30742 do :
30743 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30744 if test "x$ac_cv_func_modff" = x""yes; then :
30745 cat >>confdefs.h <<_ACEOF
30746 #define HAVE_MODFF 1
30747 _ACEOF
30750 done
30752 else
30754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30755 $as_echo_n "checking for _modff declaration... " >&6; }
30756 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30757 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30758 $as_echo_n "(cached) " >&6
30759 else
30762 ac_ext=cpp
30763 ac_cpp='$CXXCPP $CPPFLAGS'
30764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30769 /* end confdefs.h. */
30770 #include <math.h>
30772 main ()
30774 _modff(0, 0);
30776 return 0;
30778 _ACEOF
30779 if ac_fn_cxx_try_compile "$LINENO"; then :
30780 glibcxx_cv_func__modff_use=yes
30781 else
30782 glibcxx_cv_func__modff_use=no
30784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30785 ac_ext=c
30786 ac_cpp='$CPP $CPPFLAGS'
30787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30796 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30798 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30799 for ac_func in _modff
30800 do :
30801 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30802 if test "x$ac_cv_func__modff" = x""yes; then :
30803 cat >>confdefs.h <<_ACEOF
30804 #define HAVE__MODFF 1
30805 _ACEOF
30808 done
30817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30818 $as_echo_n "checking for modf declaration... " >&6; }
30819 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30820 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30821 $as_echo_n "(cached) " >&6
30822 else
30825 ac_ext=cpp
30826 ac_cpp='$CXXCPP $CPPFLAGS'
30827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30832 /* end confdefs.h. */
30833 #include <math.h>
30835 main ()
30837 modf(0, 0);
30839 return 0;
30841 _ACEOF
30842 if ac_fn_cxx_try_compile "$LINENO"; then :
30843 glibcxx_cv_func_modf_use=yes
30844 else
30845 glibcxx_cv_func_modf_use=no
30847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30848 ac_ext=c
30849 ac_cpp='$CPP $CPPFLAGS'
30850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30859 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30861 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30862 for ac_func in modf
30863 do :
30864 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30865 if test "x$ac_cv_func_modf" = x""yes; then :
30866 cat >>confdefs.h <<_ACEOF
30867 #define HAVE_MODF 1
30868 _ACEOF
30871 done
30873 else
30875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30876 $as_echo_n "checking for _modf declaration... " >&6; }
30877 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30878 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30879 $as_echo_n "(cached) " >&6
30880 else
30883 ac_ext=cpp
30884 ac_cpp='$CXXCPP $CPPFLAGS'
30885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30890 /* end confdefs.h. */
30891 #include <math.h>
30893 main ()
30895 _modf(0, 0);
30897 return 0;
30899 _ACEOF
30900 if ac_fn_cxx_try_compile "$LINENO"; then :
30901 glibcxx_cv_func__modf_use=yes
30902 else
30903 glibcxx_cv_func__modf_use=no
30905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30906 ac_ext=c
30907 ac_cpp='$CPP $CPPFLAGS'
30908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30917 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30919 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30920 for ac_func in _modf
30921 do :
30922 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30923 if test "x$ac_cv_func__modf" = x""yes; then :
30924 cat >>confdefs.h <<_ACEOF
30925 #define HAVE__MODF 1
30926 _ACEOF
30929 done
30938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30939 $as_echo_n "checking for powf declaration... " >&6; }
30940 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30941 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30942 $as_echo_n "(cached) " >&6
30943 else
30946 ac_ext=cpp
30947 ac_cpp='$CXXCPP $CPPFLAGS'
30948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30953 /* end confdefs.h. */
30954 #include <math.h>
30956 main ()
30958 powf(0, 0);
30960 return 0;
30962 _ACEOF
30963 if ac_fn_cxx_try_compile "$LINENO"; then :
30964 glibcxx_cv_func_powf_use=yes
30965 else
30966 glibcxx_cv_func_powf_use=no
30968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30969 ac_ext=c
30970 ac_cpp='$CPP $CPPFLAGS'
30971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30980 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30982 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30983 for ac_func in powf
30984 do :
30985 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30986 if test "x$ac_cv_func_powf" = x""yes; then :
30987 cat >>confdefs.h <<_ACEOF
30988 #define HAVE_POWF 1
30989 _ACEOF
30992 done
30994 else
30996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30997 $as_echo_n "checking for _powf declaration... " >&6; }
30998 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30999 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31000 $as_echo_n "(cached) " >&6
31001 else
31004 ac_ext=cpp
31005 ac_cpp='$CXXCPP $CPPFLAGS'
31006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31011 /* end confdefs.h. */
31012 #include <math.h>
31014 main ()
31016 _powf(0, 0);
31018 return 0;
31020 _ACEOF
31021 if ac_fn_cxx_try_compile "$LINENO"; then :
31022 glibcxx_cv_func__powf_use=yes
31023 else
31024 glibcxx_cv_func__powf_use=no
31026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31027 ac_ext=c
31028 ac_cpp='$CPP $CPPFLAGS'
31029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31038 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31040 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31041 for ac_func in _powf
31042 do :
31043 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31044 if test "x$ac_cv_func__powf" = x""yes; then :
31045 cat >>confdefs.h <<_ACEOF
31046 #define HAVE__POWF 1
31047 _ACEOF
31050 done
31059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31060 $as_echo_n "checking for sqrtf declaration... " >&6; }
31061 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31062 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31063 $as_echo_n "(cached) " >&6
31064 else
31067 ac_ext=cpp
31068 ac_cpp='$CXXCPP $CPPFLAGS'
31069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31074 /* end confdefs.h. */
31075 #include <math.h>
31076 #ifdef HAVE_IEEEFP_H
31077 #include <ieeefp.h>
31078 #endif
31081 main ()
31083 sqrtf(0);
31085 return 0;
31087 _ACEOF
31088 if ac_fn_cxx_try_compile "$LINENO"; then :
31089 glibcxx_cv_func_sqrtf_use=yes
31090 else
31091 glibcxx_cv_func_sqrtf_use=no
31093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31094 ac_ext=c
31095 ac_cpp='$CPP $CPPFLAGS'
31096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31105 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31107 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31108 for ac_func in sqrtf
31109 do :
31110 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31111 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31112 cat >>confdefs.h <<_ACEOF
31113 #define HAVE_SQRTF 1
31114 _ACEOF
31117 done
31119 else
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31122 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31123 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31124 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31125 $as_echo_n "(cached) " >&6
31126 else
31129 ac_ext=cpp
31130 ac_cpp='$CXXCPP $CPPFLAGS'
31131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31136 /* end confdefs.h. */
31137 #include <math.h>
31138 #ifdef HAVE_IEEEFP_H
31139 #include <ieeefp.h>
31140 #endif
31143 main ()
31145 _sqrtf(0);
31147 return 0;
31149 _ACEOF
31150 if ac_fn_cxx_try_compile "$LINENO"; then :
31151 glibcxx_cv_func__sqrtf_use=yes
31152 else
31153 glibcxx_cv_func__sqrtf_use=no
31155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31156 ac_ext=c
31157 ac_cpp='$CPP $CPPFLAGS'
31158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31167 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31169 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31170 for ac_func in _sqrtf
31171 do :
31172 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31173 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31174 cat >>confdefs.h <<_ACEOF
31175 #define HAVE__SQRTF 1
31176 _ACEOF
31179 done
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31189 $as_echo_n "checking for sincosf declaration... " >&6; }
31190 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31191 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31192 $as_echo_n "(cached) " >&6
31193 else
31196 ac_ext=cpp
31197 ac_cpp='$CXXCPP $CPPFLAGS'
31198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31203 /* end confdefs.h. */
31204 #include <math.h>
31206 main ()
31208 sincosf(0, 0, 0);
31210 return 0;
31212 _ACEOF
31213 if ac_fn_cxx_try_compile "$LINENO"; then :
31214 glibcxx_cv_func_sincosf_use=yes
31215 else
31216 glibcxx_cv_func_sincosf_use=no
31218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31219 ac_ext=c
31220 ac_cpp='$CPP $CPPFLAGS'
31221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31230 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31232 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31233 for ac_func in sincosf
31234 do :
31235 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31236 if test "x$ac_cv_func_sincosf" = x""yes; then :
31237 cat >>confdefs.h <<_ACEOF
31238 #define HAVE_SINCOSF 1
31239 _ACEOF
31242 done
31244 else
31246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31247 $as_echo_n "checking for _sincosf declaration... " >&6; }
31248 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31249 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31250 $as_echo_n "(cached) " >&6
31251 else
31254 ac_ext=cpp
31255 ac_cpp='$CXXCPP $CPPFLAGS'
31256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31261 /* end confdefs.h. */
31262 #include <math.h>
31264 main ()
31266 _sincosf(0, 0, 0);
31268 return 0;
31270 _ACEOF
31271 if ac_fn_cxx_try_compile "$LINENO"; then :
31272 glibcxx_cv_func__sincosf_use=yes
31273 else
31274 glibcxx_cv_func__sincosf_use=no
31276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31277 ac_ext=c
31278 ac_cpp='$CPP $CPPFLAGS'
31279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31288 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31290 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31291 for ac_func in _sincosf
31292 do :
31293 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31294 if test "x$ac_cv_func__sincosf" = x""yes; then :
31295 cat >>confdefs.h <<_ACEOF
31296 #define HAVE__SINCOSF 1
31297 _ACEOF
31300 done
31309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31310 $as_echo_n "checking for finitef declaration... " >&6; }
31311 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31312 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31313 $as_echo_n "(cached) " >&6
31314 else
31317 ac_ext=cpp
31318 ac_cpp='$CXXCPP $CPPFLAGS'
31319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31324 /* end confdefs.h. */
31325 #include <math.h>
31326 #ifdef HAVE_IEEEFP_H
31327 #include <ieeefp.h>
31328 #endif
31331 main ()
31333 finitef(0);
31335 return 0;
31337 _ACEOF
31338 if ac_fn_cxx_try_compile "$LINENO"; then :
31339 glibcxx_cv_func_finitef_use=yes
31340 else
31341 glibcxx_cv_func_finitef_use=no
31343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31344 ac_ext=c
31345 ac_cpp='$CPP $CPPFLAGS'
31346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31355 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31357 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31358 for ac_func in finitef
31359 do :
31360 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31361 if test "x$ac_cv_func_finitef" = x""yes; then :
31362 cat >>confdefs.h <<_ACEOF
31363 #define HAVE_FINITEF 1
31364 _ACEOF
31367 done
31369 else
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31372 $as_echo_n "checking for _finitef declaration... " >&6; }
31373 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31374 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31375 $as_echo_n "(cached) " >&6
31376 else
31379 ac_ext=cpp
31380 ac_cpp='$CXXCPP $CPPFLAGS'
31381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31386 /* end confdefs.h. */
31387 #include <math.h>
31388 #ifdef HAVE_IEEEFP_H
31389 #include <ieeefp.h>
31390 #endif
31393 main ()
31395 _finitef(0);
31397 return 0;
31399 _ACEOF
31400 if ac_fn_cxx_try_compile "$LINENO"; then :
31401 glibcxx_cv_func__finitef_use=yes
31402 else
31403 glibcxx_cv_func__finitef_use=no
31405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31406 ac_ext=c
31407 ac_cpp='$CPP $CPPFLAGS'
31408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31417 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31419 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31420 for ac_func in _finitef
31421 do :
31422 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31423 if test "x$ac_cv_func__finitef" = x""yes; then :
31424 cat >>confdefs.h <<_ACEOF
31425 #define HAVE__FINITEF 1
31426 _ACEOF
31429 done
31438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31439 $as_echo_n "checking for long double trig functions... " >&6; }
31440 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31441 $as_echo_n "(cached) " >&6
31442 else
31445 ac_ext=cpp
31446 ac_cpp='$CXXCPP $CPPFLAGS'
31447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31452 /* end confdefs.h. */
31453 #include <math.h>
31455 main ()
31457 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31459 return 0;
31461 _ACEOF
31462 if ac_fn_cxx_try_compile "$LINENO"; then :
31463 glibcxx_cv_func_long_double_trig_use=yes
31464 else
31465 glibcxx_cv_func_long_double_trig_use=no
31467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31468 ac_ext=c
31469 ac_cpp='$CPP $CPPFLAGS'
31470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31477 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31478 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31479 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31480 do :
31481 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31483 eval as_val=\$$as_ac_var
31484 if test "x$as_val" = x""yes; then :
31485 cat >>confdefs.h <<_ACEOF
31486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31487 _ACEOF
31490 done
31492 else
31493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31494 $as_echo_n "checking for _long double trig functions... " >&6; }
31495 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31496 $as_echo_n "(cached) " >&6
31497 else
31500 ac_ext=cpp
31501 ac_cpp='$CXXCPP $CPPFLAGS'
31502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31507 /* end confdefs.h. */
31508 #include <math.h>
31510 main ()
31512 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31514 return 0;
31516 _ACEOF
31517 if ac_fn_cxx_try_compile "$LINENO"; then :
31518 glibcxx_cv_func__long_double_trig_use=yes
31519 else
31520 glibcxx_cv_func__long_double_trig_use=no
31522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31523 ac_ext=c
31524 ac_cpp='$CPP $CPPFLAGS'
31525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31532 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31533 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31534 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31535 do :
31536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31538 eval as_val=\$$as_ac_var
31539 if test "x$as_val" = x""yes; then :
31540 cat >>confdefs.h <<_ACEOF
31541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31542 _ACEOF
31545 done
31554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31555 $as_echo_n "checking for long double round functions... " >&6; }
31556 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31557 $as_echo_n "(cached) " >&6
31558 else
31561 ac_ext=cpp
31562 ac_cpp='$CXXCPP $CPPFLAGS'
31563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31568 /* end confdefs.h. */
31569 #include <math.h>
31571 main ()
31573 ceill (0); floorl (0);
31575 return 0;
31577 _ACEOF
31578 if ac_fn_cxx_try_compile "$LINENO"; then :
31579 glibcxx_cv_func_long_double_round_use=yes
31580 else
31581 glibcxx_cv_func_long_double_round_use=no
31583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31584 ac_ext=c
31585 ac_cpp='$CPP $CPPFLAGS'
31586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31593 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31594 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31595 for ac_func in ceill floorl
31596 do :
31597 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31599 eval as_val=\$$as_ac_var
31600 if test "x$as_val" = x""yes; then :
31601 cat >>confdefs.h <<_ACEOF
31602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31603 _ACEOF
31606 done
31608 else
31609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31610 $as_echo_n "checking for _long double round functions... " >&6; }
31611 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31612 $as_echo_n "(cached) " >&6
31613 else
31616 ac_ext=cpp
31617 ac_cpp='$CXXCPP $CPPFLAGS'
31618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31623 /* end confdefs.h. */
31624 #include <math.h>
31626 main ()
31628 _ceill (0); _floorl (0);
31630 return 0;
31632 _ACEOF
31633 if ac_fn_cxx_try_compile "$LINENO"; then :
31634 glibcxx_cv_func__long_double_round_use=yes
31635 else
31636 glibcxx_cv_func__long_double_round_use=no
31638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31639 ac_ext=c
31640 ac_cpp='$CPP $CPPFLAGS'
31641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31648 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31649 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31650 for ac_func in _ceill _floorl
31651 do :
31652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31654 eval as_val=\$$as_ac_var
31655 if test "x$as_val" = x""yes; then :
31656 cat >>confdefs.h <<_ACEOF
31657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31658 _ACEOF
31661 done
31671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31672 $as_echo_n "checking for isnanl declaration... " >&6; }
31673 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31674 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31675 $as_echo_n "(cached) " >&6
31676 else
31679 ac_ext=cpp
31680 ac_cpp='$CXXCPP $CPPFLAGS'
31681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31686 /* end confdefs.h. */
31687 #include <math.h>
31688 #ifdef HAVE_IEEEFP_H
31689 #include <ieeefp.h>
31690 #endif
31693 main ()
31695 isnanl(0);
31697 return 0;
31699 _ACEOF
31700 if ac_fn_cxx_try_compile "$LINENO"; then :
31701 glibcxx_cv_func_isnanl_use=yes
31702 else
31703 glibcxx_cv_func_isnanl_use=no
31705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31706 ac_ext=c
31707 ac_cpp='$CPP $CPPFLAGS'
31708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31717 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31719 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31720 for ac_func in isnanl
31721 do :
31722 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31723 if test "x$ac_cv_func_isnanl" = x""yes; then :
31724 cat >>confdefs.h <<_ACEOF
31725 #define HAVE_ISNANL 1
31726 _ACEOF
31729 done
31731 else
31733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31734 $as_echo_n "checking for _isnanl declaration... " >&6; }
31735 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31736 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31737 $as_echo_n "(cached) " >&6
31738 else
31741 ac_ext=cpp
31742 ac_cpp='$CXXCPP $CPPFLAGS'
31743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31748 /* end confdefs.h. */
31749 #include <math.h>
31750 #ifdef HAVE_IEEEFP_H
31751 #include <ieeefp.h>
31752 #endif
31755 main ()
31757 _isnanl(0);
31759 return 0;
31761 _ACEOF
31762 if ac_fn_cxx_try_compile "$LINENO"; then :
31763 glibcxx_cv_func__isnanl_use=yes
31764 else
31765 glibcxx_cv_func__isnanl_use=no
31767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31768 ac_ext=c
31769 ac_cpp='$CPP $CPPFLAGS'
31770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31779 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31781 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31782 for ac_func in _isnanl
31783 do :
31784 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31785 if test "x$ac_cv_func__isnanl" = x""yes; then :
31786 cat >>confdefs.h <<_ACEOF
31787 #define HAVE__ISNANL 1
31788 _ACEOF
31791 done
31800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31801 $as_echo_n "checking for isinfl declaration... " >&6; }
31802 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31803 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31804 $as_echo_n "(cached) " >&6
31805 else
31808 ac_ext=cpp
31809 ac_cpp='$CXXCPP $CPPFLAGS'
31810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31815 /* end confdefs.h. */
31816 #include <math.h>
31817 #ifdef HAVE_IEEEFP_H
31818 #include <ieeefp.h>
31819 #endif
31822 main ()
31824 isinfl(0);
31826 return 0;
31828 _ACEOF
31829 if ac_fn_cxx_try_compile "$LINENO"; then :
31830 glibcxx_cv_func_isinfl_use=yes
31831 else
31832 glibcxx_cv_func_isinfl_use=no
31834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31835 ac_ext=c
31836 ac_cpp='$CPP $CPPFLAGS'
31837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31846 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31848 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31849 for ac_func in isinfl
31850 do :
31851 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31852 if test "x$ac_cv_func_isinfl" = x""yes; then :
31853 cat >>confdefs.h <<_ACEOF
31854 #define HAVE_ISINFL 1
31855 _ACEOF
31858 done
31860 else
31862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31863 $as_echo_n "checking for _isinfl declaration... " >&6; }
31864 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31865 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31866 $as_echo_n "(cached) " >&6
31867 else
31870 ac_ext=cpp
31871 ac_cpp='$CXXCPP $CPPFLAGS'
31872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31877 /* end confdefs.h. */
31878 #include <math.h>
31879 #ifdef HAVE_IEEEFP_H
31880 #include <ieeefp.h>
31881 #endif
31884 main ()
31886 _isinfl(0);
31888 return 0;
31890 _ACEOF
31891 if ac_fn_cxx_try_compile "$LINENO"; then :
31892 glibcxx_cv_func__isinfl_use=yes
31893 else
31894 glibcxx_cv_func__isinfl_use=no
31896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31897 ac_ext=c
31898 ac_cpp='$CPP $CPPFLAGS'
31899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31908 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31910 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31911 for ac_func in _isinfl
31912 do :
31913 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31914 if test "x$ac_cv_func__isinfl" = x""yes; then :
31915 cat >>confdefs.h <<_ACEOF
31916 #define HAVE__ISINFL 1
31917 _ACEOF
31920 done
31929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31930 $as_echo_n "checking for atan2l declaration... " >&6; }
31931 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31932 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31933 $as_echo_n "(cached) " >&6
31934 else
31937 ac_ext=cpp
31938 ac_cpp='$CXXCPP $CPPFLAGS'
31939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31944 /* end confdefs.h. */
31945 #include <math.h>
31947 main ()
31949 atan2l(0, 0);
31951 return 0;
31953 _ACEOF
31954 if ac_fn_cxx_try_compile "$LINENO"; then :
31955 glibcxx_cv_func_atan2l_use=yes
31956 else
31957 glibcxx_cv_func_atan2l_use=no
31959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31960 ac_ext=c
31961 ac_cpp='$CPP $CPPFLAGS'
31962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31971 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31973 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31974 for ac_func in atan2l
31975 do :
31976 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31977 if test "x$ac_cv_func_atan2l" = x""yes; then :
31978 cat >>confdefs.h <<_ACEOF
31979 #define HAVE_ATAN2L 1
31980 _ACEOF
31983 done
31985 else
31987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31988 $as_echo_n "checking for _atan2l declaration... " >&6; }
31989 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31990 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31991 $as_echo_n "(cached) " >&6
31992 else
31995 ac_ext=cpp
31996 ac_cpp='$CXXCPP $CPPFLAGS'
31997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32002 /* end confdefs.h. */
32003 #include <math.h>
32005 main ()
32007 _atan2l(0, 0);
32009 return 0;
32011 _ACEOF
32012 if ac_fn_cxx_try_compile "$LINENO"; then :
32013 glibcxx_cv_func__atan2l_use=yes
32014 else
32015 glibcxx_cv_func__atan2l_use=no
32017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32018 ac_ext=c
32019 ac_cpp='$CPP $CPPFLAGS'
32020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32029 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32031 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32032 for ac_func in _atan2l
32033 do :
32034 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32035 if test "x$ac_cv_func__atan2l" = x""yes; then :
32036 cat >>confdefs.h <<_ACEOF
32037 #define HAVE__ATAN2L 1
32038 _ACEOF
32041 done
32050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32051 $as_echo_n "checking for expl declaration... " >&6; }
32052 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32053 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32054 $as_echo_n "(cached) " >&6
32055 else
32058 ac_ext=cpp
32059 ac_cpp='$CXXCPP $CPPFLAGS'
32060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32065 /* end confdefs.h. */
32066 #include <math.h>
32067 #ifdef HAVE_IEEEFP_H
32068 #include <ieeefp.h>
32069 #endif
32072 main ()
32074 expl(0);
32076 return 0;
32078 _ACEOF
32079 if ac_fn_cxx_try_compile "$LINENO"; then :
32080 glibcxx_cv_func_expl_use=yes
32081 else
32082 glibcxx_cv_func_expl_use=no
32084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32085 ac_ext=c
32086 ac_cpp='$CPP $CPPFLAGS'
32087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32096 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32098 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32099 for ac_func in expl
32100 do :
32101 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32102 if test "x$ac_cv_func_expl" = x""yes; then :
32103 cat >>confdefs.h <<_ACEOF
32104 #define HAVE_EXPL 1
32105 _ACEOF
32108 done
32110 else
32112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32113 $as_echo_n "checking for _expl declaration... " >&6; }
32114 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32115 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32116 $as_echo_n "(cached) " >&6
32117 else
32120 ac_ext=cpp
32121 ac_cpp='$CXXCPP $CPPFLAGS'
32122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32127 /* end confdefs.h. */
32128 #include <math.h>
32129 #ifdef HAVE_IEEEFP_H
32130 #include <ieeefp.h>
32131 #endif
32134 main ()
32136 _expl(0);
32138 return 0;
32140 _ACEOF
32141 if ac_fn_cxx_try_compile "$LINENO"; then :
32142 glibcxx_cv_func__expl_use=yes
32143 else
32144 glibcxx_cv_func__expl_use=no
32146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32147 ac_ext=c
32148 ac_cpp='$CPP $CPPFLAGS'
32149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32158 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32160 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32161 for ac_func in _expl
32162 do :
32163 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32164 if test "x$ac_cv_func__expl" = x""yes; then :
32165 cat >>confdefs.h <<_ACEOF
32166 #define HAVE__EXPL 1
32167 _ACEOF
32170 done
32179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32180 $as_echo_n "checking for fabsl declaration... " >&6; }
32181 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32182 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32183 $as_echo_n "(cached) " >&6
32184 else
32187 ac_ext=cpp
32188 ac_cpp='$CXXCPP $CPPFLAGS'
32189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32194 /* end confdefs.h. */
32195 #include <math.h>
32196 #ifdef HAVE_IEEEFP_H
32197 #include <ieeefp.h>
32198 #endif
32201 main ()
32203 fabsl(0);
32205 return 0;
32207 _ACEOF
32208 if ac_fn_cxx_try_compile "$LINENO"; then :
32209 glibcxx_cv_func_fabsl_use=yes
32210 else
32211 glibcxx_cv_func_fabsl_use=no
32213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32214 ac_ext=c
32215 ac_cpp='$CPP $CPPFLAGS'
32216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32225 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32227 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32228 for ac_func in fabsl
32229 do :
32230 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32231 if test "x$ac_cv_func_fabsl" = x""yes; then :
32232 cat >>confdefs.h <<_ACEOF
32233 #define HAVE_FABSL 1
32234 _ACEOF
32237 done
32239 else
32241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32242 $as_echo_n "checking for _fabsl declaration... " >&6; }
32243 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32244 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32245 $as_echo_n "(cached) " >&6
32246 else
32249 ac_ext=cpp
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32256 /* end confdefs.h. */
32257 #include <math.h>
32258 #ifdef HAVE_IEEEFP_H
32259 #include <ieeefp.h>
32260 #endif
32263 main ()
32265 _fabsl(0);
32267 return 0;
32269 _ACEOF
32270 if ac_fn_cxx_try_compile "$LINENO"; then :
32271 glibcxx_cv_func__fabsl_use=yes
32272 else
32273 glibcxx_cv_func__fabsl_use=no
32275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32276 ac_ext=c
32277 ac_cpp='$CPP $CPPFLAGS'
32278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32287 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32289 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32290 for ac_func in _fabsl
32291 do :
32292 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32293 if test "x$ac_cv_func__fabsl" = x""yes; then :
32294 cat >>confdefs.h <<_ACEOF
32295 #define HAVE__FABSL 1
32296 _ACEOF
32299 done
32308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32309 $as_echo_n "checking for fmodl declaration... " >&6; }
32310 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32311 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32312 $as_echo_n "(cached) " >&6
32313 else
32316 ac_ext=cpp
32317 ac_cpp='$CXXCPP $CPPFLAGS'
32318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32323 /* end confdefs.h. */
32324 #include <math.h>
32326 main ()
32328 fmodl(0, 0);
32330 return 0;
32332 _ACEOF
32333 if ac_fn_cxx_try_compile "$LINENO"; then :
32334 glibcxx_cv_func_fmodl_use=yes
32335 else
32336 glibcxx_cv_func_fmodl_use=no
32338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32339 ac_ext=c
32340 ac_cpp='$CPP $CPPFLAGS'
32341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32350 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32352 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32353 for ac_func in fmodl
32354 do :
32355 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32356 if test "x$ac_cv_func_fmodl" = x""yes; then :
32357 cat >>confdefs.h <<_ACEOF
32358 #define HAVE_FMODL 1
32359 _ACEOF
32362 done
32364 else
32366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32367 $as_echo_n "checking for _fmodl declaration... " >&6; }
32368 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32369 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32370 $as_echo_n "(cached) " >&6
32371 else
32374 ac_ext=cpp
32375 ac_cpp='$CXXCPP $CPPFLAGS'
32376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32381 /* end confdefs.h. */
32382 #include <math.h>
32384 main ()
32386 _fmodl(0, 0);
32388 return 0;
32390 _ACEOF
32391 if ac_fn_cxx_try_compile "$LINENO"; then :
32392 glibcxx_cv_func__fmodl_use=yes
32393 else
32394 glibcxx_cv_func__fmodl_use=no
32396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32397 ac_ext=c
32398 ac_cpp='$CPP $CPPFLAGS'
32399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32408 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32410 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32411 for ac_func in _fmodl
32412 do :
32413 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32414 if test "x$ac_cv_func__fmodl" = x""yes; then :
32415 cat >>confdefs.h <<_ACEOF
32416 #define HAVE__FMODL 1
32417 _ACEOF
32420 done
32429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32430 $as_echo_n "checking for frexpl declaration... " >&6; }
32431 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32432 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32433 $as_echo_n "(cached) " >&6
32434 else
32437 ac_ext=cpp
32438 ac_cpp='$CXXCPP $CPPFLAGS'
32439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32444 /* end confdefs.h. */
32445 #include <math.h>
32447 main ()
32449 frexpl(0, 0);
32451 return 0;
32453 _ACEOF
32454 if ac_fn_cxx_try_compile "$LINENO"; then :
32455 glibcxx_cv_func_frexpl_use=yes
32456 else
32457 glibcxx_cv_func_frexpl_use=no
32459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32460 ac_ext=c
32461 ac_cpp='$CPP $CPPFLAGS'
32462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32471 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32473 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32474 for ac_func in frexpl
32475 do :
32476 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32477 if test "x$ac_cv_func_frexpl" = x""yes; then :
32478 cat >>confdefs.h <<_ACEOF
32479 #define HAVE_FREXPL 1
32480 _ACEOF
32483 done
32485 else
32487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32488 $as_echo_n "checking for _frexpl declaration... " >&6; }
32489 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32490 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32491 $as_echo_n "(cached) " >&6
32492 else
32495 ac_ext=cpp
32496 ac_cpp='$CXXCPP $CPPFLAGS'
32497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32502 /* end confdefs.h. */
32503 #include <math.h>
32505 main ()
32507 _frexpl(0, 0);
32509 return 0;
32511 _ACEOF
32512 if ac_fn_cxx_try_compile "$LINENO"; then :
32513 glibcxx_cv_func__frexpl_use=yes
32514 else
32515 glibcxx_cv_func__frexpl_use=no
32517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32518 ac_ext=c
32519 ac_cpp='$CPP $CPPFLAGS'
32520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32529 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32531 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32532 for ac_func in _frexpl
32533 do :
32534 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32535 if test "x$ac_cv_func__frexpl" = x""yes; then :
32536 cat >>confdefs.h <<_ACEOF
32537 #define HAVE__FREXPL 1
32538 _ACEOF
32541 done
32550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32551 $as_echo_n "checking for hypotl declaration... " >&6; }
32552 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32553 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32554 $as_echo_n "(cached) " >&6
32555 else
32558 ac_ext=cpp
32559 ac_cpp='$CXXCPP $CPPFLAGS'
32560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32565 /* end confdefs.h. */
32566 #include <math.h>
32568 main ()
32570 hypotl(0, 0);
32572 return 0;
32574 _ACEOF
32575 if ac_fn_cxx_try_compile "$LINENO"; then :
32576 glibcxx_cv_func_hypotl_use=yes
32577 else
32578 glibcxx_cv_func_hypotl_use=no
32580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32581 ac_ext=c
32582 ac_cpp='$CPP $CPPFLAGS'
32583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32592 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32594 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32595 for ac_func in hypotl
32596 do :
32597 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32598 if test "x$ac_cv_func_hypotl" = x""yes; then :
32599 cat >>confdefs.h <<_ACEOF
32600 #define HAVE_HYPOTL 1
32601 _ACEOF
32604 done
32606 else
32608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32609 $as_echo_n "checking for _hypotl declaration... " >&6; }
32610 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32611 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32612 $as_echo_n "(cached) " >&6
32613 else
32616 ac_ext=cpp
32617 ac_cpp='$CXXCPP $CPPFLAGS'
32618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32623 /* end confdefs.h. */
32624 #include <math.h>
32626 main ()
32628 _hypotl(0, 0);
32630 return 0;
32632 _ACEOF
32633 if ac_fn_cxx_try_compile "$LINENO"; then :
32634 glibcxx_cv_func__hypotl_use=yes
32635 else
32636 glibcxx_cv_func__hypotl_use=no
32638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32639 ac_ext=c
32640 ac_cpp='$CPP $CPPFLAGS'
32641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32650 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32652 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32653 for ac_func in _hypotl
32654 do :
32655 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32656 if test "x$ac_cv_func__hypotl" = x""yes; then :
32657 cat >>confdefs.h <<_ACEOF
32658 #define HAVE__HYPOTL 1
32659 _ACEOF
32662 done
32671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32672 $as_echo_n "checking for ldexpl declaration... " >&6; }
32673 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32674 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32675 $as_echo_n "(cached) " >&6
32676 else
32679 ac_ext=cpp
32680 ac_cpp='$CXXCPP $CPPFLAGS'
32681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32686 /* end confdefs.h. */
32687 #include <math.h>
32689 main ()
32691 ldexpl(0, 0);
32693 return 0;
32695 _ACEOF
32696 if ac_fn_cxx_try_compile "$LINENO"; then :
32697 glibcxx_cv_func_ldexpl_use=yes
32698 else
32699 glibcxx_cv_func_ldexpl_use=no
32701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32702 ac_ext=c
32703 ac_cpp='$CPP $CPPFLAGS'
32704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32713 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32715 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32716 for ac_func in ldexpl
32717 do :
32718 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32719 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32720 cat >>confdefs.h <<_ACEOF
32721 #define HAVE_LDEXPL 1
32722 _ACEOF
32725 done
32727 else
32729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32730 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32731 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32732 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32733 $as_echo_n "(cached) " >&6
32734 else
32737 ac_ext=cpp
32738 ac_cpp='$CXXCPP $CPPFLAGS'
32739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32744 /* end confdefs.h. */
32745 #include <math.h>
32747 main ()
32749 _ldexpl(0, 0);
32751 return 0;
32753 _ACEOF
32754 if ac_fn_cxx_try_compile "$LINENO"; then :
32755 glibcxx_cv_func__ldexpl_use=yes
32756 else
32757 glibcxx_cv_func__ldexpl_use=no
32759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32760 ac_ext=c
32761 ac_cpp='$CPP $CPPFLAGS'
32762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32771 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32773 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32774 for ac_func in _ldexpl
32775 do :
32776 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32777 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32778 cat >>confdefs.h <<_ACEOF
32779 #define HAVE__LDEXPL 1
32780 _ACEOF
32783 done
32792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32793 $as_echo_n "checking for logl declaration... " >&6; }
32794 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32795 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32796 $as_echo_n "(cached) " >&6
32797 else
32800 ac_ext=cpp
32801 ac_cpp='$CXXCPP $CPPFLAGS'
32802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32807 /* end confdefs.h. */
32808 #include <math.h>
32809 #ifdef HAVE_IEEEFP_H
32810 #include <ieeefp.h>
32811 #endif
32814 main ()
32816 logl(0);
32818 return 0;
32820 _ACEOF
32821 if ac_fn_cxx_try_compile "$LINENO"; then :
32822 glibcxx_cv_func_logl_use=yes
32823 else
32824 glibcxx_cv_func_logl_use=no
32826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32827 ac_ext=c
32828 ac_cpp='$CPP $CPPFLAGS'
32829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32838 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32840 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32841 for ac_func in logl
32842 do :
32843 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32844 if test "x$ac_cv_func_logl" = x""yes; then :
32845 cat >>confdefs.h <<_ACEOF
32846 #define HAVE_LOGL 1
32847 _ACEOF
32850 done
32852 else
32854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32855 $as_echo_n "checking for _logl declaration... " >&6; }
32856 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32857 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32858 $as_echo_n "(cached) " >&6
32859 else
32862 ac_ext=cpp
32863 ac_cpp='$CXXCPP $CPPFLAGS'
32864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32869 /* end confdefs.h. */
32870 #include <math.h>
32871 #ifdef HAVE_IEEEFP_H
32872 #include <ieeefp.h>
32873 #endif
32876 main ()
32878 _logl(0);
32880 return 0;
32882 _ACEOF
32883 if ac_fn_cxx_try_compile "$LINENO"; then :
32884 glibcxx_cv_func__logl_use=yes
32885 else
32886 glibcxx_cv_func__logl_use=no
32888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32889 ac_ext=c
32890 ac_cpp='$CPP $CPPFLAGS'
32891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32900 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32902 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32903 for ac_func in _logl
32904 do :
32905 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32906 if test "x$ac_cv_func__logl" = x""yes; then :
32907 cat >>confdefs.h <<_ACEOF
32908 #define HAVE__LOGL 1
32909 _ACEOF
32912 done
32921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32922 $as_echo_n "checking for log10l declaration... " >&6; }
32923 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32924 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32925 $as_echo_n "(cached) " >&6
32926 else
32929 ac_ext=cpp
32930 ac_cpp='$CXXCPP $CPPFLAGS'
32931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32936 /* end confdefs.h. */
32937 #include <math.h>
32938 #ifdef HAVE_IEEEFP_H
32939 #include <ieeefp.h>
32940 #endif
32943 main ()
32945 log10l(0);
32947 return 0;
32949 _ACEOF
32950 if ac_fn_cxx_try_compile "$LINENO"; then :
32951 glibcxx_cv_func_log10l_use=yes
32952 else
32953 glibcxx_cv_func_log10l_use=no
32955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32956 ac_ext=c
32957 ac_cpp='$CPP $CPPFLAGS'
32958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32967 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32969 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32970 for ac_func in log10l
32971 do :
32972 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32973 if test "x$ac_cv_func_log10l" = x""yes; then :
32974 cat >>confdefs.h <<_ACEOF
32975 #define HAVE_LOG10L 1
32976 _ACEOF
32979 done
32981 else
32983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32984 $as_echo_n "checking for _log10l declaration... " >&6; }
32985 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32986 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32987 $as_echo_n "(cached) " >&6
32988 else
32991 ac_ext=cpp
32992 ac_cpp='$CXXCPP $CPPFLAGS'
32993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32998 /* end confdefs.h. */
32999 #include <math.h>
33000 #ifdef HAVE_IEEEFP_H
33001 #include <ieeefp.h>
33002 #endif
33005 main ()
33007 _log10l(0);
33009 return 0;
33011 _ACEOF
33012 if ac_fn_cxx_try_compile "$LINENO"; then :
33013 glibcxx_cv_func__log10l_use=yes
33014 else
33015 glibcxx_cv_func__log10l_use=no
33017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33018 ac_ext=c
33019 ac_cpp='$CPP $CPPFLAGS'
33020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33029 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33031 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33032 for ac_func in _log10l
33033 do :
33034 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33035 if test "x$ac_cv_func__log10l" = x""yes; then :
33036 cat >>confdefs.h <<_ACEOF
33037 #define HAVE__LOG10L 1
33038 _ACEOF
33041 done
33050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33051 $as_echo_n "checking for modfl declaration... " >&6; }
33052 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33053 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33054 $as_echo_n "(cached) " >&6
33055 else
33058 ac_ext=cpp
33059 ac_cpp='$CXXCPP $CPPFLAGS'
33060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33065 /* end confdefs.h. */
33066 #include <math.h>
33068 main ()
33070 modfl(0, 0);
33072 return 0;
33074 _ACEOF
33075 if ac_fn_cxx_try_compile "$LINENO"; then :
33076 glibcxx_cv_func_modfl_use=yes
33077 else
33078 glibcxx_cv_func_modfl_use=no
33080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33081 ac_ext=c
33082 ac_cpp='$CPP $CPPFLAGS'
33083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33092 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33094 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33095 for ac_func in modfl
33096 do :
33097 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33098 if test "x$ac_cv_func_modfl" = x""yes; then :
33099 cat >>confdefs.h <<_ACEOF
33100 #define HAVE_MODFL 1
33101 _ACEOF
33104 done
33106 else
33108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33109 $as_echo_n "checking for _modfl declaration... " >&6; }
33110 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33111 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33112 $as_echo_n "(cached) " >&6
33113 else
33116 ac_ext=cpp
33117 ac_cpp='$CXXCPP $CPPFLAGS'
33118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33123 /* end confdefs.h. */
33124 #include <math.h>
33126 main ()
33128 _modfl(0, 0);
33130 return 0;
33132 _ACEOF
33133 if ac_fn_cxx_try_compile "$LINENO"; then :
33134 glibcxx_cv_func__modfl_use=yes
33135 else
33136 glibcxx_cv_func__modfl_use=no
33138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33139 ac_ext=c
33140 ac_cpp='$CPP $CPPFLAGS'
33141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33150 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33152 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33153 for ac_func in _modfl
33154 do :
33155 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33156 if test "x$ac_cv_func__modfl" = x""yes; then :
33157 cat >>confdefs.h <<_ACEOF
33158 #define HAVE__MODFL 1
33159 _ACEOF
33162 done
33171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33172 $as_echo_n "checking for powl declaration... " >&6; }
33173 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33174 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33175 $as_echo_n "(cached) " >&6
33176 else
33179 ac_ext=cpp
33180 ac_cpp='$CXXCPP $CPPFLAGS'
33181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33186 /* end confdefs.h. */
33187 #include <math.h>
33189 main ()
33191 powl(0, 0);
33193 return 0;
33195 _ACEOF
33196 if ac_fn_cxx_try_compile "$LINENO"; then :
33197 glibcxx_cv_func_powl_use=yes
33198 else
33199 glibcxx_cv_func_powl_use=no
33201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33202 ac_ext=c
33203 ac_cpp='$CPP $CPPFLAGS'
33204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33213 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33215 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33216 for ac_func in powl
33217 do :
33218 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33219 if test "x$ac_cv_func_powl" = x""yes; then :
33220 cat >>confdefs.h <<_ACEOF
33221 #define HAVE_POWL 1
33222 _ACEOF
33225 done
33227 else
33229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33230 $as_echo_n "checking for _powl declaration... " >&6; }
33231 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33232 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33233 $as_echo_n "(cached) " >&6
33234 else
33237 ac_ext=cpp
33238 ac_cpp='$CXXCPP $CPPFLAGS'
33239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33244 /* end confdefs.h. */
33245 #include <math.h>
33247 main ()
33249 _powl(0, 0);
33251 return 0;
33253 _ACEOF
33254 if ac_fn_cxx_try_compile "$LINENO"; then :
33255 glibcxx_cv_func__powl_use=yes
33256 else
33257 glibcxx_cv_func__powl_use=no
33259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33260 ac_ext=c
33261 ac_cpp='$CPP $CPPFLAGS'
33262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33271 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33273 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33274 for ac_func in _powl
33275 do :
33276 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33277 if test "x$ac_cv_func__powl" = x""yes; then :
33278 cat >>confdefs.h <<_ACEOF
33279 #define HAVE__POWL 1
33280 _ACEOF
33283 done
33292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33293 $as_echo_n "checking for sqrtl declaration... " >&6; }
33294 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33295 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33296 $as_echo_n "(cached) " >&6
33297 else
33300 ac_ext=cpp
33301 ac_cpp='$CXXCPP $CPPFLAGS'
33302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33307 /* end confdefs.h. */
33308 #include <math.h>
33309 #ifdef HAVE_IEEEFP_H
33310 #include <ieeefp.h>
33311 #endif
33314 main ()
33316 sqrtl(0);
33318 return 0;
33320 _ACEOF
33321 if ac_fn_cxx_try_compile "$LINENO"; then :
33322 glibcxx_cv_func_sqrtl_use=yes
33323 else
33324 glibcxx_cv_func_sqrtl_use=no
33326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33327 ac_ext=c
33328 ac_cpp='$CPP $CPPFLAGS'
33329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33338 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33340 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33341 for ac_func in sqrtl
33342 do :
33343 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33344 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33345 cat >>confdefs.h <<_ACEOF
33346 #define HAVE_SQRTL 1
33347 _ACEOF
33350 done
33352 else
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33355 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33356 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33357 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33358 $as_echo_n "(cached) " >&6
33359 else
33362 ac_ext=cpp
33363 ac_cpp='$CXXCPP $CPPFLAGS'
33364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33369 /* end confdefs.h. */
33370 #include <math.h>
33371 #ifdef HAVE_IEEEFP_H
33372 #include <ieeefp.h>
33373 #endif
33376 main ()
33378 _sqrtl(0);
33380 return 0;
33382 _ACEOF
33383 if ac_fn_cxx_try_compile "$LINENO"; then :
33384 glibcxx_cv_func__sqrtl_use=yes
33385 else
33386 glibcxx_cv_func__sqrtl_use=no
33388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33389 ac_ext=c
33390 ac_cpp='$CPP $CPPFLAGS'
33391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33400 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33402 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33403 for ac_func in _sqrtl
33404 do :
33405 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33406 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33407 cat >>confdefs.h <<_ACEOF
33408 #define HAVE__SQRTL 1
33409 _ACEOF
33412 done
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33422 $as_echo_n "checking for sincosl declaration... " >&6; }
33423 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33424 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33425 $as_echo_n "(cached) " >&6
33426 else
33429 ac_ext=cpp
33430 ac_cpp='$CXXCPP $CPPFLAGS'
33431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33436 /* end confdefs.h. */
33437 #include <math.h>
33439 main ()
33441 sincosl(0, 0, 0);
33443 return 0;
33445 _ACEOF
33446 if ac_fn_cxx_try_compile "$LINENO"; then :
33447 glibcxx_cv_func_sincosl_use=yes
33448 else
33449 glibcxx_cv_func_sincosl_use=no
33451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33452 ac_ext=c
33453 ac_cpp='$CPP $CPPFLAGS'
33454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33463 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33465 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33466 for ac_func in sincosl
33467 do :
33468 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33469 if test "x$ac_cv_func_sincosl" = x""yes; then :
33470 cat >>confdefs.h <<_ACEOF
33471 #define HAVE_SINCOSL 1
33472 _ACEOF
33475 done
33477 else
33479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33480 $as_echo_n "checking for _sincosl declaration... " >&6; }
33481 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33482 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33483 $as_echo_n "(cached) " >&6
33484 else
33487 ac_ext=cpp
33488 ac_cpp='$CXXCPP $CPPFLAGS'
33489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33494 /* end confdefs.h. */
33495 #include <math.h>
33497 main ()
33499 _sincosl(0, 0, 0);
33501 return 0;
33503 _ACEOF
33504 if ac_fn_cxx_try_compile "$LINENO"; then :
33505 glibcxx_cv_func__sincosl_use=yes
33506 else
33507 glibcxx_cv_func__sincosl_use=no
33509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33510 ac_ext=c
33511 ac_cpp='$CPP $CPPFLAGS'
33512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33521 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33523 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33524 for ac_func in _sincosl
33525 do :
33526 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33527 if test "x$ac_cv_func__sincosl" = x""yes; then :
33528 cat >>confdefs.h <<_ACEOF
33529 #define HAVE__SINCOSL 1
33530 _ACEOF
33533 done
33542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33543 $as_echo_n "checking for finitel declaration... " >&6; }
33544 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33545 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33546 $as_echo_n "(cached) " >&6
33547 else
33550 ac_ext=cpp
33551 ac_cpp='$CXXCPP $CPPFLAGS'
33552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33557 /* end confdefs.h. */
33558 #include <math.h>
33559 #ifdef HAVE_IEEEFP_H
33560 #include <ieeefp.h>
33561 #endif
33564 main ()
33566 finitel(0);
33568 return 0;
33570 _ACEOF
33571 if ac_fn_cxx_try_compile "$LINENO"; then :
33572 glibcxx_cv_func_finitel_use=yes
33573 else
33574 glibcxx_cv_func_finitel_use=no
33576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33577 ac_ext=c
33578 ac_cpp='$CPP $CPPFLAGS'
33579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33588 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33590 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33591 for ac_func in finitel
33592 do :
33593 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33594 if test "x$ac_cv_func_finitel" = x""yes; then :
33595 cat >>confdefs.h <<_ACEOF
33596 #define HAVE_FINITEL 1
33597 _ACEOF
33600 done
33602 else
33604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33605 $as_echo_n "checking for _finitel declaration... " >&6; }
33606 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33607 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33608 $as_echo_n "(cached) " >&6
33609 else
33612 ac_ext=cpp
33613 ac_cpp='$CXXCPP $CPPFLAGS'
33614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33619 /* end confdefs.h. */
33620 #include <math.h>
33621 #ifdef HAVE_IEEEFP_H
33622 #include <ieeefp.h>
33623 #endif
33626 main ()
33628 _finitel(0);
33630 return 0;
33632 _ACEOF
33633 if ac_fn_cxx_try_compile "$LINENO"; then :
33634 glibcxx_cv_func__finitel_use=yes
33635 else
33636 glibcxx_cv_func__finitel_use=no
33638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33639 ac_ext=c
33640 ac_cpp='$CPP $CPPFLAGS'
33641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33650 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33652 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33653 for ac_func in _finitel
33654 do :
33655 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33656 if test "x$ac_cv_func__finitel" = x""yes; then :
33657 cat >>confdefs.h <<_ACEOF
33658 #define HAVE__FINITEL 1
33659 _ACEOF
33662 done
33670 LIBS="$ac_save_LIBS"
33671 CXXFLAGS="$ac_save_CXXFLAGS"
33674 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33675 ac_save_CXXFLAGS="$CXXFLAGS"
33676 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33680 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33681 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33682 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33683 $as_echo_n "(cached) " >&6
33684 else
33687 ac_ext=cpp
33688 ac_cpp='$CXXCPP $CPPFLAGS'
33689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33694 /* end confdefs.h. */
33695 #include <stdlib.h>
33697 main ()
33699 at_quick_exit(0);
33701 return 0;
33703 _ACEOF
33704 if ac_fn_cxx_try_compile "$LINENO"; then :
33705 glibcxx_cv_func_at_quick_exit_use=yes
33706 else
33707 glibcxx_cv_func_at_quick_exit_use=no
33709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33710 ac_ext=c
33711 ac_cpp='$CPP $CPPFLAGS'
33712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33721 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33722 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33723 for ac_func in at_quick_exit
33724 do :
33725 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33726 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33727 cat >>confdefs.h <<_ACEOF
33728 #define HAVE_AT_QUICK_EXIT 1
33729 _ACEOF
33732 done
33737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33738 $as_echo_n "checking for quick_exit declaration... " >&6; }
33739 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33740 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33741 $as_echo_n "(cached) " >&6
33742 else
33745 ac_ext=cpp
33746 ac_cpp='$CXXCPP $CPPFLAGS'
33747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33752 /* end confdefs.h. */
33753 #include <stdlib.h>
33755 main ()
33757 quick_exit(0);
33759 return 0;
33761 _ACEOF
33762 if ac_fn_cxx_try_compile "$LINENO"; then :
33763 glibcxx_cv_func_quick_exit_use=yes
33764 else
33765 glibcxx_cv_func_quick_exit_use=no
33767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33768 ac_ext=c
33769 ac_cpp='$CPP $CPPFLAGS'
33770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33779 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33780 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33781 for ac_func in quick_exit
33782 do :
33783 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33784 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33785 cat >>confdefs.h <<_ACEOF
33786 #define HAVE_QUICK_EXIT 1
33787 _ACEOF
33790 done
33795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33796 $as_echo_n "checking for strtold declaration... " >&6; }
33797 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33798 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33799 $as_echo_n "(cached) " >&6
33800 else
33803 ac_ext=cpp
33804 ac_cpp='$CXXCPP $CPPFLAGS'
33805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33810 /* end confdefs.h. */
33811 #include <stdlib.h>
33813 main ()
33815 strtold(0, 0);
33817 return 0;
33819 _ACEOF
33820 if ac_fn_cxx_try_compile "$LINENO"; then :
33821 glibcxx_cv_func_strtold_use=yes
33822 else
33823 glibcxx_cv_func_strtold_use=no
33825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33826 ac_ext=c
33827 ac_cpp='$CPP $CPPFLAGS'
33828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33837 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33838 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33839 for ac_func in strtold
33840 do :
33841 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33842 if test "x$ac_cv_func_strtold" = x""yes; then :
33843 cat >>confdefs.h <<_ACEOF
33844 #define HAVE_STRTOLD 1
33845 _ACEOF
33848 done
33855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33856 $as_echo_n "checking for strtof declaration... " >&6; }
33857 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33858 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33859 $as_echo_n "(cached) " >&6
33860 else
33863 ac_ext=cpp
33864 ac_cpp='$CXXCPP $CPPFLAGS'
33865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33870 /* end confdefs.h. */
33871 #include <stdlib.h>
33873 main ()
33875 strtof(0, 0);
33877 return 0;
33879 _ACEOF
33880 if ac_fn_cxx_try_compile "$LINENO"; then :
33881 glibcxx_cv_func_strtof_use=yes
33882 else
33883 glibcxx_cv_func_strtof_use=no
33885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33886 ac_ext=c
33887 ac_cpp='$CPP $CPPFLAGS'
33888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33897 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33898 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33899 for ac_func in strtof
33900 do :
33901 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33902 if test "x$ac_cv_func_strtof" = x""yes; then :
33903 cat >>confdefs.h <<_ACEOF
33904 #define HAVE_STRTOF 1
33905 _ACEOF
33908 done
33915 CXXFLAGS="$ac_save_CXXFLAGS"
33918 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33920 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33922 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33924 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33927 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33929 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33931 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33935 spu-*-elf*)
33937 # All these tests are for C++; save the language and the compiler flags.
33938 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33939 # found in GLIBCXX_CONFIGURE.
33941 ac_ext=cpp
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33947 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33948 ac_save_CXXFLAGS="$CXXFLAGS"
33950 # Check for maintainer-mode bits.
33951 if test x"$USE_MAINTAINER_MODE" = xno; then
33952 WERROR=''
33953 else
33954 WERROR='-Werror'
33957 # Check for -ffunction-sections -fdata-sections
33958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33959 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33960 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33962 /* end confdefs.h. */
33963 int foo; void bar() { };
33965 main ()
33969 return 0;
33971 _ACEOF
33972 if ac_fn_cxx_try_compile "$LINENO"; then :
33973 ac_fdsections=yes
33974 else
33975 ac_fdsections=no
33977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33978 if test "$ac_test_CXXFLAGS" = set; then
33979 CXXFLAGS="$ac_save_CXXFLAGS"
33980 else
33981 # this is the suspicious part
33982 CXXFLAGS=''
33984 if test x"$ac_fdsections" = x"yes"; then
33985 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33988 $as_echo "$ac_fdsections" >&6; }
33990 ac_ext=c
33991 ac_cpp='$CPP $CPPFLAGS'
33992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34000 # If we're not using GNU ld, then there's no point in even trying these
34001 # tests. Check for that first. We should have already tested for gld
34002 # by now (in libtool), but require it now just to be safe...
34003 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34004 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34008 # The name set by libtool depends on the version of libtool. Shame on us
34009 # for depending on an impl detail, but c'est la vie. Older versions used
34010 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34011 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34012 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34013 # set (hence we're using an older libtool), then set it.
34014 if test x${with_gnu_ld+set} != xset; then
34015 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34016 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34017 with_gnu_ld=no
34018 else
34019 with_gnu_ld=$ac_cv_prog_gnu_ld
34023 # Start by getting the version number. I think the libtool test already
34024 # does some of this, but throws away the result.
34025 glibcxx_ld_is_gold=no
34026 if test x"$with_gnu_ld" = x"yes"; then
34027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34028 $as_echo_n "checking for ld version... " >&6; }
34030 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34031 glibcxx_ld_is_gold=yes
34033 ldver=`$LD --version 2>/dev/null |
34034 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'`
34036 glibcxx_gnu_ld_version=`echo $ldver | \
34037 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34039 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34042 # Set --gc-sections.
34043 glibcxx_have_gc_sections=no
34044 if test "$glibcxx_ld_is_gold" = "yes"; then
34045 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34046 glibcxx_have_gc_sections=yes
34048 else
34049 glibcxx_gcsections_min_ld=21602
34050 if test x"$with_gnu_ld" = x"yes" &&
34051 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34052 glibcxx_have_gc_sections=yes
34055 if test "$glibcxx_have_gc_sections" = "yes"; then
34056 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34057 # NB: This flag only works reliably after 2.16.1. Configure tests
34058 # for this are difficult, so hard wire a value that should work.
34060 ac_test_CFLAGS="${CFLAGS+set}"
34061 ac_save_CFLAGS="$CFLAGS"
34062 CFLAGS='-Wl,--gc-sections'
34064 # Check for -Wl,--gc-sections
34065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34066 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34067 if test x$gcc_no_link = xyes; then
34068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34071 /* end confdefs.h. */
34072 int one(void) { return 1; }
34073 int two(void) { return 2; }
34076 main ()
34078 two();
34080 return 0;
34082 _ACEOF
34083 if ac_fn_c_try_link "$LINENO"; then :
34084 ac_gcsections=yes
34085 else
34086 ac_gcsections=no
34088 rm -f core conftest.err conftest.$ac_objext \
34089 conftest$ac_exeext conftest.$ac_ext
34090 if test "$ac_gcsections" = "yes"; then
34091 rm -f conftest.c
34092 touch conftest.c
34093 if $CC -c conftest.c; then
34094 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34095 grep "Warning: gc-sections option ignored" > /dev/null; then
34096 ac_gcsections=no
34099 rm -f conftest.c conftest.o conftest
34101 if test "$ac_gcsections" = "yes"; then
34102 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34105 $as_echo "$ac_gcsections" >&6; }
34107 if test "$ac_test_CFLAGS" = set; then
34108 CFLAGS="$ac_save_CFLAGS"
34109 else
34110 # this is the suspicious part
34111 CFLAGS=''
34115 # Set -z,relro.
34116 # Note this is only for shared objects.
34117 ac_ld_relro=no
34118 if test x"$with_gnu_ld" = x"yes"; then
34119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34120 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34121 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34122 if test -n "$cxx_z_relo"; then
34123 OPT_LDFLAGS="-Wl,-z,relro"
34124 ac_ld_relro=yes
34126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34127 $as_echo "$ac_ld_relro" >&6; }
34130 # Set linker optimization flags.
34131 if test x"$with_gnu_ld" = x"yes"; then
34132 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34139 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34140 ac_save_CXXFLAGS="$CXXFLAGS"
34141 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34144 $as_echo_n "checking for sin in -lm... " >&6; }
34145 if test "${ac_cv_lib_m_sin+set}" = set; then :
34146 $as_echo_n "(cached) " >&6
34147 else
34148 ac_check_lib_save_LIBS=$LIBS
34149 LIBS="-lm $LIBS"
34150 if test x$gcc_no_link = xyes; then
34151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34154 /* end confdefs.h. */
34156 /* Override any GCC internal prototype to avoid an error.
34157 Use char because int might match the return type of a GCC
34158 builtin and then its argument prototype would still apply. */
34159 #ifdef __cplusplus
34160 extern "C"
34161 #endif
34162 char sin ();
34164 main ()
34166 return sin ();
34168 return 0;
34170 _ACEOF
34171 if ac_fn_c_try_link "$LINENO"; then :
34172 ac_cv_lib_m_sin=yes
34173 else
34174 ac_cv_lib_m_sin=no
34176 rm -f core conftest.err conftest.$ac_objext \
34177 conftest$ac_exeext conftest.$ac_ext
34178 LIBS=$ac_check_lib_save_LIBS
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34181 $as_echo "$ac_cv_lib_m_sin" >&6; }
34182 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34183 libm="-lm"
34186 ac_save_LIBS="$LIBS"
34187 LIBS="$LIBS $libm"
34191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34192 $as_echo_n "checking for isinf declaration... " >&6; }
34193 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34194 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34195 $as_echo_n "(cached) " >&6
34196 else
34199 ac_ext=cpp
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34206 /* end confdefs.h. */
34207 #include <math.h>
34208 #ifdef HAVE_IEEEFP_H
34209 #include <ieeefp.h>
34210 #endif
34213 main ()
34215 isinf(0);
34217 return 0;
34219 _ACEOF
34220 if ac_fn_cxx_try_compile "$LINENO"; then :
34221 glibcxx_cv_func_isinf_use=yes
34222 else
34223 glibcxx_cv_func_isinf_use=no
34225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34226 ac_ext=c
34227 ac_cpp='$CPP $CPPFLAGS'
34228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34237 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34239 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34240 for ac_func in isinf
34241 do :
34242 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34243 if test "x$ac_cv_func_isinf" = x""yes; then :
34244 cat >>confdefs.h <<_ACEOF
34245 #define HAVE_ISINF 1
34246 _ACEOF
34249 done
34251 else
34253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34254 $as_echo_n "checking for _isinf declaration... " >&6; }
34255 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34256 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34257 $as_echo_n "(cached) " >&6
34258 else
34261 ac_ext=cpp
34262 ac_cpp='$CXXCPP $CPPFLAGS'
34263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34268 /* end confdefs.h. */
34269 #include <math.h>
34270 #ifdef HAVE_IEEEFP_H
34271 #include <ieeefp.h>
34272 #endif
34275 main ()
34277 _isinf(0);
34279 return 0;
34281 _ACEOF
34282 if ac_fn_cxx_try_compile "$LINENO"; then :
34283 glibcxx_cv_func__isinf_use=yes
34284 else
34285 glibcxx_cv_func__isinf_use=no
34287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288 ac_ext=c
34289 ac_cpp='$CPP $CPPFLAGS'
34290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34299 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34301 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34302 for ac_func in _isinf
34303 do :
34304 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34305 if test "x$ac_cv_func__isinf" = x""yes; then :
34306 cat >>confdefs.h <<_ACEOF
34307 #define HAVE__ISINF 1
34308 _ACEOF
34311 done
34320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34321 $as_echo_n "checking for isnan declaration... " >&6; }
34322 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34323 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34324 $as_echo_n "(cached) " >&6
34325 else
34328 ac_ext=cpp
34329 ac_cpp='$CXXCPP $CPPFLAGS'
34330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34335 /* end confdefs.h. */
34336 #include <math.h>
34337 #ifdef HAVE_IEEEFP_H
34338 #include <ieeefp.h>
34339 #endif
34342 main ()
34344 isnan(0);
34346 return 0;
34348 _ACEOF
34349 if ac_fn_cxx_try_compile "$LINENO"; then :
34350 glibcxx_cv_func_isnan_use=yes
34351 else
34352 glibcxx_cv_func_isnan_use=no
34354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34355 ac_ext=c
34356 ac_cpp='$CPP $CPPFLAGS'
34357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34366 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34368 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34369 for ac_func in isnan
34370 do :
34371 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34372 if test "x$ac_cv_func_isnan" = x""yes; then :
34373 cat >>confdefs.h <<_ACEOF
34374 #define HAVE_ISNAN 1
34375 _ACEOF
34378 done
34380 else
34382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34383 $as_echo_n "checking for _isnan declaration... " >&6; }
34384 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34385 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34386 $as_echo_n "(cached) " >&6
34387 else
34390 ac_ext=cpp
34391 ac_cpp='$CXXCPP $CPPFLAGS'
34392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34397 /* end confdefs.h. */
34398 #include <math.h>
34399 #ifdef HAVE_IEEEFP_H
34400 #include <ieeefp.h>
34401 #endif
34404 main ()
34406 _isnan(0);
34408 return 0;
34410 _ACEOF
34411 if ac_fn_cxx_try_compile "$LINENO"; then :
34412 glibcxx_cv_func__isnan_use=yes
34413 else
34414 glibcxx_cv_func__isnan_use=no
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34417 ac_ext=c
34418 ac_cpp='$CPP $CPPFLAGS'
34419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34428 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34430 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34431 for ac_func in _isnan
34432 do :
34433 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34434 if test "x$ac_cv_func__isnan" = x""yes; then :
34435 cat >>confdefs.h <<_ACEOF
34436 #define HAVE__ISNAN 1
34437 _ACEOF
34440 done
34449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34450 $as_echo_n "checking for finite declaration... " >&6; }
34451 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34452 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34453 $as_echo_n "(cached) " >&6
34454 else
34457 ac_ext=cpp
34458 ac_cpp='$CXXCPP $CPPFLAGS'
34459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34464 /* end confdefs.h. */
34465 #include <math.h>
34466 #ifdef HAVE_IEEEFP_H
34467 #include <ieeefp.h>
34468 #endif
34471 main ()
34473 finite(0);
34475 return 0;
34477 _ACEOF
34478 if ac_fn_cxx_try_compile "$LINENO"; then :
34479 glibcxx_cv_func_finite_use=yes
34480 else
34481 glibcxx_cv_func_finite_use=no
34483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34484 ac_ext=c
34485 ac_cpp='$CPP $CPPFLAGS'
34486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34495 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34497 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34498 for ac_func in finite
34499 do :
34500 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34501 if test "x$ac_cv_func_finite" = x""yes; then :
34502 cat >>confdefs.h <<_ACEOF
34503 #define HAVE_FINITE 1
34504 _ACEOF
34507 done
34509 else
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34512 $as_echo_n "checking for _finite declaration... " >&6; }
34513 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34514 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34515 $as_echo_n "(cached) " >&6
34516 else
34519 ac_ext=cpp
34520 ac_cpp='$CXXCPP $CPPFLAGS'
34521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34526 /* end confdefs.h. */
34527 #include <math.h>
34528 #ifdef HAVE_IEEEFP_H
34529 #include <ieeefp.h>
34530 #endif
34533 main ()
34535 _finite(0);
34537 return 0;
34539 _ACEOF
34540 if ac_fn_cxx_try_compile "$LINENO"; then :
34541 glibcxx_cv_func__finite_use=yes
34542 else
34543 glibcxx_cv_func__finite_use=no
34545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546 ac_ext=c
34547 ac_cpp='$CPP $CPPFLAGS'
34548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34557 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34559 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34560 for ac_func in _finite
34561 do :
34562 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34563 if test "x$ac_cv_func__finite" = x""yes; then :
34564 cat >>confdefs.h <<_ACEOF
34565 #define HAVE__FINITE 1
34566 _ACEOF
34569 done
34578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34579 $as_echo_n "checking for sincos declaration... " >&6; }
34580 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34581 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34582 $as_echo_n "(cached) " >&6
34583 else
34586 ac_ext=cpp
34587 ac_cpp='$CXXCPP $CPPFLAGS'
34588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34593 /* end confdefs.h. */
34594 #include <math.h>
34596 main ()
34598 sincos(0, 0, 0);
34600 return 0;
34602 _ACEOF
34603 if ac_fn_cxx_try_compile "$LINENO"; then :
34604 glibcxx_cv_func_sincos_use=yes
34605 else
34606 glibcxx_cv_func_sincos_use=no
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609 ac_ext=c
34610 ac_cpp='$CPP $CPPFLAGS'
34611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34620 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34622 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34623 for ac_func in sincos
34624 do :
34625 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34626 if test "x$ac_cv_func_sincos" = x""yes; then :
34627 cat >>confdefs.h <<_ACEOF
34628 #define HAVE_SINCOS 1
34629 _ACEOF
34632 done
34634 else
34636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34637 $as_echo_n "checking for _sincos declaration... " >&6; }
34638 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34639 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34640 $as_echo_n "(cached) " >&6
34641 else
34644 ac_ext=cpp
34645 ac_cpp='$CXXCPP $CPPFLAGS'
34646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34651 /* end confdefs.h. */
34652 #include <math.h>
34654 main ()
34656 _sincos(0, 0, 0);
34658 return 0;
34660 _ACEOF
34661 if ac_fn_cxx_try_compile "$LINENO"; then :
34662 glibcxx_cv_func__sincos_use=yes
34663 else
34664 glibcxx_cv_func__sincos_use=no
34666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34667 ac_ext=c
34668 ac_cpp='$CPP $CPPFLAGS'
34669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34678 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34680 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34681 for ac_func in _sincos
34682 do :
34683 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34684 if test "x$ac_cv_func__sincos" = x""yes; then :
34685 cat >>confdefs.h <<_ACEOF
34686 #define HAVE__SINCOS 1
34687 _ACEOF
34690 done
34699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34700 $as_echo_n "checking for fpclass declaration... " >&6; }
34701 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34702 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34703 $as_echo_n "(cached) " >&6
34704 else
34707 ac_ext=cpp
34708 ac_cpp='$CXXCPP $CPPFLAGS'
34709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34714 /* end confdefs.h. */
34715 #include <math.h>
34716 #ifdef HAVE_IEEEFP_H
34717 #include <ieeefp.h>
34718 #endif
34721 main ()
34723 fpclass(0);
34725 return 0;
34727 _ACEOF
34728 if ac_fn_cxx_try_compile "$LINENO"; then :
34729 glibcxx_cv_func_fpclass_use=yes
34730 else
34731 glibcxx_cv_func_fpclass_use=no
34733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34734 ac_ext=c
34735 ac_cpp='$CPP $CPPFLAGS'
34736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34745 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34747 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34748 for ac_func in fpclass
34749 do :
34750 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34751 if test "x$ac_cv_func_fpclass" = x""yes; then :
34752 cat >>confdefs.h <<_ACEOF
34753 #define HAVE_FPCLASS 1
34754 _ACEOF
34757 done
34759 else
34761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34762 $as_echo_n "checking for _fpclass declaration... " >&6; }
34763 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34764 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34765 $as_echo_n "(cached) " >&6
34766 else
34769 ac_ext=cpp
34770 ac_cpp='$CXXCPP $CPPFLAGS'
34771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34776 /* end confdefs.h. */
34777 #include <math.h>
34778 #ifdef HAVE_IEEEFP_H
34779 #include <ieeefp.h>
34780 #endif
34783 main ()
34785 _fpclass(0);
34787 return 0;
34789 _ACEOF
34790 if ac_fn_cxx_try_compile "$LINENO"; then :
34791 glibcxx_cv_func__fpclass_use=yes
34792 else
34793 glibcxx_cv_func__fpclass_use=no
34795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34796 ac_ext=c
34797 ac_cpp='$CPP $CPPFLAGS'
34798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34807 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34809 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34810 for ac_func in _fpclass
34811 do :
34812 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34813 if test "x$ac_cv_func__fpclass" = x""yes; then :
34814 cat >>confdefs.h <<_ACEOF
34815 #define HAVE__FPCLASS 1
34816 _ACEOF
34819 done
34828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34829 $as_echo_n "checking for qfpclass declaration... " >&6; }
34830 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34831 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34832 $as_echo_n "(cached) " >&6
34833 else
34836 ac_ext=cpp
34837 ac_cpp='$CXXCPP $CPPFLAGS'
34838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34843 /* end confdefs.h. */
34844 #include <math.h>
34845 #ifdef HAVE_IEEEFP_H
34846 #include <ieeefp.h>
34847 #endif
34850 main ()
34852 qfpclass(0);
34854 return 0;
34856 _ACEOF
34857 if ac_fn_cxx_try_compile "$LINENO"; then :
34858 glibcxx_cv_func_qfpclass_use=yes
34859 else
34860 glibcxx_cv_func_qfpclass_use=no
34862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34863 ac_ext=c
34864 ac_cpp='$CPP $CPPFLAGS'
34865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34874 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34876 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34877 for ac_func in qfpclass
34878 do :
34879 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34880 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34881 cat >>confdefs.h <<_ACEOF
34882 #define HAVE_QFPCLASS 1
34883 _ACEOF
34886 done
34888 else
34890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34891 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34892 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34893 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34894 $as_echo_n "(cached) " >&6
34895 else
34898 ac_ext=cpp
34899 ac_cpp='$CXXCPP $CPPFLAGS'
34900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34905 /* end confdefs.h. */
34906 #include <math.h>
34907 #ifdef HAVE_IEEEFP_H
34908 #include <ieeefp.h>
34909 #endif
34912 main ()
34914 _qfpclass(0);
34916 return 0;
34918 _ACEOF
34919 if ac_fn_cxx_try_compile "$LINENO"; then :
34920 glibcxx_cv_func__qfpclass_use=yes
34921 else
34922 glibcxx_cv_func__qfpclass_use=no
34924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34925 ac_ext=c
34926 ac_cpp='$CPP $CPPFLAGS'
34927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34936 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34938 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34939 for ac_func in _qfpclass
34940 do :
34941 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34942 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34943 cat >>confdefs.h <<_ACEOF
34944 #define HAVE__QFPCLASS 1
34945 _ACEOF
34948 done
34957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34958 $as_echo_n "checking for hypot declaration... " >&6; }
34959 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34960 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34961 $as_echo_n "(cached) " >&6
34962 else
34965 ac_ext=cpp
34966 ac_cpp='$CXXCPP $CPPFLAGS'
34967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34972 /* end confdefs.h. */
34973 #include <math.h>
34975 main ()
34977 hypot(0, 0);
34979 return 0;
34981 _ACEOF
34982 if ac_fn_cxx_try_compile "$LINENO"; then :
34983 glibcxx_cv_func_hypot_use=yes
34984 else
34985 glibcxx_cv_func_hypot_use=no
34987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34988 ac_ext=c
34989 ac_cpp='$CPP $CPPFLAGS'
34990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34999 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35001 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35002 for ac_func in hypot
35003 do :
35004 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35005 if test "x$ac_cv_func_hypot" = x""yes; then :
35006 cat >>confdefs.h <<_ACEOF
35007 #define HAVE_HYPOT 1
35008 _ACEOF
35011 done
35013 else
35015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35016 $as_echo_n "checking for _hypot declaration... " >&6; }
35017 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35018 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35019 $as_echo_n "(cached) " >&6
35020 else
35023 ac_ext=cpp
35024 ac_cpp='$CXXCPP $CPPFLAGS'
35025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35030 /* end confdefs.h. */
35031 #include <math.h>
35033 main ()
35035 _hypot(0, 0);
35037 return 0;
35039 _ACEOF
35040 if ac_fn_cxx_try_compile "$LINENO"; then :
35041 glibcxx_cv_func__hypot_use=yes
35042 else
35043 glibcxx_cv_func__hypot_use=no
35045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35046 ac_ext=c
35047 ac_cpp='$CPP $CPPFLAGS'
35048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35057 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35059 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35060 for ac_func in _hypot
35061 do :
35062 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35063 if test "x$ac_cv_func__hypot" = x""yes; then :
35064 cat >>confdefs.h <<_ACEOF
35065 #define HAVE__HYPOT 1
35066 _ACEOF
35069 done
35078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35079 $as_echo_n "checking for float trig functions... " >&6; }
35080 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35081 $as_echo_n "(cached) " >&6
35082 else
35085 ac_ext=cpp
35086 ac_cpp='$CXXCPP $CPPFLAGS'
35087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35092 /* end confdefs.h. */
35093 #include <math.h>
35095 main ()
35097 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35099 return 0;
35101 _ACEOF
35102 if ac_fn_cxx_try_compile "$LINENO"; then :
35103 glibcxx_cv_func_float_trig_use=yes
35104 else
35105 glibcxx_cv_func_float_trig_use=no
35107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35108 ac_ext=c
35109 ac_cpp='$CPP $CPPFLAGS'
35110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35117 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35118 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35119 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35120 do :
35121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35123 eval as_val=\$$as_ac_var
35124 if test "x$as_val" = x""yes; then :
35125 cat >>confdefs.h <<_ACEOF
35126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35127 _ACEOF
35130 done
35132 else
35133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35134 $as_echo_n "checking for _float trig functions... " >&6; }
35135 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35136 $as_echo_n "(cached) " >&6
35137 else
35140 ac_ext=cpp
35141 ac_cpp='$CXXCPP $CPPFLAGS'
35142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35147 /* end confdefs.h. */
35148 #include <math.h>
35150 main ()
35152 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35154 return 0;
35156 _ACEOF
35157 if ac_fn_cxx_try_compile "$LINENO"; then :
35158 glibcxx_cv_func__float_trig_use=yes
35159 else
35160 glibcxx_cv_func__float_trig_use=no
35162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35163 ac_ext=c
35164 ac_cpp='$CPP $CPPFLAGS'
35165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35172 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35173 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35174 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35175 do :
35176 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35177 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35178 eval as_val=\$$as_ac_var
35179 if test "x$as_val" = x""yes; then :
35180 cat >>confdefs.h <<_ACEOF
35181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35182 _ACEOF
35185 done
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35195 $as_echo_n "checking for float round functions... " >&6; }
35196 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35197 $as_echo_n "(cached) " >&6
35198 else
35201 ac_ext=cpp
35202 ac_cpp='$CXXCPP $CPPFLAGS'
35203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35208 /* end confdefs.h. */
35209 #include <math.h>
35211 main ()
35213 ceilf (0); floorf (0);
35215 return 0;
35217 _ACEOF
35218 if ac_fn_cxx_try_compile "$LINENO"; then :
35219 glibcxx_cv_func_float_round_use=yes
35220 else
35221 glibcxx_cv_func_float_round_use=no
35223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35224 ac_ext=c
35225 ac_cpp='$CPP $CPPFLAGS'
35226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35233 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35234 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35235 for ac_func in ceilf floorf
35236 do :
35237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35239 eval as_val=\$$as_ac_var
35240 if test "x$as_val" = x""yes; then :
35241 cat >>confdefs.h <<_ACEOF
35242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35243 _ACEOF
35246 done
35248 else
35249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35250 $as_echo_n "checking for _float round functions... " >&6; }
35251 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35252 $as_echo_n "(cached) " >&6
35253 else
35256 ac_ext=cpp
35257 ac_cpp='$CXXCPP $CPPFLAGS'
35258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35263 /* end confdefs.h. */
35264 #include <math.h>
35266 main ()
35268 _ceilf (0); _floorf (0);
35270 return 0;
35272 _ACEOF
35273 if ac_fn_cxx_try_compile "$LINENO"; then :
35274 glibcxx_cv_func__float_round_use=yes
35275 else
35276 glibcxx_cv_func__float_round_use=no
35278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35279 ac_ext=c
35280 ac_cpp='$CPP $CPPFLAGS'
35281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35288 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35289 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35290 for ac_func in _ceilf _floorf
35291 do :
35292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35294 eval as_val=\$$as_ac_var
35295 if test "x$as_val" = x""yes; then :
35296 cat >>confdefs.h <<_ACEOF
35297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35298 _ACEOF
35301 done
35311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35312 $as_echo_n "checking for expf declaration... " >&6; }
35313 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35314 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35315 $as_echo_n "(cached) " >&6
35316 else
35319 ac_ext=cpp
35320 ac_cpp='$CXXCPP $CPPFLAGS'
35321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35326 /* end confdefs.h. */
35327 #include <math.h>
35328 #ifdef HAVE_IEEEFP_H
35329 #include <ieeefp.h>
35330 #endif
35333 main ()
35335 expf(0);
35337 return 0;
35339 _ACEOF
35340 if ac_fn_cxx_try_compile "$LINENO"; then :
35341 glibcxx_cv_func_expf_use=yes
35342 else
35343 glibcxx_cv_func_expf_use=no
35345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35346 ac_ext=c
35347 ac_cpp='$CPP $CPPFLAGS'
35348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35357 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35359 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35360 for ac_func in expf
35361 do :
35362 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35363 if test "x$ac_cv_func_expf" = x""yes; then :
35364 cat >>confdefs.h <<_ACEOF
35365 #define HAVE_EXPF 1
35366 _ACEOF
35369 done
35371 else
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35374 $as_echo_n "checking for _expf declaration... " >&6; }
35375 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35376 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35377 $as_echo_n "(cached) " >&6
35378 else
35381 ac_ext=cpp
35382 ac_cpp='$CXXCPP $CPPFLAGS'
35383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35388 /* end confdefs.h. */
35389 #include <math.h>
35390 #ifdef HAVE_IEEEFP_H
35391 #include <ieeefp.h>
35392 #endif
35395 main ()
35397 _expf(0);
35399 return 0;
35401 _ACEOF
35402 if ac_fn_cxx_try_compile "$LINENO"; then :
35403 glibcxx_cv_func__expf_use=yes
35404 else
35405 glibcxx_cv_func__expf_use=no
35407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35408 ac_ext=c
35409 ac_cpp='$CPP $CPPFLAGS'
35410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35419 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35421 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35422 for ac_func in _expf
35423 do :
35424 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35425 if test "x$ac_cv_func__expf" = x""yes; then :
35426 cat >>confdefs.h <<_ACEOF
35427 #define HAVE__EXPF 1
35428 _ACEOF
35431 done
35440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35441 $as_echo_n "checking for isnanf declaration... " >&6; }
35442 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35443 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35444 $as_echo_n "(cached) " >&6
35445 else
35448 ac_ext=cpp
35449 ac_cpp='$CXXCPP $CPPFLAGS'
35450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35455 /* end confdefs.h. */
35456 #include <math.h>
35457 #ifdef HAVE_IEEEFP_H
35458 #include <ieeefp.h>
35459 #endif
35462 main ()
35464 isnanf(0);
35466 return 0;
35468 _ACEOF
35469 if ac_fn_cxx_try_compile "$LINENO"; then :
35470 glibcxx_cv_func_isnanf_use=yes
35471 else
35472 glibcxx_cv_func_isnanf_use=no
35474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35475 ac_ext=c
35476 ac_cpp='$CPP $CPPFLAGS'
35477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35486 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35488 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35489 for ac_func in isnanf
35490 do :
35491 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35492 if test "x$ac_cv_func_isnanf" = x""yes; then :
35493 cat >>confdefs.h <<_ACEOF
35494 #define HAVE_ISNANF 1
35495 _ACEOF
35498 done
35500 else
35502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35503 $as_echo_n "checking for _isnanf declaration... " >&6; }
35504 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35505 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35506 $as_echo_n "(cached) " >&6
35507 else
35510 ac_ext=cpp
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35517 /* end confdefs.h. */
35518 #include <math.h>
35519 #ifdef HAVE_IEEEFP_H
35520 #include <ieeefp.h>
35521 #endif
35524 main ()
35526 _isnanf(0);
35528 return 0;
35530 _ACEOF
35531 if ac_fn_cxx_try_compile "$LINENO"; then :
35532 glibcxx_cv_func__isnanf_use=yes
35533 else
35534 glibcxx_cv_func__isnanf_use=no
35536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35537 ac_ext=c
35538 ac_cpp='$CPP $CPPFLAGS'
35539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35548 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35550 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35551 for ac_func in _isnanf
35552 do :
35553 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35554 if test "x$ac_cv_func__isnanf" = x""yes; then :
35555 cat >>confdefs.h <<_ACEOF
35556 #define HAVE__ISNANF 1
35557 _ACEOF
35560 done
35569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35570 $as_echo_n "checking for isinff declaration... " >&6; }
35571 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35572 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35573 $as_echo_n "(cached) " >&6
35574 else
35577 ac_ext=cpp
35578 ac_cpp='$CXXCPP $CPPFLAGS'
35579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35584 /* end confdefs.h. */
35585 #include <math.h>
35586 #ifdef HAVE_IEEEFP_H
35587 #include <ieeefp.h>
35588 #endif
35591 main ()
35593 isinff(0);
35595 return 0;
35597 _ACEOF
35598 if ac_fn_cxx_try_compile "$LINENO"; then :
35599 glibcxx_cv_func_isinff_use=yes
35600 else
35601 glibcxx_cv_func_isinff_use=no
35603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35604 ac_ext=c
35605 ac_cpp='$CPP $CPPFLAGS'
35606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35615 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35617 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35618 for ac_func in isinff
35619 do :
35620 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35621 if test "x$ac_cv_func_isinff" = x""yes; then :
35622 cat >>confdefs.h <<_ACEOF
35623 #define HAVE_ISINFF 1
35624 _ACEOF
35627 done
35629 else
35631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35632 $as_echo_n "checking for _isinff declaration... " >&6; }
35633 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35634 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35635 $as_echo_n "(cached) " >&6
35636 else
35639 ac_ext=cpp
35640 ac_cpp='$CXXCPP $CPPFLAGS'
35641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35646 /* end confdefs.h. */
35647 #include <math.h>
35648 #ifdef HAVE_IEEEFP_H
35649 #include <ieeefp.h>
35650 #endif
35653 main ()
35655 _isinff(0);
35657 return 0;
35659 _ACEOF
35660 if ac_fn_cxx_try_compile "$LINENO"; then :
35661 glibcxx_cv_func__isinff_use=yes
35662 else
35663 glibcxx_cv_func__isinff_use=no
35665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35666 ac_ext=c
35667 ac_cpp='$CPP $CPPFLAGS'
35668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35677 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35679 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35680 for ac_func in _isinff
35681 do :
35682 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35683 if test "x$ac_cv_func__isinff" = x""yes; then :
35684 cat >>confdefs.h <<_ACEOF
35685 #define HAVE__ISINFF 1
35686 _ACEOF
35689 done
35698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35699 $as_echo_n "checking for atan2f declaration... " >&6; }
35700 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35701 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35702 $as_echo_n "(cached) " >&6
35703 else
35706 ac_ext=cpp
35707 ac_cpp='$CXXCPP $CPPFLAGS'
35708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35713 /* end confdefs.h. */
35714 #include <math.h>
35716 main ()
35718 atan2f(0, 0);
35720 return 0;
35722 _ACEOF
35723 if ac_fn_cxx_try_compile "$LINENO"; then :
35724 glibcxx_cv_func_atan2f_use=yes
35725 else
35726 glibcxx_cv_func_atan2f_use=no
35728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35729 ac_ext=c
35730 ac_cpp='$CPP $CPPFLAGS'
35731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35740 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35742 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35743 for ac_func in atan2f
35744 do :
35745 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35746 if test "x$ac_cv_func_atan2f" = x""yes; then :
35747 cat >>confdefs.h <<_ACEOF
35748 #define HAVE_ATAN2F 1
35749 _ACEOF
35752 done
35754 else
35756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35757 $as_echo_n "checking for _atan2f declaration... " >&6; }
35758 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35759 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35760 $as_echo_n "(cached) " >&6
35761 else
35764 ac_ext=cpp
35765 ac_cpp='$CXXCPP $CPPFLAGS'
35766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35771 /* end confdefs.h. */
35772 #include <math.h>
35774 main ()
35776 _atan2f(0, 0);
35778 return 0;
35780 _ACEOF
35781 if ac_fn_cxx_try_compile "$LINENO"; then :
35782 glibcxx_cv_func__atan2f_use=yes
35783 else
35784 glibcxx_cv_func__atan2f_use=no
35786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35787 ac_ext=c
35788 ac_cpp='$CPP $CPPFLAGS'
35789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35798 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35800 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35801 for ac_func in _atan2f
35802 do :
35803 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35804 if test "x$ac_cv_func__atan2f" = x""yes; then :
35805 cat >>confdefs.h <<_ACEOF
35806 #define HAVE__ATAN2F 1
35807 _ACEOF
35810 done
35819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35820 $as_echo_n "checking for fabsf declaration... " >&6; }
35821 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35822 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35823 $as_echo_n "(cached) " >&6
35824 else
35827 ac_ext=cpp
35828 ac_cpp='$CXXCPP $CPPFLAGS'
35829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35834 /* end confdefs.h. */
35835 #include <math.h>
35836 #ifdef HAVE_IEEEFP_H
35837 #include <ieeefp.h>
35838 #endif
35841 main ()
35843 fabsf(0);
35845 return 0;
35847 _ACEOF
35848 if ac_fn_cxx_try_compile "$LINENO"; then :
35849 glibcxx_cv_func_fabsf_use=yes
35850 else
35851 glibcxx_cv_func_fabsf_use=no
35853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35854 ac_ext=c
35855 ac_cpp='$CPP $CPPFLAGS'
35856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35865 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35867 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35868 for ac_func in fabsf
35869 do :
35870 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35871 if test "x$ac_cv_func_fabsf" = x""yes; then :
35872 cat >>confdefs.h <<_ACEOF
35873 #define HAVE_FABSF 1
35874 _ACEOF
35877 done
35879 else
35881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35882 $as_echo_n "checking for _fabsf declaration... " >&6; }
35883 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35884 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35885 $as_echo_n "(cached) " >&6
35886 else
35889 ac_ext=cpp
35890 ac_cpp='$CXXCPP $CPPFLAGS'
35891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35896 /* end confdefs.h. */
35897 #include <math.h>
35898 #ifdef HAVE_IEEEFP_H
35899 #include <ieeefp.h>
35900 #endif
35903 main ()
35905 _fabsf(0);
35907 return 0;
35909 _ACEOF
35910 if ac_fn_cxx_try_compile "$LINENO"; then :
35911 glibcxx_cv_func__fabsf_use=yes
35912 else
35913 glibcxx_cv_func__fabsf_use=no
35915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35916 ac_ext=c
35917 ac_cpp='$CPP $CPPFLAGS'
35918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35927 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35929 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35930 for ac_func in _fabsf
35931 do :
35932 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35933 if test "x$ac_cv_func__fabsf" = x""yes; then :
35934 cat >>confdefs.h <<_ACEOF
35935 #define HAVE__FABSF 1
35936 _ACEOF
35939 done
35948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35949 $as_echo_n "checking for fmodf declaration... " >&6; }
35950 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35951 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35952 $as_echo_n "(cached) " >&6
35953 else
35956 ac_ext=cpp
35957 ac_cpp='$CXXCPP $CPPFLAGS'
35958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35963 /* end confdefs.h. */
35964 #include <math.h>
35966 main ()
35968 fmodf(0, 0);
35970 return 0;
35972 _ACEOF
35973 if ac_fn_cxx_try_compile "$LINENO"; then :
35974 glibcxx_cv_func_fmodf_use=yes
35975 else
35976 glibcxx_cv_func_fmodf_use=no
35978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35979 ac_ext=c
35980 ac_cpp='$CPP $CPPFLAGS'
35981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35990 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35992 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35993 for ac_func in fmodf
35994 do :
35995 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35996 if test "x$ac_cv_func_fmodf" = x""yes; then :
35997 cat >>confdefs.h <<_ACEOF
35998 #define HAVE_FMODF 1
35999 _ACEOF
36002 done
36004 else
36006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36007 $as_echo_n "checking for _fmodf declaration... " >&6; }
36008 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36009 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36010 $as_echo_n "(cached) " >&6
36011 else
36014 ac_ext=cpp
36015 ac_cpp='$CXXCPP $CPPFLAGS'
36016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36021 /* end confdefs.h. */
36022 #include <math.h>
36024 main ()
36026 _fmodf(0, 0);
36028 return 0;
36030 _ACEOF
36031 if ac_fn_cxx_try_compile "$LINENO"; then :
36032 glibcxx_cv_func__fmodf_use=yes
36033 else
36034 glibcxx_cv_func__fmodf_use=no
36036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36037 ac_ext=c
36038 ac_cpp='$CPP $CPPFLAGS'
36039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36048 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36050 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36051 for ac_func in _fmodf
36052 do :
36053 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36054 if test "x$ac_cv_func__fmodf" = x""yes; then :
36055 cat >>confdefs.h <<_ACEOF
36056 #define HAVE__FMODF 1
36057 _ACEOF
36060 done
36069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36070 $as_echo_n "checking for frexpf declaration... " >&6; }
36071 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36072 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36073 $as_echo_n "(cached) " >&6
36074 else
36077 ac_ext=cpp
36078 ac_cpp='$CXXCPP $CPPFLAGS'
36079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36084 /* end confdefs.h. */
36085 #include <math.h>
36087 main ()
36089 frexpf(0, 0);
36091 return 0;
36093 _ACEOF
36094 if ac_fn_cxx_try_compile "$LINENO"; then :
36095 glibcxx_cv_func_frexpf_use=yes
36096 else
36097 glibcxx_cv_func_frexpf_use=no
36099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36100 ac_ext=c
36101 ac_cpp='$CPP $CPPFLAGS'
36102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36111 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36113 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36114 for ac_func in frexpf
36115 do :
36116 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36117 if test "x$ac_cv_func_frexpf" = x""yes; then :
36118 cat >>confdefs.h <<_ACEOF
36119 #define HAVE_FREXPF 1
36120 _ACEOF
36123 done
36125 else
36127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36128 $as_echo_n "checking for _frexpf declaration... " >&6; }
36129 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36130 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36131 $as_echo_n "(cached) " >&6
36132 else
36135 ac_ext=cpp
36136 ac_cpp='$CXXCPP $CPPFLAGS'
36137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36142 /* end confdefs.h. */
36143 #include <math.h>
36145 main ()
36147 _frexpf(0, 0);
36149 return 0;
36151 _ACEOF
36152 if ac_fn_cxx_try_compile "$LINENO"; then :
36153 glibcxx_cv_func__frexpf_use=yes
36154 else
36155 glibcxx_cv_func__frexpf_use=no
36157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36158 ac_ext=c
36159 ac_cpp='$CPP $CPPFLAGS'
36160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36169 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36171 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36172 for ac_func in _frexpf
36173 do :
36174 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36175 if test "x$ac_cv_func__frexpf" = x""yes; then :
36176 cat >>confdefs.h <<_ACEOF
36177 #define HAVE__FREXPF 1
36178 _ACEOF
36181 done
36190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36191 $as_echo_n "checking for hypotf declaration... " >&6; }
36192 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36193 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36194 $as_echo_n "(cached) " >&6
36195 else
36198 ac_ext=cpp
36199 ac_cpp='$CXXCPP $CPPFLAGS'
36200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36205 /* end confdefs.h. */
36206 #include <math.h>
36208 main ()
36210 hypotf(0, 0);
36212 return 0;
36214 _ACEOF
36215 if ac_fn_cxx_try_compile "$LINENO"; then :
36216 glibcxx_cv_func_hypotf_use=yes
36217 else
36218 glibcxx_cv_func_hypotf_use=no
36220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36221 ac_ext=c
36222 ac_cpp='$CPP $CPPFLAGS'
36223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36232 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36234 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36235 for ac_func in hypotf
36236 do :
36237 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36238 if test "x$ac_cv_func_hypotf" = x""yes; then :
36239 cat >>confdefs.h <<_ACEOF
36240 #define HAVE_HYPOTF 1
36241 _ACEOF
36244 done
36246 else
36248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36249 $as_echo_n "checking for _hypotf declaration... " >&6; }
36250 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36251 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36252 $as_echo_n "(cached) " >&6
36253 else
36256 ac_ext=cpp
36257 ac_cpp='$CXXCPP $CPPFLAGS'
36258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36263 /* end confdefs.h. */
36264 #include <math.h>
36266 main ()
36268 _hypotf(0, 0);
36270 return 0;
36272 _ACEOF
36273 if ac_fn_cxx_try_compile "$LINENO"; then :
36274 glibcxx_cv_func__hypotf_use=yes
36275 else
36276 glibcxx_cv_func__hypotf_use=no
36278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36279 ac_ext=c
36280 ac_cpp='$CPP $CPPFLAGS'
36281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36290 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36292 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36293 for ac_func in _hypotf
36294 do :
36295 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36296 if test "x$ac_cv_func__hypotf" = x""yes; then :
36297 cat >>confdefs.h <<_ACEOF
36298 #define HAVE__HYPOTF 1
36299 _ACEOF
36302 done
36311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36312 $as_echo_n "checking for ldexpf declaration... " >&6; }
36313 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36314 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36315 $as_echo_n "(cached) " >&6
36316 else
36319 ac_ext=cpp
36320 ac_cpp='$CXXCPP $CPPFLAGS'
36321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36326 /* end confdefs.h. */
36327 #include <math.h>
36329 main ()
36331 ldexpf(0, 0);
36333 return 0;
36335 _ACEOF
36336 if ac_fn_cxx_try_compile "$LINENO"; then :
36337 glibcxx_cv_func_ldexpf_use=yes
36338 else
36339 glibcxx_cv_func_ldexpf_use=no
36341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36342 ac_ext=c
36343 ac_cpp='$CPP $CPPFLAGS'
36344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36353 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36355 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36356 for ac_func in ldexpf
36357 do :
36358 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36359 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36360 cat >>confdefs.h <<_ACEOF
36361 #define HAVE_LDEXPF 1
36362 _ACEOF
36365 done
36367 else
36369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36370 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36371 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36372 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36373 $as_echo_n "(cached) " >&6
36374 else
36377 ac_ext=cpp
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384 /* end confdefs.h. */
36385 #include <math.h>
36387 main ()
36389 _ldexpf(0, 0);
36391 return 0;
36393 _ACEOF
36394 if ac_fn_cxx_try_compile "$LINENO"; then :
36395 glibcxx_cv_func__ldexpf_use=yes
36396 else
36397 glibcxx_cv_func__ldexpf_use=no
36399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36400 ac_ext=c
36401 ac_cpp='$CPP $CPPFLAGS'
36402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36411 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36413 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36414 for ac_func in _ldexpf
36415 do :
36416 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36417 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36418 cat >>confdefs.h <<_ACEOF
36419 #define HAVE__LDEXPF 1
36420 _ACEOF
36423 done
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36433 $as_echo_n "checking for logf declaration... " >&6; }
36434 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36435 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36436 $as_echo_n "(cached) " >&6
36437 else
36440 ac_ext=cpp
36441 ac_cpp='$CXXCPP $CPPFLAGS'
36442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36447 /* end confdefs.h. */
36448 #include <math.h>
36449 #ifdef HAVE_IEEEFP_H
36450 #include <ieeefp.h>
36451 #endif
36454 main ()
36456 logf(0);
36458 return 0;
36460 _ACEOF
36461 if ac_fn_cxx_try_compile "$LINENO"; then :
36462 glibcxx_cv_func_logf_use=yes
36463 else
36464 glibcxx_cv_func_logf_use=no
36466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36467 ac_ext=c
36468 ac_cpp='$CPP $CPPFLAGS'
36469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36478 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36480 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36481 for ac_func in logf
36482 do :
36483 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36484 if test "x$ac_cv_func_logf" = x""yes; then :
36485 cat >>confdefs.h <<_ACEOF
36486 #define HAVE_LOGF 1
36487 _ACEOF
36490 done
36492 else
36494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36495 $as_echo_n "checking for _logf declaration... " >&6; }
36496 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36497 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36498 $as_echo_n "(cached) " >&6
36499 else
36502 ac_ext=cpp
36503 ac_cpp='$CXXCPP $CPPFLAGS'
36504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36509 /* end confdefs.h. */
36510 #include <math.h>
36511 #ifdef HAVE_IEEEFP_H
36512 #include <ieeefp.h>
36513 #endif
36516 main ()
36518 _logf(0);
36520 return 0;
36522 _ACEOF
36523 if ac_fn_cxx_try_compile "$LINENO"; then :
36524 glibcxx_cv_func__logf_use=yes
36525 else
36526 glibcxx_cv_func__logf_use=no
36528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36529 ac_ext=c
36530 ac_cpp='$CPP $CPPFLAGS'
36531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36540 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36542 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36543 for ac_func in _logf
36544 do :
36545 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36546 if test "x$ac_cv_func__logf" = x""yes; then :
36547 cat >>confdefs.h <<_ACEOF
36548 #define HAVE__LOGF 1
36549 _ACEOF
36552 done
36561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36562 $as_echo_n "checking for log10f declaration... " >&6; }
36563 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36564 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36565 $as_echo_n "(cached) " >&6
36566 else
36569 ac_ext=cpp
36570 ac_cpp='$CXXCPP $CPPFLAGS'
36571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36576 /* end confdefs.h. */
36577 #include <math.h>
36578 #ifdef HAVE_IEEEFP_H
36579 #include <ieeefp.h>
36580 #endif
36583 main ()
36585 log10f(0);
36587 return 0;
36589 _ACEOF
36590 if ac_fn_cxx_try_compile "$LINENO"; then :
36591 glibcxx_cv_func_log10f_use=yes
36592 else
36593 glibcxx_cv_func_log10f_use=no
36595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36596 ac_ext=c
36597 ac_cpp='$CPP $CPPFLAGS'
36598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36607 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36609 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36610 for ac_func in log10f
36611 do :
36612 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36613 if test "x$ac_cv_func_log10f" = x""yes; then :
36614 cat >>confdefs.h <<_ACEOF
36615 #define HAVE_LOG10F 1
36616 _ACEOF
36619 done
36621 else
36623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36624 $as_echo_n "checking for _log10f declaration... " >&6; }
36625 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36626 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36627 $as_echo_n "(cached) " >&6
36628 else
36631 ac_ext=cpp
36632 ac_cpp='$CXXCPP $CPPFLAGS'
36633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36638 /* end confdefs.h. */
36639 #include <math.h>
36640 #ifdef HAVE_IEEEFP_H
36641 #include <ieeefp.h>
36642 #endif
36645 main ()
36647 _log10f(0);
36649 return 0;
36651 _ACEOF
36652 if ac_fn_cxx_try_compile "$LINENO"; then :
36653 glibcxx_cv_func__log10f_use=yes
36654 else
36655 glibcxx_cv_func__log10f_use=no
36657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36658 ac_ext=c
36659 ac_cpp='$CPP $CPPFLAGS'
36660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36669 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36671 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36672 for ac_func in _log10f
36673 do :
36674 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36675 if test "x$ac_cv_func__log10f" = x""yes; then :
36676 cat >>confdefs.h <<_ACEOF
36677 #define HAVE__LOG10F 1
36678 _ACEOF
36681 done
36690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36691 $as_echo_n "checking for modff declaration... " >&6; }
36692 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36693 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36694 $as_echo_n "(cached) " >&6
36695 else
36698 ac_ext=cpp
36699 ac_cpp='$CXXCPP $CPPFLAGS'
36700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36705 /* end confdefs.h. */
36706 #include <math.h>
36708 main ()
36710 modff(0, 0);
36712 return 0;
36714 _ACEOF
36715 if ac_fn_cxx_try_compile "$LINENO"; then :
36716 glibcxx_cv_func_modff_use=yes
36717 else
36718 glibcxx_cv_func_modff_use=no
36720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36721 ac_ext=c
36722 ac_cpp='$CPP $CPPFLAGS'
36723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36732 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36734 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36735 for ac_func in modff
36736 do :
36737 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36738 if test "x$ac_cv_func_modff" = x""yes; then :
36739 cat >>confdefs.h <<_ACEOF
36740 #define HAVE_MODFF 1
36741 _ACEOF
36744 done
36746 else
36748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36749 $as_echo_n "checking for _modff declaration... " >&6; }
36750 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36751 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36752 $as_echo_n "(cached) " >&6
36753 else
36756 ac_ext=cpp
36757 ac_cpp='$CXXCPP $CPPFLAGS'
36758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36763 /* end confdefs.h. */
36764 #include <math.h>
36766 main ()
36768 _modff(0, 0);
36770 return 0;
36772 _ACEOF
36773 if ac_fn_cxx_try_compile "$LINENO"; then :
36774 glibcxx_cv_func__modff_use=yes
36775 else
36776 glibcxx_cv_func__modff_use=no
36778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36779 ac_ext=c
36780 ac_cpp='$CPP $CPPFLAGS'
36781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36790 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36792 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36793 for ac_func in _modff
36794 do :
36795 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36796 if test "x$ac_cv_func__modff" = x""yes; then :
36797 cat >>confdefs.h <<_ACEOF
36798 #define HAVE__MODFF 1
36799 _ACEOF
36802 done
36811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36812 $as_echo_n "checking for modf declaration... " >&6; }
36813 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36814 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36815 $as_echo_n "(cached) " >&6
36816 else
36819 ac_ext=cpp
36820 ac_cpp='$CXXCPP $CPPFLAGS'
36821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36826 /* end confdefs.h. */
36827 #include <math.h>
36829 main ()
36831 modf(0, 0);
36833 return 0;
36835 _ACEOF
36836 if ac_fn_cxx_try_compile "$LINENO"; then :
36837 glibcxx_cv_func_modf_use=yes
36838 else
36839 glibcxx_cv_func_modf_use=no
36841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36842 ac_ext=c
36843 ac_cpp='$CPP $CPPFLAGS'
36844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36853 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36855 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36856 for ac_func in modf
36857 do :
36858 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36859 if test "x$ac_cv_func_modf" = x""yes; then :
36860 cat >>confdefs.h <<_ACEOF
36861 #define HAVE_MODF 1
36862 _ACEOF
36865 done
36867 else
36869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36870 $as_echo_n "checking for _modf declaration... " >&6; }
36871 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36872 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36873 $as_echo_n "(cached) " >&6
36874 else
36877 ac_ext=cpp
36878 ac_cpp='$CXXCPP $CPPFLAGS'
36879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36884 /* end confdefs.h. */
36885 #include <math.h>
36887 main ()
36889 _modf(0, 0);
36891 return 0;
36893 _ACEOF
36894 if ac_fn_cxx_try_compile "$LINENO"; then :
36895 glibcxx_cv_func__modf_use=yes
36896 else
36897 glibcxx_cv_func__modf_use=no
36899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36900 ac_ext=c
36901 ac_cpp='$CPP $CPPFLAGS'
36902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36911 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36913 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36914 for ac_func in _modf
36915 do :
36916 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36917 if test "x$ac_cv_func__modf" = x""yes; then :
36918 cat >>confdefs.h <<_ACEOF
36919 #define HAVE__MODF 1
36920 _ACEOF
36923 done
36932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36933 $as_echo_n "checking for powf declaration... " >&6; }
36934 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36935 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36936 $as_echo_n "(cached) " >&6
36937 else
36940 ac_ext=cpp
36941 ac_cpp='$CXXCPP $CPPFLAGS'
36942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36947 /* end confdefs.h. */
36948 #include <math.h>
36950 main ()
36952 powf(0, 0);
36954 return 0;
36956 _ACEOF
36957 if ac_fn_cxx_try_compile "$LINENO"; then :
36958 glibcxx_cv_func_powf_use=yes
36959 else
36960 glibcxx_cv_func_powf_use=no
36962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36963 ac_ext=c
36964 ac_cpp='$CPP $CPPFLAGS'
36965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36974 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36976 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36977 for ac_func in powf
36978 do :
36979 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36980 if test "x$ac_cv_func_powf" = x""yes; then :
36981 cat >>confdefs.h <<_ACEOF
36982 #define HAVE_POWF 1
36983 _ACEOF
36986 done
36988 else
36990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36991 $as_echo_n "checking for _powf declaration... " >&6; }
36992 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36993 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36994 $as_echo_n "(cached) " >&6
36995 else
36998 ac_ext=cpp
36999 ac_cpp='$CXXCPP $CPPFLAGS'
37000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37005 /* end confdefs.h. */
37006 #include <math.h>
37008 main ()
37010 _powf(0, 0);
37012 return 0;
37014 _ACEOF
37015 if ac_fn_cxx_try_compile "$LINENO"; then :
37016 glibcxx_cv_func__powf_use=yes
37017 else
37018 glibcxx_cv_func__powf_use=no
37020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37021 ac_ext=c
37022 ac_cpp='$CPP $CPPFLAGS'
37023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37032 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37034 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37035 for ac_func in _powf
37036 do :
37037 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37038 if test "x$ac_cv_func__powf" = x""yes; then :
37039 cat >>confdefs.h <<_ACEOF
37040 #define HAVE__POWF 1
37041 _ACEOF
37044 done
37053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37054 $as_echo_n "checking for sqrtf declaration... " >&6; }
37055 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37056 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37057 $as_echo_n "(cached) " >&6
37058 else
37061 ac_ext=cpp
37062 ac_cpp='$CXXCPP $CPPFLAGS'
37063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37068 /* end confdefs.h. */
37069 #include <math.h>
37070 #ifdef HAVE_IEEEFP_H
37071 #include <ieeefp.h>
37072 #endif
37075 main ()
37077 sqrtf(0);
37079 return 0;
37081 _ACEOF
37082 if ac_fn_cxx_try_compile "$LINENO"; then :
37083 glibcxx_cv_func_sqrtf_use=yes
37084 else
37085 glibcxx_cv_func_sqrtf_use=no
37087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37088 ac_ext=c
37089 ac_cpp='$CPP $CPPFLAGS'
37090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37099 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37101 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37102 for ac_func in sqrtf
37103 do :
37104 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37105 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37106 cat >>confdefs.h <<_ACEOF
37107 #define HAVE_SQRTF 1
37108 _ACEOF
37111 done
37113 else
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37116 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37117 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37118 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37119 $as_echo_n "(cached) " >&6
37120 else
37123 ac_ext=cpp
37124 ac_cpp='$CXXCPP $CPPFLAGS'
37125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37130 /* end confdefs.h. */
37131 #include <math.h>
37132 #ifdef HAVE_IEEEFP_H
37133 #include <ieeefp.h>
37134 #endif
37137 main ()
37139 _sqrtf(0);
37141 return 0;
37143 _ACEOF
37144 if ac_fn_cxx_try_compile "$LINENO"; then :
37145 glibcxx_cv_func__sqrtf_use=yes
37146 else
37147 glibcxx_cv_func__sqrtf_use=no
37149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37150 ac_ext=c
37151 ac_cpp='$CPP $CPPFLAGS'
37152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37161 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37163 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37164 for ac_func in _sqrtf
37165 do :
37166 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37167 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37168 cat >>confdefs.h <<_ACEOF
37169 #define HAVE__SQRTF 1
37170 _ACEOF
37173 done
37182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37183 $as_echo_n "checking for sincosf declaration... " >&6; }
37184 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37185 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37186 $as_echo_n "(cached) " >&6
37187 else
37190 ac_ext=cpp
37191 ac_cpp='$CXXCPP $CPPFLAGS'
37192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37197 /* end confdefs.h. */
37198 #include <math.h>
37200 main ()
37202 sincosf(0, 0, 0);
37204 return 0;
37206 _ACEOF
37207 if ac_fn_cxx_try_compile "$LINENO"; then :
37208 glibcxx_cv_func_sincosf_use=yes
37209 else
37210 glibcxx_cv_func_sincosf_use=no
37212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37213 ac_ext=c
37214 ac_cpp='$CPP $CPPFLAGS'
37215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37224 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37226 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37227 for ac_func in sincosf
37228 do :
37229 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37230 if test "x$ac_cv_func_sincosf" = x""yes; then :
37231 cat >>confdefs.h <<_ACEOF
37232 #define HAVE_SINCOSF 1
37233 _ACEOF
37236 done
37238 else
37240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37241 $as_echo_n "checking for _sincosf declaration... " >&6; }
37242 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37243 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37244 $as_echo_n "(cached) " >&6
37245 else
37248 ac_ext=cpp
37249 ac_cpp='$CXXCPP $CPPFLAGS'
37250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37255 /* end confdefs.h. */
37256 #include <math.h>
37258 main ()
37260 _sincosf(0, 0, 0);
37262 return 0;
37264 _ACEOF
37265 if ac_fn_cxx_try_compile "$LINENO"; then :
37266 glibcxx_cv_func__sincosf_use=yes
37267 else
37268 glibcxx_cv_func__sincosf_use=no
37270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37271 ac_ext=c
37272 ac_cpp='$CPP $CPPFLAGS'
37273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37282 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37284 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37285 for ac_func in _sincosf
37286 do :
37287 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37288 if test "x$ac_cv_func__sincosf" = x""yes; then :
37289 cat >>confdefs.h <<_ACEOF
37290 #define HAVE__SINCOSF 1
37291 _ACEOF
37294 done
37303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37304 $as_echo_n "checking for finitef declaration... " >&6; }
37305 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37306 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37307 $as_echo_n "(cached) " >&6
37308 else
37311 ac_ext=cpp
37312 ac_cpp='$CXXCPP $CPPFLAGS'
37313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37318 /* end confdefs.h. */
37319 #include <math.h>
37320 #ifdef HAVE_IEEEFP_H
37321 #include <ieeefp.h>
37322 #endif
37325 main ()
37327 finitef(0);
37329 return 0;
37331 _ACEOF
37332 if ac_fn_cxx_try_compile "$LINENO"; then :
37333 glibcxx_cv_func_finitef_use=yes
37334 else
37335 glibcxx_cv_func_finitef_use=no
37337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37338 ac_ext=c
37339 ac_cpp='$CPP $CPPFLAGS'
37340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37349 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37351 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37352 for ac_func in finitef
37353 do :
37354 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37355 if test "x$ac_cv_func_finitef" = x""yes; then :
37356 cat >>confdefs.h <<_ACEOF
37357 #define HAVE_FINITEF 1
37358 _ACEOF
37361 done
37363 else
37365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37366 $as_echo_n "checking for _finitef declaration... " >&6; }
37367 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37368 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37369 $as_echo_n "(cached) " >&6
37370 else
37373 ac_ext=cpp
37374 ac_cpp='$CXXCPP $CPPFLAGS'
37375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37380 /* end confdefs.h. */
37381 #include <math.h>
37382 #ifdef HAVE_IEEEFP_H
37383 #include <ieeefp.h>
37384 #endif
37387 main ()
37389 _finitef(0);
37391 return 0;
37393 _ACEOF
37394 if ac_fn_cxx_try_compile "$LINENO"; then :
37395 glibcxx_cv_func__finitef_use=yes
37396 else
37397 glibcxx_cv_func__finitef_use=no
37399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37400 ac_ext=c
37401 ac_cpp='$CPP $CPPFLAGS'
37402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37411 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37413 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37414 for ac_func in _finitef
37415 do :
37416 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37417 if test "x$ac_cv_func__finitef" = x""yes; then :
37418 cat >>confdefs.h <<_ACEOF
37419 #define HAVE__FINITEF 1
37420 _ACEOF
37423 done
37432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37433 $as_echo_n "checking for long double trig functions... " >&6; }
37434 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37435 $as_echo_n "(cached) " >&6
37436 else
37439 ac_ext=cpp
37440 ac_cpp='$CXXCPP $CPPFLAGS'
37441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37446 /* end confdefs.h. */
37447 #include <math.h>
37449 main ()
37451 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37453 return 0;
37455 _ACEOF
37456 if ac_fn_cxx_try_compile "$LINENO"; then :
37457 glibcxx_cv_func_long_double_trig_use=yes
37458 else
37459 glibcxx_cv_func_long_double_trig_use=no
37461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37462 ac_ext=c
37463 ac_cpp='$CPP $CPPFLAGS'
37464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37471 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37472 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37473 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37474 do :
37475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37477 eval as_val=\$$as_ac_var
37478 if test "x$as_val" = x""yes; then :
37479 cat >>confdefs.h <<_ACEOF
37480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37481 _ACEOF
37484 done
37486 else
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37488 $as_echo_n "checking for _long double trig functions... " >&6; }
37489 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37490 $as_echo_n "(cached) " >&6
37491 else
37494 ac_ext=cpp
37495 ac_cpp='$CXXCPP $CPPFLAGS'
37496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37501 /* end confdefs.h. */
37502 #include <math.h>
37504 main ()
37506 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37508 return 0;
37510 _ACEOF
37511 if ac_fn_cxx_try_compile "$LINENO"; then :
37512 glibcxx_cv_func__long_double_trig_use=yes
37513 else
37514 glibcxx_cv_func__long_double_trig_use=no
37516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37517 ac_ext=c
37518 ac_cpp='$CPP $CPPFLAGS'
37519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37526 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37527 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37528 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37529 do :
37530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37532 eval as_val=\$$as_ac_var
37533 if test "x$as_val" = x""yes; then :
37534 cat >>confdefs.h <<_ACEOF
37535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37536 _ACEOF
37539 done
37548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37549 $as_echo_n "checking for long double round functions... " >&6; }
37550 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37551 $as_echo_n "(cached) " >&6
37552 else
37555 ac_ext=cpp
37556 ac_cpp='$CXXCPP $CPPFLAGS'
37557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37562 /* end confdefs.h. */
37563 #include <math.h>
37565 main ()
37567 ceill (0); floorl (0);
37569 return 0;
37571 _ACEOF
37572 if ac_fn_cxx_try_compile "$LINENO"; then :
37573 glibcxx_cv_func_long_double_round_use=yes
37574 else
37575 glibcxx_cv_func_long_double_round_use=no
37577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37578 ac_ext=c
37579 ac_cpp='$CPP $CPPFLAGS'
37580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37587 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37588 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37589 for ac_func in ceill floorl
37590 do :
37591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37593 eval as_val=\$$as_ac_var
37594 if test "x$as_val" = x""yes; then :
37595 cat >>confdefs.h <<_ACEOF
37596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37597 _ACEOF
37600 done
37602 else
37603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37604 $as_echo_n "checking for _long double round functions... " >&6; }
37605 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37606 $as_echo_n "(cached) " >&6
37607 else
37610 ac_ext=cpp
37611 ac_cpp='$CXXCPP $CPPFLAGS'
37612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37617 /* end confdefs.h. */
37618 #include <math.h>
37620 main ()
37622 _ceill (0); _floorl (0);
37624 return 0;
37626 _ACEOF
37627 if ac_fn_cxx_try_compile "$LINENO"; then :
37628 glibcxx_cv_func__long_double_round_use=yes
37629 else
37630 glibcxx_cv_func__long_double_round_use=no
37632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37633 ac_ext=c
37634 ac_cpp='$CPP $CPPFLAGS'
37635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37642 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37643 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37644 for ac_func in _ceill _floorl
37645 do :
37646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37648 eval as_val=\$$as_ac_var
37649 if test "x$as_val" = x""yes; then :
37650 cat >>confdefs.h <<_ACEOF
37651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37652 _ACEOF
37655 done
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37666 $as_echo_n "checking for isnanl declaration... " >&6; }
37667 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37668 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37669 $as_echo_n "(cached) " >&6
37670 else
37673 ac_ext=cpp
37674 ac_cpp='$CXXCPP $CPPFLAGS'
37675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37680 /* end confdefs.h. */
37681 #include <math.h>
37682 #ifdef HAVE_IEEEFP_H
37683 #include <ieeefp.h>
37684 #endif
37687 main ()
37689 isnanl(0);
37691 return 0;
37693 _ACEOF
37694 if ac_fn_cxx_try_compile "$LINENO"; then :
37695 glibcxx_cv_func_isnanl_use=yes
37696 else
37697 glibcxx_cv_func_isnanl_use=no
37699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700 ac_ext=c
37701 ac_cpp='$CPP $CPPFLAGS'
37702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37711 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37713 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37714 for ac_func in isnanl
37715 do :
37716 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37717 if test "x$ac_cv_func_isnanl" = x""yes; then :
37718 cat >>confdefs.h <<_ACEOF
37719 #define HAVE_ISNANL 1
37720 _ACEOF
37723 done
37725 else
37727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37728 $as_echo_n "checking for _isnanl declaration... " >&6; }
37729 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37730 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37731 $as_echo_n "(cached) " >&6
37732 else
37735 ac_ext=cpp
37736 ac_cpp='$CXXCPP $CPPFLAGS'
37737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37742 /* end confdefs.h. */
37743 #include <math.h>
37744 #ifdef HAVE_IEEEFP_H
37745 #include <ieeefp.h>
37746 #endif
37749 main ()
37751 _isnanl(0);
37753 return 0;
37755 _ACEOF
37756 if ac_fn_cxx_try_compile "$LINENO"; then :
37757 glibcxx_cv_func__isnanl_use=yes
37758 else
37759 glibcxx_cv_func__isnanl_use=no
37761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37762 ac_ext=c
37763 ac_cpp='$CPP $CPPFLAGS'
37764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37773 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37775 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37776 for ac_func in _isnanl
37777 do :
37778 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37779 if test "x$ac_cv_func__isnanl" = x""yes; then :
37780 cat >>confdefs.h <<_ACEOF
37781 #define HAVE__ISNANL 1
37782 _ACEOF
37785 done
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37795 $as_echo_n "checking for isinfl declaration... " >&6; }
37796 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37797 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37798 $as_echo_n "(cached) " >&6
37799 else
37802 ac_ext=cpp
37803 ac_cpp='$CXXCPP $CPPFLAGS'
37804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37809 /* end confdefs.h. */
37810 #include <math.h>
37811 #ifdef HAVE_IEEEFP_H
37812 #include <ieeefp.h>
37813 #endif
37816 main ()
37818 isinfl(0);
37820 return 0;
37822 _ACEOF
37823 if ac_fn_cxx_try_compile "$LINENO"; then :
37824 glibcxx_cv_func_isinfl_use=yes
37825 else
37826 glibcxx_cv_func_isinfl_use=no
37828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37829 ac_ext=c
37830 ac_cpp='$CPP $CPPFLAGS'
37831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37840 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37842 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37843 for ac_func in isinfl
37844 do :
37845 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37846 if test "x$ac_cv_func_isinfl" = x""yes; then :
37847 cat >>confdefs.h <<_ACEOF
37848 #define HAVE_ISINFL 1
37849 _ACEOF
37852 done
37854 else
37856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37857 $as_echo_n "checking for _isinfl declaration... " >&6; }
37858 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37859 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37860 $as_echo_n "(cached) " >&6
37861 else
37864 ac_ext=cpp
37865 ac_cpp='$CXXCPP $CPPFLAGS'
37866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37871 /* end confdefs.h. */
37872 #include <math.h>
37873 #ifdef HAVE_IEEEFP_H
37874 #include <ieeefp.h>
37875 #endif
37878 main ()
37880 _isinfl(0);
37882 return 0;
37884 _ACEOF
37885 if ac_fn_cxx_try_compile "$LINENO"; then :
37886 glibcxx_cv_func__isinfl_use=yes
37887 else
37888 glibcxx_cv_func__isinfl_use=no
37890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37891 ac_ext=c
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37902 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37904 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37905 for ac_func in _isinfl
37906 do :
37907 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37908 if test "x$ac_cv_func__isinfl" = x""yes; then :
37909 cat >>confdefs.h <<_ACEOF
37910 #define HAVE__ISINFL 1
37911 _ACEOF
37914 done
37923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37924 $as_echo_n "checking for atan2l declaration... " >&6; }
37925 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37926 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37927 $as_echo_n "(cached) " >&6
37928 else
37931 ac_ext=cpp
37932 ac_cpp='$CXXCPP $CPPFLAGS'
37933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37938 /* end confdefs.h. */
37939 #include <math.h>
37941 main ()
37943 atan2l(0, 0);
37945 return 0;
37947 _ACEOF
37948 if ac_fn_cxx_try_compile "$LINENO"; then :
37949 glibcxx_cv_func_atan2l_use=yes
37950 else
37951 glibcxx_cv_func_atan2l_use=no
37953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37954 ac_ext=c
37955 ac_cpp='$CPP $CPPFLAGS'
37956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37965 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37967 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37968 for ac_func in atan2l
37969 do :
37970 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37971 if test "x$ac_cv_func_atan2l" = x""yes; then :
37972 cat >>confdefs.h <<_ACEOF
37973 #define HAVE_ATAN2L 1
37974 _ACEOF
37977 done
37979 else
37981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37982 $as_echo_n "checking for _atan2l declaration... " >&6; }
37983 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37984 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37985 $as_echo_n "(cached) " >&6
37986 else
37989 ac_ext=cpp
37990 ac_cpp='$CXXCPP $CPPFLAGS'
37991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37996 /* end confdefs.h. */
37997 #include <math.h>
37999 main ()
38001 _atan2l(0, 0);
38003 return 0;
38005 _ACEOF
38006 if ac_fn_cxx_try_compile "$LINENO"; then :
38007 glibcxx_cv_func__atan2l_use=yes
38008 else
38009 glibcxx_cv_func__atan2l_use=no
38011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38012 ac_ext=c
38013 ac_cpp='$CPP $CPPFLAGS'
38014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38023 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38025 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38026 for ac_func in _atan2l
38027 do :
38028 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38029 if test "x$ac_cv_func__atan2l" = x""yes; then :
38030 cat >>confdefs.h <<_ACEOF
38031 #define HAVE__ATAN2L 1
38032 _ACEOF
38035 done
38044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38045 $as_echo_n "checking for expl declaration... " >&6; }
38046 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38047 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38048 $as_echo_n "(cached) " >&6
38049 else
38052 ac_ext=cpp
38053 ac_cpp='$CXXCPP $CPPFLAGS'
38054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38059 /* end confdefs.h. */
38060 #include <math.h>
38061 #ifdef HAVE_IEEEFP_H
38062 #include <ieeefp.h>
38063 #endif
38066 main ()
38068 expl(0);
38070 return 0;
38072 _ACEOF
38073 if ac_fn_cxx_try_compile "$LINENO"; then :
38074 glibcxx_cv_func_expl_use=yes
38075 else
38076 glibcxx_cv_func_expl_use=no
38078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38079 ac_ext=c
38080 ac_cpp='$CPP $CPPFLAGS'
38081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38090 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38092 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38093 for ac_func in expl
38094 do :
38095 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38096 if test "x$ac_cv_func_expl" = x""yes; then :
38097 cat >>confdefs.h <<_ACEOF
38098 #define HAVE_EXPL 1
38099 _ACEOF
38102 done
38104 else
38106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38107 $as_echo_n "checking for _expl declaration... " >&6; }
38108 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38109 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38110 $as_echo_n "(cached) " >&6
38111 else
38114 ac_ext=cpp
38115 ac_cpp='$CXXCPP $CPPFLAGS'
38116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38121 /* end confdefs.h. */
38122 #include <math.h>
38123 #ifdef HAVE_IEEEFP_H
38124 #include <ieeefp.h>
38125 #endif
38128 main ()
38130 _expl(0);
38132 return 0;
38134 _ACEOF
38135 if ac_fn_cxx_try_compile "$LINENO"; then :
38136 glibcxx_cv_func__expl_use=yes
38137 else
38138 glibcxx_cv_func__expl_use=no
38140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38141 ac_ext=c
38142 ac_cpp='$CPP $CPPFLAGS'
38143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38152 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38154 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38155 for ac_func in _expl
38156 do :
38157 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38158 if test "x$ac_cv_func__expl" = x""yes; then :
38159 cat >>confdefs.h <<_ACEOF
38160 #define HAVE__EXPL 1
38161 _ACEOF
38164 done
38173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38174 $as_echo_n "checking for fabsl declaration... " >&6; }
38175 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38176 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38177 $as_echo_n "(cached) " >&6
38178 else
38181 ac_ext=cpp
38182 ac_cpp='$CXXCPP $CPPFLAGS'
38183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38188 /* end confdefs.h. */
38189 #include <math.h>
38190 #ifdef HAVE_IEEEFP_H
38191 #include <ieeefp.h>
38192 #endif
38195 main ()
38197 fabsl(0);
38199 return 0;
38201 _ACEOF
38202 if ac_fn_cxx_try_compile "$LINENO"; then :
38203 glibcxx_cv_func_fabsl_use=yes
38204 else
38205 glibcxx_cv_func_fabsl_use=no
38207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38208 ac_ext=c
38209 ac_cpp='$CPP $CPPFLAGS'
38210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38219 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38221 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38222 for ac_func in fabsl
38223 do :
38224 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38225 if test "x$ac_cv_func_fabsl" = x""yes; then :
38226 cat >>confdefs.h <<_ACEOF
38227 #define HAVE_FABSL 1
38228 _ACEOF
38231 done
38233 else
38235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38236 $as_echo_n "checking for _fabsl declaration... " >&6; }
38237 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38238 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38239 $as_echo_n "(cached) " >&6
38240 else
38243 ac_ext=cpp
38244 ac_cpp='$CXXCPP $CPPFLAGS'
38245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38250 /* end confdefs.h. */
38251 #include <math.h>
38252 #ifdef HAVE_IEEEFP_H
38253 #include <ieeefp.h>
38254 #endif
38257 main ()
38259 _fabsl(0);
38261 return 0;
38263 _ACEOF
38264 if ac_fn_cxx_try_compile "$LINENO"; then :
38265 glibcxx_cv_func__fabsl_use=yes
38266 else
38267 glibcxx_cv_func__fabsl_use=no
38269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38270 ac_ext=c
38271 ac_cpp='$CPP $CPPFLAGS'
38272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38281 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38283 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38284 for ac_func in _fabsl
38285 do :
38286 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38287 if test "x$ac_cv_func__fabsl" = x""yes; then :
38288 cat >>confdefs.h <<_ACEOF
38289 #define HAVE__FABSL 1
38290 _ACEOF
38293 done
38302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38303 $as_echo_n "checking for fmodl declaration... " >&6; }
38304 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38305 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38306 $as_echo_n "(cached) " >&6
38307 else
38310 ac_ext=cpp
38311 ac_cpp='$CXXCPP $CPPFLAGS'
38312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38317 /* end confdefs.h. */
38318 #include <math.h>
38320 main ()
38322 fmodl(0, 0);
38324 return 0;
38326 _ACEOF
38327 if ac_fn_cxx_try_compile "$LINENO"; then :
38328 glibcxx_cv_func_fmodl_use=yes
38329 else
38330 glibcxx_cv_func_fmodl_use=no
38332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38333 ac_ext=c
38334 ac_cpp='$CPP $CPPFLAGS'
38335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38344 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38346 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38347 for ac_func in fmodl
38348 do :
38349 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38350 if test "x$ac_cv_func_fmodl" = x""yes; then :
38351 cat >>confdefs.h <<_ACEOF
38352 #define HAVE_FMODL 1
38353 _ACEOF
38356 done
38358 else
38360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38361 $as_echo_n "checking for _fmodl declaration... " >&6; }
38362 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38363 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38364 $as_echo_n "(cached) " >&6
38365 else
38368 ac_ext=cpp
38369 ac_cpp='$CXXCPP $CPPFLAGS'
38370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38375 /* end confdefs.h. */
38376 #include <math.h>
38378 main ()
38380 _fmodl(0, 0);
38382 return 0;
38384 _ACEOF
38385 if ac_fn_cxx_try_compile "$LINENO"; then :
38386 glibcxx_cv_func__fmodl_use=yes
38387 else
38388 glibcxx_cv_func__fmodl_use=no
38390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38391 ac_ext=c
38392 ac_cpp='$CPP $CPPFLAGS'
38393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38402 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38404 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38405 for ac_func in _fmodl
38406 do :
38407 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38408 if test "x$ac_cv_func__fmodl" = x""yes; then :
38409 cat >>confdefs.h <<_ACEOF
38410 #define HAVE__FMODL 1
38411 _ACEOF
38414 done
38423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38424 $as_echo_n "checking for frexpl declaration... " >&6; }
38425 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38426 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38427 $as_echo_n "(cached) " >&6
38428 else
38431 ac_ext=cpp
38432 ac_cpp='$CXXCPP $CPPFLAGS'
38433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38438 /* end confdefs.h. */
38439 #include <math.h>
38441 main ()
38443 frexpl(0, 0);
38445 return 0;
38447 _ACEOF
38448 if ac_fn_cxx_try_compile "$LINENO"; then :
38449 glibcxx_cv_func_frexpl_use=yes
38450 else
38451 glibcxx_cv_func_frexpl_use=no
38453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38454 ac_ext=c
38455 ac_cpp='$CPP $CPPFLAGS'
38456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38465 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38467 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38468 for ac_func in frexpl
38469 do :
38470 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38471 if test "x$ac_cv_func_frexpl" = x""yes; then :
38472 cat >>confdefs.h <<_ACEOF
38473 #define HAVE_FREXPL 1
38474 _ACEOF
38477 done
38479 else
38481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38482 $as_echo_n "checking for _frexpl declaration... " >&6; }
38483 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38484 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38485 $as_echo_n "(cached) " >&6
38486 else
38489 ac_ext=cpp
38490 ac_cpp='$CXXCPP $CPPFLAGS'
38491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38496 /* end confdefs.h. */
38497 #include <math.h>
38499 main ()
38501 _frexpl(0, 0);
38503 return 0;
38505 _ACEOF
38506 if ac_fn_cxx_try_compile "$LINENO"; then :
38507 glibcxx_cv_func__frexpl_use=yes
38508 else
38509 glibcxx_cv_func__frexpl_use=no
38511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38512 ac_ext=c
38513 ac_cpp='$CPP $CPPFLAGS'
38514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38523 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38525 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38526 for ac_func in _frexpl
38527 do :
38528 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38529 if test "x$ac_cv_func__frexpl" = x""yes; then :
38530 cat >>confdefs.h <<_ACEOF
38531 #define HAVE__FREXPL 1
38532 _ACEOF
38535 done
38544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38545 $as_echo_n "checking for hypotl declaration... " >&6; }
38546 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38547 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38548 $as_echo_n "(cached) " >&6
38549 else
38552 ac_ext=cpp
38553 ac_cpp='$CXXCPP $CPPFLAGS'
38554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38559 /* end confdefs.h. */
38560 #include <math.h>
38562 main ()
38564 hypotl(0, 0);
38566 return 0;
38568 _ACEOF
38569 if ac_fn_cxx_try_compile "$LINENO"; then :
38570 glibcxx_cv_func_hypotl_use=yes
38571 else
38572 glibcxx_cv_func_hypotl_use=no
38574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38575 ac_ext=c
38576 ac_cpp='$CPP $CPPFLAGS'
38577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38586 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38588 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38589 for ac_func in hypotl
38590 do :
38591 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38592 if test "x$ac_cv_func_hypotl" = x""yes; then :
38593 cat >>confdefs.h <<_ACEOF
38594 #define HAVE_HYPOTL 1
38595 _ACEOF
38598 done
38600 else
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38603 $as_echo_n "checking for _hypotl declaration... " >&6; }
38604 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38605 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38606 $as_echo_n "(cached) " >&6
38607 else
38610 ac_ext=cpp
38611 ac_cpp='$CXXCPP $CPPFLAGS'
38612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38617 /* end confdefs.h. */
38618 #include <math.h>
38620 main ()
38622 _hypotl(0, 0);
38624 return 0;
38626 _ACEOF
38627 if ac_fn_cxx_try_compile "$LINENO"; then :
38628 glibcxx_cv_func__hypotl_use=yes
38629 else
38630 glibcxx_cv_func__hypotl_use=no
38632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38633 ac_ext=c
38634 ac_cpp='$CPP $CPPFLAGS'
38635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38644 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38646 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38647 for ac_func in _hypotl
38648 do :
38649 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38650 if test "x$ac_cv_func__hypotl" = x""yes; then :
38651 cat >>confdefs.h <<_ACEOF
38652 #define HAVE__HYPOTL 1
38653 _ACEOF
38656 done
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38666 $as_echo_n "checking for ldexpl declaration... " >&6; }
38667 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38668 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38669 $as_echo_n "(cached) " >&6
38670 else
38673 ac_ext=cpp
38674 ac_cpp='$CXXCPP $CPPFLAGS'
38675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38680 /* end confdefs.h. */
38681 #include <math.h>
38683 main ()
38685 ldexpl(0, 0);
38687 return 0;
38689 _ACEOF
38690 if ac_fn_cxx_try_compile "$LINENO"; then :
38691 glibcxx_cv_func_ldexpl_use=yes
38692 else
38693 glibcxx_cv_func_ldexpl_use=no
38695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38696 ac_ext=c
38697 ac_cpp='$CPP $CPPFLAGS'
38698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38707 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38709 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38710 for ac_func in ldexpl
38711 do :
38712 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38713 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38714 cat >>confdefs.h <<_ACEOF
38715 #define HAVE_LDEXPL 1
38716 _ACEOF
38719 done
38721 else
38723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38724 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38725 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38726 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38727 $as_echo_n "(cached) " >&6
38728 else
38731 ac_ext=cpp
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38738 /* end confdefs.h. */
38739 #include <math.h>
38741 main ()
38743 _ldexpl(0, 0);
38745 return 0;
38747 _ACEOF
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749 glibcxx_cv_func__ldexpl_use=yes
38750 else
38751 glibcxx_cv_func__ldexpl_use=no
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38754 ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38765 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38767 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38768 for ac_func in _ldexpl
38769 do :
38770 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38771 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38772 cat >>confdefs.h <<_ACEOF
38773 #define HAVE__LDEXPL 1
38774 _ACEOF
38777 done
38786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38787 $as_echo_n "checking for logl declaration... " >&6; }
38788 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38789 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38790 $as_echo_n "(cached) " >&6
38791 else
38794 ac_ext=cpp
38795 ac_cpp='$CXXCPP $CPPFLAGS'
38796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38801 /* end confdefs.h. */
38802 #include <math.h>
38803 #ifdef HAVE_IEEEFP_H
38804 #include <ieeefp.h>
38805 #endif
38808 main ()
38810 logl(0);
38812 return 0;
38814 _ACEOF
38815 if ac_fn_cxx_try_compile "$LINENO"; then :
38816 glibcxx_cv_func_logl_use=yes
38817 else
38818 glibcxx_cv_func_logl_use=no
38820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38821 ac_ext=c
38822 ac_cpp='$CPP $CPPFLAGS'
38823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38832 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38834 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38835 for ac_func in logl
38836 do :
38837 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38838 if test "x$ac_cv_func_logl" = x""yes; then :
38839 cat >>confdefs.h <<_ACEOF
38840 #define HAVE_LOGL 1
38841 _ACEOF
38844 done
38846 else
38848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38849 $as_echo_n "checking for _logl declaration... " >&6; }
38850 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38851 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38852 $as_echo_n "(cached) " >&6
38853 else
38856 ac_ext=cpp
38857 ac_cpp='$CXXCPP $CPPFLAGS'
38858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38863 /* end confdefs.h. */
38864 #include <math.h>
38865 #ifdef HAVE_IEEEFP_H
38866 #include <ieeefp.h>
38867 #endif
38870 main ()
38872 _logl(0);
38874 return 0;
38876 _ACEOF
38877 if ac_fn_cxx_try_compile "$LINENO"; then :
38878 glibcxx_cv_func__logl_use=yes
38879 else
38880 glibcxx_cv_func__logl_use=no
38882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38883 ac_ext=c
38884 ac_cpp='$CPP $CPPFLAGS'
38885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38894 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38896 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38897 for ac_func in _logl
38898 do :
38899 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38900 if test "x$ac_cv_func__logl" = x""yes; then :
38901 cat >>confdefs.h <<_ACEOF
38902 #define HAVE__LOGL 1
38903 _ACEOF
38906 done
38915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38916 $as_echo_n "checking for log10l declaration... " >&6; }
38917 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38918 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38919 $as_echo_n "(cached) " >&6
38920 else
38923 ac_ext=cpp
38924 ac_cpp='$CXXCPP $CPPFLAGS'
38925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38930 /* end confdefs.h. */
38931 #include <math.h>
38932 #ifdef HAVE_IEEEFP_H
38933 #include <ieeefp.h>
38934 #endif
38937 main ()
38939 log10l(0);
38941 return 0;
38943 _ACEOF
38944 if ac_fn_cxx_try_compile "$LINENO"; then :
38945 glibcxx_cv_func_log10l_use=yes
38946 else
38947 glibcxx_cv_func_log10l_use=no
38949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38950 ac_ext=c
38951 ac_cpp='$CPP $CPPFLAGS'
38952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38961 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38963 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38964 for ac_func in log10l
38965 do :
38966 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38967 if test "x$ac_cv_func_log10l" = x""yes; then :
38968 cat >>confdefs.h <<_ACEOF
38969 #define HAVE_LOG10L 1
38970 _ACEOF
38973 done
38975 else
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38978 $as_echo_n "checking for _log10l declaration... " >&6; }
38979 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38980 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38981 $as_echo_n "(cached) " >&6
38982 else
38985 ac_ext=cpp
38986 ac_cpp='$CXXCPP $CPPFLAGS'
38987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38992 /* end confdefs.h. */
38993 #include <math.h>
38994 #ifdef HAVE_IEEEFP_H
38995 #include <ieeefp.h>
38996 #endif
38999 main ()
39001 _log10l(0);
39003 return 0;
39005 _ACEOF
39006 if ac_fn_cxx_try_compile "$LINENO"; then :
39007 glibcxx_cv_func__log10l_use=yes
39008 else
39009 glibcxx_cv_func__log10l_use=no
39011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39012 ac_ext=c
39013 ac_cpp='$CPP $CPPFLAGS'
39014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39023 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39025 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39026 for ac_func in _log10l
39027 do :
39028 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39029 if test "x$ac_cv_func__log10l" = x""yes; then :
39030 cat >>confdefs.h <<_ACEOF
39031 #define HAVE__LOG10L 1
39032 _ACEOF
39035 done
39044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39045 $as_echo_n "checking for modfl declaration... " >&6; }
39046 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39047 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39048 $as_echo_n "(cached) " >&6
39049 else
39052 ac_ext=cpp
39053 ac_cpp='$CXXCPP $CPPFLAGS'
39054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39059 /* end confdefs.h. */
39060 #include <math.h>
39062 main ()
39064 modfl(0, 0);
39066 return 0;
39068 _ACEOF
39069 if ac_fn_cxx_try_compile "$LINENO"; then :
39070 glibcxx_cv_func_modfl_use=yes
39071 else
39072 glibcxx_cv_func_modfl_use=no
39074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39075 ac_ext=c
39076 ac_cpp='$CPP $CPPFLAGS'
39077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39086 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39088 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39089 for ac_func in modfl
39090 do :
39091 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39092 if test "x$ac_cv_func_modfl" = x""yes; then :
39093 cat >>confdefs.h <<_ACEOF
39094 #define HAVE_MODFL 1
39095 _ACEOF
39098 done
39100 else
39102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39103 $as_echo_n "checking for _modfl declaration... " >&6; }
39104 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39105 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39106 $as_echo_n "(cached) " >&6
39107 else
39110 ac_ext=cpp
39111 ac_cpp='$CXXCPP $CPPFLAGS'
39112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39117 /* end confdefs.h. */
39118 #include <math.h>
39120 main ()
39122 _modfl(0, 0);
39124 return 0;
39126 _ACEOF
39127 if ac_fn_cxx_try_compile "$LINENO"; then :
39128 glibcxx_cv_func__modfl_use=yes
39129 else
39130 glibcxx_cv_func__modfl_use=no
39132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39133 ac_ext=c
39134 ac_cpp='$CPP $CPPFLAGS'
39135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39144 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39146 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39147 for ac_func in _modfl
39148 do :
39149 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39150 if test "x$ac_cv_func__modfl" = x""yes; then :
39151 cat >>confdefs.h <<_ACEOF
39152 #define HAVE__MODFL 1
39153 _ACEOF
39156 done
39165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39166 $as_echo_n "checking for powl declaration... " >&6; }
39167 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39168 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39169 $as_echo_n "(cached) " >&6
39170 else
39173 ac_ext=cpp
39174 ac_cpp='$CXXCPP $CPPFLAGS'
39175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39180 /* end confdefs.h. */
39181 #include <math.h>
39183 main ()
39185 powl(0, 0);
39187 return 0;
39189 _ACEOF
39190 if ac_fn_cxx_try_compile "$LINENO"; then :
39191 glibcxx_cv_func_powl_use=yes
39192 else
39193 glibcxx_cv_func_powl_use=no
39195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39196 ac_ext=c
39197 ac_cpp='$CPP $CPPFLAGS'
39198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39207 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39209 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39210 for ac_func in powl
39211 do :
39212 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39213 if test "x$ac_cv_func_powl" = x""yes; then :
39214 cat >>confdefs.h <<_ACEOF
39215 #define HAVE_POWL 1
39216 _ACEOF
39219 done
39221 else
39223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39224 $as_echo_n "checking for _powl declaration... " >&6; }
39225 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39226 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39227 $as_echo_n "(cached) " >&6
39228 else
39231 ac_ext=cpp
39232 ac_cpp='$CXXCPP $CPPFLAGS'
39233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39238 /* end confdefs.h. */
39239 #include <math.h>
39241 main ()
39243 _powl(0, 0);
39245 return 0;
39247 _ACEOF
39248 if ac_fn_cxx_try_compile "$LINENO"; then :
39249 glibcxx_cv_func__powl_use=yes
39250 else
39251 glibcxx_cv_func__powl_use=no
39253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39254 ac_ext=c
39255 ac_cpp='$CPP $CPPFLAGS'
39256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39265 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39267 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39268 for ac_func in _powl
39269 do :
39270 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39271 if test "x$ac_cv_func__powl" = x""yes; then :
39272 cat >>confdefs.h <<_ACEOF
39273 #define HAVE__POWL 1
39274 _ACEOF
39277 done
39286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39287 $as_echo_n "checking for sqrtl declaration... " >&6; }
39288 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39289 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39290 $as_echo_n "(cached) " >&6
39291 else
39294 ac_ext=cpp
39295 ac_cpp='$CXXCPP $CPPFLAGS'
39296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39301 /* end confdefs.h. */
39302 #include <math.h>
39303 #ifdef HAVE_IEEEFP_H
39304 #include <ieeefp.h>
39305 #endif
39308 main ()
39310 sqrtl(0);
39312 return 0;
39314 _ACEOF
39315 if ac_fn_cxx_try_compile "$LINENO"; then :
39316 glibcxx_cv_func_sqrtl_use=yes
39317 else
39318 glibcxx_cv_func_sqrtl_use=no
39320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39321 ac_ext=c
39322 ac_cpp='$CPP $CPPFLAGS'
39323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39332 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39334 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39335 for ac_func in sqrtl
39336 do :
39337 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39338 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39339 cat >>confdefs.h <<_ACEOF
39340 #define HAVE_SQRTL 1
39341 _ACEOF
39344 done
39346 else
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39349 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39350 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39351 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39352 $as_echo_n "(cached) " >&6
39353 else
39356 ac_ext=cpp
39357 ac_cpp='$CXXCPP $CPPFLAGS'
39358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39363 /* end confdefs.h. */
39364 #include <math.h>
39365 #ifdef HAVE_IEEEFP_H
39366 #include <ieeefp.h>
39367 #endif
39370 main ()
39372 _sqrtl(0);
39374 return 0;
39376 _ACEOF
39377 if ac_fn_cxx_try_compile "$LINENO"; then :
39378 glibcxx_cv_func__sqrtl_use=yes
39379 else
39380 glibcxx_cv_func__sqrtl_use=no
39382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39383 ac_ext=c
39384 ac_cpp='$CPP $CPPFLAGS'
39385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39394 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39396 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39397 for ac_func in _sqrtl
39398 do :
39399 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39400 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39401 cat >>confdefs.h <<_ACEOF
39402 #define HAVE__SQRTL 1
39403 _ACEOF
39406 done
39415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39416 $as_echo_n "checking for sincosl declaration... " >&6; }
39417 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39418 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39419 $as_echo_n "(cached) " >&6
39420 else
39423 ac_ext=cpp
39424 ac_cpp='$CXXCPP $CPPFLAGS'
39425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39430 /* end confdefs.h. */
39431 #include <math.h>
39433 main ()
39435 sincosl(0, 0, 0);
39437 return 0;
39439 _ACEOF
39440 if ac_fn_cxx_try_compile "$LINENO"; then :
39441 glibcxx_cv_func_sincosl_use=yes
39442 else
39443 glibcxx_cv_func_sincosl_use=no
39445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39446 ac_ext=c
39447 ac_cpp='$CPP $CPPFLAGS'
39448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39457 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39459 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39460 for ac_func in sincosl
39461 do :
39462 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39463 if test "x$ac_cv_func_sincosl" = x""yes; then :
39464 cat >>confdefs.h <<_ACEOF
39465 #define HAVE_SINCOSL 1
39466 _ACEOF
39469 done
39471 else
39473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39474 $as_echo_n "checking for _sincosl declaration... " >&6; }
39475 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39476 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39477 $as_echo_n "(cached) " >&6
39478 else
39481 ac_ext=cpp
39482 ac_cpp='$CXXCPP $CPPFLAGS'
39483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39488 /* end confdefs.h. */
39489 #include <math.h>
39491 main ()
39493 _sincosl(0, 0, 0);
39495 return 0;
39497 _ACEOF
39498 if ac_fn_cxx_try_compile "$LINENO"; then :
39499 glibcxx_cv_func__sincosl_use=yes
39500 else
39501 glibcxx_cv_func__sincosl_use=no
39503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39504 ac_ext=c
39505 ac_cpp='$CPP $CPPFLAGS'
39506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39515 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39517 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39518 for ac_func in _sincosl
39519 do :
39520 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39521 if test "x$ac_cv_func__sincosl" = x""yes; then :
39522 cat >>confdefs.h <<_ACEOF
39523 #define HAVE__SINCOSL 1
39524 _ACEOF
39527 done
39536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39537 $as_echo_n "checking for finitel declaration... " >&6; }
39538 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39539 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39540 $as_echo_n "(cached) " >&6
39541 else
39544 ac_ext=cpp
39545 ac_cpp='$CXXCPP $CPPFLAGS'
39546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39551 /* end confdefs.h. */
39552 #include <math.h>
39553 #ifdef HAVE_IEEEFP_H
39554 #include <ieeefp.h>
39555 #endif
39558 main ()
39560 finitel(0);
39562 return 0;
39564 _ACEOF
39565 if ac_fn_cxx_try_compile "$LINENO"; then :
39566 glibcxx_cv_func_finitel_use=yes
39567 else
39568 glibcxx_cv_func_finitel_use=no
39570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39571 ac_ext=c
39572 ac_cpp='$CPP $CPPFLAGS'
39573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39582 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39584 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39585 for ac_func in finitel
39586 do :
39587 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39588 if test "x$ac_cv_func_finitel" = x""yes; then :
39589 cat >>confdefs.h <<_ACEOF
39590 #define HAVE_FINITEL 1
39591 _ACEOF
39594 done
39596 else
39598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39599 $as_echo_n "checking for _finitel declaration... " >&6; }
39600 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39601 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39602 $as_echo_n "(cached) " >&6
39603 else
39606 ac_ext=cpp
39607 ac_cpp='$CXXCPP $CPPFLAGS'
39608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39613 /* end confdefs.h. */
39614 #include <math.h>
39615 #ifdef HAVE_IEEEFP_H
39616 #include <ieeefp.h>
39617 #endif
39620 main ()
39622 _finitel(0);
39624 return 0;
39626 _ACEOF
39627 if ac_fn_cxx_try_compile "$LINENO"; then :
39628 glibcxx_cv_func__finitel_use=yes
39629 else
39630 glibcxx_cv_func__finitel_use=no
39632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39633 ac_ext=c
39634 ac_cpp='$CPP $CPPFLAGS'
39635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39644 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39646 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39647 for ac_func in _finitel
39648 do :
39649 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39650 if test "x$ac_cv_func__finitel" = x""yes; then :
39651 cat >>confdefs.h <<_ACEOF
39652 #define HAVE__FINITEL 1
39653 _ACEOF
39656 done
39664 LIBS="$ac_save_LIBS"
39665 CXXFLAGS="$ac_save_CXXFLAGS"
39668 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39669 ac_save_CXXFLAGS="$CXXFLAGS"
39670 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39674 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39675 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39676 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39677 $as_echo_n "(cached) " >&6
39678 else
39681 ac_ext=cpp
39682 ac_cpp='$CXXCPP $CPPFLAGS'
39683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39688 /* end confdefs.h. */
39689 #include <stdlib.h>
39691 main ()
39693 at_quick_exit(0);
39695 return 0;
39697 _ACEOF
39698 if ac_fn_cxx_try_compile "$LINENO"; then :
39699 glibcxx_cv_func_at_quick_exit_use=yes
39700 else
39701 glibcxx_cv_func_at_quick_exit_use=no
39703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39704 ac_ext=c
39705 ac_cpp='$CPP $CPPFLAGS'
39706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39715 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39716 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39717 for ac_func in at_quick_exit
39718 do :
39719 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39720 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39721 cat >>confdefs.h <<_ACEOF
39722 #define HAVE_AT_QUICK_EXIT 1
39723 _ACEOF
39726 done
39731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39732 $as_echo_n "checking for quick_exit declaration... " >&6; }
39733 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39734 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39735 $as_echo_n "(cached) " >&6
39736 else
39739 ac_ext=cpp
39740 ac_cpp='$CXXCPP $CPPFLAGS'
39741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39746 /* end confdefs.h. */
39747 #include <stdlib.h>
39749 main ()
39751 quick_exit(0);
39753 return 0;
39755 _ACEOF
39756 if ac_fn_cxx_try_compile "$LINENO"; then :
39757 glibcxx_cv_func_quick_exit_use=yes
39758 else
39759 glibcxx_cv_func_quick_exit_use=no
39761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39762 ac_ext=c
39763 ac_cpp='$CPP $CPPFLAGS'
39764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39773 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39774 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39775 for ac_func in quick_exit
39776 do :
39777 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39778 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39779 cat >>confdefs.h <<_ACEOF
39780 #define HAVE_QUICK_EXIT 1
39781 _ACEOF
39784 done
39789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39790 $as_echo_n "checking for strtold declaration... " >&6; }
39791 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39792 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39793 $as_echo_n "(cached) " >&6
39794 else
39797 ac_ext=cpp
39798 ac_cpp='$CXXCPP $CPPFLAGS'
39799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39804 /* end confdefs.h. */
39805 #include <stdlib.h>
39807 main ()
39809 strtold(0, 0);
39811 return 0;
39813 _ACEOF
39814 if ac_fn_cxx_try_compile "$LINENO"; then :
39815 glibcxx_cv_func_strtold_use=yes
39816 else
39817 glibcxx_cv_func_strtold_use=no
39819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39820 ac_ext=c
39821 ac_cpp='$CPP $CPPFLAGS'
39822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39831 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39832 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39833 for ac_func in strtold
39834 do :
39835 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39836 if test "x$ac_cv_func_strtold" = x""yes; then :
39837 cat >>confdefs.h <<_ACEOF
39838 #define HAVE_STRTOLD 1
39839 _ACEOF
39842 done
39849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39850 $as_echo_n "checking for strtof declaration... " >&6; }
39851 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39852 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39853 $as_echo_n "(cached) " >&6
39854 else
39857 ac_ext=cpp
39858 ac_cpp='$CXXCPP $CPPFLAGS'
39859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39864 /* end confdefs.h. */
39865 #include <stdlib.h>
39867 main ()
39869 strtof(0, 0);
39871 return 0;
39873 _ACEOF
39874 if ac_fn_cxx_try_compile "$LINENO"; then :
39875 glibcxx_cv_func_strtof_use=yes
39876 else
39877 glibcxx_cv_func_strtof_use=no
39879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39880 ac_ext=c
39881 ac_cpp='$CPP $CPPFLAGS'
39882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39891 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39892 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39893 for ac_func in strtof
39894 do :
39895 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39896 if test "x$ac_cv_func_strtof" = x""yes; then :
39897 cat >>confdefs.h <<_ACEOF
39898 #define HAVE_STRTOF 1
39899 _ACEOF
39902 done
39909 CXXFLAGS="$ac_save_CXXFLAGS"
39916 am_save_CPPFLAGS="$CPPFLAGS"
39918 for element in $INCICONV; do
39919 haveit=
39920 for x in $CPPFLAGS; do
39922 acl_save_prefix="$prefix"
39923 prefix="$acl_final_prefix"
39924 acl_save_exec_prefix="$exec_prefix"
39925 exec_prefix="$acl_final_exec_prefix"
39926 eval x=\"$x\"
39927 exec_prefix="$acl_save_exec_prefix"
39928 prefix="$acl_save_prefix"
39930 if test "X$x" = "X$element"; then
39931 haveit=yes
39932 break
39934 done
39935 if test -z "$haveit"; then
39936 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39938 done
39941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39942 $as_echo_n "checking for iconv... " >&6; }
39943 if test "${am_cv_func_iconv+set}" = set; then :
39944 $as_echo_n "(cached) " >&6
39945 else
39947 am_cv_func_iconv="no, consider installing GNU libiconv"
39948 am_cv_lib_iconv=no
39949 if test x$gcc_no_link = xyes; then
39950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39953 /* end confdefs.h. */
39954 #include <stdlib.h>
39955 #include <iconv.h>
39957 main ()
39959 iconv_t cd = iconv_open("","");
39960 iconv(cd,NULL,NULL,NULL,NULL);
39961 iconv_close(cd);
39963 return 0;
39965 _ACEOF
39966 if ac_fn_c_try_link "$LINENO"; then :
39967 am_cv_func_iconv=yes
39969 rm -f core conftest.err conftest.$ac_objext \
39970 conftest$ac_exeext conftest.$ac_ext
39971 if test "$am_cv_func_iconv" != yes; then
39972 am_save_LIBS="$LIBS"
39973 LIBS="$LIBS $LIBICONV"
39974 if test x$gcc_no_link = xyes; then
39975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39978 /* end confdefs.h. */
39979 #include <stdlib.h>
39980 #include <iconv.h>
39982 main ()
39984 iconv_t cd = iconv_open("","");
39985 iconv(cd,NULL,NULL,NULL,NULL);
39986 iconv_close(cd);
39988 return 0;
39990 _ACEOF
39991 if ac_fn_c_try_link "$LINENO"; then :
39992 am_cv_lib_iconv=yes
39993 am_cv_func_iconv=yes
39995 rm -f core conftest.err conftest.$ac_objext \
39996 conftest$ac_exeext conftest.$ac_ext
39997 LIBS="$am_save_LIBS"
40001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40002 $as_echo "$am_cv_func_iconv" >&6; }
40003 if test "$am_cv_func_iconv" = yes; then
40005 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40008 if test "$am_cv_lib_iconv" = yes; then
40009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40010 $as_echo_n "checking how to link with libiconv... " >&6; }
40011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40012 $as_echo "$LIBICONV" >&6; }
40013 else
40014 CPPFLAGS="$am_save_CPPFLAGS"
40015 LIBICONV=
40016 LTLIBICONV=
40021 if test "$am_cv_func_iconv" = yes; then
40022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40023 $as_echo_n "checking for iconv declaration... " >&6; }
40024 if test "${am_cv_proto_iconv+set}" = set; then :
40025 $as_echo_n "(cached) " >&6
40026 else
40028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40029 /* end confdefs.h. */
40031 #include <stdlib.h>
40032 #include <iconv.h>
40033 extern
40034 #ifdef __cplusplus
40036 #endif
40037 #if defined(__STDC__) || defined(__cplusplus)
40038 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40039 #else
40040 size_t iconv();
40041 #endif
40044 main ()
40048 return 0;
40050 _ACEOF
40051 if ac_fn_c_try_compile "$LINENO"; then :
40052 am_cv_proto_iconv_arg1=""
40053 else
40054 am_cv_proto_iconv_arg1="const"
40056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40057 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);"
40060 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40062 }$am_cv_proto_iconv" >&5
40063 $as_echo "${ac_t:-
40064 }$am_cv_proto_iconv" >&6; }
40066 cat >>confdefs.h <<_ACEOF
40067 #define ICONV_CONST $am_cv_proto_iconv_arg1
40068 _ACEOF
40074 *-aix*)
40076 # If we're not using GNU ld, then there's no point in even trying these
40077 # tests. Check for that first. We should have already tested for gld
40078 # by now (in libtool), but require it now just to be safe...
40079 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40080 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40084 # The name set by libtool depends on the version of libtool. Shame on us
40085 # for depending on an impl detail, but c'est la vie. Older versions used
40086 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40087 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40088 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40089 # set (hence we're using an older libtool), then set it.
40090 if test x${with_gnu_ld+set} != xset; then
40091 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40092 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40093 with_gnu_ld=no
40094 else
40095 with_gnu_ld=$ac_cv_prog_gnu_ld
40099 # Start by getting the version number. I think the libtool test already
40100 # does some of this, but throws away the result.
40101 glibcxx_ld_is_gold=no
40102 if test x"$with_gnu_ld" = x"yes"; then
40103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40104 $as_echo_n "checking for ld version... " >&6; }
40106 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40107 glibcxx_ld_is_gold=yes
40109 ldver=`$LD --version 2>/dev/null |
40110 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'`
40112 glibcxx_gnu_ld_version=`echo $ldver | \
40113 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40115 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40118 # Set --gc-sections.
40119 glibcxx_have_gc_sections=no
40120 if test "$glibcxx_ld_is_gold" = "yes"; then
40121 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40122 glibcxx_have_gc_sections=yes
40124 else
40125 glibcxx_gcsections_min_ld=21602
40126 if test x"$with_gnu_ld" = x"yes" &&
40127 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40128 glibcxx_have_gc_sections=yes
40131 if test "$glibcxx_have_gc_sections" = "yes"; then
40132 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40133 # NB: This flag only works reliably after 2.16.1. Configure tests
40134 # for this are difficult, so hard wire a value that should work.
40136 ac_test_CFLAGS="${CFLAGS+set}"
40137 ac_save_CFLAGS="$CFLAGS"
40138 CFLAGS='-Wl,--gc-sections'
40140 # Check for -Wl,--gc-sections
40141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40142 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40143 if test x$gcc_no_link = xyes; then
40144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40147 /* end confdefs.h. */
40148 int one(void) { return 1; }
40149 int two(void) { return 2; }
40152 main ()
40154 two();
40156 return 0;
40158 _ACEOF
40159 if ac_fn_c_try_link "$LINENO"; then :
40160 ac_gcsections=yes
40161 else
40162 ac_gcsections=no
40164 rm -f core conftest.err conftest.$ac_objext \
40165 conftest$ac_exeext conftest.$ac_ext
40166 if test "$ac_gcsections" = "yes"; then
40167 rm -f conftest.c
40168 touch conftest.c
40169 if $CC -c conftest.c; then
40170 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40171 grep "Warning: gc-sections option ignored" > /dev/null; then
40172 ac_gcsections=no
40175 rm -f conftest.c conftest.o conftest
40177 if test "$ac_gcsections" = "yes"; then
40178 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40181 $as_echo "$ac_gcsections" >&6; }
40183 if test "$ac_test_CFLAGS" = set; then
40184 CFLAGS="$ac_save_CFLAGS"
40185 else
40186 # this is the suspicious part
40187 CFLAGS=''
40191 # Set -z,relro.
40192 # Note this is only for shared objects.
40193 ac_ld_relro=no
40194 if test x"$with_gnu_ld" = x"yes"; then
40195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40196 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40197 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40198 if test -n "$cxx_z_relo"; then
40199 OPT_LDFLAGS="-Wl,-z,relro"
40200 ac_ld_relro=yes
40202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40203 $as_echo "$ac_ld_relro" >&6; }
40206 # Set linker optimization flags.
40207 if test x"$with_gnu_ld" = x"yes"; then
40208 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40215 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40216 ac_save_CXXFLAGS="$CXXFLAGS"
40217 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40220 $as_echo_n "checking for sin in -lm... " >&6; }
40221 if test "${ac_cv_lib_m_sin+set}" = set; then :
40222 $as_echo_n "(cached) " >&6
40223 else
40224 ac_check_lib_save_LIBS=$LIBS
40225 LIBS="-lm $LIBS"
40226 if test x$gcc_no_link = xyes; then
40227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40230 /* end confdefs.h. */
40232 /* Override any GCC internal prototype to avoid an error.
40233 Use char because int might match the return type of a GCC
40234 builtin and then its argument prototype would still apply. */
40235 #ifdef __cplusplus
40236 extern "C"
40237 #endif
40238 char sin ();
40240 main ()
40242 return sin ();
40244 return 0;
40246 _ACEOF
40247 if ac_fn_c_try_link "$LINENO"; then :
40248 ac_cv_lib_m_sin=yes
40249 else
40250 ac_cv_lib_m_sin=no
40252 rm -f core conftest.err conftest.$ac_objext \
40253 conftest$ac_exeext conftest.$ac_ext
40254 LIBS=$ac_check_lib_save_LIBS
40256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40257 $as_echo "$ac_cv_lib_m_sin" >&6; }
40258 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40259 libm="-lm"
40262 ac_save_LIBS="$LIBS"
40263 LIBS="$LIBS $libm"
40267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40268 $as_echo_n "checking for isinf declaration... " >&6; }
40269 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40270 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40271 $as_echo_n "(cached) " >&6
40272 else
40275 ac_ext=cpp
40276 ac_cpp='$CXXCPP $CPPFLAGS'
40277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40282 /* end confdefs.h. */
40283 #include <math.h>
40284 #ifdef HAVE_IEEEFP_H
40285 #include <ieeefp.h>
40286 #endif
40289 main ()
40291 isinf(0);
40293 return 0;
40295 _ACEOF
40296 if ac_fn_cxx_try_compile "$LINENO"; then :
40297 glibcxx_cv_func_isinf_use=yes
40298 else
40299 glibcxx_cv_func_isinf_use=no
40301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40302 ac_ext=c
40303 ac_cpp='$CPP $CPPFLAGS'
40304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40313 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40315 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40316 for ac_func in isinf
40317 do :
40318 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40319 if test "x$ac_cv_func_isinf" = x""yes; then :
40320 cat >>confdefs.h <<_ACEOF
40321 #define HAVE_ISINF 1
40322 _ACEOF
40325 done
40327 else
40329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40330 $as_echo_n "checking for _isinf declaration... " >&6; }
40331 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40332 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40333 $as_echo_n "(cached) " >&6
40334 else
40337 ac_ext=cpp
40338 ac_cpp='$CXXCPP $CPPFLAGS'
40339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40344 /* end confdefs.h. */
40345 #include <math.h>
40346 #ifdef HAVE_IEEEFP_H
40347 #include <ieeefp.h>
40348 #endif
40351 main ()
40353 _isinf(0);
40355 return 0;
40357 _ACEOF
40358 if ac_fn_cxx_try_compile "$LINENO"; then :
40359 glibcxx_cv_func__isinf_use=yes
40360 else
40361 glibcxx_cv_func__isinf_use=no
40363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40364 ac_ext=c
40365 ac_cpp='$CPP $CPPFLAGS'
40366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40375 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40377 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40378 for ac_func in _isinf
40379 do :
40380 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40381 if test "x$ac_cv_func__isinf" = x""yes; then :
40382 cat >>confdefs.h <<_ACEOF
40383 #define HAVE__ISINF 1
40384 _ACEOF
40387 done
40396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40397 $as_echo_n "checking for isnan declaration... " >&6; }
40398 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40399 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40400 $as_echo_n "(cached) " >&6
40401 else
40404 ac_ext=cpp
40405 ac_cpp='$CXXCPP $CPPFLAGS'
40406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40411 /* end confdefs.h. */
40412 #include <math.h>
40413 #ifdef HAVE_IEEEFP_H
40414 #include <ieeefp.h>
40415 #endif
40418 main ()
40420 isnan(0);
40422 return 0;
40424 _ACEOF
40425 if ac_fn_cxx_try_compile "$LINENO"; then :
40426 glibcxx_cv_func_isnan_use=yes
40427 else
40428 glibcxx_cv_func_isnan_use=no
40430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40431 ac_ext=c
40432 ac_cpp='$CPP $CPPFLAGS'
40433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40442 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40444 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40445 for ac_func in isnan
40446 do :
40447 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40448 if test "x$ac_cv_func_isnan" = x""yes; then :
40449 cat >>confdefs.h <<_ACEOF
40450 #define HAVE_ISNAN 1
40451 _ACEOF
40454 done
40456 else
40458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40459 $as_echo_n "checking for _isnan declaration... " >&6; }
40460 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40461 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40462 $as_echo_n "(cached) " >&6
40463 else
40466 ac_ext=cpp
40467 ac_cpp='$CXXCPP $CPPFLAGS'
40468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40473 /* end confdefs.h. */
40474 #include <math.h>
40475 #ifdef HAVE_IEEEFP_H
40476 #include <ieeefp.h>
40477 #endif
40480 main ()
40482 _isnan(0);
40484 return 0;
40486 _ACEOF
40487 if ac_fn_cxx_try_compile "$LINENO"; then :
40488 glibcxx_cv_func__isnan_use=yes
40489 else
40490 glibcxx_cv_func__isnan_use=no
40492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40493 ac_ext=c
40494 ac_cpp='$CPP $CPPFLAGS'
40495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40504 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40506 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40507 for ac_func in _isnan
40508 do :
40509 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40510 if test "x$ac_cv_func__isnan" = x""yes; then :
40511 cat >>confdefs.h <<_ACEOF
40512 #define HAVE__ISNAN 1
40513 _ACEOF
40516 done
40525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40526 $as_echo_n "checking for finite declaration... " >&6; }
40527 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40528 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40529 $as_echo_n "(cached) " >&6
40530 else
40533 ac_ext=cpp
40534 ac_cpp='$CXXCPP $CPPFLAGS'
40535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40540 /* end confdefs.h. */
40541 #include <math.h>
40542 #ifdef HAVE_IEEEFP_H
40543 #include <ieeefp.h>
40544 #endif
40547 main ()
40549 finite(0);
40551 return 0;
40553 _ACEOF
40554 if ac_fn_cxx_try_compile "$LINENO"; then :
40555 glibcxx_cv_func_finite_use=yes
40556 else
40557 glibcxx_cv_func_finite_use=no
40559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40560 ac_ext=c
40561 ac_cpp='$CPP $CPPFLAGS'
40562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40571 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40573 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40574 for ac_func in finite
40575 do :
40576 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40577 if test "x$ac_cv_func_finite" = x""yes; then :
40578 cat >>confdefs.h <<_ACEOF
40579 #define HAVE_FINITE 1
40580 _ACEOF
40583 done
40585 else
40587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40588 $as_echo_n "checking for _finite declaration... " >&6; }
40589 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40590 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40591 $as_echo_n "(cached) " >&6
40592 else
40595 ac_ext=cpp
40596 ac_cpp='$CXXCPP $CPPFLAGS'
40597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40602 /* end confdefs.h. */
40603 #include <math.h>
40604 #ifdef HAVE_IEEEFP_H
40605 #include <ieeefp.h>
40606 #endif
40609 main ()
40611 _finite(0);
40613 return 0;
40615 _ACEOF
40616 if ac_fn_cxx_try_compile "$LINENO"; then :
40617 glibcxx_cv_func__finite_use=yes
40618 else
40619 glibcxx_cv_func__finite_use=no
40621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40622 ac_ext=c
40623 ac_cpp='$CPP $CPPFLAGS'
40624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40633 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40635 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40636 for ac_func in _finite
40637 do :
40638 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40639 if test "x$ac_cv_func__finite" = x""yes; then :
40640 cat >>confdefs.h <<_ACEOF
40641 #define HAVE__FINITE 1
40642 _ACEOF
40645 done
40654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40655 $as_echo_n "checking for sincos declaration... " >&6; }
40656 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40657 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40658 $as_echo_n "(cached) " >&6
40659 else
40662 ac_ext=cpp
40663 ac_cpp='$CXXCPP $CPPFLAGS'
40664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40669 /* end confdefs.h. */
40670 #include <math.h>
40672 main ()
40674 sincos(0, 0, 0);
40676 return 0;
40678 _ACEOF
40679 if ac_fn_cxx_try_compile "$LINENO"; then :
40680 glibcxx_cv_func_sincos_use=yes
40681 else
40682 glibcxx_cv_func_sincos_use=no
40684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40685 ac_ext=c
40686 ac_cpp='$CPP $CPPFLAGS'
40687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40696 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40698 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40699 for ac_func in sincos
40700 do :
40701 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40702 if test "x$ac_cv_func_sincos" = x""yes; then :
40703 cat >>confdefs.h <<_ACEOF
40704 #define HAVE_SINCOS 1
40705 _ACEOF
40708 done
40710 else
40712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40713 $as_echo_n "checking for _sincos declaration... " >&6; }
40714 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40715 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40716 $as_echo_n "(cached) " >&6
40717 else
40720 ac_ext=cpp
40721 ac_cpp='$CXXCPP $CPPFLAGS'
40722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40727 /* end confdefs.h. */
40728 #include <math.h>
40730 main ()
40732 _sincos(0, 0, 0);
40734 return 0;
40736 _ACEOF
40737 if ac_fn_cxx_try_compile "$LINENO"; then :
40738 glibcxx_cv_func__sincos_use=yes
40739 else
40740 glibcxx_cv_func__sincos_use=no
40742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743 ac_ext=c
40744 ac_cpp='$CPP $CPPFLAGS'
40745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40754 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40756 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40757 for ac_func in _sincos
40758 do :
40759 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40760 if test "x$ac_cv_func__sincos" = x""yes; then :
40761 cat >>confdefs.h <<_ACEOF
40762 #define HAVE__SINCOS 1
40763 _ACEOF
40766 done
40775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40776 $as_echo_n "checking for fpclass declaration... " >&6; }
40777 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40778 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40779 $as_echo_n "(cached) " >&6
40780 else
40783 ac_ext=cpp
40784 ac_cpp='$CXXCPP $CPPFLAGS'
40785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40790 /* end confdefs.h. */
40791 #include <math.h>
40792 #ifdef HAVE_IEEEFP_H
40793 #include <ieeefp.h>
40794 #endif
40797 main ()
40799 fpclass(0);
40801 return 0;
40803 _ACEOF
40804 if ac_fn_cxx_try_compile "$LINENO"; then :
40805 glibcxx_cv_func_fpclass_use=yes
40806 else
40807 glibcxx_cv_func_fpclass_use=no
40809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40810 ac_ext=c
40811 ac_cpp='$CPP $CPPFLAGS'
40812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40821 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40823 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40824 for ac_func in fpclass
40825 do :
40826 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40827 if test "x$ac_cv_func_fpclass" = x""yes; then :
40828 cat >>confdefs.h <<_ACEOF
40829 #define HAVE_FPCLASS 1
40830 _ACEOF
40833 done
40835 else
40837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40838 $as_echo_n "checking for _fpclass declaration... " >&6; }
40839 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40840 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40841 $as_echo_n "(cached) " >&6
40842 else
40845 ac_ext=cpp
40846 ac_cpp='$CXXCPP $CPPFLAGS'
40847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40852 /* end confdefs.h. */
40853 #include <math.h>
40854 #ifdef HAVE_IEEEFP_H
40855 #include <ieeefp.h>
40856 #endif
40859 main ()
40861 _fpclass(0);
40863 return 0;
40865 _ACEOF
40866 if ac_fn_cxx_try_compile "$LINENO"; then :
40867 glibcxx_cv_func__fpclass_use=yes
40868 else
40869 glibcxx_cv_func__fpclass_use=no
40871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40872 ac_ext=c
40873 ac_cpp='$CPP $CPPFLAGS'
40874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40883 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40885 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40886 for ac_func in _fpclass
40887 do :
40888 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40889 if test "x$ac_cv_func__fpclass" = x""yes; then :
40890 cat >>confdefs.h <<_ACEOF
40891 #define HAVE__FPCLASS 1
40892 _ACEOF
40895 done
40904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40905 $as_echo_n "checking for qfpclass declaration... " >&6; }
40906 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40907 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40908 $as_echo_n "(cached) " >&6
40909 else
40912 ac_ext=cpp
40913 ac_cpp='$CXXCPP $CPPFLAGS'
40914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40919 /* end confdefs.h. */
40920 #include <math.h>
40921 #ifdef HAVE_IEEEFP_H
40922 #include <ieeefp.h>
40923 #endif
40926 main ()
40928 qfpclass(0);
40930 return 0;
40932 _ACEOF
40933 if ac_fn_cxx_try_compile "$LINENO"; then :
40934 glibcxx_cv_func_qfpclass_use=yes
40935 else
40936 glibcxx_cv_func_qfpclass_use=no
40938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40939 ac_ext=c
40940 ac_cpp='$CPP $CPPFLAGS'
40941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40950 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40952 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40953 for ac_func in qfpclass
40954 do :
40955 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40956 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40957 cat >>confdefs.h <<_ACEOF
40958 #define HAVE_QFPCLASS 1
40959 _ACEOF
40962 done
40964 else
40966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40967 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40968 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40969 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40970 $as_echo_n "(cached) " >&6
40971 else
40974 ac_ext=cpp
40975 ac_cpp='$CXXCPP $CPPFLAGS'
40976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40981 /* end confdefs.h. */
40982 #include <math.h>
40983 #ifdef HAVE_IEEEFP_H
40984 #include <ieeefp.h>
40985 #endif
40988 main ()
40990 _qfpclass(0);
40992 return 0;
40994 _ACEOF
40995 if ac_fn_cxx_try_compile "$LINENO"; then :
40996 glibcxx_cv_func__qfpclass_use=yes
40997 else
40998 glibcxx_cv_func__qfpclass_use=no
41000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41001 ac_ext=c
41002 ac_cpp='$CPP $CPPFLAGS'
41003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41012 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41014 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41015 for ac_func in _qfpclass
41016 do :
41017 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41018 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41019 cat >>confdefs.h <<_ACEOF
41020 #define HAVE__QFPCLASS 1
41021 _ACEOF
41024 done
41033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41034 $as_echo_n "checking for hypot declaration... " >&6; }
41035 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41036 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41037 $as_echo_n "(cached) " >&6
41038 else
41041 ac_ext=cpp
41042 ac_cpp='$CXXCPP $CPPFLAGS'
41043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41048 /* end confdefs.h. */
41049 #include <math.h>
41051 main ()
41053 hypot(0, 0);
41055 return 0;
41057 _ACEOF
41058 if ac_fn_cxx_try_compile "$LINENO"; then :
41059 glibcxx_cv_func_hypot_use=yes
41060 else
41061 glibcxx_cv_func_hypot_use=no
41063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41064 ac_ext=c
41065 ac_cpp='$CPP $CPPFLAGS'
41066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41075 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41077 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41078 for ac_func in hypot
41079 do :
41080 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41081 if test "x$ac_cv_func_hypot" = x""yes; then :
41082 cat >>confdefs.h <<_ACEOF
41083 #define HAVE_HYPOT 1
41084 _ACEOF
41087 done
41089 else
41091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41092 $as_echo_n "checking for _hypot declaration... " >&6; }
41093 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41094 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41095 $as_echo_n "(cached) " >&6
41096 else
41099 ac_ext=cpp
41100 ac_cpp='$CXXCPP $CPPFLAGS'
41101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41106 /* end confdefs.h. */
41107 #include <math.h>
41109 main ()
41111 _hypot(0, 0);
41113 return 0;
41115 _ACEOF
41116 if ac_fn_cxx_try_compile "$LINENO"; then :
41117 glibcxx_cv_func__hypot_use=yes
41118 else
41119 glibcxx_cv_func__hypot_use=no
41121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41122 ac_ext=c
41123 ac_cpp='$CPP $CPPFLAGS'
41124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41133 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41135 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41136 for ac_func in _hypot
41137 do :
41138 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41139 if test "x$ac_cv_func__hypot" = x""yes; then :
41140 cat >>confdefs.h <<_ACEOF
41141 #define HAVE__HYPOT 1
41142 _ACEOF
41145 done
41154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41155 $as_echo_n "checking for float trig functions... " >&6; }
41156 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41157 $as_echo_n "(cached) " >&6
41158 else
41161 ac_ext=cpp
41162 ac_cpp='$CXXCPP $CPPFLAGS'
41163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41168 /* end confdefs.h. */
41169 #include <math.h>
41171 main ()
41173 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41175 return 0;
41177 _ACEOF
41178 if ac_fn_cxx_try_compile "$LINENO"; then :
41179 glibcxx_cv_func_float_trig_use=yes
41180 else
41181 glibcxx_cv_func_float_trig_use=no
41183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41184 ac_ext=c
41185 ac_cpp='$CPP $CPPFLAGS'
41186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41193 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41194 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41195 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41196 do :
41197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41199 eval as_val=\$$as_ac_var
41200 if test "x$as_val" = x""yes; then :
41201 cat >>confdefs.h <<_ACEOF
41202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41203 _ACEOF
41206 done
41208 else
41209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41210 $as_echo_n "checking for _float trig functions... " >&6; }
41211 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41212 $as_echo_n "(cached) " >&6
41213 else
41216 ac_ext=cpp
41217 ac_cpp='$CXXCPP $CPPFLAGS'
41218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41223 /* end confdefs.h. */
41224 #include <math.h>
41226 main ()
41228 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41230 return 0;
41232 _ACEOF
41233 if ac_fn_cxx_try_compile "$LINENO"; then :
41234 glibcxx_cv_func__float_trig_use=yes
41235 else
41236 glibcxx_cv_func__float_trig_use=no
41238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41239 ac_ext=c
41240 ac_cpp='$CPP $CPPFLAGS'
41241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41248 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41249 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41250 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41251 do :
41252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41254 eval as_val=\$$as_ac_var
41255 if test "x$as_val" = x""yes; then :
41256 cat >>confdefs.h <<_ACEOF
41257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41258 _ACEOF
41261 done
41270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41271 $as_echo_n "checking for float round functions... " >&6; }
41272 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41273 $as_echo_n "(cached) " >&6
41274 else
41277 ac_ext=cpp
41278 ac_cpp='$CXXCPP $CPPFLAGS'
41279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41284 /* end confdefs.h. */
41285 #include <math.h>
41287 main ()
41289 ceilf (0); floorf (0);
41291 return 0;
41293 _ACEOF
41294 if ac_fn_cxx_try_compile "$LINENO"; then :
41295 glibcxx_cv_func_float_round_use=yes
41296 else
41297 glibcxx_cv_func_float_round_use=no
41299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41300 ac_ext=c
41301 ac_cpp='$CPP $CPPFLAGS'
41302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41309 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41310 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41311 for ac_func in ceilf floorf
41312 do :
41313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41315 eval as_val=\$$as_ac_var
41316 if test "x$as_val" = x""yes; then :
41317 cat >>confdefs.h <<_ACEOF
41318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41319 _ACEOF
41322 done
41324 else
41325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41326 $as_echo_n "checking for _float round functions... " >&6; }
41327 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41328 $as_echo_n "(cached) " >&6
41329 else
41332 ac_ext=cpp
41333 ac_cpp='$CXXCPP $CPPFLAGS'
41334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41339 /* end confdefs.h. */
41340 #include <math.h>
41342 main ()
41344 _ceilf (0); _floorf (0);
41346 return 0;
41348 _ACEOF
41349 if ac_fn_cxx_try_compile "$LINENO"; then :
41350 glibcxx_cv_func__float_round_use=yes
41351 else
41352 glibcxx_cv_func__float_round_use=no
41354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41355 ac_ext=c
41356 ac_cpp='$CPP $CPPFLAGS'
41357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41364 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41365 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41366 for ac_func in _ceilf _floorf
41367 do :
41368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41370 eval as_val=\$$as_ac_var
41371 if test "x$as_val" = x""yes; then :
41372 cat >>confdefs.h <<_ACEOF
41373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41374 _ACEOF
41377 done
41387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41388 $as_echo_n "checking for expf declaration... " >&6; }
41389 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41390 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41391 $as_echo_n "(cached) " >&6
41392 else
41395 ac_ext=cpp
41396 ac_cpp='$CXXCPP $CPPFLAGS'
41397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41402 /* end confdefs.h. */
41403 #include <math.h>
41404 #ifdef HAVE_IEEEFP_H
41405 #include <ieeefp.h>
41406 #endif
41409 main ()
41411 expf(0);
41413 return 0;
41415 _ACEOF
41416 if ac_fn_cxx_try_compile "$LINENO"; then :
41417 glibcxx_cv_func_expf_use=yes
41418 else
41419 glibcxx_cv_func_expf_use=no
41421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41422 ac_ext=c
41423 ac_cpp='$CPP $CPPFLAGS'
41424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41433 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41435 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41436 for ac_func in expf
41437 do :
41438 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41439 if test "x$ac_cv_func_expf" = x""yes; then :
41440 cat >>confdefs.h <<_ACEOF
41441 #define HAVE_EXPF 1
41442 _ACEOF
41445 done
41447 else
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41450 $as_echo_n "checking for _expf declaration... " >&6; }
41451 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41452 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41453 $as_echo_n "(cached) " >&6
41454 else
41457 ac_ext=cpp
41458 ac_cpp='$CXXCPP $CPPFLAGS'
41459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41464 /* end confdefs.h. */
41465 #include <math.h>
41466 #ifdef HAVE_IEEEFP_H
41467 #include <ieeefp.h>
41468 #endif
41471 main ()
41473 _expf(0);
41475 return 0;
41477 _ACEOF
41478 if ac_fn_cxx_try_compile "$LINENO"; then :
41479 glibcxx_cv_func__expf_use=yes
41480 else
41481 glibcxx_cv_func__expf_use=no
41483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41484 ac_ext=c
41485 ac_cpp='$CPP $CPPFLAGS'
41486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41495 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41497 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41498 for ac_func in _expf
41499 do :
41500 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41501 if test "x$ac_cv_func__expf" = x""yes; then :
41502 cat >>confdefs.h <<_ACEOF
41503 #define HAVE__EXPF 1
41504 _ACEOF
41507 done
41516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41517 $as_echo_n "checking for isnanf declaration... " >&6; }
41518 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41519 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41520 $as_echo_n "(cached) " >&6
41521 else
41524 ac_ext=cpp
41525 ac_cpp='$CXXCPP $CPPFLAGS'
41526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41531 /* end confdefs.h. */
41532 #include <math.h>
41533 #ifdef HAVE_IEEEFP_H
41534 #include <ieeefp.h>
41535 #endif
41538 main ()
41540 isnanf(0);
41542 return 0;
41544 _ACEOF
41545 if ac_fn_cxx_try_compile "$LINENO"; then :
41546 glibcxx_cv_func_isnanf_use=yes
41547 else
41548 glibcxx_cv_func_isnanf_use=no
41550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41551 ac_ext=c
41552 ac_cpp='$CPP $CPPFLAGS'
41553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41562 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41564 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41565 for ac_func in isnanf
41566 do :
41567 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41568 if test "x$ac_cv_func_isnanf" = x""yes; then :
41569 cat >>confdefs.h <<_ACEOF
41570 #define HAVE_ISNANF 1
41571 _ACEOF
41574 done
41576 else
41578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41579 $as_echo_n "checking for _isnanf declaration... " >&6; }
41580 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41581 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41582 $as_echo_n "(cached) " >&6
41583 else
41586 ac_ext=cpp
41587 ac_cpp='$CXXCPP $CPPFLAGS'
41588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41593 /* end confdefs.h. */
41594 #include <math.h>
41595 #ifdef HAVE_IEEEFP_H
41596 #include <ieeefp.h>
41597 #endif
41600 main ()
41602 _isnanf(0);
41604 return 0;
41606 _ACEOF
41607 if ac_fn_cxx_try_compile "$LINENO"; then :
41608 glibcxx_cv_func__isnanf_use=yes
41609 else
41610 glibcxx_cv_func__isnanf_use=no
41612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41613 ac_ext=c
41614 ac_cpp='$CPP $CPPFLAGS'
41615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41624 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41626 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41627 for ac_func in _isnanf
41628 do :
41629 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41630 if test "x$ac_cv_func__isnanf" = x""yes; then :
41631 cat >>confdefs.h <<_ACEOF
41632 #define HAVE__ISNANF 1
41633 _ACEOF
41636 done
41645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41646 $as_echo_n "checking for isinff declaration... " >&6; }
41647 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41648 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41649 $as_echo_n "(cached) " >&6
41650 else
41653 ac_ext=cpp
41654 ac_cpp='$CXXCPP $CPPFLAGS'
41655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41660 /* end confdefs.h. */
41661 #include <math.h>
41662 #ifdef HAVE_IEEEFP_H
41663 #include <ieeefp.h>
41664 #endif
41667 main ()
41669 isinff(0);
41671 return 0;
41673 _ACEOF
41674 if ac_fn_cxx_try_compile "$LINENO"; then :
41675 glibcxx_cv_func_isinff_use=yes
41676 else
41677 glibcxx_cv_func_isinff_use=no
41679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41680 ac_ext=c
41681 ac_cpp='$CPP $CPPFLAGS'
41682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41691 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41693 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41694 for ac_func in isinff
41695 do :
41696 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41697 if test "x$ac_cv_func_isinff" = x""yes; then :
41698 cat >>confdefs.h <<_ACEOF
41699 #define HAVE_ISINFF 1
41700 _ACEOF
41703 done
41705 else
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41708 $as_echo_n "checking for _isinff declaration... " >&6; }
41709 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41710 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41711 $as_echo_n "(cached) " >&6
41712 else
41715 ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h. */
41723 #include <math.h>
41724 #ifdef HAVE_IEEEFP_H
41725 #include <ieeefp.h>
41726 #endif
41729 main ()
41731 _isinff(0);
41733 return 0;
41735 _ACEOF
41736 if ac_fn_cxx_try_compile "$LINENO"; then :
41737 glibcxx_cv_func__isinff_use=yes
41738 else
41739 glibcxx_cv_func__isinff_use=no
41741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41742 ac_ext=c
41743 ac_cpp='$CPP $CPPFLAGS'
41744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41753 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41755 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41756 for ac_func in _isinff
41757 do :
41758 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41759 if test "x$ac_cv_func__isinff" = x""yes; then :
41760 cat >>confdefs.h <<_ACEOF
41761 #define HAVE__ISINFF 1
41762 _ACEOF
41765 done
41774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41775 $as_echo_n "checking for atan2f declaration... " >&6; }
41776 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41777 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41778 $as_echo_n "(cached) " >&6
41779 else
41782 ac_ext=cpp
41783 ac_cpp='$CXXCPP $CPPFLAGS'
41784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41789 /* end confdefs.h. */
41790 #include <math.h>
41792 main ()
41794 atan2f(0, 0);
41796 return 0;
41798 _ACEOF
41799 if ac_fn_cxx_try_compile "$LINENO"; then :
41800 glibcxx_cv_func_atan2f_use=yes
41801 else
41802 glibcxx_cv_func_atan2f_use=no
41804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41805 ac_ext=c
41806 ac_cpp='$CPP $CPPFLAGS'
41807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41816 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41818 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41819 for ac_func in atan2f
41820 do :
41821 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41822 if test "x$ac_cv_func_atan2f" = x""yes; then :
41823 cat >>confdefs.h <<_ACEOF
41824 #define HAVE_ATAN2F 1
41825 _ACEOF
41828 done
41830 else
41832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41833 $as_echo_n "checking for _atan2f declaration... " >&6; }
41834 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41835 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41836 $as_echo_n "(cached) " >&6
41837 else
41840 ac_ext=cpp
41841 ac_cpp='$CXXCPP $CPPFLAGS'
41842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41847 /* end confdefs.h. */
41848 #include <math.h>
41850 main ()
41852 _atan2f(0, 0);
41854 return 0;
41856 _ACEOF
41857 if ac_fn_cxx_try_compile "$LINENO"; then :
41858 glibcxx_cv_func__atan2f_use=yes
41859 else
41860 glibcxx_cv_func__atan2f_use=no
41862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41863 ac_ext=c
41864 ac_cpp='$CPP $CPPFLAGS'
41865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41874 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41876 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41877 for ac_func in _atan2f
41878 do :
41879 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41880 if test "x$ac_cv_func__atan2f" = x""yes; then :
41881 cat >>confdefs.h <<_ACEOF
41882 #define HAVE__ATAN2F 1
41883 _ACEOF
41886 done
41895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41896 $as_echo_n "checking for fabsf declaration... " >&6; }
41897 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41898 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41899 $as_echo_n "(cached) " >&6
41900 else
41903 ac_ext=cpp
41904 ac_cpp='$CXXCPP $CPPFLAGS'
41905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41910 /* end confdefs.h. */
41911 #include <math.h>
41912 #ifdef HAVE_IEEEFP_H
41913 #include <ieeefp.h>
41914 #endif
41917 main ()
41919 fabsf(0);
41921 return 0;
41923 _ACEOF
41924 if ac_fn_cxx_try_compile "$LINENO"; then :
41925 glibcxx_cv_func_fabsf_use=yes
41926 else
41927 glibcxx_cv_func_fabsf_use=no
41929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41930 ac_ext=c
41931 ac_cpp='$CPP $CPPFLAGS'
41932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41941 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41943 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41944 for ac_func in fabsf
41945 do :
41946 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41947 if test "x$ac_cv_func_fabsf" = x""yes; then :
41948 cat >>confdefs.h <<_ACEOF
41949 #define HAVE_FABSF 1
41950 _ACEOF
41953 done
41955 else
41957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41958 $as_echo_n "checking for _fabsf declaration... " >&6; }
41959 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41960 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41961 $as_echo_n "(cached) " >&6
41962 else
41965 ac_ext=cpp
41966 ac_cpp='$CXXCPP $CPPFLAGS'
41967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41972 /* end confdefs.h. */
41973 #include <math.h>
41974 #ifdef HAVE_IEEEFP_H
41975 #include <ieeefp.h>
41976 #endif
41979 main ()
41981 _fabsf(0);
41983 return 0;
41985 _ACEOF
41986 if ac_fn_cxx_try_compile "$LINENO"; then :
41987 glibcxx_cv_func__fabsf_use=yes
41988 else
41989 glibcxx_cv_func__fabsf_use=no
41991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41992 ac_ext=c
41993 ac_cpp='$CPP $CPPFLAGS'
41994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42003 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42005 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42006 for ac_func in _fabsf
42007 do :
42008 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42009 if test "x$ac_cv_func__fabsf" = x""yes; then :
42010 cat >>confdefs.h <<_ACEOF
42011 #define HAVE__FABSF 1
42012 _ACEOF
42015 done
42024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42025 $as_echo_n "checking for fmodf declaration... " >&6; }
42026 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42027 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42028 $as_echo_n "(cached) " >&6
42029 else
42032 ac_ext=cpp
42033 ac_cpp='$CXXCPP $CPPFLAGS'
42034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42039 /* end confdefs.h. */
42040 #include <math.h>
42042 main ()
42044 fmodf(0, 0);
42046 return 0;
42048 _ACEOF
42049 if ac_fn_cxx_try_compile "$LINENO"; then :
42050 glibcxx_cv_func_fmodf_use=yes
42051 else
42052 glibcxx_cv_func_fmodf_use=no
42054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42055 ac_ext=c
42056 ac_cpp='$CPP $CPPFLAGS'
42057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42066 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42068 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42069 for ac_func in fmodf
42070 do :
42071 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42072 if test "x$ac_cv_func_fmodf" = x""yes; then :
42073 cat >>confdefs.h <<_ACEOF
42074 #define HAVE_FMODF 1
42075 _ACEOF
42078 done
42080 else
42082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42083 $as_echo_n "checking for _fmodf declaration... " >&6; }
42084 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42085 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42086 $as_echo_n "(cached) " >&6
42087 else
42090 ac_ext=cpp
42091 ac_cpp='$CXXCPP $CPPFLAGS'
42092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42097 /* end confdefs.h. */
42098 #include <math.h>
42100 main ()
42102 _fmodf(0, 0);
42104 return 0;
42106 _ACEOF
42107 if ac_fn_cxx_try_compile "$LINENO"; then :
42108 glibcxx_cv_func__fmodf_use=yes
42109 else
42110 glibcxx_cv_func__fmodf_use=no
42112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42113 ac_ext=c
42114 ac_cpp='$CPP $CPPFLAGS'
42115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42124 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42126 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42127 for ac_func in _fmodf
42128 do :
42129 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42130 if test "x$ac_cv_func__fmodf" = x""yes; then :
42131 cat >>confdefs.h <<_ACEOF
42132 #define HAVE__FMODF 1
42133 _ACEOF
42136 done
42145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42146 $as_echo_n "checking for frexpf declaration... " >&6; }
42147 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42148 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42149 $as_echo_n "(cached) " >&6
42150 else
42153 ac_ext=cpp
42154 ac_cpp='$CXXCPP $CPPFLAGS'
42155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42160 /* end confdefs.h. */
42161 #include <math.h>
42163 main ()
42165 frexpf(0, 0);
42167 return 0;
42169 _ACEOF
42170 if ac_fn_cxx_try_compile "$LINENO"; then :
42171 glibcxx_cv_func_frexpf_use=yes
42172 else
42173 glibcxx_cv_func_frexpf_use=no
42175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42176 ac_ext=c
42177 ac_cpp='$CPP $CPPFLAGS'
42178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42187 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42189 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42190 for ac_func in frexpf
42191 do :
42192 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42193 if test "x$ac_cv_func_frexpf" = x""yes; then :
42194 cat >>confdefs.h <<_ACEOF
42195 #define HAVE_FREXPF 1
42196 _ACEOF
42199 done
42201 else
42203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42204 $as_echo_n "checking for _frexpf declaration... " >&6; }
42205 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42206 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42207 $as_echo_n "(cached) " >&6
42208 else
42211 ac_ext=cpp
42212 ac_cpp='$CXXCPP $CPPFLAGS'
42213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42218 /* end confdefs.h. */
42219 #include <math.h>
42221 main ()
42223 _frexpf(0, 0);
42225 return 0;
42227 _ACEOF
42228 if ac_fn_cxx_try_compile "$LINENO"; then :
42229 glibcxx_cv_func__frexpf_use=yes
42230 else
42231 glibcxx_cv_func__frexpf_use=no
42233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42234 ac_ext=c
42235 ac_cpp='$CPP $CPPFLAGS'
42236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42245 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42247 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42248 for ac_func in _frexpf
42249 do :
42250 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42251 if test "x$ac_cv_func__frexpf" = x""yes; then :
42252 cat >>confdefs.h <<_ACEOF
42253 #define HAVE__FREXPF 1
42254 _ACEOF
42257 done
42266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42267 $as_echo_n "checking for hypotf declaration... " >&6; }
42268 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42269 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42270 $as_echo_n "(cached) " >&6
42271 else
42274 ac_ext=cpp
42275 ac_cpp='$CXXCPP $CPPFLAGS'
42276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42281 /* end confdefs.h. */
42282 #include <math.h>
42284 main ()
42286 hypotf(0, 0);
42288 return 0;
42290 _ACEOF
42291 if ac_fn_cxx_try_compile "$LINENO"; then :
42292 glibcxx_cv_func_hypotf_use=yes
42293 else
42294 glibcxx_cv_func_hypotf_use=no
42296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42297 ac_ext=c
42298 ac_cpp='$CPP $CPPFLAGS'
42299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42308 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42310 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42311 for ac_func in hypotf
42312 do :
42313 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42314 if test "x$ac_cv_func_hypotf" = x""yes; then :
42315 cat >>confdefs.h <<_ACEOF
42316 #define HAVE_HYPOTF 1
42317 _ACEOF
42320 done
42322 else
42324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42325 $as_echo_n "checking for _hypotf declaration... " >&6; }
42326 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42327 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42328 $as_echo_n "(cached) " >&6
42329 else
42332 ac_ext=cpp
42333 ac_cpp='$CXXCPP $CPPFLAGS'
42334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42339 /* end confdefs.h. */
42340 #include <math.h>
42342 main ()
42344 _hypotf(0, 0);
42346 return 0;
42348 _ACEOF
42349 if ac_fn_cxx_try_compile "$LINENO"; then :
42350 glibcxx_cv_func__hypotf_use=yes
42351 else
42352 glibcxx_cv_func__hypotf_use=no
42354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42355 ac_ext=c
42356 ac_cpp='$CPP $CPPFLAGS'
42357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42366 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42368 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42369 for ac_func in _hypotf
42370 do :
42371 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42372 if test "x$ac_cv_func__hypotf" = x""yes; then :
42373 cat >>confdefs.h <<_ACEOF
42374 #define HAVE__HYPOTF 1
42375 _ACEOF
42378 done
42387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42388 $as_echo_n "checking for ldexpf declaration... " >&6; }
42389 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42390 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42391 $as_echo_n "(cached) " >&6
42392 else
42395 ac_ext=cpp
42396 ac_cpp='$CXXCPP $CPPFLAGS'
42397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42402 /* end confdefs.h. */
42403 #include <math.h>
42405 main ()
42407 ldexpf(0, 0);
42409 return 0;
42411 _ACEOF
42412 if ac_fn_cxx_try_compile "$LINENO"; then :
42413 glibcxx_cv_func_ldexpf_use=yes
42414 else
42415 glibcxx_cv_func_ldexpf_use=no
42417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42418 ac_ext=c
42419 ac_cpp='$CPP $CPPFLAGS'
42420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42429 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42431 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42432 for ac_func in ldexpf
42433 do :
42434 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42435 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42436 cat >>confdefs.h <<_ACEOF
42437 #define HAVE_LDEXPF 1
42438 _ACEOF
42441 done
42443 else
42445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42446 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42447 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42448 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42449 $as_echo_n "(cached) " >&6
42450 else
42453 ac_ext=cpp
42454 ac_cpp='$CXXCPP $CPPFLAGS'
42455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42460 /* end confdefs.h. */
42461 #include <math.h>
42463 main ()
42465 _ldexpf(0, 0);
42467 return 0;
42469 _ACEOF
42470 if ac_fn_cxx_try_compile "$LINENO"; then :
42471 glibcxx_cv_func__ldexpf_use=yes
42472 else
42473 glibcxx_cv_func__ldexpf_use=no
42475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42476 ac_ext=c
42477 ac_cpp='$CPP $CPPFLAGS'
42478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42487 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42489 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42490 for ac_func in _ldexpf
42491 do :
42492 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42493 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42494 cat >>confdefs.h <<_ACEOF
42495 #define HAVE__LDEXPF 1
42496 _ACEOF
42499 done
42508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42509 $as_echo_n "checking for logf declaration... " >&6; }
42510 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42511 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42512 $as_echo_n "(cached) " >&6
42513 else
42516 ac_ext=cpp
42517 ac_cpp='$CXXCPP $CPPFLAGS'
42518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42523 /* end confdefs.h. */
42524 #include <math.h>
42525 #ifdef HAVE_IEEEFP_H
42526 #include <ieeefp.h>
42527 #endif
42530 main ()
42532 logf(0);
42534 return 0;
42536 _ACEOF
42537 if ac_fn_cxx_try_compile "$LINENO"; then :
42538 glibcxx_cv_func_logf_use=yes
42539 else
42540 glibcxx_cv_func_logf_use=no
42542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42543 ac_ext=c
42544 ac_cpp='$CPP $CPPFLAGS'
42545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42554 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42556 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42557 for ac_func in logf
42558 do :
42559 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42560 if test "x$ac_cv_func_logf" = x""yes; then :
42561 cat >>confdefs.h <<_ACEOF
42562 #define HAVE_LOGF 1
42563 _ACEOF
42566 done
42568 else
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42571 $as_echo_n "checking for _logf declaration... " >&6; }
42572 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42573 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42574 $as_echo_n "(cached) " >&6
42575 else
42578 ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h. */
42586 #include <math.h>
42587 #ifdef HAVE_IEEEFP_H
42588 #include <ieeefp.h>
42589 #endif
42592 main ()
42594 _logf(0);
42596 return 0;
42598 _ACEOF
42599 if ac_fn_cxx_try_compile "$LINENO"; then :
42600 glibcxx_cv_func__logf_use=yes
42601 else
42602 glibcxx_cv_func__logf_use=no
42604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42605 ac_ext=c
42606 ac_cpp='$CPP $CPPFLAGS'
42607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42616 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42618 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42619 for ac_func in _logf
42620 do :
42621 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42622 if test "x$ac_cv_func__logf" = x""yes; then :
42623 cat >>confdefs.h <<_ACEOF
42624 #define HAVE__LOGF 1
42625 _ACEOF
42628 done
42637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42638 $as_echo_n "checking for log10f declaration... " >&6; }
42639 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42640 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42641 $as_echo_n "(cached) " >&6
42642 else
42645 ac_ext=cpp
42646 ac_cpp='$CXXCPP $CPPFLAGS'
42647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42652 /* end confdefs.h. */
42653 #include <math.h>
42654 #ifdef HAVE_IEEEFP_H
42655 #include <ieeefp.h>
42656 #endif
42659 main ()
42661 log10f(0);
42663 return 0;
42665 _ACEOF
42666 if ac_fn_cxx_try_compile "$LINENO"; then :
42667 glibcxx_cv_func_log10f_use=yes
42668 else
42669 glibcxx_cv_func_log10f_use=no
42671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42672 ac_ext=c
42673 ac_cpp='$CPP $CPPFLAGS'
42674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42683 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42685 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42686 for ac_func in log10f
42687 do :
42688 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42689 if test "x$ac_cv_func_log10f" = x""yes; then :
42690 cat >>confdefs.h <<_ACEOF
42691 #define HAVE_LOG10F 1
42692 _ACEOF
42695 done
42697 else
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42700 $as_echo_n "checking for _log10f declaration... " >&6; }
42701 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42702 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42703 $as_echo_n "(cached) " >&6
42704 else
42707 ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h. */
42715 #include <math.h>
42716 #ifdef HAVE_IEEEFP_H
42717 #include <ieeefp.h>
42718 #endif
42721 main ()
42723 _log10f(0);
42725 return 0;
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729 glibcxx_cv_func__log10f_use=yes
42730 else
42731 glibcxx_cv_func__log10f_use=no
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734 ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42745 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42747 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42748 for ac_func in _log10f
42749 do :
42750 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42751 if test "x$ac_cv_func__log10f" = x""yes; then :
42752 cat >>confdefs.h <<_ACEOF
42753 #define HAVE__LOG10F 1
42754 _ACEOF
42757 done
42766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42767 $as_echo_n "checking for modff declaration... " >&6; }
42768 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42769 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42770 $as_echo_n "(cached) " >&6
42771 else
42774 ac_ext=cpp
42775 ac_cpp='$CXXCPP $CPPFLAGS'
42776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42781 /* end confdefs.h. */
42782 #include <math.h>
42784 main ()
42786 modff(0, 0);
42788 return 0;
42790 _ACEOF
42791 if ac_fn_cxx_try_compile "$LINENO"; then :
42792 glibcxx_cv_func_modff_use=yes
42793 else
42794 glibcxx_cv_func_modff_use=no
42796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42797 ac_ext=c
42798 ac_cpp='$CPP $CPPFLAGS'
42799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42808 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42810 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42811 for ac_func in modff
42812 do :
42813 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42814 if test "x$ac_cv_func_modff" = x""yes; then :
42815 cat >>confdefs.h <<_ACEOF
42816 #define HAVE_MODFF 1
42817 _ACEOF
42820 done
42822 else
42824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42825 $as_echo_n "checking for _modff declaration... " >&6; }
42826 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42827 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42828 $as_echo_n "(cached) " >&6
42829 else
42832 ac_ext=cpp
42833 ac_cpp='$CXXCPP $CPPFLAGS'
42834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42839 /* end confdefs.h. */
42840 #include <math.h>
42842 main ()
42844 _modff(0, 0);
42846 return 0;
42848 _ACEOF
42849 if ac_fn_cxx_try_compile "$LINENO"; then :
42850 glibcxx_cv_func__modff_use=yes
42851 else
42852 glibcxx_cv_func__modff_use=no
42854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42855 ac_ext=c
42856 ac_cpp='$CPP $CPPFLAGS'
42857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42866 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42868 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42869 for ac_func in _modff
42870 do :
42871 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42872 if test "x$ac_cv_func__modff" = x""yes; then :
42873 cat >>confdefs.h <<_ACEOF
42874 #define HAVE__MODFF 1
42875 _ACEOF
42878 done
42887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42888 $as_echo_n "checking for modf declaration... " >&6; }
42889 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42890 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42891 $as_echo_n "(cached) " >&6
42892 else
42895 ac_ext=cpp
42896 ac_cpp='$CXXCPP $CPPFLAGS'
42897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42902 /* end confdefs.h. */
42903 #include <math.h>
42905 main ()
42907 modf(0, 0);
42909 return 0;
42911 _ACEOF
42912 if ac_fn_cxx_try_compile "$LINENO"; then :
42913 glibcxx_cv_func_modf_use=yes
42914 else
42915 glibcxx_cv_func_modf_use=no
42917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42918 ac_ext=c
42919 ac_cpp='$CPP $CPPFLAGS'
42920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42929 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42931 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42932 for ac_func in modf
42933 do :
42934 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42935 if test "x$ac_cv_func_modf" = x""yes; then :
42936 cat >>confdefs.h <<_ACEOF
42937 #define HAVE_MODF 1
42938 _ACEOF
42941 done
42943 else
42945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42946 $as_echo_n "checking for _modf declaration... " >&6; }
42947 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42948 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42949 $as_echo_n "(cached) " >&6
42950 else
42953 ac_ext=cpp
42954 ac_cpp='$CXXCPP $CPPFLAGS'
42955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42960 /* end confdefs.h. */
42961 #include <math.h>
42963 main ()
42965 _modf(0, 0);
42967 return 0;
42969 _ACEOF
42970 if ac_fn_cxx_try_compile "$LINENO"; then :
42971 glibcxx_cv_func__modf_use=yes
42972 else
42973 glibcxx_cv_func__modf_use=no
42975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42976 ac_ext=c
42977 ac_cpp='$CPP $CPPFLAGS'
42978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42987 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42989 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42990 for ac_func in _modf
42991 do :
42992 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42993 if test "x$ac_cv_func__modf" = x""yes; then :
42994 cat >>confdefs.h <<_ACEOF
42995 #define HAVE__MODF 1
42996 _ACEOF
42999 done
43008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43009 $as_echo_n "checking for powf declaration... " >&6; }
43010 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43011 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43012 $as_echo_n "(cached) " >&6
43013 else
43016 ac_ext=cpp
43017 ac_cpp='$CXXCPP $CPPFLAGS'
43018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43023 /* end confdefs.h. */
43024 #include <math.h>
43026 main ()
43028 powf(0, 0);
43030 return 0;
43032 _ACEOF
43033 if ac_fn_cxx_try_compile "$LINENO"; then :
43034 glibcxx_cv_func_powf_use=yes
43035 else
43036 glibcxx_cv_func_powf_use=no
43038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43039 ac_ext=c
43040 ac_cpp='$CPP $CPPFLAGS'
43041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43050 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43052 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43053 for ac_func in powf
43054 do :
43055 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43056 if test "x$ac_cv_func_powf" = x""yes; then :
43057 cat >>confdefs.h <<_ACEOF
43058 #define HAVE_POWF 1
43059 _ACEOF
43062 done
43064 else
43066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43067 $as_echo_n "checking for _powf declaration... " >&6; }
43068 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43069 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43070 $as_echo_n "(cached) " >&6
43071 else
43074 ac_ext=cpp
43075 ac_cpp='$CXXCPP $CPPFLAGS'
43076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43081 /* end confdefs.h. */
43082 #include <math.h>
43084 main ()
43086 _powf(0, 0);
43088 return 0;
43090 _ACEOF
43091 if ac_fn_cxx_try_compile "$LINENO"; then :
43092 glibcxx_cv_func__powf_use=yes
43093 else
43094 glibcxx_cv_func__powf_use=no
43096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43097 ac_ext=c
43098 ac_cpp='$CPP $CPPFLAGS'
43099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43108 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43110 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43111 for ac_func in _powf
43112 do :
43113 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43114 if test "x$ac_cv_func__powf" = x""yes; then :
43115 cat >>confdefs.h <<_ACEOF
43116 #define HAVE__POWF 1
43117 _ACEOF
43120 done
43129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43130 $as_echo_n "checking for sqrtf declaration... " >&6; }
43131 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43132 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43133 $as_echo_n "(cached) " >&6
43134 else
43137 ac_ext=cpp
43138 ac_cpp='$CXXCPP $CPPFLAGS'
43139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43144 /* end confdefs.h. */
43145 #include <math.h>
43146 #ifdef HAVE_IEEEFP_H
43147 #include <ieeefp.h>
43148 #endif
43151 main ()
43153 sqrtf(0);
43155 return 0;
43157 _ACEOF
43158 if ac_fn_cxx_try_compile "$LINENO"; then :
43159 glibcxx_cv_func_sqrtf_use=yes
43160 else
43161 glibcxx_cv_func_sqrtf_use=no
43163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43164 ac_ext=c
43165 ac_cpp='$CPP $CPPFLAGS'
43166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43175 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43177 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43178 for ac_func in sqrtf
43179 do :
43180 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43181 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43182 cat >>confdefs.h <<_ACEOF
43183 #define HAVE_SQRTF 1
43184 _ACEOF
43187 done
43189 else
43191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43192 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43193 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43194 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43195 $as_echo_n "(cached) " >&6
43196 else
43199 ac_ext=cpp
43200 ac_cpp='$CXXCPP $CPPFLAGS'
43201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43206 /* end confdefs.h. */
43207 #include <math.h>
43208 #ifdef HAVE_IEEEFP_H
43209 #include <ieeefp.h>
43210 #endif
43213 main ()
43215 _sqrtf(0);
43217 return 0;
43219 _ACEOF
43220 if ac_fn_cxx_try_compile "$LINENO"; then :
43221 glibcxx_cv_func__sqrtf_use=yes
43222 else
43223 glibcxx_cv_func__sqrtf_use=no
43225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43226 ac_ext=c
43227 ac_cpp='$CPP $CPPFLAGS'
43228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43237 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43239 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43240 for ac_func in _sqrtf
43241 do :
43242 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43243 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43244 cat >>confdefs.h <<_ACEOF
43245 #define HAVE__SQRTF 1
43246 _ACEOF
43249 done
43258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43259 $as_echo_n "checking for sincosf declaration... " >&6; }
43260 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43261 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43262 $as_echo_n "(cached) " >&6
43263 else
43266 ac_ext=cpp
43267 ac_cpp='$CXXCPP $CPPFLAGS'
43268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43273 /* end confdefs.h. */
43274 #include <math.h>
43276 main ()
43278 sincosf(0, 0, 0);
43280 return 0;
43282 _ACEOF
43283 if ac_fn_cxx_try_compile "$LINENO"; then :
43284 glibcxx_cv_func_sincosf_use=yes
43285 else
43286 glibcxx_cv_func_sincosf_use=no
43288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43289 ac_ext=c
43290 ac_cpp='$CPP $CPPFLAGS'
43291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43300 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43302 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43303 for ac_func in sincosf
43304 do :
43305 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43306 if test "x$ac_cv_func_sincosf" = x""yes; then :
43307 cat >>confdefs.h <<_ACEOF
43308 #define HAVE_SINCOSF 1
43309 _ACEOF
43312 done
43314 else
43316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43317 $as_echo_n "checking for _sincosf declaration... " >&6; }
43318 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43319 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43320 $as_echo_n "(cached) " >&6
43321 else
43324 ac_ext=cpp
43325 ac_cpp='$CXXCPP $CPPFLAGS'
43326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43331 /* end confdefs.h. */
43332 #include <math.h>
43334 main ()
43336 _sincosf(0, 0, 0);
43338 return 0;
43340 _ACEOF
43341 if ac_fn_cxx_try_compile "$LINENO"; then :
43342 glibcxx_cv_func__sincosf_use=yes
43343 else
43344 glibcxx_cv_func__sincosf_use=no
43346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43347 ac_ext=c
43348 ac_cpp='$CPP $CPPFLAGS'
43349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43358 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43360 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43361 for ac_func in _sincosf
43362 do :
43363 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43364 if test "x$ac_cv_func__sincosf" = x""yes; then :
43365 cat >>confdefs.h <<_ACEOF
43366 #define HAVE__SINCOSF 1
43367 _ACEOF
43370 done
43379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43380 $as_echo_n "checking for finitef declaration... " >&6; }
43381 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43382 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43383 $as_echo_n "(cached) " >&6
43384 else
43387 ac_ext=cpp
43388 ac_cpp='$CXXCPP $CPPFLAGS'
43389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43394 /* end confdefs.h. */
43395 #include <math.h>
43396 #ifdef HAVE_IEEEFP_H
43397 #include <ieeefp.h>
43398 #endif
43401 main ()
43403 finitef(0);
43405 return 0;
43407 _ACEOF
43408 if ac_fn_cxx_try_compile "$LINENO"; then :
43409 glibcxx_cv_func_finitef_use=yes
43410 else
43411 glibcxx_cv_func_finitef_use=no
43413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43414 ac_ext=c
43415 ac_cpp='$CPP $CPPFLAGS'
43416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43425 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43427 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43428 for ac_func in finitef
43429 do :
43430 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43431 if test "x$ac_cv_func_finitef" = x""yes; then :
43432 cat >>confdefs.h <<_ACEOF
43433 #define HAVE_FINITEF 1
43434 _ACEOF
43437 done
43439 else
43441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43442 $as_echo_n "checking for _finitef declaration... " >&6; }
43443 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43444 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43445 $as_echo_n "(cached) " >&6
43446 else
43449 ac_ext=cpp
43450 ac_cpp='$CXXCPP $CPPFLAGS'
43451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43456 /* end confdefs.h. */
43457 #include <math.h>
43458 #ifdef HAVE_IEEEFP_H
43459 #include <ieeefp.h>
43460 #endif
43463 main ()
43465 _finitef(0);
43467 return 0;
43469 _ACEOF
43470 if ac_fn_cxx_try_compile "$LINENO"; then :
43471 glibcxx_cv_func__finitef_use=yes
43472 else
43473 glibcxx_cv_func__finitef_use=no
43475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43476 ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43487 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43489 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43490 for ac_func in _finitef
43491 do :
43492 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43493 if test "x$ac_cv_func__finitef" = x""yes; then :
43494 cat >>confdefs.h <<_ACEOF
43495 #define HAVE__FINITEF 1
43496 _ACEOF
43499 done
43508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43509 $as_echo_n "checking for long double trig functions... " >&6; }
43510 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43511 $as_echo_n "(cached) " >&6
43512 else
43515 ac_ext=cpp
43516 ac_cpp='$CXXCPP $CPPFLAGS'
43517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43522 /* end confdefs.h. */
43523 #include <math.h>
43525 main ()
43527 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43529 return 0;
43531 _ACEOF
43532 if ac_fn_cxx_try_compile "$LINENO"; then :
43533 glibcxx_cv_func_long_double_trig_use=yes
43534 else
43535 glibcxx_cv_func_long_double_trig_use=no
43537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43538 ac_ext=c
43539 ac_cpp='$CPP $CPPFLAGS'
43540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43547 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43548 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43549 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43550 do :
43551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43553 eval as_val=\$$as_ac_var
43554 if test "x$as_val" = x""yes; then :
43555 cat >>confdefs.h <<_ACEOF
43556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43557 _ACEOF
43560 done
43562 else
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43564 $as_echo_n "checking for _long double trig functions... " >&6; }
43565 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43566 $as_echo_n "(cached) " >&6
43567 else
43570 ac_ext=cpp
43571 ac_cpp='$CXXCPP $CPPFLAGS'
43572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43577 /* end confdefs.h. */
43578 #include <math.h>
43580 main ()
43582 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43584 return 0;
43586 _ACEOF
43587 if ac_fn_cxx_try_compile "$LINENO"; then :
43588 glibcxx_cv_func__long_double_trig_use=yes
43589 else
43590 glibcxx_cv_func__long_double_trig_use=no
43592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43593 ac_ext=c
43594 ac_cpp='$CPP $CPPFLAGS'
43595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43602 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43603 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43604 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43605 do :
43606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43608 eval as_val=\$$as_ac_var
43609 if test "x$as_val" = x""yes; then :
43610 cat >>confdefs.h <<_ACEOF
43611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43612 _ACEOF
43615 done
43624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43625 $as_echo_n "checking for long double round functions... " >&6; }
43626 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43627 $as_echo_n "(cached) " >&6
43628 else
43631 ac_ext=cpp
43632 ac_cpp='$CXXCPP $CPPFLAGS'
43633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43638 /* end confdefs.h. */
43639 #include <math.h>
43641 main ()
43643 ceill (0); floorl (0);
43645 return 0;
43647 _ACEOF
43648 if ac_fn_cxx_try_compile "$LINENO"; then :
43649 glibcxx_cv_func_long_double_round_use=yes
43650 else
43651 glibcxx_cv_func_long_double_round_use=no
43653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43654 ac_ext=c
43655 ac_cpp='$CPP $CPPFLAGS'
43656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43663 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43664 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43665 for ac_func in ceill floorl
43666 do :
43667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43669 eval as_val=\$$as_ac_var
43670 if test "x$as_val" = x""yes; then :
43671 cat >>confdefs.h <<_ACEOF
43672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43673 _ACEOF
43676 done
43678 else
43679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43680 $as_echo_n "checking for _long double round functions... " >&6; }
43681 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43682 $as_echo_n "(cached) " >&6
43683 else
43686 ac_ext=cpp
43687 ac_cpp='$CXXCPP $CPPFLAGS'
43688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43693 /* end confdefs.h. */
43694 #include <math.h>
43696 main ()
43698 _ceill (0); _floorl (0);
43700 return 0;
43702 _ACEOF
43703 if ac_fn_cxx_try_compile "$LINENO"; then :
43704 glibcxx_cv_func__long_double_round_use=yes
43705 else
43706 glibcxx_cv_func__long_double_round_use=no
43708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43709 ac_ext=c
43710 ac_cpp='$CPP $CPPFLAGS'
43711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43718 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43719 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43720 for ac_func in _ceill _floorl
43721 do :
43722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43724 eval as_val=\$$as_ac_var
43725 if test "x$as_val" = x""yes; then :
43726 cat >>confdefs.h <<_ACEOF
43727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43728 _ACEOF
43731 done
43741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43742 $as_echo_n "checking for isnanl declaration... " >&6; }
43743 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43744 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43745 $as_echo_n "(cached) " >&6
43746 else
43749 ac_ext=cpp
43750 ac_cpp='$CXXCPP $CPPFLAGS'
43751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43756 /* end confdefs.h. */
43757 #include <math.h>
43758 #ifdef HAVE_IEEEFP_H
43759 #include <ieeefp.h>
43760 #endif
43763 main ()
43765 isnanl(0);
43767 return 0;
43769 _ACEOF
43770 if ac_fn_cxx_try_compile "$LINENO"; then :
43771 glibcxx_cv_func_isnanl_use=yes
43772 else
43773 glibcxx_cv_func_isnanl_use=no
43775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43776 ac_ext=c
43777 ac_cpp='$CPP $CPPFLAGS'
43778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43787 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43789 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43790 for ac_func in isnanl
43791 do :
43792 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43793 if test "x$ac_cv_func_isnanl" = x""yes; then :
43794 cat >>confdefs.h <<_ACEOF
43795 #define HAVE_ISNANL 1
43796 _ACEOF
43799 done
43801 else
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43804 $as_echo_n "checking for _isnanl declaration... " >&6; }
43805 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43806 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43807 $as_echo_n "(cached) " >&6
43808 else
43811 ac_ext=cpp
43812 ac_cpp='$CXXCPP $CPPFLAGS'
43813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43818 /* end confdefs.h. */
43819 #include <math.h>
43820 #ifdef HAVE_IEEEFP_H
43821 #include <ieeefp.h>
43822 #endif
43825 main ()
43827 _isnanl(0);
43829 return 0;
43831 _ACEOF
43832 if ac_fn_cxx_try_compile "$LINENO"; then :
43833 glibcxx_cv_func__isnanl_use=yes
43834 else
43835 glibcxx_cv_func__isnanl_use=no
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838 ac_ext=c
43839 ac_cpp='$CPP $CPPFLAGS'
43840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43849 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43851 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43852 for ac_func in _isnanl
43853 do :
43854 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43855 if test "x$ac_cv_func__isnanl" = x""yes; then :
43856 cat >>confdefs.h <<_ACEOF
43857 #define HAVE__ISNANL 1
43858 _ACEOF
43861 done
43870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43871 $as_echo_n "checking for isinfl declaration... " >&6; }
43872 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43873 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43874 $as_echo_n "(cached) " >&6
43875 else
43878 ac_ext=cpp
43879 ac_cpp='$CXXCPP $CPPFLAGS'
43880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43885 /* end confdefs.h. */
43886 #include <math.h>
43887 #ifdef HAVE_IEEEFP_H
43888 #include <ieeefp.h>
43889 #endif
43892 main ()
43894 isinfl(0);
43896 return 0;
43898 _ACEOF
43899 if ac_fn_cxx_try_compile "$LINENO"; then :
43900 glibcxx_cv_func_isinfl_use=yes
43901 else
43902 glibcxx_cv_func_isinfl_use=no
43904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43905 ac_ext=c
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43916 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43918 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43919 for ac_func in isinfl
43920 do :
43921 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43922 if test "x$ac_cv_func_isinfl" = x""yes; then :
43923 cat >>confdefs.h <<_ACEOF
43924 #define HAVE_ISINFL 1
43925 _ACEOF
43928 done
43930 else
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43933 $as_echo_n "checking for _isinfl declaration... " >&6; }
43934 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43935 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43936 $as_echo_n "(cached) " >&6
43937 else
43940 ac_ext=cpp
43941 ac_cpp='$CXXCPP $CPPFLAGS'
43942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43947 /* end confdefs.h. */
43948 #include <math.h>
43949 #ifdef HAVE_IEEEFP_H
43950 #include <ieeefp.h>
43951 #endif
43954 main ()
43956 _isinfl(0);
43958 return 0;
43960 _ACEOF
43961 if ac_fn_cxx_try_compile "$LINENO"; then :
43962 glibcxx_cv_func__isinfl_use=yes
43963 else
43964 glibcxx_cv_func__isinfl_use=no
43966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43967 ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43978 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43980 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43981 for ac_func in _isinfl
43982 do :
43983 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43984 if test "x$ac_cv_func__isinfl" = x""yes; then :
43985 cat >>confdefs.h <<_ACEOF
43986 #define HAVE__ISINFL 1
43987 _ACEOF
43990 done
43999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44000 $as_echo_n "checking for atan2l declaration... " >&6; }
44001 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44002 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44003 $as_echo_n "(cached) " >&6
44004 else
44007 ac_ext=cpp
44008 ac_cpp='$CXXCPP $CPPFLAGS'
44009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44014 /* end confdefs.h. */
44015 #include <math.h>
44017 main ()
44019 atan2l(0, 0);
44021 return 0;
44023 _ACEOF
44024 if ac_fn_cxx_try_compile "$LINENO"; then :
44025 glibcxx_cv_func_atan2l_use=yes
44026 else
44027 glibcxx_cv_func_atan2l_use=no
44029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44030 ac_ext=c
44031 ac_cpp='$CPP $CPPFLAGS'
44032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44041 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44043 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44044 for ac_func in atan2l
44045 do :
44046 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44047 if test "x$ac_cv_func_atan2l" = x""yes; then :
44048 cat >>confdefs.h <<_ACEOF
44049 #define HAVE_ATAN2L 1
44050 _ACEOF
44053 done
44055 else
44057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44058 $as_echo_n "checking for _atan2l declaration... " >&6; }
44059 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44060 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44061 $as_echo_n "(cached) " >&6
44062 else
44065 ac_ext=cpp
44066 ac_cpp='$CXXCPP $CPPFLAGS'
44067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44072 /* end confdefs.h. */
44073 #include <math.h>
44075 main ()
44077 _atan2l(0, 0);
44079 return 0;
44081 _ACEOF
44082 if ac_fn_cxx_try_compile "$LINENO"; then :
44083 glibcxx_cv_func__atan2l_use=yes
44084 else
44085 glibcxx_cv_func__atan2l_use=no
44087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44088 ac_ext=c
44089 ac_cpp='$CPP $CPPFLAGS'
44090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44099 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44101 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44102 for ac_func in _atan2l
44103 do :
44104 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44105 if test "x$ac_cv_func__atan2l" = x""yes; then :
44106 cat >>confdefs.h <<_ACEOF
44107 #define HAVE__ATAN2L 1
44108 _ACEOF
44111 done
44120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44121 $as_echo_n "checking for expl declaration... " >&6; }
44122 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44123 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44124 $as_echo_n "(cached) " >&6
44125 else
44128 ac_ext=cpp
44129 ac_cpp='$CXXCPP $CPPFLAGS'
44130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44135 /* end confdefs.h. */
44136 #include <math.h>
44137 #ifdef HAVE_IEEEFP_H
44138 #include <ieeefp.h>
44139 #endif
44142 main ()
44144 expl(0);
44146 return 0;
44148 _ACEOF
44149 if ac_fn_cxx_try_compile "$LINENO"; then :
44150 glibcxx_cv_func_expl_use=yes
44151 else
44152 glibcxx_cv_func_expl_use=no
44154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44155 ac_ext=c
44156 ac_cpp='$CPP $CPPFLAGS'
44157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44166 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44168 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44169 for ac_func in expl
44170 do :
44171 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44172 if test "x$ac_cv_func_expl" = x""yes; then :
44173 cat >>confdefs.h <<_ACEOF
44174 #define HAVE_EXPL 1
44175 _ACEOF
44178 done
44180 else
44182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44183 $as_echo_n "checking for _expl declaration... " >&6; }
44184 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44185 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44186 $as_echo_n "(cached) " >&6
44187 else
44190 ac_ext=cpp
44191 ac_cpp='$CXXCPP $CPPFLAGS'
44192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44197 /* end confdefs.h. */
44198 #include <math.h>
44199 #ifdef HAVE_IEEEFP_H
44200 #include <ieeefp.h>
44201 #endif
44204 main ()
44206 _expl(0);
44208 return 0;
44210 _ACEOF
44211 if ac_fn_cxx_try_compile "$LINENO"; then :
44212 glibcxx_cv_func__expl_use=yes
44213 else
44214 glibcxx_cv_func__expl_use=no
44216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44217 ac_ext=c
44218 ac_cpp='$CPP $CPPFLAGS'
44219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44228 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44230 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44231 for ac_func in _expl
44232 do :
44233 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44234 if test "x$ac_cv_func__expl" = x""yes; then :
44235 cat >>confdefs.h <<_ACEOF
44236 #define HAVE__EXPL 1
44237 _ACEOF
44240 done
44249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44250 $as_echo_n "checking for fabsl declaration... " >&6; }
44251 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44252 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44253 $as_echo_n "(cached) " >&6
44254 else
44257 ac_ext=cpp
44258 ac_cpp='$CXXCPP $CPPFLAGS'
44259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44264 /* end confdefs.h. */
44265 #include <math.h>
44266 #ifdef HAVE_IEEEFP_H
44267 #include <ieeefp.h>
44268 #endif
44271 main ()
44273 fabsl(0);
44275 return 0;
44277 _ACEOF
44278 if ac_fn_cxx_try_compile "$LINENO"; then :
44279 glibcxx_cv_func_fabsl_use=yes
44280 else
44281 glibcxx_cv_func_fabsl_use=no
44283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44284 ac_ext=c
44285 ac_cpp='$CPP $CPPFLAGS'
44286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44295 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44297 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44298 for ac_func in fabsl
44299 do :
44300 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44301 if test "x$ac_cv_func_fabsl" = x""yes; then :
44302 cat >>confdefs.h <<_ACEOF
44303 #define HAVE_FABSL 1
44304 _ACEOF
44307 done
44309 else
44311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44312 $as_echo_n "checking for _fabsl declaration... " >&6; }
44313 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44314 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44315 $as_echo_n "(cached) " >&6
44316 else
44319 ac_ext=cpp
44320 ac_cpp='$CXXCPP $CPPFLAGS'
44321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44326 /* end confdefs.h. */
44327 #include <math.h>
44328 #ifdef HAVE_IEEEFP_H
44329 #include <ieeefp.h>
44330 #endif
44333 main ()
44335 _fabsl(0);
44337 return 0;
44339 _ACEOF
44340 if ac_fn_cxx_try_compile "$LINENO"; then :
44341 glibcxx_cv_func__fabsl_use=yes
44342 else
44343 glibcxx_cv_func__fabsl_use=no
44345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44346 ac_ext=c
44347 ac_cpp='$CPP $CPPFLAGS'
44348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44357 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44359 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44360 for ac_func in _fabsl
44361 do :
44362 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44363 if test "x$ac_cv_func__fabsl" = x""yes; then :
44364 cat >>confdefs.h <<_ACEOF
44365 #define HAVE__FABSL 1
44366 _ACEOF
44369 done
44378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44379 $as_echo_n "checking for fmodl declaration... " >&6; }
44380 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44381 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44382 $as_echo_n "(cached) " >&6
44383 else
44386 ac_ext=cpp
44387 ac_cpp='$CXXCPP $CPPFLAGS'
44388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44393 /* end confdefs.h. */
44394 #include <math.h>
44396 main ()
44398 fmodl(0, 0);
44400 return 0;
44402 _ACEOF
44403 if ac_fn_cxx_try_compile "$LINENO"; then :
44404 glibcxx_cv_func_fmodl_use=yes
44405 else
44406 glibcxx_cv_func_fmodl_use=no
44408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44409 ac_ext=c
44410 ac_cpp='$CPP $CPPFLAGS'
44411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44420 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44422 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44423 for ac_func in fmodl
44424 do :
44425 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44426 if test "x$ac_cv_func_fmodl" = x""yes; then :
44427 cat >>confdefs.h <<_ACEOF
44428 #define HAVE_FMODL 1
44429 _ACEOF
44432 done
44434 else
44436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44437 $as_echo_n "checking for _fmodl declaration... " >&6; }
44438 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44439 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44440 $as_echo_n "(cached) " >&6
44441 else
44444 ac_ext=cpp
44445 ac_cpp='$CXXCPP $CPPFLAGS'
44446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44451 /* end confdefs.h. */
44452 #include <math.h>
44454 main ()
44456 _fmodl(0, 0);
44458 return 0;
44460 _ACEOF
44461 if ac_fn_cxx_try_compile "$LINENO"; then :
44462 glibcxx_cv_func__fmodl_use=yes
44463 else
44464 glibcxx_cv_func__fmodl_use=no
44466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44467 ac_ext=c
44468 ac_cpp='$CPP $CPPFLAGS'
44469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44478 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44480 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44481 for ac_func in _fmodl
44482 do :
44483 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44484 if test "x$ac_cv_func__fmodl" = x""yes; then :
44485 cat >>confdefs.h <<_ACEOF
44486 #define HAVE__FMODL 1
44487 _ACEOF
44490 done
44499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44500 $as_echo_n "checking for frexpl declaration... " >&6; }
44501 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44502 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44503 $as_echo_n "(cached) " >&6
44504 else
44507 ac_ext=cpp
44508 ac_cpp='$CXXCPP $CPPFLAGS'
44509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44514 /* end confdefs.h. */
44515 #include <math.h>
44517 main ()
44519 frexpl(0, 0);
44521 return 0;
44523 _ACEOF
44524 if ac_fn_cxx_try_compile "$LINENO"; then :
44525 glibcxx_cv_func_frexpl_use=yes
44526 else
44527 glibcxx_cv_func_frexpl_use=no
44529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44530 ac_ext=c
44531 ac_cpp='$CPP $CPPFLAGS'
44532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44541 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44543 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44544 for ac_func in frexpl
44545 do :
44546 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44547 if test "x$ac_cv_func_frexpl" = x""yes; then :
44548 cat >>confdefs.h <<_ACEOF
44549 #define HAVE_FREXPL 1
44550 _ACEOF
44553 done
44555 else
44557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44558 $as_echo_n "checking for _frexpl declaration... " >&6; }
44559 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44560 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44561 $as_echo_n "(cached) " >&6
44562 else
44565 ac_ext=cpp
44566 ac_cpp='$CXXCPP $CPPFLAGS'
44567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44572 /* end confdefs.h. */
44573 #include <math.h>
44575 main ()
44577 _frexpl(0, 0);
44579 return 0;
44581 _ACEOF
44582 if ac_fn_cxx_try_compile "$LINENO"; then :
44583 glibcxx_cv_func__frexpl_use=yes
44584 else
44585 glibcxx_cv_func__frexpl_use=no
44587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44588 ac_ext=c
44589 ac_cpp='$CPP $CPPFLAGS'
44590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44599 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44601 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44602 for ac_func in _frexpl
44603 do :
44604 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44605 if test "x$ac_cv_func__frexpl" = x""yes; then :
44606 cat >>confdefs.h <<_ACEOF
44607 #define HAVE__FREXPL 1
44608 _ACEOF
44611 done
44620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44621 $as_echo_n "checking for hypotl declaration... " >&6; }
44622 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44623 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44624 $as_echo_n "(cached) " >&6
44625 else
44628 ac_ext=cpp
44629 ac_cpp='$CXXCPP $CPPFLAGS'
44630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44635 /* end confdefs.h. */
44636 #include <math.h>
44638 main ()
44640 hypotl(0, 0);
44642 return 0;
44644 _ACEOF
44645 if ac_fn_cxx_try_compile "$LINENO"; then :
44646 glibcxx_cv_func_hypotl_use=yes
44647 else
44648 glibcxx_cv_func_hypotl_use=no
44650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44651 ac_ext=c
44652 ac_cpp='$CPP $CPPFLAGS'
44653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44662 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44664 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44665 for ac_func in hypotl
44666 do :
44667 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44668 if test "x$ac_cv_func_hypotl" = x""yes; then :
44669 cat >>confdefs.h <<_ACEOF
44670 #define HAVE_HYPOTL 1
44671 _ACEOF
44674 done
44676 else
44678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44679 $as_echo_n "checking for _hypotl declaration... " >&6; }
44680 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44681 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44682 $as_echo_n "(cached) " >&6
44683 else
44686 ac_ext=cpp
44687 ac_cpp='$CXXCPP $CPPFLAGS'
44688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44693 /* end confdefs.h. */
44694 #include <math.h>
44696 main ()
44698 _hypotl(0, 0);
44700 return 0;
44702 _ACEOF
44703 if ac_fn_cxx_try_compile "$LINENO"; then :
44704 glibcxx_cv_func__hypotl_use=yes
44705 else
44706 glibcxx_cv_func__hypotl_use=no
44708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44709 ac_ext=c
44710 ac_cpp='$CPP $CPPFLAGS'
44711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44720 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44722 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44723 for ac_func in _hypotl
44724 do :
44725 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44726 if test "x$ac_cv_func__hypotl" = x""yes; then :
44727 cat >>confdefs.h <<_ACEOF
44728 #define HAVE__HYPOTL 1
44729 _ACEOF
44732 done
44741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44742 $as_echo_n "checking for ldexpl declaration... " >&6; }
44743 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44744 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44745 $as_echo_n "(cached) " >&6
44746 else
44749 ac_ext=cpp
44750 ac_cpp='$CXXCPP $CPPFLAGS'
44751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44756 /* end confdefs.h. */
44757 #include <math.h>
44759 main ()
44761 ldexpl(0, 0);
44763 return 0;
44765 _ACEOF
44766 if ac_fn_cxx_try_compile "$LINENO"; then :
44767 glibcxx_cv_func_ldexpl_use=yes
44768 else
44769 glibcxx_cv_func_ldexpl_use=no
44771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44772 ac_ext=c
44773 ac_cpp='$CPP $CPPFLAGS'
44774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44783 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44785 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44786 for ac_func in ldexpl
44787 do :
44788 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44789 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44790 cat >>confdefs.h <<_ACEOF
44791 #define HAVE_LDEXPL 1
44792 _ACEOF
44795 done
44797 else
44799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44800 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44801 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44802 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44803 $as_echo_n "(cached) " >&6
44804 else
44807 ac_ext=cpp
44808 ac_cpp='$CXXCPP $CPPFLAGS'
44809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44814 /* end confdefs.h. */
44815 #include <math.h>
44817 main ()
44819 _ldexpl(0, 0);
44821 return 0;
44823 _ACEOF
44824 if ac_fn_cxx_try_compile "$LINENO"; then :
44825 glibcxx_cv_func__ldexpl_use=yes
44826 else
44827 glibcxx_cv_func__ldexpl_use=no
44829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44830 ac_ext=c
44831 ac_cpp='$CPP $CPPFLAGS'
44832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44841 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44843 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44844 for ac_func in _ldexpl
44845 do :
44846 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44847 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44848 cat >>confdefs.h <<_ACEOF
44849 #define HAVE__LDEXPL 1
44850 _ACEOF
44853 done
44862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44863 $as_echo_n "checking for logl declaration... " >&6; }
44864 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44865 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44866 $as_echo_n "(cached) " >&6
44867 else
44870 ac_ext=cpp
44871 ac_cpp='$CXXCPP $CPPFLAGS'
44872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44877 /* end confdefs.h. */
44878 #include <math.h>
44879 #ifdef HAVE_IEEEFP_H
44880 #include <ieeefp.h>
44881 #endif
44884 main ()
44886 logl(0);
44888 return 0;
44890 _ACEOF
44891 if ac_fn_cxx_try_compile "$LINENO"; then :
44892 glibcxx_cv_func_logl_use=yes
44893 else
44894 glibcxx_cv_func_logl_use=no
44896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44897 ac_ext=c
44898 ac_cpp='$CPP $CPPFLAGS'
44899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44908 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44910 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44911 for ac_func in logl
44912 do :
44913 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44914 if test "x$ac_cv_func_logl" = x""yes; then :
44915 cat >>confdefs.h <<_ACEOF
44916 #define HAVE_LOGL 1
44917 _ACEOF
44920 done
44922 else
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44925 $as_echo_n "checking for _logl declaration... " >&6; }
44926 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44927 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44928 $as_echo_n "(cached) " >&6
44929 else
44932 ac_ext=cpp
44933 ac_cpp='$CXXCPP $CPPFLAGS'
44934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44939 /* end confdefs.h. */
44940 #include <math.h>
44941 #ifdef HAVE_IEEEFP_H
44942 #include <ieeefp.h>
44943 #endif
44946 main ()
44948 _logl(0);
44950 return 0;
44952 _ACEOF
44953 if ac_fn_cxx_try_compile "$LINENO"; then :
44954 glibcxx_cv_func__logl_use=yes
44955 else
44956 glibcxx_cv_func__logl_use=no
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44970 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44972 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44973 for ac_func in _logl
44974 do :
44975 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44976 if test "x$ac_cv_func__logl" = x""yes; then :
44977 cat >>confdefs.h <<_ACEOF
44978 #define HAVE__LOGL 1
44979 _ACEOF
44982 done
44991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44992 $as_echo_n "checking for log10l declaration... " >&6; }
44993 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44994 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44995 $as_echo_n "(cached) " >&6
44996 else
44999 ac_ext=cpp
45000 ac_cpp='$CXXCPP $CPPFLAGS'
45001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45006 /* end confdefs.h. */
45007 #include <math.h>
45008 #ifdef HAVE_IEEEFP_H
45009 #include <ieeefp.h>
45010 #endif
45013 main ()
45015 log10l(0);
45017 return 0;
45019 _ACEOF
45020 if ac_fn_cxx_try_compile "$LINENO"; then :
45021 glibcxx_cv_func_log10l_use=yes
45022 else
45023 glibcxx_cv_func_log10l_use=no
45025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45026 ac_ext=c
45027 ac_cpp='$CPP $CPPFLAGS'
45028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45037 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45039 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45040 for ac_func in log10l
45041 do :
45042 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45043 if test "x$ac_cv_func_log10l" = x""yes; then :
45044 cat >>confdefs.h <<_ACEOF
45045 #define HAVE_LOG10L 1
45046 _ACEOF
45049 done
45051 else
45053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45054 $as_echo_n "checking for _log10l declaration... " >&6; }
45055 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45056 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45057 $as_echo_n "(cached) " >&6
45058 else
45061 ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h. */
45069 #include <math.h>
45070 #ifdef HAVE_IEEEFP_H
45071 #include <ieeefp.h>
45072 #endif
45075 main ()
45077 _log10l(0);
45079 return 0;
45081 _ACEOF
45082 if ac_fn_cxx_try_compile "$LINENO"; then :
45083 glibcxx_cv_func__log10l_use=yes
45084 else
45085 glibcxx_cv_func__log10l_use=no
45087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45088 ac_ext=c
45089 ac_cpp='$CPP $CPPFLAGS'
45090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45099 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45101 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45102 for ac_func in _log10l
45103 do :
45104 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45105 if test "x$ac_cv_func__log10l" = x""yes; then :
45106 cat >>confdefs.h <<_ACEOF
45107 #define HAVE__LOG10L 1
45108 _ACEOF
45111 done
45120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45121 $as_echo_n "checking for modfl declaration... " >&6; }
45122 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45123 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45124 $as_echo_n "(cached) " >&6
45125 else
45128 ac_ext=cpp
45129 ac_cpp='$CXXCPP $CPPFLAGS'
45130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45135 /* end confdefs.h. */
45136 #include <math.h>
45138 main ()
45140 modfl(0, 0);
45142 return 0;
45144 _ACEOF
45145 if ac_fn_cxx_try_compile "$LINENO"; then :
45146 glibcxx_cv_func_modfl_use=yes
45147 else
45148 glibcxx_cv_func_modfl_use=no
45150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45151 ac_ext=c
45152 ac_cpp='$CPP $CPPFLAGS'
45153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45162 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45164 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45165 for ac_func in modfl
45166 do :
45167 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45168 if test "x$ac_cv_func_modfl" = x""yes; then :
45169 cat >>confdefs.h <<_ACEOF
45170 #define HAVE_MODFL 1
45171 _ACEOF
45174 done
45176 else
45178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45179 $as_echo_n "checking for _modfl declaration... " >&6; }
45180 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45181 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45182 $as_echo_n "(cached) " >&6
45183 else
45186 ac_ext=cpp
45187 ac_cpp='$CXXCPP $CPPFLAGS'
45188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45193 /* end confdefs.h. */
45194 #include <math.h>
45196 main ()
45198 _modfl(0, 0);
45200 return 0;
45202 _ACEOF
45203 if ac_fn_cxx_try_compile "$LINENO"; then :
45204 glibcxx_cv_func__modfl_use=yes
45205 else
45206 glibcxx_cv_func__modfl_use=no
45208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45209 ac_ext=c
45210 ac_cpp='$CPP $CPPFLAGS'
45211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45220 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45222 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45223 for ac_func in _modfl
45224 do :
45225 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45226 if test "x$ac_cv_func__modfl" = x""yes; then :
45227 cat >>confdefs.h <<_ACEOF
45228 #define HAVE__MODFL 1
45229 _ACEOF
45232 done
45241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45242 $as_echo_n "checking for powl declaration... " >&6; }
45243 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45244 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45245 $as_echo_n "(cached) " >&6
45246 else
45249 ac_ext=cpp
45250 ac_cpp='$CXXCPP $CPPFLAGS'
45251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45256 /* end confdefs.h. */
45257 #include <math.h>
45259 main ()
45261 powl(0, 0);
45263 return 0;
45265 _ACEOF
45266 if ac_fn_cxx_try_compile "$LINENO"; then :
45267 glibcxx_cv_func_powl_use=yes
45268 else
45269 glibcxx_cv_func_powl_use=no
45271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45272 ac_ext=c
45273 ac_cpp='$CPP $CPPFLAGS'
45274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45283 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45285 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45286 for ac_func in powl
45287 do :
45288 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45289 if test "x$ac_cv_func_powl" = x""yes; then :
45290 cat >>confdefs.h <<_ACEOF
45291 #define HAVE_POWL 1
45292 _ACEOF
45295 done
45297 else
45299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45300 $as_echo_n "checking for _powl declaration... " >&6; }
45301 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45302 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45303 $as_echo_n "(cached) " >&6
45304 else
45307 ac_ext=cpp
45308 ac_cpp='$CXXCPP $CPPFLAGS'
45309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45314 /* end confdefs.h. */
45315 #include <math.h>
45317 main ()
45319 _powl(0, 0);
45321 return 0;
45323 _ACEOF
45324 if ac_fn_cxx_try_compile "$LINENO"; then :
45325 glibcxx_cv_func__powl_use=yes
45326 else
45327 glibcxx_cv_func__powl_use=no
45329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45330 ac_ext=c
45331 ac_cpp='$CPP $CPPFLAGS'
45332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45341 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45343 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45344 for ac_func in _powl
45345 do :
45346 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45347 if test "x$ac_cv_func__powl" = x""yes; then :
45348 cat >>confdefs.h <<_ACEOF
45349 #define HAVE__POWL 1
45350 _ACEOF
45353 done
45362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45363 $as_echo_n "checking for sqrtl declaration... " >&6; }
45364 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45365 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45366 $as_echo_n "(cached) " >&6
45367 else
45370 ac_ext=cpp
45371 ac_cpp='$CXXCPP $CPPFLAGS'
45372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45377 /* end confdefs.h. */
45378 #include <math.h>
45379 #ifdef HAVE_IEEEFP_H
45380 #include <ieeefp.h>
45381 #endif
45384 main ()
45386 sqrtl(0);
45388 return 0;
45390 _ACEOF
45391 if ac_fn_cxx_try_compile "$LINENO"; then :
45392 glibcxx_cv_func_sqrtl_use=yes
45393 else
45394 glibcxx_cv_func_sqrtl_use=no
45396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45397 ac_ext=c
45398 ac_cpp='$CPP $CPPFLAGS'
45399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45408 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45410 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45411 for ac_func in sqrtl
45412 do :
45413 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45414 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45415 cat >>confdefs.h <<_ACEOF
45416 #define HAVE_SQRTL 1
45417 _ACEOF
45420 done
45422 else
45424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45425 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45426 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45427 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45428 $as_echo_n "(cached) " >&6
45429 else
45432 ac_ext=cpp
45433 ac_cpp='$CXXCPP $CPPFLAGS'
45434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45439 /* end confdefs.h. */
45440 #include <math.h>
45441 #ifdef HAVE_IEEEFP_H
45442 #include <ieeefp.h>
45443 #endif
45446 main ()
45448 _sqrtl(0);
45450 return 0;
45452 _ACEOF
45453 if ac_fn_cxx_try_compile "$LINENO"; then :
45454 glibcxx_cv_func__sqrtl_use=yes
45455 else
45456 glibcxx_cv_func__sqrtl_use=no
45458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45459 ac_ext=c
45460 ac_cpp='$CPP $CPPFLAGS'
45461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45470 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45472 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45473 for ac_func in _sqrtl
45474 do :
45475 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45476 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45477 cat >>confdefs.h <<_ACEOF
45478 #define HAVE__SQRTL 1
45479 _ACEOF
45482 done
45491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45492 $as_echo_n "checking for sincosl declaration... " >&6; }
45493 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45494 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45495 $as_echo_n "(cached) " >&6
45496 else
45499 ac_ext=cpp
45500 ac_cpp='$CXXCPP $CPPFLAGS'
45501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45506 /* end confdefs.h. */
45507 #include <math.h>
45509 main ()
45511 sincosl(0, 0, 0);
45513 return 0;
45515 _ACEOF
45516 if ac_fn_cxx_try_compile "$LINENO"; then :
45517 glibcxx_cv_func_sincosl_use=yes
45518 else
45519 glibcxx_cv_func_sincosl_use=no
45521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45522 ac_ext=c
45523 ac_cpp='$CPP $CPPFLAGS'
45524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45533 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45535 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45536 for ac_func in sincosl
45537 do :
45538 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45539 if test "x$ac_cv_func_sincosl" = x""yes; then :
45540 cat >>confdefs.h <<_ACEOF
45541 #define HAVE_SINCOSL 1
45542 _ACEOF
45545 done
45547 else
45549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45550 $as_echo_n "checking for _sincosl declaration... " >&6; }
45551 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45552 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45553 $as_echo_n "(cached) " >&6
45554 else
45557 ac_ext=cpp
45558 ac_cpp='$CXXCPP $CPPFLAGS'
45559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45564 /* end confdefs.h. */
45565 #include <math.h>
45567 main ()
45569 _sincosl(0, 0, 0);
45571 return 0;
45573 _ACEOF
45574 if ac_fn_cxx_try_compile "$LINENO"; then :
45575 glibcxx_cv_func__sincosl_use=yes
45576 else
45577 glibcxx_cv_func__sincosl_use=no
45579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45580 ac_ext=c
45581 ac_cpp='$CPP $CPPFLAGS'
45582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45591 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45593 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45594 for ac_func in _sincosl
45595 do :
45596 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45597 if test "x$ac_cv_func__sincosl" = x""yes; then :
45598 cat >>confdefs.h <<_ACEOF
45599 #define HAVE__SINCOSL 1
45600 _ACEOF
45603 done
45612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45613 $as_echo_n "checking for finitel declaration... " >&6; }
45614 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45615 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45616 $as_echo_n "(cached) " >&6
45617 else
45620 ac_ext=cpp
45621 ac_cpp='$CXXCPP $CPPFLAGS'
45622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45627 /* end confdefs.h. */
45628 #include <math.h>
45629 #ifdef HAVE_IEEEFP_H
45630 #include <ieeefp.h>
45631 #endif
45634 main ()
45636 finitel(0);
45638 return 0;
45640 _ACEOF
45641 if ac_fn_cxx_try_compile "$LINENO"; then :
45642 glibcxx_cv_func_finitel_use=yes
45643 else
45644 glibcxx_cv_func_finitel_use=no
45646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45647 ac_ext=c
45648 ac_cpp='$CPP $CPPFLAGS'
45649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45658 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45660 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45661 for ac_func in finitel
45662 do :
45663 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45664 if test "x$ac_cv_func_finitel" = x""yes; then :
45665 cat >>confdefs.h <<_ACEOF
45666 #define HAVE_FINITEL 1
45667 _ACEOF
45670 done
45672 else
45674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45675 $as_echo_n "checking for _finitel declaration... " >&6; }
45676 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45677 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45678 $as_echo_n "(cached) " >&6
45679 else
45682 ac_ext=cpp
45683 ac_cpp='$CXXCPP $CPPFLAGS'
45684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45689 /* end confdefs.h. */
45690 #include <math.h>
45691 #ifdef HAVE_IEEEFP_H
45692 #include <ieeefp.h>
45693 #endif
45696 main ()
45698 _finitel(0);
45700 return 0;
45702 _ACEOF
45703 if ac_fn_cxx_try_compile "$LINENO"; then :
45704 glibcxx_cv_func__finitel_use=yes
45705 else
45706 glibcxx_cv_func__finitel_use=no
45708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45709 ac_ext=c
45710 ac_cpp='$CPP $CPPFLAGS'
45711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45720 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45722 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45723 for ac_func in _finitel
45724 do :
45725 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45726 if test "x$ac_cv_func__finitel" = x""yes; then :
45727 cat >>confdefs.h <<_ACEOF
45728 #define HAVE__FINITEL 1
45729 _ACEOF
45732 done
45740 LIBS="$ac_save_LIBS"
45741 CXXFLAGS="$ac_save_CXXFLAGS"
45744 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45745 ac_save_CXXFLAGS="$CXXFLAGS"
45746 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45750 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45751 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45752 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45753 $as_echo_n "(cached) " >&6
45754 else
45757 ac_ext=cpp
45758 ac_cpp='$CXXCPP $CPPFLAGS'
45759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45764 /* end confdefs.h. */
45765 #include <stdlib.h>
45767 main ()
45769 at_quick_exit(0);
45771 return 0;
45773 _ACEOF
45774 if ac_fn_cxx_try_compile "$LINENO"; then :
45775 glibcxx_cv_func_at_quick_exit_use=yes
45776 else
45777 glibcxx_cv_func_at_quick_exit_use=no
45779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45780 ac_ext=c
45781 ac_cpp='$CPP $CPPFLAGS'
45782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45791 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45792 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45793 for ac_func in at_quick_exit
45794 do :
45795 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45796 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45797 cat >>confdefs.h <<_ACEOF
45798 #define HAVE_AT_QUICK_EXIT 1
45799 _ACEOF
45802 done
45807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45808 $as_echo_n "checking for quick_exit declaration... " >&6; }
45809 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45810 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45811 $as_echo_n "(cached) " >&6
45812 else
45815 ac_ext=cpp
45816 ac_cpp='$CXXCPP $CPPFLAGS'
45817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45822 /* end confdefs.h. */
45823 #include <stdlib.h>
45825 main ()
45827 quick_exit(0);
45829 return 0;
45831 _ACEOF
45832 if ac_fn_cxx_try_compile "$LINENO"; then :
45833 glibcxx_cv_func_quick_exit_use=yes
45834 else
45835 glibcxx_cv_func_quick_exit_use=no
45837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45838 ac_ext=c
45839 ac_cpp='$CPP $CPPFLAGS'
45840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45849 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45850 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45851 for ac_func in quick_exit
45852 do :
45853 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45854 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45855 cat >>confdefs.h <<_ACEOF
45856 #define HAVE_QUICK_EXIT 1
45857 _ACEOF
45860 done
45865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45866 $as_echo_n "checking for strtold declaration... " >&6; }
45867 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45868 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45869 $as_echo_n "(cached) " >&6
45870 else
45873 ac_ext=cpp
45874 ac_cpp='$CXXCPP $CPPFLAGS'
45875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45880 /* end confdefs.h. */
45881 #include <stdlib.h>
45883 main ()
45885 strtold(0, 0);
45887 return 0;
45889 _ACEOF
45890 if ac_fn_cxx_try_compile "$LINENO"; then :
45891 glibcxx_cv_func_strtold_use=yes
45892 else
45893 glibcxx_cv_func_strtold_use=no
45895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45896 ac_ext=c
45897 ac_cpp='$CPP $CPPFLAGS'
45898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45907 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45908 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45909 for ac_func in strtold
45910 do :
45911 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45912 if test "x$ac_cv_func_strtold" = x""yes; then :
45913 cat >>confdefs.h <<_ACEOF
45914 #define HAVE_STRTOLD 1
45915 _ACEOF
45918 done
45925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45926 $as_echo_n "checking for strtof declaration... " >&6; }
45927 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45928 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45929 $as_echo_n "(cached) " >&6
45930 else
45933 ac_ext=cpp
45934 ac_cpp='$CXXCPP $CPPFLAGS'
45935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45940 /* end confdefs.h. */
45941 #include <stdlib.h>
45943 main ()
45945 strtof(0, 0);
45947 return 0;
45949 _ACEOF
45950 if ac_fn_cxx_try_compile "$LINENO"; then :
45951 glibcxx_cv_func_strtof_use=yes
45952 else
45953 glibcxx_cv_func_strtof_use=no
45955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45956 ac_ext=c
45957 ac_cpp='$CPP $CPPFLAGS'
45958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45967 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45968 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45969 for ac_func in strtof
45970 do :
45971 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45972 if test "x$ac_cv_func_strtof" = x""yes; then :
45973 cat >>confdefs.h <<_ACEOF
45974 #define HAVE_STRTOF 1
45975 _ACEOF
45978 done
45985 CXXFLAGS="$ac_save_CXXFLAGS"
45987 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45989 # We don't yet support AIX's TLS ABI.
45990 #GCC_CHECK_TLS
45996 am_save_CPPFLAGS="$CPPFLAGS"
45998 for element in $INCICONV; do
45999 haveit=
46000 for x in $CPPFLAGS; do
46002 acl_save_prefix="$prefix"
46003 prefix="$acl_final_prefix"
46004 acl_save_exec_prefix="$exec_prefix"
46005 exec_prefix="$acl_final_exec_prefix"
46006 eval x=\"$x\"
46007 exec_prefix="$acl_save_exec_prefix"
46008 prefix="$acl_save_prefix"
46010 if test "X$x" = "X$element"; then
46011 haveit=yes
46012 break
46014 done
46015 if test -z "$haveit"; then
46016 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46018 done
46021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46022 $as_echo_n "checking for iconv... " >&6; }
46023 if test "${am_cv_func_iconv+set}" = set; then :
46024 $as_echo_n "(cached) " >&6
46025 else
46027 am_cv_func_iconv="no, consider installing GNU libiconv"
46028 am_cv_lib_iconv=no
46029 if test x$gcc_no_link = xyes; then
46030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46033 /* end confdefs.h. */
46034 #include <stdlib.h>
46035 #include <iconv.h>
46037 main ()
46039 iconv_t cd = iconv_open("","");
46040 iconv(cd,NULL,NULL,NULL,NULL);
46041 iconv_close(cd);
46043 return 0;
46045 _ACEOF
46046 if ac_fn_c_try_link "$LINENO"; then :
46047 am_cv_func_iconv=yes
46049 rm -f core conftest.err conftest.$ac_objext \
46050 conftest$ac_exeext conftest.$ac_ext
46051 if test "$am_cv_func_iconv" != yes; then
46052 am_save_LIBS="$LIBS"
46053 LIBS="$LIBS $LIBICONV"
46054 if test x$gcc_no_link = xyes; then
46055 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46058 /* end confdefs.h. */
46059 #include <stdlib.h>
46060 #include <iconv.h>
46062 main ()
46064 iconv_t cd = iconv_open("","");
46065 iconv(cd,NULL,NULL,NULL,NULL);
46066 iconv_close(cd);
46068 return 0;
46070 _ACEOF
46071 if ac_fn_c_try_link "$LINENO"; then :
46072 am_cv_lib_iconv=yes
46073 am_cv_func_iconv=yes
46075 rm -f core conftest.err conftest.$ac_objext \
46076 conftest$ac_exeext conftest.$ac_ext
46077 LIBS="$am_save_LIBS"
46081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46082 $as_echo "$am_cv_func_iconv" >&6; }
46083 if test "$am_cv_func_iconv" = yes; then
46085 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46088 if test "$am_cv_lib_iconv" = yes; then
46089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46090 $as_echo_n "checking how to link with libiconv... " >&6; }
46091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46092 $as_echo "$LIBICONV" >&6; }
46093 else
46094 CPPFLAGS="$am_save_CPPFLAGS"
46095 LIBICONV=
46096 LTLIBICONV=
46101 if test "$am_cv_func_iconv" = yes; then
46102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46103 $as_echo_n "checking for iconv declaration... " >&6; }
46104 if test "${am_cv_proto_iconv+set}" = set; then :
46105 $as_echo_n "(cached) " >&6
46106 else
46108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46109 /* end confdefs.h. */
46111 #include <stdlib.h>
46112 #include <iconv.h>
46113 extern
46114 #ifdef __cplusplus
46116 #endif
46117 #if defined(__STDC__) || defined(__cplusplus)
46118 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46119 #else
46120 size_t iconv();
46121 #endif
46124 main ()
46128 return 0;
46130 _ACEOF
46131 if ac_fn_c_try_compile "$LINENO"; then :
46132 am_cv_proto_iconv_arg1=""
46133 else
46134 am_cv_proto_iconv_arg1="const"
46136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46137 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);"
46140 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46142 }$am_cv_proto_iconv" >&5
46143 $as_echo "${ac_t:-
46144 }$am_cv_proto_iconv" >&6; }
46146 cat >>confdefs.h <<_ACEOF
46147 #define ICONV_CONST $am_cv_proto_iconv_arg1
46148 _ACEOF
46154 *-darwin*)
46155 # Darwin versions vary, but the linker should work in a cross environment,
46156 # so we just check for all the features here.
46157 # Check for available headers.
46159 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46161 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46162 ac_save_CXXFLAGS="$CXXFLAGS"
46163 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46166 $as_echo_n "checking for sin in -lm... " >&6; }
46167 if test "${ac_cv_lib_m_sin+set}" = set; then :
46168 $as_echo_n "(cached) " >&6
46169 else
46170 ac_check_lib_save_LIBS=$LIBS
46171 LIBS="-lm $LIBS"
46172 if test x$gcc_no_link = xyes; then
46173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46176 /* end confdefs.h. */
46178 /* Override any GCC internal prototype to avoid an error.
46179 Use char because int might match the return type of a GCC
46180 builtin and then its argument prototype would still apply. */
46181 #ifdef __cplusplus
46182 extern "C"
46183 #endif
46184 char sin ();
46186 main ()
46188 return sin ();
46190 return 0;
46192 _ACEOF
46193 if ac_fn_c_try_link "$LINENO"; then :
46194 ac_cv_lib_m_sin=yes
46195 else
46196 ac_cv_lib_m_sin=no
46198 rm -f core conftest.err conftest.$ac_objext \
46199 conftest$ac_exeext conftest.$ac_ext
46200 LIBS=$ac_check_lib_save_LIBS
46202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46203 $as_echo "$ac_cv_lib_m_sin" >&6; }
46204 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46205 libm="-lm"
46208 ac_save_LIBS="$LIBS"
46209 LIBS="$LIBS $libm"
46213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46214 $as_echo_n "checking for isinf declaration... " >&6; }
46215 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46216 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46217 $as_echo_n "(cached) " >&6
46218 else
46221 ac_ext=cpp
46222 ac_cpp='$CXXCPP $CPPFLAGS'
46223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46228 /* end confdefs.h. */
46229 #include <math.h>
46230 #ifdef HAVE_IEEEFP_H
46231 #include <ieeefp.h>
46232 #endif
46235 main ()
46237 isinf(0);
46239 return 0;
46241 _ACEOF
46242 if ac_fn_cxx_try_compile "$LINENO"; then :
46243 glibcxx_cv_func_isinf_use=yes
46244 else
46245 glibcxx_cv_func_isinf_use=no
46247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46248 ac_ext=c
46249 ac_cpp='$CPP $CPPFLAGS'
46250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46259 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46261 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46262 for ac_func in isinf
46263 do :
46264 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46265 if test "x$ac_cv_func_isinf" = x""yes; then :
46266 cat >>confdefs.h <<_ACEOF
46267 #define HAVE_ISINF 1
46268 _ACEOF
46271 done
46273 else
46275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46276 $as_echo_n "checking for _isinf declaration... " >&6; }
46277 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46278 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46279 $as_echo_n "(cached) " >&6
46280 else
46283 ac_ext=cpp
46284 ac_cpp='$CXXCPP $CPPFLAGS'
46285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46290 /* end confdefs.h. */
46291 #include <math.h>
46292 #ifdef HAVE_IEEEFP_H
46293 #include <ieeefp.h>
46294 #endif
46297 main ()
46299 _isinf(0);
46301 return 0;
46303 _ACEOF
46304 if ac_fn_cxx_try_compile "$LINENO"; then :
46305 glibcxx_cv_func__isinf_use=yes
46306 else
46307 glibcxx_cv_func__isinf_use=no
46309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46310 ac_ext=c
46311 ac_cpp='$CPP $CPPFLAGS'
46312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46321 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46323 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46324 for ac_func in _isinf
46325 do :
46326 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46327 if test "x$ac_cv_func__isinf" = x""yes; then :
46328 cat >>confdefs.h <<_ACEOF
46329 #define HAVE__ISINF 1
46330 _ACEOF
46333 done
46342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46343 $as_echo_n "checking for isnan declaration... " >&6; }
46344 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46345 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46346 $as_echo_n "(cached) " >&6
46347 else
46350 ac_ext=cpp
46351 ac_cpp='$CXXCPP $CPPFLAGS'
46352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46357 /* end confdefs.h. */
46358 #include <math.h>
46359 #ifdef HAVE_IEEEFP_H
46360 #include <ieeefp.h>
46361 #endif
46364 main ()
46366 isnan(0);
46368 return 0;
46370 _ACEOF
46371 if ac_fn_cxx_try_compile "$LINENO"; then :
46372 glibcxx_cv_func_isnan_use=yes
46373 else
46374 glibcxx_cv_func_isnan_use=no
46376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46377 ac_ext=c
46378 ac_cpp='$CPP $CPPFLAGS'
46379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46388 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46390 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46391 for ac_func in isnan
46392 do :
46393 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46394 if test "x$ac_cv_func_isnan" = x""yes; then :
46395 cat >>confdefs.h <<_ACEOF
46396 #define HAVE_ISNAN 1
46397 _ACEOF
46400 done
46402 else
46404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46405 $as_echo_n "checking for _isnan declaration... " >&6; }
46406 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46407 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46408 $as_echo_n "(cached) " >&6
46409 else
46412 ac_ext=cpp
46413 ac_cpp='$CXXCPP $CPPFLAGS'
46414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46419 /* end confdefs.h. */
46420 #include <math.h>
46421 #ifdef HAVE_IEEEFP_H
46422 #include <ieeefp.h>
46423 #endif
46426 main ()
46428 _isnan(0);
46430 return 0;
46432 _ACEOF
46433 if ac_fn_cxx_try_compile "$LINENO"; then :
46434 glibcxx_cv_func__isnan_use=yes
46435 else
46436 glibcxx_cv_func__isnan_use=no
46438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46439 ac_ext=c
46440 ac_cpp='$CPP $CPPFLAGS'
46441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46450 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46452 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46453 for ac_func in _isnan
46454 do :
46455 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46456 if test "x$ac_cv_func__isnan" = x""yes; then :
46457 cat >>confdefs.h <<_ACEOF
46458 #define HAVE__ISNAN 1
46459 _ACEOF
46462 done
46471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46472 $as_echo_n "checking for finite declaration... " >&6; }
46473 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46474 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46475 $as_echo_n "(cached) " >&6
46476 else
46479 ac_ext=cpp
46480 ac_cpp='$CXXCPP $CPPFLAGS'
46481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46486 /* end confdefs.h. */
46487 #include <math.h>
46488 #ifdef HAVE_IEEEFP_H
46489 #include <ieeefp.h>
46490 #endif
46493 main ()
46495 finite(0);
46497 return 0;
46499 _ACEOF
46500 if ac_fn_cxx_try_compile "$LINENO"; then :
46501 glibcxx_cv_func_finite_use=yes
46502 else
46503 glibcxx_cv_func_finite_use=no
46505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46506 ac_ext=c
46507 ac_cpp='$CPP $CPPFLAGS'
46508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46517 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46519 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46520 for ac_func in finite
46521 do :
46522 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46523 if test "x$ac_cv_func_finite" = x""yes; then :
46524 cat >>confdefs.h <<_ACEOF
46525 #define HAVE_FINITE 1
46526 _ACEOF
46529 done
46531 else
46533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46534 $as_echo_n "checking for _finite declaration... " >&6; }
46535 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46536 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46537 $as_echo_n "(cached) " >&6
46538 else
46541 ac_ext=cpp
46542 ac_cpp='$CXXCPP $CPPFLAGS'
46543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46548 /* end confdefs.h. */
46549 #include <math.h>
46550 #ifdef HAVE_IEEEFP_H
46551 #include <ieeefp.h>
46552 #endif
46555 main ()
46557 _finite(0);
46559 return 0;
46561 _ACEOF
46562 if ac_fn_cxx_try_compile "$LINENO"; then :
46563 glibcxx_cv_func__finite_use=yes
46564 else
46565 glibcxx_cv_func__finite_use=no
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46568 ac_ext=c
46569 ac_cpp='$CPP $CPPFLAGS'
46570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46579 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46581 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46582 for ac_func in _finite
46583 do :
46584 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46585 if test "x$ac_cv_func__finite" = x""yes; then :
46586 cat >>confdefs.h <<_ACEOF
46587 #define HAVE__FINITE 1
46588 _ACEOF
46591 done
46600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46601 $as_echo_n "checking for sincos declaration... " >&6; }
46602 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46603 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46604 $as_echo_n "(cached) " >&6
46605 else
46608 ac_ext=cpp
46609 ac_cpp='$CXXCPP $CPPFLAGS'
46610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46615 /* end confdefs.h. */
46616 #include <math.h>
46618 main ()
46620 sincos(0, 0, 0);
46622 return 0;
46624 _ACEOF
46625 if ac_fn_cxx_try_compile "$LINENO"; then :
46626 glibcxx_cv_func_sincos_use=yes
46627 else
46628 glibcxx_cv_func_sincos_use=no
46630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46631 ac_ext=c
46632 ac_cpp='$CPP $CPPFLAGS'
46633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46642 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46644 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46645 for ac_func in sincos
46646 do :
46647 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46648 if test "x$ac_cv_func_sincos" = x""yes; then :
46649 cat >>confdefs.h <<_ACEOF
46650 #define HAVE_SINCOS 1
46651 _ACEOF
46654 done
46656 else
46658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46659 $as_echo_n "checking for _sincos declaration... " >&6; }
46660 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46661 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46662 $as_echo_n "(cached) " >&6
46663 else
46666 ac_ext=cpp
46667 ac_cpp='$CXXCPP $CPPFLAGS'
46668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46673 /* end confdefs.h. */
46674 #include <math.h>
46676 main ()
46678 _sincos(0, 0, 0);
46680 return 0;
46682 _ACEOF
46683 if ac_fn_cxx_try_compile "$LINENO"; then :
46684 glibcxx_cv_func__sincos_use=yes
46685 else
46686 glibcxx_cv_func__sincos_use=no
46688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46689 ac_ext=c
46690 ac_cpp='$CPP $CPPFLAGS'
46691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46700 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46702 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46703 for ac_func in _sincos
46704 do :
46705 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46706 if test "x$ac_cv_func__sincos" = x""yes; then :
46707 cat >>confdefs.h <<_ACEOF
46708 #define HAVE__SINCOS 1
46709 _ACEOF
46712 done
46721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46722 $as_echo_n "checking for fpclass declaration... " >&6; }
46723 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46724 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46725 $as_echo_n "(cached) " >&6
46726 else
46729 ac_ext=cpp
46730 ac_cpp='$CXXCPP $CPPFLAGS'
46731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46736 /* end confdefs.h. */
46737 #include <math.h>
46738 #ifdef HAVE_IEEEFP_H
46739 #include <ieeefp.h>
46740 #endif
46743 main ()
46745 fpclass(0);
46747 return 0;
46749 _ACEOF
46750 if ac_fn_cxx_try_compile "$LINENO"; then :
46751 glibcxx_cv_func_fpclass_use=yes
46752 else
46753 glibcxx_cv_func_fpclass_use=no
46755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46756 ac_ext=c
46757 ac_cpp='$CPP $CPPFLAGS'
46758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46767 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46769 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46770 for ac_func in fpclass
46771 do :
46772 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46773 if test "x$ac_cv_func_fpclass" = x""yes; then :
46774 cat >>confdefs.h <<_ACEOF
46775 #define HAVE_FPCLASS 1
46776 _ACEOF
46779 done
46781 else
46783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46784 $as_echo_n "checking for _fpclass declaration... " >&6; }
46785 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46786 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46787 $as_echo_n "(cached) " >&6
46788 else
46791 ac_ext=cpp
46792 ac_cpp='$CXXCPP $CPPFLAGS'
46793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46798 /* end confdefs.h. */
46799 #include <math.h>
46800 #ifdef HAVE_IEEEFP_H
46801 #include <ieeefp.h>
46802 #endif
46805 main ()
46807 _fpclass(0);
46809 return 0;
46811 _ACEOF
46812 if ac_fn_cxx_try_compile "$LINENO"; then :
46813 glibcxx_cv_func__fpclass_use=yes
46814 else
46815 glibcxx_cv_func__fpclass_use=no
46817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46818 ac_ext=c
46819 ac_cpp='$CPP $CPPFLAGS'
46820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46829 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46831 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46832 for ac_func in _fpclass
46833 do :
46834 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46835 if test "x$ac_cv_func__fpclass" = x""yes; then :
46836 cat >>confdefs.h <<_ACEOF
46837 #define HAVE__FPCLASS 1
46838 _ACEOF
46841 done
46850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46851 $as_echo_n "checking for qfpclass declaration... " >&6; }
46852 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46853 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46854 $as_echo_n "(cached) " >&6
46855 else
46858 ac_ext=cpp
46859 ac_cpp='$CXXCPP $CPPFLAGS'
46860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46865 /* end confdefs.h. */
46866 #include <math.h>
46867 #ifdef HAVE_IEEEFP_H
46868 #include <ieeefp.h>
46869 #endif
46872 main ()
46874 qfpclass(0);
46876 return 0;
46878 _ACEOF
46879 if ac_fn_cxx_try_compile "$LINENO"; then :
46880 glibcxx_cv_func_qfpclass_use=yes
46881 else
46882 glibcxx_cv_func_qfpclass_use=no
46884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46885 ac_ext=c
46886 ac_cpp='$CPP $CPPFLAGS'
46887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46896 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46898 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46899 for ac_func in qfpclass
46900 do :
46901 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46902 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46903 cat >>confdefs.h <<_ACEOF
46904 #define HAVE_QFPCLASS 1
46905 _ACEOF
46908 done
46910 else
46912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46913 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46914 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46915 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46916 $as_echo_n "(cached) " >&6
46917 else
46920 ac_ext=cpp
46921 ac_cpp='$CXXCPP $CPPFLAGS'
46922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46927 /* end confdefs.h. */
46928 #include <math.h>
46929 #ifdef HAVE_IEEEFP_H
46930 #include <ieeefp.h>
46931 #endif
46934 main ()
46936 _qfpclass(0);
46938 return 0;
46940 _ACEOF
46941 if ac_fn_cxx_try_compile "$LINENO"; then :
46942 glibcxx_cv_func__qfpclass_use=yes
46943 else
46944 glibcxx_cv_func__qfpclass_use=no
46946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46947 ac_ext=c
46948 ac_cpp='$CPP $CPPFLAGS'
46949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46958 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46960 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46961 for ac_func in _qfpclass
46962 do :
46963 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46964 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46965 cat >>confdefs.h <<_ACEOF
46966 #define HAVE__QFPCLASS 1
46967 _ACEOF
46970 done
46979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46980 $as_echo_n "checking for hypot declaration... " >&6; }
46981 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46982 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46983 $as_echo_n "(cached) " >&6
46984 else
46987 ac_ext=cpp
46988 ac_cpp='$CXXCPP $CPPFLAGS'
46989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46994 /* end confdefs.h. */
46995 #include <math.h>
46997 main ()
46999 hypot(0, 0);
47001 return 0;
47003 _ACEOF
47004 if ac_fn_cxx_try_compile "$LINENO"; then :
47005 glibcxx_cv_func_hypot_use=yes
47006 else
47007 glibcxx_cv_func_hypot_use=no
47009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47010 ac_ext=c
47011 ac_cpp='$CPP $CPPFLAGS'
47012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47021 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47023 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47024 for ac_func in hypot
47025 do :
47026 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47027 if test "x$ac_cv_func_hypot" = x""yes; then :
47028 cat >>confdefs.h <<_ACEOF
47029 #define HAVE_HYPOT 1
47030 _ACEOF
47033 done
47035 else
47037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47038 $as_echo_n "checking for _hypot declaration... " >&6; }
47039 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47040 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47041 $as_echo_n "(cached) " >&6
47042 else
47045 ac_ext=cpp
47046 ac_cpp='$CXXCPP $CPPFLAGS'
47047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47052 /* end confdefs.h. */
47053 #include <math.h>
47055 main ()
47057 _hypot(0, 0);
47059 return 0;
47061 _ACEOF
47062 if ac_fn_cxx_try_compile "$LINENO"; then :
47063 glibcxx_cv_func__hypot_use=yes
47064 else
47065 glibcxx_cv_func__hypot_use=no
47067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47068 ac_ext=c
47069 ac_cpp='$CPP $CPPFLAGS'
47070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47079 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47081 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47082 for ac_func in _hypot
47083 do :
47084 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47085 if test "x$ac_cv_func__hypot" = x""yes; then :
47086 cat >>confdefs.h <<_ACEOF
47087 #define HAVE__HYPOT 1
47088 _ACEOF
47091 done
47100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47101 $as_echo_n "checking for float trig functions... " >&6; }
47102 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47103 $as_echo_n "(cached) " >&6
47104 else
47107 ac_ext=cpp
47108 ac_cpp='$CXXCPP $CPPFLAGS'
47109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47114 /* end confdefs.h. */
47115 #include <math.h>
47117 main ()
47119 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47121 return 0;
47123 _ACEOF
47124 if ac_fn_cxx_try_compile "$LINENO"; then :
47125 glibcxx_cv_func_float_trig_use=yes
47126 else
47127 glibcxx_cv_func_float_trig_use=no
47129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47130 ac_ext=c
47131 ac_cpp='$CPP $CPPFLAGS'
47132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47139 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47140 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47141 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47142 do :
47143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47145 eval as_val=\$$as_ac_var
47146 if test "x$as_val" = x""yes; then :
47147 cat >>confdefs.h <<_ACEOF
47148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47149 _ACEOF
47152 done
47154 else
47155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47156 $as_echo_n "checking for _float trig functions... " >&6; }
47157 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47158 $as_echo_n "(cached) " >&6
47159 else
47162 ac_ext=cpp
47163 ac_cpp='$CXXCPP $CPPFLAGS'
47164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47169 /* end confdefs.h. */
47170 #include <math.h>
47172 main ()
47174 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47176 return 0;
47178 _ACEOF
47179 if ac_fn_cxx_try_compile "$LINENO"; then :
47180 glibcxx_cv_func__float_trig_use=yes
47181 else
47182 glibcxx_cv_func__float_trig_use=no
47184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47185 ac_ext=c
47186 ac_cpp='$CPP $CPPFLAGS'
47187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47194 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47195 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47196 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47197 do :
47198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47200 eval as_val=\$$as_ac_var
47201 if test "x$as_val" = x""yes; then :
47202 cat >>confdefs.h <<_ACEOF
47203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47204 _ACEOF
47207 done
47216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47217 $as_echo_n "checking for float round functions... " >&6; }
47218 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47219 $as_echo_n "(cached) " >&6
47220 else
47223 ac_ext=cpp
47224 ac_cpp='$CXXCPP $CPPFLAGS'
47225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47230 /* end confdefs.h. */
47231 #include <math.h>
47233 main ()
47235 ceilf (0); floorf (0);
47237 return 0;
47239 _ACEOF
47240 if ac_fn_cxx_try_compile "$LINENO"; then :
47241 glibcxx_cv_func_float_round_use=yes
47242 else
47243 glibcxx_cv_func_float_round_use=no
47245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47246 ac_ext=c
47247 ac_cpp='$CPP $CPPFLAGS'
47248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47255 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47256 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47257 for ac_func in ceilf floorf
47258 do :
47259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47261 eval as_val=\$$as_ac_var
47262 if test "x$as_val" = x""yes; then :
47263 cat >>confdefs.h <<_ACEOF
47264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47265 _ACEOF
47268 done
47270 else
47271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47272 $as_echo_n "checking for _float round functions... " >&6; }
47273 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47274 $as_echo_n "(cached) " >&6
47275 else
47278 ac_ext=cpp
47279 ac_cpp='$CXXCPP $CPPFLAGS'
47280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47285 /* end confdefs.h. */
47286 #include <math.h>
47288 main ()
47290 _ceilf (0); _floorf (0);
47292 return 0;
47294 _ACEOF
47295 if ac_fn_cxx_try_compile "$LINENO"; then :
47296 glibcxx_cv_func__float_round_use=yes
47297 else
47298 glibcxx_cv_func__float_round_use=no
47300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47301 ac_ext=c
47302 ac_cpp='$CPP $CPPFLAGS'
47303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47310 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47311 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47312 for ac_func in _ceilf _floorf
47313 do :
47314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47316 eval as_val=\$$as_ac_var
47317 if test "x$as_val" = x""yes; then :
47318 cat >>confdefs.h <<_ACEOF
47319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47320 _ACEOF
47323 done
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47334 $as_echo_n "checking for expf declaration... " >&6; }
47335 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47336 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47337 $as_echo_n "(cached) " >&6
47338 else
47341 ac_ext=cpp
47342 ac_cpp='$CXXCPP $CPPFLAGS'
47343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47348 /* end confdefs.h. */
47349 #include <math.h>
47350 #ifdef HAVE_IEEEFP_H
47351 #include <ieeefp.h>
47352 #endif
47355 main ()
47357 expf(0);
47359 return 0;
47361 _ACEOF
47362 if ac_fn_cxx_try_compile "$LINENO"; then :
47363 glibcxx_cv_func_expf_use=yes
47364 else
47365 glibcxx_cv_func_expf_use=no
47367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47368 ac_ext=c
47369 ac_cpp='$CPP $CPPFLAGS'
47370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47379 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47381 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47382 for ac_func in expf
47383 do :
47384 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47385 if test "x$ac_cv_func_expf" = x""yes; then :
47386 cat >>confdefs.h <<_ACEOF
47387 #define HAVE_EXPF 1
47388 _ACEOF
47391 done
47393 else
47395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47396 $as_echo_n "checking for _expf declaration... " >&6; }
47397 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47398 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47399 $as_echo_n "(cached) " >&6
47400 else
47403 ac_ext=cpp
47404 ac_cpp='$CXXCPP $CPPFLAGS'
47405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47410 /* end confdefs.h. */
47411 #include <math.h>
47412 #ifdef HAVE_IEEEFP_H
47413 #include <ieeefp.h>
47414 #endif
47417 main ()
47419 _expf(0);
47421 return 0;
47423 _ACEOF
47424 if ac_fn_cxx_try_compile "$LINENO"; then :
47425 glibcxx_cv_func__expf_use=yes
47426 else
47427 glibcxx_cv_func__expf_use=no
47429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47430 ac_ext=c
47431 ac_cpp='$CPP $CPPFLAGS'
47432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47441 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47443 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47444 for ac_func in _expf
47445 do :
47446 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47447 if test "x$ac_cv_func__expf" = x""yes; then :
47448 cat >>confdefs.h <<_ACEOF
47449 #define HAVE__EXPF 1
47450 _ACEOF
47453 done
47462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47463 $as_echo_n "checking for isnanf declaration... " >&6; }
47464 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47465 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47466 $as_echo_n "(cached) " >&6
47467 else
47470 ac_ext=cpp
47471 ac_cpp='$CXXCPP $CPPFLAGS'
47472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47477 /* end confdefs.h. */
47478 #include <math.h>
47479 #ifdef HAVE_IEEEFP_H
47480 #include <ieeefp.h>
47481 #endif
47484 main ()
47486 isnanf(0);
47488 return 0;
47490 _ACEOF
47491 if ac_fn_cxx_try_compile "$LINENO"; then :
47492 glibcxx_cv_func_isnanf_use=yes
47493 else
47494 glibcxx_cv_func_isnanf_use=no
47496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47497 ac_ext=c
47498 ac_cpp='$CPP $CPPFLAGS'
47499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47508 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47510 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47511 for ac_func in isnanf
47512 do :
47513 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47514 if test "x$ac_cv_func_isnanf" = x""yes; then :
47515 cat >>confdefs.h <<_ACEOF
47516 #define HAVE_ISNANF 1
47517 _ACEOF
47520 done
47522 else
47524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47525 $as_echo_n "checking for _isnanf declaration... " >&6; }
47526 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47527 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47528 $as_echo_n "(cached) " >&6
47529 else
47532 ac_ext=cpp
47533 ac_cpp='$CXXCPP $CPPFLAGS'
47534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47539 /* end confdefs.h. */
47540 #include <math.h>
47541 #ifdef HAVE_IEEEFP_H
47542 #include <ieeefp.h>
47543 #endif
47546 main ()
47548 _isnanf(0);
47550 return 0;
47552 _ACEOF
47553 if ac_fn_cxx_try_compile "$LINENO"; then :
47554 glibcxx_cv_func__isnanf_use=yes
47555 else
47556 glibcxx_cv_func__isnanf_use=no
47558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47559 ac_ext=c
47560 ac_cpp='$CPP $CPPFLAGS'
47561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47570 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47572 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47573 for ac_func in _isnanf
47574 do :
47575 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47576 if test "x$ac_cv_func__isnanf" = x""yes; then :
47577 cat >>confdefs.h <<_ACEOF
47578 #define HAVE__ISNANF 1
47579 _ACEOF
47582 done
47591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47592 $as_echo_n "checking for isinff declaration... " >&6; }
47593 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47594 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47595 $as_echo_n "(cached) " >&6
47596 else
47599 ac_ext=cpp
47600 ac_cpp='$CXXCPP $CPPFLAGS'
47601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47606 /* end confdefs.h. */
47607 #include <math.h>
47608 #ifdef HAVE_IEEEFP_H
47609 #include <ieeefp.h>
47610 #endif
47613 main ()
47615 isinff(0);
47617 return 0;
47619 _ACEOF
47620 if ac_fn_cxx_try_compile "$LINENO"; then :
47621 glibcxx_cv_func_isinff_use=yes
47622 else
47623 glibcxx_cv_func_isinff_use=no
47625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47626 ac_ext=c
47627 ac_cpp='$CPP $CPPFLAGS'
47628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47637 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47639 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47640 for ac_func in isinff
47641 do :
47642 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47643 if test "x$ac_cv_func_isinff" = x""yes; then :
47644 cat >>confdefs.h <<_ACEOF
47645 #define HAVE_ISINFF 1
47646 _ACEOF
47649 done
47651 else
47653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47654 $as_echo_n "checking for _isinff declaration... " >&6; }
47655 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47656 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47657 $as_echo_n "(cached) " >&6
47658 else
47661 ac_ext=cpp
47662 ac_cpp='$CXXCPP $CPPFLAGS'
47663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47668 /* end confdefs.h. */
47669 #include <math.h>
47670 #ifdef HAVE_IEEEFP_H
47671 #include <ieeefp.h>
47672 #endif
47675 main ()
47677 _isinff(0);
47679 return 0;
47681 _ACEOF
47682 if ac_fn_cxx_try_compile "$LINENO"; then :
47683 glibcxx_cv_func__isinff_use=yes
47684 else
47685 glibcxx_cv_func__isinff_use=no
47687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47688 ac_ext=c
47689 ac_cpp='$CPP $CPPFLAGS'
47690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47699 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47701 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47702 for ac_func in _isinff
47703 do :
47704 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47705 if test "x$ac_cv_func__isinff" = x""yes; then :
47706 cat >>confdefs.h <<_ACEOF
47707 #define HAVE__ISINFF 1
47708 _ACEOF
47711 done
47720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47721 $as_echo_n "checking for atan2f declaration... " >&6; }
47722 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47723 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47724 $as_echo_n "(cached) " >&6
47725 else
47728 ac_ext=cpp
47729 ac_cpp='$CXXCPP $CPPFLAGS'
47730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47735 /* end confdefs.h. */
47736 #include <math.h>
47738 main ()
47740 atan2f(0, 0);
47742 return 0;
47744 _ACEOF
47745 if ac_fn_cxx_try_compile "$LINENO"; then :
47746 glibcxx_cv_func_atan2f_use=yes
47747 else
47748 glibcxx_cv_func_atan2f_use=no
47750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47751 ac_ext=c
47752 ac_cpp='$CPP $CPPFLAGS'
47753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47762 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47764 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47765 for ac_func in atan2f
47766 do :
47767 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47768 if test "x$ac_cv_func_atan2f" = x""yes; then :
47769 cat >>confdefs.h <<_ACEOF
47770 #define HAVE_ATAN2F 1
47771 _ACEOF
47774 done
47776 else
47778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47779 $as_echo_n "checking for _atan2f declaration... " >&6; }
47780 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47781 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47782 $as_echo_n "(cached) " >&6
47783 else
47786 ac_ext=cpp
47787 ac_cpp='$CXXCPP $CPPFLAGS'
47788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47793 /* end confdefs.h. */
47794 #include <math.h>
47796 main ()
47798 _atan2f(0, 0);
47800 return 0;
47802 _ACEOF
47803 if ac_fn_cxx_try_compile "$LINENO"; then :
47804 glibcxx_cv_func__atan2f_use=yes
47805 else
47806 glibcxx_cv_func__atan2f_use=no
47808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47809 ac_ext=c
47810 ac_cpp='$CPP $CPPFLAGS'
47811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47820 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47822 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47823 for ac_func in _atan2f
47824 do :
47825 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47826 if test "x$ac_cv_func__atan2f" = x""yes; then :
47827 cat >>confdefs.h <<_ACEOF
47828 #define HAVE__ATAN2F 1
47829 _ACEOF
47832 done
47841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47842 $as_echo_n "checking for fabsf declaration... " >&6; }
47843 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47844 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47845 $as_echo_n "(cached) " >&6
47846 else
47849 ac_ext=cpp
47850 ac_cpp='$CXXCPP $CPPFLAGS'
47851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47856 /* end confdefs.h. */
47857 #include <math.h>
47858 #ifdef HAVE_IEEEFP_H
47859 #include <ieeefp.h>
47860 #endif
47863 main ()
47865 fabsf(0);
47867 return 0;
47869 _ACEOF
47870 if ac_fn_cxx_try_compile "$LINENO"; then :
47871 glibcxx_cv_func_fabsf_use=yes
47872 else
47873 glibcxx_cv_func_fabsf_use=no
47875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47876 ac_ext=c
47877 ac_cpp='$CPP $CPPFLAGS'
47878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47887 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47889 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47890 for ac_func in fabsf
47891 do :
47892 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47893 if test "x$ac_cv_func_fabsf" = x""yes; then :
47894 cat >>confdefs.h <<_ACEOF
47895 #define HAVE_FABSF 1
47896 _ACEOF
47899 done
47901 else
47903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47904 $as_echo_n "checking for _fabsf declaration... " >&6; }
47905 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47906 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47907 $as_echo_n "(cached) " >&6
47908 else
47911 ac_ext=cpp
47912 ac_cpp='$CXXCPP $CPPFLAGS'
47913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47918 /* end confdefs.h. */
47919 #include <math.h>
47920 #ifdef HAVE_IEEEFP_H
47921 #include <ieeefp.h>
47922 #endif
47925 main ()
47927 _fabsf(0);
47929 return 0;
47931 _ACEOF
47932 if ac_fn_cxx_try_compile "$LINENO"; then :
47933 glibcxx_cv_func__fabsf_use=yes
47934 else
47935 glibcxx_cv_func__fabsf_use=no
47937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47938 ac_ext=c
47939 ac_cpp='$CPP $CPPFLAGS'
47940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47949 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47951 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47952 for ac_func in _fabsf
47953 do :
47954 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47955 if test "x$ac_cv_func__fabsf" = x""yes; then :
47956 cat >>confdefs.h <<_ACEOF
47957 #define HAVE__FABSF 1
47958 _ACEOF
47961 done
47970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47971 $as_echo_n "checking for fmodf declaration... " >&6; }
47972 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47973 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47974 $as_echo_n "(cached) " >&6
47975 else
47978 ac_ext=cpp
47979 ac_cpp='$CXXCPP $CPPFLAGS'
47980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47985 /* end confdefs.h. */
47986 #include <math.h>
47988 main ()
47990 fmodf(0, 0);
47992 return 0;
47994 _ACEOF
47995 if ac_fn_cxx_try_compile "$LINENO"; then :
47996 glibcxx_cv_func_fmodf_use=yes
47997 else
47998 glibcxx_cv_func_fmodf_use=no
48000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48001 ac_ext=c
48002 ac_cpp='$CPP $CPPFLAGS'
48003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48012 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48014 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48015 for ac_func in fmodf
48016 do :
48017 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48018 if test "x$ac_cv_func_fmodf" = x""yes; then :
48019 cat >>confdefs.h <<_ACEOF
48020 #define HAVE_FMODF 1
48021 _ACEOF
48024 done
48026 else
48028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48029 $as_echo_n "checking for _fmodf declaration... " >&6; }
48030 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48031 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48032 $as_echo_n "(cached) " >&6
48033 else
48036 ac_ext=cpp
48037 ac_cpp='$CXXCPP $CPPFLAGS'
48038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48043 /* end confdefs.h. */
48044 #include <math.h>
48046 main ()
48048 _fmodf(0, 0);
48050 return 0;
48052 _ACEOF
48053 if ac_fn_cxx_try_compile "$LINENO"; then :
48054 glibcxx_cv_func__fmodf_use=yes
48055 else
48056 glibcxx_cv_func__fmodf_use=no
48058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48059 ac_ext=c
48060 ac_cpp='$CPP $CPPFLAGS'
48061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48070 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48072 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48073 for ac_func in _fmodf
48074 do :
48075 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48076 if test "x$ac_cv_func__fmodf" = x""yes; then :
48077 cat >>confdefs.h <<_ACEOF
48078 #define HAVE__FMODF 1
48079 _ACEOF
48082 done
48091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48092 $as_echo_n "checking for frexpf declaration... " >&6; }
48093 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48094 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48095 $as_echo_n "(cached) " >&6
48096 else
48099 ac_ext=cpp
48100 ac_cpp='$CXXCPP $CPPFLAGS'
48101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48106 /* end confdefs.h. */
48107 #include <math.h>
48109 main ()
48111 frexpf(0, 0);
48113 return 0;
48115 _ACEOF
48116 if ac_fn_cxx_try_compile "$LINENO"; then :
48117 glibcxx_cv_func_frexpf_use=yes
48118 else
48119 glibcxx_cv_func_frexpf_use=no
48121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48122 ac_ext=c
48123 ac_cpp='$CPP $CPPFLAGS'
48124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48133 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48135 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48136 for ac_func in frexpf
48137 do :
48138 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48139 if test "x$ac_cv_func_frexpf" = x""yes; then :
48140 cat >>confdefs.h <<_ACEOF
48141 #define HAVE_FREXPF 1
48142 _ACEOF
48145 done
48147 else
48149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48150 $as_echo_n "checking for _frexpf declaration... " >&6; }
48151 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48152 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48153 $as_echo_n "(cached) " >&6
48154 else
48157 ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h. */
48165 #include <math.h>
48167 main ()
48169 _frexpf(0, 0);
48171 return 0;
48173 _ACEOF
48174 if ac_fn_cxx_try_compile "$LINENO"; then :
48175 glibcxx_cv_func__frexpf_use=yes
48176 else
48177 glibcxx_cv_func__frexpf_use=no
48179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48180 ac_ext=c
48181 ac_cpp='$CPP $CPPFLAGS'
48182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48191 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48193 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48194 for ac_func in _frexpf
48195 do :
48196 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48197 if test "x$ac_cv_func__frexpf" = x""yes; then :
48198 cat >>confdefs.h <<_ACEOF
48199 #define HAVE__FREXPF 1
48200 _ACEOF
48203 done
48212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48213 $as_echo_n "checking for hypotf declaration... " >&6; }
48214 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48215 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48216 $as_echo_n "(cached) " >&6
48217 else
48220 ac_ext=cpp
48221 ac_cpp='$CXXCPP $CPPFLAGS'
48222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48227 /* end confdefs.h. */
48228 #include <math.h>
48230 main ()
48232 hypotf(0, 0);
48234 return 0;
48236 _ACEOF
48237 if ac_fn_cxx_try_compile "$LINENO"; then :
48238 glibcxx_cv_func_hypotf_use=yes
48239 else
48240 glibcxx_cv_func_hypotf_use=no
48242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48243 ac_ext=c
48244 ac_cpp='$CPP $CPPFLAGS'
48245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48254 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48256 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48257 for ac_func in hypotf
48258 do :
48259 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48260 if test "x$ac_cv_func_hypotf" = x""yes; then :
48261 cat >>confdefs.h <<_ACEOF
48262 #define HAVE_HYPOTF 1
48263 _ACEOF
48266 done
48268 else
48270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48271 $as_echo_n "checking for _hypotf declaration... " >&6; }
48272 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48273 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
48292 return 0;
48294 _ACEOF
48295 if ac_fn_cxx_try_compile "$LINENO"; then :
48296 glibcxx_cv_func__hypotf_use=yes
48297 else
48298 glibcxx_cv_func__hypotf_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
48311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48312 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48314 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48315 for ac_func in _hypotf
48316 do :
48317 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48318 if test "x$ac_cv_func__hypotf" = x""yes; then :
48319 cat >>confdefs.h <<_ACEOF
48320 #define HAVE__HYPOTF 1
48321 _ACEOF
48324 done
48333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48334 $as_echo_n "checking for ldexpf declaration... " >&6; }
48335 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48336 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48337 $as_echo_n "(cached) " >&6
48338 else
48341 ac_ext=cpp
48342 ac_cpp='$CXXCPP $CPPFLAGS'
48343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48348 /* end confdefs.h. */
48349 #include <math.h>
48351 main ()
48353 ldexpf(0, 0);
48355 return 0;
48357 _ACEOF
48358 if ac_fn_cxx_try_compile "$LINENO"; then :
48359 glibcxx_cv_func_ldexpf_use=yes
48360 else
48361 glibcxx_cv_func_ldexpf_use=no
48363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48364 ac_ext=c
48365 ac_cpp='$CPP $CPPFLAGS'
48366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48375 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48377 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48378 for ac_func in ldexpf
48379 do :
48380 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48381 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48382 cat >>confdefs.h <<_ACEOF
48383 #define HAVE_LDEXPF 1
48384 _ACEOF
48387 done
48389 else
48391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48392 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48393 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48394 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48395 $as_echo_n "(cached) " >&6
48396 else
48399 ac_ext=cpp
48400 ac_cpp='$CXXCPP $CPPFLAGS'
48401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48406 /* end confdefs.h. */
48407 #include <math.h>
48409 main ()
48411 _ldexpf(0, 0);
48413 return 0;
48415 _ACEOF
48416 if ac_fn_cxx_try_compile "$LINENO"; then :
48417 glibcxx_cv_func__ldexpf_use=yes
48418 else
48419 glibcxx_cv_func__ldexpf_use=no
48421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48422 ac_ext=c
48423 ac_cpp='$CPP $CPPFLAGS'
48424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48433 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48435 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48436 for ac_func in _ldexpf
48437 do :
48438 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48439 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48440 cat >>confdefs.h <<_ACEOF
48441 #define HAVE__LDEXPF 1
48442 _ACEOF
48445 done
48454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48455 $as_echo_n "checking for logf declaration... " >&6; }
48456 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48457 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48458 $as_echo_n "(cached) " >&6
48459 else
48462 ac_ext=cpp
48463 ac_cpp='$CXXCPP $CPPFLAGS'
48464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48469 /* end confdefs.h. */
48470 #include <math.h>
48471 #ifdef HAVE_IEEEFP_H
48472 #include <ieeefp.h>
48473 #endif
48476 main ()
48478 logf(0);
48480 return 0;
48482 _ACEOF
48483 if ac_fn_cxx_try_compile "$LINENO"; then :
48484 glibcxx_cv_func_logf_use=yes
48485 else
48486 glibcxx_cv_func_logf_use=no
48488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48489 ac_ext=c
48490 ac_cpp='$CPP $CPPFLAGS'
48491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48500 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48502 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48503 for ac_func in logf
48504 do :
48505 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48506 if test "x$ac_cv_func_logf" = x""yes; then :
48507 cat >>confdefs.h <<_ACEOF
48508 #define HAVE_LOGF 1
48509 _ACEOF
48512 done
48514 else
48516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48517 $as_echo_n "checking for _logf declaration... " >&6; }
48518 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48519 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48520 $as_echo_n "(cached) " >&6
48521 else
48524 ac_ext=cpp
48525 ac_cpp='$CXXCPP $CPPFLAGS'
48526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48531 /* end confdefs.h. */
48532 #include <math.h>
48533 #ifdef HAVE_IEEEFP_H
48534 #include <ieeefp.h>
48535 #endif
48538 main ()
48540 _logf(0);
48542 return 0;
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546 glibcxx_cv_func__logf_use=yes
48547 else
48548 glibcxx_cv_func__logf_use=no
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551 ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48562 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48564 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48565 for ac_func in _logf
48566 do :
48567 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48568 if test "x$ac_cv_func__logf" = x""yes; then :
48569 cat >>confdefs.h <<_ACEOF
48570 #define HAVE__LOGF 1
48571 _ACEOF
48574 done
48583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48584 $as_echo_n "checking for log10f declaration... " >&6; }
48585 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48586 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48587 $as_echo_n "(cached) " >&6
48588 else
48591 ac_ext=cpp
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48598 /* end confdefs.h. */
48599 #include <math.h>
48600 #ifdef HAVE_IEEEFP_H
48601 #include <ieeefp.h>
48602 #endif
48605 main ()
48607 log10f(0);
48609 return 0;
48611 _ACEOF
48612 if ac_fn_cxx_try_compile "$LINENO"; then :
48613 glibcxx_cv_func_log10f_use=yes
48614 else
48615 glibcxx_cv_func_log10f_use=no
48617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48618 ac_ext=c
48619 ac_cpp='$CPP $CPPFLAGS'
48620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48629 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48631 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48632 for ac_func in log10f
48633 do :
48634 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48635 if test "x$ac_cv_func_log10f" = x""yes; then :
48636 cat >>confdefs.h <<_ACEOF
48637 #define HAVE_LOG10F 1
48638 _ACEOF
48641 done
48643 else
48645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48646 $as_echo_n "checking for _log10f declaration... " >&6; }
48647 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48648 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48649 $as_echo_n "(cached) " >&6
48650 else
48653 ac_ext=cpp
48654 ac_cpp='$CXXCPP $CPPFLAGS'
48655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48660 /* end confdefs.h. */
48661 #include <math.h>
48662 #ifdef HAVE_IEEEFP_H
48663 #include <ieeefp.h>
48664 #endif
48667 main ()
48669 _log10f(0);
48671 return 0;
48673 _ACEOF
48674 if ac_fn_cxx_try_compile "$LINENO"; then :
48675 glibcxx_cv_func__log10f_use=yes
48676 else
48677 glibcxx_cv_func__log10f_use=no
48679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48680 ac_ext=c
48681 ac_cpp='$CPP $CPPFLAGS'
48682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48691 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48693 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48694 for ac_func in _log10f
48695 do :
48696 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48697 if test "x$ac_cv_func__log10f" = x""yes; then :
48698 cat >>confdefs.h <<_ACEOF
48699 #define HAVE__LOG10F 1
48700 _ACEOF
48703 done
48712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48713 $as_echo_n "checking for modff declaration... " >&6; }
48714 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48715 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48716 $as_echo_n "(cached) " >&6
48717 else
48720 ac_ext=cpp
48721 ac_cpp='$CXXCPP $CPPFLAGS'
48722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48727 /* end confdefs.h. */
48728 #include <math.h>
48730 main ()
48732 modff(0, 0);
48734 return 0;
48736 _ACEOF
48737 if ac_fn_cxx_try_compile "$LINENO"; then :
48738 glibcxx_cv_func_modff_use=yes
48739 else
48740 glibcxx_cv_func_modff_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_modff_use" >&5
48754 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48756 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48757 for ac_func in modff
48758 do :
48759 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48760 if test "x$ac_cv_func_modff" = x""yes; then :
48761 cat >>confdefs.h <<_ACEOF
48762 #define HAVE_MODFF 1
48763 _ACEOF
48766 done
48768 else
48770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48771 $as_echo_n "checking for _modff declaration... " >&6; }
48772 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48773 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48774 $as_echo_n "(cached) " >&6
48775 else
48778 ac_ext=cpp
48779 ac_cpp='$CXXCPP $CPPFLAGS'
48780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48785 /* end confdefs.h. */
48786 #include <math.h>
48788 main ()
48790 _modff(0, 0);
48792 return 0;
48794 _ACEOF
48795 if ac_fn_cxx_try_compile "$LINENO"; then :
48796 glibcxx_cv_func__modff_use=yes
48797 else
48798 glibcxx_cv_func__modff_use=no
48800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48801 ac_ext=c
48802 ac_cpp='$CPP $CPPFLAGS'
48803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48812 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48814 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48815 for ac_func in _modff
48816 do :
48817 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48818 if test "x$ac_cv_func__modff" = x""yes; then :
48819 cat >>confdefs.h <<_ACEOF
48820 #define HAVE__MODFF 1
48821 _ACEOF
48824 done
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48834 $as_echo_n "checking for modf declaration... " >&6; }
48835 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48836 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
48855 return 0;
48857 _ACEOF
48858 if ac_fn_cxx_try_compile "$LINENO"; then :
48859 glibcxx_cv_func_modf_use=yes
48860 else
48861 glibcxx_cv_func_modf_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_modf_use" >&5
48875 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48877 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48878 for ac_func in modf
48879 do :
48880 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48881 if test "x$ac_cv_func_modf" = x""yes; then :
48882 cat >>confdefs.h <<_ACEOF
48883 #define HAVE_MODF 1
48884 _ACEOF
48887 done
48889 else
48891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48892 $as_echo_n "checking for _modf declaration... " >&6; }
48893 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48894 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48895 $as_echo_n "(cached) " >&6
48896 else
48899 ac_ext=cpp
48900 ac_cpp='$CXXCPP $CPPFLAGS'
48901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48906 /* end confdefs.h. */
48907 #include <math.h>
48909 main ()
48911 _modf(0, 0);
48913 return 0;
48915 _ACEOF
48916 if ac_fn_cxx_try_compile "$LINENO"; then :
48917 glibcxx_cv_func__modf_use=yes
48918 else
48919 glibcxx_cv_func__modf_use=no
48921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48922 ac_ext=c
48923 ac_cpp='$CPP $CPPFLAGS'
48924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48933 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48935 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48936 for ac_func in _modf
48937 do :
48938 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48939 if test "x$ac_cv_func__modf" = x""yes; then :
48940 cat >>confdefs.h <<_ACEOF
48941 #define HAVE__MODF 1
48942 _ACEOF
48945 done
48954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48955 $as_echo_n "checking for powf declaration... " >&6; }
48956 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48957 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48958 $as_echo_n "(cached) " >&6
48959 else
48962 ac_ext=cpp
48963 ac_cpp='$CXXCPP $CPPFLAGS'
48964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48969 /* end confdefs.h. */
48970 #include <math.h>
48972 main ()
48974 powf(0, 0);
48976 return 0;
48978 _ACEOF
48979 if ac_fn_cxx_try_compile "$LINENO"; then :
48980 glibcxx_cv_func_powf_use=yes
48981 else
48982 glibcxx_cv_func_powf_use=no
48984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48985 ac_ext=c
48986 ac_cpp='$CPP $CPPFLAGS'
48987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48996 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48998 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48999 for ac_func in powf
49000 do :
49001 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49002 if test "x$ac_cv_func_powf" = x""yes; then :
49003 cat >>confdefs.h <<_ACEOF
49004 #define HAVE_POWF 1
49005 _ACEOF
49008 done
49010 else
49012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49013 $as_echo_n "checking for _powf declaration... " >&6; }
49014 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49015 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49016 $as_echo_n "(cached) " >&6
49017 else
49020 ac_ext=cpp
49021 ac_cpp='$CXXCPP $CPPFLAGS'
49022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49027 /* end confdefs.h. */
49028 #include <math.h>
49030 main ()
49032 _powf(0, 0);
49034 return 0;
49036 _ACEOF
49037 if ac_fn_cxx_try_compile "$LINENO"; then :
49038 glibcxx_cv_func__powf_use=yes
49039 else
49040 glibcxx_cv_func__powf_use=no
49042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49043 ac_ext=c
49044 ac_cpp='$CPP $CPPFLAGS'
49045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49054 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49056 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49057 for ac_func in _powf
49058 do :
49059 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49060 if test "x$ac_cv_func__powf" = x""yes; then :
49061 cat >>confdefs.h <<_ACEOF
49062 #define HAVE__POWF 1
49063 _ACEOF
49066 done
49075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49076 $as_echo_n "checking for sqrtf declaration... " >&6; }
49077 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49078 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49079 $as_echo_n "(cached) " >&6
49080 else
49083 ac_ext=cpp
49084 ac_cpp='$CXXCPP $CPPFLAGS'
49085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49090 /* end confdefs.h. */
49091 #include <math.h>
49092 #ifdef HAVE_IEEEFP_H
49093 #include <ieeefp.h>
49094 #endif
49097 main ()
49099 sqrtf(0);
49101 return 0;
49103 _ACEOF
49104 if ac_fn_cxx_try_compile "$LINENO"; then :
49105 glibcxx_cv_func_sqrtf_use=yes
49106 else
49107 glibcxx_cv_func_sqrtf_use=no
49109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49110 ac_ext=c
49111 ac_cpp='$CPP $CPPFLAGS'
49112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49121 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49123 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49124 for ac_func in sqrtf
49125 do :
49126 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49127 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49128 cat >>confdefs.h <<_ACEOF
49129 #define HAVE_SQRTF 1
49130 _ACEOF
49133 done
49135 else
49137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49138 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49139 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49140 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49141 $as_echo_n "(cached) " >&6
49142 else
49145 ac_ext=cpp
49146 ac_cpp='$CXXCPP $CPPFLAGS'
49147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49152 /* end confdefs.h. */
49153 #include <math.h>
49154 #ifdef HAVE_IEEEFP_H
49155 #include <ieeefp.h>
49156 #endif
49159 main ()
49161 _sqrtf(0);
49163 return 0;
49165 _ACEOF
49166 if ac_fn_cxx_try_compile "$LINENO"; then :
49167 glibcxx_cv_func__sqrtf_use=yes
49168 else
49169 glibcxx_cv_func__sqrtf_use=no
49171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49172 ac_ext=c
49173 ac_cpp='$CPP $CPPFLAGS'
49174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49183 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49185 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49186 for ac_func in _sqrtf
49187 do :
49188 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49189 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49190 cat >>confdefs.h <<_ACEOF
49191 #define HAVE__SQRTF 1
49192 _ACEOF
49195 done
49204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49205 $as_echo_n "checking for sincosf declaration... " >&6; }
49206 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49207 if test "${glibcxx_cv_func_sincosf_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 sincosf(0, 0, 0);
49226 return 0;
49228 _ACEOF
49229 if ac_fn_cxx_try_compile "$LINENO"; then :
49230 glibcxx_cv_func_sincosf_use=yes
49231 else
49232 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
49246 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49248 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49249 for ac_func in sincosf
49250 do :
49251 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49252 if test "x$ac_cv_func_sincosf" = x""yes; then :
49253 cat >>confdefs.h <<_ACEOF
49254 #define HAVE_SINCOSF 1
49255 _ACEOF
49258 done
49260 else
49262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49263 $as_echo_n "checking for _sincosf declaration... " >&6; }
49264 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49265 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49266 $as_echo_n "(cached) " >&6
49267 else
49270 ac_ext=cpp
49271 ac_cpp='$CXXCPP $CPPFLAGS'
49272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49277 /* end confdefs.h. */
49278 #include <math.h>
49280 main ()
49282 _sincosf(0, 0, 0);
49284 return 0;
49286 _ACEOF
49287 if ac_fn_cxx_try_compile "$LINENO"; then :
49288 glibcxx_cv_func__sincosf_use=yes
49289 else
49290 glibcxx_cv_func__sincosf_use=no
49292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49293 ac_ext=c
49294 ac_cpp='$CPP $CPPFLAGS'
49295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49304 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49306 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49307 for ac_func in _sincosf
49308 do :
49309 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49310 if test "x$ac_cv_func__sincosf" = x""yes; then :
49311 cat >>confdefs.h <<_ACEOF
49312 #define HAVE__SINCOSF 1
49313 _ACEOF
49316 done
49325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49326 $as_echo_n "checking for finitef declaration... " >&6; }
49327 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49328 if test "${glibcxx_cv_func_finitef_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>
49342 #ifdef HAVE_IEEEFP_H
49343 #include <ieeefp.h>
49344 #endif
49347 main ()
49349 finitef(0);
49351 return 0;
49353 _ACEOF
49354 if ac_fn_cxx_try_compile "$LINENO"; then :
49355 glibcxx_cv_func_finitef_use=yes
49356 else
49357 glibcxx_cv_func_finitef_use=no
49359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49360 ac_ext=c
49361 ac_cpp='$CPP $CPPFLAGS'
49362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49371 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49373 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49374 for ac_func in finitef
49375 do :
49376 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49377 if test "x$ac_cv_func_finitef" = x""yes; then :
49378 cat >>confdefs.h <<_ACEOF
49379 #define HAVE_FINITEF 1
49380 _ACEOF
49383 done
49385 else
49387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49388 $as_echo_n "checking for _finitef declaration... " >&6; }
49389 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49390 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49391 $as_echo_n "(cached) " >&6
49392 else
49395 ac_ext=cpp
49396 ac_cpp='$CXXCPP $CPPFLAGS'
49397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49402 /* end confdefs.h. */
49403 #include <math.h>
49404 #ifdef HAVE_IEEEFP_H
49405 #include <ieeefp.h>
49406 #endif
49409 main ()
49411 _finitef(0);
49413 return 0;
49415 _ACEOF
49416 if ac_fn_cxx_try_compile "$LINENO"; then :
49417 glibcxx_cv_func__finitef_use=yes
49418 else
49419 glibcxx_cv_func__finitef_use=no
49421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49422 ac_ext=c
49423 ac_cpp='$CPP $CPPFLAGS'
49424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49433 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49435 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49436 for ac_func in _finitef
49437 do :
49438 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49439 if test "x$ac_cv_func__finitef" = x""yes; then :
49440 cat >>confdefs.h <<_ACEOF
49441 #define HAVE__FINITEF 1
49442 _ACEOF
49445 done
49454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49455 $as_echo_n "checking for long double trig functions... " >&6; }
49456 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49457 $as_echo_n "(cached) " >&6
49458 else
49461 ac_ext=cpp
49462 ac_cpp='$CXXCPP $CPPFLAGS'
49463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49468 /* end confdefs.h. */
49469 #include <math.h>
49471 main ()
49473 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49475 return 0;
49477 _ACEOF
49478 if ac_fn_cxx_try_compile "$LINENO"; then :
49479 glibcxx_cv_func_long_double_trig_use=yes
49480 else
49481 glibcxx_cv_func_long_double_trig_use=no
49483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49484 ac_ext=c
49485 ac_cpp='$CPP $CPPFLAGS'
49486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49493 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49494 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49495 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49496 do :
49497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49499 eval as_val=\$$as_ac_var
49500 if test "x$as_val" = x""yes; then :
49501 cat >>confdefs.h <<_ACEOF
49502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49503 _ACEOF
49506 done
49508 else
49509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49510 $as_echo_n "checking for _long double trig functions... " >&6; }
49511 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49512 $as_echo_n "(cached) " >&6
49513 else
49516 ac_ext=cpp
49517 ac_cpp='$CXXCPP $CPPFLAGS'
49518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49523 /* end confdefs.h. */
49524 #include <math.h>
49526 main ()
49528 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49530 return 0;
49532 _ACEOF
49533 if ac_fn_cxx_try_compile "$LINENO"; then :
49534 glibcxx_cv_func__long_double_trig_use=yes
49535 else
49536 glibcxx_cv_func__long_double_trig_use=no
49538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49539 ac_ext=c
49540 ac_cpp='$CPP $CPPFLAGS'
49541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49548 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49549 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49550 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49551 do :
49552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49554 eval as_val=\$$as_ac_var
49555 if test "x$as_val" = x""yes; then :
49556 cat >>confdefs.h <<_ACEOF
49557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49558 _ACEOF
49561 done
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49571 $as_echo_n "checking for long double round functions... " >&6; }
49572 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49573 $as_echo_n "(cached) " >&6
49574 else
49577 ac_ext=cpp
49578 ac_cpp='$CXXCPP $CPPFLAGS'
49579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49584 /* end confdefs.h. */
49585 #include <math.h>
49587 main ()
49589 ceill (0); floorl (0);
49591 return 0;
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595 glibcxx_cv_func_long_double_round_use=yes
49596 else
49597 glibcxx_cv_func_long_double_round_use=no
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600 ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49609 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49610 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49611 for ac_func in ceill floorl
49612 do :
49613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49615 eval as_val=\$$as_ac_var
49616 if test "x$as_val" = x""yes; then :
49617 cat >>confdefs.h <<_ACEOF
49618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49619 _ACEOF
49622 done
49624 else
49625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49626 $as_echo_n "checking for _long double round functions... " >&6; }
49627 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49628 $as_echo_n "(cached) " >&6
49629 else
49632 ac_ext=cpp
49633 ac_cpp='$CXXCPP $CPPFLAGS'
49634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49639 /* end confdefs.h. */
49640 #include <math.h>
49642 main ()
49644 _ceill (0); _floorl (0);
49646 return 0;
49648 _ACEOF
49649 if ac_fn_cxx_try_compile "$LINENO"; then :
49650 glibcxx_cv_func__long_double_round_use=yes
49651 else
49652 glibcxx_cv_func__long_double_round_use=no
49654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49655 ac_ext=c
49656 ac_cpp='$CPP $CPPFLAGS'
49657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49664 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49665 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49666 for ac_func in _ceill _floorl
49667 do :
49668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49670 eval as_val=\$$as_ac_var
49671 if test "x$as_val" = x""yes; then :
49672 cat >>confdefs.h <<_ACEOF
49673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49674 _ACEOF
49677 done
49687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49688 $as_echo_n "checking for isnanl declaration... " >&6; }
49689 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49690 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49691 $as_echo_n "(cached) " >&6
49692 else
49695 ac_ext=cpp
49696 ac_cpp='$CXXCPP $CPPFLAGS'
49697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49702 /* end confdefs.h. */
49703 #include <math.h>
49704 #ifdef HAVE_IEEEFP_H
49705 #include <ieeefp.h>
49706 #endif
49709 main ()
49711 isnanl(0);
49713 return 0;
49715 _ACEOF
49716 if ac_fn_cxx_try_compile "$LINENO"; then :
49717 glibcxx_cv_func_isnanl_use=yes
49718 else
49719 glibcxx_cv_func_isnanl_use=no
49721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49722 ac_ext=c
49723 ac_cpp='$CPP $CPPFLAGS'
49724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49733 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49735 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49736 for ac_func in isnanl
49737 do :
49738 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49739 if test "x$ac_cv_func_isnanl" = x""yes; then :
49740 cat >>confdefs.h <<_ACEOF
49741 #define HAVE_ISNANL 1
49742 _ACEOF
49745 done
49747 else
49749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49750 $as_echo_n "checking for _isnanl declaration... " >&6; }
49751 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49752 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49753 $as_echo_n "(cached) " >&6
49754 else
49757 ac_ext=cpp
49758 ac_cpp='$CXXCPP $CPPFLAGS'
49759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49764 /* end confdefs.h. */
49765 #include <math.h>
49766 #ifdef HAVE_IEEEFP_H
49767 #include <ieeefp.h>
49768 #endif
49771 main ()
49773 _isnanl(0);
49775 return 0;
49777 _ACEOF
49778 if ac_fn_cxx_try_compile "$LINENO"; then :
49779 glibcxx_cv_func__isnanl_use=yes
49780 else
49781 glibcxx_cv_func__isnanl_use=no
49783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49784 ac_ext=c
49785 ac_cpp='$CPP $CPPFLAGS'
49786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49795 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49797 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49798 for ac_func in _isnanl
49799 do :
49800 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49801 if test "x$ac_cv_func__isnanl" = x""yes; then :
49802 cat >>confdefs.h <<_ACEOF
49803 #define HAVE__ISNANL 1
49804 _ACEOF
49807 done
49816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49817 $as_echo_n "checking for isinfl declaration... " >&6; }
49818 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49819 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49820 $as_echo_n "(cached) " >&6
49821 else
49824 ac_ext=cpp
49825 ac_cpp='$CXXCPP $CPPFLAGS'
49826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49831 /* end confdefs.h. */
49832 #include <math.h>
49833 #ifdef HAVE_IEEEFP_H
49834 #include <ieeefp.h>
49835 #endif
49838 main ()
49840 isinfl(0);
49842 return 0;
49844 _ACEOF
49845 if ac_fn_cxx_try_compile "$LINENO"; then :
49846 glibcxx_cv_func_isinfl_use=yes
49847 else
49848 glibcxx_cv_func_isinfl_use=no
49850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49851 ac_ext=c
49852 ac_cpp='$CPP $CPPFLAGS'
49853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49862 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49864 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49865 for ac_func in isinfl
49866 do :
49867 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49868 if test "x$ac_cv_func_isinfl" = x""yes; then :
49869 cat >>confdefs.h <<_ACEOF
49870 #define HAVE_ISINFL 1
49871 _ACEOF
49874 done
49876 else
49878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49879 $as_echo_n "checking for _isinfl declaration... " >&6; }
49880 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49881 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49882 $as_echo_n "(cached) " >&6
49883 else
49886 ac_ext=cpp
49887 ac_cpp='$CXXCPP $CPPFLAGS'
49888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49893 /* end confdefs.h. */
49894 #include <math.h>
49895 #ifdef HAVE_IEEEFP_H
49896 #include <ieeefp.h>
49897 #endif
49900 main ()
49902 _isinfl(0);
49904 return 0;
49906 _ACEOF
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908 glibcxx_cv_func__isinfl_use=yes
49909 else
49910 glibcxx_cv_func__isinfl_use=no
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49913 ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49924 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49926 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49927 for ac_func in _isinfl
49928 do :
49929 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49930 if test "x$ac_cv_func__isinfl" = x""yes; then :
49931 cat >>confdefs.h <<_ACEOF
49932 #define HAVE__ISINFL 1
49933 _ACEOF
49936 done
49945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49946 $as_echo_n "checking for atan2l declaration... " >&6; }
49947 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49948 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49949 $as_echo_n "(cached) " >&6
49950 else
49953 ac_ext=cpp
49954 ac_cpp='$CXXCPP $CPPFLAGS'
49955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49960 /* end confdefs.h. */
49961 #include <math.h>
49963 main ()
49965 atan2l(0, 0);
49967 return 0;
49969 _ACEOF
49970 if ac_fn_cxx_try_compile "$LINENO"; then :
49971 glibcxx_cv_func_atan2l_use=yes
49972 else
49973 glibcxx_cv_func_atan2l_use=no
49975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49976 ac_ext=c
49977 ac_cpp='$CPP $CPPFLAGS'
49978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49987 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49989 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49990 for ac_func in atan2l
49991 do :
49992 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49993 if test "x$ac_cv_func_atan2l" = x""yes; then :
49994 cat >>confdefs.h <<_ACEOF
49995 #define HAVE_ATAN2L 1
49996 _ACEOF
49999 done
50001 else
50003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50004 $as_echo_n "checking for _atan2l declaration... " >&6; }
50005 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50006 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50007 $as_echo_n "(cached) " >&6
50008 else
50011 ac_ext=cpp
50012 ac_cpp='$CXXCPP $CPPFLAGS'
50013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50018 /* end confdefs.h. */
50019 #include <math.h>
50021 main ()
50023 _atan2l(0, 0);
50025 return 0;
50027 _ACEOF
50028 if ac_fn_cxx_try_compile "$LINENO"; then :
50029 glibcxx_cv_func__atan2l_use=yes
50030 else
50031 glibcxx_cv_func__atan2l_use=no
50033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50034 ac_ext=c
50035 ac_cpp='$CPP $CPPFLAGS'
50036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50045 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50047 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50048 for ac_func in _atan2l
50049 do :
50050 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50051 if test "x$ac_cv_func__atan2l" = x""yes; then :
50052 cat >>confdefs.h <<_ACEOF
50053 #define HAVE__ATAN2L 1
50054 _ACEOF
50057 done
50066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50067 $as_echo_n "checking for expl declaration... " >&6; }
50068 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50069 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50070 $as_echo_n "(cached) " >&6
50071 else
50074 ac_ext=cpp
50075 ac_cpp='$CXXCPP $CPPFLAGS'
50076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50081 /* end confdefs.h. */
50082 #include <math.h>
50083 #ifdef HAVE_IEEEFP_H
50084 #include <ieeefp.h>
50085 #endif
50088 main ()
50090 expl(0);
50092 return 0;
50094 _ACEOF
50095 if ac_fn_cxx_try_compile "$LINENO"; then :
50096 glibcxx_cv_func_expl_use=yes
50097 else
50098 glibcxx_cv_func_expl_use=no
50100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50101 ac_ext=c
50102 ac_cpp='$CPP $CPPFLAGS'
50103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50112 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50114 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50115 for ac_func in expl
50116 do :
50117 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50118 if test "x$ac_cv_func_expl" = x""yes; then :
50119 cat >>confdefs.h <<_ACEOF
50120 #define HAVE_EXPL 1
50121 _ACEOF
50124 done
50126 else
50128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50129 $as_echo_n "checking for _expl declaration... " >&6; }
50130 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50131 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50132 $as_echo_n "(cached) " >&6
50133 else
50136 ac_ext=cpp
50137 ac_cpp='$CXXCPP $CPPFLAGS'
50138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50143 /* end confdefs.h. */
50144 #include <math.h>
50145 #ifdef HAVE_IEEEFP_H
50146 #include <ieeefp.h>
50147 #endif
50150 main ()
50152 _expl(0);
50154 return 0;
50156 _ACEOF
50157 if ac_fn_cxx_try_compile "$LINENO"; then :
50158 glibcxx_cv_func__expl_use=yes
50159 else
50160 glibcxx_cv_func__expl_use=no
50162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50163 ac_ext=c
50164 ac_cpp='$CPP $CPPFLAGS'
50165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50174 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50176 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50177 for ac_func in _expl
50178 do :
50179 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50180 if test "x$ac_cv_func__expl" = x""yes; then :
50181 cat >>confdefs.h <<_ACEOF
50182 #define HAVE__EXPL 1
50183 _ACEOF
50186 done
50195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50196 $as_echo_n "checking for fabsl declaration... " >&6; }
50197 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50198 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50199 $as_echo_n "(cached) " >&6
50200 else
50203 ac_ext=cpp
50204 ac_cpp='$CXXCPP $CPPFLAGS'
50205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50210 /* end confdefs.h. */
50211 #include <math.h>
50212 #ifdef HAVE_IEEEFP_H
50213 #include <ieeefp.h>
50214 #endif
50217 main ()
50219 fabsl(0);
50221 return 0;
50223 _ACEOF
50224 if ac_fn_cxx_try_compile "$LINENO"; then :
50225 glibcxx_cv_func_fabsl_use=yes
50226 else
50227 glibcxx_cv_func_fabsl_use=no
50229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50230 ac_ext=c
50231 ac_cpp='$CPP $CPPFLAGS'
50232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50241 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50243 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50244 for ac_func in fabsl
50245 do :
50246 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50247 if test "x$ac_cv_func_fabsl" = x""yes; then :
50248 cat >>confdefs.h <<_ACEOF
50249 #define HAVE_FABSL 1
50250 _ACEOF
50253 done
50255 else
50257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50258 $as_echo_n "checking for _fabsl declaration... " >&6; }
50259 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50260 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50261 $as_echo_n "(cached) " >&6
50262 else
50265 ac_ext=cpp
50266 ac_cpp='$CXXCPP $CPPFLAGS'
50267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50272 /* end confdefs.h. */
50273 #include <math.h>
50274 #ifdef HAVE_IEEEFP_H
50275 #include <ieeefp.h>
50276 #endif
50279 main ()
50281 _fabsl(0);
50283 return 0;
50285 _ACEOF
50286 if ac_fn_cxx_try_compile "$LINENO"; then :
50287 glibcxx_cv_func__fabsl_use=yes
50288 else
50289 glibcxx_cv_func__fabsl_use=no
50291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50292 ac_ext=c
50293 ac_cpp='$CPP $CPPFLAGS'
50294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50303 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50305 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50306 for ac_func in _fabsl
50307 do :
50308 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50309 if test "x$ac_cv_func__fabsl" = x""yes; then :
50310 cat >>confdefs.h <<_ACEOF
50311 #define HAVE__FABSL 1
50312 _ACEOF
50315 done
50324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50325 $as_echo_n "checking for fmodl declaration... " >&6; }
50326 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50327 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50328 $as_echo_n "(cached) " >&6
50329 else
50332 ac_ext=cpp
50333 ac_cpp='$CXXCPP $CPPFLAGS'
50334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50339 /* end confdefs.h. */
50340 #include <math.h>
50342 main ()
50344 fmodl(0, 0);
50346 return 0;
50348 _ACEOF
50349 if ac_fn_cxx_try_compile "$LINENO"; then :
50350 glibcxx_cv_func_fmodl_use=yes
50351 else
50352 glibcxx_cv_func_fmodl_use=no
50354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50355 ac_ext=c
50356 ac_cpp='$CPP $CPPFLAGS'
50357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50366 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50368 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50369 for ac_func in fmodl
50370 do :
50371 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50372 if test "x$ac_cv_func_fmodl" = x""yes; then :
50373 cat >>confdefs.h <<_ACEOF
50374 #define HAVE_FMODL 1
50375 _ACEOF
50378 done
50380 else
50382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50383 $as_echo_n "checking for _fmodl declaration... " >&6; }
50384 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50385 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50386 $as_echo_n "(cached) " >&6
50387 else
50390 ac_ext=cpp
50391 ac_cpp='$CXXCPP $CPPFLAGS'
50392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50397 /* end confdefs.h. */
50398 #include <math.h>
50400 main ()
50402 _fmodl(0, 0);
50404 return 0;
50406 _ACEOF
50407 if ac_fn_cxx_try_compile "$LINENO"; then :
50408 glibcxx_cv_func__fmodl_use=yes
50409 else
50410 glibcxx_cv_func__fmodl_use=no
50412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50413 ac_ext=c
50414 ac_cpp='$CPP $CPPFLAGS'
50415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50424 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50426 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50427 for ac_func in _fmodl
50428 do :
50429 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50430 if test "x$ac_cv_func__fmodl" = x""yes; then :
50431 cat >>confdefs.h <<_ACEOF
50432 #define HAVE__FMODL 1
50433 _ACEOF
50436 done
50445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50446 $as_echo_n "checking for frexpl declaration... " >&6; }
50447 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50448 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50449 $as_echo_n "(cached) " >&6
50450 else
50453 ac_ext=cpp
50454 ac_cpp='$CXXCPP $CPPFLAGS'
50455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50460 /* end confdefs.h. */
50461 #include <math.h>
50463 main ()
50465 frexpl(0, 0);
50467 return 0;
50469 _ACEOF
50470 if ac_fn_cxx_try_compile "$LINENO"; then :
50471 glibcxx_cv_func_frexpl_use=yes
50472 else
50473 glibcxx_cv_func_frexpl_use=no
50475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50476 ac_ext=c
50477 ac_cpp='$CPP $CPPFLAGS'
50478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50487 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50489 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50490 for ac_func in frexpl
50491 do :
50492 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50493 if test "x$ac_cv_func_frexpl" = x""yes; then :
50494 cat >>confdefs.h <<_ACEOF
50495 #define HAVE_FREXPL 1
50496 _ACEOF
50499 done
50501 else
50503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50504 $as_echo_n "checking for _frexpl declaration... " >&6; }
50505 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50506 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50507 $as_echo_n "(cached) " >&6
50508 else
50511 ac_ext=cpp
50512 ac_cpp='$CXXCPP $CPPFLAGS'
50513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50518 /* end confdefs.h. */
50519 #include <math.h>
50521 main ()
50523 _frexpl(0, 0);
50525 return 0;
50527 _ACEOF
50528 if ac_fn_cxx_try_compile "$LINENO"; then :
50529 glibcxx_cv_func__frexpl_use=yes
50530 else
50531 glibcxx_cv_func__frexpl_use=no
50533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50534 ac_ext=c
50535 ac_cpp='$CPP $CPPFLAGS'
50536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50545 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50547 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50548 for ac_func in _frexpl
50549 do :
50550 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50551 if test "x$ac_cv_func__frexpl" = x""yes; then :
50552 cat >>confdefs.h <<_ACEOF
50553 #define HAVE__FREXPL 1
50554 _ACEOF
50557 done
50566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50567 $as_echo_n "checking for hypotl declaration... " >&6; }
50568 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50569 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50570 $as_echo_n "(cached) " >&6
50571 else
50574 ac_ext=cpp
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50581 /* end confdefs.h. */
50582 #include <math.h>
50584 main ()
50586 hypotl(0, 0);
50588 return 0;
50590 _ACEOF
50591 if ac_fn_cxx_try_compile "$LINENO"; then :
50592 glibcxx_cv_func_hypotl_use=yes
50593 else
50594 glibcxx_cv_func_hypotl_use=no
50596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50597 ac_ext=c
50598 ac_cpp='$CPP $CPPFLAGS'
50599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50608 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50610 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50611 for ac_func in hypotl
50612 do :
50613 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50614 if test "x$ac_cv_func_hypotl" = x""yes; then :
50615 cat >>confdefs.h <<_ACEOF
50616 #define HAVE_HYPOTL 1
50617 _ACEOF
50620 done
50622 else
50624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50625 $as_echo_n "checking for _hypotl declaration... " >&6; }
50626 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50627 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
50646 return 0;
50648 _ACEOF
50649 if ac_fn_cxx_try_compile "$LINENO"; then :
50650 glibcxx_cv_func__hypotl_use=yes
50651 else
50652 glibcxx_cv_func__hypotl_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
50665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50666 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50668 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50669 for ac_func in _hypotl
50670 do :
50671 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50672 if test "x$ac_cv_func__hypotl" = x""yes; then :
50673 cat >>confdefs.h <<_ACEOF
50674 #define HAVE__HYPOTL 1
50675 _ACEOF
50678 done
50687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50688 $as_echo_n "checking for ldexpl declaration... " >&6; }
50689 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50690 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50691 $as_echo_n "(cached) " >&6
50692 else
50695 ac_ext=cpp
50696 ac_cpp='$CXXCPP $CPPFLAGS'
50697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50702 /* end confdefs.h. */
50703 #include <math.h>
50705 main ()
50707 ldexpl(0, 0);
50709 return 0;
50711 _ACEOF
50712 if ac_fn_cxx_try_compile "$LINENO"; then :
50713 glibcxx_cv_func_ldexpl_use=yes
50714 else
50715 glibcxx_cv_func_ldexpl_use=no
50717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50718 ac_ext=c
50719 ac_cpp='$CPP $CPPFLAGS'
50720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50729 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50731 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50732 for ac_func in ldexpl
50733 do :
50734 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50735 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50736 cat >>confdefs.h <<_ACEOF
50737 #define HAVE_LDEXPL 1
50738 _ACEOF
50741 done
50743 else
50745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50746 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50747 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50748 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50749 $as_echo_n "(cached) " >&6
50750 else
50753 ac_ext=cpp
50754 ac_cpp='$CXXCPP $CPPFLAGS'
50755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50760 /* end confdefs.h. */
50761 #include <math.h>
50763 main ()
50765 _ldexpl(0, 0);
50767 return 0;
50769 _ACEOF
50770 if ac_fn_cxx_try_compile "$LINENO"; then :
50771 glibcxx_cv_func__ldexpl_use=yes
50772 else
50773 glibcxx_cv_func__ldexpl_use=no
50775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50776 ac_ext=c
50777 ac_cpp='$CPP $CPPFLAGS'
50778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50787 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50789 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50790 for ac_func in _ldexpl
50791 do :
50792 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50793 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50794 cat >>confdefs.h <<_ACEOF
50795 #define HAVE__LDEXPL 1
50796 _ACEOF
50799 done
50808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50809 $as_echo_n "checking for logl declaration... " >&6; }
50810 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50811 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50812 $as_echo_n "(cached) " >&6
50813 else
50816 ac_ext=cpp
50817 ac_cpp='$CXXCPP $CPPFLAGS'
50818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50823 /* end confdefs.h. */
50824 #include <math.h>
50825 #ifdef HAVE_IEEEFP_H
50826 #include <ieeefp.h>
50827 #endif
50830 main ()
50832 logl(0);
50834 return 0;
50836 _ACEOF
50837 if ac_fn_cxx_try_compile "$LINENO"; then :
50838 glibcxx_cv_func_logl_use=yes
50839 else
50840 glibcxx_cv_func_logl_use=no
50842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50843 ac_ext=c
50844 ac_cpp='$CPP $CPPFLAGS'
50845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50854 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50856 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50857 for ac_func in logl
50858 do :
50859 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50860 if test "x$ac_cv_func_logl" = x""yes; then :
50861 cat >>confdefs.h <<_ACEOF
50862 #define HAVE_LOGL 1
50863 _ACEOF
50866 done
50868 else
50870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50871 $as_echo_n "checking for _logl declaration... " >&6; }
50872 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50873 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50874 $as_echo_n "(cached) " >&6
50875 else
50878 ac_ext=cpp
50879 ac_cpp='$CXXCPP $CPPFLAGS'
50880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h. */
50886 #include <math.h>
50887 #ifdef HAVE_IEEEFP_H
50888 #include <ieeefp.h>
50889 #endif
50892 main ()
50894 _logl(0);
50896 return 0;
50898 _ACEOF
50899 if ac_fn_cxx_try_compile "$LINENO"; then :
50900 glibcxx_cv_func__logl_use=yes
50901 else
50902 glibcxx_cv_func__logl_use=no
50904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50905 ac_ext=c
50906 ac_cpp='$CPP $CPPFLAGS'
50907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50916 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50918 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50919 for ac_func in _logl
50920 do :
50921 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50922 if test "x$ac_cv_func__logl" = x""yes; then :
50923 cat >>confdefs.h <<_ACEOF
50924 #define HAVE__LOGL 1
50925 _ACEOF
50928 done
50937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50938 $as_echo_n "checking for log10l declaration... " >&6; }
50939 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50940 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50941 $as_echo_n "(cached) " >&6
50942 else
50945 ac_ext=cpp
50946 ac_cpp='$CXXCPP $CPPFLAGS'
50947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50952 /* end confdefs.h. */
50953 #include <math.h>
50954 #ifdef HAVE_IEEEFP_H
50955 #include <ieeefp.h>
50956 #endif
50959 main ()
50961 log10l(0);
50963 return 0;
50965 _ACEOF
50966 if ac_fn_cxx_try_compile "$LINENO"; then :
50967 glibcxx_cv_func_log10l_use=yes
50968 else
50969 glibcxx_cv_func_log10l_use=no
50971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50972 ac_ext=c
50973 ac_cpp='$CPP $CPPFLAGS'
50974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50983 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50985 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50986 for ac_func in log10l
50987 do :
50988 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50989 if test "x$ac_cv_func_log10l" = x""yes; then :
50990 cat >>confdefs.h <<_ACEOF
50991 #define HAVE_LOG10L 1
50992 _ACEOF
50995 done
50997 else
50999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51000 $as_echo_n "checking for _log10l declaration... " >&6; }
51001 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51002 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51003 $as_echo_n "(cached) " >&6
51004 else
51007 ac_ext=cpp
51008 ac_cpp='$CXXCPP $CPPFLAGS'
51009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51014 /* end confdefs.h. */
51015 #include <math.h>
51016 #ifdef HAVE_IEEEFP_H
51017 #include <ieeefp.h>
51018 #endif
51021 main ()
51023 _log10l(0);
51025 return 0;
51027 _ACEOF
51028 if ac_fn_cxx_try_compile "$LINENO"; then :
51029 glibcxx_cv_func__log10l_use=yes
51030 else
51031 glibcxx_cv_func__log10l_use=no
51033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51034 ac_ext=c
51035 ac_cpp='$CPP $CPPFLAGS'
51036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51045 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51047 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51048 for ac_func in _log10l
51049 do :
51050 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51051 if test "x$ac_cv_func__log10l" = x""yes; then :
51052 cat >>confdefs.h <<_ACEOF
51053 #define HAVE__LOG10L 1
51054 _ACEOF
51057 done
51066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51067 $as_echo_n "checking for modfl declaration... " >&6; }
51068 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51069 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51070 $as_echo_n "(cached) " >&6
51071 else
51074 ac_ext=cpp
51075 ac_cpp='$CXXCPP $CPPFLAGS'
51076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51081 /* end confdefs.h. */
51082 #include <math.h>
51084 main ()
51086 modfl(0, 0);
51088 return 0;
51090 _ACEOF
51091 if ac_fn_cxx_try_compile "$LINENO"; then :
51092 glibcxx_cv_func_modfl_use=yes
51093 else
51094 glibcxx_cv_func_modfl_use=no
51096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51097 ac_ext=c
51098 ac_cpp='$CPP $CPPFLAGS'
51099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51108 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51110 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51111 for ac_func in modfl
51112 do :
51113 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51114 if test "x$ac_cv_func_modfl" = x""yes; then :
51115 cat >>confdefs.h <<_ACEOF
51116 #define HAVE_MODFL 1
51117 _ACEOF
51120 done
51122 else
51124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51125 $as_echo_n "checking for _modfl declaration... " >&6; }
51126 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51127 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51128 $as_echo_n "(cached) " >&6
51129 else
51132 ac_ext=cpp
51133 ac_cpp='$CXXCPP $CPPFLAGS'
51134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51139 /* end confdefs.h. */
51140 #include <math.h>
51142 main ()
51144 _modfl(0, 0);
51146 return 0;
51148 _ACEOF
51149 if ac_fn_cxx_try_compile "$LINENO"; then :
51150 glibcxx_cv_func__modfl_use=yes
51151 else
51152 glibcxx_cv_func__modfl_use=no
51154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51155 ac_ext=c
51156 ac_cpp='$CPP $CPPFLAGS'
51157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51166 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51168 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51169 for ac_func in _modfl
51170 do :
51171 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51172 if test "x$ac_cv_func__modfl" = x""yes; then :
51173 cat >>confdefs.h <<_ACEOF
51174 #define HAVE__MODFL 1
51175 _ACEOF
51178 done
51187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51188 $as_echo_n "checking for powl declaration... " >&6; }
51189 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51190 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51191 $as_echo_n "(cached) " >&6
51192 else
51195 ac_ext=cpp
51196 ac_cpp='$CXXCPP $CPPFLAGS'
51197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51202 /* end confdefs.h. */
51203 #include <math.h>
51205 main ()
51207 powl(0, 0);
51209 return 0;
51211 _ACEOF
51212 if ac_fn_cxx_try_compile "$LINENO"; then :
51213 glibcxx_cv_func_powl_use=yes
51214 else
51215 glibcxx_cv_func_powl_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_powl_use" >&5
51229 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51231 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51232 for ac_func in powl
51233 do :
51234 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51235 if test "x$ac_cv_func_powl" = x""yes; then :
51236 cat >>confdefs.h <<_ACEOF
51237 #define HAVE_POWL 1
51238 _ACEOF
51241 done
51243 else
51245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51246 $as_echo_n "checking for _powl declaration... " >&6; }
51247 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51248 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51249 $as_echo_n "(cached) " >&6
51250 else
51253 ac_ext=cpp
51254 ac_cpp='$CXXCPP $CPPFLAGS'
51255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51260 /* end confdefs.h. */
51261 #include <math.h>
51263 main ()
51265 _powl(0, 0);
51267 return 0;
51269 _ACEOF
51270 if ac_fn_cxx_try_compile "$LINENO"; then :
51271 glibcxx_cv_func__powl_use=yes
51272 else
51273 glibcxx_cv_func__powl_use=no
51275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51276 ac_ext=c
51277 ac_cpp='$CPP $CPPFLAGS'
51278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51287 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51289 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51290 for ac_func in _powl
51291 do :
51292 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51293 if test "x$ac_cv_func__powl" = x""yes; then :
51294 cat >>confdefs.h <<_ACEOF
51295 #define HAVE__POWL 1
51296 _ACEOF
51299 done
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51309 $as_echo_n "checking for sqrtl declaration... " >&6; }
51310 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51311 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51312 $as_echo_n "(cached) " >&6
51313 else
51316 ac_ext=cpp
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51323 /* end confdefs.h. */
51324 #include <math.h>
51325 #ifdef HAVE_IEEEFP_H
51326 #include <ieeefp.h>
51327 #endif
51330 main ()
51332 sqrtl(0);
51334 return 0;
51336 _ACEOF
51337 if ac_fn_cxx_try_compile "$LINENO"; then :
51338 glibcxx_cv_func_sqrtl_use=yes
51339 else
51340 glibcxx_cv_func_sqrtl_use=no
51342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51343 ac_ext=c
51344 ac_cpp='$CPP $CPPFLAGS'
51345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51354 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51356 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51357 for ac_func in sqrtl
51358 do :
51359 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51360 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51361 cat >>confdefs.h <<_ACEOF
51362 #define HAVE_SQRTL 1
51363 _ACEOF
51366 done
51368 else
51370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51371 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51372 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51373 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51374 $as_echo_n "(cached) " >&6
51375 else
51378 ac_ext=cpp
51379 ac_cpp='$CXXCPP $CPPFLAGS'
51380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h. */
51386 #include <math.h>
51387 #ifdef HAVE_IEEEFP_H
51388 #include <ieeefp.h>
51389 #endif
51392 main ()
51394 _sqrtl(0);
51396 return 0;
51398 _ACEOF
51399 if ac_fn_cxx_try_compile "$LINENO"; then :
51400 glibcxx_cv_func__sqrtl_use=yes
51401 else
51402 glibcxx_cv_func__sqrtl_use=no
51404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51405 ac_ext=c
51406 ac_cpp='$CPP $CPPFLAGS'
51407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51416 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51418 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51419 for ac_func in _sqrtl
51420 do :
51421 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51422 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51423 cat >>confdefs.h <<_ACEOF
51424 #define HAVE__SQRTL 1
51425 _ACEOF
51428 done
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51438 $as_echo_n "checking for sincosl declaration... " >&6; }
51439 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51440 if test "${glibcxx_cv_func_sincosl_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 sincosl(0, 0, 0);
51459 return 0;
51461 _ACEOF
51462 if ac_fn_cxx_try_compile "$LINENO"; then :
51463 glibcxx_cv_func_sincosl_use=yes
51464 else
51465 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
51479 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51481 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51482 for ac_func in sincosl
51483 do :
51484 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51485 if test "x$ac_cv_func_sincosl" = x""yes; then :
51486 cat >>confdefs.h <<_ACEOF
51487 #define HAVE_SINCOSL 1
51488 _ACEOF
51491 done
51493 else
51495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51496 $as_echo_n "checking for _sincosl declaration... " >&6; }
51497 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51498 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51499 $as_echo_n "(cached) " >&6
51500 else
51503 ac_ext=cpp
51504 ac_cpp='$CXXCPP $CPPFLAGS'
51505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51510 /* end confdefs.h. */
51511 #include <math.h>
51513 main ()
51515 _sincosl(0, 0, 0);
51517 return 0;
51519 _ACEOF
51520 if ac_fn_cxx_try_compile "$LINENO"; then :
51521 glibcxx_cv_func__sincosl_use=yes
51522 else
51523 glibcxx_cv_func__sincosl_use=no
51525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51526 ac_ext=c
51527 ac_cpp='$CPP $CPPFLAGS'
51528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51537 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51539 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51540 for ac_func in _sincosl
51541 do :
51542 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51543 if test "x$ac_cv_func__sincosl" = x""yes; then :
51544 cat >>confdefs.h <<_ACEOF
51545 #define HAVE__SINCOSL 1
51546 _ACEOF
51549 done
51558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51559 $as_echo_n "checking for finitel declaration... " >&6; }
51560 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51561 if test "${glibcxx_cv_func_finitel_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>
51575 #ifdef HAVE_IEEEFP_H
51576 #include <ieeefp.h>
51577 #endif
51580 main ()
51582 finitel(0);
51584 return 0;
51586 _ACEOF
51587 if ac_fn_cxx_try_compile "$LINENO"; then :
51588 glibcxx_cv_func_finitel_use=yes
51589 else
51590 glibcxx_cv_func_finitel_use=no
51592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51593 ac_ext=c
51594 ac_cpp='$CPP $CPPFLAGS'
51595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51604 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51606 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51607 for ac_func in finitel
51608 do :
51609 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51610 if test "x$ac_cv_func_finitel" = x""yes; then :
51611 cat >>confdefs.h <<_ACEOF
51612 #define HAVE_FINITEL 1
51613 _ACEOF
51616 done
51618 else
51620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51621 $as_echo_n "checking for _finitel declaration... " >&6; }
51622 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51623 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51624 $as_echo_n "(cached) " >&6
51625 else
51628 ac_ext=cpp
51629 ac_cpp='$CXXCPP $CPPFLAGS'
51630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51635 /* end confdefs.h. */
51636 #include <math.h>
51637 #ifdef HAVE_IEEEFP_H
51638 #include <ieeefp.h>
51639 #endif
51642 main ()
51644 _finitel(0);
51646 return 0;
51648 _ACEOF
51649 if ac_fn_cxx_try_compile "$LINENO"; then :
51650 glibcxx_cv_func__finitel_use=yes
51651 else
51652 glibcxx_cv_func__finitel_use=no
51654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51655 ac_ext=c
51656 ac_cpp='$CPP $CPPFLAGS'
51657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51666 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51668 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51669 for ac_func in _finitel
51670 do :
51671 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51672 if test "x$ac_cv_func__finitel" = x""yes; then :
51673 cat >>confdefs.h <<_ACEOF
51674 #define HAVE__FINITEL 1
51675 _ACEOF
51678 done
51686 LIBS="$ac_save_LIBS"
51687 CXXFLAGS="$ac_save_CXXFLAGS"
51690 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51691 ac_save_CXXFLAGS="$CXXFLAGS"
51692 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51696 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51697 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51698 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51699 $as_echo_n "(cached) " >&6
51700 else
51703 ac_ext=cpp
51704 ac_cpp='$CXXCPP $CPPFLAGS'
51705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51710 /* end confdefs.h. */
51711 #include <stdlib.h>
51713 main ()
51715 at_quick_exit(0);
51717 return 0;
51719 _ACEOF
51720 if ac_fn_cxx_try_compile "$LINENO"; then :
51721 glibcxx_cv_func_at_quick_exit_use=yes
51722 else
51723 glibcxx_cv_func_at_quick_exit_use=no
51725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51726 ac_ext=c
51727 ac_cpp='$CPP $CPPFLAGS'
51728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51737 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51738 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51739 for ac_func in at_quick_exit
51740 do :
51741 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51742 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51743 cat >>confdefs.h <<_ACEOF
51744 #define HAVE_AT_QUICK_EXIT 1
51745 _ACEOF
51748 done
51753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51754 $as_echo_n "checking for quick_exit declaration... " >&6; }
51755 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51756 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51757 $as_echo_n "(cached) " >&6
51758 else
51761 ac_ext=cpp
51762 ac_cpp='$CXXCPP $CPPFLAGS'
51763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51768 /* end confdefs.h. */
51769 #include <stdlib.h>
51771 main ()
51773 quick_exit(0);
51775 return 0;
51777 _ACEOF
51778 if ac_fn_cxx_try_compile "$LINENO"; then :
51779 glibcxx_cv_func_quick_exit_use=yes
51780 else
51781 glibcxx_cv_func_quick_exit_use=no
51783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51784 ac_ext=c
51785 ac_cpp='$CPP $CPPFLAGS'
51786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51795 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51796 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51797 for ac_func in quick_exit
51798 do :
51799 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51800 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51801 cat >>confdefs.h <<_ACEOF
51802 #define HAVE_QUICK_EXIT 1
51803 _ACEOF
51806 done
51811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51812 $as_echo_n "checking for strtold declaration... " >&6; }
51813 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51814 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51815 $as_echo_n "(cached) " >&6
51816 else
51819 ac_ext=cpp
51820 ac_cpp='$CXXCPP $CPPFLAGS'
51821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51826 /* end confdefs.h. */
51827 #include <stdlib.h>
51829 main ()
51831 strtold(0, 0);
51833 return 0;
51835 _ACEOF
51836 if ac_fn_cxx_try_compile "$LINENO"; then :
51837 glibcxx_cv_func_strtold_use=yes
51838 else
51839 glibcxx_cv_func_strtold_use=no
51841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51842 ac_ext=c
51843 ac_cpp='$CPP $CPPFLAGS'
51844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51853 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51854 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51855 for ac_func in strtold
51856 do :
51857 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51858 if test "x$ac_cv_func_strtold" = x""yes; then :
51859 cat >>confdefs.h <<_ACEOF
51860 #define HAVE_STRTOLD 1
51861 _ACEOF
51864 done
51871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51872 $as_echo_n "checking for strtof declaration... " >&6; }
51873 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51874 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51875 $as_echo_n "(cached) " >&6
51876 else
51879 ac_ext=cpp
51880 ac_cpp='$CXXCPP $CPPFLAGS'
51881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51886 /* end confdefs.h. */
51887 #include <stdlib.h>
51889 main ()
51891 strtof(0, 0);
51893 return 0;
51895 _ACEOF
51896 if ac_fn_cxx_try_compile "$LINENO"; then :
51897 glibcxx_cv_func_strtof_use=yes
51898 else
51899 glibcxx_cv_func_strtof_use=no
51901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51902 ac_ext=c
51903 ac_cpp='$CPP $CPPFLAGS'
51904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51913 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51914 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51915 for ac_func in strtof
51916 do :
51917 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51918 if test "x$ac_cv_func_strtof" = x""yes; then :
51919 cat >>confdefs.h <<_ACEOF
51920 #define HAVE_STRTOF 1
51921 _ACEOF
51924 done
51931 CXXFLAGS="$ac_save_CXXFLAGS"
51935 *djgpp)
51936 # GLIBCXX_CHECK_MATH_SUPPORT
51937 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51939 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51941 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51943 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51945 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51949 *-freebsd*)
51950 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51953 # If we're not using GNU ld, then there's no point in even trying these
51954 # tests. Check for that first. We should have already tested for gld
51955 # by now (in libtool), but require it now just to be safe...
51956 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51957 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51961 # The name set by libtool depends on the version of libtool. Shame on us
51962 # for depending on an impl detail, but c'est la vie. Older versions used
51963 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51964 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51965 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51966 # set (hence we're using an older libtool), then set it.
51967 if test x${with_gnu_ld+set} != xset; then
51968 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51969 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51970 with_gnu_ld=no
51971 else
51972 with_gnu_ld=$ac_cv_prog_gnu_ld
51976 # Start by getting the version number. I think the libtool test already
51977 # does some of this, but throws away the result.
51978 glibcxx_ld_is_gold=no
51979 if test x"$with_gnu_ld" = x"yes"; then
51980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51981 $as_echo_n "checking for ld version... " >&6; }
51983 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51984 glibcxx_ld_is_gold=yes
51986 ldver=`$LD --version 2>/dev/null |
51987 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'`
51989 glibcxx_gnu_ld_version=`echo $ldver | \
51990 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51992 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51995 # Set --gc-sections.
51996 glibcxx_have_gc_sections=no
51997 if test "$glibcxx_ld_is_gold" = "yes"; then
51998 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51999 glibcxx_have_gc_sections=yes
52001 else
52002 glibcxx_gcsections_min_ld=21602
52003 if test x"$with_gnu_ld" = x"yes" &&
52004 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52005 glibcxx_have_gc_sections=yes
52008 if test "$glibcxx_have_gc_sections" = "yes"; then
52009 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52010 # NB: This flag only works reliably after 2.16.1. Configure tests
52011 # for this are difficult, so hard wire a value that should work.
52013 ac_test_CFLAGS="${CFLAGS+set}"
52014 ac_save_CFLAGS="$CFLAGS"
52015 CFLAGS='-Wl,--gc-sections'
52017 # Check for -Wl,--gc-sections
52018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52019 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52020 if test x$gcc_no_link = xyes; then
52021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52024 /* end confdefs.h. */
52025 int one(void) { return 1; }
52026 int two(void) { return 2; }
52029 main ()
52031 two();
52033 return 0;
52035 _ACEOF
52036 if ac_fn_c_try_link "$LINENO"; then :
52037 ac_gcsections=yes
52038 else
52039 ac_gcsections=no
52041 rm -f core conftest.err conftest.$ac_objext \
52042 conftest$ac_exeext conftest.$ac_ext
52043 if test "$ac_gcsections" = "yes"; then
52044 rm -f conftest.c
52045 touch conftest.c
52046 if $CC -c conftest.c; then
52047 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52048 grep "Warning: gc-sections option ignored" > /dev/null; then
52049 ac_gcsections=no
52052 rm -f conftest.c conftest.o conftest
52054 if test "$ac_gcsections" = "yes"; then
52055 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52058 $as_echo "$ac_gcsections" >&6; }
52060 if test "$ac_test_CFLAGS" = set; then
52061 CFLAGS="$ac_save_CFLAGS"
52062 else
52063 # this is the suspicious part
52064 CFLAGS=''
52068 # Set -z,relro.
52069 # Note this is only for shared objects.
52070 ac_ld_relro=no
52071 if test x"$with_gnu_ld" = x"yes"; then
52072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52073 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52074 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52075 if test -n "$cxx_z_relo"; then
52076 OPT_LDFLAGS="-Wl,-z,relro"
52077 ac_ld_relro=yes
52079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52080 $as_echo "$ac_ld_relro" >&6; }
52083 # Set linker optimization flags.
52084 if test x"$with_gnu_ld" = x"yes"; then
52085 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52091 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52093 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52095 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52097 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52099 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52101 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52103 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52105 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52107 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52110 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52112 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52114 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52116 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52118 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52120 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52122 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52124 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52126 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52128 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52130 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52132 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52134 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52136 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52138 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52140 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52142 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52144 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52146 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52148 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52150 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52152 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52154 if test x"long_double_math_on_this_cpu" = x"yes"; then
52155 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52157 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52159 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52163 *-hpux*)
52164 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52167 # If we're not using GNU ld, then there's no point in even trying these
52168 # tests. Check for that first. We should have already tested for gld
52169 # by now (in libtool), but require it now just to be safe...
52170 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52171 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52175 # The name set by libtool depends on the version of libtool. Shame on us
52176 # for depending on an impl detail, but c'est la vie. Older versions used
52177 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52178 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52179 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52180 # set (hence we're using an older libtool), then set it.
52181 if test x${with_gnu_ld+set} != xset; then
52182 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52183 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52184 with_gnu_ld=no
52185 else
52186 with_gnu_ld=$ac_cv_prog_gnu_ld
52190 # Start by getting the version number. I think the libtool test already
52191 # does some of this, but throws away the result.
52192 glibcxx_ld_is_gold=no
52193 if test x"$with_gnu_ld" = x"yes"; then
52194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52195 $as_echo_n "checking for ld version... " >&6; }
52197 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52198 glibcxx_ld_is_gold=yes
52200 ldver=`$LD --version 2>/dev/null |
52201 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'`
52203 glibcxx_gnu_ld_version=`echo $ldver | \
52204 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52206 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52209 # Set --gc-sections.
52210 glibcxx_have_gc_sections=no
52211 if test "$glibcxx_ld_is_gold" = "yes"; then
52212 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52213 glibcxx_have_gc_sections=yes
52215 else
52216 glibcxx_gcsections_min_ld=21602
52217 if test x"$with_gnu_ld" = x"yes" &&
52218 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52219 glibcxx_have_gc_sections=yes
52222 if test "$glibcxx_have_gc_sections" = "yes"; then
52223 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52224 # NB: This flag only works reliably after 2.16.1. Configure tests
52225 # for this are difficult, so hard wire a value that should work.
52227 ac_test_CFLAGS="${CFLAGS+set}"
52228 ac_save_CFLAGS="$CFLAGS"
52229 CFLAGS='-Wl,--gc-sections'
52231 # Check for -Wl,--gc-sections
52232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52233 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52234 if test x$gcc_no_link = xyes; then
52235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52238 /* end confdefs.h. */
52239 int one(void) { return 1; }
52240 int two(void) { return 2; }
52243 main ()
52245 two();
52247 return 0;
52249 _ACEOF
52250 if ac_fn_c_try_link "$LINENO"; then :
52251 ac_gcsections=yes
52252 else
52253 ac_gcsections=no
52255 rm -f core conftest.err conftest.$ac_objext \
52256 conftest$ac_exeext conftest.$ac_ext
52257 if test "$ac_gcsections" = "yes"; then
52258 rm -f conftest.c
52259 touch conftest.c
52260 if $CC -c conftest.c; then
52261 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52262 grep "Warning: gc-sections option ignored" > /dev/null; then
52263 ac_gcsections=no
52266 rm -f conftest.c conftest.o conftest
52268 if test "$ac_gcsections" = "yes"; then
52269 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52272 $as_echo "$ac_gcsections" >&6; }
52274 if test "$ac_test_CFLAGS" = set; then
52275 CFLAGS="$ac_save_CFLAGS"
52276 else
52277 # this is the suspicious part
52278 CFLAGS=''
52282 # Set -z,relro.
52283 # Note this is only for shared objects.
52284 ac_ld_relro=no
52285 if test x"$with_gnu_ld" = x"yes"; then
52286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52287 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52288 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52289 if test -n "$cxx_z_relo"; then
52290 OPT_LDFLAGS="-Wl,-z,relro"
52291 ac_ld_relro=yes
52293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52294 $as_echo "$ac_ld_relro" >&6; }
52297 # Set linker optimization flags.
52298 if test x"$with_gnu_ld" = x"yes"; then
52299 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52306 # GLIBCXX_CHECK_MATH_SUPPORT
52307 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52309 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52311 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52313 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52315 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52317 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52319 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52321 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52323 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52325 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52327 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52329 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52331 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52333 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52335 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52337 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52339 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52341 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52343 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52345 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52347 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52350 # GLIBCXX_CHECK_STDLIB_SUPPORT
52351 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52356 # Check whether --enable-tls was given.
52357 if test "${enable_tls+set}" = set; then :
52358 enableval=$enable_tls;
52359 case "$enableval" in
52360 yes|no) ;;
52361 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52362 esac
52364 else
52365 enable_tls=yes
52369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52370 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52371 if test "${gcc_cv_have_tls+set}" = set; then :
52372 $as_echo_n "(cached) " >&6
52373 else
52375 if test "$cross_compiling" = yes; then :
52376 if test x$gcc_no_link = xyes; then
52377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52380 /* end confdefs.h. */
52381 __thread int a; int b; int main() { return a = b; }
52382 _ACEOF
52383 if ac_fn_c_try_link "$LINENO"; then :
52384 chktls_save_LDFLAGS="$LDFLAGS"
52385 case $host in
52386 *-*-linux*)
52387 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52389 esac
52390 chktls_save_CFLAGS="$CFLAGS"
52391 CFLAGS="-fPIC $CFLAGS"
52392 if test x$gcc_no_link = xyes; then
52393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52396 /* end confdefs.h. */
52397 int f() { return 0; }
52398 _ACEOF
52399 if ac_fn_c_try_link "$LINENO"; then :
52400 if test x$gcc_no_link = xyes; then
52401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52404 /* end confdefs.h. */
52405 __thread int a; int b; int f() { return a = b; }
52406 _ACEOF
52407 if ac_fn_c_try_link "$LINENO"; then :
52408 gcc_cv_have_tls=yes
52409 else
52410 gcc_cv_have_tls=no
52412 rm -f core conftest.err conftest.$ac_objext \
52413 conftest$ac_exeext conftest.$ac_ext
52414 else
52415 gcc_cv_have_tls=yes
52417 rm -f core conftest.err conftest.$ac_objext \
52418 conftest$ac_exeext conftest.$ac_ext
52419 CFLAGS="$chktls_save_CFLAGS"
52420 LDFLAGS="$chktls_save_LDFLAGS"
52421 else
52422 gcc_cv_have_tls=no
52424 rm -f core conftest.err conftest.$ac_objext \
52425 conftest$ac_exeext conftest.$ac_ext
52428 else
52429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h. */
52431 __thread int a; int b; int main() { return a = b; }
52432 _ACEOF
52433 if ac_fn_c_try_run "$LINENO"; then :
52434 chktls_save_LDFLAGS="$LDFLAGS"
52435 LDFLAGS="-static $LDFLAGS"
52436 if test x$gcc_no_link = xyes; then
52437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h. */
52441 int main() { return 0; }
52442 _ACEOF
52443 if ac_fn_c_try_link "$LINENO"; then :
52444 if test "$cross_compiling" = yes; then :
52445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52447 as_fn_error "cannot run test program while cross compiling
52448 See \`config.log' for more details." "$LINENO" 5; }
52449 else
52450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52451 /* end confdefs.h. */
52452 __thread int a; int b; int main() { return a = b; }
52453 _ACEOF
52454 if ac_fn_c_try_run "$LINENO"; then :
52455 gcc_cv_have_tls=yes
52456 else
52457 gcc_cv_have_tls=no
52459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52460 conftest.$ac_objext conftest.beam conftest.$ac_ext
52463 else
52464 gcc_cv_have_tls=yes
52466 rm -f core conftest.err conftest.$ac_objext \
52467 conftest$ac_exeext conftest.$ac_ext
52468 LDFLAGS="$chktls_save_LDFLAGS"
52469 if test $gcc_cv_have_tls = yes; then
52470 chktls_save_CFLAGS="$CFLAGS"
52471 thread_CFLAGS=failed
52472 for flag in '' '-pthread' '-lpthread'; do
52473 CFLAGS="$flag $chktls_save_CFLAGS"
52474 if test x$gcc_no_link = xyes; then
52475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52478 /* end confdefs.h. */
52479 #include <pthread.h>
52480 void *g(void *d) { return NULL; }
52482 main ()
52484 pthread_t t; pthread_create(&t,NULL,g,NULL);
52486 return 0;
52488 _ACEOF
52489 if ac_fn_c_try_link "$LINENO"; then :
52490 thread_CFLAGS="$flag"
52492 rm -f core conftest.err conftest.$ac_objext \
52493 conftest$ac_exeext conftest.$ac_ext
52494 if test "X$thread_CFLAGS" != Xfailed; then
52495 break
52497 done
52498 CFLAGS="$chktls_save_CFLAGS"
52499 if test "X$thread_CFLAGS" != Xfailed; then
52500 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52501 if test "$cross_compiling" = yes; then :
52502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52504 as_fn_error "cannot run test program while cross compiling
52505 See \`config.log' for more details." "$LINENO" 5; }
52506 else
52507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52508 /* end confdefs.h. */
52509 #include <pthread.h>
52510 __thread int a;
52511 static int *volatile a_in_other_thread;
52512 static void *
52513 thread_func (void *arg)
52515 a_in_other_thread = &a;
52516 return (void *)0;
52519 main ()
52521 pthread_t thread;
52522 void *thread_retval;
52523 int *volatile a_in_main_thread;
52524 a_in_main_thread = &a;
52525 if (pthread_create (&thread, (pthread_attr_t *)0,
52526 thread_func, (void *)0))
52527 return 0;
52528 if (pthread_join (thread, &thread_retval))
52529 return 0;
52530 return (a_in_other_thread == a_in_main_thread);
52532 return 0;
52534 _ACEOF
52535 if ac_fn_c_try_run "$LINENO"; then :
52536 gcc_cv_have_tls=yes
52537 else
52538 gcc_cv_have_tls=no
52540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52541 conftest.$ac_objext conftest.beam conftest.$ac_ext
52544 CFLAGS="$chktls_save_CFLAGS"
52547 else
52548 gcc_cv_have_tls=no
52550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52551 conftest.$ac_objext conftest.beam conftest.$ac_ext
52555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52556 $as_echo "$gcc_cv_have_tls" >&6; }
52557 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52559 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52562 case "$target" in
52563 *-hpux10*)
52564 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52566 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52568 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52570 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52572 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52575 esac
52577 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52579 # All these tests are for C++; save the language and the compiler flags.
52580 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52581 # found in GLIBCXX_CONFIGURE.
52583 ac_ext=cpp
52584 ac_cpp='$CXXCPP $CPPFLAGS'
52585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52589 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52590 ac_save_CXXFLAGS="$CXXFLAGS"
52592 # Check for maintainer-mode bits.
52593 if test x"$USE_MAINTAINER_MODE" = xno; then
52594 WERROR=''
52595 else
52596 WERROR='-Werror'
52599 # Check for -ffunction-sections -fdata-sections
52600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52601 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52602 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52604 /* end confdefs.h. */
52605 int foo; void bar() { };
52607 main ()
52611 return 0;
52613 _ACEOF
52614 if ac_fn_cxx_try_compile "$LINENO"; then :
52615 ac_fdsections=yes
52616 else
52617 ac_fdsections=no
52619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52620 if test "$ac_test_CXXFLAGS" = set; then
52621 CXXFLAGS="$ac_save_CXXFLAGS"
52622 else
52623 # this is the suspicious part
52624 CXXFLAGS=''
52626 if test x"$ac_fdsections" = x"yes"; then
52627 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52630 $as_echo "$ac_fdsections" >&6; }
52632 ac_ext=c
52633 ac_cpp='$CPP $CPPFLAGS'
52634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52642 # If we're not using GNU ld, then there's no point in even trying these
52643 # tests. Check for that first. We should have already tested for gld
52644 # by now (in libtool), but require it now just to be safe...
52645 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52646 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52650 # The name set by libtool depends on the version of libtool. Shame on us
52651 # for depending on an impl detail, but c'est la vie. Older versions used
52652 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52653 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52654 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52655 # set (hence we're using an older libtool), then set it.
52656 if test x${with_gnu_ld+set} != xset; then
52657 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52658 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52659 with_gnu_ld=no
52660 else
52661 with_gnu_ld=$ac_cv_prog_gnu_ld
52665 # Start by getting the version number. I think the libtool test already
52666 # does some of this, but throws away the result.
52667 glibcxx_ld_is_gold=no
52668 if test x"$with_gnu_ld" = x"yes"; then
52669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52670 $as_echo_n "checking for ld version... " >&6; }
52672 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52673 glibcxx_ld_is_gold=yes
52675 ldver=`$LD --version 2>/dev/null |
52676 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'`
52678 glibcxx_gnu_ld_version=`echo $ldver | \
52679 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52681 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52684 # Set --gc-sections.
52685 glibcxx_have_gc_sections=no
52686 if test "$glibcxx_ld_is_gold" = "yes"; then
52687 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52688 glibcxx_have_gc_sections=yes
52690 else
52691 glibcxx_gcsections_min_ld=21602
52692 if test x"$with_gnu_ld" = x"yes" &&
52693 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52694 glibcxx_have_gc_sections=yes
52697 if test "$glibcxx_have_gc_sections" = "yes"; then
52698 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52699 # NB: This flag only works reliably after 2.16.1. Configure tests
52700 # for this are difficult, so hard wire a value that should work.
52702 ac_test_CFLAGS="${CFLAGS+set}"
52703 ac_save_CFLAGS="$CFLAGS"
52704 CFLAGS='-Wl,--gc-sections'
52706 # Check for -Wl,--gc-sections
52707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52708 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52709 if test x$gcc_no_link = xyes; then
52710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52713 /* end confdefs.h. */
52714 int one(void) { return 1; }
52715 int two(void) { return 2; }
52718 main ()
52720 two();
52722 return 0;
52724 _ACEOF
52725 if ac_fn_c_try_link "$LINENO"; then :
52726 ac_gcsections=yes
52727 else
52728 ac_gcsections=no
52730 rm -f core conftest.err conftest.$ac_objext \
52731 conftest$ac_exeext conftest.$ac_ext
52732 if test "$ac_gcsections" = "yes"; then
52733 rm -f conftest.c
52734 touch conftest.c
52735 if $CC -c conftest.c; then
52736 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52737 grep "Warning: gc-sections option ignored" > /dev/null; then
52738 ac_gcsections=no
52741 rm -f conftest.c conftest.o conftest
52743 if test "$ac_gcsections" = "yes"; then
52744 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52747 $as_echo "$ac_gcsections" >&6; }
52749 if test "$ac_test_CFLAGS" = set; then
52750 CFLAGS="$ac_save_CFLAGS"
52751 else
52752 # this is the suspicious part
52753 CFLAGS=''
52757 # Set -z,relro.
52758 # Note this is only for shared objects.
52759 ac_ld_relro=no
52760 if test x"$with_gnu_ld" = x"yes"; then
52761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52762 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52763 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52764 if test -n "$cxx_z_relo"; then
52765 OPT_LDFLAGS="-Wl,-z,relro"
52766 ac_ld_relro=yes
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52769 $as_echo "$ac_ld_relro" >&6; }
52772 # Set linker optimization flags.
52773 if test x"$with_gnu_ld" = x"yes"; then
52774 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52781 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52782 ac_save_CXXFLAGS="$CXXFLAGS"
52783 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52786 $as_echo_n "checking for sin in -lm... " >&6; }
52787 if test "${ac_cv_lib_m_sin+set}" = set; then :
52788 $as_echo_n "(cached) " >&6
52789 else
52790 ac_check_lib_save_LIBS=$LIBS
52791 LIBS="-lm $LIBS"
52792 if test x$gcc_no_link = xyes; then
52793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52796 /* end confdefs.h. */
52798 /* Override any GCC internal prototype to avoid an error.
52799 Use char because int might match the return type of a GCC
52800 builtin and then its argument prototype would still apply. */
52801 #ifdef __cplusplus
52802 extern "C"
52803 #endif
52804 char sin ();
52806 main ()
52808 return sin ();
52810 return 0;
52812 _ACEOF
52813 if ac_fn_c_try_link "$LINENO"; then :
52814 ac_cv_lib_m_sin=yes
52815 else
52816 ac_cv_lib_m_sin=no
52818 rm -f core conftest.err conftest.$ac_objext \
52819 conftest$ac_exeext conftest.$ac_ext
52820 LIBS=$ac_check_lib_save_LIBS
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52823 $as_echo "$ac_cv_lib_m_sin" >&6; }
52824 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52825 libm="-lm"
52828 ac_save_LIBS="$LIBS"
52829 LIBS="$LIBS $libm"
52833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52834 $as_echo_n "checking for isinf declaration... " >&6; }
52835 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52836 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52837 $as_echo_n "(cached) " >&6
52838 else
52841 ac_ext=cpp
52842 ac_cpp='$CXXCPP $CPPFLAGS'
52843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52848 /* end confdefs.h. */
52849 #include <math.h>
52850 #ifdef HAVE_IEEEFP_H
52851 #include <ieeefp.h>
52852 #endif
52855 main ()
52857 isinf(0);
52859 return 0;
52861 _ACEOF
52862 if ac_fn_cxx_try_compile "$LINENO"; then :
52863 glibcxx_cv_func_isinf_use=yes
52864 else
52865 glibcxx_cv_func_isinf_use=no
52867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52868 ac_ext=c
52869 ac_cpp='$CPP $CPPFLAGS'
52870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52879 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52881 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52882 for ac_func in isinf
52883 do :
52884 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52885 if test "x$ac_cv_func_isinf" = x""yes; then :
52886 cat >>confdefs.h <<_ACEOF
52887 #define HAVE_ISINF 1
52888 _ACEOF
52891 done
52893 else
52895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52896 $as_echo_n "checking for _isinf declaration... " >&6; }
52897 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52898 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52899 $as_echo_n "(cached) " >&6
52900 else
52903 ac_ext=cpp
52904 ac_cpp='$CXXCPP $CPPFLAGS'
52905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52910 /* end confdefs.h. */
52911 #include <math.h>
52912 #ifdef HAVE_IEEEFP_H
52913 #include <ieeefp.h>
52914 #endif
52917 main ()
52919 _isinf(0);
52921 return 0;
52923 _ACEOF
52924 if ac_fn_cxx_try_compile "$LINENO"; then :
52925 glibcxx_cv_func__isinf_use=yes
52926 else
52927 glibcxx_cv_func__isinf_use=no
52929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52930 ac_ext=c
52931 ac_cpp='$CPP $CPPFLAGS'
52932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52941 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52943 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52944 for ac_func in _isinf
52945 do :
52946 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52947 if test "x$ac_cv_func__isinf" = x""yes; then :
52948 cat >>confdefs.h <<_ACEOF
52949 #define HAVE__ISINF 1
52950 _ACEOF
52953 done
52962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52963 $as_echo_n "checking for isnan declaration... " >&6; }
52964 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52965 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52966 $as_echo_n "(cached) " >&6
52967 else
52970 ac_ext=cpp
52971 ac_cpp='$CXXCPP $CPPFLAGS'
52972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52977 /* end confdefs.h. */
52978 #include <math.h>
52979 #ifdef HAVE_IEEEFP_H
52980 #include <ieeefp.h>
52981 #endif
52984 main ()
52986 isnan(0);
52988 return 0;
52990 _ACEOF
52991 if ac_fn_cxx_try_compile "$LINENO"; then :
52992 glibcxx_cv_func_isnan_use=yes
52993 else
52994 glibcxx_cv_func_isnan_use=no
52996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52997 ac_ext=c
52998 ac_cpp='$CPP $CPPFLAGS'
52999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53008 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53010 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53011 for ac_func in isnan
53012 do :
53013 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53014 if test "x$ac_cv_func_isnan" = x""yes; then :
53015 cat >>confdefs.h <<_ACEOF
53016 #define HAVE_ISNAN 1
53017 _ACEOF
53020 done
53022 else
53024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53025 $as_echo_n "checking for _isnan declaration... " >&6; }
53026 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53027 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53028 $as_echo_n "(cached) " >&6
53029 else
53032 ac_ext=cpp
53033 ac_cpp='$CXXCPP $CPPFLAGS'
53034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53039 /* end confdefs.h. */
53040 #include <math.h>
53041 #ifdef HAVE_IEEEFP_H
53042 #include <ieeefp.h>
53043 #endif
53046 main ()
53048 _isnan(0);
53050 return 0;
53052 _ACEOF
53053 if ac_fn_cxx_try_compile "$LINENO"; then :
53054 glibcxx_cv_func__isnan_use=yes
53055 else
53056 glibcxx_cv_func__isnan_use=no
53058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53059 ac_ext=c
53060 ac_cpp='$CPP $CPPFLAGS'
53061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53070 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53072 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53073 for ac_func in _isnan
53074 do :
53075 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53076 if test "x$ac_cv_func__isnan" = x""yes; then :
53077 cat >>confdefs.h <<_ACEOF
53078 #define HAVE__ISNAN 1
53079 _ACEOF
53082 done
53091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53092 $as_echo_n "checking for finite declaration... " >&6; }
53093 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53094 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53095 $as_echo_n "(cached) " >&6
53096 else
53099 ac_ext=cpp
53100 ac_cpp='$CXXCPP $CPPFLAGS'
53101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53106 /* end confdefs.h. */
53107 #include <math.h>
53108 #ifdef HAVE_IEEEFP_H
53109 #include <ieeefp.h>
53110 #endif
53113 main ()
53115 finite(0);
53117 return 0;
53119 _ACEOF
53120 if ac_fn_cxx_try_compile "$LINENO"; then :
53121 glibcxx_cv_func_finite_use=yes
53122 else
53123 glibcxx_cv_func_finite_use=no
53125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53126 ac_ext=c
53127 ac_cpp='$CPP $CPPFLAGS'
53128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53137 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53139 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53140 for ac_func in finite
53141 do :
53142 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53143 if test "x$ac_cv_func_finite" = x""yes; then :
53144 cat >>confdefs.h <<_ACEOF
53145 #define HAVE_FINITE 1
53146 _ACEOF
53149 done
53151 else
53153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53154 $as_echo_n "checking for _finite declaration... " >&6; }
53155 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53156 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53157 $as_echo_n "(cached) " >&6
53158 else
53161 ac_ext=cpp
53162 ac_cpp='$CXXCPP $CPPFLAGS'
53163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53168 /* end confdefs.h. */
53169 #include <math.h>
53170 #ifdef HAVE_IEEEFP_H
53171 #include <ieeefp.h>
53172 #endif
53175 main ()
53177 _finite(0);
53179 return 0;
53181 _ACEOF
53182 if ac_fn_cxx_try_compile "$LINENO"; then :
53183 glibcxx_cv_func__finite_use=yes
53184 else
53185 glibcxx_cv_func__finite_use=no
53187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53188 ac_ext=c
53189 ac_cpp='$CPP $CPPFLAGS'
53190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53199 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53201 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53202 for ac_func in _finite
53203 do :
53204 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53205 if test "x$ac_cv_func__finite" = x""yes; then :
53206 cat >>confdefs.h <<_ACEOF
53207 #define HAVE__FINITE 1
53208 _ACEOF
53211 done
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53221 $as_echo_n "checking for sincos declaration... " >&6; }
53222 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53223 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53224 $as_echo_n "(cached) " >&6
53225 else
53228 ac_ext=cpp
53229 ac_cpp='$CXXCPP $CPPFLAGS'
53230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53235 /* end confdefs.h. */
53236 #include <math.h>
53238 main ()
53240 sincos(0, 0, 0);
53242 return 0;
53244 _ACEOF
53245 if ac_fn_cxx_try_compile "$LINENO"; then :
53246 glibcxx_cv_func_sincos_use=yes
53247 else
53248 glibcxx_cv_func_sincos_use=no
53250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53251 ac_ext=c
53252 ac_cpp='$CPP $CPPFLAGS'
53253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53262 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53264 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53265 for ac_func in sincos
53266 do :
53267 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53268 if test "x$ac_cv_func_sincos" = x""yes; then :
53269 cat >>confdefs.h <<_ACEOF
53270 #define HAVE_SINCOS 1
53271 _ACEOF
53274 done
53276 else
53278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53279 $as_echo_n "checking for _sincos declaration... " >&6; }
53280 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53281 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53282 $as_echo_n "(cached) " >&6
53283 else
53286 ac_ext=cpp
53287 ac_cpp='$CXXCPP $CPPFLAGS'
53288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53293 /* end confdefs.h. */
53294 #include <math.h>
53296 main ()
53298 _sincos(0, 0, 0);
53300 return 0;
53302 _ACEOF
53303 if ac_fn_cxx_try_compile "$LINENO"; then :
53304 glibcxx_cv_func__sincos_use=yes
53305 else
53306 glibcxx_cv_func__sincos_use=no
53308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53309 ac_ext=c
53310 ac_cpp='$CPP $CPPFLAGS'
53311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53320 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53322 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53323 for ac_func in _sincos
53324 do :
53325 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53326 if test "x$ac_cv_func__sincos" = x""yes; then :
53327 cat >>confdefs.h <<_ACEOF
53328 #define HAVE__SINCOS 1
53329 _ACEOF
53332 done
53341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53342 $as_echo_n "checking for fpclass declaration... " >&6; }
53343 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53344 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53345 $as_echo_n "(cached) " >&6
53346 else
53349 ac_ext=cpp
53350 ac_cpp='$CXXCPP $CPPFLAGS'
53351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53356 /* end confdefs.h. */
53357 #include <math.h>
53358 #ifdef HAVE_IEEEFP_H
53359 #include <ieeefp.h>
53360 #endif
53363 main ()
53365 fpclass(0);
53367 return 0;
53369 _ACEOF
53370 if ac_fn_cxx_try_compile "$LINENO"; then :
53371 glibcxx_cv_func_fpclass_use=yes
53372 else
53373 glibcxx_cv_func_fpclass_use=no
53375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53376 ac_ext=c
53377 ac_cpp='$CPP $CPPFLAGS'
53378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53387 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53389 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53390 for ac_func in fpclass
53391 do :
53392 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53393 if test "x$ac_cv_func_fpclass" = x""yes; then :
53394 cat >>confdefs.h <<_ACEOF
53395 #define HAVE_FPCLASS 1
53396 _ACEOF
53399 done
53401 else
53403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53404 $as_echo_n "checking for _fpclass declaration... " >&6; }
53405 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53406 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53407 $as_echo_n "(cached) " >&6
53408 else
53411 ac_ext=cpp
53412 ac_cpp='$CXXCPP $CPPFLAGS'
53413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53418 /* end confdefs.h. */
53419 #include <math.h>
53420 #ifdef HAVE_IEEEFP_H
53421 #include <ieeefp.h>
53422 #endif
53425 main ()
53427 _fpclass(0);
53429 return 0;
53431 _ACEOF
53432 if ac_fn_cxx_try_compile "$LINENO"; then :
53433 glibcxx_cv_func__fpclass_use=yes
53434 else
53435 glibcxx_cv_func__fpclass_use=no
53437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53438 ac_ext=c
53439 ac_cpp='$CPP $CPPFLAGS'
53440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53449 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53451 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53452 for ac_func in _fpclass
53453 do :
53454 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53455 if test "x$ac_cv_func__fpclass" = x""yes; then :
53456 cat >>confdefs.h <<_ACEOF
53457 #define HAVE__FPCLASS 1
53458 _ACEOF
53461 done
53470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53471 $as_echo_n "checking for qfpclass declaration... " >&6; }
53472 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53473 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53474 $as_echo_n "(cached) " >&6
53475 else
53478 ac_ext=cpp
53479 ac_cpp='$CXXCPP $CPPFLAGS'
53480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53485 /* end confdefs.h. */
53486 #include <math.h>
53487 #ifdef HAVE_IEEEFP_H
53488 #include <ieeefp.h>
53489 #endif
53492 main ()
53494 qfpclass(0);
53496 return 0;
53498 _ACEOF
53499 if ac_fn_cxx_try_compile "$LINENO"; then :
53500 glibcxx_cv_func_qfpclass_use=yes
53501 else
53502 glibcxx_cv_func_qfpclass_use=no
53504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53505 ac_ext=c
53506 ac_cpp='$CPP $CPPFLAGS'
53507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53516 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53518 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53519 for ac_func in qfpclass
53520 do :
53521 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53522 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53523 cat >>confdefs.h <<_ACEOF
53524 #define HAVE_QFPCLASS 1
53525 _ACEOF
53528 done
53530 else
53532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53533 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53534 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53535 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53536 $as_echo_n "(cached) " >&6
53537 else
53540 ac_ext=cpp
53541 ac_cpp='$CXXCPP $CPPFLAGS'
53542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53547 /* end confdefs.h. */
53548 #include <math.h>
53549 #ifdef HAVE_IEEEFP_H
53550 #include <ieeefp.h>
53551 #endif
53554 main ()
53556 _qfpclass(0);
53558 return 0;
53560 _ACEOF
53561 if ac_fn_cxx_try_compile "$LINENO"; then :
53562 glibcxx_cv_func__qfpclass_use=yes
53563 else
53564 glibcxx_cv_func__qfpclass_use=no
53566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53567 ac_ext=c
53568 ac_cpp='$CPP $CPPFLAGS'
53569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53578 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53580 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53581 for ac_func in _qfpclass
53582 do :
53583 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53584 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53585 cat >>confdefs.h <<_ACEOF
53586 #define HAVE__QFPCLASS 1
53587 _ACEOF
53590 done
53599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53600 $as_echo_n "checking for hypot declaration... " >&6; }
53601 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53602 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53603 $as_echo_n "(cached) " >&6
53604 else
53607 ac_ext=cpp
53608 ac_cpp='$CXXCPP $CPPFLAGS'
53609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53614 /* end confdefs.h. */
53615 #include <math.h>
53617 main ()
53619 hypot(0, 0);
53621 return 0;
53623 _ACEOF
53624 if ac_fn_cxx_try_compile "$LINENO"; then :
53625 glibcxx_cv_func_hypot_use=yes
53626 else
53627 glibcxx_cv_func_hypot_use=no
53629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53630 ac_ext=c
53631 ac_cpp='$CPP $CPPFLAGS'
53632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53641 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53643 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53644 for ac_func in hypot
53645 do :
53646 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53647 if test "x$ac_cv_func_hypot" = x""yes; then :
53648 cat >>confdefs.h <<_ACEOF
53649 #define HAVE_HYPOT 1
53650 _ACEOF
53653 done
53655 else
53657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53658 $as_echo_n "checking for _hypot declaration... " >&6; }
53659 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53660 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53661 $as_echo_n "(cached) " >&6
53662 else
53665 ac_ext=cpp
53666 ac_cpp='$CXXCPP $CPPFLAGS'
53667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53672 /* end confdefs.h. */
53673 #include <math.h>
53675 main ()
53677 _hypot(0, 0);
53679 return 0;
53681 _ACEOF
53682 if ac_fn_cxx_try_compile "$LINENO"; then :
53683 glibcxx_cv_func__hypot_use=yes
53684 else
53685 glibcxx_cv_func__hypot_use=no
53687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53688 ac_ext=c
53689 ac_cpp='$CPP $CPPFLAGS'
53690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53699 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53701 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53702 for ac_func in _hypot
53703 do :
53704 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53705 if test "x$ac_cv_func__hypot" = x""yes; then :
53706 cat >>confdefs.h <<_ACEOF
53707 #define HAVE__HYPOT 1
53708 _ACEOF
53711 done
53720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53721 $as_echo_n "checking for float trig functions... " >&6; }
53722 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53723 $as_echo_n "(cached) " >&6
53724 else
53727 ac_ext=cpp
53728 ac_cpp='$CXXCPP $CPPFLAGS'
53729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53734 /* end confdefs.h. */
53735 #include <math.h>
53737 main ()
53739 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53741 return 0;
53743 _ACEOF
53744 if ac_fn_cxx_try_compile "$LINENO"; then :
53745 glibcxx_cv_func_float_trig_use=yes
53746 else
53747 glibcxx_cv_func_float_trig_use=no
53749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53750 ac_ext=c
53751 ac_cpp='$CPP $CPPFLAGS'
53752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53759 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53760 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53761 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53762 do :
53763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53765 eval as_val=\$$as_ac_var
53766 if test "x$as_val" = x""yes; then :
53767 cat >>confdefs.h <<_ACEOF
53768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53769 _ACEOF
53772 done
53774 else
53775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53776 $as_echo_n "checking for _float trig functions... " >&6; }
53777 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53778 $as_echo_n "(cached) " >&6
53779 else
53782 ac_ext=cpp
53783 ac_cpp='$CXXCPP $CPPFLAGS'
53784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53789 /* end confdefs.h. */
53790 #include <math.h>
53792 main ()
53794 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53796 return 0;
53798 _ACEOF
53799 if ac_fn_cxx_try_compile "$LINENO"; then :
53800 glibcxx_cv_func__float_trig_use=yes
53801 else
53802 glibcxx_cv_func__float_trig_use=no
53804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53805 ac_ext=c
53806 ac_cpp='$CPP $CPPFLAGS'
53807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53814 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53815 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53816 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53817 do :
53818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53820 eval as_val=\$$as_ac_var
53821 if test "x$as_val" = x""yes; then :
53822 cat >>confdefs.h <<_ACEOF
53823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53824 _ACEOF
53827 done
53836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53837 $as_echo_n "checking for float round functions... " >&6; }
53838 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53839 $as_echo_n "(cached) " >&6
53840 else
53843 ac_ext=cpp
53844 ac_cpp='$CXXCPP $CPPFLAGS'
53845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53850 /* end confdefs.h. */
53851 #include <math.h>
53853 main ()
53855 ceilf (0); floorf (0);
53857 return 0;
53859 _ACEOF
53860 if ac_fn_cxx_try_compile "$LINENO"; then :
53861 glibcxx_cv_func_float_round_use=yes
53862 else
53863 glibcxx_cv_func_float_round_use=no
53865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53866 ac_ext=c
53867 ac_cpp='$CPP $CPPFLAGS'
53868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53875 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53876 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53877 for ac_func in ceilf floorf
53878 do :
53879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53881 eval as_val=\$$as_ac_var
53882 if test "x$as_val" = x""yes; then :
53883 cat >>confdefs.h <<_ACEOF
53884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53885 _ACEOF
53888 done
53890 else
53891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53892 $as_echo_n "checking for _float round functions... " >&6; }
53893 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53894 $as_echo_n "(cached) " >&6
53895 else
53898 ac_ext=cpp
53899 ac_cpp='$CXXCPP $CPPFLAGS'
53900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53905 /* end confdefs.h. */
53906 #include <math.h>
53908 main ()
53910 _ceilf (0); _floorf (0);
53912 return 0;
53914 _ACEOF
53915 if ac_fn_cxx_try_compile "$LINENO"; then :
53916 glibcxx_cv_func__float_round_use=yes
53917 else
53918 glibcxx_cv_func__float_round_use=no
53920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53921 ac_ext=c
53922 ac_cpp='$CPP $CPPFLAGS'
53923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53930 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53931 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53932 for ac_func in _ceilf _floorf
53933 do :
53934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53936 eval as_val=\$$as_ac_var
53937 if test "x$as_val" = x""yes; then :
53938 cat >>confdefs.h <<_ACEOF
53939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53940 _ACEOF
53943 done
53953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53954 $as_echo_n "checking for expf declaration... " >&6; }
53955 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53956 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53957 $as_echo_n "(cached) " >&6
53958 else
53961 ac_ext=cpp
53962 ac_cpp='$CXXCPP $CPPFLAGS'
53963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53968 /* end confdefs.h. */
53969 #include <math.h>
53970 #ifdef HAVE_IEEEFP_H
53971 #include <ieeefp.h>
53972 #endif
53975 main ()
53977 expf(0);
53979 return 0;
53981 _ACEOF
53982 if ac_fn_cxx_try_compile "$LINENO"; then :
53983 glibcxx_cv_func_expf_use=yes
53984 else
53985 glibcxx_cv_func_expf_use=no
53987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53988 ac_ext=c
53989 ac_cpp='$CPP $CPPFLAGS'
53990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53999 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54001 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54002 for ac_func in expf
54003 do :
54004 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54005 if test "x$ac_cv_func_expf" = x""yes; then :
54006 cat >>confdefs.h <<_ACEOF
54007 #define HAVE_EXPF 1
54008 _ACEOF
54011 done
54013 else
54015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54016 $as_echo_n "checking for _expf declaration... " >&6; }
54017 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54018 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54019 $as_echo_n "(cached) " >&6
54020 else
54023 ac_ext=cpp
54024 ac_cpp='$CXXCPP $CPPFLAGS'
54025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54030 /* end confdefs.h. */
54031 #include <math.h>
54032 #ifdef HAVE_IEEEFP_H
54033 #include <ieeefp.h>
54034 #endif
54037 main ()
54039 _expf(0);
54041 return 0;
54043 _ACEOF
54044 if ac_fn_cxx_try_compile "$LINENO"; then :
54045 glibcxx_cv_func__expf_use=yes
54046 else
54047 glibcxx_cv_func__expf_use=no
54049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54050 ac_ext=c
54051 ac_cpp='$CPP $CPPFLAGS'
54052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54061 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54063 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54064 for ac_func in _expf
54065 do :
54066 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54067 if test "x$ac_cv_func__expf" = x""yes; then :
54068 cat >>confdefs.h <<_ACEOF
54069 #define HAVE__EXPF 1
54070 _ACEOF
54073 done
54082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54083 $as_echo_n "checking for isnanf declaration... " >&6; }
54084 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54085 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54086 $as_echo_n "(cached) " >&6
54087 else
54090 ac_ext=cpp
54091 ac_cpp='$CXXCPP $CPPFLAGS'
54092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54097 /* end confdefs.h. */
54098 #include <math.h>
54099 #ifdef HAVE_IEEEFP_H
54100 #include <ieeefp.h>
54101 #endif
54104 main ()
54106 isnanf(0);
54108 return 0;
54110 _ACEOF
54111 if ac_fn_cxx_try_compile "$LINENO"; then :
54112 glibcxx_cv_func_isnanf_use=yes
54113 else
54114 glibcxx_cv_func_isnanf_use=no
54116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54117 ac_ext=c
54118 ac_cpp='$CPP $CPPFLAGS'
54119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54128 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54130 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54131 for ac_func in isnanf
54132 do :
54133 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54134 if test "x$ac_cv_func_isnanf" = x""yes; then :
54135 cat >>confdefs.h <<_ACEOF
54136 #define HAVE_ISNANF 1
54137 _ACEOF
54140 done
54142 else
54144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54145 $as_echo_n "checking for _isnanf declaration... " >&6; }
54146 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54147 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54148 $as_echo_n "(cached) " >&6
54149 else
54152 ac_ext=cpp
54153 ac_cpp='$CXXCPP $CPPFLAGS'
54154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54159 /* end confdefs.h. */
54160 #include <math.h>
54161 #ifdef HAVE_IEEEFP_H
54162 #include <ieeefp.h>
54163 #endif
54166 main ()
54168 _isnanf(0);
54170 return 0;
54172 _ACEOF
54173 if ac_fn_cxx_try_compile "$LINENO"; then :
54174 glibcxx_cv_func__isnanf_use=yes
54175 else
54176 glibcxx_cv_func__isnanf_use=no
54178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54179 ac_ext=c
54180 ac_cpp='$CPP $CPPFLAGS'
54181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54190 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54192 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54193 for ac_func in _isnanf
54194 do :
54195 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54196 if test "x$ac_cv_func__isnanf" = x""yes; then :
54197 cat >>confdefs.h <<_ACEOF
54198 #define HAVE__ISNANF 1
54199 _ACEOF
54202 done
54211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54212 $as_echo_n "checking for isinff declaration... " >&6; }
54213 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54214 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54215 $as_echo_n "(cached) " >&6
54216 else
54219 ac_ext=cpp
54220 ac_cpp='$CXXCPP $CPPFLAGS'
54221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54226 /* end confdefs.h. */
54227 #include <math.h>
54228 #ifdef HAVE_IEEEFP_H
54229 #include <ieeefp.h>
54230 #endif
54233 main ()
54235 isinff(0);
54237 return 0;
54239 _ACEOF
54240 if ac_fn_cxx_try_compile "$LINENO"; then :
54241 glibcxx_cv_func_isinff_use=yes
54242 else
54243 glibcxx_cv_func_isinff_use=no
54245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54246 ac_ext=c
54247 ac_cpp='$CPP $CPPFLAGS'
54248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54257 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54259 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54260 for ac_func in isinff
54261 do :
54262 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54263 if test "x$ac_cv_func_isinff" = x""yes; then :
54264 cat >>confdefs.h <<_ACEOF
54265 #define HAVE_ISINFF 1
54266 _ACEOF
54269 done
54271 else
54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54274 $as_echo_n "checking for _isinff declaration... " >&6; }
54275 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54276 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54277 $as_echo_n "(cached) " >&6
54278 else
54281 ac_ext=cpp
54282 ac_cpp='$CXXCPP $CPPFLAGS'
54283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h. */
54289 #include <math.h>
54290 #ifdef HAVE_IEEEFP_H
54291 #include <ieeefp.h>
54292 #endif
54295 main ()
54297 _isinff(0);
54299 return 0;
54301 _ACEOF
54302 if ac_fn_cxx_try_compile "$LINENO"; then :
54303 glibcxx_cv_func__isinff_use=yes
54304 else
54305 glibcxx_cv_func__isinff_use=no
54307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54308 ac_ext=c
54309 ac_cpp='$CPP $CPPFLAGS'
54310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54319 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54321 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54322 for ac_func in _isinff
54323 do :
54324 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54325 if test "x$ac_cv_func__isinff" = x""yes; then :
54326 cat >>confdefs.h <<_ACEOF
54327 #define HAVE__ISINFF 1
54328 _ACEOF
54331 done
54340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54341 $as_echo_n "checking for atan2f declaration... " >&6; }
54342 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54343 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54344 $as_echo_n "(cached) " >&6
54345 else
54348 ac_ext=cpp
54349 ac_cpp='$CXXCPP $CPPFLAGS'
54350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54355 /* end confdefs.h. */
54356 #include <math.h>
54358 main ()
54360 atan2f(0, 0);
54362 return 0;
54364 _ACEOF
54365 if ac_fn_cxx_try_compile "$LINENO"; then :
54366 glibcxx_cv_func_atan2f_use=yes
54367 else
54368 glibcxx_cv_func_atan2f_use=no
54370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54371 ac_ext=c
54372 ac_cpp='$CPP $CPPFLAGS'
54373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54382 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54384 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54385 for ac_func in atan2f
54386 do :
54387 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54388 if test "x$ac_cv_func_atan2f" = x""yes; then :
54389 cat >>confdefs.h <<_ACEOF
54390 #define HAVE_ATAN2F 1
54391 _ACEOF
54394 done
54396 else
54398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54399 $as_echo_n "checking for _atan2f declaration... " >&6; }
54400 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54401 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54402 $as_echo_n "(cached) " >&6
54403 else
54406 ac_ext=cpp
54407 ac_cpp='$CXXCPP $CPPFLAGS'
54408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54413 /* end confdefs.h. */
54414 #include <math.h>
54416 main ()
54418 _atan2f(0, 0);
54420 return 0;
54422 _ACEOF
54423 if ac_fn_cxx_try_compile "$LINENO"; then :
54424 glibcxx_cv_func__atan2f_use=yes
54425 else
54426 glibcxx_cv_func__atan2f_use=no
54428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54429 ac_ext=c
54430 ac_cpp='$CPP $CPPFLAGS'
54431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54440 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54442 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54443 for ac_func in _atan2f
54444 do :
54445 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54446 if test "x$ac_cv_func__atan2f" = x""yes; then :
54447 cat >>confdefs.h <<_ACEOF
54448 #define HAVE__ATAN2F 1
54449 _ACEOF
54452 done
54461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54462 $as_echo_n "checking for fabsf declaration... " >&6; }
54463 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54464 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54465 $as_echo_n "(cached) " >&6
54466 else
54469 ac_ext=cpp
54470 ac_cpp='$CXXCPP $CPPFLAGS'
54471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54476 /* end confdefs.h. */
54477 #include <math.h>
54478 #ifdef HAVE_IEEEFP_H
54479 #include <ieeefp.h>
54480 #endif
54483 main ()
54485 fabsf(0);
54487 return 0;
54489 _ACEOF
54490 if ac_fn_cxx_try_compile "$LINENO"; then :
54491 glibcxx_cv_func_fabsf_use=yes
54492 else
54493 glibcxx_cv_func_fabsf_use=no
54495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54496 ac_ext=c
54497 ac_cpp='$CPP $CPPFLAGS'
54498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54507 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54509 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54510 for ac_func in fabsf
54511 do :
54512 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54513 if test "x$ac_cv_func_fabsf" = x""yes; then :
54514 cat >>confdefs.h <<_ACEOF
54515 #define HAVE_FABSF 1
54516 _ACEOF
54519 done
54521 else
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54524 $as_echo_n "checking for _fabsf declaration... " >&6; }
54525 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54526 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54527 $as_echo_n "(cached) " >&6
54528 else
54531 ac_ext=cpp
54532 ac_cpp='$CXXCPP $CPPFLAGS'
54533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54538 /* end confdefs.h. */
54539 #include <math.h>
54540 #ifdef HAVE_IEEEFP_H
54541 #include <ieeefp.h>
54542 #endif
54545 main ()
54547 _fabsf(0);
54549 return 0;
54551 _ACEOF
54552 if ac_fn_cxx_try_compile "$LINENO"; then :
54553 glibcxx_cv_func__fabsf_use=yes
54554 else
54555 glibcxx_cv_func__fabsf_use=no
54557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54558 ac_ext=c
54559 ac_cpp='$CPP $CPPFLAGS'
54560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54569 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54571 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54572 for ac_func in _fabsf
54573 do :
54574 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54575 if test "x$ac_cv_func__fabsf" = x""yes; then :
54576 cat >>confdefs.h <<_ACEOF
54577 #define HAVE__FABSF 1
54578 _ACEOF
54581 done
54590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54591 $as_echo_n "checking for fmodf declaration... " >&6; }
54592 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54593 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54594 $as_echo_n "(cached) " >&6
54595 else
54598 ac_ext=cpp
54599 ac_cpp='$CXXCPP $CPPFLAGS'
54600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54605 /* end confdefs.h. */
54606 #include <math.h>
54608 main ()
54610 fmodf(0, 0);
54612 return 0;
54614 _ACEOF
54615 if ac_fn_cxx_try_compile "$LINENO"; then :
54616 glibcxx_cv_func_fmodf_use=yes
54617 else
54618 glibcxx_cv_func_fmodf_use=no
54620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54621 ac_ext=c
54622 ac_cpp='$CPP $CPPFLAGS'
54623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54632 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54634 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54635 for ac_func in fmodf
54636 do :
54637 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54638 if test "x$ac_cv_func_fmodf" = x""yes; then :
54639 cat >>confdefs.h <<_ACEOF
54640 #define HAVE_FMODF 1
54641 _ACEOF
54644 done
54646 else
54648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54649 $as_echo_n "checking for _fmodf declaration... " >&6; }
54650 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54651 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54652 $as_echo_n "(cached) " >&6
54653 else
54656 ac_ext=cpp
54657 ac_cpp='$CXXCPP $CPPFLAGS'
54658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54663 /* end confdefs.h. */
54664 #include <math.h>
54666 main ()
54668 _fmodf(0, 0);
54670 return 0;
54672 _ACEOF
54673 if ac_fn_cxx_try_compile "$LINENO"; then :
54674 glibcxx_cv_func__fmodf_use=yes
54675 else
54676 glibcxx_cv_func__fmodf_use=no
54678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54679 ac_ext=c
54680 ac_cpp='$CPP $CPPFLAGS'
54681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54690 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54692 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54693 for ac_func in _fmodf
54694 do :
54695 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54696 if test "x$ac_cv_func__fmodf" = x""yes; then :
54697 cat >>confdefs.h <<_ACEOF
54698 #define HAVE__FMODF 1
54699 _ACEOF
54702 done
54711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54712 $as_echo_n "checking for frexpf declaration... " >&6; }
54713 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54714 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54715 $as_echo_n "(cached) " >&6
54716 else
54719 ac_ext=cpp
54720 ac_cpp='$CXXCPP $CPPFLAGS'
54721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54726 /* end confdefs.h. */
54727 #include <math.h>
54729 main ()
54731 frexpf(0, 0);
54733 return 0;
54735 _ACEOF
54736 if ac_fn_cxx_try_compile "$LINENO"; then :
54737 glibcxx_cv_func_frexpf_use=yes
54738 else
54739 glibcxx_cv_func_frexpf_use=no
54741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54742 ac_ext=c
54743 ac_cpp='$CPP $CPPFLAGS'
54744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54753 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54755 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54756 for ac_func in frexpf
54757 do :
54758 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54759 if test "x$ac_cv_func_frexpf" = x""yes; then :
54760 cat >>confdefs.h <<_ACEOF
54761 #define HAVE_FREXPF 1
54762 _ACEOF
54765 done
54767 else
54769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54770 $as_echo_n "checking for _frexpf declaration... " >&6; }
54771 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54772 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54773 $as_echo_n "(cached) " >&6
54774 else
54777 ac_ext=cpp
54778 ac_cpp='$CXXCPP $CPPFLAGS'
54779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54784 /* end confdefs.h. */
54785 #include <math.h>
54787 main ()
54789 _frexpf(0, 0);
54791 return 0;
54793 _ACEOF
54794 if ac_fn_cxx_try_compile "$LINENO"; then :
54795 glibcxx_cv_func__frexpf_use=yes
54796 else
54797 glibcxx_cv_func__frexpf_use=no
54799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54800 ac_ext=c
54801 ac_cpp='$CPP $CPPFLAGS'
54802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54811 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54813 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54814 for ac_func in _frexpf
54815 do :
54816 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54817 if test "x$ac_cv_func__frexpf" = x""yes; then :
54818 cat >>confdefs.h <<_ACEOF
54819 #define HAVE__FREXPF 1
54820 _ACEOF
54823 done
54832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54833 $as_echo_n "checking for hypotf declaration... " >&6; }
54834 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54835 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54836 $as_echo_n "(cached) " >&6
54837 else
54840 ac_ext=cpp
54841 ac_cpp='$CXXCPP $CPPFLAGS'
54842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54847 /* end confdefs.h. */
54848 #include <math.h>
54850 main ()
54852 hypotf(0, 0);
54854 return 0;
54856 _ACEOF
54857 if ac_fn_cxx_try_compile "$LINENO"; then :
54858 glibcxx_cv_func_hypotf_use=yes
54859 else
54860 glibcxx_cv_func_hypotf_use=no
54862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54863 ac_ext=c
54864 ac_cpp='$CPP $CPPFLAGS'
54865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54874 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54876 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54877 for ac_func in hypotf
54878 do :
54879 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54880 if test "x$ac_cv_func_hypotf" = x""yes; then :
54881 cat >>confdefs.h <<_ACEOF
54882 #define HAVE_HYPOTF 1
54883 _ACEOF
54886 done
54888 else
54890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54891 $as_echo_n "checking for _hypotf declaration... " >&6; }
54892 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54893 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
54912 return 0;
54914 _ACEOF
54915 if ac_fn_cxx_try_compile "$LINENO"; then :
54916 glibcxx_cv_func__hypotf_use=yes
54917 else
54918 glibcxx_cv_func__hypotf_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
54931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54932 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54934 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54935 for ac_func in _hypotf
54936 do :
54937 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54938 if test "x$ac_cv_func__hypotf" = x""yes; then :
54939 cat >>confdefs.h <<_ACEOF
54940 #define HAVE__HYPOTF 1
54941 _ACEOF
54944 done
54953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54954 $as_echo_n "checking for ldexpf declaration... " >&6; }
54955 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54956 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54957 $as_echo_n "(cached) " >&6
54958 else
54961 ac_ext=cpp
54962 ac_cpp='$CXXCPP $CPPFLAGS'
54963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54968 /* end confdefs.h. */
54969 #include <math.h>
54971 main ()
54973 ldexpf(0, 0);
54975 return 0;
54977 _ACEOF
54978 if ac_fn_cxx_try_compile "$LINENO"; then :
54979 glibcxx_cv_func_ldexpf_use=yes
54980 else
54981 glibcxx_cv_func_ldexpf_use=no
54983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54984 ac_ext=c
54985 ac_cpp='$CPP $CPPFLAGS'
54986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54995 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54997 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54998 for ac_func in ldexpf
54999 do :
55000 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55001 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55002 cat >>confdefs.h <<_ACEOF
55003 #define HAVE_LDEXPF 1
55004 _ACEOF
55007 done
55009 else
55011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55012 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55013 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55014 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55015 $as_echo_n "(cached) " >&6
55016 else
55019 ac_ext=cpp
55020 ac_cpp='$CXXCPP $CPPFLAGS'
55021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55026 /* end confdefs.h. */
55027 #include <math.h>
55029 main ()
55031 _ldexpf(0, 0);
55033 return 0;
55035 _ACEOF
55036 if ac_fn_cxx_try_compile "$LINENO"; then :
55037 glibcxx_cv_func__ldexpf_use=yes
55038 else
55039 glibcxx_cv_func__ldexpf_use=no
55041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55042 ac_ext=c
55043 ac_cpp='$CPP $CPPFLAGS'
55044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55053 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55055 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55056 for ac_func in _ldexpf
55057 do :
55058 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55059 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55060 cat >>confdefs.h <<_ACEOF
55061 #define HAVE__LDEXPF 1
55062 _ACEOF
55065 done
55074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55075 $as_echo_n "checking for logf declaration... " >&6; }
55076 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55077 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55078 $as_echo_n "(cached) " >&6
55079 else
55082 ac_ext=cpp
55083 ac_cpp='$CXXCPP $CPPFLAGS'
55084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55089 /* end confdefs.h. */
55090 #include <math.h>
55091 #ifdef HAVE_IEEEFP_H
55092 #include <ieeefp.h>
55093 #endif
55096 main ()
55098 logf(0);
55100 return 0;
55102 _ACEOF
55103 if ac_fn_cxx_try_compile "$LINENO"; then :
55104 glibcxx_cv_func_logf_use=yes
55105 else
55106 glibcxx_cv_func_logf_use=no
55108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55109 ac_ext=c
55110 ac_cpp='$CPP $CPPFLAGS'
55111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55120 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55122 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55123 for ac_func in logf
55124 do :
55125 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55126 if test "x$ac_cv_func_logf" = x""yes; then :
55127 cat >>confdefs.h <<_ACEOF
55128 #define HAVE_LOGF 1
55129 _ACEOF
55132 done
55134 else
55136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55137 $as_echo_n "checking for _logf declaration... " >&6; }
55138 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55139 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55140 $as_echo_n "(cached) " >&6
55141 else
55144 ac_ext=cpp
55145 ac_cpp='$CXXCPP $CPPFLAGS'
55146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55151 /* end confdefs.h. */
55152 #include <math.h>
55153 #ifdef HAVE_IEEEFP_H
55154 #include <ieeefp.h>
55155 #endif
55158 main ()
55160 _logf(0);
55162 return 0;
55164 _ACEOF
55165 if ac_fn_cxx_try_compile "$LINENO"; then :
55166 glibcxx_cv_func__logf_use=yes
55167 else
55168 glibcxx_cv_func__logf_use=no
55170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55171 ac_ext=c
55172 ac_cpp='$CPP $CPPFLAGS'
55173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55182 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55184 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55185 for ac_func in _logf
55186 do :
55187 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55188 if test "x$ac_cv_func__logf" = x""yes; then :
55189 cat >>confdefs.h <<_ACEOF
55190 #define HAVE__LOGF 1
55191 _ACEOF
55194 done
55203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55204 $as_echo_n "checking for log10f declaration... " >&6; }
55205 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55206 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55207 $as_echo_n "(cached) " >&6
55208 else
55211 ac_ext=cpp
55212 ac_cpp='$CXXCPP $CPPFLAGS'
55213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55218 /* end confdefs.h. */
55219 #include <math.h>
55220 #ifdef HAVE_IEEEFP_H
55221 #include <ieeefp.h>
55222 #endif
55225 main ()
55227 log10f(0);
55229 return 0;
55231 _ACEOF
55232 if ac_fn_cxx_try_compile "$LINENO"; then :
55233 glibcxx_cv_func_log10f_use=yes
55234 else
55235 glibcxx_cv_func_log10f_use=no
55237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55238 ac_ext=c
55239 ac_cpp='$CPP $CPPFLAGS'
55240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55249 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55251 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55252 for ac_func in log10f
55253 do :
55254 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55255 if test "x$ac_cv_func_log10f" = x""yes; then :
55256 cat >>confdefs.h <<_ACEOF
55257 #define HAVE_LOG10F 1
55258 _ACEOF
55261 done
55263 else
55265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55266 $as_echo_n "checking for _log10f declaration... " >&6; }
55267 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55268 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55269 $as_echo_n "(cached) " >&6
55270 else
55273 ac_ext=cpp
55274 ac_cpp='$CXXCPP $CPPFLAGS'
55275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55280 /* end confdefs.h. */
55281 #include <math.h>
55282 #ifdef HAVE_IEEEFP_H
55283 #include <ieeefp.h>
55284 #endif
55287 main ()
55289 _log10f(0);
55291 return 0;
55293 _ACEOF
55294 if ac_fn_cxx_try_compile "$LINENO"; then :
55295 glibcxx_cv_func__log10f_use=yes
55296 else
55297 glibcxx_cv_func__log10f_use=no
55299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55300 ac_ext=c
55301 ac_cpp='$CPP $CPPFLAGS'
55302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55311 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55313 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55314 for ac_func in _log10f
55315 do :
55316 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55317 if test "x$ac_cv_func__log10f" = x""yes; then :
55318 cat >>confdefs.h <<_ACEOF
55319 #define HAVE__LOG10F 1
55320 _ACEOF
55323 done
55332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55333 $as_echo_n "checking for modff declaration... " >&6; }
55334 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55335 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55336 $as_echo_n "(cached) " >&6
55337 else
55340 ac_ext=cpp
55341 ac_cpp='$CXXCPP $CPPFLAGS'
55342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55347 /* end confdefs.h. */
55348 #include <math.h>
55350 main ()
55352 modff(0, 0);
55354 return 0;
55356 _ACEOF
55357 if ac_fn_cxx_try_compile "$LINENO"; then :
55358 glibcxx_cv_func_modff_use=yes
55359 else
55360 glibcxx_cv_func_modff_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_modff_use" >&5
55374 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55376 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55377 for ac_func in modff
55378 do :
55379 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55380 if test "x$ac_cv_func_modff" = x""yes; then :
55381 cat >>confdefs.h <<_ACEOF
55382 #define HAVE_MODFF 1
55383 _ACEOF
55386 done
55388 else
55390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55391 $as_echo_n "checking for _modff declaration... " >&6; }
55392 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55393 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55394 $as_echo_n "(cached) " >&6
55395 else
55398 ac_ext=cpp
55399 ac_cpp='$CXXCPP $CPPFLAGS'
55400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55405 /* end confdefs.h. */
55406 #include <math.h>
55408 main ()
55410 _modff(0, 0);
55412 return 0;
55414 _ACEOF
55415 if ac_fn_cxx_try_compile "$LINENO"; then :
55416 glibcxx_cv_func__modff_use=yes
55417 else
55418 glibcxx_cv_func__modff_use=no
55420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55421 ac_ext=c
55422 ac_cpp='$CPP $CPPFLAGS'
55423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55432 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55434 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55435 for ac_func in _modff
55436 do :
55437 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55438 if test "x$ac_cv_func__modff" = x""yes; then :
55439 cat >>confdefs.h <<_ACEOF
55440 #define HAVE__MODFF 1
55441 _ACEOF
55444 done
55453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55454 $as_echo_n "checking for modf declaration... " >&6; }
55455 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55456 if test "${glibcxx_cv_func_modf_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 modf(0, 0);
55475 return 0;
55477 _ACEOF
55478 if ac_fn_cxx_try_compile "$LINENO"; then :
55479 glibcxx_cv_func_modf_use=yes
55480 else
55481 glibcxx_cv_func_modf_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_modf_use" >&5
55495 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55497 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55498 for ac_func in modf
55499 do :
55500 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55501 if test "x$ac_cv_func_modf" = x""yes; then :
55502 cat >>confdefs.h <<_ACEOF
55503 #define HAVE_MODF 1
55504 _ACEOF
55507 done
55509 else
55511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55512 $as_echo_n "checking for _modf declaration... " >&6; }
55513 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55514 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55515 $as_echo_n "(cached) " >&6
55516 else
55519 ac_ext=cpp
55520 ac_cpp='$CXXCPP $CPPFLAGS'
55521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55526 /* end confdefs.h. */
55527 #include <math.h>
55529 main ()
55531 _modf(0, 0);
55533 return 0;
55535 _ACEOF
55536 if ac_fn_cxx_try_compile "$LINENO"; then :
55537 glibcxx_cv_func__modf_use=yes
55538 else
55539 glibcxx_cv_func__modf_use=no
55541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55542 ac_ext=c
55543 ac_cpp='$CPP $CPPFLAGS'
55544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55553 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55555 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55556 for ac_func in _modf
55557 do :
55558 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55559 if test "x$ac_cv_func__modf" = x""yes; then :
55560 cat >>confdefs.h <<_ACEOF
55561 #define HAVE__MODF 1
55562 _ACEOF
55565 done
55574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55575 $as_echo_n "checking for powf declaration... " >&6; }
55576 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55577 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55578 $as_echo_n "(cached) " >&6
55579 else
55582 ac_ext=cpp
55583 ac_cpp='$CXXCPP $CPPFLAGS'
55584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55589 /* end confdefs.h. */
55590 #include <math.h>
55592 main ()
55594 powf(0, 0);
55596 return 0;
55598 _ACEOF
55599 if ac_fn_cxx_try_compile "$LINENO"; then :
55600 glibcxx_cv_func_powf_use=yes
55601 else
55602 glibcxx_cv_func_powf_use=no
55604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55605 ac_ext=c
55606 ac_cpp='$CPP $CPPFLAGS'
55607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55616 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55618 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55619 for ac_func in powf
55620 do :
55621 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55622 if test "x$ac_cv_func_powf" = x""yes; then :
55623 cat >>confdefs.h <<_ACEOF
55624 #define HAVE_POWF 1
55625 _ACEOF
55628 done
55630 else
55632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55633 $as_echo_n "checking for _powf declaration... " >&6; }
55634 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55635 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55636 $as_echo_n "(cached) " >&6
55637 else
55640 ac_ext=cpp
55641 ac_cpp='$CXXCPP $CPPFLAGS'
55642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55647 /* end confdefs.h. */
55648 #include <math.h>
55650 main ()
55652 _powf(0, 0);
55654 return 0;
55656 _ACEOF
55657 if ac_fn_cxx_try_compile "$LINENO"; then :
55658 glibcxx_cv_func__powf_use=yes
55659 else
55660 glibcxx_cv_func__powf_use=no
55662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55663 ac_ext=c
55664 ac_cpp='$CPP $CPPFLAGS'
55665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55674 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55676 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55677 for ac_func in _powf
55678 do :
55679 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55680 if test "x$ac_cv_func__powf" = x""yes; then :
55681 cat >>confdefs.h <<_ACEOF
55682 #define HAVE__POWF 1
55683 _ACEOF
55686 done
55695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55696 $as_echo_n "checking for sqrtf declaration... " >&6; }
55697 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55698 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55699 $as_echo_n "(cached) " >&6
55700 else
55703 ac_ext=cpp
55704 ac_cpp='$CXXCPP $CPPFLAGS'
55705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55710 /* end confdefs.h. */
55711 #include <math.h>
55712 #ifdef HAVE_IEEEFP_H
55713 #include <ieeefp.h>
55714 #endif
55717 main ()
55719 sqrtf(0);
55721 return 0;
55723 _ACEOF
55724 if ac_fn_cxx_try_compile "$LINENO"; then :
55725 glibcxx_cv_func_sqrtf_use=yes
55726 else
55727 glibcxx_cv_func_sqrtf_use=no
55729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55730 ac_ext=c
55731 ac_cpp='$CPP $CPPFLAGS'
55732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55741 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55743 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55744 for ac_func in sqrtf
55745 do :
55746 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55747 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55748 cat >>confdefs.h <<_ACEOF
55749 #define HAVE_SQRTF 1
55750 _ACEOF
55753 done
55755 else
55757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55758 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55759 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55760 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55761 $as_echo_n "(cached) " >&6
55762 else
55765 ac_ext=cpp
55766 ac_cpp='$CXXCPP $CPPFLAGS'
55767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55772 /* end confdefs.h. */
55773 #include <math.h>
55774 #ifdef HAVE_IEEEFP_H
55775 #include <ieeefp.h>
55776 #endif
55779 main ()
55781 _sqrtf(0);
55783 return 0;
55785 _ACEOF
55786 if ac_fn_cxx_try_compile "$LINENO"; then :
55787 glibcxx_cv_func__sqrtf_use=yes
55788 else
55789 glibcxx_cv_func__sqrtf_use=no
55791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55792 ac_ext=c
55793 ac_cpp='$CPP $CPPFLAGS'
55794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55803 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55805 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55806 for ac_func in _sqrtf
55807 do :
55808 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55809 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55810 cat >>confdefs.h <<_ACEOF
55811 #define HAVE__SQRTF 1
55812 _ACEOF
55815 done
55824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55825 $as_echo_n "checking for sincosf declaration... " >&6; }
55826 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55827 if test "${glibcxx_cv_func_sincosf_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 sincosf(0, 0, 0);
55846 return 0;
55848 _ACEOF
55849 if ac_fn_cxx_try_compile "$LINENO"; then :
55850 glibcxx_cv_func_sincosf_use=yes
55851 else
55852 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
55866 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55868 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55869 for ac_func in sincosf
55870 do :
55871 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55872 if test "x$ac_cv_func_sincosf" = x""yes; then :
55873 cat >>confdefs.h <<_ACEOF
55874 #define HAVE_SINCOSF 1
55875 _ACEOF
55878 done
55880 else
55882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55883 $as_echo_n "checking for _sincosf declaration... " >&6; }
55884 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55885 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55886 $as_echo_n "(cached) " >&6
55887 else
55890 ac_ext=cpp
55891 ac_cpp='$CXXCPP $CPPFLAGS'
55892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55897 /* end confdefs.h. */
55898 #include <math.h>
55900 main ()
55902 _sincosf(0, 0, 0);
55904 return 0;
55906 _ACEOF
55907 if ac_fn_cxx_try_compile "$LINENO"; then :
55908 glibcxx_cv_func__sincosf_use=yes
55909 else
55910 glibcxx_cv_func__sincosf_use=no
55912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55913 ac_ext=c
55914 ac_cpp='$CPP $CPPFLAGS'
55915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55924 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55926 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55927 for ac_func in _sincosf
55928 do :
55929 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55930 if test "x$ac_cv_func__sincosf" = x""yes; then :
55931 cat >>confdefs.h <<_ACEOF
55932 #define HAVE__SINCOSF 1
55933 _ACEOF
55936 done
55945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55946 $as_echo_n "checking for finitef declaration... " >&6; }
55947 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55948 if test "${glibcxx_cv_func_finitef_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>
55962 #ifdef HAVE_IEEEFP_H
55963 #include <ieeefp.h>
55964 #endif
55967 main ()
55969 finitef(0);
55971 return 0;
55973 _ACEOF
55974 if ac_fn_cxx_try_compile "$LINENO"; then :
55975 glibcxx_cv_func_finitef_use=yes
55976 else
55977 glibcxx_cv_func_finitef_use=no
55979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55980 ac_ext=c
55981 ac_cpp='$CPP $CPPFLAGS'
55982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55991 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55993 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55994 for ac_func in finitef
55995 do :
55996 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55997 if test "x$ac_cv_func_finitef" = x""yes; then :
55998 cat >>confdefs.h <<_ACEOF
55999 #define HAVE_FINITEF 1
56000 _ACEOF
56003 done
56005 else
56007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56008 $as_echo_n "checking for _finitef declaration... " >&6; }
56009 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56010 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56011 $as_echo_n "(cached) " >&6
56012 else
56015 ac_ext=cpp
56016 ac_cpp='$CXXCPP $CPPFLAGS'
56017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56022 /* end confdefs.h. */
56023 #include <math.h>
56024 #ifdef HAVE_IEEEFP_H
56025 #include <ieeefp.h>
56026 #endif
56029 main ()
56031 _finitef(0);
56033 return 0;
56035 _ACEOF
56036 if ac_fn_cxx_try_compile "$LINENO"; then :
56037 glibcxx_cv_func__finitef_use=yes
56038 else
56039 glibcxx_cv_func__finitef_use=no
56041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56042 ac_ext=c
56043 ac_cpp='$CPP $CPPFLAGS'
56044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56053 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56055 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56056 for ac_func in _finitef
56057 do :
56058 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56059 if test "x$ac_cv_func__finitef" = x""yes; then :
56060 cat >>confdefs.h <<_ACEOF
56061 #define HAVE__FINITEF 1
56062 _ACEOF
56065 done
56074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56075 $as_echo_n "checking for long double trig functions... " >&6; }
56076 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56077 $as_echo_n "(cached) " >&6
56078 else
56081 ac_ext=cpp
56082 ac_cpp='$CXXCPP $CPPFLAGS'
56083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56088 /* end confdefs.h. */
56089 #include <math.h>
56091 main ()
56093 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56095 return 0;
56097 _ACEOF
56098 if ac_fn_cxx_try_compile "$LINENO"; then :
56099 glibcxx_cv_func_long_double_trig_use=yes
56100 else
56101 glibcxx_cv_func_long_double_trig_use=no
56103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56104 ac_ext=c
56105 ac_cpp='$CPP $CPPFLAGS'
56106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56113 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56114 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56115 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56116 do :
56117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56119 eval as_val=\$$as_ac_var
56120 if test "x$as_val" = x""yes; then :
56121 cat >>confdefs.h <<_ACEOF
56122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56123 _ACEOF
56126 done
56128 else
56129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56130 $as_echo_n "checking for _long double trig functions... " >&6; }
56131 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56132 $as_echo_n "(cached) " >&6
56133 else
56136 ac_ext=cpp
56137 ac_cpp='$CXXCPP $CPPFLAGS'
56138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56143 /* end confdefs.h. */
56144 #include <math.h>
56146 main ()
56148 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56150 return 0;
56152 _ACEOF
56153 if ac_fn_cxx_try_compile "$LINENO"; then :
56154 glibcxx_cv_func__long_double_trig_use=yes
56155 else
56156 glibcxx_cv_func__long_double_trig_use=no
56158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56159 ac_ext=c
56160 ac_cpp='$CPP $CPPFLAGS'
56161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56168 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56169 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56170 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56171 do :
56172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56174 eval as_val=\$$as_ac_var
56175 if test "x$as_val" = x""yes; then :
56176 cat >>confdefs.h <<_ACEOF
56177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56178 _ACEOF
56181 done
56190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56191 $as_echo_n "checking for long double round functions... " >&6; }
56192 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56193 $as_echo_n "(cached) " >&6
56194 else
56197 ac_ext=cpp
56198 ac_cpp='$CXXCPP $CPPFLAGS'
56199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56204 /* end confdefs.h. */
56205 #include <math.h>
56207 main ()
56209 ceill (0); floorl (0);
56211 return 0;
56213 _ACEOF
56214 if ac_fn_cxx_try_compile "$LINENO"; then :
56215 glibcxx_cv_func_long_double_round_use=yes
56216 else
56217 glibcxx_cv_func_long_double_round_use=no
56219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56220 ac_ext=c
56221 ac_cpp='$CPP $CPPFLAGS'
56222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56229 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56230 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56231 for ac_func in ceill floorl
56232 do :
56233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56235 eval as_val=\$$as_ac_var
56236 if test "x$as_val" = x""yes; then :
56237 cat >>confdefs.h <<_ACEOF
56238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56239 _ACEOF
56242 done
56244 else
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56246 $as_echo_n "checking for _long double round functions... " >&6; }
56247 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56248 $as_echo_n "(cached) " >&6
56249 else
56252 ac_ext=cpp
56253 ac_cpp='$CXXCPP $CPPFLAGS'
56254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56259 /* end confdefs.h. */
56260 #include <math.h>
56262 main ()
56264 _ceill (0); _floorl (0);
56266 return 0;
56268 _ACEOF
56269 if ac_fn_cxx_try_compile "$LINENO"; then :
56270 glibcxx_cv_func__long_double_round_use=yes
56271 else
56272 glibcxx_cv_func__long_double_round_use=no
56274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56275 ac_ext=c
56276 ac_cpp='$CPP $CPPFLAGS'
56277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56284 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56285 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56286 for ac_func in _ceill _floorl
56287 do :
56288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56290 eval as_val=\$$as_ac_var
56291 if test "x$as_val" = x""yes; then :
56292 cat >>confdefs.h <<_ACEOF
56293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56294 _ACEOF
56297 done
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56308 $as_echo_n "checking for isnanl declaration... " >&6; }
56309 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56310 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56311 $as_echo_n "(cached) " >&6
56312 else
56315 ac_ext=cpp
56316 ac_cpp='$CXXCPP $CPPFLAGS'
56317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56322 /* end confdefs.h. */
56323 #include <math.h>
56324 #ifdef HAVE_IEEEFP_H
56325 #include <ieeefp.h>
56326 #endif
56329 main ()
56331 isnanl(0);
56333 return 0;
56335 _ACEOF
56336 if ac_fn_cxx_try_compile "$LINENO"; then :
56337 glibcxx_cv_func_isnanl_use=yes
56338 else
56339 glibcxx_cv_func_isnanl_use=no
56341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56342 ac_ext=c
56343 ac_cpp='$CPP $CPPFLAGS'
56344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56353 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56355 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56356 for ac_func in isnanl
56357 do :
56358 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56359 if test "x$ac_cv_func_isnanl" = x""yes; then :
56360 cat >>confdefs.h <<_ACEOF
56361 #define HAVE_ISNANL 1
56362 _ACEOF
56365 done
56367 else
56369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56370 $as_echo_n "checking for _isnanl declaration... " >&6; }
56371 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56372 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56373 $as_echo_n "(cached) " >&6
56374 else
56377 ac_ext=cpp
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56384 /* end confdefs.h. */
56385 #include <math.h>
56386 #ifdef HAVE_IEEEFP_H
56387 #include <ieeefp.h>
56388 #endif
56391 main ()
56393 _isnanl(0);
56395 return 0;
56397 _ACEOF
56398 if ac_fn_cxx_try_compile "$LINENO"; then :
56399 glibcxx_cv_func__isnanl_use=yes
56400 else
56401 glibcxx_cv_func__isnanl_use=no
56403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56404 ac_ext=c
56405 ac_cpp='$CPP $CPPFLAGS'
56406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56415 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56417 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56418 for ac_func in _isnanl
56419 do :
56420 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56421 if test "x$ac_cv_func__isnanl" = x""yes; then :
56422 cat >>confdefs.h <<_ACEOF
56423 #define HAVE__ISNANL 1
56424 _ACEOF
56427 done
56436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56437 $as_echo_n "checking for isinfl declaration... " >&6; }
56438 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56439 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56440 $as_echo_n "(cached) " >&6
56441 else
56444 ac_ext=cpp
56445 ac_cpp='$CXXCPP $CPPFLAGS'
56446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56451 /* end confdefs.h. */
56452 #include <math.h>
56453 #ifdef HAVE_IEEEFP_H
56454 #include <ieeefp.h>
56455 #endif
56458 main ()
56460 isinfl(0);
56462 return 0;
56464 _ACEOF
56465 if ac_fn_cxx_try_compile "$LINENO"; then :
56466 glibcxx_cv_func_isinfl_use=yes
56467 else
56468 glibcxx_cv_func_isinfl_use=no
56470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56471 ac_ext=c
56472 ac_cpp='$CPP $CPPFLAGS'
56473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56482 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56484 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56485 for ac_func in isinfl
56486 do :
56487 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56488 if test "x$ac_cv_func_isinfl" = x""yes; then :
56489 cat >>confdefs.h <<_ACEOF
56490 #define HAVE_ISINFL 1
56491 _ACEOF
56494 done
56496 else
56498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56499 $as_echo_n "checking for _isinfl declaration... " >&6; }
56500 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56501 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56502 $as_echo_n "(cached) " >&6
56503 else
56506 ac_ext=cpp
56507 ac_cpp='$CXXCPP $CPPFLAGS'
56508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56513 /* end confdefs.h. */
56514 #include <math.h>
56515 #ifdef HAVE_IEEEFP_H
56516 #include <ieeefp.h>
56517 #endif
56520 main ()
56522 _isinfl(0);
56524 return 0;
56526 _ACEOF
56527 if ac_fn_cxx_try_compile "$LINENO"; then :
56528 glibcxx_cv_func__isinfl_use=yes
56529 else
56530 glibcxx_cv_func__isinfl_use=no
56532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56533 ac_ext=c
56534 ac_cpp='$CPP $CPPFLAGS'
56535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56544 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56546 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56547 for ac_func in _isinfl
56548 do :
56549 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56550 if test "x$ac_cv_func__isinfl" = x""yes; then :
56551 cat >>confdefs.h <<_ACEOF
56552 #define HAVE__ISINFL 1
56553 _ACEOF
56556 done
56565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56566 $as_echo_n "checking for atan2l declaration... " >&6; }
56567 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56568 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56569 $as_echo_n "(cached) " >&6
56570 else
56573 ac_ext=cpp
56574 ac_cpp='$CXXCPP $CPPFLAGS'
56575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56580 /* end confdefs.h. */
56581 #include <math.h>
56583 main ()
56585 atan2l(0, 0);
56587 return 0;
56589 _ACEOF
56590 if ac_fn_cxx_try_compile "$LINENO"; then :
56591 glibcxx_cv_func_atan2l_use=yes
56592 else
56593 glibcxx_cv_func_atan2l_use=no
56595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56596 ac_ext=c
56597 ac_cpp='$CPP $CPPFLAGS'
56598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56607 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56609 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56610 for ac_func in atan2l
56611 do :
56612 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56613 if test "x$ac_cv_func_atan2l" = x""yes; then :
56614 cat >>confdefs.h <<_ACEOF
56615 #define HAVE_ATAN2L 1
56616 _ACEOF
56619 done
56621 else
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56624 $as_echo_n "checking for _atan2l declaration... " >&6; }
56625 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56626 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56627 $as_echo_n "(cached) " >&6
56628 else
56631 ac_ext=cpp
56632 ac_cpp='$CXXCPP $CPPFLAGS'
56633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56638 /* end confdefs.h. */
56639 #include <math.h>
56641 main ()
56643 _atan2l(0, 0);
56645 return 0;
56647 _ACEOF
56648 if ac_fn_cxx_try_compile "$LINENO"; then :
56649 glibcxx_cv_func__atan2l_use=yes
56650 else
56651 glibcxx_cv_func__atan2l_use=no
56653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56654 ac_ext=c
56655 ac_cpp='$CPP $CPPFLAGS'
56656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56665 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56667 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56668 for ac_func in _atan2l
56669 do :
56670 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56671 if test "x$ac_cv_func__atan2l" = x""yes; then :
56672 cat >>confdefs.h <<_ACEOF
56673 #define HAVE__ATAN2L 1
56674 _ACEOF
56677 done
56686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56687 $as_echo_n "checking for expl declaration... " >&6; }
56688 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56689 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56690 $as_echo_n "(cached) " >&6
56691 else
56694 ac_ext=cpp
56695 ac_cpp='$CXXCPP $CPPFLAGS'
56696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56701 /* end confdefs.h. */
56702 #include <math.h>
56703 #ifdef HAVE_IEEEFP_H
56704 #include <ieeefp.h>
56705 #endif
56708 main ()
56710 expl(0);
56712 return 0;
56714 _ACEOF
56715 if ac_fn_cxx_try_compile "$LINENO"; then :
56716 glibcxx_cv_func_expl_use=yes
56717 else
56718 glibcxx_cv_func_expl_use=no
56720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56721 ac_ext=c
56722 ac_cpp='$CPP $CPPFLAGS'
56723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56732 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56734 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56735 for ac_func in expl
56736 do :
56737 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56738 if test "x$ac_cv_func_expl" = x""yes; then :
56739 cat >>confdefs.h <<_ACEOF
56740 #define HAVE_EXPL 1
56741 _ACEOF
56744 done
56746 else
56748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56749 $as_echo_n "checking for _expl declaration... " >&6; }
56750 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56751 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56752 $as_echo_n "(cached) " >&6
56753 else
56756 ac_ext=cpp
56757 ac_cpp='$CXXCPP $CPPFLAGS'
56758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56763 /* end confdefs.h. */
56764 #include <math.h>
56765 #ifdef HAVE_IEEEFP_H
56766 #include <ieeefp.h>
56767 #endif
56770 main ()
56772 _expl(0);
56774 return 0;
56776 _ACEOF
56777 if ac_fn_cxx_try_compile "$LINENO"; then :
56778 glibcxx_cv_func__expl_use=yes
56779 else
56780 glibcxx_cv_func__expl_use=no
56782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56783 ac_ext=c
56784 ac_cpp='$CPP $CPPFLAGS'
56785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56794 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56796 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56797 for ac_func in _expl
56798 do :
56799 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56800 if test "x$ac_cv_func__expl" = x""yes; then :
56801 cat >>confdefs.h <<_ACEOF
56802 #define HAVE__EXPL 1
56803 _ACEOF
56806 done
56815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56816 $as_echo_n "checking for fabsl declaration... " >&6; }
56817 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56818 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56819 $as_echo_n "(cached) " >&6
56820 else
56823 ac_ext=cpp
56824 ac_cpp='$CXXCPP $CPPFLAGS'
56825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56830 /* end confdefs.h. */
56831 #include <math.h>
56832 #ifdef HAVE_IEEEFP_H
56833 #include <ieeefp.h>
56834 #endif
56837 main ()
56839 fabsl(0);
56841 return 0;
56843 _ACEOF
56844 if ac_fn_cxx_try_compile "$LINENO"; then :
56845 glibcxx_cv_func_fabsl_use=yes
56846 else
56847 glibcxx_cv_func_fabsl_use=no
56849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56850 ac_ext=c
56851 ac_cpp='$CPP $CPPFLAGS'
56852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56861 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56863 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56864 for ac_func in fabsl
56865 do :
56866 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56867 if test "x$ac_cv_func_fabsl" = x""yes; then :
56868 cat >>confdefs.h <<_ACEOF
56869 #define HAVE_FABSL 1
56870 _ACEOF
56873 done
56875 else
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56878 $as_echo_n "checking for _fabsl declaration... " >&6; }
56879 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56880 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56881 $as_echo_n "(cached) " >&6
56882 else
56885 ac_ext=cpp
56886 ac_cpp='$CXXCPP $CPPFLAGS'
56887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56892 /* end confdefs.h. */
56893 #include <math.h>
56894 #ifdef HAVE_IEEEFP_H
56895 #include <ieeefp.h>
56896 #endif
56899 main ()
56901 _fabsl(0);
56903 return 0;
56905 _ACEOF
56906 if ac_fn_cxx_try_compile "$LINENO"; then :
56907 glibcxx_cv_func__fabsl_use=yes
56908 else
56909 glibcxx_cv_func__fabsl_use=no
56911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56912 ac_ext=c
56913 ac_cpp='$CPP $CPPFLAGS'
56914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56923 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56925 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56926 for ac_func in _fabsl
56927 do :
56928 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56929 if test "x$ac_cv_func__fabsl" = x""yes; then :
56930 cat >>confdefs.h <<_ACEOF
56931 #define HAVE__FABSL 1
56932 _ACEOF
56935 done
56944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56945 $as_echo_n "checking for fmodl declaration... " >&6; }
56946 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56947 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56948 $as_echo_n "(cached) " >&6
56949 else
56952 ac_ext=cpp
56953 ac_cpp='$CXXCPP $CPPFLAGS'
56954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56959 /* end confdefs.h. */
56960 #include <math.h>
56962 main ()
56964 fmodl(0, 0);
56966 return 0;
56968 _ACEOF
56969 if ac_fn_cxx_try_compile "$LINENO"; then :
56970 glibcxx_cv_func_fmodl_use=yes
56971 else
56972 glibcxx_cv_func_fmodl_use=no
56974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56975 ac_ext=c
56976 ac_cpp='$CPP $CPPFLAGS'
56977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56986 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56988 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56989 for ac_func in fmodl
56990 do :
56991 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56992 if test "x$ac_cv_func_fmodl" = x""yes; then :
56993 cat >>confdefs.h <<_ACEOF
56994 #define HAVE_FMODL 1
56995 _ACEOF
56998 done
57000 else
57002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57003 $as_echo_n "checking for _fmodl declaration... " >&6; }
57004 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57005 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57006 $as_echo_n "(cached) " >&6
57007 else
57010 ac_ext=cpp
57011 ac_cpp='$CXXCPP $CPPFLAGS'
57012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57017 /* end confdefs.h. */
57018 #include <math.h>
57020 main ()
57022 _fmodl(0, 0);
57024 return 0;
57026 _ACEOF
57027 if ac_fn_cxx_try_compile "$LINENO"; then :
57028 glibcxx_cv_func__fmodl_use=yes
57029 else
57030 glibcxx_cv_func__fmodl_use=no
57032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57033 ac_ext=c
57034 ac_cpp='$CPP $CPPFLAGS'
57035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57044 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57046 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57047 for ac_func in _fmodl
57048 do :
57049 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57050 if test "x$ac_cv_func__fmodl" = x""yes; then :
57051 cat >>confdefs.h <<_ACEOF
57052 #define HAVE__FMODL 1
57053 _ACEOF
57056 done
57065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57066 $as_echo_n "checking for frexpl declaration... " >&6; }
57067 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57068 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57069 $as_echo_n "(cached) " >&6
57070 else
57073 ac_ext=cpp
57074 ac_cpp='$CXXCPP $CPPFLAGS'
57075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57080 /* end confdefs.h. */
57081 #include <math.h>
57083 main ()
57085 frexpl(0, 0);
57087 return 0;
57089 _ACEOF
57090 if ac_fn_cxx_try_compile "$LINENO"; then :
57091 glibcxx_cv_func_frexpl_use=yes
57092 else
57093 glibcxx_cv_func_frexpl_use=no
57095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57096 ac_ext=c
57097 ac_cpp='$CPP $CPPFLAGS'
57098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57107 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57109 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57110 for ac_func in frexpl
57111 do :
57112 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57113 if test "x$ac_cv_func_frexpl" = x""yes; then :
57114 cat >>confdefs.h <<_ACEOF
57115 #define HAVE_FREXPL 1
57116 _ACEOF
57119 done
57121 else
57123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57124 $as_echo_n "checking for _frexpl declaration... " >&6; }
57125 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57126 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57127 $as_echo_n "(cached) " >&6
57128 else
57131 ac_ext=cpp
57132 ac_cpp='$CXXCPP $CPPFLAGS'
57133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57138 /* end confdefs.h. */
57139 #include <math.h>
57141 main ()
57143 _frexpl(0, 0);
57145 return 0;
57147 _ACEOF
57148 if ac_fn_cxx_try_compile "$LINENO"; then :
57149 glibcxx_cv_func__frexpl_use=yes
57150 else
57151 glibcxx_cv_func__frexpl_use=no
57153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57154 ac_ext=c
57155 ac_cpp='$CPP $CPPFLAGS'
57156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57165 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57167 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57168 for ac_func in _frexpl
57169 do :
57170 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57171 if test "x$ac_cv_func__frexpl" = x""yes; then :
57172 cat >>confdefs.h <<_ACEOF
57173 #define HAVE__FREXPL 1
57174 _ACEOF
57177 done
57186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57187 $as_echo_n "checking for hypotl declaration... " >&6; }
57188 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57189 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57190 $as_echo_n "(cached) " >&6
57191 else
57194 ac_ext=cpp
57195 ac_cpp='$CXXCPP $CPPFLAGS'
57196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57201 /* end confdefs.h. */
57202 #include <math.h>
57204 main ()
57206 hypotl(0, 0);
57208 return 0;
57210 _ACEOF
57211 if ac_fn_cxx_try_compile "$LINENO"; then :
57212 glibcxx_cv_func_hypotl_use=yes
57213 else
57214 glibcxx_cv_func_hypotl_use=no
57216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57217 ac_ext=c
57218 ac_cpp='$CPP $CPPFLAGS'
57219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57228 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57230 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57231 for ac_func in hypotl
57232 do :
57233 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57234 if test "x$ac_cv_func_hypotl" = x""yes; then :
57235 cat >>confdefs.h <<_ACEOF
57236 #define HAVE_HYPOTL 1
57237 _ACEOF
57240 done
57242 else
57244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57245 $as_echo_n "checking for _hypotl declaration... " >&6; }
57246 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57247 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
57266 return 0;
57268 _ACEOF
57269 if ac_fn_cxx_try_compile "$LINENO"; then :
57270 glibcxx_cv_func__hypotl_use=yes
57271 else
57272 glibcxx_cv_func__hypotl_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
57285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57286 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57288 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57289 for ac_func in _hypotl
57290 do :
57291 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57292 if test "x$ac_cv_func__hypotl" = x""yes; then :
57293 cat >>confdefs.h <<_ACEOF
57294 #define HAVE__HYPOTL 1
57295 _ACEOF
57298 done
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57308 $as_echo_n "checking for ldexpl declaration... " >&6; }
57309 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57310 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57311 $as_echo_n "(cached) " >&6
57312 else
57315 ac_ext=cpp
57316 ac_cpp='$CXXCPP $CPPFLAGS'
57317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57322 /* end confdefs.h. */
57323 #include <math.h>
57325 main ()
57327 ldexpl(0, 0);
57329 return 0;
57331 _ACEOF
57332 if ac_fn_cxx_try_compile "$LINENO"; then :
57333 glibcxx_cv_func_ldexpl_use=yes
57334 else
57335 glibcxx_cv_func_ldexpl_use=no
57337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57338 ac_ext=c
57339 ac_cpp='$CPP $CPPFLAGS'
57340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57349 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57351 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57352 for ac_func in ldexpl
57353 do :
57354 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57355 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57356 cat >>confdefs.h <<_ACEOF
57357 #define HAVE_LDEXPL 1
57358 _ACEOF
57361 done
57363 else
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57366 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57367 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57368 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57369 $as_echo_n "(cached) " >&6
57370 else
57373 ac_ext=cpp
57374 ac_cpp='$CXXCPP $CPPFLAGS'
57375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57380 /* end confdefs.h. */
57381 #include <math.h>
57383 main ()
57385 _ldexpl(0, 0);
57387 return 0;
57389 _ACEOF
57390 if ac_fn_cxx_try_compile "$LINENO"; then :
57391 glibcxx_cv_func__ldexpl_use=yes
57392 else
57393 glibcxx_cv_func__ldexpl_use=no
57395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57396 ac_ext=c
57397 ac_cpp='$CPP $CPPFLAGS'
57398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57407 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57409 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57410 for ac_func in _ldexpl
57411 do :
57412 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57413 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57414 cat >>confdefs.h <<_ACEOF
57415 #define HAVE__LDEXPL 1
57416 _ACEOF
57419 done
57428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57429 $as_echo_n "checking for logl declaration... " >&6; }
57430 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57431 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57432 $as_echo_n "(cached) " >&6
57433 else
57436 ac_ext=cpp
57437 ac_cpp='$CXXCPP $CPPFLAGS'
57438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57443 /* end confdefs.h. */
57444 #include <math.h>
57445 #ifdef HAVE_IEEEFP_H
57446 #include <ieeefp.h>
57447 #endif
57450 main ()
57452 logl(0);
57454 return 0;
57456 _ACEOF
57457 if ac_fn_cxx_try_compile "$LINENO"; then :
57458 glibcxx_cv_func_logl_use=yes
57459 else
57460 glibcxx_cv_func_logl_use=no
57462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57463 ac_ext=c
57464 ac_cpp='$CPP $CPPFLAGS'
57465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57474 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57476 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57477 for ac_func in logl
57478 do :
57479 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57480 if test "x$ac_cv_func_logl" = x""yes; then :
57481 cat >>confdefs.h <<_ACEOF
57482 #define HAVE_LOGL 1
57483 _ACEOF
57486 done
57488 else
57490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57491 $as_echo_n "checking for _logl declaration... " >&6; }
57492 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57493 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57494 $as_echo_n "(cached) " >&6
57495 else
57498 ac_ext=cpp
57499 ac_cpp='$CXXCPP $CPPFLAGS'
57500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57505 /* end confdefs.h. */
57506 #include <math.h>
57507 #ifdef HAVE_IEEEFP_H
57508 #include <ieeefp.h>
57509 #endif
57512 main ()
57514 _logl(0);
57516 return 0;
57518 _ACEOF
57519 if ac_fn_cxx_try_compile "$LINENO"; then :
57520 glibcxx_cv_func__logl_use=yes
57521 else
57522 glibcxx_cv_func__logl_use=no
57524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57525 ac_ext=c
57526 ac_cpp='$CPP $CPPFLAGS'
57527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57536 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57538 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57539 for ac_func in _logl
57540 do :
57541 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57542 if test "x$ac_cv_func__logl" = x""yes; then :
57543 cat >>confdefs.h <<_ACEOF
57544 #define HAVE__LOGL 1
57545 _ACEOF
57548 done
57557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57558 $as_echo_n "checking for log10l declaration... " >&6; }
57559 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57560 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57561 $as_echo_n "(cached) " >&6
57562 else
57565 ac_ext=cpp
57566 ac_cpp='$CXXCPP $CPPFLAGS'
57567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57572 /* end confdefs.h. */
57573 #include <math.h>
57574 #ifdef HAVE_IEEEFP_H
57575 #include <ieeefp.h>
57576 #endif
57579 main ()
57581 log10l(0);
57583 return 0;
57585 _ACEOF
57586 if ac_fn_cxx_try_compile "$LINENO"; then :
57587 glibcxx_cv_func_log10l_use=yes
57588 else
57589 glibcxx_cv_func_log10l_use=no
57591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57592 ac_ext=c
57593 ac_cpp='$CPP $CPPFLAGS'
57594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57603 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57605 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57606 for ac_func in log10l
57607 do :
57608 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57609 if test "x$ac_cv_func_log10l" = x""yes; then :
57610 cat >>confdefs.h <<_ACEOF
57611 #define HAVE_LOG10L 1
57612 _ACEOF
57615 done
57617 else
57619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57620 $as_echo_n "checking for _log10l declaration... " >&6; }
57621 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57622 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57623 $as_echo_n "(cached) " >&6
57624 else
57627 ac_ext=cpp
57628 ac_cpp='$CXXCPP $CPPFLAGS'
57629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57634 /* end confdefs.h. */
57635 #include <math.h>
57636 #ifdef HAVE_IEEEFP_H
57637 #include <ieeefp.h>
57638 #endif
57641 main ()
57643 _log10l(0);
57645 return 0;
57647 _ACEOF
57648 if ac_fn_cxx_try_compile "$LINENO"; then :
57649 glibcxx_cv_func__log10l_use=yes
57650 else
57651 glibcxx_cv_func__log10l_use=no
57653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57654 ac_ext=c
57655 ac_cpp='$CPP $CPPFLAGS'
57656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57665 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57667 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57668 for ac_func in _log10l
57669 do :
57670 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57671 if test "x$ac_cv_func__log10l" = x""yes; then :
57672 cat >>confdefs.h <<_ACEOF
57673 #define HAVE__LOG10L 1
57674 _ACEOF
57677 done
57686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57687 $as_echo_n "checking for modfl declaration... " >&6; }
57688 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57689 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57690 $as_echo_n "(cached) " >&6
57691 else
57694 ac_ext=cpp
57695 ac_cpp='$CXXCPP $CPPFLAGS'
57696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57701 /* end confdefs.h. */
57702 #include <math.h>
57704 main ()
57706 modfl(0, 0);
57708 return 0;
57710 _ACEOF
57711 if ac_fn_cxx_try_compile "$LINENO"; then :
57712 glibcxx_cv_func_modfl_use=yes
57713 else
57714 glibcxx_cv_func_modfl_use=no
57716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57717 ac_ext=c
57718 ac_cpp='$CPP $CPPFLAGS'
57719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57728 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57730 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57731 for ac_func in modfl
57732 do :
57733 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57734 if test "x$ac_cv_func_modfl" = x""yes; then :
57735 cat >>confdefs.h <<_ACEOF
57736 #define HAVE_MODFL 1
57737 _ACEOF
57740 done
57742 else
57744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57745 $as_echo_n "checking for _modfl declaration... " >&6; }
57746 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57747 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57748 $as_echo_n "(cached) " >&6
57749 else
57752 ac_ext=cpp
57753 ac_cpp='$CXXCPP $CPPFLAGS'
57754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57759 /* end confdefs.h. */
57760 #include <math.h>
57762 main ()
57764 _modfl(0, 0);
57766 return 0;
57768 _ACEOF
57769 if ac_fn_cxx_try_compile "$LINENO"; then :
57770 glibcxx_cv_func__modfl_use=yes
57771 else
57772 glibcxx_cv_func__modfl_use=no
57774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57775 ac_ext=c
57776 ac_cpp='$CPP $CPPFLAGS'
57777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57786 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57788 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57789 for ac_func in _modfl
57790 do :
57791 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57792 if test "x$ac_cv_func__modfl" = x""yes; then :
57793 cat >>confdefs.h <<_ACEOF
57794 #define HAVE__MODFL 1
57795 _ACEOF
57798 done
57807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57808 $as_echo_n "checking for powl declaration... " >&6; }
57809 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57810 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57811 $as_echo_n "(cached) " >&6
57812 else
57815 ac_ext=cpp
57816 ac_cpp='$CXXCPP $CPPFLAGS'
57817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57822 /* end confdefs.h. */
57823 #include <math.h>
57825 main ()
57827 powl(0, 0);
57829 return 0;
57831 _ACEOF
57832 if ac_fn_cxx_try_compile "$LINENO"; then :
57833 glibcxx_cv_func_powl_use=yes
57834 else
57835 glibcxx_cv_func_powl_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_powl_use" >&5
57849 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57851 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57852 for ac_func in powl
57853 do :
57854 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57855 if test "x$ac_cv_func_powl" = x""yes; then :
57856 cat >>confdefs.h <<_ACEOF
57857 #define HAVE_POWL 1
57858 _ACEOF
57861 done
57863 else
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57866 $as_echo_n "checking for _powl declaration... " >&6; }
57867 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57868 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57869 $as_echo_n "(cached) " >&6
57870 else
57873 ac_ext=cpp
57874 ac_cpp='$CXXCPP $CPPFLAGS'
57875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57880 /* end confdefs.h. */
57881 #include <math.h>
57883 main ()
57885 _powl(0, 0);
57887 return 0;
57889 _ACEOF
57890 if ac_fn_cxx_try_compile "$LINENO"; then :
57891 glibcxx_cv_func__powl_use=yes
57892 else
57893 glibcxx_cv_func__powl_use=no
57895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57896 ac_ext=c
57897 ac_cpp='$CPP $CPPFLAGS'
57898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57907 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57909 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57910 for ac_func in _powl
57911 do :
57912 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57913 if test "x$ac_cv_func__powl" = x""yes; then :
57914 cat >>confdefs.h <<_ACEOF
57915 #define HAVE__POWL 1
57916 _ACEOF
57919 done
57928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57929 $as_echo_n "checking for sqrtl declaration... " >&6; }
57930 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57931 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57932 $as_echo_n "(cached) " >&6
57933 else
57936 ac_ext=cpp
57937 ac_cpp='$CXXCPP $CPPFLAGS'
57938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57943 /* end confdefs.h. */
57944 #include <math.h>
57945 #ifdef HAVE_IEEEFP_H
57946 #include <ieeefp.h>
57947 #endif
57950 main ()
57952 sqrtl(0);
57954 return 0;
57956 _ACEOF
57957 if ac_fn_cxx_try_compile "$LINENO"; then :
57958 glibcxx_cv_func_sqrtl_use=yes
57959 else
57960 glibcxx_cv_func_sqrtl_use=no
57962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57963 ac_ext=c
57964 ac_cpp='$CPP $CPPFLAGS'
57965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57974 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57976 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57977 for ac_func in sqrtl
57978 do :
57979 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57980 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57981 cat >>confdefs.h <<_ACEOF
57982 #define HAVE_SQRTL 1
57983 _ACEOF
57986 done
57988 else
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57991 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57992 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57993 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57994 $as_echo_n "(cached) " >&6
57995 else
57998 ac_ext=cpp
57999 ac_cpp='$CXXCPP $CPPFLAGS'
58000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58005 /* end confdefs.h. */
58006 #include <math.h>
58007 #ifdef HAVE_IEEEFP_H
58008 #include <ieeefp.h>
58009 #endif
58012 main ()
58014 _sqrtl(0);
58016 return 0;
58018 _ACEOF
58019 if ac_fn_cxx_try_compile "$LINENO"; then :
58020 glibcxx_cv_func__sqrtl_use=yes
58021 else
58022 glibcxx_cv_func__sqrtl_use=no
58024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58025 ac_ext=c
58026 ac_cpp='$CPP $CPPFLAGS'
58027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58036 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58038 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58039 for ac_func in _sqrtl
58040 do :
58041 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58042 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58043 cat >>confdefs.h <<_ACEOF
58044 #define HAVE__SQRTL 1
58045 _ACEOF
58048 done
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58058 $as_echo_n "checking for sincosl declaration... " >&6; }
58059 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58060 if test "${glibcxx_cv_func_sincosl_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 sincosl(0, 0, 0);
58079 return 0;
58081 _ACEOF
58082 if ac_fn_cxx_try_compile "$LINENO"; then :
58083 glibcxx_cv_func_sincosl_use=yes
58084 else
58085 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
58099 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58101 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58102 for ac_func in sincosl
58103 do :
58104 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58105 if test "x$ac_cv_func_sincosl" = x""yes; then :
58106 cat >>confdefs.h <<_ACEOF
58107 #define HAVE_SINCOSL 1
58108 _ACEOF
58111 done
58113 else
58115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58116 $as_echo_n "checking for _sincosl declaration... " >&6; }
58117 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58118 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58119 $as_echo_n "(cached) " >&6
58120 else
58123 ac_ext=cpp
58124 ac_cpp='$CXXCPP $CPPFLAGS'
58125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58130 /* end confdefs.h. */
58131 #include <math.h>
58133 main ()
58135 _sincosl(0, 0, 0);
58137 return 0;
58139 _ACEOF
58140 if ac_fn_cxx_try_compile "$LINENO"; then :
58141 glibcxx_cv_func__sincosl_use=yes
58142 else
58143 glibcxx_cv_func__sincosl_use=no
58145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58146 ac_ext=c
58147 ac_cpp='$CPP $CPPFLAGS'
58148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58157 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58159 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58160 for ac_func in _sincosl
58161 do :
58162 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58163 if test "x$ac_cv_func__sincosl" = x""yes; then :
58164 cat >>confdefs.h <<_ACEOF
58165 #define HAVE__SINCOSL 1
58166 _ACEOF
58169 done
58178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58179 $as_echo_n "checking for finitel declaration... " >&6; }
58180 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58181 if test "${glibcxx_cv_func_finitel_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>
58195 #ifdef HAVE_IEEEFP_H
58196 #include <ieeefp.h>
58197 #endif
58200 main ()
58202 finitel(0);
58204 return 0;
58206 _ACEOF
58207 if ac_fn_cxx_try_compile "$LINENO"; then :
58208 glibcxx_cv_func_finitel_use=yes
58209 else
58210 glibcxx_cv_func_finitel_use=no
58212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58213 ac_ext=c
58214 ac_cpp='$CPP $CPPFLAGS'
58215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58224 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58226 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58227 for ac_func in finitel
58228 do :
58229 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58230 if test "x$ac_cv_func_finitel" = x""yes; then :
58231 cat >>confdefs.h <<_ACEOF
58232 #define HAVE_FINITEL 1
58233 _ACEOF
58236 done
58238 else
58240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58241 $as_echo_n "checking for _finitel declaration... " >&6; }
58242 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58243 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58244 $as_echo_n "(cached) " >&6
58245 else
58248 ac_ext=cpp
58249 ac_cpp='$CXXCPP $CPPFLAGS'
58250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58255 /* end confdefs.h. */
58256 #include <math.h>
58257 #ifdef HAVE_IEEEFP_H
58258 #include <ieeefp.h>
58259 #endif
58262 main ()
58264 _finitel(0);
58266 return 0;
58268 _ACEOF
58269 if ac_fn_cxx_try_compile "$LINENO"; then :
58270 glibcxx_cv_func__finitel_use=yes
58271 else
58272 glibcxx_cv_func__finitel_use=no
58274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58275 ac_ext=c
58276 ac_cpp='$CPP $CPPFLAGS'
58277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58286 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58288 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58289 for ac_func in _finitel
58290 do :
58291 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58292 if test "x$ac_cv_func__finitel" = x""yes; then :
58293 cat >>confdefs.h <<_ACEOF
58294 #define HAVE__FINITEL 1
58295 _ACEOF
58298 done
58306 LIBS="$ac_save_LIBS"
58307 CXXFLAGS="$ac_save_CXXFLAGS"
58310 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58311 ac_save_CXXFLAGS="$CXXFLAGS"
58312 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58316 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58317 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58318 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58319 $as_echo_n "(cached) " >&6
58320 else
58323 ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58331 #include <stdlib.h>
58333 main ()
58335 at_quick_exit(0);
58337 return 0;
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func_at_quick_exit_use=yes
58342 else
58343 glibcxx_cv_func_at_quick_exit_use=no
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58357 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58358 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58359 for ac_func in at_quick_exit
58360 do :
58361 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58362 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58363 cat >>confdefs.h <<_ACEOF
58364 #define HAVE_AT_QUICK_EXIT 1
58365 _ACEOF
58368 done
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58374 $as_echo_n "checking for quick_exit declaration... " >&6; }
58375 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58376 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <stdlib.h>
58391 main ()
58393 quick_exit(0);
58395 return 0;
58397 _ACEOF
58398 if ac_fn_cxx_try_compile "$LINENO"; then :
58399 glibcxx_cv_func_quick_exit_use=yes
58400 else
58401 glibcxx_cv_func_quick_exit_use=no
58403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404 ac_ext=c
58405 ac_cpp='$CPP $CPPFLAGS'
58406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58415 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58416 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58417 for ac_func in quick_exit
58418 do :
58419 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58420 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58421 cat >>confdefs.h <<_ACEOF
58422 #define HAVE_QUICK_EXIT 1
58423 _ACEOF
58426 done
58431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58432 $as_echo_n "checking for strtold declaration... " >&6; }
58433 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58434 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58435 $as_echo_n "(cached) " >&6
58436 else
58439 ac_ext=cpp
58440 ac_cpp='$CXXCPP $CPPFLAGS'
58441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58446 /* end confdefs.h. */
58447 #include <stdlib.h>
58449 main ()
58451 strtold(0, 0);
58453 return 0;
58455 _ACEOF
58456 if ac_fn_cxx_try_compile "$LINENO"; then :
58457 glibcxx_cv_func_strtold_use=yes
58458 else
58459 glibcxx_cv_func_strtold_use=no
58461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58462 ac_ext=c
58463 ac_cpp='$CPP $CPPFLAGS'
58464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58473 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58474 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58475 for ac_func in strtold
58476 do :
58477 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58478 if test "x$ac_cv_func_strtold" = x""yes; then :
58479 cat >>confdefs.h <<_ACEOF
58480 #define HAVE_STRTOLD 1
58481 _ACEOF
58484 done
58491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58492 $as_echo_n "checking for strtof declaration... " >&6; }
58493 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58494 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58495 $as_echo_n "(cached) " >&6
58496 else
58499 ac_ext=cpp
58500 ac_cpp='$CXXCPP $CPPFLAGS'
58501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58506 /* end confdefs.h. */
58507 #include <stdlib.h>
58509 main ()
58511 strtof(0, 0);
58513 return 0;
58515 _ACEOF
58516 if ac_fn_cxx_try_compile "$LINENO"; then :
58517 glibcxx_cv_func_strtof_use=yes
58518 else
58519 glibcxx_cv_func_strtof_use=no
58521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58522 ac_ext=c
58523 ac_cpp='$CPP $CPPFLAGS'
58524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58533 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58534 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58535 for ac_func in strtof
58536 do :
58537 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58538 if test "x$ac_cv_func_strtof" = x""yes; then :
58539 cat >>confdefs.h <<_ACEOF
58540 #define HAVE_STRTOF 1
58541 _ACEOF
58544 done
58551 CXXFLAGS="$ac_save_CXXFLAGS"
58553 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58557 # Check whether --enable-tls was given.
58558 if test "${enable_tls+set}" = set; then :
58559 enableval=$enable_tls;
58560 case "$enableval" in
58561 yes|no) ;;
58562 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58563 esac
58565 else
58566 enable_tls=yes
58570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58571 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58572 if test "${gcc_cv_have_tls+set}" = set; then :
58573 $as_echo_n "(cached) " >&6
58574 else
58576 if test "$cross_compiling" = yes; then :
58577 if test x$gcc_no_link = xyes; then
58578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58581 /* end confdefs.h. */
58582 __thread int a; int b; int main() { return a = b; }
58583 _ACEOF
58584 if ac_fn_c_try_link "$LINENO"; then :
58585 chktls_save_LDFLAGS="$LDFLAGS"
58586 case $host in
58587 *-*-linux*)
58588 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58590 esac
58591 chktls_save_CFLAGS="$CFLAGS"
58592 CFLAGS="-fPIC $CFLAGS"
58593 if test x$gcc_no_link = xyes; then
58594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58597 /* end confdefs.h. */
58598 int f() { return 0; }
58599 _ACEOF
58600 if ac_fn_c_try_link "$LINENO"; then :
58601 if test x$gcc_no_link = xyes; then
58602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58605 /* end confdefs.h. */
58606 __thread int a; int b; int f() { return a = b; }
58607 _ACEOF
58608 if ac_fn_c_try_link "$LINENO"; then :
58609 gcc_cv_have_tls=yes
58610 else
58611 gcc_cv_have_tls=no
58613 rm -f core conftest.err conftest.$ac_objext \
58614 conftest$ac_exeext conftest.$ac_ext
58615 else
58616 gcc_cv_have_tls=yes
58618 rm -f core conftest.err conftest.$ac_objext \
58619 conftest$ac_exeext conftest.$ac_ext
58620 CFLAGS="$chktls_save_CFLAGS"
58621 LDFLAGS="$chktls_save_LDFLAGS"
58622 else
58623 gcc_cv_have_tls=no
58625 rm -f core conftest.err conftest.$ac_objext \
58626 conftest$ac_exeext conftest.$ac_ext
58629 else
58630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58631 /* end confdefs.h. */
58632 __thread int a; int b; int main() { return a = b; }
58633 _ACEOF
58634 if ac_fn_c_try_run "$LINENO"; then :
58635 chktls_save_LDFLAGS="$LDFLAGS"
58636 LDFLAGS="-static $LDFLAGS"
58637 if test x$gcc_no_link = xyes; then
58638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58641 /* end confdefs.h. */
58642 int main() { return 0; }
58643 _ACEOF
58644 if ac_fn_c_try_link "$LINENO"; then :
58645 if test "$cross_compiling" = yes; then :
58646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58648 as_fn_error "cannot run test program while cross compiling
58649 See \`config.log' for more details." "$LINENO" 5; }
58650 else
58651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58652 /* end confdefs.h. */
58653 __thread int a; int b; int main() { return a = b; }
58654 _ACEOF
58655 if ac_fn_c_try_run "$LINENO"; then :
58656 gcc_cv_have_tls=yes
58657 else
58658 gcc_cv_have_tls=no
58660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58661 conftest.$ac_objext conftest.beam conftest.$ac_ext
58664 else
58665 gcc_cv_have_tls=yes
58667 rm -f core conftest.err conftest.$ac_objext \
58668 conftest$ac_exeext conftest.$ac_ext
58669 LDFLAGS="$chktls_save_LDFLAGS"
58670 if test $gcc_cv_have_tls = yes; then
58671 chktls_save_CFLAGS="$CFLAGS"
58672 thread_CFLAGS=failed
58673 for flag in '' '-pthread' '-lpthread'; do
58674 CFLAGS="$flag $chktls_save_CFLAGS"
58675 if test x$gcc_no_link = xyes; then
58676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58679 /* end confdefs.h. */
58680 #include <pthread.h>
58681 void *g(void *d) { return NULL; }
58683 main ()
58685 pthread_t t; pthread_create(&t,NULL,g,NULL);
58687 return 0;
58689 _ACEOF
58690 if ac_fn_c_try_link "$LINENO"; then :
58691 thread_CFLAGS="$flag"
58693 rm -f core conftest.err conftest.$ac_objext \
58694 conftest$ac_exeext conftest.$ac_ext
58695 if test "X$thread_CFLAGS" != Xfailed; then
58696 break
58698 done
58699 CFLAGS="$chktls_save_CFLAGS"
58700 if test "X$thread_CFLAGS" != Xfailed; then
58701 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58702 if test "$cross_compiling" = yes; then :
58703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58705 as_fn_error "cannot run test program while cross compiling
58706 See \`config.log' for more details." "$LINENO" 5; }
58707 else
58708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58709 /* end confdefs.h. */
58710 #include <pthread.h>
58711 __thread int a;
58712 static int *volatile a_in_other_thread;
58713 static void *
58714 thread_func (void *arg)
58716 a_in_other_thread = &a;
58717 return (void *)0;
58720 main ()
58722 pthread_t thread;
58723 void *thread_retval;
58724 int *volatile a_in_main_thread;
58725 a_in_main_thread = &a;
58726 if (pthread_create (&thread, (pthread_attr_t *)0,
58727 thread_func, (void *)0))
58728 return 0;
58729 if (pthread_join (thread, &thread_retval))
58730 return 0;
58731 return (a_in_other_thread == a_in_main_thread);
58733 return 0;
58735 _ACEOF
58736 if ac_fn_c_try_run "$LINENO"; then :
58737 gcc_cv_have_tls=yes
58738 else
58739 gcc_cv_have_tls=no
58741 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58742 conftest.$ac_objext conftest.beam conftest.$ac_ext
58745 CFLAGS="$chktls_save_CFLAGS"
58748 else
58749 gcc_cv_have_tls=no
58751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58752 conftest.$ac_objext conftest.beam conftest.$ac_ext
58756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58757 $as_echo "$gcc_cv_have_tls" >&6; }
58758 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58760 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58768 am_save_CPPFLAGS="$CPPFLAGS"
58770 for element in $INCICONV; do
58771 haveit=
58772 for x in $CPPFLAGS; do
58774 acl_save_prefix="$prefix"
58775 prefix="$acl_final_prefix"
58776 acl_save_exec_prefix="$exec_prefix"
58777 exec_prefix="$acl_final_exec_prefix"
58778 eval x=\"$x\"
58779 exec_prefix="$acl_save_exec_prefix"
58780 prefix="$acl_save_prefix"
58782 if test "X$x" = "X$element"; then
58783 haveit=yes
58784 break
58786 done
58787 if test -z "$haveit"; then
58788 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58790 done
58793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58794 $as_echo_n "checking for iconv... " >&6; }
58795 if test "${am_cv_func_iconv+set}" = set; then :
58796 $as_echo_n "(cached) " >&6
58797 else
58799 am_cv_func_iconv="no, consider installing GNU libiconv"
58800 am_cv_lib_iconv=no
58801 if test x$gcc_no_link = xyes; then
58802 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58805 /* end confdefs.h. */
58806 #include <stdlib.h>
58807 #include <iconv.h>
58809 main ()
58811 iconv_t cd = iconv_open("","");
58812 iconv(cd,NULL,NULL,NULL,NULL);
58813 iconv_close(cd);
58815 return 0;
58817 _ACEOF
58818 if ac_fn_c_try_link "$LINENO"; then :
58819 am_cv_func_iconv=yes
58821 rm -f core conftest.err conftest.$ac_objext \
58822 conftest$ac_exeext conftest.$ac_ext
58823 if test "$am_cv_func_iconv" != yes; then
58824 am_save_LIBS="$LIBS"
58825 LIBS="$LIBS $LIBICONV"
58826 if test x$gcc_no_link = xyes; then
58827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58830 /* end confdefs.h. */
58831 #include <stdlib.h>
58832 #include <iconv.h>
58834 main ()
58836 iconv_t cd = iconv_open("","");
58837 iconv(cd,NULL,NULL,NULL,NULL);
58838 iconv_close(cd);
58840 return 0;
58842 _ACEOF
58843 if ac_fn_c_try_link "$LINENO"; then :
58844 am_cv_lib_iconv=yes
58845 am_cv_func_iconv=yes
58847 rm -f core conftest.err conftest.$ac_objext \
58848 conftest$ac_exeext conftest.$ac_ext
58849 LIBS="$am_save_LIBS"
58853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58854 $as_echo "$am_cv_func_iconv" >&6; }
58855 if test "$am_cv_func_iconv" = yes; then
58857 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58860 if test "$am_cv_lib_iconv" = yes; then
58861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58862 $as_echo_n "checking how to link with libiconv... " >&6; }
58863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58864 $as_echo "$LIBICONV" >&6; }
58865 else
58866 CPPFLAGS="$am_save_CPPFLAGS"
58867 LIBICONV=
58868 LTLIBICONV=
58873 if test "$am_cv_func_iconv" = yes; then
58874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58875 $as_echo_n "checking for iconv declaration... " >&6; }
58876 if test "${am_cv_proto_iconv+set}" = set; then :
58877 $as_echo_n "(cached) " >&6
58878 else
58880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58881 /* end confdefs.h. */
58883 #include <stdlib.h>
58884 #include <iconv.h>
58885 extern
58886 #ifdef __cplusplus
58888 #endif
58889 #if defined(__STDC__) || defined(__cplusplus)
58890 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58891 #else
58892 size_t iconv();
58893 #endif
58896 main ()
58900 return 0;
58902 _ACEOF
58903 if ac_fn_c_try_compile "$LINENO"; then :
58904 am_cv_proto_iconv_arg1=""
58905 else
58906 am_cv_proto_iconv_arg1="const"
58908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58909 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);"
58912 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58914 }$am_cv_proto_iconv" >&5
58915 $as_echo "${ac_t:-
58916 }$am_cv_proto_iconv" >&6; }
58918 cat >>confdefs.h <<_ACEOF
58919 #define ICONV_CONST $am_cv_proto_iconv_arg1
58920 _ACEOF
58925 *-mingw32*)
58927 # If we're not using GNU ld, then there's no point in even trying these
58928 # tests. Check for that first. We should have already tested for gld
58929 # by now (in libtool), but require it now just to be safe...
58930 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58931 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58935 # The name set by libtool depends on the version of libtool. Shame on us
58936 # for depending on an impl detail, but c'est la vie. Older versions used
58937 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58938 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58939 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58940 # set (hence we're using an older libtool), then set it.
58941 if test x${with_gnu_ld+set} != xset; then
58942 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58943 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58944 with_gnu_ld=no
58945 else
58946 with_gnu_ld=$ac_cv_prog_gnu_ld
58950 # Start by getting the version number. I think the libtool test already
58951 # does some of this, but throws away the result.
58952 glibcxx_ld_is_gold=no
58953 if test x"$with_gnu_ld" = x"yes"; then
58954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58955 $as_echo_n "checking for ld version... " >&6; }
58957 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58958 glibcxx_ld_is_gold=yes
58960 ldver=`$LD --version 2>/dev/null |
58961 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'`
58963 glibcxx_gnu_ld_version=`echo $ldver | \
58964 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58966 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58969 # Set --gc-sections.
58970 glibcxx_have_gc_sections=no
58971 if test "$glibcxx_ld_is_gold" = "yes"; then
58972 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58973 glibcxx_have_gc_sections=yes
58975 else
58976 glibcxx_gcsections_min_ld=21602
58977 if test x"$with_gnu_ld" = x"yes" &&
58978 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58979 glibcxx_have_gc_sections=yes
58982 if test "$glibcxx_have_gc_sections" = "yes"; then
58983 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58984 # NB: This flag only works reliably after 2.16.1. Configure tests
58985 # for this are difficult, so hard wire a value that should work.
58987 ac_test_CFLAGS="${CFLAGS+set}"
58988 ac_save_CFLAGS="$CFLAGS"
58989 CFLAGS='-Wl,--gc-sections'
58991 # Check for -Wl,--gc-sections
58992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58993 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58994 if test x$gcc_no_link = xyes; then
58995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58998 /* end confdefs.h. */
58999 int one(void) { return 1; }
59000 int two(void) { return 2; }
59003 main ()
59005 two();
59007 return 0;
59009 _ACEOF
59010 if ac_fn_c_try_link "$LINENO"; then :
59011 ac_gcsections=yes
59012 else
59013 ac_gcsections=no
59015 rm -f core conftest.err conftest.$ac_objext \
59016 conftest$ac_exeext conftest.$ac_ext
59017 if test "$ac_gcsections" = "yes"; then
59018 rm -f conftest.c
59019 touch conftest.c
59020 if $CC -c conftest.c; then
59021 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59022 grep "Warning: gc-sections option ignored" > /dev/null; then
59023 ac_gcsections=no
59026 rm -f conftest.c conftest.o conftest
59028 if test "$ac_gcsections" = "yes"; then
59029 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59032 $as_echo "$ac_gcsections" >&6; }
59034 if test "$ac_test_CFLAGS" = set; then
59035 CFLAGS="$ac_save_CFLAGS"
59036 else
59037 # this is the suspicious part
59038 CFLAGS=''
59042 # Set -z,relro.
59043 # Note this is only for shared objects.
59044 ac_ld_relro=no
59045 if test x"$with_gnu_ld" = x"yes"; then
59046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59047 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59048 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59049 if test -n "$cxx_z_relo"; then
59050 OPT_LDFLAGS="-Wl,-z,relro"
59051 ac_ld_relro=yes
59053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59054 $as_echo "$ac_ld_relro" >&6; }
59057 # Set linker optimization flags.
59058 if test x"$with_gnu_ld" = x"yes"; then
59059 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59066 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59067 ac_save_CXXFLAGS="$CXXFLAGS"
59068 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59071 $as_echo_n "checking for sin in -lm... " >&6; }
59072 if test "${ac_cv_lib_m_sin+set}" = set; then :
59073 $as_echo_n "(cached) " >&6
59074 else
59075 ac_check_lib_save_LIBS=$LIBS
59076 LIBS="-lm $LIBS"
59077 if test x$gcc_no_link = xyes; then
59078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59081 /* end confdefs.h. */
59083 /* Override any GCC internal prototype to avoid an error.
59084 Use char because int might match the return type of a GCC
59085 builtin and then its argument prototype would still apply. */
59086 #ifdef __cplusplus
59087 extern "C"
59088 #endif
59089 char sin ();
59091 main ()
59093 return sin ();
59095 return 0;
59097 _ACEOF
59098 if ac_fn_c_try_link "$LINENO"; then :
59099 ac_cv_lib_m_sin=yes
59100 else
59101 ac_cv_lib_m_sin=no
59103 rm -f core conftest.err conftest.$ac_objext \
59104 conftest$ac_exeext conftest.$ac_ext
59105 LIBS=$ac_check_lib_save_LIBS
59107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59108 $as_echo "$ac_cv_lib_m_sin" >&6; }
59109 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59110 libm="-lm"
59113 ac_save_LIBS="$LIBS"
59114 LIBS="$LIBS $libm"
59118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59119 $as_echo_n "checking for isinf declaration... " >&6; }
59120 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59121 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59122 $as_echo_n "(cached) " >&6
59123 else
59126 ac_ext=cpp
59127 ac_cpp='$CXXCPP $CPPFLAGS'
59128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59133 /* end confdefs.h. */
59134 #include <math.h>
59135 #ifdef HAVE_IEEEFP_H
59136 #include <ieeefp.h>
59137 #endif
59140 main ()
59142 isinf(0);
59144 return 0;
59146 _ACEOF
59147 if ac_fn_cxx_try_compile "$LINENO"; then :
59148 glibcxx_cv_func_isinf_use=yes
59149 else
59150 glibcxx_cv_func_isinf_use=no
59152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59153 ac_ext=c
59154 ac_cpp='$CPP $CPPFLAGS'
59155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59164 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59166 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59167 for ac_func in isinf
59168 do :
59169 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59170 if test "x$ac_cv_func_isinf" = x""yes; then :
59171 cat >>confdefs.h <<_ACEOF
59172 #define HAVE_ISINF 1
59173 _ACEOF
59176 done
59178 else
59180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59181 $as_echo_n "checking for _isinf declaration... " >&6; }
59182 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59183 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59184 $as_echo_n "(cached) " >&6
59185 else
59188 ac_ext=cpp
59189 ac_cpp='$CXXCPP $CPPFLAGS'
59190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59195 /* end confdefs.h. */
59196 #include <math.h>
59197 #ifdef HAVE_IEEEFP_H
59198 #include <ieeefp.h>
59199 #endif
59202 main ()
59204 _isinf(0);
59206 return 0;
59208 _ACEOF
59209 if ac_fn_cxx_try_compile "$LINENO"; then :
59210 glibcxx_cv_func__isinf_use=yes
59211 else
59212 glibcxx_cv_func__isinf_use=no
59214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59215 ac_ext=c
59216 ac_cpp='$CPP $CPPFLAGS'
59217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59226 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59228 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59229 for ac_func in _isinf
59230 do :
59231 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59232 if test "x$ac_cv_func__isinf" = x""yes; then :
59233 cat >>confdefs.h <<_ACEOF
59234 #define HAVE__ISINF 1
59235 _ACEOF
59238 done
59247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59248 $as_echo_n "checking for isnan declaration... " >&6; }
59249 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59250 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59251 $as_echo_n "(cached) " >&6
59252 else
59255 ac_ext=cpp
59256 ac_cpp='$CXXCPP $CPPFLAGS'
59257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59262 /* end confdefs.h. */
59263 #include <math.h>
59264 #ifdef HAVE_IEEEFP_H
59265 #include <ieeefp.h>
59266 #endif
59269 main ()
59271 isnan(0);
59273 return 0;
59275 _ACEOF
59276 if ac_fn_cxx_try_compile "$LINENO"; then :
59277 glibcxx_cv_func_isnan_use=yes
59278 else
59279 glibcxx_cv_func_isnan_use=no
59281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59282 ac_ext=c
59283 ac_cpp='$CPP $CPPFLAGS'
59284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59293 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59295 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59296 for ac_func in isnan
59297 do :
59298 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59299 if test "x$ac_cv_func_isnan" = x""yes; then :
59300 cat >>confdefs.h <<_ACEOF
59301 #define HAVE_ISNAN 1
59302 _ACEOF
59305 done
59307 else
59309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59310 $as_echo_n "checking for _isnan declaration... " >&6; }
59311 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59312 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59313 $as_echo_n "(cached) " >&6
59314 else
59317 ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h. */
59325 #include <math.h>
59326 #ifdef HAVE_IEEEFP_H
59327 #include <ieeefp.h>
59328 #endif
59331 main ()
59333 _isnan(0);
59335 return 0;
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339 glibcxx_cv_func__isnan_use=yes
59340 else
59341 glibcxx_cv_func__isnan_use=no
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344 ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59355 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59357 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59358 for ac_func in _isnan
59359 do :
59360 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59361 if test "x$ac_cv_func__isnan" = x""yes; then :
59362 cat >>confdefs.h <<_ACEOF
59363 #define HAVE__ISNAN 1
59364 _ACEOF
59367 done
59376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59377 $as_echo_n "checking for finite declaration... " >&6; }
59378 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59379 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59380 $as_echo_n "(cached) " >&6
59381 else
59384 ac_ext=cpp
59385 ac_cpp='$CXXCPP $CPPFLAGS'
59386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59391 /* end confdefs.h. */
59392 #include <math.h>
59393 #ifdef HAVE_IEEEFP_H
59394 #include <ieeefp.h>
59395 #endif
59398 main ()
59400 finite(0);
59402 return 0;
59404 _ACEOF
59405 if ac_fn_cxx_try_compile "$LINENO"; then :
59406 glibcxx_cv_func_finite_use=yes
59407 else
59408 glibcxx_cv_func_finite_use=no
59410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59411 ac_ext=c
59412 ac_cpp='$CPP $CPPFLAGS'
59413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59422 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59424 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59425 for ac_func in finite
59426 do :
59427 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59428 if test "x$ac_cv_func_finite" = x""yes; then :
59429 cat >>confdefs.h <<_ACEOF
59430 #define HAVE_FINITE 1
59431 _ACEOF
59434 done
59436 else
59438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59439 $as_echo_n "checking for _finite declaration... " >&6; }
59440 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59441 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59442 $as_echo_n "(cached) " >&6
59443 else
59446 ac_ext=cpp
59447 ac_cpp='$CXXCPP $CPPFLAGS'
59448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h. */
59454 #include <math.h>
59455 #ifdef HAVE_IEEEFP_H
59456 #include <ieeefp.h>
59457 #endif
59460 main ()
59462 _finite(0);
59464 return 0;
59466 _ACEOF
59467 if ac_fn_cxx_try_compile "$LINENO"; then :
59468 glibcxx_cv_func__finite_use=yes
59469 else
59470 glibcxx_cv_func__finite_use=no
59472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59473 ac_ext=c
59474 ac_cpp='$CPP $CPPFLAGS'
59475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59484 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59486 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59487 for ac_func in _finite
59488 do :
59489 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59490 if test "x$ac_cv_func__finite" = x""yes; then :
59491 cat >>confdefs.h <<_ACEOF
59492 #define HAVE__FINITE 1
59493 _ACEOF
59496 done
59505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59506 $as_echo_n "checking for sincos declaration... " >&6; }
59507 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59508 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59509 $as_echo_n "(cached) " >&6
59510 else
59513 ac_ext=cpp
59514 ac_cpp='$CXXCPP $CPPFLAGS'
59515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59520 /* end confdefs.h. */
59521 #include <math.h>
59523 main ()
59525 sincos(0, 0, 0);
59527 return 0;
59529 _ACEOF
59530 if ac_fn_cxx_try_compile "$LINENO"; then :
59531 glibcxx_cv_func_sincos_use=yes
59532 else
59533 glibcxx_cv_func_sincos_use=no
59535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59536 ac_ext=c
59537 ac_cpp='$CPP $CPPFLAGS'
59538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59547 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59549 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59550 for ac_func in sincos
59551 do :
59552 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59553 if test "x$ac_cv_func_sincos" = x""yes; then :
59554 cat >>confdefs.h <<_ACEOF
59555 #define HAVE_SINCOS 1
59556 _ACEOF
59559 done
59561 else
59563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59564 $as_echo_n "checking for _sincos declaration... " >&6; }
59565 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59566 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59567 $as_echo_n "(cached) " >&6
59568 else
59571 ac_ext=cpp
59572 ac_cpp='$CXXCPP $CPPFLAGS'
59573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59578 /* end confdefs.h. */
59579 #include <math.h>
59581 main ()
59583 _sincos(0, 0, 0);
59585 return 0;
59587 _ACEOF
59588 if ac_fn_cxx_try_compile "$LINENO"; then :
59589 glibcxx_cv_func__sincos_use=yes
59590 else
59591 glibcxx_cv_func__sincos_use=no
59593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59594 ac_ext=c
59595 ac_cpp='$CPP $CPPFLAGS'
59596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59605 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59607 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59608 for ac_func in _sincos
59609 do :
59610 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59611 if test "x$ac_cv_func__sincos" = x""yes; then :
59612 cat >>confdefs.h <<_ACEOF
59613 #define HAVE__SINCOS 1
59614 _ACEOF
59617 done
59626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59627 $as_echo_n "checking for fpclass declaration... " >&6; }
59628 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59629 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59630 $as_echo_n "(cached) " >&6
59631 else
59634 ac_ext=cpp
59635 ac_cpp='$CXXCPP $CPPFLAGS'
59636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59641 /* end confdefs.h. */
59642 #include <math.h>
59643 #ifdef HAVE_IEEEFP_H
59644 #include <ieeefp.h>
59645 #endif
59648 main ()
59650 fpclass(0);
59652 return 0;
59654 _ACEOF
59655 if ac_fn_cxx_try_compile "$LINENO"; then :
59656 glibcxx_cv_func_fpclass_use=yes
59657 else
59658 glibcxx_cv_func_fpclass_use=no
59660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59661 ac_ext=c
59662 ac_cpp='$CPP $CPPFLAGS'
59663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59672 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59674 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59675 for ac_func in fpclass
59676 do :
59677 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59678 if test "x$ac_cv_func_fpclass" = x""yes; then :
59679 cat >>confdefs.h <<_ACEOF
59680 #define HAVE_FPCLASS 1
59681 _ACEOF
59684 done
59686 else
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59689 $as_echo_n "checking for _fpclass declaration... " >&6; }
59690 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59691 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59692 $as_echo_n "(cached) " >&6
59693 else
59696 ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h. */
59704 #include <math.h>
59705 #ifdef HAVE_IEEEFP_H
59706 #include <ieeefp.h>
59707 #endif
59710 main ()
59712 _fpclass(0);
59714 return 0;
59716 _ACEOF
59717 if ac_fn_cxx_try_compile "$LINENO"; then :
59718 glibcxx_cv_func__fpclass_use=yes
59719 else
59720 glibcxx_cv_func__fpclass_use=no
59722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59723 ac_ext=c
59724 ac_cpp='$CPP $CPPFLAGS'
59725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59734 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59736 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59737 for ac_func in _fpclass
59738 do :
59739 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59740 if test "x$ac_cv_func__fpclass" = x""yes; then :
59741 cat >>confdefs.h <<_ACEOF
59742 #define HAVE__FPCLASS 1
59743 _ACEOF
59746 done
59755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59756 $as_echo_n "checking for qfpclass declaration... " >&6; }
59757 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59758 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59759 $as_echo_n "(cached) " >&6
59760 else
59763 ac_ext=cpp
59764 ac_cpp='$CXXCPP $CPPFLAGS'
59765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59770 /* end confdefs.h. */
59771 #include <math.h>
59772 #ifdef HAVE_IEEEFP_H
59773 #include <ieeefp.h>
59774 #endif
59777 main ()
59779 qfpclass(0);
59781 return 0;
59783 _ACEOF
59784 if ac_fn_cxx_try_compile "$LINENO"; then :
59785 glibcxx_cv_func_qfpclass_use=yes
59786 else
59787 glibcxx_cv_func_qfpclass_use=no
59789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59790 ac_ext=c
59791 ac_cpp='$CPP $CPPFLAGS'
59792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59801 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59803 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59804 for ac_func in qfpclass
59805 do :
59806 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59807 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59808 cat >>confdefs.h <<_ACEOF
59809 #define HAVE_QFPCLASS 1
59810 _ACEOF
59813 done
59815 else
59817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59818 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59819 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59820 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59821 $as_echo_n "(cached) " >&6
59822 else
59825 ac_ext=cpp
59826 ac_cpp='$CXXCPP $CPPFLAGS'
59827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h. */
59833 #include <math.h>
59834 #ifdef HAVE_IEEEFP_H
59835 #include <ieeefp.h>
59836 #endif
59839 main ()
59841 _qfpclass(0);
59843 return 0;
59845 _ACEOF
59846 if ac_fn_cxx_try_compile "$LINENO"; then :
59847 glibcxx_cv_func__qfpclass_use=yes
59848 else
59849 glibcxx_cv_func__qfpclass_use=no
59851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59852 ac_ext=c
59853 ac_cpp='$CPP $CPPFLAGS'
59854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59863 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59865 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59866 for ac_func in _qfpclass
59867 do :
59868 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59869 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59870 cat >>confdefs.h <<_ACEOF
59871 #define HAVE__QFPCLASS 1
59872 _ACEOF
59875 done
59884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59885 $as_echo_n "checking for hypot declaration... " >&6; }
59886 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59887 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59888 $as_echo_n "(cached) " >&6
59889 else
59892 ac_ext=cpp
59893 ac_cpp='$CXXCPP $CPPFLAGS'
59894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59899 /* end confdefs.h. */
59900 #include <math.h>
59902 main ()
59904 hypot(0, 0);
59906 return 0;
59908 _ACEOF
59909 if ac_fn_cxx_try_compile "$LINENO"; then :
59910 glibcxx_cv_func_hypot_use=yes
59911 else
59912 glibcxx_cv_func_hypot_use=no
59914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59915 ac_ext=c
59916 ac_cpp='$CPP $CPPFLAGS'
59917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59926 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59928 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59929 for ac_func in hypot
59930 do :
59931 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59932 if test "x$ac_cv_func_hypot" = x""yes; then :
59933 cat >>confdefs.h <<_ACEOF
59934 #define HAVE_HYPOT 1
59935 _ACEOF
59938 done
59940 else
59942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59943 $as_echo_n "checking for _hypot declaration... " >&6; }
59944 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59945 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59946 $as_echo_n "(cached) " >&6
59947 else
59950 ac_ext=cpp
59951 ac_cpp='$CXXCPP $CPPFLAGS'
59952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59957 /* end confdefs.h. */
59958 #include <math.h>
59960 main ()
59962 _hypot(0, 0);
59964 return 0;
59966 _ACEOF
59967 if ac_fn_cxx_try_compile "$LINENO"; then :
59968 glibcxx_cv_func__hypot_use=yes
59969 else
59970 glibcxx_cv_func__hypot_use=no
59972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59973 ac_ext=c
59974 ac_cpp='$CPP $CPPFLAGS'
59975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59984 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59986 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59987 for ac_func in _hypot
59988 do :
59989 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59990 if test "x$ac_cv_func__hypot" = x""yes; then :
59991 cat >>confdefs.h <<_ACEOF
59992 #define HAVE__HYPOT 1
59993 _ACEOF
59996 done
60005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60006 $as_echo_n "checking for float trig functions... " >&6; }
60007 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60008 $as_echo_n "(cached) " >&6
60009 else
60012 ac_ext=cpp
60013 ac_cpp='$CXXCPP $CPPFLAGS'
60014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60019 /* end confdefs.h. */
60020 #include <math.h>
60022 main ()
60024 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60026 return 0;
60028 _ACEOF
60029 if ac_fn_cxx_try_compile "$LINENO"; then :
60030 glibcxx_cv_func_float_trig_use=yes
60031 else
60032 glibcxx_cv_func_float_trig_use=no
60034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60035 ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60044 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60045 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60046 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60047 do :
60048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60050 eval as_val=\$$as_ac_var
60051 if test "x$as_val" = x""yes; then :
60052 cat >>confdefs.h <<_ACEOF
60053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60054 _ACEOF
60057 done
60059 else
60060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60061 $as_echo_n "checking for _float trig functions... " >&6; }
60062 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60063 $as_echo_n "(cached) " >&6
60064 else
60067 ac_ext=cpp
60068 ac_cpp='$CXXCPP $CPPFLAGS'
60069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60074 /* end confdefs.h. */
60075 #include <math.h>
60077 main ()
60079 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60081 return 0;
60083 _ACEOF
60084 if ac_fn_cxx_try_compile "$LINENO"; then :
60085 glibcxx_cv_func__float_trig_use=yes
60086 else
60087 glibcxx_cv_func__float_trig_use=no
60089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60090 ac_ext=c
60091 ac_cpp='$CPP $CPPFLAGS'
60092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60099 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60100 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60101 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60102 do :
60103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60105 eval as_val=\$$as_ac_var
60106 if test "x$as_val" = x""yes; then :
60107 cat >>confdefs.h <<_ACEOF
60108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60109 _ACEOF
60112 done
60121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60122 $as_echo_n "checking for float round functions... " >&6; }
60123 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60124 $as_echo_n "(cached) " >&6
60125 else
60128 ac_ext=cpp
60129 ac_cpp='$CXXCPP $CPPFLAGS'
60130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60135 /* end confdefs.h. */
60136 #include <math.h>
60138 main ()
60140 ceilf (0); floorf (0);
60142 return 0;
60144 _ACEOF
60145 if ac_fn_cxx_try_compile "$LINENO"; then :
60146 glibcxx_cv_func_float_round_use=yes
60147 else
60148 glibcxx_cv_func_float_round_use=no
60150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60151 ac_ext=c
60152 ac_cpp='$CPP $CPPFLAGS'
60153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60160 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60161 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60162 for ac_func in ceilf floorf
60163 do :
60164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60166 eval as_val=\$$as_ac_var
60167 if test "x$as_val" = x""yes; then :
60168 cat >>confdefs.h <<_ACEOF
60169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60170 _ACEOF
60173 done
60175 else
60176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60177 $as_echo_n "checking for _float round functions... " >&6; }
60178 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60179 $as_echo_n "(cached) " >&6
60180 else
60183 ac_ext=cpp
60184 ac_cpp='$CXXCPP $CPPFLAGS'
60185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60190 /* end confdefs.h. */
60191 #include <math.h>
60193 main ()
60195 _ceilf (0); _floorf (0);
60197 return 0;
60199 _ACEOF
60200 if ac_fn_cxx_try_compile "$LINENO"; then :
60201 glibcxx_cv_func__float_round_use=yes
60202 else
60203 glibcxx_cv_func__float_round_use=no
60205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60206 ac_ext=c
60207 ac_cpp='$CPP $CPPFLAGS'
60208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60215 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60216 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60217 for ac_func in _ceilf _floorf
60218 do :
60219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60221 eval as_val=\$$as_ac_var
60222 if test "x$as_val" = x""yes; then :
60223 cat >>confdefs.h <<_ACEOF
60224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60225 _ACEOF
60228 done
60238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60239 $as_echo_n "checking for expf declaration... " >&6; }
60240 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60241 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60242 $as_echo_n "(cached) " >&6
60243 else
60246 ac_ext=cpp
60247 ac_cpp='$CXXCPP $CPPFLAGS'
60248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60253 /* end confdefs.h. */
60254 #include <math.h>
60255 #ifdef HAVE_IEEEFP_H
60256 #include <ieeefp.h>
60257 #endif
60260 main ()
60262 expf(0);
60264 return 0;
60266 _ACEOF
60267 if ac_fn_cxx_try_compile "$LINENO"; then :
60268 glibcxx_cv_func_expf_use=yes
60269 else
60270 glibcxx_cv_func_expf_use=no
60272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60273 ac_ext=c
60274 ac_cpp='$CPP $CPPFLAGS'
60275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60284 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60286 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60287 for ac_func in expf
60288 do :
60289 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60290 if test "x$ac_cv_func_expf" = x""yes; then :
60291 cat >>confdefs.h <<_ACEOF
60292 #define HAVE_EXPF 1
60293 _ACEOF
60296 done
60298 else
60300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60301 $as_echo_n "checking for _expf declaration... " >&6; }
60302 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60303 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60304 $as_echo_n "(cached) " >&6
60305 else
60308 ac_ext=cpp
60309 ac_cpp='$CXXCPP $CPPFLAGS'
60310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60315 /* end confdefs.h. */
60316 #include <math.h>
60317 #ifdef HAVE_IEEEFP_H
60318 #include <ieeefp.h>
60319 #endif
60322 main ()
60324 _expf(0);
60326 return 0;
60328 _ACEOF
60329 if ac_fn_cxx_try_compile "$LINENO"; then :
60330 glibcxx_cv_func__expf_use=yes
60331 else
60332 glibcxx_cv_func__expf_use=no
60334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60335 ac_ext=c
60336 ac_cpp='$CPP $CPPFLAGS'
60337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60346 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60348 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60349 for ac_func in _expf
60350 do :
60351 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60352 if test "x$ac_cv_func__expf" = x""yes; then :
60353 cat >>confdefs.h <<_ACEOF
60354 #define HAVE__EXPF 1
60355 _ACEOF
60358 done
60367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60368 $as_echo_n "checking for isnanf declaration... " >&6; }
60369 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60370 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60371 $as_echo_n "(cached) " >&6
60372 else
60375 ac_ext=cpp
60376 ac_cpp='$CXXCPP $CPPFLAGS'
60377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60382 /* end confdefs.h. */
60383 #include <math.h>
60384 #ifdef HAVE_IEEEFP_H
60385 #include <ieeefp.h>
60386 #endif
60389 main ()
60391 isnanf(0);
60393 return 0;
60395 _ACEOF
60396 if ac_fn_cxx_try_compile "$LINENO"; then :
60397 glibcxx_cv_func_isnanf_use=yes
60398 else
60399 glibcxx_cv_func_isnanf_use=no
60401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60402 ac_ext=c
60403 ac_cpp='$CPP $CPPFLAGS'
60404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60413 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60415 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60416 for ac_func in isnanf
60417 do :
60418 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60419 if test "x$ac_cv_func_isnanf" = x""yes; then :
60420 cat >>confdefs.h <<_ACEOF
60421 #define HAVE_ISNANF 1
60422 _ACEOF
60425 done
60427 else
60429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60430 $as_echo_n "checking for _isnanf declaration... " >&6; }
60431 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60432 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60433 $as_echo_n "(cached) " >&6
60434 else
60437 ac_ext=cpp
60438 ac_cpp='$CXXCPP $CPPFLAGS'
60439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60444 /* end confdefs.h. */
60445 #include <math.h>
60446 #ifdef HAVE_IEEEFP_H
60447 #include <ieeefp.h>
60448 #endif
60451 main ()
60453 _isnanf(0);
60455 return 0;
60457 _ACEOF
60458 if ac_fn_cxx_try_compile "$LINENO"; then :
60459 glibcxx_cv_func__isnanf_use=yes
60460 else
60461 glibcxx_cv_func__isnanf_use=no
60463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60464 ac_ext=c
60465 ac_cpp='$CPP $CPPFLAGS'
60466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60475 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60477 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60478 for ac_func in _isnanf
60479 do :
60480 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60481 if test "x$ac_cv_func__isnanf" = x""yes; then :
60482 cat >>confdefs.h <<_ACEOF
60483 #define HAVE__ISNANF 1
60484 _ACEOF
60487 done
60496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60497 $as_echo_n "checking for isinff declaration... " >&6; }
60498 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60499 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60500 $as_echo_n "(cached) " >&6
60501 else
60504 ac_ext=cpp
60505 ac_cpp='$CXXCPP $CPPFLAGS'
60506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60511 /* end confdefs.h. */
60512 #include <math.h>
60513 #ifdef HAVE_IEEEFP_H
60514 #include <ieeefp.h>
60515 #endif
60518 main ()
60520 isinff(0);
60522 return 0;
60524 _ACEOF
60525 if ac_fn_cxx_try_compile "$LINENO"; then :
60526 glibcxx_cv_func_isinff_use=yes
60527 else
60528 glibcxx_cv_func_isinff_use=no
60530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60531 ac_ext=c
60532 ac_cpp='$CPP $CPPFLAGS'
60533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60542 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60544 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60545 for ac_func in isinff
60546 do :
60547 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60548 if test "x$ac_cv_func_isinff" = x""yes; then :
60549 cat >>confdefs.h <<_ACEOF
60550 #define HAVE_ISINFF 1
60551 _ACEOF
60554 done
60556 else
60558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60559 $as_echo_n "checking for _isinff declaration... " >&6; }
60560 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60561 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60562 $as_echo_n "(cached) " >&6
60563 else
60566 ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h. */
60574 #include <math.h>
60575 #ifdef HAVE_IEEEFP_H
60576 #include <ieeefp.h>
60577 #endif
60580 main ()
60582 _isinff(0);
60584 return 0;
60586 _ACEOF
60587 if ac_fn_cxx_try_compile "$LINENO"; then :
60588 glibcxx_cv_func__isinff_use=yes
60589 else
60590 glibcxx_cv_func__isinff_use=no
60592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60593 ac_ext=c
60594 ac_cpp='$CPP $CPPFLAGS'
60595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60604 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60606 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60607 for ac_func in _isinff
60608 do :
60609 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60610 if test "x$ac_cv_func__isinff" = x""yes; then :
60611 cat >>confdefs.h <<_ACEOF
60612 #define HAVE__ISINFF 1
60613 _ACEOF
60616 done
60625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60626 $as_echo_n "checking for atan2f declaration... " >&6; }
60627 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60628 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60629 $as_echo_n "(cached) " >&6
60630 else
60633 ac_ext=cpp
60634 ac_cpp='$CXXCPP $CPPFLAGS'
60635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60640 /* end confdefs.h. */
60641 #include <math.h>
60643 main ()
60645 atan2f(0, 0);
60647 return 0;
60649 _ACEOF
60650 if ac_fn_cxx_try_compile "$LINENO"; then :
60651 glibcxx_cv_func_atan2f_use=yes
60652 else
60653 glibcxx_cv_func_atan2f_use=no
60655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60656 ac_ext=c
60657 ac_cpp='$CPP $CPPFLAGS'
60658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60667 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60669 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60670 for ac_func in atan2f
60671 do :
60672 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60673 if test "x$ac_cv_func_atan2f" = x""yes; then :
60674 cat >>confdefs.h <<_ACEOF
60675 #define HAVE_ATAN2F 1
60676 _ACEOF
60679 done
60681 else
60683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60684 $as_echo_n "checking for _atan2f declaration... " >&6; }
60685 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60686 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60687 $as_echo_n "(cached) " >&6
60688 else
60691 ac_ext=cpp
60692 ac_cpp='$CXXCPP $CPPFLAGS'
60693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60698 /* end confdefs.h. */
60699 #include <math.h>
60701 main ()
60703 _atan2f(0, 0);
60705 return 0;
60707 _ACEOF
60708 if ac_fn_cxx_try_compile "$LINENO"; then :
60709 glibcxx_cv_func__atan2f_use=yes
60710 else
60711 glibcxx_cv_func__atan2f_use=no
60713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60714 ac_ext=c
60715 ac_cpp='$CPP $CPPFLAGS'
60716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60725 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60727 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60728 for ac_func in _atan2f
60729 do :
60730 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60731 if test "x$ac_cv_func__atan2f" = x""yes; then :
60732 cat >>confdefs.h <<_ACEOF
60733 #define HAVE__ATAN2F 1
60734 _ACEOF
60737 done
60746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60747 $as_echo_n "checking for fabsf declaration... " >&6; }
60748 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60749 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60750 $as_echo_n "(cached) " >&6
60751 else
60754 ac_ext=cpp
60755 ac_cpp='$CXXCPP $CPPFLAGS'
60756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60761 /* end confdefs.h. */
60762 #include <math.h>
60763 #ifdef HAVE_IEEEFP_H
60764 #include <ieeefp.h>
60765 #endif
60768 main ()
60770 fabsf(0);
60772 return 0;
60774 _ACEOF
60775 if ac_fn_cxx_try_compile "$LINENO"; then :
60776 glibcxx_cv_func_fabsf_use=yes
60777 else
60778 glibcxx_cv_func_fabsf_use=no
60780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60781 ac_ext=c
60782 ac_cpp='$CPP $CPPFLAGS'
60783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60792 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60794 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60795 for ac_func in fabsf
60796 do :
60797 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60798 if test "x$ac_cv_func_fabsf" = x""yes; then :
60799 cat >>confdefs.h <<_ACEOF
60800 #define HAVE_FABSF 1
60801 _ACEOF
60804 done
60806 else
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60809 $as_echo_n "checking for _fabsf declaration... " >&6; }
60810 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60811 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60812 $as_echo_n "(cached) " >&6
60813 else
60816 ac_ext=cpp
60817 ac_cpp='$CXXCPP $CPPFLAGS'
60818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60823 /* end confdefs.h. */
60824 #include <math.h>
60825 #ifdef HAVE_IEEEFP_H
60826 #include <ieeefp.h>
60827 #endif
60830 main ()
60832 _fabsf(0);
60834 return 0;
60836 _ACEOF
60837 if ac_fn_cxx_try_compile "$LINENO"; then :
60838 glibcxx_cv_func__fabsf_use=yes
60839 else
60840 glibcxx_cv_func__fabsf_use=no
60842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60843 ac_ext=c
60844 ac_cpp='$CPP $CPPFLAGS'
60845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60854 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60856 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60857 for ac_func in _fabsf
60858 do :
60859 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60860 if test "x$ac_cv_func__fabsf" = x""yes; then :
60861 cat >>confdefs.h <<_ACEOF
60862 #define HAVE__FABSF 1
60863 _ACEOF
60866 done
60875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60876 $as_echo_n "checking for fmodf declaration... " >&6; }
60877 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60878 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60879 $as_echo_n "(cached) " >&6
60880 else
60883 ac_ext=cpp
60884 ac_cpp='$CXXCPP $CPPFLAGS'
60885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60890 /* end confdefs.h. */
60891 #include <math.h>
60893 main ()
60895 fmodf(0, 0);
60897 return 0;
60899 _ACEOF
60900 if ac_fn_cxx_try_compile "$LINENO"; then :
60901 glibcxx_cv_func_fmodf_use=yes
60902 else
60903 glibcxx_cv_func_fmodf_use=no
60905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60906 ac_ext=c
60907 ac_cpp='$CPP $CPPFLAGS'
60908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60917 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60919 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60920 for ac_func in fmodf
60921 do :
60922 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60923 if test "x$ac_cv_func_fmodf" = x""yes; then :
60924 cat >>confdefs.h <<_ACEOF
60925 #define HAVE_FMODF 1
60926 _ACEOF
60929 done
60931 else
60933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60934 $as_echo_n "checking for _fmodf declaration... " >&6; }
60935 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60936 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60937 $as_echo_n "(cached) " >&6
60938 else
60941 ac_ext=cpp
60942 ac_cpp='$CXXCPP $CPPFLAGS'
60943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60948 /* end confdefs.h. */
60949 #include <math.h>
60951 main ()
60953 _fmodf(0, 0);
60955 return 0;
60957 _ACEOF
60958 if ac_fn_cxx_try_compile "$LINENO"; then :
60959 glibcxx_cv_func__fmodf_use=yes
60960 else
60961 glibcxx_cv_func__fmodf_use=no
60963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60964 ac_ext=c
60965 ac_cpp='$CPP $CPPFLAGS'
60966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60975 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60977 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60978 for ac_func in _fmodf
60979 do :
60980 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60981 if test "x$ac_cv_func__fmodf" = x""yes; then :
60982 cat >>confdefs.h <<_ACEOF
60983 #define HAVE__FMODF 1
60984 _ACEOF
60987 done
60996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60997 $as_echo_n "checking for frexpf declaration... " >&6; }
60998 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60999 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61000 $as_echo_n "(cached) " >&6
61001 else
61004 ac_ext=cpp
61005 ac_cpp='$CXXCPP $CPPFLAGS'
61006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61011 /* end confdefs.h. */
61012 #include <math.h>
61014 main ()
61016 frexpf(0, 0);
61018 return 0;
61020 _ACEOF
61021 if ac_fn_cxx_try_compile "$LINENO"; then :
61022 glibcxx_cv_func_frexpf_use=yes
61023 else
61024 glibcxx_cv_func_frexpf_use=no
61026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61027 ac_ext=c
61028 ac_cpp='$CPP $CPPFLAGS'
61029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61038 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61040 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61041 for ac_func in frexpf
61042 do :
61043 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61044 if test "x$ac_cv_func_frexpf" = x""yes; then :
61045 cat >>confdefs.h <<_ACEOF
61046 #define HAVE_FREXPF 1
61047 _ACEOF
61050 done
61052 else
61054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61055 $as_echo_n "checking for _frexpf declaration... " >&6; }
61056 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61057 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61058 $as_echo_n "(cached) " >&6
61059 else
61062 ac_ext=cpp
61063 ac_cpp='$CXXCPP $CPPFLAGS'
61064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61069 /* end confdefs.h. */
61070 #include <math.h>
61072 main ()
61074 _frexpf(0, 0);
61076 return 0;
61078 _ACEOF
61079 if ac_fn_cxx_try_compile "$LINENO"; then :
61080 glibcxx_cv_func__frexpf_use=yes
61081 else
61082 glibcxx_cv_func__frexpf_use=no
61084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61085 ac_ext=c
61086 ac_cpp='$CPP $CPPFLAGS'
61087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61096 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61098 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61099 for ac_func in _frexpf
61100 do :
61101 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61102 if test "x$ac_cv_func__frexpf" = x""yes; then :
61103 cat >>confdefs.h <<_ACEOF
61104 #define HAVE__FREXPF 1
61105 _ACEOF
61108 done
61117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61118 $as_echo_n "checking for hypotf declaration... " >&6; }
61119 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61120 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61121 $as_echo_n "(cached) " >&6
61122 else
61125 ac_ext=cpp
61126 ac_cpp='$CXXCPP $CPPFLAGS'
61127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61132 /* end confdefs.h. */
61133 #include <math.h>
61135 main ()
61137 hypotf(0, 0);
61139 return 0;
61141 _ACEOF
61142 if ac_fn_cxx_try_compile "$LINENO"; then :
61143 glibcxx_cv_func_hypotf_use=yes
61144 else
61145 glibcxx_cv_func_hypotf_use=no
61147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61148 ac_ext=c
61149 ac_cpp='$CPP $CPPFLAGS'
61150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61159 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61161 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61162 for ac_func in hypotf
61163 do :
61164 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61165 if test "x$ac_cv_func_hypotf" = x""yes; then :
61166 cat >>confdefs.h <<_ACEOF
61167 #define HAVE_HYPOTF 1
61168 _ACEOF
61171 done
61173 else
61175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61176 $as_echo_n "checking for _hypotf declaration... " >&6; }
61177 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61178 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61179 $as_echo_n "(cached) " >&6
61180 else
61183 ac_ext=cpp
61184 ac_cpp='$CXXCPP $CPPFLAGS'
61185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61190 /* end confdefs.h. */
61191 #include <math.h>
61193 main ()
61195 _hypotf(0, 0);
61197 return 0;
61199 _ACEOF
61200 if ac_fn_cxx_try_compile "$LINENO"; then :
61201 glibcxx_cv_func__hypotf_use=yes
61202 else
61203 glibcxx_cv_func__hypotf_use=no
61205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61206 ac_ext=c
61207 ac_cpp='$CPP $CPPFLAGS'
61208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61217 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61219 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61220 for ac_func in _hypotf
61221 do :
61222 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61223 if test "x$ac_cv_func__hypotf" = x""yes; then :
61224 cat >>confdefs.h <<_ACEOF
61225 #define HAVE__HYPOTF 1
61226 _ACEOF
61229 done
61238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61239 $as_echo_n "checking for ldexpf declaration... " >&6; }
61240 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61241 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61242 $as_echo_n "(cached) " >&6
61243 else
61246 ac_ext=cpp
61247 ac_cpp='$CXXCPP $CPPFLAGS'
61248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61253 /* end confdefs.h. */
61254 #include <math.h>
61256 main ()
61258 ldexpf(0, 0);
61260 return 0;
61262 _ACEOF
61263 if ac_fn_cxx_try_compile "$LINENO"; then :
61264 glibcxx_cv_func_ldexpf_use=yes
61265 else
61266 glibcxx_cv_func_ldexpf_use=no
61268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61269 ac_ext=c
61270 ac_cpp='$CPP $CPPFLAGS'
61271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61280 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61282 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61283 for ac_func in ldexpf
61284 do :
61285 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61286 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61287 cat >>confdefs.h <<_ACEOF
61288 #define HAVE_LDEXPF 1
61289 _ACEOF
61292 done
61294 else
61296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61297 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61298 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61299 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61300 $as_echo_n "(cached) " >&6
61301 else
61304 ac_ext=cpp
61305 ac_cpp='$CXXCPP $CPPFLAGS'
61306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61311 /* end confdefs.h. */
61312 #include <math.h>
61314 main ()
61316 _ldexpf(0, 0);
61318 return 0;
61320 _ACEOF
61321 if ac_fn_cxx_try_compile "$LINENO"; then :
61322 glibcxx_cv_func__ldexpf_use=yes
61323 else
61324 glibcxx_cv_func__ldexpf_use=no
61326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61327 ac_ext=c
61328 ac_cpp='$CPP $CPPFLAGS'
61329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61338 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61340 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61341 for ac_func in _ldexpf
61342 do :
61343 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61344 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61345 cat >>confdefs.h <<_ACEOF
61346 #define HAVE__LDEXPF 1
61347 _ACEOF
61350 done
61359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61360 $as_echo_n "checking for logf declaration... " >&6; }
61361 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61362 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61363 $as_echo_n "(cached) " >&6
61364 else
61367 ac_ext=cpp
61368 ac_cpp='$CXXCPP $CPPFLAGS'
61369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61374 /* end confdefs.h. */
61375 #include <math.h>
61376 #ifdef HAVE_IEEEFP_H
61377 #include <ieeefp.h>
61378 #endif
61381 main ()
61383 logf(0);
61385 return 0;
61387 _ACEOF
61388 if ac_fn_cxx_try_compile "$LINENO"; then :
61389 glibcxx_cv_func_logf_use=yes
61390 else
61391 glibcxx_cv_func_logf_use=no
61393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61394 ac_ext=c
61395 ac_cpp='$CPP $CPPFLAGS'
61396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61405 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61407 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61408 for ac_func in logf
61409 do :
61410 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61411 if test "x$ac_cv_func_logf" = x""yes; then :
61412 cat >>confdefs.h <<_ACEOF
61413 #define HAVE_LOGF 1
61414 _ACEOF
61417 done
61419 else
61421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61422 $as_echo_n "checking for _logf declaration... " >&6; }
61423 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61424 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61425 $as_echo_n "(cached) " >&6
61426 else
61429 ac_ext=cpp
61430 ac_cpp='$CXXCPP $CPPFLAGS'
61431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61436 /* end confdefs.h. */
61437 #include <math.h>
61438 #ifdef HAVE_IEEEFP_H
61439 #include <ieeefp.h>
61440 #endif
61443 main ()
61445 _logf(0);
61447 return 0;
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451 glibcxx_cv_func__logf_use=yes
61452 else
61453 glibcxx_cv_func__logf_use=no
61455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61456 ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61467 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61469 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61470 for ac_func in _logf
61471 do :
61472 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61473 if test "x$ac_cv_func__logf" = x""yes; then :
61474 cat >>confdefs.h <<_ACEOF
61475 #define HAVE__LOGF 1
61476 _ACEOF
61479 done
61488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61489 $as_echo_n "checking for log10f declaration... " >&6; }
61490 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61491 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61492 $as_echo_n "(cached) " >&6
61493 else
61496 ac_ext=cpp
61497 ac_cpp='$CXXCPP $CPPFLAGS'
61498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61503 /* end confdefs.h. */
61504 #include <math.h>
61505 #ifdef HAVE_IEEEFP_H
61506 #include <ieeefp.h>
61507 #endif
61510 main ()
61512 log10f(0);
61514 return 0;
61516 _ACEOF
61517 if ac_fn_cxx_try_compile "$LINENO"; then :
61518 glibcxx_cv_func_log10f_use=yes
61519 else
61520 glibcxx_cv_func_log10f_use=no
61522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61523 ac_ext=c
61524 ac_cpp='$CPP $CPPFLAGS'
61525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61534 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61536 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61537 for ac_func in log10f
61538 do :
61539 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61540 if test "x$ac_cv_func_log10f" = x""yes; then :
61541 cat >>confdefs.h <<_ACEOF
61542 #define HAVE_LOG10F 1
61543 _ACEOF
61546 done
61548 else
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61551 $as_echo_n "checking for _log10f declaration... " >&6; }
61552 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61553 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61554 $as_echo_n "(cached) " >&6
61555 else
61558 ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h. */
61566 #include <math.h>
61567 #ifdef HAVE_IEEEFP_H
61568 #include <ieeefp.h>
61569 #endif
61572 main ()
61574 _log10f(0);
61576 return 0;
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580 glibcxx_cv_func__log10f_use=yes
61581 else
61582 glibcxx_cv_func__log10f_use=no
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585 ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61596 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61598 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61599 for ac_func in _log10f
61600 do :
61601 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61602 if test "x$ac_cv_func__log10f" = x""yes; then :
61603 cat >>confdefs.h <<_ACEOF
61604 #define HAVE__LOG10F 1
61605 _ACEOF
61608 done
61617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61618 $as_echo_n "checking for modff declaration... " >&6; }
61619 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61620 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61621 $as_echo_n "(cached) " >&6
61622 else
61625 ac_ext=cpp
61626 ac_cpp='$CXXCPP $CPPFLAGS'
61627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61632 /* end confdefs.h. */
61633 #include <math.h>
61635 main ()
61637 modff(0, 0);
61639 return 0;
61641 _ACEOF
61642 if ac_fn_cxx_try_compile "$LINENO"; then :
61643 glibcxx_cv_func_modff_use=yes
61644 else
61645 glibcxx_cv_func_modff_use=no
61647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61648 ac_ext=c
61649 ac_cpp='$CPP $CPPFLAGS'
61650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61659 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61661 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61662 for ac_func in modff
61663 do :
61664 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61665 if test "x$ac_cv_func_modff" = x""yes; then :
61666 cat >>confdefs.h <<_ACEOF
61667 #define HAVE_MODFF 1
61668 _ACEOF
61671 done
61673 else
61675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61676 $as_echo_n "checking for _modff declaration... " >&6; }
61677 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61678 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61679 $as_echo_n "(cached) " >&6
61680 else
61683 ac_ext=cpp
61684 ac_cpp='$CXXCPP $CPPFLAGS'
61685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61690 /* end confdefs.h. */
61691 #include <math.h>
61693 main ()
61695 _modff(0, 0);
61697 return 0;
61699 _ACEOF
61700 if ac_fn_cxx_try_compile "$LINENO"; then :
61701 glibcxx_cv_func__modff_use=yes
61702 else
61703 glibcxx_cv_func__modff_use=no
61705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61706 ac_ext=c
61707 ac_cpp='$CPP $CPPFLAGS'
61708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61717 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61719 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61720 for ac_func in _modff
61721 do :
61722 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61723 if test "x$ac_cv_func__modff" = x""yes; then :
61724 cat >>confdefs.h <<_ACEOF
61725 #define HAVE__MODFF 1
61726 _ACEOF
61729 done
61738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61739 $as_echo_n "checking for modf declaration... " >&6; }
61740 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61741 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61742 $as_echo_n "(cached) " >&6
61743 else
61746 ac_ext=cpp
61747 ac_cpp='$CXXCPP $CPPFLAGS'
61748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61753 /* end confdefs.h. */
61754 #include <math.h>
61756 main ()
61758 modf(0, 0);
61760 return 0;
61762 _ACEOF
61763 if ac_fn_cxx_try_compile "$LINENO"; then :
61764 glibcxx_cv_func_modf_use=yes
61765 else
61766 glibcxx_cv_func_modf_use=no
61768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61769 ac_ext=c
61770 ac_cpp='$CPP $CPPFLAGS'
61771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61780 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61782 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61783 for ac_func in modf
61784 do :
61785 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61786 if test "x$ac_cv_func_modf" = x""yes; then :
61787 cat >>confdefs.h <<_ACEOF
61788 #define HAVE_MODF 1
61789 _ACEOF
61792 done
61794 else
61796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61797 $as_echo_n "checking for _modf declaration... " >&6; }
61798 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61799 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61800 $as_echo_n "(cached) " >&6
61801 else
61804 ac_ext=cpp
61805 ac_cpp='$CXXCPP $CPPFLAGS'
61806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61811 /* end confdefs.h. */
61812 #include <math.h>
61814 main ()
61816 _modf(0, 0);
61818 return 0;
61820 _ACEOF
61821 if ac_fn_cxx_try_compile "$LINENO"; then :
61822 glibcxx_cv_func__modf_use=yes
61823 else
61824 glibcxx_cv_func__modf_use=no
61826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61827 ac_ext=c
61828 ac_cpp='$CPP $CPPFLAGS'
61829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61838 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61840 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61841 for ac_func in _modf
61842 do :
61843 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61844 if test "x$ac_cv_func__modf" = x""yes; then :
61845 cat >>confdefs.h <<_ACEOF
61846 #define HAVE__MODF 1
61847 _ACEOF
61850 done
61859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61860 $as_echo_n "checking for powf declaration... " >&6; }
61861 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61862 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61863 $as_echo_n "(cached) " >&6
61864 else
61867 ac_ext=cpp
61868 ac_cpp='$CXXCPP $CPPFLAGS'
61869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61874 /* end confdefs.h. */
61875 #include <math.h>
61877 main ()
61879 powf(0, 0);
61881 return 0;
61883 _ACEOF
61884 if ac_fn_cxx_try_compile "$LINENO"; then :
61885 glibcxx_cv_func_powf_use=yes
61886 else
61887 glibcxx_cv_func_powf_use=no
61889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61890 ac_ext=c
61891 ac_cpp='$CPP $CPPFLAGS'
61892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61901 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61903 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61904 for ac_func in powf
61905 do :
61906 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61907 if test "x$ac_cv_func_powf" = x""yes; then :
61908 cat >>confdefs.h <<_ACEOF
61909 #define HAVE_POWF 1
61910 _ACEOF
61913 done
61915 else
61917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61918 $as_echo_n "checking for _powf declaration... " >&6; }
61919 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61920 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61921 $as_echo_n "(cached) " >&6
61922 else
61925 ac_ext=cpp
61926 ac_cpp='$CXXCPP $CPPFLAGS'
61927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61932 /* end confdefs.h. */
61933 #include <math.h>
61935 main ()
61937 _powf(0, 0);
61939 return 0;
61941 _ACEOF
61942 if ac_fn_cxx_try_compile "$LINENO"; then :
61943 glibcxx_cv_func__powf_use=yes
61944 else
61945 glibcxx_cv_func__powf_use=no
61947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61948 ac_ext=c
61949 ac_cpp='$CPP $CPPFLAGS'
61950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61959 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61961 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61962 for ac_func in _powf
61963 do :
61964 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61965 if test "x$ac_cv_func__powf" = x""yes; then :
61966 cat >>confdefs.h <<_ACEOF
61967 #define HAVE__POWF 1
61968 _ACEOF
61971 done
61980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61981 $as_echo_n "checking for sqrtf declaration... " >&6; }
61982 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61983 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61984 $as_echo_n "(cached) " >&6
61985 else
61988 ac_ext=cpp
61989 ac_cpp='$CXXCPP $CPPFLAGS'
61990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61995 /* end confdefs.h. */
61996 #include <math.h>
61997 #ifdef HAVE_IEEEFP_H
61998 #include <ieeefp.h>
61999 #endif
62002 main ()
62004 sqrtf(0);
62006 return 0;
62008 _ACEOF
62009 if ac_fn_cxx_try_compile "$LINENO"; then :
62010 glibcxx_cv_func_sqrtf_use=yes
62011 else
62012 glibcxx_cv_func_sqrtf_use=no
62014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62015 ac_ext=c
62016 ac_cpp='$CPP $CPPFLAGS'
62017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62026 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62028 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62029 for ac_func in sqrtf
62030 do :
62031 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62032 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62033 cat >>confdefs.h <<_ACEOF
62034 #define HAVE_SQRTF 1
62035 _ACEOF
62038 done
62040 else
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62043 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62044 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62045 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62046 $as_echo_n "(cached) " >&6
62047 else
62050 ac_ext=cpp
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62057 /* end confdefs.h. */
62058 #include <math.h>
62059 #ifdef HAVE_IEEEFP_H
62060 #include <ieeefp.h>
62061 #endif
62064 main ()
62066 _sqrtf(0);
62068 return 0;
62070 _ACEOF
62071 if ac_fn_cxx_try_compile "$LINENO"; then :
62072 glibcxx_cv_func__sqrtf_use=yes
62073 else
62074 glibcxx_cv_func__sqrtf_use=no
62076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62077 ac_ext=c
62078 ac_cpp='$CPP $CPPFLAGS'
62079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62088 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62090 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62091 for ac_func in _sqrtf
62092 do :
62093 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62094 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62095 cat >>confdefs.h <<_ACEOF
62096 #define HAVE__SQRTF 1
62097 _ACEOF
62100 done
62109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62110 $as_echo_n "checking for sincosf declaration... " >&6; }
62111 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62112 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62113 $as_echo_n "(cached) " >&6
62114 else
62117 ac_ext=cpp
62118 ac_cpp='$CXXCPP $CPPFLAGS'
62119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62124 /* end confdefs.h. */
62125 #include <math.h>
62127 main ()
62129 sincosf(0, 0, 0);
62131 return 0;
62133 _ACEOF
62134 if ac_fn_cxx_try_compile "$LINENO"; then :
62135 glibcxx_cv_func_sincosf_use=yes
62136 else
62137 glibcxx_cv_func_sincosf_use=no
62139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62140 ac_ext=c
62141 ac_cpp='$CPP $CPPFLAGS'
62142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62151 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62153 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62154 for ac_func in sincosf
62155 do :
62156 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62157 if test "x$ac_cv_func_sincosf" = x""yes; then :
62158 cat >>confdefs.h <<_ACEOF
62159 #define HAVE_SINCOSF 1
62160 _ACEOF
62163 done
62165 else
62167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62168 $as_echo_n "checking for _sincosf declaration... " >&6; }
62169 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62170 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62171 $as_echo_n "(cached) " >&6
62172 else
62175 ac_ext=cpp
62176 ac_cpp='$CXXCPP $CPPFLAGS'
62177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62182 /* end confdefs.h. */
62183 #include <math.h>
62185 main ()
62187 _sincosf(0, 0, 0);
62189 return 0;
62191 _ACEOF
62192 if ac_fn_cxx_try_compile "$LINENO"; then :
62193 glibcxx_cv_func__sincosf_use=yes
62194 else
62195 glibcxx_cv_func__sincosf_use=no
62197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62198 ac_ext=c
62199 ac_cpp='$CPP $CPPFLAGS'
62200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62209 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62211 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62212 for ac_func in _sincosf
62213 do :
62214 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62215 if test "x$ac_cv_func__sincosf" = x""yes; then :
62216 cat >>confdefs.h <<_ACEOF
62217 #define HAVE__SINCOSF 1
62218 _ACEOF
62221 done
62230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62231 $as_echo_n "checking for finitef declaration... " >&6; }
62232 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62233 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62234 $as_echo_n "(cached) " >&6
62235 else
62238 ac_ext=cpp
62239 ac_cpp='$CXXCPP $CPPFLAGS'
62240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62245 /* end confdefs.h. */
62246 #include <math.h>
62247 #ifdef HAVE_IEEEFP_H
62248 #include <ieeefp.h>
62249 #endif
62252 main ()
62254 finitef(0);
62256 return 0;
62258 _ACEOF
62259 if ac_fn_cxx_try_compile "$LINENO"; then :
62260 glibcxx_cv_func_finitef_use=yes
62261 else
62262 glibcxx_cv_func_finitef_use=no
62264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62265 ac_ext=c
62266 ac_cpp='$CPP $CPPFLAGS'
62267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62276 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62278 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62279 for ac_func in finitef
62280 do :
62281 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62282 if test "x$ac_cv_func_finitef" = x""yes; then :
62283 cat >>confdefs.h <<_ACEOF
62284 #define HAVE_FINITEF 1
62285 _ACEOF
62288 done
62290 else
62292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62293 $as_echo_n "checking for _finitef declaration... " >&6; }
62294 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62295 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62296 $as_echo_n "(cached) " >&6
62297 else
62300 ac_ext=cpp
62301 ac_cpp='$CXXCPP $CPPFLAGS'
62302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62307 /* end confdefs.h. */
62308 #include <math.h>
62309 #ifdef HAVE_IEEEFP_H
62310 #include <ieeefp.h>
62311 #endif
62314 main ()
62316 _finitef(0);
62318 return 0;
62320 _ACEOF
62321 if ac_fn_cxx_try_compile "$LINENO"; then :
62322 glibcxx_cv_func__finitef_use=yes
62323 else
62324 glibcxx_cv_func__finitef_use=no
62326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62327 ac_ext=c
62328 ac_cpp='$CPP $CPPFLAGS'
62329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62338 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62340 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62341 for ac_func in _finitef
62342 do :
62343 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62344 if test "x$ac_cv_func__finitef" = x""yes; then :
62345 cat >>confdefs.h <<_ACEOF
62346 #define HAVE__FINITEF 1
62347 _ACEOF
62350 done
62359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62360 $as_echo_n "checking for long double trig functions... " >&6; }
62361 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62362 $as_echo_n "(cached) " >&6
62363 else
62366 ac_ext=cpp
62367 ac_cpp='$CXXCPP $CPPFLAGS'
62368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62373 /* end confdefs.h. */
62374 #include <math.h>
62376 main ()
62378 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62380 return 0;
62382 _ACEOF
62383 if ac_fn_cxx_try_compile "$LINENO"; then :
62384 glibcxx_cv_func_long_double_trig_use=yes
62385 else
62386 glibcxx_cv_func_long_double_trig_use=no
62388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62389 ac_ext=c
62390 ac_cpp='$CPP $CPPFLAGS'
62391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62398 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62399 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62400 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62401 do :
62402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62404 eval as_val=\$$as_ac_var
62405 if test "x$as_val" = x""yes; then :
62406 cat >>confdefs.h <<_ACEOF
62407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62408 _ACEOF
62411 done
62413 else
62414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62415 $as_echo_n "checking for _long double trig functions... " >&6; }
62416 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62417 $as_echo_n "(cached) " >&6
62418 else
62421 ac_ext=cpp
62422 ac_cpp='$CXXCPP $CPPFLAGS'
62423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62428 /* end confdefs.h. */
62429 #include <math.h>
62431 main ()
62433 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62435 return 0;
62437 _ACEOF
62438 if ac_fn_cxx_try_compile "$LINENO"; then :
62439 glibcxx_cv_func__long_double_trig_use=yes
62440 else
62441 glibcxx_cv_func__long_double_trig_use=no
62443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62444 ac_ext=c
62445 ac_cpp='$CPP $CPPFLAGS'
62446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62453 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62454 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62455 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62456 do :
62457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62459 eval as_val=\$$as_ac_var
62460 if test "x$as_val" = x""yes; then :
62461 cat >>confdefs.h <<_ACEOF
62462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62463 _ACEOF
62466 done
62475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62476 $as_echo_n "checking for long double round functions... " >&6; }
62477 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62478 $as_echo_n "(cached) " >&6
62479 else
62482 ac_ext=cpp
62483 ac_cpp='$CXXCPP $CPPFLAGS'
62484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62489 /* end confdefs.h. */
62490 #include <math.h>
62492 main ()
62494 ceill (0); floorl (0);
62496 return 0;
62498 _ACEOF
62499 if ac_fn_cxx_try_compile "$LINENO"; then :
62500 glibcxx_cv_func_long_double_round_use=yes
62501 else
62502 glibcxx_cv_func_long_double_round_use=no
62504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62505 ac_ext=c
62506 ac_cpp='$CPP $CPPFLAGS'
62507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62514 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62515 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62516 for ac_func in ceill floorl
62517 do :
62518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62520 eval as_val=\$$as_ac_var
62521 if test "x$as_val" = x""yes; then :
62522 cat >>confdefs.h <<_ACEOF
62523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62524 _ACEOF
62527 done
62529 else
62530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62531 $as_echo_n "checking for _long double round functions... " >&6; }
62532 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62533 $as_echo_n "(cached) " >&6
62534 else
62537 ac_ext=cpp
62538 ac_cpp='$CXXCPP $CPPFLAGS'
62539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62544 /* end confdefs.h. */
62545 #include <math.h>
62547 main ()
62549 _ceill (0); _floorl (0);
62551 return 0;
62553 _ACEOF
62554 if ac_fn_cxx_try_compile "$LINENO"; then :
62555 glibcxx_cv_func__long_double_round_use=yes
62556 else
62557 glibcxx_cv_func__long_double_round_use=no
62559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62560 ac_ext=c
62561 ac_cpp='$CPP $CPPFLAGS'
62562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62569 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62570 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62571 for ac_func in _ceill _floorl
62572 do :
62573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62575 eval as_val=\$$as_ac_var
62576 if test "x$as_val" = x""yes; then :
62577 cat >>confdefs.h <<_ACEOF
62578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62579 _ACEOF
62582 done
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62593 $as_echo_n "checking for isnanl declaration... " >&6; }
62594 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62595 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62596 $as_echo_n "(cached) " >&6
62597 else
62600 ac_ext=cpp
62601 ac_cpp='$CXXCPP $CPPFLAGS'
62602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62607 /* end confdefs.h. */
62608 #include <math.h>
62609 #ifdef HAVE_IEEEFP_H
62610 #include <ieeefp.h>
62611 #endif
62614 main ()
62616 isnanl(0);
62618 return 0;
62620 _ACEOF
62621 if ac_fn_cxx_try_compile "$LINENO"; then :
62622 glibcxx_cv_func_isnanl_use=yes
62623 else
62624 glibcxx_cv_func_isnanl_use=no
62626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62627 ac_ext=c
62628 ac_cpp='$CPP $CPPFLAGS'
62629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62638 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62640 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62641 for ac_func in isnanl
62642 do :
62643 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62644 if test "x$ac_cv_func_isnanl" = x""yes; then :
62645 cat >>confdefs.h <<_ACEOF
62646 #define HAVE_ISNANL 1
62647 _ACEOF
62650 done
62652 else
62654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62655 $as_echo_n "checking for _isnanl declaration... " >&6; }
62656 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62657 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62658 $as_echo_n "(cached) " >&6
62659 else
62662 ac_ext=cpp
62663 ac_cpp='$CXXCPP $CPPFLAGS'
62664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62669 /* end confdefs.h. */
62670 #include <math.h>
62671 #ifdef HAVE_IEEEFP_H
62672 #include <ieeefp.h>
62673 #endif
62676 main ()
62678 _isnanl(0);
62680 return 0;
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684 glibcxx_cv_func__isnanl_use=yes
62685 else
62686 glibcxx_cv_func__isnanl_use=no
62688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62689 ac_ext=c
62690 ac_cpp='$CPP $CPPFLAGS'
62691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62700 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62702 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62703 for ac_func in _isnanl
62704 do :
62705 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62706 if test "x$ac_cv_func__isnanl" = x""yes; then :
62707 cat >>confdefs.h <<_ACEOF
62708 #define HAVE__ISNANL 1
62709 _ACEOF
62712 done
62721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62722 $as_echo_n "checking for isinfl declaration... " >&6; }
62723 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62724 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62725 $as_echo_n "(cached) " >&6
62726 else
62729 ac_ext=cpp
62730 ac_cpp='$CXXCPP $CPPFLAGS'
62731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62736 /* end confdefs.h. */
62737 #include <math.h>
62738 #ifdef HAVE_IEEEFP_H
62739 #include <ieeefp.h>
62740 #endif
62743 main ()
62745 isinfl(0);
62747 return 0;
62749 _ACEOF
62750 if ac_fn_cxx_try_compile "$LINENO"; then :
62751 glibcxx_cv_func_isinfl_use=yes
62752 else
62753 glibcxx_cv_func_isinfl_use=no
62755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62756 ac_ext=c
62757 ac_cpp='$CPP $CPPFLAGS'
62758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62767 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62769 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62770 for ac_func in isinfl
62771 do :
62772 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62773 if test "x$ac_cv_func_isinfl" = x""yes; then :
62774 cat >>confdefs.h <<_ACEOF
62775 #define HAVE_ISINFL 1
62776 _ACEOF
62779 done
62781 else
62783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62784 $as_echo_n "checking for _isinfl declaration... " >&6; }
62785 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62786 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62787 $as_echo_n "(cached) " >&6
62788 else
62791 ac_ext=cpp
62792 ac_cpp='$CXXCPP $CPPFLAGS'
62793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62798 /* end confdefs.h. */
62799 #include <math.h>
62800 #ifdef HAVE_IEEEFP_H
62801 #include <ieeefp.h>
62802 #endif
62805 main ()
62807 _isinfl(0);
62809 return 0;
62811 _ACEOF
62812 if ac_fn_cxx_try_compile "$LINENO"; then :
62813 glibcxx_cv_func__isinfl_use=yes
62814 else
62815 glibcxx_cv_func__isinfl_use=no
62817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62818 ac_ext=c
62819 ac_cpp='$CPP $CPPFLAGS'
62820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62829 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62831 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62832 for ac_func in _isinfl
62833 do :
62834 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62835 if test "x$ac_cv_func__isinfl" = x""yes; then :
62836 cat >>confdefs.h <<_ACEOF
62837 #define HAVE__ISINFL 1
62838 _ACEOF
62841 done
62850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62851 $as_echo_n "checking for atan2l declaration... " >&6; }
62852 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62853 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62854 $as_echo_n "(cached) " >&6
62855 else
62858 ac_ext=cpp
62859 ac_cpp='$CXXCPP $CPPFLAGS'
62860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62865 /* end confdefs.h. */
62866 #include <math.h>
62868 main ()
62870 atan2l(0, 0);
62872 return 0;
62874 _ACEOF
62875 if ac_fn_cxx_try_compile "$LINENO"; then :
62876 glibcxx_cv_func_atan2l_use=yes
62877 else
62878 glibcxx_cv_func_atan2l_use=no
62880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62881 ac_ext=c
62882 ac_cpp='$CPP $CPPFLAGS'
62883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62892 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62894 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62895 for ac_func in atan2l
62896 do :
62897 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62898 if test "x$ac_cv_func_atan2l" = x""yes; then :
62899 cat >>confdefs.h <<_ACEOF
62900 #define HAVE_ATAN2L 1
62901 _ACEOF
62904 done
62906 else
62908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62909 $as_echo_n "checking for _atan2l declaration... " >&6; }
62910 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62911 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62912 $as_echo_n "(cached) " >&6
62913 else
62916 ac_ext=cpp
62917 ac_cpp='$CXXCPP $CPPFLAGS'
62918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62923 /* end confdefs.h. */
62924 #include <math.h>
62926 main ()
62928 _atan2l(0, 0);
62930 return 0;
62932 _ACEOF
62933 if ac_fn_cxx_try_compile "$LINENO"; then :
62934 glibcxx_cv_func__atan2l_use=yes
62935 else
62936 glibcxx_cv_func__atan2l_use=no
62938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62939 ac_ext=c
62940 ac_cpp='$CPP $CPPFLAGS'
62941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62950 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62952 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62953 for ac_func in _atan2l
62954 do :
62955 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62956 if test "x$ac_cv_func__atan2l" = x""yes; then :
62957 cat >>confdefs.h <<_ACEOF
62958 #define HAVE__ATAN2L 1
62959 _ACEOF
62962 done
62971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62972 $as_echo_n "checking for expl declaration... " >&6; }
62973 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62974 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62975 $as_echo_n "(cached) " >&6
62976 else
62979 ac_ext=cpp
62980 ac_cpp='$CXXCPP $CPPFLAGS'
62981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62986 /* end confdefs.h. */
62987 #include <math.h>
62988 #ifdef HAVE_IEEEFP_H
62989 #include <ieeefp.h>
62990 #endif
62993 main ()
62995 expl(0);
62997 return 0;
62999 _ACEOF
63000 if ac_fn_cxx_try_compile "$LINENO"; then :
63001 glibcxx_cv_func_expl_use=yes
63002 else
63003 glibcxx_cv_func_expl_use=no
63005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63006 ac_ext=c
63007 ac_cpp='$CPP $CPPFLAGS'
63008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63017 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63019 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63020 for ac_func in expl
63021 do :
63022 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63023 if test "x$ac_cv_func_expl" = x""yes; then :
63024 cat >>confdefs.h <<_ACEOF
63025 #define HAVE_EXPL 1
63026 _ACEOF
63029 done
63031 else
63033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63034 $as_echo_n "checking for _expl declaration... " >&6; }
63035 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63036 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63037 $as_echo_n "(cached) " >&6
63038 else
63041 ac_ext=cpp
63042 ac_cpp='$CXXCPP $CPPFLAGS'
63043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63048 /* end confdefs.h. */
63049 #include <math.h>
63050 #ifdef HAVE_IEEEFP_H
63051 #include <ieeefp.h>
63052 #endif
63055 main ()
63057 _expl(0);
63059 return 0;
63061 _ACEOF
63062 if ac_fn_cxx_try_compile "$LINENO"; then :
63063 glibcxx_cv_func__expl_use=yes
63064 else
63065 glibcxx_cv_func__expl_use=no
63067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63068 ac_ext=c
63069 ac_cpp='$CPP $CPPFLAGS'
63070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63079 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63081 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63082 for ac_func in _expl
63083 do :
63084 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63085 if test "x$ac_cv_func__expl" = x""yes; then :
63086 cat >>confdefs.h <<_ACEOF
63087 #define HAVE__EXPL 1
63088 _ACEOF
63091 done
63100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63101 $as_echo_n "checking for fabsl declaration... " >&6; }
63102 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63103 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63104 $as_echo_n "(cached) " >&6
63105 else
63108 ac_ext=cpp
63109 ac_cpp='$CXXCPP $CPPFLAGS'
63110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63115 /* end confdefs.h. */
63116 #include <math.h>
63117 #ifdef HAVE_IEEEFP_H
63118 #include <ieeefp.h>
63119 #endif
63122 main ()
63124 fabsl(0);
63126 return 0;
63128 _ACEOF
63129 if ac_fn_cxx_try_compile "$LINENO"; then :
63130 glibcxx_cv_func_fabsl_use=yes
63131 else
63132 glibcxx_cv_func_fabsl_use=no
63134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63135 ac_ext=c
63136 ac_cpp='$CPP $CPPFLAGS'
63137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63146 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63148 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63149 for ac_func in fabsl
63150 do :
63151 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63152 if test "x$ac_cv_func_fabsl" = x""yes; then :
63153 cat >>confdefs.h <<_ACEOF
63154 #define HAVE_FABSL 1
63155 _ACEOF
63158 done
63160 else
63162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63163 $as_echo_n "checking for _fabsl declaration... " >&6; }
63164 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63165 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63166 $as_echo_n "(cached) " >&6
63167 else
63170 ac_ext=cpp
63171 ac_cpp='$CXXCPP $CPPFLAGS'
63172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63177 /* end confdefs.h. */
63178 #include <math.h>
63179 #ifdef HAVE_IEEEFP_H
63180 #include <ieeefp.h>
63181 #endif
63184 main ()
63186 _fabsl(0);
63188 return 0;
63190 _ACEOF
63191 if ac_fn_cxx_try_compile "$LINENO"; then :
63192 glibcxx_cv_func__fabsl_use=yes
63193 else
63194 glibcxx_cv_func__fabsl_use=no
63196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63197 ac_ext=c
63198 ac_cpp='$CPP $CPPFLAGS'
63199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63208 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63210 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63211 for ac_func in _fabsl
63212 do :
63213 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63214 if test "x$ac_cv_func__fabsl" = x""yes; then :
63215 cat >>confdefs.h <<_ACEOF
63216 #define HAVE__FABSL 1
63217 _ACEOF
63220 done
63229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63230 $as_echo_n "checking for fmodl declaration... " >&6; }
63231 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63232 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63233 $as_echo_n "(cached) " >&6
63234 else
63237 ac_ext=cpp
63238 ac_cpp='$CXXCPP $CPPFLAGS'
63239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63244 /* end confdefs.h. */
63245 #include <math.h>
63247 main ()
63249 fmodl(0, 0);
63251 return 0;
63253 _ACEOF
63254 if ac_fn_cxx_try_compile "$LINENO"; then :
63255 glibcxx_cv_func_fmodl_use=yes
63256 else
63257 glibcxx_cv_func_fmodl_use=no
63259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63260 ac_ext=c
63261 ac_cpp='$CPP $CPPFLAGS'
63262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63271 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63273 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63274 for ac_func in fmodl
63275 do :
63276 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63277 if test "x$ac_cv_func_fmodl" = x""yes; then :
63278 cat >>confdefs.h <<_ACEOF
63279 #define HAVE_FMODL 1
63280 _ACEOF
63283 done
63285 else
63287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63288 $as_echo_n "checking for _fmodl declaration... " >&6; }
63289 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63290 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63291 $as_echo_n "(cached) " >&6
63292 else
63295 ac_ext=cpp
63296 ac_cpp='$CXXCPP $CPPFLAGS'
63297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63302 /* end confdefs.h. */
63303 #include <math.h>
63305 main ()
63307 _fmodl(0, 0);
63309 return 0;
63311 _ACEOF
63312 if ac_fn_cxx_try_compile "$LINENO"; then :
63313 glibcxx_cv_func__fmodl_use=yes
63314 else
63315 glibcxx_cv_func__fmodl_use=no
63317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63318 ac_ext=c
63319 ac_cpp='$CPP $CPPFLAGS'
63320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63329 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63331 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63332 for ac_func in _fmodl
63333 do :
63334 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63335 if test "x$ac_cv_func__fmodl" = x""yes; then :
63336 cat >>confdefs.h <<_ACEOF
63337 #define HAVE__FMODL 1
63338 _ACEOF
63341 done
63350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63351 $as_echo_n "checking for frexpl declaration... " >&6; }
63352 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63353 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63354 $as_echo_n "(cached) " >&6
63355 else
63358 ac_ext=cpp
63359 ac_cpp='$CXXCPP $CPPFLAGS'
63360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63365 /* end confdefs.h. */
63366 #include <math.h>
63368 main ()
63370 frexpl(0, 0);
63372 return 0;
63374 _ACEOF
63375 if ac_fn_cxx_try_compile "$LINENO"; then :
63376 glibcxx_cv_func_frexpl_use=yes
63377 else
63378 glibcxx_cv_func_frexpl_use=no
63380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63381 ac_ext=c
63382 ac_cpp='$CPP $CPPFLAGS'
63383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63392 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63394 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63395 for ac_func in frexpl
63396 do :
63397 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63398 if test "x$ac_cv_func_frexpl" = x""yes; then :
63399 cat >>confdefs.h <<_ACEOF
63400 #define HAVE_FREXPL 1
63401 _ACEOF
63404 done
63406 else
63408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63409 $as_echo_n "checking for _frexpl declaration... " >&6; }
63410 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63411 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63412 $as_echo_n "(cached) " >&6
63413 else
63416 ac_ext=cpp
63417 ac_cpp='$CXXCPP $CPPFLAGS'
63418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63423 /* end confdefs.h. */
63424 #include <math.h>
63426 main ()
63428 _frexpl(0, 0);
63430 return 0;
63432 _ACEOF
63433 if ac_fn_cxx_try_compile "$LINENO"; then :
63434 glibcxx_cv_func__frexpl_use=yes
63435 else
63436 glibcxx_cv_func__frexpl_use=no
63438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63439 ac_ext=c
63440 ac_cpp='$CPP $CPPFLAGS'
63441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63450 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63452 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63453 for ac_func in _frexpl
63454 do :
63455 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63456 if test "x$ac_cv_func__frexpl" = x""yes; then :
63457 cat >>confdefs.h <<_ACEOF
63458 #define HAVE__FREXPL 1
63459 _ACEOF
63462 done
63471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63472 $as_echo_n "checking for hypotl declaration... " >&6; }
63473 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63474 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63475 $as_echo_n "(cached) " >&6
63476 else
63479 ac_ext=cpp
63480 ac_cpp='$CXXCPP $CPPFLAGS'
63481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63486 /* end confdefs.h. */
63487 #include <math.h>
63489 main ()
63491 hypotl(0, 0);
63493 return 0;
63495 _ACEOF
63496 if ac_fn_cxx_try_compile "$LINENO"; then :
63497 glibcxx_cv_func_hypotl_use=yes
63498 else
63499 glibcxx_cv_func_hypotl_use=no
63501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63502 ac_ext=c
63503 ac_cpp='$CPP $CPPFLAGS'
63504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63513 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63515 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63516 for ac_func in hypotl
63517 do :
63518 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63519 if test "x$ac_cv_func_hypotl" = x""yes; then :
63520 cat >>confdefs.h <<_ACEOF
63521 #define HAVE_HYPOTL 1
63522 _ACEOF
63525 done
63527 else
63529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63530 $as_echo_n "checking for _hypotl declaration... " >&6; }
63531 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63532 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63533 $as_echo_n "(cached) " >&6
63534 else
63537 ac_ext=cpp
63538 ac_cpp='$CXXCPP $CPPFLAGS'
63539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63544 /* end confdefs.h. */
63545 #include <math.h>
63547 main ()
63549 _hypotl(0, 0);
63551 return 0;
63553 _ACEOF
63554 if ac_fn_cxx_try_compile "$LINENO"; then :
63555 glibcxx_cv_func__hypotl_use=yes
63556 else
63557 glibcxx_cv_func__hypotl_use=no
63559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63560 ac_ext=c
63561 ac_cpp='$CPP $CPPFLAGS'
63562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63571 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63573 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63574 for ac_func in _hypotl
63575 do :
63576 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63577 if test "x$ac_cv_func__hypotl" = x""yes; then :
63578 cat >>confdefs.h <<_ACEOF
63579 #define HAVE__HYPOTL 1
63580 _ACEOF
63583 done
63592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63593 $as_echo_n "checking for ldexpl declaration... " >&6; }
63594 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63595 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63596 $as_echo_n "(cached) " >&6
63597 else
63600 ac_ext=cpp
63601 ac_cpp='$CXXCPP $CPPFLAGS'
63602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63607 /* end confdefs.h. */
63608 #include <math.h>
63610 main ()
63612 ldexpl(0, 0);
63614 return 0;
63616 _ACEOF
63617 if ac_fn_cxx_try_compile "$LINENO"; then :
63618 glibcxx_cv_func_ldexpl_use=yes
63619 else
63620 glibcxx_cv_func_ldexpl_use=no
63622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63623 ac_ext=c
63624 ac_cpp='$CPP $CPPFLAGS'
63625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63634 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63636 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63637 for ac_func in ldexpl
63638 do :
63639 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63640 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63641 cat >>confdefs.h <<_ACEOF
63642 #define HAVE_LDEXPL 1
63643 _ACEOF
63646 done
63648 else
63650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63651 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63652 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63653 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63654 $as_echo_n "(cached) " >&6
63655 else
63658 ac_ext=cpp
63659 ac_cpp='$CXXCPP $CPPFLAGS'
63660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63665 /* end confdefs.h. */
63666 #include <math.h>
63668 main ()
63670 _ldexpl(0, 0);
63672 return 0;
63674 _ACEOF
63675 if ac_fn_cxx_try_compile "$LINENO"; then :
63676 glibcxx_cv_func__ldexpl_use=yes
63677 else
63678 glibcxx_cv_func__ldexpl_use=no
63680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63681 ac_ext=c
63682 ac_cpp='$CPP $CPPFLAGS'
63683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63692 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63694 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63695 for ac_func in _ldexpl
63696 do :
63697 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63698 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63699 cat >>confdefs.h <<_ACEOF
63700 #define HAVE__LDEXPL 1
63701 _ACEOF
63704 done
63713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63714 $as_echo_n "checking for logl declaration... " >&6; }
63715 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63716 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63717 $as_echo_n "(cached) " >&6
63718 else
63721 ac_ext=cpp
63722 ac_cpp='$CXXCPP $CPPFLAGS'
63723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63728 /* end confdefs.h. */
63729 #include <math.h>
63730 #ifdef HAVE_IEEEFP_H
63731 #include <ieeefp.h>
63732 #endif
63735 main ()
63737 logl(0);
63739 return 0;
63741 _ACEOF
63742 if ac_fn_cxx_try_compile "$LINENO"; then :
63743 glibcxx_cv_func_logl_use=yes
63744 else
63745 glibcxx_cv_func_logl_use=no
63747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63748 ac_ext=c
63749 ac_cpp='$CPP $CPPFLAGS'
63750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63759 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63761 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63762 for ac_func in logl
63763 do :
63764 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63765 if test "x$ac_cv_func_logl" = x""yes; then :
63766 cat >>confdefs.h <<_ACEOF
63767 #define HAVE_LOGL 1
63768 _ACEOF
63771 done
63773 else
63775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63776 $as_echo_n "checking for _logl declaration... " >&6; }
63777 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63778 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63779 $as_echo_n "(cached) " >&6
63780 else
63783 ac_ext=cpp
63784 ac_cpp='$CXXCPP $CPPFLAGS'
63785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63790 /* end confdefs.h. */
63791 #include <math.h>
63792 #ifdef HAVE_IEEEFP_H
63793 #include <ieeefp.h>
63794 #endif
63797 main ()
63799 _logl(0);
63801 return 0;
63803 _ACEOF
63804 if ac_fn_cxx_try_compile "$LINENO"; then :
63805 glibcxx_cv_func__logl_use=yes
63806 else
63807 glibcxx_cv_func__logl_use=no
63809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63810 ac_ext=c
63811 ac_cpp='$CPP $CPPFLAGS'
63812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63821 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63823 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63824 for ac_func in _logl
63825 do :
63826 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63827 if test "x$ac_cv_func__logl" = x""yes; then :
63828 cat >>confdefs.h <<_ACEOF
63829 #define HAVE__LOGL 1
63830 _ACEOF
63833 done
63842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63843 $as_echo_n "checking for log10l declaration... " >&6; }
63844 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63845 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63846 $as_echo_n "(cached) " >&6
63847 else
63850 ac_ext=cpp
63851 ac_cpp='$CXXCPP $CPPFLAGS'
63852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63857 /* end confdefs.h. */
63858 #include <math.h>
63859 #ifdef HAVE_IEEEFP_H
63860 #include <ieeefp.h>
63861 #endif
63864 main ()
63866 log10l(0);
63868 return 0;
63870 _ACEOF
63871 if ac_fn_cxx_try_compile "$LINENO"; then :
63872 glibcxx_cv_func_log10l_use=yes
63873 else
63874 glibcxx_cv_func_log10l_use=no
63876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63877 ac_ext=c
63878 ac_cpp='$CPP $CPPFLAGS'
63879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63888 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63890 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63891 for ac_func in log10l
63892 do :
63893 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63894 if test "x$ac_cv_func_log10l" = x""yes; then :
63895 cat >>confdefs.h <<_ACEOF
63896 #define HAVE_LOG10L 1
63897 _ACEOF
63900 done
63902 else
63904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63905 $as_echo_n "checking for _log10l declaration... " >&6; }
63906 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63907 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63908 $as_echo_n "(cached) " >&6
63909 else
63912 ac_ext=cpp
63913 ac_cpp='$CXXCPP $CPPFLAGS'
63914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63919 /* end confdefs.h. */
63920 #include <math.h>
63921 #ifdef HAVE_IEEEFP_H
63922 #include <ieeefp.h>
63923 #endif
63926 main ()
63928 _log10l(0);
63930 return 0;
63932 _ACEOF
63933 if ac_fn_cxx_try_compile "$LINENO"; then :
63934 glibcxx_cv_func__log10l_use=yes
63935 else
63936 glibcxx_cv_func__log10l_use=no
63938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63939 ac_ext=c
63940 ac_cpp='$CPP $CPPFLAGS'
63941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63950 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63952 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63953 for ac_func in _log10l
63954 do :
63955 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63956 if test "x$ac_cv_func__log10l" = x""yes; then :
63957 cat >>confdefs.h <<_ACEOF
63958 #define HAVE__LOG10L 1
63959 _ACEOF
63962 done
63971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63972 $as_echo_n "checking for modfl declaration... " >&6; }
63973 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63974 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63975 $as_echo_n "(cached) " >&6
63976 else
63979 ac_ext=cpp
63980 ac_cpp='$CXXCPP $CPPFLAGS'
63981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63986 /* end confdefs.h. */
63987 #include <math.h>
63989 main ()
63991 modfl(0, 0);
63993 return 0;
63995 _ACEOF
63996 if ac_fn_cxx_try_compile "$LINENO"; then :
63997 glibcxx_cv_func_modfl_use=yes
63998 else
63999 glibcxx_cv_func_modfl_use=no
64001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64002 ac_ext=c
64003 ac_cpp='$CPP $CPPFLAGS'
64004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64013 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64015 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64016 for ac_func in modfl
64017 do :
64018 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64019 if test "x$ac_cv_func_modfl" = x""yes; then :
64020 cat >>confdefs.h <<_ACEOF
64021 #define HAVE_MODFL 1
64022 _ACEOF
64025 done
64027 else
64029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64030 $as_echo_n "checking for _modfl declaration... " >&6; }
64031 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64032 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64033 $as_echo_n "(cached) " >&6
64034 else
64037 ac_ext=cpp
64038 ac_cpp='$CXXCPP $CPPFLAGS'
64039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64044 /* end confdefs.h. */
64045 #include <math.h>
64047 main ()
64049 _modfl(0, 0);
64051 return 0;
64053 _ACEOF
64054 if ac_fn_cxx_try_compile "$LINENO"; then :
64055 glibcxx_cv_func__modfl_use=yes
64056 else
64057 glibcxx_cv_func__modfl_use=no
64059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64060 ac_ext=c
64061 ac_cpp='$CPP $CPPFLAGS'
64062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64071 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64073 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64074 for ac_func in _modfl
64075 do :
64076 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64077 if test "x$ac_cv_func__modfl" = x""yes; then :
64078 cat >>confdefs.h <<_ACEOF
64079 #define HAVE__MODFL 1
64080 _ACEOF
64083 done
64092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64093 $as_echo_n "checking for powl declaration... " >&6; }
64094 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64095 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64096 $as_echo_n "(cached) " >&6
64097 else
64100 ac_ext=cpp
64101 ac_cpp='$CXXCPP $CPPFLAGS'
64102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64107 /* end confdefs.h. */
64108 #include <math.h>
64110 main ()
64112 powl(0, 0);
64114 return 0;
64116 _ACEOF
64117 if ac_fn_cxx_try_compile "$LINENO"; then :
64118 glibcxx_cv_func_powl_use=yes
64119 else
64120 glibcxx_cv_func_powl_use=no
64122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64123 ac_ext=c
64124 ac_cpp='$CPP $CPPFLAGS'
64125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64134 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64136 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64137 for ac_func in powl
64138 do :
64139 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64140 if test "x$ac_cv_func_powl" = x""yes; then :
64141 cat >>confdefs.h <<_ACEOF
64142 #define HAVE_POWL 1
64143 _ACEOF
64146 done
64148 else
64150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64151 $as_echo_n "checking for _powl declaration... " >&6; }
64152 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64153 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64154 $as_echo_n "(cached) " >&6
64155 else
64158 ac_ext=cpp
64159 ac_cpp='$CXXCPP $CPPFLAGS'
64160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64165 /* end confdefs.h. */
64166 #include <math.h>
64168 main ()
64170 _powl(0, 0);
64172 return 0;
64174 _ACEOF
64175 if ac_fn_cxx_try_compile "$LINENO"; then :
64176 glibcxx_cv_func__powl_use=yes
64177 else
64178 glibcxx_cv_func__powl_use=no
64180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64181 ac_ext=c
64182 ac_cpp='$CPP $CPPFLAGS'
64183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64192 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64194 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64195 for ac_func in _powl
64196 do :
64197 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64198 if test "x$ac_cv_func__powl" = x""yes; then :
64199 cat >>confdefs.h <<_ACEOF
64200 #define HAVE__POWL 1
64201 _ACEOF
64204 done
64213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64214 $as_echo_n "checking for sqrtl declaration... " >&6; }
64215 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64216 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64217 $as_echo_n "(cached) " >&6
64218 else
64221 ac_ext=cpp
64222 ac_cpp='$CXXCPP $CPPFLAGS'
64223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64228 /* end confdefs.h. */
64229 #include <math.h>
64230 #ifdef HAVE_IEEEFP_H
64231 #include <ieeefp.h>
64232 #endif
64235 main ()
64237 sqrtl(0);
64239 return 0;
64241 _ACEOF
64242 if ac_fn_cxx_try_compile "$LINENO"; then :
64243 glibcxx_cv_func_sqrtl_use=yes
64244 else
64245 glibcxx_cv_func_sqrtl_use=no
64247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64248 ac_ext=c
64249 ac_cpp='$CPP $CPPFLAGS'
64250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64259 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64261 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64262 for ac_func in sqrtl
64263 do :
64264 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64265 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64266 cat >>confdefs.h <<_ACEOF
64267 #define HAVE_SQRTL 1
64268 _ACEOF
64271 done
64273 else
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64276 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64277 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64278 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64279 $as_echo_n "(cached) " >&6
64280 else
64283 ac_ext=cpp
64284 ac_cpp='$CXXCPP $CPPFLAGS'
64285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64290 /* end confdefs.h. */
64291 #include <math.h>
64292 #ifdef HAVE_IEEEFP_H
64293 #include <ieeefp.h>
64294 #endif
64297 main ()
64299 _sqrtl(0);
64301 return 0;
64303 _ACEOF
64304 if ac_fn_cxx_try_compile "$LINENO"; then :
64305 glibcxx_cv_func__sqrtl_use=yes
64306 else
64307 glibcxx_cv_func__sqrtl_use=no
64309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64310 ac_ext=c
64311 ac_cpp='$CPP $CPPFLAGS'
64312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64321 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64323 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64324 for ac_func in _sqrtl
64325 do :
64326 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64327 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64328 cat >>confdefs.h <<_ACEOF
64329 #define HAVE__SQRTL 1
64330 _ACEOF
64333 done
64342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64343 $as_echo_n "checking for sincosl declaration... " >&6; }
64344 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64345 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64346 $as_echo_n "(cached) " >&6
64347 else
64350 ac_ext=cpp
64351 ac_cpp='$CXXCPP $CPPFLAGS'
64352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64357 /* end confdefs.h. */
64358 #include <math.h>
64360 main ()
64362 sincosl(0, 0, 0);
64364 return 0;
64366 _ACEOF
64367 if ac_fn_cxx_try_compile "$LINENO"; then :
64368 glibcxx_cv_func_sincosl_use=yes
64369 else
64370 glibcxx_cv_func_sincosl_use=no
64372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64373 ac_ext=c
64374 ac_cpp='$CPP $CPPFLAGS'
64375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64384 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64386 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64387 for ac_func in sincosl
64388 do :
64389 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64390 if test "x$ac_cv_func_sincosl" = x""yes; then :
64391 cat >>confdefs.h <<_ACEOF
64392 #define HAVE_SINCOSL 1
64393 _ACEOF
64396 done
64398 else
64400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64401 $as_echo_n "checking for _sincosl declaration... " >&6; }
64402 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64403 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64404 $as_echo_n "(cached) " >&6
64405 else
64408 ac_ext=cpp
64409 ac_cpp='$CXXCPP $CPPFLAGS'
64410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64415 /* end confdefs.h. */
64416 #include <math.h>
64418 main ()
64420 _sincosl(0, 0, 0);
64422 return 0;
64424 _ACEOF
64425 if ac_fn_cxx_try_compile "$LINENO"; then :
64426 glibcxx_cv_func__sincosl_use=yes
64427 else
64428 glibcxx_cv_func__sincosl_use=no
64430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64431 ac_ext=c
64432 ac_cpp='$CPP $CPPFLAGS'
64433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64442 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64444 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64445 for ac_func in _sincosl
64446 do :
64447 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64448 if test "x$ac_cv_func__sincosl" = x""yes; then :
64449 cat >>confdefs.h <<_ACEOF
64450 #define HAVE__SINCOSL 1
64451 _ACEOF
64454 done
64463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64464 $as_echo_n "checking for finitel declaration... " >&6; }
64465 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64466 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64467 $as_echo_n "(cached) " >&6
64468 else
64471 ac_ext=cpp
64472 ac_cpp='$CXXCPP $CPPFLAGS'
64473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64478 /* end confdefs.h. */
64479 #include <math.h>
64480 #ifdef HAVE_IEEEFP_H
64481 #include <ieeefp.h>
64482 #endif
64485 main ()
64487 finitel(0);
64489 return 0;
64491 _ACEOF
64492 if ac_fn_cxx_try_compile "$LINENO"; then :
64493 glibcxx_cv_func_finitel_use=yes
64494 else
64495 glibcxx_cv_func_finitel_use=no
64497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64498 ac_ext=c
64499 ac_cpp='$CPP $CPPFLAGS'
64500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64509 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64511 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64512 for ac_func in finitel
64513 do :
64514 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64515 if test "x$ac_cv_func_finitel" = x""yes; then :
64516 cat >>confdefs.h <<_ACEOF
64517 #define HAVE_FINITEL 1
64518 _ACEOF
64521 done
64523 else
64525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64526 $as_echo_n "checking for _finitel declaration... " >&6; }
64527 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64528 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64529 $as_echo_n "(cached) " >&6
64530 else
64533 ac_ext=cpp
64534 ac_cpp='$CXXCPP $CPPFLAGS'
64535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64540 /* end confdefs.h. */
64541 #include <math.h>
64542 #ifdef HAVE_IEEEFP_H
64543 #include <ieeefp.h>
64544 #endif
64547 main ()
64549 _finitel(0);
64551 return 0;
64553 _ACEOF
64554 if ac_fn_cxx_try_compile "$LINENO"; then :
64555 glibcxx_cv_func__finitel_use=yes
64556 else
64557 glibcxx_cv_func__finitel_use=no
64559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64560 ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64571 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64573 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64574 for ac_func in _finitel
64575 do :
64576 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64577 if test "x$ac_cv_func__finitel" = x""yes; then :
64578 cat >>confdefs.h <<_ACEOF
64579 #define HAVE__FINITEL 1
64580 _ACEOF
64583 done
64591 LIBS="$ac_save_LIBS"
64592 CXXFLAGS="$ac_save_CXXFLAGS"
64595 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64596 ac_save_CXXFLAGS="$CXXFLAGS"
64597 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64601 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64602 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64603 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64604 $as_echo_n "(cached) " >&6
64605 else
64608 ac_ext=cpp
64609 ac_cpp='$CXXCPP $CPPFLAGS'
64610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64615 /* end confdefs.h. */
64616 #include <stdlib.h>
64618 main ()
64620 at_quick_exit(0);
64622 return 0;
64624 _ACEOF
64625 if ac_fn_cxx_try_compile "$LINENO"; then :
64626 glibcxx_cv_func_at_quick_exit_use=yes
64627 else
64628 glibcxx_cv_func_at_quick_exit_use=no
64630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64631 ac_ext=c
64632 ac_cpp='$CPP $CPPFLAGS'
64633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64642 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64643 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64644 for ac_func in at_quick_exit
64645 do :
64646 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64647 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64648 cat >>confdefs.h <<_ACEOF
64649 #define HAVE_AT_QUICK_EXIT 1
64650 _ACEOF
64653 done
64658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64659 $as_echo_n "checking for quick_exit declaration... " >&6; }
64660 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64661 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64662 $as_echo_n "(cached) " >&6
64663 else
64666 ac_ext=cpp
64667 ac_cpp='$CXXCPP $CPPFLAGS'
64668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64673 /* end confdefs.h. */
64674 #include <stdlib.h>
64676 main ()
64678 quick_exit(0);
64680 return 0;
64682 _ACEOF
64683 if ac_fn_cxx_try_compile "$LINENO"; then :
64684 glibcxx_cv_func_quick_exit_use=yes
64685 else
64686 glibcxx_cv_func_quick_exit_use=no
64688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64689 ac_ext=c
64690 ac_cpp='$CPP $CPPFLAGS'
64691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64700 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64701 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64702 for ac_func in quick_exit
64703 do :
64704 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64705 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64706 cat >>confdefs.h <<_ACEOF
64707 #define HAVE_QUICK_EXIT 1
64708 _ACEOF
64711 done
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64717 $as_echo_n "checking for strtold declaration... " >&6; }
64718 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64719 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64720 $as_echo_n "(cached) " >&6
64721 else
64724 ac_ext=cpp
64725 ac_cpp='$CXXCPP $CPPFLAGS'
64726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64731 /* end confdefs.h. */
64732 #include <stdlib.h>
64734 main ()
64736 strtold(0, 0);
64738 return 0;
64740 _ACEOF
64741 if ac_fn_cxx_try_compile "$LINENO"; then :
64742 glibcxx_cv_func_strtold_use=yes
64743 else
64744 glibcxx_cv_func_strtold_use=no
64746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64747 ac_ext=c
64748 ac_cpp='$CPP $CPPFLAGS'
64749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64758 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64759 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64760 for ac_func in strtold
64761 do :
64762 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64763 if test "x$ac_cv_func_strtold" = x""yes; then :
64764 cat >>confdefs.h <<_ACEOF
64765 #define HAVE_STRTOLD 1
64766 _ACEOF
64769 done
64776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64777 $as_echo_n "checking for strtof declaration... " >&6; }
64778 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64779 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64780 $as_echo_n "(cached) " >&6
64781 else
64784 ac_ext=cpp
64785 ac_cpp='$CXXCPP $CPPFLAGS'
64786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64791 /* end confdefs.h. */
64792 #include <stdlib.h>
64794 main ()
64796 strtof(0, 0);
64798 return 0;
64800 _ACEOF
64801 if ac_fn_cxx_try_compile "$LINENO"; then :
64802 glibcxx_cv_func_strtof_use=yes
64803 else
64804 glibcxx_cv_func_strtof_use=no
64806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64807 ac_ext=c
64808 ac_cpp='$CPP $CPPFLAGS'
64809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64818 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64819 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64820 for ac_func in strtof
64821 do :
64822 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64823 if test "x$ac_cv_func_strtof" = x""yes; then :
64824 cat >>confdefs.h <<_ACEOF
64825 #define HAVE_STRTOF 1
64826 _ACEOF
64829 done
64836 CXXFLAGS="$ac_save_CXXFLAGS"
64839 *-netbsd*)
64840 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64843 # If we're not using GNU ld, then there's no point in even trying these
64844 # tests. Check for that first. We should have already tested for gld
64845 # by now (in libtool), but require it now just to be safe...
64846 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64847 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64851 # The name set by libtool depends on the version of libtool. Shame on us
64852 # for depending on an impl detail, but c'est la vie. Older versions used
64853 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64854 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64855 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64856 # set (hence we're using an older libtool), then set it.
64857 if test x${with_gnu_ld+set} != xset; then
64858 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64859 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64860 with_gnu_ld=no
64861 else
64862 with_gnu_ld=$ac_cv_prog_gnu_ld
64866 # Start by getting the version number. I think the libtool test already
64867 # does some of this, but throws away the result.
64868 glibcxx_ld_is_gold=no
64869 if test x"$with_gnu_ld" = x"yes"; then
64870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64871 $as_echo_n "checking for ld version... " >&6; }
64873 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64874 glibcxx_ld_is_gold=yes
64876 ldver=`$LD --version 2>/dev/null |
64877 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'`
64879 glibcxx_gnu_ld_version=`echo $ldver | \
64880 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64882 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64885 # Set --gc-sections.
64886 glibcxx_have_gc_sections=no
64887 if test "$glibcxx_ld_is_gold" = "yes"; then
64888 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64889 glibcxx_have_gc_sections=yes
64891 else
64892 glibcxx_gcsections_min_ld=21602
64893 if test x"$with_gnu_ld" = x"yes" &&
64894 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64895 glibcxx_have_gc_sections=yes
64898 if test "$glibcxx_have_gc_sections" = "yes"; then
64899 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64900 # NB: This flag only works reliably after 2.16.1. Configure tests
64901 # for this are difficult, so hard wire a value that should work.
64903 ac_test_CFLAGS="${CFLAGS+set}"
64904 ac_save_CFLAGS="$CFLAGS"
64905 CFLAGS='-Wl,--gc-sections'
64907 # Check for -Wl,--gc-sections
64908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64909 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64910 if test x$gcc_no_link = xyes; then
64911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64914 /* end confdefs.h. */
64915 int one(void) { return 1; }
64916 int two(void) { return 2; }
64919 main ()
64921 two();
64923 return 0;
64925 _ACEOF
64926 if ac_fn_c_try_link "$LINENO"; then :
64927 ac_gcsections=yes
64928 else
64929 ac_gcsections=no
64931 rm -f core conftest.err conftest.$ac_objext \
64932 conftest$ac_exeext conftest.$ac_ext
64933 if test "$ac_gcsections" = "yes"; then
64934 rm -f conftest.c
64935 touch conftest.c
64936 if $CC -c conftest.c; then
64937 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64938 grep "Warning: gc-sections option ignored" > /dev/null; then
64939 ac_gcsections=no
64942 rm -f conftest.c conftest.o conftest
64944 if test "$ac_gcsections" = "yes"; then
64945 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64948 $as_echo "$ac_gcsections" >&6; }
64950 if test "$ac_test_CFLAGS" = set; then
64951 CFLAGS="$ac_save_CFLAGS"
64952 else
64953 # this is the suspicious part
64954 CFLAGS=''
64958 # Set -z,relro.
64959 # Note this is only for shared objects.
64960 ac_ld_relro=no
64961 if test x"$with_gnu_ld" = x"yes"; then
64962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64963 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64964 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64965 if test -n "$cxx_z_relo"; then
64966 OPT_LDFLAGS="-Wl,-z,relro"
64967 ac_ld_relro=yes
64969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64970 $as_echo "$ac_ld_relro" >&6; }
64973 # Set linker optimization flags.
64974 if test x"$with_gnu_ld" = x"yes"; then
64975 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64981 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64983 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64985 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64987 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64989 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64991 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64993 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64995 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64997 if test x"long_double_math_on_this_cpu" = x"yes"; then
64998 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65000 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65002 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65006 *-qnx6.1* | *-qnx6.2*)
65007 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65010 # If we're not using GNU ld, then there's no point in even trying these
65011 # tests. Check for that first. We should have already tested for gld
65012 # by now (in libtool), but require it now just to be safe...
65013 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65014 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65018 # The name set by libtool depends on the version of libtool. Shame on us
65019 # for depending on an impl detail, but c'est la vie. Older versions used
65020 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65021 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65022 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65023 # set (hence we're using an older libtool), then set it.
65024 if test x${with_gnu_ld+set} != xset; then
65025 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65026 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65027 with_gnu_ld=no
65028 else
65029 with_gnu_ld=$ac_cv_prog_gnu_ld
65033 # Start by getting the version number. I think the libtool test already
65034 # does some of this, but throws away the result.
65035 glibcxx_ld_is_gold=no
65036 if test x"$with_gnu_ld" = x"yes"; then
65037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65038 $as_echo_n "checking for ld version... " >&6; }
65040 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65041 glibcxx_ld_is_gold=yes
65043 ldver=`$LD --version 2>/dev/null |
65044 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'`
65046 glibcxx_gnu_ld_version=`echo $ldver | \
65047 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65049 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65052 # Set --gc-sections.
65053 glibcxx_have_gc_sections=no
65054 if test "$glibcxx_ld_is_gold" = "yes"; then
65055 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65056 glibcxx_have_gc_sections=yes
65058 else
65059 glibcxx_gcsections_min_ld=21602
65060 if test x"$with_gnu_ld" = x"yes" &&
65061 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65062 glibcxx_have_gc_sections=yes
65065 if test "$glibcxx_have_gc_sections" = "yes"; then
65066 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65067 # NB: This flag only works reliably after 2.16.1. Configure tests
65068 # for this are difficult, so hard wire a value that should work.
65070 ac_test_CFLAGS="${CFLAGS+set}"
65071 ac_save_CFLAGS="$CFLAGS"
65072 CFLAGS='-Wl,--gc-sections'
65074 # Check for -Wl,--gc-sections
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65076 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65077 if test x$gcc_no_link = xyes; then
65078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65081 /* end confdefs.h. */
65082 int one(void) { return 1; }
65083 int two(void) { return 2; }
65086 main ()
65088 two();
65090 return 0;
65092 _ACEOF
65093 if ac_fn_c_try_link "$LINENO"; then :
65094 ac_gcsections=yes
65095 else
65096 ac_gcsections=no
65098 rm -f core conftest.err conftest.$ac_objext \
65099 conftest$ac_exeext conftest.$ac_ext
65100 if test "$ac_gcsections" = "yes"; then
65101 rm -f conftest.c
65102 touch conftest.c
65103 if $CC -c conftest.c; then
65104 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65105 grep "Warning: gc-sections option ignored" > /dev/null; then
65106 ac_gcsections=no
65109 rm -f conftest.c conftest.o conftest
65111 if test "$ac_gcsections" = "yes"; then
65112 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65115 $as_echo "$ac_gcsections" >&6; }
65117 if test "$ac_test_CFLAGS" = set; then
65118 CFLAGS="$ac_save_CFLAGS"
65119 else
65120 # this is the suspicious part
65121 CFLAGS=''
65125 # Set -z,relro.
65126 # Note this is only for shared objects.
65127 ac_ld_relro=no
65128 if test x"$with_gnu_ld" = x"yes"; then
65129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65130 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65131 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65132 if test -n "$cxx_z_relo"; then
65133 OPT_LDFLAGS="-Wl,-z,relro"
65134 ac_ld_relro=yes
65136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65137 $as_echo "$ac_ld_relro" >&6; }
65140 # Set linker optimization flags.
65141 if test x"$with_gnu_ld" = x"yes"; then
65142 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65148 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65150 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65152 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65154 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65156 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65158 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65160 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65162 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65164 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65166 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65168 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65170 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65173 *-rtems*)
65175 # All these tests are for C++; save the language and the compiler flags.
65176 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65177 # found in GLIBCXX_CONFIGURE.
65179 ac_ext=cpp
65180 ac_cpp='$CXXCPP $CPPFLAGS'
65181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65185 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65186 ac_save_CXXFLAGS="$CXXFLAGS"
65188 # Check for maintainer-mode bits.
65189 if test x"$USE_MAINTAINER_MODE" = xno; then
65190 WERROR=''
65191 else
65192 WERROR='-Werror'
65195 # Check for -ffunction-sections -fdata-sections
65196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65197 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65198 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65200 /* end confdefs.h. */
65201 int foo; void bar() { };
65203 main ()
65207 return 0;
65209 _ACEOF
65210 if ac_fn_cxx_try_compile "$LINENO"; then :
65211 ac_fdsections=yes
65212 else
65213 ac_fdsections=no
65215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65216 if test "$ac_test_CXXFLAGS" = set; then
65217 CXXFLAGS="$ac_save_CXXFLAGS"
65218 else
65219 # this is the suspicious part
65220 CXXFLAGS=''
65222 if test x"$ac_fdsections" = x"yes"; then
65223 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65226 $as_echo "$ac_fdsections" >&6; }
65228 ac_ext=c
65229 ac_cpp='$CPP $CPPFLAGS'
65230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65238 # If we're not using GNU ld, then there's no point in even trying these
65239 # tests. Check for that first. We should have already tested for gld
65240 # by now (in libtool), but require it now just to be safe...
65241 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65242 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65246 # The name set by libtool depends on the version of libtool. Shame on us
65247 # for depending on an impl detail, but c'est la vie. Older versions used
65248 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65249 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65250 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65251 # set (hence we're using an older libtool), then set it.
65252 if test x${with_gnu_ld+set} != xset; then
65253 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65254 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65255 with_gnu_ld=no
65256 else
65257 with_gnu_ld=$ac_cv_prog_gnu_ld
65261 # Start by getting the version number. I think the libtool test already
65262 # does some of this, but throws away the result.
65263 glibcxx_ld_is_gold=no
65264 if test x"$with_gnu_ld" = x"yes"; then
65265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65266 $as_echo_n "checking for ld version... " >&6; }
65268 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65269 glibcxx_ld_is_gold=yes
65271 ldver=`$LD --version 2>/dev/null |
65272 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'`
65274 glibcxx_gnu_ld_version=`echo $ldver | \
65275 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65277 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65280 # Set --gc-sections.
65281 glibcxx_have_gc_sections=no
65282 if test "$glibcxx_ld_is_gold" = "yes"; then
65283 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65284 glibcxx_have_gc_sections=yes
65286 else
65287 glibcxx_gcsections_min_ld=21602
65288 if test x"$with_gnu_ld" = x"yes" &&
65289 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65290 glibcxx_have_gc_sections=yes
65293 if test "$glibcxx_have_gc_sections" = "yes"; then
65294 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65295 # NB: This flag only works reliably after 2.16.1. Configure tests
65296 # for this are difficult, so hard wire a value that should work.
65298 ac_test_CFLAGS="${CFLAGS+set}"
65299 ac_save_CFLAGS="$CFLAGS"
65300 CFLAGS='-Wl,--gc-sections'
65302 # Check for -Wl,--gc-sections
65303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65304 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65305 if test x$gcc_no_link = xyes; then
65306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65309 /* end confdefs.h. */
65310 int one(void) { return 1; }
65311 int two(void) { return 2; }
65314 main ()
65316 two();
65318 return 0;
65320 _ACEOF
65321 if ac_fn_c_try_link "$LINENO"; then :
65322 ac_gcsections=yes
65323 else
65324 ac_gcsections=no
65326 rm -f core conftest.err conftest.$ac_objext \
65327 conftest$ac_exeext conftest.$ac_ext
65328 if test "$ac_gcsections" = "yes"; then
65329 rm -f conftest.c
65330 touch conftest.c
65331 if $CC -c conftest.c; then
65332 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65333 grep "Warning: gc-sections option ignored" > /dev/null; then
65334 ac_gcsections=no
65337 rm -f conftest.c conftest.o conftest
65339 if test "$ac_gcsections" = "yes"; then
65340 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65343 $as_echo "$ac_gcsections" >&6; }
65345 if test "$ac_test_CFLAGS" = set; then
65346 CFLAGS="$ac_save_CFLAGS"
65347 else
65348 # this is the suspicious part
65349 CFLAGS=''
65353 # Set -z,relro.
65354 # Note this is only for shared objects.
65355 ac_ld_relro=no
65356 if test x"$with_gnu_ld" = x"yes"; then
65357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65358 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65359 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65360 if test -n "$cxx_z_relo"; then
65361 OPT_LDFLAGS="-Wl,-z,relro"
65362 ac_ld_relro=yes
65364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65365 $as_echo "$ac_ld_relro" >&6; }
65368 # Set linker optimization flags.
65369 if test x"$with_gnu_ld" = x"yes"; then
65370 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65377 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65378 ac_save_CXXFLAGS="$CXXFLAGS"
65379 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65382 $as_echo_n "checking for sin in -lm... " >&6; }
65383 if test "${ac_cv_lib_m_sin+set}" = set; then :
65384 $as_echo_n "(cached) " >&6
65385 else
65386 ac_check_lib_save_LIBS=$LIBS
65387 LIBS="-lm $LIBS"
65388 if test x$gcc_no_link = xyes; then
65389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65392 /* end confdefs.h. */
65394 /* Override any GCC internal prototype to avoid an error.
65395 Use char because int might match the return type of a GCC
65396 builtin and then its argument prototype would still apply. */
65397 #ifdef __cplusplus
65398 extern "C"
65399 #endif
65400 char sin ();
65402 main ()
65404 return sin ();
65406 return 0;
65408 _ACEOF
65409 if ac_fn_c_try_link "$LINENO"; then :
65410 ac_cv_lib_m_sin=yes
65411 else
65412 ac_cv_lib_m_sin=no
65414 rm -f core conftest.err conftest.$ac_objext \
65415 conftest$ac_exeext conftest.$ac_ext
65416 LIBS=$ac_check_lib_save_LIBS
65418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65419 $as_echo "$ac_cv_lib_m_sin" >&6; }
65420 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65421 libm="-lm"
65424 ac_save_LIBS="$LIBS"
65425 LIBS="$LIBS $libm"
65429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65430 $as_echo_n "checking for isinf declaration... " >&6; }
65431 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65432 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65433 $as_echo_n "(cached) " >&6
65434 else
65437 ac_ext=cpp
65438 ac_cpp='$CXXCPP $CPPFLAGS'
65439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65444 /* end confdefs.h. */
65445 #include <math.h>
65446 #ifdef HAVE_IEEEFP_H
65447 #include <ieeefp.h>
65448 #endif
65451 main ()
65453 isinf(0);
65455 return 0;
65457 _ACEOF
65458 if ac_fn_cxx_try_compile "$LINENO"; then :
65459 glibcxx_cv_func_isinf_use=yes
65460 else
65461 glibcxx_cv_func_isinf_use=no
65463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65464 ac_ext=c
65465 ac_cpp='$CPP $CPPFLAGS'
65466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65475 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65477 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65478 for ac_func in isinf
65479 do :
65480 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65481 if test "x$ac_cv_func_isinf" = x""yes; then :
65482 cat >>confdefs.h <<_ACEOF
65483 #define HAVE_ISINF 1
65484 _ACEOF
65487 done
65489 else
65491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65492 $as_echo_n "checking for _isinf declaration... " >&6; }
65493 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65494 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65495 $as_echo_n "(cached) " >&6
65496 else
65499 ac_ext=cpp
65500 ac_cpp='$CXXCPP $CPPFLAGS'
65501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65506 /* end confdefs.h. */
65507 #include <math.h>
65508 #ifdef HAVE_IEEEFP_H
65509 #include <ieeefp.h>
65510 #endif
65513 main ()
65515 _isinf(0);
65517 return 0;
65519 _ACEOF
65520 if ac_fn_cxx_try_compile "$LINENO"; then :
65521 glibcxx_cv_func__isinf_use=yes
65522 else
65523 glibcxx_cv_func__isinf_use=no
65525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65526 ac_ext=c
65527 ac_cpp='$CPP $CPPFLAGS'
65528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65537 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65539 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65540 for ac_func in _isinf
65541 do :
65542 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65543 if test "x$ac_cv_func__isinf" = x""yes; then :
65544 cat >>confdefs.h <<_ACEOF
65545 #define HAVE__ISINF 1
65546 _ACEOF
65549 done
65558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65559 $as_echo_n "checking for isnan declaration... " >&6; }
65560 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65561 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65562 $as_echo_n "(cached) " >&6
65563 else
65566 ac_ext=cpp
65567 ac_cpp='$CXXCPP $CPPFLAGS'
65568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65573 /* end confdefs.h. */
65574 #include <math.h>
65575 #ifdef HAVE_IEEEFP_H
65576 #include <ieeefp.h>
65577 #endif
65580 main ()
65582 isnan(0);
65584 return 0;
65586 _ACEOF
65587 if ac_fn_cxx_try_compile "$LINENO"; then :
65588 glibcxx_cv_func_isnan_use=yes
65589 else
65590 glibcxx_cv_func_isnan_use=no
65592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65593 ac_ext=c
65594 ac_cpp='$CPP $CPPFLAGS'
65595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65604 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65606 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65607 for ac_func in isnan
65608 do :
65609 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65610 if test "x$ac_cv_func_isnan" = x""yes; then :
65611 cat >>confdefs.h <<_ACEOF
65612 #define HAVE_ISNAN 1
65613 _ACEOF
65616 done
65618 else
65620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65621 $as_echo_n "checking for _isnan declaration... " >&6; }
65622 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65623 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65624 $as_echo_n "(cached) " >&6
65625 else
65628 ac_ext=cpp
65629 ac_cpp='$CXXCPP $CPPFLAGS'
65630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65635 /* end confdefs.h. */
65636 #include <math.h>
65637 #ifdef HAVE_IEEEFP_H
65638 #include <ieeefp.h>
65639 #endif
65642 main ()
65644 _isnan(0);
65646 return 0;
65648 _ACEOF
65649 if ac_fn_cxx_try_compile "$LINENO"; then :
65650 glibcxx_cv_func__isnan_use=yes
65651 else
65652 glibcxx_cv_func__isnan_use=no
65654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65655 ac_ext=c
65656 ac_cpp='$CPP $CPPFLAGS'
65657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65666 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65668 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65669 for ac_func in _isnan
65670 do :
65671 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65672 if test "x$ac_cv_func__isnan" = x""yes; then :
65673 cat >>confdefs.h <<_ACEOF
65674 #define HAVE__ISNAN 1
65675 _ACEOF
65678 done
65687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65688 $as_echo_n "checking for finite declaration... " >&6; }
65689 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65690 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65691 $as_echo_n "(cached) " >&6
65692 else
65695 ac_ext=cpp
65696 ac_cpp='$CXXCPP $CPPFLAGS'
65697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65702 /* end confdefs.h. */
65703 #include <math.h>
65704 #ifdef HAVE_IEEEFP_H
65705 #include <ieeefp.h>
65706 #endif
65709 main ()
65711 finite(0);
65713 return 0;
65715 _ACEOF
65716 if ac_fn_cxx_try_compile "$LINENO"; then :
65717 glibcxx_cv_func_finite_use=yes
65718 else
65719 glibcxx_cv_func_finite_use=no
65721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65722 ac_ext=c
65723 ac_cpp='$CPP $CPPFLAGS'
65724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65733 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65735 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65736 for ac_func in finite
65737 do :
65738 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65739 if test "x$ac_cv_func_finite" = x""yes; then :
65740 cat >>confdefs.h <<_ACEOF
65741 #define HAVE_FINITE 1
65742 _ACEOF
65745 done
65747 else
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65750 $as_echo_n "checking for _finite declaration... " >&6; }
65751 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65752 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65753 $as_echo_n "(cached) " >&6
65754 else
65757 ac_ext=cpp
65758 ac_cpp='$CXXCPP $CPPFLAGS'
65759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65764 /* end confdefs.h. */
65765 #include <math.h>
65766 #ifdef HAVE_IEEEFP_H
65767 #include <ieeefp.h>
65768 #endif
65771 main ()
65773 _finite(0);
65775 return 0;
65777 _ACEOF
65778 if ac_fn_cxx_try_compile "$LINENO"; then :
65779 glibcxx_cv_func__finite_use=yes
65780 else
65781 glibcxx_cv_func__finite_use=no
65783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65784 ac_ext=c
65785 ac_cpp='$CPP $CPPFLAGS'
65786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65795 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65797 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65798 for ac_func in _finite
65799 do :
65800 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65801 if test "x$ac_cv_func__finite" = x""yes; then :
65802 cat >>confdefs.h <<_ACEOF
65803 #define HAVE__FINITE 1
65804 _ACEOF
65807 done
65816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65817 $as_echo_n "checking for sincos declaration... " >&6; }
65818 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65819 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65820 $as_echo_n "(cached) " >&6
65821 else
65824 ac_ext=cpp
65825 ac_cpp='$CXXCPP $CPPFLAGS'
65826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65831 /* end confdefs.h. */
65832 #include <math.h>
65834 main ()
65836 sincos(0, 0, 0);
65838 return 0;
65840 _ACEOF
65841 if ac_fn_cxx_try_compile "$LINENO"; then :
65842 glibcxx_cv_func_sincos_use=yes
65843 else
65844 glibcxx_cv_func_sincos_use=no
65846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65847 ac_ext=c
65848 ac_cpp='$CPP $CPPFLAGS'
65849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65858 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65860 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65861 for ac_func in sincos
65862 do :
65863 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65864 if test "x$ac_cv_func_sincos" = x""yes; then :
65865 cat >>confdefs.h <<_ACEOF
65866 #define HAVE_SINCOS 1
65867 _ACEOF
65870 done
65872 else
65874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65875 $as_echo_n "checking for _sincos declaration... " >&6; }
65876 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65877 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65878 $as_echo_n "(cached) " >&6
65879 else
65882 ac_ext=cpp
65883 ac_cpp='$CXXCPP $CPPFLAGS'
65884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65889 /* end confdefs.h. */
65890 #include <math.h>
65892 main ()
65894 _sincos(0, 0, 0);
65896 return 0;
65898 _ACEOF
65899 if ac_fn_cxx_try_compile "$LINENO"; then :
65900 glibcxx_cv_func__sincos_use=yes
65901 else
65902 glibcxx_cv_func__sincos_use=no
65904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65905 ac_ext=c
65906 ac_cpp='$CPP $CPPFLAGS'
65907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65916 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65918 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65919 for ac_func in _sincos
65920 do :
65921 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65922 if test "x$ac_cv_func__sincos" = x""yes; then :
65923 cat >>confdefs.h <<_ACEOF
65924 #define HAVE__SINCOS 1
65925 _ACEOF
65928 done
65937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65938 $as_echo_n "checking for fpclass declaration... " >&6; }
65939 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65940 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65941 $as_echo_n "(cached) " >&6
65942 else
65945 ac_ext=cpp
65946 ac_cpp='$CXXCPP $CPPFLAGS'
65947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65952 /* end confdefs.h. */
65953 #include <math.h>
65954 #ifdef HAVE_IEEEFP_H
65955 #include <ieeefp.h>
65956 #endif
65959 main ()
65961 fpclass(0);
65963 return 0;
65965 _ACEOF
65966 if ac_fn_cxx_try_compile "$LINENO"; then :
65967 glibcxx_cv_func_fpclass_use=yes
65968 else
65969 glibcxx_cv_func_fpclass_use=no
65971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65972 ac_ext=c
65973 ac_cpp='$CPP $CPPFLAGS'
65974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65983 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65985 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65986 for ac_func in fpclass
65987 do :
65988 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65989 if test "x$ac_cv_func_fpclass" = x""yes; then :
65990 cat >>confdefs.h <<_ACEOF
65991 #define HAVE_FPCLASS 1
65992 _ACEOF
65995 done
65997 else
65999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66000 $as_echo_n "checking for _fpclass declaration... " >&6; }
66001 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66002 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66003 $as_echo_n "(cached) " >&6
66004 else
66007 ac_ext=cpp
66008 ac_cpp='$CXXCPP $CPPFLAGS'
66009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66014 /* end confdefs.h. */
66015 #include <math.h>
66016 #ifdef HAVE_IEEEFP_H
66017 #include <ieeefp.h>
66018 #endif
66021 main ()
66023 _fpclass(0);
66025 return 0;
66027 _ACEOF
66028 if ac_fn_cxx_try_compile "$LINENO"; then :
66029 glibcxx_cv_func__fpclass_use=yes
66030 else
66031 glibcxx_cv_func__fpclass_use=no
66033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66034 ac_ext=c
66035 ac_cpp='$CPP $CPPFLAGS'
66036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66045 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66047 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66048 for ac_func in _fpclass
66049 do :
66050 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66051 if test "x$ac_cv_func__fpclass" = x""yes; then :
66052 cat >>confdefs.h <<_ACEOF
66053 #define HAVE__FPCLASS 1
66054 _ACEOF
66057 done
66066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66067 $as_echo_n "checking for qfpclass declaration... " >&6; }
66068 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66069 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66070 $as_echo_n "(cached) " >&6
66071 else
66074 ac_ext=cpp
66075 ac_cpp='$CXXCPP $CPPFLAGS'
66076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66081 /* end confdefs.h. */
66082 #include <math.h>
66083 #ifdef HAVE_IEEEFP_H
66084 #include <ieeefp.h>
66085 #endif
66088 main ()
66090 qfpclass(0);
66092 return 0;
66094 _ACEOF
66095 if ac_fn_cxx_try_compile "$LINENO"; then :
66096 glibcxx_cv_func_qfpclass_use=yes
66097 else
66098 glibcxx_cv_func_qfpclass_use=no
66100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66101 ac_ext=c
66102 ac_cpp='$CPP $CPPFLAGS'
66103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66112 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66114 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66115 for ac_func in qfpclass
66116 do :
66117 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66118 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66119 cat >>confdefs.h <<_ACEOF
66120 #define HAVE_QFPCLASS 1
66121 _ACEOF
66124 done
66126 else
66128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66129 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66130 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66131 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66132 $as_echo_n "(cached) " >&6
66133 else
66136 ac_ext=cpp
66137 ac_cpp='$CXXCPP $CPPFLAGS'
66138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66143 /* end confdefs.h. */
66144 #include <math.h>
66145 #ifdef HAVE_IEEEFP_H
66146 #include <ieeefp.h>
66147 #endif
66150 main ()
66152 _qfpclass(0);
66154 return 0;
66156 _ACEOF
66157 if ac_fn_cxx_try_compile "$LINENO"; then :
66158 glibcxx_cv_func__qfpclass_use=yes
66159 else
66160 glibcxx_cv_func__qfpclass_use=no
66162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66163 ac_ext=c
66164 ac_cpp='$CPP $CPPFLAGS'
66165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66174 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66176 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66177 for ac_func in _qfpclass
66178 do :
66179 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66180 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66181 cat >>confdefs.h <<_ACEOF
66182 #define HAVE__QFPCLASS 1
66183 _ACEOF
66186 done
66195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66196 $as_echo_n "checking for hypot declaration... " >&6; }
66197 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66198 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66199 $as_echo_n "(cached) " >&6
66200 else
66203 ac_ext=cpp
66204 ac_cpp='$CXXCPP $CPPFLAGS'
66205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66210 /* end confdefs.h. */
66211 #include <math.h>
66213 main ()
66215 hypot(0, 0);
66217 return 0;
66219 _ACEOF
66220 if ac_fn_cxx_try_compile "$LINENO"; then :
66221 glibcxx_cv_func_hypot_use=yes
66222 else
66223 glibcxx_cv_func_hypot_use=no
66225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66226 ac_ext=c
66227 ac_cpp='$CPP $CPPFLAGS'
66228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66237 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66239 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66240 for ac_func in hypot
66241 do :
66242 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66243 if test "x$ac_cv_func_hypot" = x""yes; then :
66244 cat >>confdefs.h <<_ACEOF
66245 #define HAVE_HYPOT 1
66246 _ACEOF
66249 done
66251 else
66253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66254 $as_echo_n "checking for _hypot declaration... " >&6; }
66255 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66256 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66257 $as_echo_n "(cached) " >&6
66258 else
66261 ac_ext=cpp
66262 ac_cpp='$CXXCPP $CPPFLAGS'
66263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66268 /* end confdefs.h. */
66269 #include <math.h>
66271 main ()
66273 _hypot(0, 0);
66275 return 0;
66277 _ACEOF
66278 if ac_fn_cxx_try_compile "$LINENO"; then :
66279 glibcxx_cv_func__hypot_use=yes
66280 else
66281 glibcxx_cv_func__hypot_use=no
66283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66284 ac_ext=c
66285 ac_cpp='$CPP $CPPFLAGS'
66286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66295 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66297 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66298 for ac_func in _hypot
66299 do :
66300 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66301 if test "x$ac_cv_func__hypot" = x""yes; then :
66302 cat >>confdefs.h <<_ACEOF
66303 #define HAVE__HYPOT 1
66304 _ACEOF
66307 done
66316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66317 $as_echo_n "checking for float trig functions... " >&6; }
66318 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66319 $as_echo_n "(cached) " >&6
66320 else
66323 ac_ext=cpp
66324 ac_cpp='$CXXCPP $CPPFLAGS'
66325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66330 /* end confdefs.h. */
66331 #include <math.h>
66333 main ()
66335 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66337 return 0;
66339 _ACEOF
66340 if ac_fn_cxx_try_compile "$LINENO"; then :
66341 glibcxx_cv_func_float_trig_use=yes
66342 else
66343 glibcxx_cv_func_float_trig_use=no
66345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66346 ac_ext=c
66347 ac_cpp='$CPP $CPPFLAGS'
66348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66355 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66356 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66357 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66358 do :
66359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66361 eval as_val=\$$as_ac_var
66362 if test "x$as_val" = x""yes; then :
66363 cat >>confdefs.h <<_ACEOF
66364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66365 _ACEOF
66368 done
66370 else
66371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66372 $as_echo_n "checking for _float trig functions... " >&6; }
66373 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66374 $as_echo_n "(cached) " >&6
66375 else
66378 ac_ext=cpp
66379 ac_cpp='$CXXCPP $CPPFLAGS'
66380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66385 /* end confdefs.h. */
66386 #include <math.h>
66388 main ()
66390 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66392 return 0;
66394 _ACEOF
66395 if ac_fn_cxx_try_compile "$LINENO"; then :
66396 glibcxx_cv_func__float_trig_use=yes
66397 else
66398 glibcxx_cv_func__float_trig_use=no
66400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66401 ac_ext=c
66402 ac_cpp='$CPP $CPPFLAGS'
66403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66410 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66411 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66412 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66413 do :
66414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66416 eval as_val=\$$as_ac_var
66417 if test "x$as_val" = x""yes; then :
66418 cat >>confdefs.h <<_ACEOF
66419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66420 _ACEOF
66423 done
66432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66433 $as_echo_n "checking for float round functions... " >&6; }
66434 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66435 $as_echo_n "(cached) " >&6
66436 else
66439 ac_ext=cpp
66440 ac_cpp='$CXXCPP $CPPFLAGS'
66441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66446 /* end confdefs.h. */
66447 #include <math.h>
66449 main ()
66451 ceilf (0); floorf (0);
66453 return 0;
66455 _ACEOF
66456 if ac_fn_cxx_try_compile "$LINENO"; then :
66457 glibcxx_cv_func_float_round_use=yes
66458 else
66459 glibcxx_cv_func_float_round_use=no
66461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66462 ac_ext=c
66463 ac_cpp='$CPP $CPPFLAGS'
66464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66471 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66472 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66473 for ac_func in ceilf floorf
66474 do :
66475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66477 eval as_val=\$$as_ac_var
66478 if test "x$as_val" = x""yes; then :
66479 cat >>confdefs.h <<_ACEOF
66480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66481 _ACEOF
66484 done
66486 else
66487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66488 $as_echo_n "checking for _float round functions... " >&6; }
66489 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66490 $as_echo_n "(cached) " >&6
66491 else
66494 ac_ext=cpp
66495 ac_cpp='$CXXCPP $CPPFLAGS'
66496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66501 /* end confdefs.h. */
66502 #include <math.h>
66504 main ()
66506 _ceilf (0); _floorf (0);
66508 return 0;
66510 _ACEOF
66511 if ac_fn_cxx_try_compile "$LINENO"; then :
66512 glibcxx_cv_func__float_round_use=yes
66513 else
66514 glibcxx_cv_func__float_round_use=no
66516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66517 ac_ext=c
66518 ac_cpp='$CPP $CPPFLAGS'
66519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66526 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66527 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66528 for ac_func in _ceilf _floorf
66529 do :
66530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66532 eval as_val=\$$as_ac_var
66533 if test "x$as_val" = x""yes; then :
66534 cat >>confdefs.h <<_ACEOF
66535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66536 _ACEOF
66539 done
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66550 $as_echo_n "checking for expf declaration... " >&6; }
66551 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66552 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66553 $as_echo_n "(cached) " >&6
66554 else
66557 ac_ext=cpp
66558 ac_cpp='$CXXCPP $CPPFLAGS'
66559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66564 /* end confdefs.h. */
66565 #include <math.h>
66566 #ifdef HAVE_IEEEFP_H
66567 #include <ieeefp.h>
66568 #endif
66571 main ()
66573 expf(0);
66575 return 0;
66577 _ACEOF
66578 if ac_fn_cxx_try_compile "$LINENO"; then :
66579 glibcxx_cv_func_expf_use=yes
66580 else
66581 glibcxx_cv_func_expf_use=no
66583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66584 ac_ext=c
66585 ac_cpp='$CPP $CPPFLAGS'
66586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66595 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66597 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66598 for ac_func in expf
66599 do :
66600 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66601 if test "x$ac_cv_func_expf" = x""yes; then :
66602 cat >>confdefs.h <<_ACEOF
66603 #define HAVE_EXPF 1
66604 _ACEOF
66607 done
66609 else
66611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66612 $as_echo_n "checking for _expf declaration... " >&6; }
66613 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66614 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66615 $as_echo_n "(cached) " >&6
66616 else
66619 ac_ext=cpp
66620 ac_cpp='$CXXCPP $CPPFLAGS'
66621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66626 /* end confdefs.h. */
66627 #include <math.h>
66628 #ifdef HAVE_IEEEFP_H
66629 #include <ieeefp.h>
66630 #endif
66633 main ()
66635 _expf(0);
66637 return 0;
66639 _ACEOF
66640 if ac_fn_cxx_try_compile "$LINENO"; then :
66641 glibcxx_cv_func__expf_use=yes
66642 else
66643 glibcxx_cv_func__expf_use=no
66645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66646 ac_ext=c
66647 ac_cpp='$CPP $CPPFLAGS'
66648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66657 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66659 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66660 for ac_func in _expf
66661 do :
66662 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66663 if test "x$ac_cv_func__expf" = x""yes; then :
66664 cat >>confdefs.h <<_ACEOF
66665 #define HAVE__EXPF 1
66666 _ACEOF
66669 done
66678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66679 $as_echo_n "checking for isnanf declaration... " >&6; }
66680 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66681 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66682 $as_echo_n "(cached) " >&6
66683 else
66686 ac_ext=cpp
66687 ac_cpp='$CXXCPP $CPPFLAGS'
66688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66693 /* end confdefs.h. */
66694 #include <math.h>
66695 #ifdef HAVE_IEEEFP_H
66696 #include <ieeefp.h>
66697 #endif
66700 main ()
66702 isnanf(0);
66704 return 0;
66706 _ACEOF
66707 if ac_fn_cxx_try_compile "$LINENO"; then :
66708 glibcxx_cv_func_isnanf_use=yes
66709 else
66710 glibcxx_cv_func_isnanf_use=no
66712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66713 ac_ext=c
66714 ac_cpp='$CPP $CPPFLAGS'
66715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66724 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66726 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66727 for ac_func in isnanf
66728 do :
66729 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66730 if test "x$ac_cv_func_isnanf" = x""yes; then :
66731 cat >>confdefs.h <<_ACEOF
66732 #define HAVE_ISNANF 1
66733 _ACEOF
66736 done
66738 else
66740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66741 $as_echo_n "checking for _isnanf declaration... " >&6; }
66742 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66743 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66744 $as_echo_n "(cached) " >&6
66745 else
66748 ac_ext=cpp
66749 ac_cpp='$CXXCPP $CPPFLAGS'
66750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66755 /* end confdefs.h. */
66756 #include <math.h>
66757 #ifdef HAVE_IEEEFP_H
66758 #include <ieeefp.h>
66759 #endif
66762 main ()
66764 _isnanf(0);
66766 return 0;
66768 _ACEOF
66769 if ac_fn_cxx_try_compile "$LINENO"; then :
66770 glibcxx_cv_func__isnanf_use=yes
66771 else
66772 glibcxx_cv_func__isnanf_use=no
66774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66775 ac_ext=c
66776 ac_cpp='$CPP $CPPFLAGS'
66777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66786 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66788 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66789 for ac_func in _isnanf
66790 do :
66791 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66792 if test "x$ac_cv_func__isnanf" = x""yes; then :
66793 cat >>confdefs.h <<_ACEOF
66794 #define HAVE__ISNANF 1
66795 _ACEOF
66798 done
66807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66808 $as_echo_n "checking for isinff declaration... " >&6; }
66809 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66810 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66811 $as_echo_n "(cached) " >&6
66812 else
66815 ac_ext=cpp
66816 ac_cpp='$CXXCPP $CPPFLAGS'
66817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66822 /* end confdefs.h. */
66823 #include <math.h>
66824 #ifdef HAVE_IEEEFP_H
66825 #include <ieeefp.h>
66826 #endif
66829 main ()
66831 isinff(0);
66833 return 0;
66835 _ACEOF
66836 if ac_fn_cxx_try_compile "$LINENO"; then :
66837 glibcxx_cv_func_isinff_use=yes
66838 else
66839 glibcxx_cv_func_isinff_use=no
66841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66842 ac_ext=c
66843 ac_cpp='$CPP $CPPFLAGS'
66844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66853 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66855 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66856 for ac_func in isinff
66857 do :
66858 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66859 if test "x$ac_cv_func_isinff" = x""yes; then :
66860 cat >>confdefs.h <<_ACEOF
66861 #define HAVE_ISINFF 1
66862 _ACEOF
66865 done
66867 else
66869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66870 $as_echo_n "checking for _isinff declaration... " >&6; }
66871 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66872 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66873 $as_echo_n "(cached) " >&6
66874 else
66877 ac_ext=cpp
66878 ac_cpp='$CXXCPP $CPPFLAGS'
66879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66884 /* end confdefs.h. */
66885 #include <math.h>
66886 #ifdef HAVE_IEEEFP_H
66887 #include <ieeefp.h>
66888 #endif
66891 main ()
66893 _isinff(0);
66895 return 0;
66897 _ACEOF
66898 if ac_fn_cxx_try_compile "$LINENO"; then :
66899 glibcxx_cv_func__isinff_use=yes
66900 else
66901 glibcxx_cv_func__isinff_use=no
66903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66904 ac_ext=c
66905 ac_cpp='$CPP $CPPFLAGS'
66906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66915 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66917 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66918 for ac_func in _isinff
66919 do :
66920 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66921 if test "x$ac_cv_func__isinff" = x""yes; then :
66922 cat >>confdefs.h <<_ACEOF
66923 #define HAVE__ISINFF 1
66924 _ACEOF
66927 done
66936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66937 $as_echo_n "checking for atan2f declaration... " >&6; }
66938 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66939 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66940 $as_echo_n "(cached) " >&6
66941 else
66944 ac_ext=cpp
66945 ac_cpp='$CXXCPP $CPPFLAGS'
66946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66951 /* end confdefs.h. */
66952 #include <math.h>
66954 main ()
66956 atan2f(0, 0);
66958 return 0;
66960 _ACEOF
66961 if ac_fn_cxx_try_compile "$LINENO"; then :
66962 glibcxx_cv_func_atan2f_use=yes
66963 else
66964 glibcxx_cv_func_atan2f_use=no
66966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66967 ac_ext=c
66968 ac_cpp='$CPP $CPPFLAGS'
66969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66978 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66980 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66981 for ac_func in atan2f
66982 do :
66983 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66984 if test "x$ac_cv_func_atan2f" = x""yes; then :
66985 cat >>confdefs.h <<_ACEOF
66986 #define HAVE_ATAN2F 1
66987 _ACEOF
66990 done
66992 else
66994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66995 $as_echo_n "checking for _atan2f declaration... " >&6; }
66996 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66997 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66998 $as_echo_n "(cached) " >&6
66999 else
67002 ac_ext=cpp
67003 ac_cpp='$CXXCPP $CPPFLAGS'
67004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67009 /* end confdefs.h. */
67010 #include <math.h>
67012 main ()
67014 _atan2f(0, 0);
67016 return 0;
67018 _ACEOF
67019 if ac_fn_cxx_try_compile "$LINENO"; then :
67020 glibcxx_cv_func__atan2f_use=yes
67021 else
67022 glibcxx_cv_func__atan2f_use=no
67024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67025 ac_ext=c
67026 ac_cpp='$CPP $CPPFLAGS'
67027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67036 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67038 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67039 for ac_func in _atan2f
67040 do :
67041 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67042 if test "x$ac_cv_func__atan2f" = x""yes; then :
67043 cat >>confdefs.h <<_ACEOF
67044 #define HAVE__ATAN2F 1
67045 _ACEOF
67048 done
67057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67058 $as_echo_n "checking for fabsf declaration... " >&6; }
67059 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67060 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67061 $as_echo_n "(cached) " >&6
67062 else
67065 ac_ext=cpp
67066 ac_cpp='$CXXCPP $CPPFLAGS'
67067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67072 /* end confdefs.h. */
67073 #include <math.h>
67074 #ifdef HAVE_IEEEFP_H
67075 #include <ieeefp.h>
67076 #endif
67079 main ()
67081 fabsf(0);
67083 return 0;
67085 _ACEOF
67086 if ac_fn_cxx_try_compile "$LINENO"; then :
67087 glibcxx_cv_func_fabsf_use=yes
67088 else
67089 glibcxx_cv_func_fabsf_use=no
67091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67092 ac_ext=c
67093 ac_cpp='$CPP $CPPFLAGS'
67094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67103 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67105 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67106 for ac_func in fabsf
67107 do :
67108 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67109 if test "x$ac_cv_func_fabsf" = x""yes; then :
67110 cat >>confdefs.h <<_ACEOF
67111 #define HAVE_FABSF 1
67112 _ACEOF
67115 done
67117 else
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67120 $as_echo_n "checking for _fabsf declaration... " >&6; }
67121 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67122 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67123 $as_echo_n "(cached) " >&6
67124 else
67127 ac_ext=cpp
67128 ac_cpp='$CXXCPP $CPPFLAGS'
67129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67134 /* end confdefs.h. */
67135 #include <math.h>
67136 #ifdef HAVE_IEEEFP_H
67137 #include <ieeefp.h>
67138 #endif
67141 main ()
67143 _fabsf(0);
67145 return 0;
67147 _ACEOF
67148 if ac_fn_cxx_try_compile "$LINENO"; then :
67149 glibcxx_cv_func__fabsf_use=yes
67150 else
67151 glibcxx_cv_func__fabsf_use=no
67153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67154 ac_ext=c
67155 ac_cpp='$CPP $CPPFLAGS'
67156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67165 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67167 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67168 for ac_func in _fabsf
67169 do :
67170 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67171 if test "x$ac_cv_func__fabsf" = x""yes; then :
67172 cat >>confdefs.h <<_ACEOF
67173 #define HAVE__FABSF 1
67174 _ACEOF
67177 done
67186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67187 $as_echo_n "checking for fmodf declaration... " >&6; }
67188 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67189 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67190 $as_echo_n "(cached) " >&6
67191 else
67194 ac_ext=cpp
67195 ac_cpp='$CXXCPP $CPPFLAGS'
67196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67201 /* end confdefs.h. */
67202 #include <math.h>
67204 main ()
67206 fmodf(0, 0);
67208 return 0;
67210 _ACEOF
67211 if ac_fn_cxx_try_compile "$LINENO"; then :
67212 glibcxx_cv_func_fmodf_use=yes
67213 else
67214 glibcxx_cv_func_fmodf_use=no
67216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67217 ac_ext=c
67218 ac_cpp='$CPP $CPPFLAGS'
67219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67228 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67230 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67231 for ac_func in fmodf
67232 do :
67233 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67234 if test "x$ac_cv_func_fmodf" = x""yes; then :
67235 cat >>confdefs.h <<_ACEOF
67236 #define HAVE_FMODF 1
67237 _ACEOF
67240 done
67242 else
67244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67245 $as_echo_n "checking for _fmodf declaration... " >&6; }
67246 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67247 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67248 $as_echo_n "(cached) " >&6
67249 else
67252 ac_ext=cpp
67253 ac_cpp='$CXXCPP $CPPFLAGS'
67254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67259 /* end confdefs.h. */
67260 #include <math.h>
67262 main ()
67264 _fmodf(0, 0);
67266 return 0;
67268 _ACEOF
67269 if ac_fn_cxx_try_compile "$LINENO"; then :
67270 glibcxx_cv_func__fmodf_use=yes
67271 else
67272 glibcxx_cv_func__fmodf_use=no
67274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67275 ac_ext=c
67276 ac_cpp='$CPP $CPPFLAGS'
67277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67286 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67288 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67289 for ac_func in _fmodf
67290 do :
67291 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67292 if test "x$ac_cv_func__fmodf" = x""yes; then :
67293 cat >>confdefs.h <<_ACEOF
67294 #define HAVE__FMODF 1
67295 _ACEOF
67298 done
67307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67308 $as_echo_n "checking for frexpf declaration... " >&6; }
67309 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67310 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67311 $as_echo_n "(cached) " >&6
67312 else
67315 ac_ext=cpp
67316 ac_cpp='$CXXCPP $CPPFLAGS'
67317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67322 /* end confdefs.h. */
67323 #include <math.h>
67325 main ()
67327 frexpf(0, 0);
67329 return 0;
67331 _ACEOF
67332 if ac_fn_cxx_try_compile "$LINENO"; then :
67333 glibcxx_cv_func_frexpf_use=yes
67334 else
67335 glibcxx_cv_func_frexpf_use=no
67337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67338 ac_ext=c
67339 ac_cpp='$CPP $CPPFLAGS'
67340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67349 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67351 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67352 for ac_func in frexpf
67353 do :
67354 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67355 if test "x$ac_cv_func_frexpf" = x""yes; then :
67356 cat >>confdefs.h <<_ACEOF
67357 #define HAVE_FREXPF 1
67358 _ACEOF
67361 done
67363 else
67365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67366 $as_echo_n "checking for _frexpf declaration... " >&6; }
67367 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67368 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67369 $as_echo_n "(cached) " >&6
67370 else
67373 ac_ext=cpp
67374 ac_cpp='$CXXCPP $CPPFLAGS'
67375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67380 /* end confdefs.h. */
67381 #include <math.h>
67383 main ()
67385 _frexpf(0, 0);
67387 return 0;
67389 _ACEOF
67390 if ac_fn_cxx_try_compile "$LINENO"; then :
67391 glibcxx_cv_func__frexpf_use=yes
67392 else
67393 glibcxx_cv_func__frexpf_use=no
67395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67396 ac_ext=c
67397 ac_cpp='$CPP $CPPFLAGS'
67398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67407 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67409 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67410 for ac_func in _frexpf
67411 do :
67412 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67413 if test "x$ac_cv_func__frexpf" = x""yes; then :
67414 cat >>confdefs.h <<_ACEOF
67415 #define HAVE__FREXPF 1
67416 _ACEOF
67419 done
67428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67429 $as_echo_n "checking for hypotf declaration... " >&6; }
67430 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67431 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67432 $as_echo_n "(cached) " >&6
67433 else
67436 ac_ext=cpp
67437 ac_cpp='$CXXCPP $CPPFLAGS'
67438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67443 /* end confdefs.h. */
67444 #include <math.h>
67446 main ()
67448 hypotf(0, 0);
67450 return 0;
67452 _ACEOF
67453 if ac_fn_cxx_try_compile "$LINENO"; then :
67454 glibcxx_cv_func_hypotf_use=yes
67455 else
67456 glibcxx_cv_func_hypotf_use=no
67458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67459 ac_ext=c
67460 ac_cpp='$CPP $CPPFLAGS'
67461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67470 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67472 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67473 for ac_func in hypotf
67474 do :
67475 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67476 if test "x$ac_cv_func_hypotf" = x""yes; then :
67477 cat >>confdefs.h <<_ACEOF
67478 #define HAVE_HYPOTF 1
67479 _ACEOF
67482 done
67484 else
67486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67487 $as_echo_n "checking for _hypotf declaration... " >&6; }
67488 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67489 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67490 $as_echo_n "(cached) " >&6
67491 else
67494 ac_ext=cpp
67495 ac_cpp='$CXXCPP $CPPFLAGS'
67496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67501 /* end confdefs.h. */
67502 #include <math.h>
67504 main ()
67506 _hypotf(0, 0);
67508 return 0;
67510 _ACEOF
67511 if ac_fn_cxx_try_compile "$LINENO"; then :
67512 glibcxx_cv_func__hypotf_use=yes
67513 else
67514 glibcxx_cv_func__hypotf_use=no
67516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67517 ac_ext=c
67518 ac_cpp='$CPP $CPPFLAGS'
67519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67528 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67530 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67531 for ac_func in _hypotf
67532 do :
67533 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67534 if test "x$ac_cv_func__hypotf" = x""yes; then :
67535 cat >>confdefs.h <<_ACEOF
67536 #define HAVE__HYPOTF 1
67537 _ACEOF
67540 done
67549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67550 $as_echo_n "checking for ldexpf declaration... " >&6; }
67551 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67552 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67553 $as_echo_n "(cached) " >&6
67554 else
67557 ac_ext=cpp
67558 ac_cpp='$CXXCPP $CPPFLAGS'
67559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67564 /* end confdefs.h. */
67565 #include <math.h>
67567 main ()
67569 ldexpf(0, 0);
67571 return 0;
67573 _ACEOF
67574 if ac_fn_cxx_try_compile "$LINENO"; then :
67575 glibcxx_cv_func_ldexpf_use=yes
67576 else
67577 glibcxx_cv_func_ldexpf_use=no
67579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67580 ac_ext=c
67581 ac_cpp='$CPP $CPPFLAGS'
67582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67591 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67593 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67594 for ac_func in ldexpf
67595 do :
67596 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67597 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67598 cat >>confdefs.h <<_ACEOF
67599 #define HAVE_LDEXPF 1
67600 _ACEOF
67603 done
67605 else
67607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67608 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67609 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67610 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67611 $as_echo_n "(cached) " >&6
67612 else
67615 ac_ext=cpp
67616 ac_cpp='$CXXCPP $CPPFLAGS'
67617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67622 /* end confdefs.h. */
67623 #include <math.h>
67625 main ()
67627 _ldexpf(0, 0);
67629 return 0;
67631 _ACEOF
67632 if ac_fn_cxx_try_compile "$LINENO"; then :
67633 glibcxx_cv_func__ldexpf_use=yes
67634 else
67635 glibcxx_cv_func__ldexpf_use=no
67637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67638 ac_ext=c
67639 ac_cpp='$CPP $CPPFLAGS'
67640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67649 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67651 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67652 for ac_func in _ldexpf
67653 do :
67654 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67655 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67656 cat >>confdefs.h <<_ACEOF
67657 #define HAVE__LDEXPF 1
67658 _ACEOF
67661 done
67670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67671 $as_echo_n "checking for logf declaration... " >&6; }
67672 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67673 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67674 $as_echo_n "(cached) " >&6
67675 else
67678 ac_ext=cpp
67679 ac_cpp='$CXXCPP $CPPFLAGS'
67680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67685 /* end confdefs.h. */
67686 #include <math.h>
67687 #ifdef HAVE_IEEEFP_H
67688 #include <ieeefp.h>
67689 #endif
67692 main ()
67694 logf(0);
67696 return 0;
67698 _ACEOF
67699 if ac_fn_cxx_try_compile "$LINENO"; then :
67700 glibcxx_cv_func_logf_use=yes
67701 else
67702 glibcxx_cv_func_logf_use=no
67704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67705 ac_ext=c
67706 ac_cpp='$CPP $CPPFLAGS'
67707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67716 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67718 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67719 for ac_func in logf
67720 do :
67721 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67722 if test "x$ac_cv_func_logf" = x""yes; then :
67723 cat >>confdefs.h <<_ACEOF
67724 #define HAVE_LOGF 1
67725 _ACEOF
67728 done
67730 else
67732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67733 $as_echo_n "checking for _logf declaration... " >&6; }
67734 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67735 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67736 $as_echo_n "(cached) " >&6
67737 else
67740 ac_ext=cpp
67741 ac_cpp='$CXXCPP $CPPFLAGS'
67742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67747 /* end confdefs.h. */
67748 #include <math.h>
67749 #ifdef HAVE_IEEEFP_H
67750 #include <ieeefp.h>
67751 #endif
67754 main ()
67756 _logf(0);
67758 return 0;
67760 _ACEOF
67761 if ac_fn_cxx_try_compile "$LINENO"; then :
67762 glibcxx_cv_func__logf_use=yes
67763 else
67764 glibcxx_cv_func__logf_use=no
67766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67767 ac_ext=c
67768 ac_cpp='$CPP $CPPFLAGS'
67769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67778 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67780 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67781 for ac_func in _logf
67782 do :
67783 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67784 if test "x$ac_cv_func__logf" = x""yes; then :
67785 cat >>confdefs.h <<_ACEOF
67786 #define HAVE__LOGF 1
67787 _ACEOF
67790 done
67799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67800 $as_echo_n "checking for log10f declaration... " >&6; }
67801 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67802 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67803 $as_echo_n "(cached) " >&6
67804 else
67807 ac_ext=cpp
67808 ac_cpp='$CXXCPP $CPPFLAGS'
67809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67814 /* end confdefs.h. */
67815 #include <math.h>
67816 #ifdef HAVE_IEEEFP_H
67817 #include <ieeefp.h>
67818 #endif
67821 main ()
67823 log10f(0);
67825 return 0;
67827 _ACEOF
67828 if ac_fn_cxx_try_compile "$LINENO"; then :
67829 glibcxx_cv_func_log10f_use=yes
67830 else
67831 glibcxx_cv_func_log10f_use=no
67833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67834 ac_ext=c
67835 ac_cpp='$CPP $CPPFLAGS'
67836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67845 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67847 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67848 for ac_func in log10f
67849 do :
67850 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67851 if test "x$ac_cv_func_log10f" = x""yes; then :
67852 cat >>confdefs.h <<_ACEOF
67853 #define HAVE_LOG10F 1
67854 _ACEOF
67857 done
67859 else
67861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67862 $as_echo_n "checking for _log10f declaration... " >&6; }
67863 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67864 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67865 $as_echo_n "(cached) " >&6
67866 else
67869 ac_ext=cpp
67870 ac_cpp='$CXXCPP $CPPFLAGS'
67871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67876 /* end confdefs.h. */
67877 #include <math.h>
67878 #ifdef HAVE_IEEEFP_H
67879 #include <ieeefp.h>
67880 #endif
67883 main ()
67885 _log10f(0);
67887 return 0;
67889 _ACEOF
67890 if ac_fn_cxx_try_compile "$LINENO"; then :
67891 glibcxx_cv_func__log10f_use=yes
67892 else
67893 glibcxx_cv_func__log10f_use=no
67895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67896 ac_ext=c
67897 ac_cpp='$CPP $CPPFLAGS'
67898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67907 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67909 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67910 for ac_func in _log10f
67911 do :
67912 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67913 if test "x$ac_cv_func__log10f" = x""yes; then :
67914 cat >>confdefs.h <<_ACEOF
67915 #define HAVE__LOG10F 1
67916 _ACEOF
67919 done
67928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67929 $as_echo_n "checking for modff declaration... " >&6; }
67930 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67931 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67932 $as_echo_n "(cached) " >&6
67933 else
67936 ac_ext=cpp
67937 ac_cpp='$CXXCPP $CPPFLAGS'
67938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67943 /* end confdefs.h. */
67944 #include <math.h>
67946 main ()
67948 modff(0, 0);
67950 return 0;
67952 _ACEOF
67953 if ac_fn_cxx_try_compile "$LINENO"; then :
67954 glibcxx_cv_func_modff_use=yes
67955 else
67956 glibcxx_cv_func_modff_use=no
67958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67959 ac_ext=c
67960 ac_cpp='$CPP $CPPFLAGS'
67961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67970 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67972 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67973 for ac_func in modff
67974 do :
67975 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67976 if test "x$ac_cv_func_modff" = x""yes; then :
67977 cat >>confdefs.h <<_ACEOF
67978 #define HAVE_MODFF 1
67979 _ACEOF
67982 done
67984 else
67986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67987 $as_echo_n "checking for _modff declaration... " >&6; }
67988 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67989 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67990 $as_echo_n "(cached) " >&6
67991 else
67994 ac_ext=cpp
67995 ac_cpp='$CXXCPP $CPPFLAGS'
67996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68001 /* end confdefs.h. */
68002 #include <math.h>
68004 main ()
68006 _modff(0, 0);
68008 return 0;
68010 _ACEOF
68011 if ac_fn_cxx_try_compile "$LINENO"; then :
68012 glibcxx_cv_func__modff_use=yes
68013 else
68014 glibcxx_cv_func__modff_use=no
68016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68017 ac_ext=c
68018 ac_cpp='$CPP $CPPFLAGS'
68019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68028 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68030 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68031 for ac_func in _modff
68032 do :
68033 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68034 if test "x$ac_cv_func__modff" = x""yes; then :
68035 cat >>confdefs.h <<_ACEOF
68036 #define HAVE__MODFF 1
68037 _ACEOF
68040 done
68049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68050 $as_echo_n "checking for modf declaration... " >&6; }
68051 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68052 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68053 $as_echo_n "(cached) " >&6
68054 else
68057 ac_ext=cpp
68058 ac_cpp='$CXXCPP $CPPFLAGS'
68059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68064 /* end confdefs.h. */
68065 #include <math.h>
68067 main ()
68069 modf(0, 0);
68071 return 0;
68073 _ACEOF
68074 if ac_fn_cxx_try_compile "$LINENO"; then :
68075 glibcxx_cv_func_modf_use=yes
68076 else
68077 glibcxx_cv_func_modf_use=no
68079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68080 ac_ext=c
68081 ac_cpp='$CPP $CPPFLAGS'
68082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68091 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68093 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68094 for ac_func in modf
68095 do :
68096 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68097 if test "x$ac_cv_func_modf" = x""yes; then :
68098 cat >>confdefs.h <<_ACEOF
68099 #define HAVE_MODF 1
68100 _ACEOF
68103 done
68105 else
68107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68108 $as_echo_n "checking for _modf declaration... " >&6; }
68109 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68110 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68111 $as_echo_n "(cached) " >&6
68112 else
68115 ac_ext=cpp
68116 ac_cpp='$CXXCPP $CPPFLAGS'
68117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68122 /* end confdefs.h. */
68123 #include <math.h>
68125 main ()
68127 _modf(0, 0);
68129 return 0;
68131 _ACEOF
68132 if ac_fn_cxx_try_compile "$LINENO"; then :
68133 glibcxx_cv_func__modf_use=yes
68134 else
68135 glibcxx_cv_func__modf_use=no
68137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68138 ac_ext=c
68139 ac_cpp='$CPP $CPPFLAGS'
68140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68149 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68151 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68152 for ac_func in _modf
68153 do :
68154 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68155 if test "x$ac_cv_func__modf" = x""yes; then :
68156 cat >>confdefs.h <<_ACEOF
68157 #define HAVE__MODF 1
68158 _ACEOF
68161 done
68170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68171 $as_echo_n "checking for powf declaration... " >&6; }
68172 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68173 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68174 $as_echo_n "(cached) " >&6
68175 else
68178 ac_ext=cpp
68179 ac_cpp='$CXXCPP $CPPFLAGS'
68180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68185 /* end confdefs.h. */
68186 #include <math.h>
68188 main ()
68190 powf(0, 0);
68192 return 0;
68194 _ACEOF
68195 if ac_fn_cxx_try_compile "$LINENO"; then :
68196 glibcxx_cv_func_powf_use=yes
68197 else
68198 glibcxx_cv_func_powf_use=no
68200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68201 ac_ext=c
68202 ac_cpp='$CPP $CPPFLAGS'
68203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68212 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68214 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68215 for ac_func in powf
68216 do :
68217 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68218 if test "x$ac_cv_func_powf" = x""yes; then :
68219 cat >>confdefs.h <<_ACEOF
68220 #define HAVE_POWF 1
68221 _ACEOF
68224 done
68226 else
68228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68229 $as_echo_n "checking for _powf declaration... " >&6; }
68230 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68231 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68232 $as_echo_n "(cached) " >&6
68233 else
68236 ac_ext=cpp
68237 ac_cpp='$CXXCPP $CPPFLAGS'
68238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68243 /* end confdefs.h. */
68244 #include <math.h>
68246 main ()
68248 _powf(0, 0);
68250 return 0;
68252 _ACEOF
68253 if ac_fn_cxx_try_compile "$LINENO"; then :
68254 glibcxx_cv_func__powf_use=yes
68255 else
68256 glibcxx_cv_func__powf_use=no
68258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68259 ac_ext=c
68260 ac_cpp='$CPP $CPPFLAGS'
68261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68270 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68272 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68273 for ac_func in _powf
68274 do :
68275 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68276 if test "x$ac_cv_func__powf" = x""yes; then :
68277 cat >>confdefs.h <<_ACEOF
68278 #define HAVE__POWF 1
68279 _ACEOF
68282 done
68291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68292 $as_echo_n "checking for sqrtf declaration... " >&6; }
68293 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68294 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68295 $as_echo_n "(cached) " >&6
68296 else
68299 ac_ext=cpp
68300 ac_cpp='$CXXCPP $CPPFLAGS'
68301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68306 /* end confdefs.h. */
68307 #include <math.h>
68308 #ifdef HAVE_IEEEFP_H
68309 #include <ieeefp.h>
68310 #endif
68313 main ()
68315 sqrtf(0);
68317 return 0;
68319 _ACEOF
68320 if ac_fn_cxx_try_compile "$LINENO"; then :
68321 glibcxx_cv_func_sqrtf_use=yes
68322 else
68323 glibcxx_cv_func_sqrtf_use=no
68325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68326 ac_ext=c
68327 ac_cpp='$CPP $CPPFLAGS'
68328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68337 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68339 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68340 for ac_func in sqrtf
68341 do :
68342 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68343 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68344 cat >>confdefs.h <<_ACEOF
68345 #define HAVE_SQRTF 1
68346 _ACEOF
68349 done
68351 else
68353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68354 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68355 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68356 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68357 $as_echo_n "(cached) " >&6
68358 else
68361 ac_ext=cpp
68362 ac_cpp='$CXXCPP $CPPFLAGS'
68363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68368 /* end confdefs.h. */
68369 #include <math.h>
68370 #ifdef HAVE_IEEEFP_H
68371 #include <ieeefp.h>
68372 #endif
68375 main ()
68377 _sqrtf(0);
68379 return 0;
68381 _ACEOF
68382 if ac_fn_cxx_try_compile "$LINENO"; then :
68383 glibcxx_cv_func__sqrtf_use=yes
68384 else
68385 glibcxx_cv_func__sqrtf_use=no
68387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68388 ac_ext=c
68389 ac_cpp='$CPP $CPPFLAGS'
68390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68399 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68401 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68402 for ac_func in _sqrtf
68403 do :
68404 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68405 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68406 cat >>confdefs.h <<_ACEOF
68407 #define HAVE__SQRTF 1
68408 _ACEOF
68411 done
68420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68421 $as_echo_n "checking for sincosf declaration... " >&6; }
68422 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68423 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68424 $as_echo_n "(cached) " >&6
68425 else
68428 ac_ext=cpp
68429 ac_cpp='$CXXCPP $CPPFLAGS'
68430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68435 /* end confdefs.h. */
68436 #include <math.h>
68438 main ()
68440 sincosf(0, 0, 0);
68442 return 0;
68444 _ACEOF
68445 if ac_fn_cxx_try_compile "$LINENO"; then :
68446 glibcxx_cv_func_sincosf_use=yes
68447 else
68448 glibcxx_cv_func_sincosf_use=no
68450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68451 ac_ext=c
68452 ac_cpp='$CPP $CPPFLAGS'
68453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68462 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68464 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68465 for ac_func in sincosf
68466 do :
68467 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68468 if test "x$ac_cv_func_sincosf" = x""yes; then :
68469 cat >>confdefs.h <<_ACEOF
68470 #define HAVE_SINCOSF 1
68471 _ACEOF
68474 done
68476 else
68478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68479 $as_echo_n "checking for _sincosf declaration... " >&6; }
68480 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68481 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68482 $as_echo_n "(cached) " >&6
68483 else
68486 ac_ext=cpp
68487 ac_cpp='$CXXCPP $CPPFLAGS'
68488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68493 /* end confdefs.h. */
68494 #include <math.h>
68496 main ()
68498 _sincosf(0, 0, 0);
68500 return 0;
68502 _ACEOF
68503 if ac_fn_cxx_try_compile "$LINENO"; then :
68504 glibcxx_cv_func__sincosf_use=yes
68505 else
68506 glibcxx_cv_func__sincosf_use=no
68508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68509 ac_ext=c
68510 ac_cpp='$CPP $CPPFLAGS'
68511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68520 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68522 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68523 for ac_func in _sincosf
68524 do :
68525 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68526 if test "x$ac_cv_func__sincosf" = x""yes; then :
68527 cat >>confdefs.h <<_ACEOF
68528 #define HAVE__SINCOSF 1
68529 _ACEOF
68532 done
68541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68542 $as_echo_n "checking for finitef declaration... " >&6; }
68543 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68544 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68545 $as_echo_n "(cached) " >&6
68546 else
68549 ac_ext=cpp
68550 ac_cpp='$CXXCPP $CPPFLAGS'
68551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68556 /* end confdefs.h. */
68557 #include <math.h>
68558 #ifdef HAVE_IEEEFP_H
68559 #include <ieeefp.h>
68560 #endif
68563 main ()
68565 finitef(0);
68567 return 0;
68569 _ACEOF
68570 if ac_fn_cxx_try_compile "$LINENO"; then :
68571 glibcxx_cv_func_finitef_use=yes
68572 else
68573 glibcxx_cv_func_finitef_use=no
68575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68576 ac_ext=c
68577 ac_cpp='$CPP $CPPFLAGS'
68578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68587 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68589 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68590 for ac_func in finitef
68591 do :
68592 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68593 if test "x$ac_cv_func_finitef" = x""yes; then :
68594 cat >>confdefs.h <<_ACEOF
68595 #define HAVE_FINITEF 1
68596 _ACEOF
68599 done
68601 else
68603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68604 $as_echo_n "checking for _finitef declaration... " >&6; }
68605 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68606 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68607 $as_echo_n "(cached) " >&6
68608 else
68611 ac_ext=cpp
68612 ac_cpp='$CXXCPP $CPPFLAGS'
68613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68618 /* end confdefs.h. */
68619 #include <math.h>
68620 #ifdef HAVE_IEEEFP_H
68621 #include <ieeefp.h>
68622 #endif
68625 main ()
68627 _finitef(0);
68629 return 0;
68631 _ACEOF
68632 if ac_fn_cxx_try_compile "$LINENO"; then :
68633 glibcxx_cv_func__finitef_use=yes
68634 else
68635 glibcxx_cv_func__finitef_use=no
68637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68638 ac_ext=c
68639 ac_cpp='$CPP $CPPFLAGS'
68640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68649 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68651 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68652 for ac_func in _finitef
68653 do :
68654 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68655 if test "x$ac_cv_func__finitef" = x""yes; then :
68656 cat >>confdefs.h <<_ACEOF
68657 #define HAVE__FINITEF 1
68658 _ACEOF
68661 done
68670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68671 $as_echo_n "checking for long double trig functions... " >&6; }
68672 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68673 $as_echo_n "(cached) " >&6
68674 else
68677 ac_ext=cpp
68678 ac_cpp='$CXXCPP $CPPFLAGS'
68679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68684 /* end confdefs.h. */
68685 #include <math.h>
68687 main ()
68689 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68691 return 0;
68693 _ACEOF
68694 if ac_fn_cxx_try_compile "$LINENO"; then :
68695 glibcxx_cv_func_long_double_trig_use=yes
68696 else
68697 glibcxx_cv_func_long_double_trig_use=no
68699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68700 ac_ext=c
68701 ac_cpp='$CPP $CPPFLAGS'
68702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68709 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68710 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68711 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68712 do :
68713 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68714 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68715 eval as_val=\$$as_ac_var
68716 if test "x$as_val" = x""yes; then :
68717 cat >>confdefs.h <<_ACEOF
68718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68719 _ACEOF
68722 done
68724 else
68725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68726 $as_echo_n "checking for _long double trig functions... " >&6; }
68727 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68728 $as_echo_n "(cached) " >&6
68729 else
68732 ac_ext=cpp
68733 ac_cpp='$CXXCPP $CPPFLAGS'
68734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68739 /* end confdefs.h. */
68740 #include <math.h>
68742 main ()
68744 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68746 return 0;
68748 _ACEOF
68749 if ac_fn_cxx_try_compile "$LINENO"; then :
68750 glibcxx_cv_func__long_double_trig_use=yes
68751 else
68752 glibcxx_cv_func__long_double_trig_use=no
68754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68755 ac_ext=c
68756 ac_cpp='$CPP $CPPFLAGS'
68757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68764 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68765 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68766 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68767 do :
68768 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68769 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68770 eval as_val=\$$as_ac_var
68771 if test "x$as_val" = x""yes; then :
68772 cat >>confdefs.h <<_ACEOF
68773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68774 _ACEOF
68777 done
68786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68787 $as_echo_n "checking for long double round functions... " >&6; }
68788 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68789 $as_echo_n "(cached) " >&6
68790 else
68793 ac_ext=cpp
68794 ac_cpp='$CXXCPP $CPPFLAGS'
68795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68800 /* end confdefs.h. */
68801 #include <math.h>
68803 main ()
68805 ceill (0); floorl (0);
68807 return 0;
68809 _ACEOF
68810 if ac_fn_cxx_try_compile "$LINENO"; then :
68811 glibcxx_cv_func_long_double_round_use=yes
68812 else
68813 glibcxx_cv_func_long_double_round_use=no
68815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68816 ac_ext=c
68817 ac_cpp='$CPP $CPPFLAGS'
68818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68825 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68826 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68827 for ac_func in ceill floorl
68828 do :
68829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68831 eval as_val=\$$as_ac_var
68832 if test "x$as_val" = x""yes; then :
68833 cat >>confdefs.h <<_ACEOF
68834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68835 _ACEOF
68838 done
68840 else
68841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68842 $as_echo_n "checking for _long double round functions... " >&6; }
68843 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68844 $as_echo_n "(cached) " >&6
68845 else
68848 ac_ext=cpp
68849 ac_cpp='$CXXCPP $CPPFLAGS'
68850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68855 /* end confdefs.h. */
68856 #include <math.h>
68858 main ()
68860 _ceill (0); _floorl (0);
68862 return 0;
68864 _ACEOF
68865 if ac_fn_cxx_try_compile "$LINENO"; then :
68866 glibcxx_cv_func__long_double_round_use=yes
68867 else
68868 glibcxx_cv_func__long_double_round_use=no
68870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68871 ac_ext=c
68872 ac_cpp='$CPP $CPPFLAGS'
68873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68880 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68881 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68882 for ac_func in _ceill _floorl
68883 do :
68884 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68885 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68886 eval as_val=\$$as_ac_var
68887 if test "x$as_val" = x""yes; then :
68888 cat >>confdefs.h <<_ACEOF
68889 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68890 _ACEOF
68893 done
68903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68904 $as_echo_n "checking for isnanl declaration... " >&6; }
68905 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68906 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68907 $as_echo_n "(cached) " >&6
68908 else
68911 ac_ext=cpp
68912 ac_cpp='$CXXCPP $CPPFLAGS'
68913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68918 /* end confdefs.h. */
68919 #include <math.h>
68920 #ifdef HAVE_IEEEFP_H
68921 #include <ieeefp.h>
68922 #endif
68925 main ()
68927 isnanl(0);
68929 return 0;
68931 _ACEOF
68932 if ac_fn_cxx_try_compile "$LINENO"; then :
68933 glibcxx_cv_func_isnanl_use=yes
68934 else
68935 glibcxx_cv_func_isnanl_use=no
68937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68938 ac_ext=c
68939 ac_cpp='$CPP $CPPFLAGS'
68940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68949 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68951 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68952 for ac_func in isnanl
68953 do :
68954 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68955 if test "x$ac_cv_func_isnanl" = x""yes; then :
68956 cat >>confdefs.h <<_ACEOF
68957 #define HAVE_ISNANL 1
68958 _ACEOF
68961 done
68963 else
68965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68966 $as_echo_n "checking for _isnanl declaration... " >&6; }
68967 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68968 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68969 $as_echo_n "(cached) " >&6
68970 else
68973 ac_ext=cpp
68974 ac_cpp='$CXXCPP $CPPFLAGS'
68975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68980 /* end confdefs.h. */
68981 #include <math.h>
68982 #ifdef HAVE_IEEEFP_H
68983 #include <ieeefp.h>
68984 #endif
68987 main ()
68989 _isnanl(0);
68991 return 0;
68993 _ACEOF
68994 if ac_fn_cxx_try_compile "$LINENO"; then :
68995 glibcxx_cv_func__isnanl_use=yes
68996 else
68997 glibcxx_cv_func__isnanl_use=no
68999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69000 ac_ext=c
69001 ac_cpp='$CPP $CPPFLAGS'
69002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69011 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69013 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69014 for ac_func in _isnanl
69015 do :
69016 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69017 if test "x$ac_cv_func__isnanl" = x""yes; then :
69018 cat >>confdefs.h <<_ACEOF
69019 #define HAVE__ISNANL 1
69020 _ACEOF
69023 done
69032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69033 $as_echo_n "checking for isinfl declaration... " >&6; }
69034 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69035 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69036 $as_echo_n "(cached) " >&6
69037 else
69040 ac_ext=cpp
69041 ac_cpp='$CXXCPP $CPPFLAGS'
69042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69047 /* end confdefs.h. */
69048 #include <math.h>
69049 #ifdef HAVE_IEEEFP_H
69050 #include <ieeefp.h>
69051 #endif
69054 main ()
69056 isinfl(0);
69058 return 0;
69060 _ACEOF
69061 if ac_fn_cxx_try_compile "$LINENO"; then :
69062 glibcxx_cv_func_isinfl_use=yes
69063 else
69064 glibcxx_cv_func_isinfl_use=no
69066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69067 ac_ext=c
69068 ac_cpp='$CPP $CPPFLAGS'
69069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69078 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69080 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69081 for ac_func in isinfl
69082 do :
69083 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69084 if test "x$ac_cv_func_isinfl" = x""yes; then :
69085 cat >>confdefs.h <<_ACEOF
69086 #define HAVE_ISINFL 1
69087 _ACEOF
69090 done
69092 else
69094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69095 $as_echo_n "checking for _isinfl declaration... " >&6; }
69096 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69097 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69098 $as_echo_n "(cached) " >&6
69099 else
69102 ac_ext=cpp
69103 ac_cpp='$CXXCPP $CPPFLAGS'
69104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69109 /* end confdefs.h. */
69110 #include <math.h>
69111 #ifdef HAVE_IEEEFP_H
69112 #include <ieeefp.h>
69113 #endif
69116 main ()
69118 _isinfl(0);
69120 return 0;
69122 _ACEOF
69123 if ac_fn_cxx_try_compile "$LINENO"; then :
69124 glibcxx_cv_func__isinfl_use=yes
69125 else
69126 glibcxx_cv_func__isinfl_use=no
69128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69129 ac_ext=c
69130 ac_cpp='$CPP $CPPFLAGS'
69131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69140 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69142 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69143 for ac_func in _isinfl
69144 do :
69145 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69146 if test "x$ac_cv_func__isinfl" = x""yes; then :
69147 cat >>confdefs.h <<_ACEOF
69148 #define HAVE__ISINFL 1
69149 _ACEOF
69152 done
69161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69162 $as_echo_n "checking for atan2l declaration... " >&6; }
69163 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69164 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69165 $as_echo_n "(cached) " >&6
69166 else
69169 ac_ext=cpp
69170 ac_cpp='$CXXCPP $CPPFLAGS'
69171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69176 /* end confdefs.h. */
69177 #include <math.h>
69179 main ()
69181 atan2l(0, 0);
69183 return 0;
69185 _ACEOF
69186 if ac_fn_cxx_try_compile "$LINENO"; then :
69187 glibcxx_cv_func_atan2l_use=yes
69188 else
69189 glibcxx_cv_func_atan2l_use=no
69191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69192 ac_ext=c
69193 ac_cpp='$CPP $CPPFLAGS'
69194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69203 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69205 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69206 for ac_func in atan2l
69207 do :
69208 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69209 if test "x$ac_cv_func_atan2l" = x""yes; then :
69210 cat >>confdefs.h <<_ACEOF
69211 #define HAVE_ATAN2L 1
69212 _ACEOF
69215 done
69217 else
69219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69220 $as_echo_n "checking for _atan2l declaration... " >&6; }
69221 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69222 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69223 $as_echo_n "(cached) " >&6
69224 else
69227 ac_ext=cpp
69228 ac_cpp='$CXXCPP $CPPFLAGS'
69229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69234 /* end confdefs.h. */
69235 #include <math.h>
69237 main ()
69239 _atan2l(0, 0);
69241 return 0;
69243 _ACEOF
69244 if ac_fn_cxx_try_compile "$LINENO"; then :
69245 glibcxx_cv_func__atan2l_use=yes
69246 else
69247 glibcxx_cv_func__atan2l_use=no
69249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69250 ac_ext=c
69251 ac_cpp='$CPP $CPPFLAGS'
69252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69261 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69263 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69264 for ac_func in _atan2l
69265 do :
69266 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69267 if test "x$ac_cv_func__atan2l" = x""yes; then :
69268 cat >>confdefs.h <<_ACEOF
69269 #define HAVE__ATAN2L 1
69270 _ACEOF
69273 done
69282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69283 $as_echo_n "checking for expl declaration... " >&6; }
69284 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69285 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69286 $as_echo_n "(cached) " >&6
69287 else
69290 ac_ext=cpp
69291 ac_cpp='$CXXCPP $CPPFLAGS'
69292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69297 /* end confdefs.h. */
69298 #include <math.h>
69299 #ifdef HAVE_IEEEFP_H
69300 #include <ieeefp.h>
69301 #endif
69304 main ()
69306 expl(0);
69308 return 0;
69310 _ACEOF
69311 if ac_fn_cxx_try_compile "$LINENO"; then :
69312 glibcxx_cv_func_expl_use=yes
69313 else
69314 glibcxx_cv_func_expl_use=no
69316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69317 ac_ext=c
69318 ac_cpp='$CPP $CPPFLAGS'
69319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69328 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69330 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69331 for ac_func in expl
69332 do :
69333 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69334 if test "x$ac_cv_func_expl" = x""yes; then :
69335 cat >>confdefs.h <<_ACEOF
69336 #define HAVE_EXPL 1
69337 _ACEOF
69340 done
69342 else
69344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69345 $as_echo_n "checking for _expl declaration... " >&6; }
69346 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69347 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69348 $as_echo_n "(cached) " >&6
69349 else
69352 ac_ext=cpp
69353 ac_cpp='$CXXCPP $CPPFLAGS'
69354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69359 /* end confdefs.h. */
69360 #include <math.h>
69361 #ifdef HAVE_IEEEFP_H
69362 #include <ieeefp.h>
69363 #endif
69366 main ()
69368 _expl(0);
69370 return 0;
69372 _ACEOF
69373 if ac_fn_cxx_try_compile "$LINENO"; then :
69374 glibcxx_cv_func__expl_use=yes
69375 else
69376 glibcxx_cv_func__expl_use=no
69378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69379 ac_ext=c
69380 ac_cpp='$CPP $CPPFLAGS'
69381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69390 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69392 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69393 for ac_func in _expl
69394 do :
69395 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69396 if test "x$ac_cv_func__expl" = x""yes; then :
69397 cat >>confdefs.h <<_ACEOF
69398 #define HAVE__EXPL 1
69399 _ACEOF
69402 done
69411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69412 $as_echo_n "checking for fabsl declaration... " >&6; }
69413 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69414 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69415 $as_echo_n "(cached) " >&6
69416 else
69419 ac_ext=cpp
69420 ac_cpp='$CXXCPP $CPPFLAGS'
69421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69426 /* end confdefs.h. */
69427 #include <math.h>
69428 #ifdef HAVE_IEEEFP_H
69429 #include <ieeefp.h>
69430 #endif
69433 main ()
69435 fabsl(0);
69437 return 0;
69439 _ACEOF
69440 if ac_fn_cxx_try_compile "$LINENO"; then :
69441 glibcxx_cv_func_fabsl_use=yes
69442 else
69443 glibcxx_cv_func_fabsl_use=no
69445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69446 ac_ext=c
69447 ac_cpp='$CPP $CPPFLAGS'
69448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69457 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69459 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69460 for ac_func in fabsl
69461 do :
69462 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69463 if test "x$ac_cv_func_fabsl" = x""yes; then :
69464 cat >>confdefs.h <<_ACEOF
69465 #define HAVE_FABSL 1
69466 _ACEOF
69469 done
69471 else
69473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69474 $as_echo_n "checking for _fabsl declaration... " >&6; }
69475 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69476 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69477 $as_echo_n "(cached) " >&6
69478 else
69481 ac_ext=cpp
69482 ac_cpp='$CXXCPP $CPPFLAGS'
69483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69488 /* end confdefs.h. */
69489 #include <math.h>
69490 #ifdef HAVE_IEEEFP_H
69491 #include <ieeefp.h>
69492 #endif
69495 main ()
69497 _fabsl(0);
69499 return 0;
69501 _ACEOF
69502 if ac_fn_cxx_try_compile "$LINENO"; then :
69503 glibcxx_cv_func__fabsl_use=yes
69504 else
69505 glibcxx_cv_func__fabsl_use=no
69507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69508 ac_ext=c
69509 ac_cpp='$CPP $CPPFLAGS'
69510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69519 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69521 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69522 for ac_func in _fabsl
69523 do :
69524 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69525 if test "x$ac_cv_func__fabsl" = x""yes; then :
69526 cat >>confdefs.h <<_ACEOF
69527 #define HAVE__FABSL 1
69528 _ACEOF
69531 done
69540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69541 $as_echo_n "checking for fmodl declaration... " >&6; }
69542 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69543 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69544 $as_echo_n "(cached) " >&6
69545 else
69548 ac_ext=cpp
69549 ac_cpp='$CXXCPP $CPPFLAGS'
69550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69555 /* end confdefs.h. */
69556 #include <math.h>
69558 main ()
69560 fmodl(0, 0);
69562 return 0;
69564 _ACEOF
69565 if ac_fn_cxx_try_compile "$LINENO"; then :
69566 glibcxx_cv_func_fmodl_use=yes
69567 else
69568 glibcxx_cv_func_fmodl_use=no
69570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69571 ac_ext=c
69572 ac_cpp='$CPP $CPPFLAGS'
69573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69582 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69584 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69585 for ac_func in fmodl
69586 do :
69587 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69588 if test "x$ac_cv_func_fmodl" = x""yes; then :
69589 cat >>confdefs.h <<_ACEOF
69590 #define HAVE_FMODL 1
69591 _ACEOF
69594 done
69596 else
69598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69599 $as_echo_n "checking for _fmodl declaration... " >&6; }
69600 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69601 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69602 $as_echo_n "(cached) " >&6
69603 else
69606 ac_ext=cpp
69607 ac_cpp='$CXXCPP $CPPFLAGS'
69608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69613 /* end confdefs.h. */
69614 #include <math.h>
69616 main ()
69618 _fmodl(0, 0);
69620 return 0;
69622 _ACEOF
69623 if ac_fn_cxx_try_compile "$LINENO"; then :
69624 glibcxx_cv_func__fmodl_use=yes
69625 else
69626 glibcxx_cv_func__fmodl_use=no
69628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69629 ac_ext=c
69630 ac_cpp='$CPP $CPPFLAGS'
69631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69640 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69642 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69643 for ac_func in _fmodl
69644 do :
69645 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69646 if test "x$ac_cv_func__fmodl" = x""yes; then :
69647 cat >>confdefs.h <<_ACEOF
69648 #define HAVE__FMODL 1
69649 _ACEOF
69652 done
69661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69662 $as_echo_n "checking for frexpl declaration... " >&6; }
69663 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69664 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69665 $as_echo_n "(cached) " >&6
69666 else
69669 ac_ext=cpp
69670 ac_cpp='$CXXCPP $CPPFLAGS'
69671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69676 /* end confdefs.h. */
69677 #include <math.h>
69679 main ()
69681 frexpl(0, 0);
69683 return 0;
69685 _ACEOF
69686 if ac_fn_cxx_try_compile "$LINENO"; then :
69687 glibcxx_cv_func_frexpl_use=yes
69688 else
69689 glibcxx_cv_func_frexpl_use=no
69691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69692 ac_ext=c
69693 ac_cpp='$CPP $CPPFLAGS'
69694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69703 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69705 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69706 for ac_func in frexpl
69707 do :
69708 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69709 if test "x$ac_cv_func_frexpl" = x""yes; then :
69710 cat >>confdefs.h <<_ACEOF
69711 #define HAVE_FREXPL 1
69712 _ACEOF
69715 done
69717 else
69719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69720 $as_echo_n "checking for _frexpl declaration... " >&6; }
69721 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69722 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69723 $as_echo_n "(cached) " >&6
69724 else
69727 ac_ext=cpp
69728 ac_cpp='$CXXCPP $CPPFLAGS'
69729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69734 /* end confdefs.h. */
69735 #include <math.h>
69737 main ()
69739 _frexpl(0, 0);
69741 return 0;
69743 _ACEOF
69744 if ac_fn_cxx_try_compile "$LINENO"; then :
69745 glibcxx_cv_func__frexpl_use=yes
69746 else
69747 glibcxx_cv_func__frexpl_use=no
69749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69750 ac_ext=c
69751 ac_cpp='$CPP $CPPFLAGS'
69752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69761 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69763 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69764 for ac_func in _frexpl
69765 do :
69766 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69767 if test "x$ac_cv_func__frexpl" = x""yes; then :
69768 cat >>confdefs.h <<_ACEOF
69769 #define HAVE__FREXPL 1
69770 _ACEOF
69773 done
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69783 $as_echo_n "checking for hypotl declaration... " >&6; }
69784 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69785 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69786 $as_echo_n "(cached) " >&6
69787 else
69790 ac_ext=cpp
69791 ac_cpp='$CXXCPP $CPPFLAGS'
69792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69797 /* end confdefs.h. */
69798 #include <math.h>
69800 main ()
69802 hypotl(0, 0);
69804 return 0;
69806 _ACEOF
69807 if ac_fn_cxx_try_compile "$LINENO"; then :
69808 glibcxx_cv_func_hypotl_use=yes
69809 else
69810 glibcxx_cv_func_hypotl_use=no
69812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69813 ac_ext=c
69814 ac_cpp='$CPP $CPPFLAGS'
69815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69824 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69826 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69827 for ac_func in hypotl
69828 do :
69829 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69830 if test "x$ac_cv_func_hypotl" = x""yes; then :
69831 cat >>confdefs.h <<_ACEOF
69832 #define HAVE_HYPOTL 1
69833 _ACEOF
69836 done
69838 else
69840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69841 $as_echo_n "checking for _hypotl declaration... " >&6; }
69842 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69843 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69844 $as_echo_n "(cached) " >&6
69845 else
69848 ac_ext=cpp
69849 ac_cpp='$CXXCPP $CPPFLAGS'
69850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69855 /* end confdefs.h. */
69856 #include <math.h>
69858 main ()
69860 _hypotl(0, 0);
69862 return 0;
69864 _ACEOF
69865 if ac_fn_cxx_try_compile "$LINENO"; then :
69866 glibcxx_cv_func__hypotl_use=yes
69867 else
69868 glibcxx_cv_func__hypotl_use=no
69870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69871 ac_ext=c
69872 ac_cpp='$CPP $CPPFLAGS'
69873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69882 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69884 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69885 for ac_func in _hypotl
69886 do :
69887 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69888 if test "x$ac_cv_func__hypotl" = x""yes; then :
69889 cat >>confdefs.h <<_ACEOF
69890 #define HAVE__HYPOTL 1
69891 _ACEOF
69894 done
69903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69904 $as_echo_n "checking for ldexpl declaration... " >&6; }
69905 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69906 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69907 $as_echo_n "(cached) " >&6
69908 else
69911 ac_ext=cpp
69912 ac_cpp='$CXXCPP $CPPFLAGS'
69913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69918 /* end confdefs.h. */
69919 #include <math.h>
69921 main ()
69923 ldexpl(0, 0);
69925 return 0;
69927 _ACEOF
69928 if ac_fn_cxx_try_compile "$LINENO"; then :
69929 glibcxx_cv_func_ldexpl_use=yes
69930 else
69931 glibcxx_cv_func_ldexpl_use=no
69933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69934 ac_ext=c
69935 ac_cpp='$CPP $CPPFLAGS'
69936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69945 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69947 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69948 for ac_func in ldexpl
69949 do :
69950 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69951 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69952 cat >>confdefs.h <<_ACEOF
69953 #define HAVE_LDEXPL 1
69954 _ACEOF
69957 done
69959 else
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69962 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69963 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69964 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69965 $as_echo_n "(cached) " >&6
69966 else
69969 ac_ext=cpp
69970 ac_cpp='$CXXCPP $CPPFLAGS'
69971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69976 /* end confdefs.h. */
69977 #include <math.h>
69979 main ()
69981 _ldexpl(0, 0);
69983 return 0;
69985 _ACEOF
69986 if ac_fn_cxx_try_compile "$LINENO"; then :
69987 glibcxx_cv_func__ldexpl_use=yes
69988 else
69989 glibcxx_cv_func__ldexpl_use=no
69991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69992 ac_ext=c
69993 ac_cpp='$CPP $CPPFLAGS'
69994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70003 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70005 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70006 for ac_func in _ldexpl
70007 do :
70008 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70009 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70010 cat >>confdefs.h <<_ACEOF
70011 #define HAVE__LDEXPL 1
70012 _ACEOF
70015 done
70024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70025 $as_echo_n "checking for logl declaration... " >&6; }
70026 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70027 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70028 $as_echo_n "(cached) " >&6
70029 else
70032 ac_ext=cpp
70033 ac_cpp='$CXXCPP $CPPFLAGS'
70034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70039 /* end confdefs.h. */
70040 #include <math.h>
70041 #ifdef HAVE_IEEEFP_H
70042 #include <ieeefp.h>
70043 #endif
70046 main ()
70048 logl(0);
70050 return 0;
70052 _ACEOF
70053 if ac_fn_cxx_try_compile "$LINENO"; then :
70054 glibcxx_cv_func_logl_use=yes
70055 else
70056 glibcxx_cv_func_logl_use=no
70058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70059 ac_ext=c
70060 ac_cpp='$CPP $CPPFLAGS'
70061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70070 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70072 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70073 for ac_func in logl
70074 do :
70075 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70076 if test "x$ac_cv_func_logl" = x""yes; then :
70077 cat >>confdefs.h <<_ACEOF
70078 #define HAVE_LOGL 1
70079 _ACEOF
70082 done
70084 else
70086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70087 $as_echo_n "checking for _logl declaration... " >&6; }
70088 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70089 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70090 $as_echo_n "(cached) " >&6
70091 else
70094 ac_ext=cpp
70095 ac_cpp='$CXXCPP $CPPFLAGS'
70096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70101 /* end confdefs.h. */
70102 #include <math.h>
70103 #ifdef HAVE_IEEEFP_H
70104 #include <ieeefp.h>
70105 #endif
70108 main ()
70110 _logl(0);
70112 return 0;
70114 _ACEOF
70115 if ac_fn_cxx_try_compile "$LINENO"; then :
70116 glibcxx_cv_func__logl_use=yes
70117 else
70118 glibcxx_cv_func__logl_use=no
70120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70121 ac_ext=c
70122 ac_cpp='$CPP $CPPFLAGS'
70123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70132 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70134 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70135 for ac_func in _logl
70136 do :
70137 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70138 if test "x$ac_cv_func__logl" = x""yes; then :
70139 cat >>confdefs.h <<_ACEOF
70140 #define HAVE__LOGL 1
70141 _ACEOF
70144 done
70153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70154 $as_echo_n "checking for log10l declaration... " >&6; }
70155 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70156 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70157 $as_echo_n "(cached) " >&6
70158 else
70161 ac_ext=cpp
70162 ac_cpp='$CXXCPP $CPPFLAGS'
70163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70168 /* end confdefs.h. */
70169 #include <math.h>
70170 #ifdef HAVE_IEEEFP_H
70171 #include <ieeefp.h>
70172 #endif
70175 main ()
70177 log10l(0);
70179 return 0;
70181 _ACEOF
70182 if ac_fn_cxx_try_compile "$LINENO"; then :
70183 glibcxx_cv_func_log10l_use=yes
70184 else
70185 glibcxx_cv_func_log10l_use=no
70187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70188 ac_ext=c
70189 ac_cpp='$CPP $CPPFLAGS'
70190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70199 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70201 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70202 for ac_func in log10l
70203 do :
70204 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70205 if test "x$ac_cv_func_log10l" = x""yes; then :
70206 cat >>confdefs.h <<_ACEOF
70207 #define HAVE_LOG10L 1
70208 _ACEOF
70211 done
70213 else
70215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70216 $as_echo_n "checking for _log10l declaration... " >&6; }
70217 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70218 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70219 $as_echo_n "(cached) " >&6
70220 else
70223 ac_ext=cpp
70224 ac_cpp='$CXXCPP $CPPFLAGS'
70225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70230 /* end confdefs.h. */
70231 #include <math.h>
70232 #ifdef HAVE_IEEEFP_H
70233 #include <ieeefp.h>
70234 #endif
70237 main ()
70239 _log10l(0);
70241 return 0;
70243 _ACEOF
70244 if ac_fn_cxx_try_compile "$LINENO"; then :
70245 glibcxx_cv_func__log10l_use=yes
70246 else
70247 glibcxx_cv_func__log10l_use=no
70249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70250 ac_ext=c
70251 ac_cpp='$CPP $CPPFLAGS'
70252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70261 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70263 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70264 for ac_func in _log10l
70265 do :
70266 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70267 if test "x$ac_cv_func__log10l" = x""yes; then :
70268 cat >>confdefs.h <<_ACEOF
70269 #define HAVE__LOG10L 1
70270 _ACEOF
70273 done
70282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70283 $as_echo_n "checking for modfl declaration... " >&6; }
70284 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70285 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70286 $as_echo_n "(cached) " >&6
70287 else
70290 ac_ext=cpp
70291 ac_cpp='$CXXCPP $CPPFLAGS'
70292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70297 /* end confdefs.h. */
70298 #include <math.h>
70300 main ()
70302 modfl(0, 0);
70304 return 0;
70306 _ACEOF
70307 if ac_fn_cxx_try_compile "$LINENO"; then :
70308 glibcxx_cv_func_modfl_use=yes
70309 else
70310 glibcxx_cv_func_modfl_use=no
70312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70313 ac_ext=c
70314 ac_cpp='$CPP $CPPFLAGS'
70315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70324 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70326 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70327 for ac_func in modfl
70328 do :
70329 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70330 if test "x$ac_cv_func_modfl" = x""yes; then :
70331 cat >>confdefs.h <<_ACEOF
70332 #define HAVE_MODFL 1
70333 _ACEOF
70336 done
70338 else
70340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70341 $as_echo_n "checking for _modfl declaration... " >&6; }
70342 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70343 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70344 $as_echo_n "(cached) " >&6
70345 else
70348 ac_ext=cpp
70349 ac_cpp='$CXXCPP $CPPFLAGS'
70350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70355 /* end confdefs.h. */
70356 #include <math.h>
70358 main ()
70360 _modfl(0, 0);
70362 return 0;
70364 _ACEOF
70365 if ac_fn_cxx_try_compile "$LINENO"; then :
70366 glibcxx_cv_func__modfl_use=yes
70367 else
70368 glibcxx_cv_func__modfl_use=no
70370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70371 ac_ext=c
70372 ac_cpp='$CPP $CPPFLAGS'
70373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70382 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70384 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70385 for ac_func in _modfl
70386 do :
70387 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70388 if test "x$ac_cv_func__modfl" = x""yes; then :
70389 cat >>confdefs.h <<_ACEOF
70390 #define HAVE__MODFL 1
70391 _ACEOF
70394 done
70403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70404 $as_echo_n "checking for powl declaration... " >&6; }
70405 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70406 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70407 $as_echo_n "(cached) " >&6
70408 else
70411 ac_ext=cpp
70412 ac_cpp='$CXXCPP $CPPFLAGS'
70413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70418 /* end confdefs.h. */
70419 #include <math.h>
70421 main ()
70423 powl(0, 0);
70425 return 0;
70427 _ACEOF
70428 if ac_fn_cxx_try_compile "$LINENO"; then :
70429 glibcxx_cv_func_powl_use=yes
70430 else
70431 glibcxx_cv_func_powl_use=no
70433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70434 ac_ext=c
70435 ac_cpp='$CPP $CPPFLAGS'
70436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70445 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70447 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70448 for ac_func in powl
70449 do :
70450 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70451 if test "x$ac_cv_func_powl" = x""yes; then :
70452 cat >>confdefs.h <<_ACEOF
70453 #define HAVE_POWL 1
70454 _ACEOF
70457 done
70459 else
70461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70462 $as_echo_n "checking for _powl declaration... " >&6; }
70463 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70464 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70465 $as_echo_n "(cached) " >&6
70466 else
70469 ac_ext=cpp
70470 ac_cpp='$CXXCPP $CPPFLAGS'
70471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70476 /* end confdefs.h. */
70477 #include <math.h>
70479 main ()
70481 _powl(0, 0);
70483 return 0;
70485 _ACEOF
70486 if ac_fn_cxx_try_compile "$LINENO"; then :
70487 glibcxx_cv_func__powl_use=yes
70488 else
70489 glibcxx_cv_func__powl_use=no
70491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70492 ac_ext=c
70493 ac_cpp='$CPP $CPPFLAGS'
70494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70503 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70505 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70506 for ac_func in _powl
70507 do :
70508 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70509 if test "x$ac_cv_func__powl" = x""yes; then :
70510 cat >>confdefs.h <<_ACEOF
70511 #define HAVE__POWL 1
70512 _ACEOF
70515 done
70524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70525 $as_echo_n "checking for sqrtl declaration... " >&6; }
70526 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70527 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70528 $as_echo_n "(cached) " >&6
70529 else
70532 ac_ext=cpp
70533 ac_cpp='$CXXCPP $CPPFLAGS'
70534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70539 /* end confdefs.h. */
70540 #include <math.h>
70541 #ifdef HAVE_IEEEFP_H
70542 #include <ieeefp.h>
70543 #endif
70546 main ()
70548 sqrtl(0);
70550 return 0;
70552 _ACEOF
70553 if ac_fn_cxx_try_compile "$LINENO"; then :
70554 glibcxx_cv_func_sqrtl_use=yes
70555 else
70556 glibcxx_cv_func_sqrtl_use=no
70558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70559 ac_ext=c
70560 ac_cpp='$CPP $CPPFLAGS'
70561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70570 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70572 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70573 for ac_func in sqrtl
70574 do :
70575 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70576 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70577 cat >>confdefs.h <<_ACEOF
70578 #define HAVE_SQRTL 1
70579 _ACEOF
70582 done
70584 else
70586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70587 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70588 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70589 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70590 $as_echo_n "(cached) " >&6
70591 else
70594 ac_ext=cpp
70595 ac_cpp='$CXXCPP $CPPFLAGS'
70596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70601 /* end confdefs.h. */
70602 #include <math.h>
70603 #ifdef HAVE_IEEEFP_H
70604 #include <ieeefp.h>
70605 #endif
70608 main ()
70610 _sqrtl(0);
70612 return 0;
70614 _ACEOF
70615 if ac_fn_cxx_try_compile "$LINENO"; then :
70616 glibcxx_cv_func__sqrtl_use=yes
70617 else
70618 glibcxx_cv_func__sqrtl_use=no
70620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70621 ac_ext=c
70622 ac_cpp='$CPP $CPPFLAGS'
70623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70632 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70634 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70635 for ac_func in _sqrtl
70636 do :
70637 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70638 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70639 cat >>confdefs.h <<_ACEOF
70640 #define HAVE__SQRTL 1
70641 _ACEOF
70644 done
70653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70654 $as_echo_n "checking for sincosl declaration... " >&6; }
70655 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70656 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70657 $as_echo_n "(cached) " >&6
70658 else
70661 ac_ext=cpp
70662 ac_cpp='$CXXCPP $CPPFLAGS'
70663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70668 /* end confdefs.h. */
70669 #include <math.h>
70671 main ()
70673 sincosl(0, 0, 0);
70675 return 0;
70677 _ACEOF
70678 if ac_fn_cxx_try_compile "$LINENO"; then :
70679 glibcxx_cv_func_sincosl_use=yes
70680 else
70681 glibcxx_cv_func_sincosl_use=no
70683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70684 ac_ext=c
70685 ac_cpp='$CPP $CPPFLAGS'
70686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70695 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70697 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70698 for ac_func in sincosl
70699 do :
70700 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70701 if test "x$ac_cv_func_sincosl" = x""yes; then :
70702 cat >>confdefs.h <<_ACEOF
70703 #define HAVE_SINCOSL 1
70704 _ACEOF
70707 done
70709 else
70711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70712 $as_echo_n "checking for _sincosl declaration... " >&6; }
70713 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70714 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70715 $as_echo_n "(cached) " >&6
70716 else
70719 ac_ext=cpp
70720 ac_cpp='$CXXCPP $CPPFLAGS'
70721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70726 /* end confdefs.h. */
70727 #include <math.h>
70729 main ()
70731 _sincosl(0, 0, 0);
70733 return 0;
70735 _ACEOF
70736 if ac_fn_cxx_try_compile "$LINENO"; then :
70737 glibcxx_cv_func__sincosl_use=yes
70738 else
70739 glibcxx_cv_func__sincosl_use=no
70741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70742 ac_ext=c
70743 ac_cpp='$CPP $CPPFLAGS'
70744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70753 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70755 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70756 for ac_func in _sincosl
70757 do :
70758 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70759 if test "x$ac_cv_func__sincosl" = x""yes; then :
70760 cat >>confdefs.h <<_ACEOF
70761 #define HAVE__SINCOSL 1
70762 _ACEOF
70765 done
70774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70775 $as_echo_n "checking for finitel declaration... " >&6; }
70776 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70777 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70778 $as_echo_n "(cached) " >&6
70779 else
70782 ac_ext=cpp
70783 ac_cpp='$CXXCPP $CPPFLAGS'
70784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70789 /* end confdefs.h. */
70790 #include <math.h>
70791 #ifdef HAVE_IEEEFP_H
70792 #include <ieeefp.h>
70793 #endif
70796 main ()
70798 finitel(0);
70800 return 0;
70802 _ACEOF
70803 if ac_fn_cxx_try_compile "$LINENO"; then :
70804 glibcxx_cv_func_finitel_use=yes
70805 else
70806 glibcxx_cv_func_finitel_use=no
70808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70809 ac_ext=c
70810 ac_cpp='$CPP $CPPFLAGS'
70811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70820 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70822 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70823 for ac_func in finitel
70824 do :
70825 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70826 if test "x$ac_cv_func_finitel" = x""yes; then :
70827 cat >>confdefs.h <<_ACEOF
70828 #define HAVE_FINITEL 1
70829 _ACEOF
70832 done
70834 else
70836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70837 $as_echo_n "checking for _finitel declaration... " >&6; }
70838 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70839 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70840 $as_echo_n "(cached) " >&6
70841 else
70844 ac_ext=cpp
70845 ac_cpp='$CXXCPP $CPPFLAGS'
70846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70851 /* end confdefs.h. */
70852 #include <math.h>
70853 #ifdef HAVE_IEEEFP_H
70854 #include <ieeefp.h>
70855 #endif
70858 main ()
70860 _finitel(0);
70862 return 0;
70864 _ACEOF
70865 if ac_fn_cxx_try_compile "$LINENO"; then :
70866 glibcxx_cv_func__finitel_use=yes
70867 else
70868 glibcxx_cv_func__finitel_use=no
70870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70871 ac_ext=c
70872 ac_cpp='$CPP $CPPFLAGS'
70873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70882 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70884 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70885 for ac_func in _finitel
70886 do :
70887 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70888 if test "x$ac_cv_func__finitel" = x""yes; then :
70889 cat >>confdefs.h <<_ACEOF
70890 #define HAVE__FINITEL 1
70891 _ACEOF
70894 done
70902 LIBS="$ac_save_LIBS"
70903 CXXFLAGS="$ac_save_CXXFLAGS"
70906 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70907 ac_save_CXXFLAGS="$CXXFLAGS"
70908 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70912 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70913 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70914 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70915 $as_echo_n "(cached) " >&6
70916 else
70919 ac_ext=cpp
70920 ac_cpp='$CXXCPP $CPPFLAGS'
70921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70926 /* end confdefs.h. */
70927 #include <stdlib.h>
70929 main ()
70931 at_quick_exit(0);
70933 return 0;
70935 _ACEOF
70936 if ac_fn_cxx_try_compile "$LINENO"; then :
70937 glibcxx_cv_func_at_quick_exit_use=yes
70938 else
70939 glibcxx_cv_func_at_quick_exit_use=no
70941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70942 ac_ext=c
70943 ac_cpp='$CPP $CPPFLAGS'
70944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70953 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70954 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70955 for ac_func in at_quick_exit
70956 do :
70957 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70958 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70959 cat >>confdefs.h <<_ACEOF
70960 #define HAVE_AT_QUICK_EXIT 1
70961 _ACEOF
70964 done
70969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70970 $as_echo_n "checking for quick_exit declaration... " >&6; }
70971 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70972 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70973 $as_echo_n "(cached) " >&6
70974 else
70977 ac_ext=cpp
70978 ac_cpp='$CXXCPP $CPPFLAGS'
70979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70984 /* end confdefs.h. */
70985 #include <stdlib.h>
70987 main ()
70989 quick_exit(0);
70991 return 0;
70993 _ACEOF
70994 if ac_fn_cxx_try_compile "$LINENO"; then :
70995 glibcxx_cv_func_quick_exit_use=yes
70996 else
70997 glibcxx_cv_func_quick_exit_use=no
70999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71000 ac_ext=c
71001 ac_cpp='$CPP $CPPFLAGS'
71002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71011 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71012 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71013 for ac_func in quick_exit
71014 do :
71015 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71016 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71017 cat >>confdefs.h <<_ACEOF
71018 #define HAVE_QUICK_EXIT 1
71019 _ACEOF
71022 done
71027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71028 $as_echo_n "checking for strtold declaration... " >&6; }
71029 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71030 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71031 $as_echo_n "(cached) " >&6
71032 else
71035 ac_ext=cpp
71036 ac_cpp='$CXXCPP $CPPFLAGS'
71037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71042 /* end confdefs.h. */
71043 #include <stdlib.h>
71045 main ()
71047 strtold(0, 0);
71049 return 0;
71051 _ACEOF
71052 if ac_fn_cxx_try_compile "$LINENO"; then :
71053 glibcxx_cv_func_strtold_use=yes
71054 else
71055 glibcxx_cv_func_strtold_use=no
71057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71058 ac_ext=c
71059 ac_cpp='$CPP $CPPFLAGS'
71060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71069 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71070 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71071 for ac_func in strtold
71072 do :
71073 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71074 if test "x$ac_cv_func_strtold" = x""yes; then :
71075 cat >>confdefs.h <<_ACEOF
71076 #define HAVE_STRTOLD 1
71077 _ACEOF
71080 done
71087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71088 $as_echo_n "checking for strtof declaration... " >&6; }
71089 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71090 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71091 $as_echo_n "(cached) " >&6
71092 else
71095 ac_ext=cpp
71096 ac_cpp='$CXXCPP $CPPFLAGS'
71097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71102 /* end confdefs.h. */
71103 #include <stdlib.h>
71105 main ()
71107 strtof(0, 0);
71109 return 0;
71111 _ACEOF
71112 if ac_fn_cxx_try_compile "$LINENO"; then :
71113 glibcxx_cv_func_strtof_use=yes
71114 else
71115 glibcxx_cv_func_strtof_use=no
71117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71118 ac_ext=c
71119 ac_cpp='$CPP $CPPFLAGS'
71120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71129 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71130 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71131 for ac_func in strtof
71132 do :
71133 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71134 if test "x$ac_cv_func_strtof" = x""yes; then :
71135 cat >>confdefs.h <<_ACEOF
71136 #define HAVE_STRTOF 1
71137 _ACEOF
71140 done
71147 CXXFLAGS="$ac_save_CXXFLAGS"
71150 *-solaris*)
71152 # If we're not using GNU ld, then there's no point in even trying these
71153 # tests. Check for that first. We should have already tested for gld
71154 # by now (in libtool), but require it now just to be safe...
71155 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71156 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71160 # The name set by libtool depends on the version of libtool. Shame on us
71161 # for depending on an impl detail, but c'est la vie. Older versions used
71162 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71163 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71164 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71165 # set (hence we're using an older libtool), then set it.
71166 if test x${with_gnu_ld+set} != xset; then
71167 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71168 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71169 with_gnu_ld=no
71170 else
71171 with_gnu_ld=$ac_cv_prog_gnu_ld
71175 # Start by getting the version number. I think the libtool test already
71176 # does some of this, but throws away the result.
71177 glibcxx_ld_is_gold=no
71178 if test x"$with_gnu_ld" = x"yes"; then
71179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71180 $as_echo_n "checking for ld version... " >&6; }
71182 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71183 glibcxx_ld_is_gold=yes
71185 ldver=`$LD --version 2>/dev/null |
71186 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'`
71188 glibcxx_gnu_ld_version=`echo $ldver | \
71189 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71191 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71194 # Set --gc-sections.
71195 glibcxx_have_gc_sections=no
71196 if test "$glibcxx_ld_is_gold" = "yes"; then
71197 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71198 glibcxx_have_gc_sections=yes
71200 else
71201 glibcxx_gcsections_min_ld=21602
71202 if test x"$with_gnu_ld" = x"yes" &&
71203 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71204 glibcxx_have_gc_sections=yes
71207 if test "$glibcxx_have_gc_sections" = "yes"; then
71208 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71209 # NB: This flag only works reliably after 2.16.1. Configure tests
71210 # for this are difficult, so hard wire a value that should work.
71212 ac_test_CFLAGS="${CFLAGS+set}"
71213 ac_save_CFLAGS="$CFLAGS"
71214 CFLAGS='-Wl,--gc-sections'
71216 # Check for -Wl,--gc-sections
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71218 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71219 if test x$gcc_no_link = xyes; then
71220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71223 /* end confdefs.h. */
71224 int one(void) { return 1; }
71225 int two(void) { return 2; }
71228 main ()
71230 two();
71232 return 0;
71234 _ACEOF
71235 if ac_fn_c_try_link "$LINENO"; then :
71236 ac_gcsections=yes
71237 else
71238 ac_gcsections=no
71240 rm -f core conftest.err conftest.$ac_objext \
71241 conftest$ac_exeext conftest.$ac_ext
71242 if test "$ac_gcsections" = "yes"; then
71243 rm -f conftest.c
71244 touch conftest.c
71245 if $CC -c conftest.c; then
71246 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71247 grep "Warning: gc-sections option ignored" > /dev/null; then
71248 ac_gcsections=no
71251 rm -f conftest.c conftest.o conftest
71253 if test "$ac_gcsections" = "yes"; then
71254 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71257 $as_echo "$ac_gcsections" >&6; }
71259 if test "$ac_test_CFLAGS" = set; then
71260 CFLAGS="$ac_save_CFLAGS"
71261 else
71262 # this is the suspicious part
71263 CFLAGS=''
71267 # Set -z,relro.
71268 # Note this is only for shared objects.
71269 ac_ld_relro=no
71270 if test x"$with_gnu_ld" = x"yes"; then
71271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71272 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71273 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71274 if test -n "$cxx_z_relo"; then
71275 OPT_LDFLAGS="-Wl,-z,relro"
71276 ac_ld_relro=yes
71278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71279 $as_echo "$ac_ld_relro" >&6; }
71282 # Set linker optimization flags.
71283 if test x"$with_gnu_ld" = x"yes"; then
71284 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71290 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71292 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71294 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71296 # All of the dependencies for wide character support are here, so
71297 # turn it on.
71298 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71300 # These two C99 functions are present only in Solaris >= 10
71301 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71303 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71305 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71307 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71309 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71311 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71314 *-tpf)
71315 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71316 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71318 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71320 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71322 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71324 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71326 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71328 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71330 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71332 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71334 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71336 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71338 if test x"long_double_math_on_this_cpu" = x"yes"; then
71339 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71341 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71343 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71345 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71349 *-*vms*)
71350 # Check for available headers.
71351 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71353 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71354 ac_save_CXXFLAGS="$CXXFLAGS"
71355 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71358 $as_echo_n "checking for sin in -lm... " >&6; }
71359 if test "${ac_cv_lib_m_sin+set}" = set; then :
71360 $as_echo_n "(cached) " >&6
71361 else
71362 ac_check_lib_save_LIBS=$LIBS
71363 LIBS="-lm $LIBS"
71364 if test x$gcc_no_link = xyes; then
71365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71368 /* end confdefs.h. */
71370 /* Override any GCC internal prototype to avoid an error.
71371 Use char because int might match the return type of a GCC
71372 builtin and then its argument prototype would still apply. */
71373 #ifdef __cplusplus
71374 extern "C"
71375 #endif
71376 char sin ();
71378 main ()
71380 return sin ();
71382 return 0;
71384 _ACEOF
71385 if ac_fn_c_try_link "$LINENO"; then :
71386 ac_cv_lib_m_sin=yes
71387 else
71388 ac_cv_lib_m_sin=no
71390 rm -f core conftest.err conftest.$ac_objext \
71391 conftest$ac_exeext conftest.$ac_ext
71392 LIBS=$ac_check_lib_save_LIBS
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71395 $as_echo "$ac_cv_lib_m_sin" >&6; }
71396 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71397 libm="-lm"
71400 ac_save_LIBS="$LIBS"
71401 LIBS="$LIBS $libm"
71405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71406 $as_echo_n "checking for isinf declaration... " >&6; }
71407 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71408 if test "${glibcxx_cv_func_isinf_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>
71422 #ifdef HAVE_IEEEFP_H
71423 #include <ieeefp.h>
71424 #endif
71427 main ()
71429 isinf(0);
71431 return 0;
71433 _ACEOF
71434 if ac_fn_cxx_try_compile "$LINENO"; then :
71435 glibcxx_cv_func_isinf_use=yes
71436 else
71437 glibcxx_cv_func_isinf_use=no
71439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71440 ac_ext=c
71441 ac_cpp='$CPP $CPPFLAGS'
71442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71451 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71453 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71454 for ac_func in isinf
71455 do :
71456 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71457 if test "x$ac_cv_func_isinf" = x""yes; then :
71458 cat >>confdefs.h <<_ACEOF
71459 #define HAVE_ISINF 1
71460 _ACEOF
71463 done
71465 else
71467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71468 $as_echo_n "checking for _isinf declaration... " >&6; }
71469 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71470 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71471 $as_echo_n "(cached) " >&6
71472 else
71475 ac_ext=cpp
71476 ac_cpp='$CXXCPP $CPPFLAGS'
71477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71482 /* end confdefs.h. */
71483 #include <math.h>
71484 #ifdef HAVE_IEEEFP_H
71485 #include <ieeefp.h>
71486 #endif
71489 main ()
71491 _isinf(0);
71493 return 0;
71495 _ACEOF
71496 if ac_fn_cxx_try_compile "$LINENO"; then :
71497 glibcxx_cv_func__isinf_use=yes
71498 else
71499 glibcxx_cv_func__isinf_use=no
71501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71502 ac_ext=c
71503 ac_cpp='$CPP $CPPFLAGS'
71504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71513 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71515 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71516 for ac_func in _isinf
71517 do :
71518 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71519 if test "x$ac_cv_func__isinf" = x""yes; then :
71520 cat >>confdefs.h <<_ACEOF
71521 #define HAVE__ISINF 1
71522 _ACEOF
71525 done
71534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71535 $as_echo_n "checking for isnan declaration... " >&6; }
71536 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71537 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71538 $as_echo_n "(cached) " >&6
71539 else
71542 ac_ext=cpp
71543 ac_cpp='$CXXCPP $CPPFLAGS'
71544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71549 /* end confdefs.h. */
71550 #include <math.h>
71551 #ifdef HAVE_IEEEFP_H
71552 #include <ieeefp.h>
71553 #endif
71556 main ()
71558 isnan(0);
71560 return 0;
71562 _ACEOF
71563 if ac_fn_cxx_try_compile "$LINENO"; then :
71564 glibcxx_cv_func_isnan_use=yes
71565 else
71566 glibcxx_cv_func_isnan_use=no
71568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71569 ac_ext=c
71570 ac_cpp='$CPP $CPPFLAGS'
71571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71580 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71582 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71583 for ac_func in isnan
71584 do :
71585 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71586 if test "x$ac_cv_func_isnan" = x""yes; then :
71587 cat >>confdefs.h <<_ACEOF
71588 #define HAVE_ISNAN 1
71589 _ACEOF
71592 done
71594 else
71596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71597 $as_echo_n "checking for _isnan declaration... " >&6; }
71598 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71599 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71600 $as_echo_n "(cached) " >&6
71601 else
71604 ac_ext=cpp
71605 ac_cpp='$CXXCPP $CPPFLAGS'
71606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71611 /* end confdefs.h. */
71612 #include <math.h>
71613 #ifdef HAVE_IEEEFP_H
71614 #include <ieeefp.h>
71615 #endif
71618 main ()
71620 _isnan(0);
71622 return 0;
71624 _ACEOF
71625 if ac_fn_cxx_try_compile "$LINENO"; then :
71626 glibcxx_cv_func__isnan_use=yes
71627 else
71628 glibcxx_cv_func__isnan_use=no
71630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71631 ac_ext=c
71632 ac_cpp='$CPP $CPPFLAGS'
71633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71642 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71644 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71645 for ac_func in _isnan
71646 do :
71647 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71648 if test "x$ac_cv_func__isnan" = x""yes; then :
71649 cat >>confdefs.h <<_ACEOF
71650 #define HAVE__ISNAN 1
71651 _ACEOF
71654 done
71663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71664 $as_echo_n "checking for finite declaration... " >&6; }
71665 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71666 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71667 $as_echo_n "(cached) " >&6
71668 else
71671 ac_ext=cpp
71672 ac_cpp='$CXXCPP $CPPFLAGS'
71673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71678 /* end confdefs.h. */
71679 #include <math.h>
71680 #ifdef HAVE_IEEEFP_H
71681 #include <ieeefp.h>
71682 #endif
71685 main ()
71687 finite(0);
71689 return 0;
71691 _ACEOF
71692 if ac_fn_cxx_try_compile "$LINENO"; then :
71693 glibcxx_cv_func_finite_use=yes
71694 else
71695 glibcxx_cv_func_finite_use=no
71697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71698 ac_ext=c
71699 ac_cpp='$CPP $CPPFLAGS'
71700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71709 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71711 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71712 for ac_func in finite
71713 do :
71714 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71715 if test "x$ac_cv_func_finite" = x""yes; then :
71716 cat >>confdefs.h <<_ACEOF
71717 #define HAVE_FINITE 1
71718 _ACEOF
71721 done
71723 else
71725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71726 $as_echo_n "checking for _finite declaration... " >&6; }
71727 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71728 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71729 $as_echo_n "(cached) " >&6
71730 else
71733 ac_ext=cpp
71734 ac_cpp='$CXXCPP $CPPFLAGS'
71735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71740 /* end confdefs.h. */
71741 #include <math.h>
71742 #ifdef HAVE_IEEEFP_H
71743 #include <ieeefp.h>
71744 #endif
71747 main ()
71749 _finite(0);
71751 return 0;
71753 _ACEOF
71754 if ac_fn_cxx_try_compile "$LINENO"; then :
71755 glibcxx_cv_func__finite_use=yes
71756 else
71757 glibcxx_cv_func__finite_use=no
71759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71760 ac_ext=c
71761 ac_cpp='$CPP $CPPFLAGS'
71762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71771 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71773 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71774 for ac_func in _finite
71775 do :
71776 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71777 if test "x$ac_cv_func__finite" = x""yes; then :
71778 cat >>confdefs.h <<_ACEOF
71779 #define HAVE__FINITE 1
71780 _ACEOF
71783 done
71792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71793 $as_echo_n "checking for sincos declaration... " >&6; }
71794 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71795 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71796 $as_echo_n "(cached) " >&6
71797 else
71800 ac_ext=cpp
71801 ac_cpp='$CXXCPP $CPPFLAGS'
71802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71807 /* end confdefs.h. */
71808 #include <math.h>
71810 main ()
71812 sincos(0, 0, 0);
71814 return 0;
71816 _ACEOF
71817 if ac_fn_cxx_try_compile "$LINENO"; then :
71818 glibcxx_cv_func_sincos_use=yes
71819 else
71820 glibcxx_cv_func_sincos_use=no
71822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71823 ac_ext=c
71824 ac_cpp='$CPP $CPPFLAGS'
71825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71834 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71836 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71837 for ac_func in sincos
71838 do :
71839 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71840 if test "x$ac_cv_func_sincos" = x""yes; then :
71841 cat >>confdefs.h <<_ACEOF
71842 #define HAVE_SINCOS 1
71843 _ACEOF
71846 done
71848 else
71850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71851 $as_echo_n "checking for _sincos declaration... " >&6; }
71852 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71853 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71854 $as_echo_n "(cached) " >&6
71855 else
71858 ac_ext=cpp
71859 ac_cpp='$CXXCPP $CPPFLAGS'
71860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71865 /* end confdefs.h. */
71866 #include <math.h>
71868 main ()
71870 _sincos(0, 0, 0);
71872 return 0;
71874 _ACEOF
71875 if ac_fn_cxx_try_compile "$LINENO"; then :
71876 glibcxx_cv_func__sincos_use=yes
71877 else
71878 glibcxx_cv_func__sincos_use=no
71880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71881 ac_ext=c
71882 ac_cpp='$CPP $CPPFLAGS'
71883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71892 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71894 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71895 for ac_func in _sincos
71896 do :
71897 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71898 if test "x$ac_cv_func__sincos" = x""yes; then :
71899 cat >>confdefs.h <<_ACEOF
71900 #define HAVE__SINCOS 1
71901 _ACEOF
71904 done
71913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71914 $as_echo_n "checking for fpclass declaration... " >&6; }
71915 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71916 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71917 $as_echo_n "(cached) " >&6
71918 else
71921 ac_ext=cpp
71922 ac_cpp='$CXXCPP $CPPFLAGS'
71923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71928 /* end confdefs.h. */
71929 #include <math.h>
71930 #ifdef HAVE_IEEEFP_H
71931 #include <ieeefp.h>
71932 #endif
71935 main ()
71937 fpclass(0);
71939 return 0;
71941 _ACEOF
71942 if ac_fn_cxx_try_compile "$LINENO"; then :
71943 glibcxx_cv_func_fpclass_use=yes
71944 else
71945 glibcxx_cv_func_fpclass_use=no
71947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71948 ac_ext=c
71949 ac_cpp='$CPP $CPPFLAGS'
71950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71959 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71961 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71962 for ac_func in fpclass
71963 do :
71964 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71965 if test "x$ac_cv_func_fpclass" = x""yes; then :
71966 cat >>confdefs.h <<_ACEOF
71967 #define HAVE_FPCLASS 1
71968 _ACEOF
71971 done
71973 else
71975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71976 $as_echo_n "checking for _fpclass declaration... " >&6; }
71977 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71978 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71979 $as_echo_n "(cached) " >&6
71980 else
71983 ac_ext=cpp
71984 ac_cpp='$CXXCPP $CPPFLAGS'
71985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71990 /* end confdefs.h. */
71991 #include <math.h>
71992 #ifdef HAVE_IEEEFP_H
71993 #include <ieeefp.h>
71994 #endif
71997 main ()
71999 _fpclass(0);
72001 return 0;
72003 _ACEOF
72004 if ac_fn_cxx_try_compile "$LINENO"; then :
72005 glibcxx_cv_func__fpclass_use=yes
72006 else
72007 glibcxx_cv_func__fpclass_use=no
72009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72010 ac_ext=c
72011 ac_cpp='$CPP $CPPFLAGS'
72012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72021 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72023 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72024 for ac_func in _fpclass
72025 do :
72026 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72027 if test "x$ac_cv_func__fpclass" = x""yes; then :
72028 cat >>confdefs.h <<_ACEOF
72029 #define HAVE__FPCLASS 1
72030 _ACEOF
72033 done
72042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72043 $as_echo_n "checking for qfpclass declaration... " >&6; }
72044 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72045 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72046 $as_echo_n "(cached) " >&6
72047 else
72050 ac_ext=cpp
72051 ac_cpp='$CXXCPP $CPPFLAGS'
72052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72057 /* end confdefs.h. */
72058 #include <math.h>
72059 #ifdef HAVE_IEEEFP_H
72060 #include <ieeefp.h>
72061 #endif
72064 main ()
72066 qfpclass(0);
72068 return 0;
72070 _ACEOF
72071 if ac_fn_cxx_try_compile "$LINENO"; then :
72072 glibcxx_cv_func_qfpclass_use=yes
72073 else
72074 glibcxx_cv_func_qfpclass_use=no
72076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72077 ac_ext=c
72078 ac_cpp='$CPP $CPPFLAGS'
72079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72088 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72090 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72091 for ac_func in qfpclass
72092 do :
72093 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72094 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72095 cat >>confdefs.h <<_ACEOF
72096 #define HAVE_QFPCLASS 1
72097 _ACEOF
72100 done
72102 else
72104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72105 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72106 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72107 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72108 $as_echo_n "(cached) " >&6
72109 else
72112 ac_ext=cpp
72113 ac_cpp='$CXXCPP $CPPFLAGS'
72114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72119 /* end confdefs.h. */
72120 #include <math.h>
72121 #ifdef HAVE_IEEEFP_H
72122 #include <ieeefp.h>
72123 #endif
72126 main ()
72128 _qfpclass(0);
72130 return 0;
72132 _ACEOF
72133 if ac_fn_cxx_try_compile "$LINENO"; then :
72134 glibcxx_cv_func__qfpclass_use=yes
72135 else
72136 glibcxx_cv_func__qfpclass_use=no
72138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72139 ac_ext=c
72140 ac_cpp='$CPP $CPPFLAGS'
72141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72150 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72152 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72153 for ac_func in _qfpclass
72154 do :
72155 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72156 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72157 cat >>confdefs.h <<_ACEOF
72158 #define HAVE__QFPCLASS 1
72159 _ACEOF
72162 done
72171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72172 $as_echo_n "checking for hypot declaration... " >&6; }
72173 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72174 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72175 $as_echo_n "(cached) " >&6
72176 else
72179 ac_ext=cpp
72180 ac_cpp='$CXXCPP $CPPFLAGS'
72181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72186 /* end confdefs.h. */
72187 #include <math.h>
72189 main ()
72191 hypot(0, 0);
72193 return 0;
72195 _ACEOF
72196 if ac_fn_cxx_try_compile "$LINENO"; then :
72197 glibcxx_cv_func_hypot_use=yes
72198 else
72199 glibcxx_cv_func_hypot_use=no
72201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72202 ac_ext=c
72203 ac_cpp='$CPP $CPPFLAGS'
72204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72213 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72215 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72216 for ac_func in hypot
72217 do :
72218 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72219 if test "x$ac_cv_func_hypot" = x""yes; then :
72220 cat >>confdefs.h <<_ACEOF
72221 #define HAVE_HYPOT 1
72222 _ACEOF
72225 done
72227 else
72229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72230 $as_echo_n "checking for _hypot declaration... " >&6; }
72231 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72232 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72233 $as_echo_n "(cached) " >&6
72234 else
72237 ac_ext=cpp
72238 ac_cpp='$CXXCPP $CPPFLAGS'
72239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72244 /* end confdefs.h. */
72245 #include <math.h>
72247 main ()
72249 _hypot(0, 0);
72251 return 0;
72253 _ACEOF
72254 if ac_fn_cxx_try_compile "$LINENO"; then :
72255 glibcxx_cv_func__hypot_use=yes
72256 else
72257 glibcxx_cv_func__hypot_use=no
72259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72260 ac_ext=c
72261 ac_cpp='$CPP $CPPFLAGS'
72262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72271 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72273 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72274 for ac_func in _hypot
72275 do :
72276 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72277 if test "x$ac_cv_func__hypot" = x""yes; then :
72278 cat >>confdefs.h <<_ACEOF
72279 #define HAVE__HYPOT 1
72280 _ACEOF
72283 done
72292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72293 $as_echo_n "checking for float trig functions... " >&6; }
72294 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72295 $as_echo_n "(cached) " >&6
72296 else
72299 ac_ext=cpp
72300 ac_cpp='$CXXCPP $CPPFLAGS'
72301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72306 /* end confdefs.h. */
72307 #include <math.h>
72309 main ()
72311 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72313 return 0;
72315 _ACEOF
72316 if ac_fn_cxx_try_compile "$LINENO"; then :
72317 glibcxx_cv_func_float_trig_use=yes
72318 else
72319 glibcxx_cv_func_float_trig_use=no
72321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72322 ac_ext=c
72323 ac_cpp='$CPP $CPPFLAGS'
72324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72331 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72332 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72333 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72334 do :
72335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72337 eval as_val=\$$as_ac_var
72338 if test "x$as_val" = x""yes; then :
72339 cat >>confdefs.h <<_ACEOF
72340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72341 _ACEOF
72344 done
72346 else
72347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72348 $as_echo_n "checking for _float trig functions... " >&6; }
72349 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72350 $as_echo_n "(cached) " >&6
72351 else
72354 ac_ext=cpp
72355 ac_cpp='$CXXCPP $CPPFLAGS'
72356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72361 /* end confdefs.h. */
72362 #include <math.h>
72364 main ()
72366 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72368 return 0;
72370 _ACEOF
72371 if ac_fn_cxx_try_compile "$LINENO"; then :
72372 glibcxx_cv_func__float_trig_use=yes
72373 else
72374 glibcxx_cv_func__float_trig_use=no
72376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72377 ac_ext=c
72378 ac_cpp='$CPP $CPPFLAGS'
72379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72386 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72387 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72388 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72389 do :
72390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72392 eval as_val=\$$as_ac_var
72393 if test "x$as_val" = x""yes; then :
72394 cat >>confdefs.h <<_ACEOF
72395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72396 _ACEOF
72399 done
72408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72409 $as_echo_n "checking for float round functions... " >&6; }
72410 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72411 $as_echo_n "(cached) " >&6
72412 else
72415 ac_ext=cpp
72416 ac_cpp='$CXXCPP $CPPFLAGS'
72417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72422 /* end confdefs.h. */
72423 #include <math.h>
72425 main ()
72427 ceilf (0); floorf (0);
72429 return 0;
72431 _ACEOF
72432 if ac_fn_cxx_try_compile "$LINENO"; then :
72433 glibcxx_cv_func_float_round_use=yes
72434 else
72435 glibcxx_cv_func_float_round_use=no
72437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72438 ac_ext=c
72439 ac_cpp='$CPP $CPPFLAGS'
72440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72447 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72448 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72449 for ac_func in ceilf floorf
72450 do :
72451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72453 eval as_val=\$$as_ac_var
72454 if test "x$as_val" = x""yes; then :
72455 cat >>confdefs.h <<_ACEOF
72456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72457 _ACEOF
72460 done
72462 else
72463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72464 $as_echo_n "checking for _float round functions... " >&6; }
72465 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72466 $as_echo_n "(cached) " >&6
72467 else
72470 ac_ext=cpp
72471 ac_cpp='$CXXCPP $CPPFLAGS'
72472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72477 /* end confdefs.h. */
72478 #include <math.h>
72480 main ()
72482 _ceilf (0); _floorf (0);
72484 return 0;
72486 _ACEOF
72487 if ac_fn_cxx_try_compile "$LINENO"; then :
72488 glibcxx_cv_func__float_round_use=yes
72489 else
72490 glibcxx_cv_func__float_round_use=no
72492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72493 ac_ext=c
72494 ac_cpp='$CPP $CPPFLAGS'
72495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72502 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72503 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72504 for ac_func in _ceilf _floorf
72505 do :
72506 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72508 eval as_val=\$$as_ac_var
72509 if test "x$as_val" = x""yes; then :
72510 cat >>confdefs.h <<_ACEOF
72511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72512 _ACEOF
72515 done
72525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72526 $as_echo_n "checking for expf declaration... " >&6; }
72527 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72528 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72529 $as_echo_n "(cached) " >&6
72530 else
72533 ac_ext=cpp
72534 ac_cpp='$CXXCPP $CPPFLAGS'
72535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72540 /* end confdefs.h. */
72541 #include <math.h>
72542 #ifdef HAVE_IEEEFP_H
72543 #include <ieeefp.h>
72544 #endif
72547 main ()
72549 expf(0);
72551 return 0;
72553 _ACEOF
72554 if ac_fn_cxx_try_compile "$LINENO"; then :
72555 glibcxx_cv_func_expf_use=yes
72556 else
72557 glibcxx_cv_func_expf_use=no
72559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72560 ac_ext=c
72561 ac_cpp='$CPP $CPPFLAGS'
72562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72571 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72573 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72574 for ac_func in expf
72575 do :
72576 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72577 if test "x$ac_cv_func_expf" = x""yes; then :
72578 cat >>confdefs.h <<_ACEOF
72579 #define HAVE_EXPF 1
72580 _ACEOF
72583 done
72585 else
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72588 $as_echo_n "checking for _expf declaration... " >&6; }
72589 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72590 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72591 $as_echo_n "(cached) " >&6
72592 else
72595 ac_ext=cpp
72596 ac_cpp='$CXXCPP $CPPFLAGS'
72597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72602 /* end confdefs.h. */
72603 #include <math.h>
72604 #ifdef HAVE_IEEEFP_H
72605 #include <ieeefp.h>
72606 #endif
72609 main ()
72611 _expf(0);
72613 return 0;
72615 _ACEOF
72616 if ac_fn_cxx_try_compile "$LINENO"; then :
72617 glibcxx_cv_func__expf_use=yes
72618 else
72619 glibcxx_cv_func__expf_use=no
72621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72622 ac_ext=c
72623 ac_cpp='$CPP $CPPFLAGS'
72624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72633 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72635 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72636 for ac_func in _expf
72637 do :
72638 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72639 if test "x$ac_cv_func__expf" = x""yes; then :
72640 cat >>confdefs.h <<_ACEOF
72641 #define HAVE__EXPF 1
72642 _ACEOF
72645 done
72654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72655 $as_echo_n "checking for isnanf declaration... " >&6; }
72656 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72657 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72658 $as_echo_n "(cached) " >&6
72659 else
72662 ac_ext=cpp
72663 ac_cpp='$CXXCPP $CPPFLAGS'
72664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72669 /* end confdefs.h. */
72670 #include <math.h>
72671 #ifdef HAVE_IEEEFP_H
72672 #include <ieeefp.h>
72673 #endif
72676 main ()
72678 isnanf(0);
72680 return 0;
72682 _ACEOF
72683 if ac_fn_cxx_try_compile "$LINENO"; then :
72684 glibcxx_cv_func_isnanf_use=yes
72685 else
72686 glibcxx_cv_func_isnanf_use=no
72688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72689 ac_ext=c
72690 ac_cpp='$CPP $CPPFLAGS'
72691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72700 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72702 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72703 for ac_func in isnanf
72704 do :
72705 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72706 if test "x$ac_cv_func_isnanf" = x""yes; then :
72707 cat >>confdefs.h <<_ACEOF
72708 #define HAVE_ISNANF 1
72709 _ACEOF
72712 done
72714 else
72716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72717 $as_echo_n "checking for _isnanf declaration... " >&6; }
72718 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72719 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72720 $as_echo_n "(cached) " >&6
72721 else
72724 ac_ext=cpp
72725 ac_cpp='$CXXCPP $CPPFLAGS'
72726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72731 /* end confdefs.h. */
72732 #include <math.h>
72733 #ifdef HAVE_IEEEFP_H
72734 #include <ieeefp.h>
72735 #endif
72738 main ()
72740 _isnanf(0);
72742 return 0;
72744 _ACEOF
72745 if ac_fn_cxx_try_compile "$LINENO"; then :
72746 glibcxx_cv_func__isnanf_use=yes
72747 else
72748 glibcxx_cv_func__isnanf_use=no
72750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72751 ac_ext=c
72752 ac_cpp='$CPP $CPPFLAGS'
72753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72762 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72764 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72765 for ac_func in _isnanf
72766 do :
72767 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72768 if test "x$ac_cv_func__isnanf" = x""yes; then :
72769 cat >>confdefs.h <<_ACEOF
72770 #define HAVE__ISNANF 1
72771 _ACEOF
72774 done
72783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72784 $as_echo_n "checking for isinff declaration... " >&6; }
72785 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72786 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72787 $as_echo_n "(cached) " >&6
72788 else
72791 ac_ext=cpp
72792 ac_cpp='$CXXCPP $CPPFLAGS'
72793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72798 /* end confdefs.h. */
72799 #include <math.h>
72800 #ifdef HAVE_IEEEFP_H
72801 #include <ieeefp.h>
72802 #endif
72805 main ()
72807 isinff(0);
72809 return 0;
72811 _ACEOF
72812 if ac_fn_cxx_try_compile "$LINENO"; then :
72813 glibcxx_cv_func_isinff_use=yes
72814 else
72815 glibcxx_cv_func_isinff_use=no
72817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72818 ac_ext=c
72819 ac_cpp='$CPP $CPPFLAGS'
72820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72829 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72831 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72832 for ac_func in isinff
72833 do :
72834 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72835 if test "x$ac_cv_func_isinff" = x""yes; then :
72836 cat >>confdefs.h <<_ACEOF
72837 #define HAVE_ISINFF 1
72838 _ACEOF
72841 done
72843 else
72845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72846 $as_echo_n "checking for _isinff declaration... " >&6; }
72847 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72848 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72849 $as_echo_n "(cached) " >&6
72850 else
72853 ac_ext=cpp
72854 ac_cpp='$CXXCPP $CPPFLAGS'
72855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72860 /* end confdefs.h. */
72861 #include <math.h>
72862 #ifdef HAVE_IEEEFP_H
72863 #include <ieeefp.h>
72864 #endif
72867 main ()
72869 _isinff(0);
72871 return 0;
72873 _ACEOF
72874 if ac_fn_cxx_try_compile "$LINENO"; then :
72875 glibcxx_cv_func__isinff_use=yes
72876 else
72877 glibcxx_cv_func__isinff_use=no
72879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72880 ac_ext=c
72881 ac_cpp='$CPP $CPPFLAGS'
72882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72891 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72893 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72894 for ac_func in _isinff
72895 do :
72896 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72897 if test "x$ac_cv_func__isinff" = x""yes; then :
72898 cat >>confdefs.h <<_ACEOF
72899 #define HAVE__ISINFF 1
72900 _ACEOF
72903 done
72912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72913 $as_echo_n "checking for atan2f declaration... " >&6; }
72914 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72915 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72916 $as_echo_n "(cached) " >&6
72917 else
72920 ac_ext=cpp
72921 ac_cpp='$CXXCPP $CPPFLAGS'
72922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72927 /* end confdefs.h. */
72928 #include <math.h>
72930 main ()
72932 atan2f(0, 0);
72934 return 0;
72936 _ACEOF
72937 if ac_fn_cxx_try_compile "$LINENO"; then :
72938 glibcxx_cv_func_atan2f_use=yes
72939 else
72940 glibcxx_cv_func_atan2f_use=no
72942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72943 ac_ext=c
72944 ac_cpp='$CPP $CPPFLAGS'
72945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72954 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72956 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72957 for ac_func in atan2f
72958 do :
72959 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72960 if test "x$ac_cv_func_atan2f" = x""yes; then :
72961 cat >>confdefs.h <<_ACEOF
72962 #define HAVE_ATAN2F 1
72963 _ACEOF
72966 done
72968 else
72970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72971 $as_echo_n "checking for _atan2f declaration... " >&6; }
72972 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72973 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72974 $as_echo_n "(cached) " >&6
72975 else
72978 ac_ext=cpp
72979 ac_cpp='$CXXCPP $CPPFLAGS'
72980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72985 /* end confdefs.h. */
72986 #include <math.h>
72988 main ()
72990 _atan2f(0, 0);
72992 return 0;
72994 _ACEOF
72995 if ac_fn_cxx_try_compile "$LINENO"; then :
72996 glibcxx_cv_func__atan2f_use=yes
72997 else
72998 glibcxx_cv_func__atan2f_use=no
73000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73001 ac_ext=c
73002 ac_cpp='$CPP $CPPFLAGS'
73003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73012 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73014 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73015 for ac_func in _atan2f
73016 do :
73017 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73018 if test "x$ac_cv_func__atan2f" = x""yes; then :
73019 cat >>confdefs.h <<_ACEOF
73020 #define HAVE__ATAN2F 1
73021 _ACEOF
73024 done
73033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73034 $as_echo_n "checking for fabsf declaration... " >&6; }
73035 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73036 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73037 $as_echo_n "(cached) " >&6
73038 else
73041 ac_ext=cpp
73042 ac_cpp='$CXXCPP $CPPFLAGS'
73043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73048 /* end confdefs.h. */
73049 #include <math.h>
73050 #ifdef HAVE_IEEEFP_H
73051 #include <ieeefp.h>
73052 #endif
73055 main ()
73057 fabsf(0);
73059 return 0;
73061 _ACEOF
73062 if ac_fn_cxx_try_compile "$LINENO"; then :
73063 glibcxx_cv_func_fabsf_use=yes
73064 else
73065 glibcxx_cv_func_fabsf_use=no
73067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73068 ac_ext=c
73069 ac_cpp='$CPP $CPPFLAGS'
73070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73079 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73081 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73082 for ac_func in fabsf
73083 do :
73084 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73085 if test "x$ac_cv_func_fabsf" = x""yes; then :
73086 cat >>confdefs.h <<_ACEOF
73087 #define HAVE_FABSF 1
73088 _ACEOF
73091 done
73093 else
73095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73096 $as_echo_n "checking for _fabsf declaration... " >&6; }
73097 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73098 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73099 $as_echo_n "(cached) " >&6
73100 else
73103 ac_ext=cpp
73104 ac_cpp='$CXXCPP $CPPFLAGS'
73105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73110 /* end confdefs.h. */
73111 #include <math.h>
73112 #ifdef HAVE_IEEEFP_H
73113 #include <ieeefp.h>
73114 #endif
73117 main ()
73119 _fabsf(0);
73121 return 0;
73123 _ACEOF
73124 if ac_fn_cxx_try_compile "$LINENO"; then :
73125 glibcxx_cv_func__fabsf_use=yes
73126 else
73127 glibcxx_cv_func__fabsf_use=no
73129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73130 ac_ext=c
73131 ac_cpp='$CPP $CPPFLAGS'
73132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73141 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73143 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73144 for ac_func in _fabsf
73145 do :
73146 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73147 if test "x$ac_cv_func__fabsf" = x""yes; then :
73148 cat >>confdefs.h <<_ACEOF
73149 #define HAVE__FABSF 1
73150 _ACEOF
73153 done
73162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73163 $as_echo_n "checking for fmodf declaration... " >&6; }
73164 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73165 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73166 $as_echo_n "(cached) " >&6
73167 else
73170 ac_ext=cpp
73171 ac_cpp='$CXXCPP $CPPFLAGS'
73172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73177 /* end confdefs.h. */
73178 #include <math.h>
73180 main ()
73182 fmodf(0, 0);
73184 return 0;
73186 _ACEOF
73187 if ac_fn_cxx_try_compile "$LINENO"; then :
73188 glibcxx_cv_func_fmodf_use=yes
73189 else
73190 glibcxx_cv_func_fmodf_use=no
73192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73193 ac_ext=c
73194 ac_cpp='$CPP $CPPFLAGS'
73195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73204 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73206 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73207 for ac_func in fmodf
73208 do :
73209 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73210 if test "x$ac_cv_func_fmodf" = x""yes; then :
73211 cat >>confdefs.h <<_ACEOF
73212 #define HAVE_FMODF 1
73213 _ACEOF
73216 done
73218 else
73220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73221 $as_echo_n "checking for _fmodf declaration... " >&6; }
73222 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73223 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73224 $as_echo_n "(cached) " >&6
73225 else
73228 ac_ext=cpp
73229 ac_cpp='$CXXCPP $CPPFLAGS'
73230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73235 /* end confdefs.h. */
73236 #include <math.h>
73238 main ()
73240 _fmodf(0, 0);
73242 return 0;
73244 _ACEOF
73245 if ac_fn_cxx_try_compile "$LINENO"; then :
73246 glibcxx_cv_func__fmodf_use=yes
73247 else
73248 glibcxx_cv_func__fmodf_use=no
73250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73251 ac_ext=c
73252 ac_cpp='$CPP $CPPFLAGS'
73253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73262 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73264 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73265 for ac_func in _fmodf
73266 do :
73267 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73268 if test "x$ac_cv_func__fmodf" = x""yes; then :
73269 cat >>confdefs.h <<_ACEOF
73270 #define HAVE__FMODF 1
73271 _ACEOF
73274 done
73283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73284 $as_echo_n "checking for frexpf declaration... " >&6; }
73285 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73286 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73287 $as_echo_n "(cached) " >&6
73288 else
73291 ac_ext=cpp
73292 ac_cpp='$CXXCPP $CPPFLAGS'
73293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73298 /* end confdefs.h. */
73299 #include <math.h>
73301 main ()
73303 frexpf(0, 0);
73305 return 0;
73307 _ACEOF
73308 if ac_fn_cxx_try_compile "$LINENO"; then :
73309 glibcxx_cv_func_frexpf_use=yes
73310 else
73311 glibcxx_cv_func_frexpf_use=no
73313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73314 ac_ext=c
73315 ac_cpp='$CPP $CPPFLAGS'
73316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73325 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73327 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73328 for ac_func in frexpf
73329 do :
73330 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73331 if test "x$ac_cv_func_frexpf" = x""yes; then :
73332 cat >>confdefs.h <<_ACEOF
73333 #define HAVE_FREXPF 1
73334 _ACEOF
73337 done
73339 else
73341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73342 $as_echo_n "checking for _frexpf declaration... " >&6; }
73343 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73344 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73345 $as_echo_n "(cached) " >&6
73346 else
73349 ac_ext=cpp
73350 ac_cpp='$CXXCPP $CPPFLAGS'
73351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73356 /* end confdefs.h. */
73357 #include <math.h>
73359 main ()
73361 _frexpf(0, 0);
73363 return 0;
73365 _ACEOF
73366 if ac_fn_cxx_try_compile "$LINENO"; then :
73367 glibcxx_cv_func__frexpf_use=yes
73368 else
73369 glibcxx_cv_func__frexpf_use=no
73371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73372 ac_ext=c
73373 ac_cpp='$CPP $CPPFLAGS'
73374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73383 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73385 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73386 for ac_func in _frexpf
73387 do :
73388 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73389 if test "x$ac_cv_func__frexpf" = x""yes; then :
73390 cat >>confdefs.h <<_ACEOF
73391 #define HAVE__FREXPF 1
73392 _ACEOF
73395 done
73404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73405 $as_echo_n "checking for hypotf declaration... " >&6; }
73406 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73407 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73408 $as_echo_n "(cached) " >&6
73409 else
73412 ac_ext=cpp
73413 ac_cpp='$CXXCPP $CPPFLAGS'
73414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73419 /* end confdefs.h. */
73420 #include <math.h>
73422 main ()
73424 hypotf(0, 0);
73426 return 0;
73428 _ACEOF
73429 if ac_fn_cxx_try_compile "$LINENO"; then :
73430 glibcxx_cv_func_hypotf_use=yes
73431 else
73432 glibcxx_cv_func_hypotf_use=no
73434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73435 ac_ext=c
73436 ac_cpp='$CPP $CPPFLAGS'
73437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73446 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73448 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73449 for ac_func in hypotf
73450 do :
73451 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73452 if test "x$ac_cv_func_hypotf" = x""yes; then :
73453 cat >>confdefs.h <<_ACEOF
73454 #define HAVE_HYPOTF 1
73455 _ACEOF
73458 done
73460 else
73462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73463 $as_echo_n "checking for _hypotf declaration... " >&6; }
73464 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73465 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73466 $as_echo_n "(cached) " >&6
73467 else
73470 ac_ext=cpp
73471 ac_cpp='$CXXCPP $CPPFLAGS'
73472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73477 /* end confdefs.h. */
73478 #include <math.h>
73480 main ()
73482 _hypotf(0, 0);
73484 return 0;
73486 _ACEOF
73487 if ac_fn_cxx_try_compile "$LINENO"; then :
73488 glibcxx_cv_func__hypotf_use=yes
73489 else
73490 glibcxx_cv_func__hypotf_use=no
73492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73493 ac_ext=c
73494 ac_cpp='$CPP $CPPFLAGS'
73495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73504 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73506 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73507 for ac_func in _hypotf
73508 do :
73509 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73510 if test "x$ac_cv_func__hypotf" = x""yes; then :
73511 cat >>confdefs.h <<_ACEOF
73512 #define HAVE__HYPOTF 1
73513 _ACEOF
73516 done
73525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73526 $as_echo_n "checking for ldexpf declaration... " >&6; }
73527 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73528 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73529 $as_echo_n "(cached) " >&6
73530 else
73533 ac_ext=cpp
73534 ac_cpp='$CXXCPP $CPPFLAGS'
73535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73540 /* end confdefs.h. */
73541 #include <math.h>
73543 main ()
73545 ldexpf(0, 0);
73547 return 0;
73549 _ACEOF
73550 if ac_fn_cxx_try_compile "$LINENO"; then :
73551 glibcxx_cv_func_ldexpf_use=yes
73552 else
73553 glibcxx_cv_func_ldexpf_use=no
73555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73556 ac_ext=c
73557 ac_cpp='$CPP $CPPFLAGS'
73558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73567 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73569 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73570 for ac_func in ldexpf
73571 do :
73572 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73573 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73574 cat >>confdefs.h <<_ACEOF
73575 #define HAVE_LDEXPF 1
73576 _ACEOF
73579 done
73581 else
73583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73584 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73585 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73586 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73587 $as_echo_n "(cached) " >&6
73588 else
73591 ac_ext=cpp
73592 ac_cpp='$CXXCPP $CPPFLAGS'
73593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73598 /* end confdefs.h. */
73599 #include <math.h>
73601 main ()
73603 _ldexpf(0, 0);
73605 return 0;
73607 _ACEOF
73608 if ac_fn_cxx_try_compile "$LINENO"; then :
73609 glibcxx_cv_func__ldexpf_use=yes
73610 else
73611 glibcxx_cv_func__ldexpf_use=no
73613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73614 ac_ext=c
73615 ac_cpp='$CPP $CPPFLAGS'
73616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73625 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73627 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73628 for ac_func in _ldexpf
73629 do :
73630 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73631 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73632 cat >>confdefs.h <<_ACEOF
73633 #define HAVE__LDEXPF 1
73634 _ACEOF
73637 done
73646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73647 $as_echo_n "checking for logf declaration... " >&6; }
73648 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73649 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73650 $as_echo_n "(cached) " >&6
73651 else
73654 ac_ext=cpp
73655 ac_cpp='$CXXCPP $CPPFLAGS'
73656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73661 /* end confdefs.h. */
73662 #include <math.h>
73663 #ifdef HAVE_IEEEFP_H
73664 #include <ieeefp.h>
73665 #endif
73668 main ()
73670 logf(0);
73672 return 0;
73674 _ACEOF
73675 if ac_fn_cxx_try_compile "$LINENO"; then :
73676 glibcxx_cv_func_logf_use=yes
73677 else
73678 glibcxx_cv_func_logf_use=no
73680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73681 ac_ext=c
73682 ac_cpp='$CPP $CPPFLAGS'
73683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73692 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73694 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73695 for ac_func in logf
73696 do :
73697 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73698 if test "x$ac_cv_func_logf" = x""yes; then :
73699 cat >>confdefs.h <<_ACEOF
73700 #define HAVE_LOGF 1
73701 _ACEOF
73704 done
73706 else
73708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73709 $as_echo_n "checking for _logf declaration... " >&6; }
73710 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73711 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73712 $as_echo_n "(cached) " >&6
73713 else
73716 ac_ext=cpp
73717 ac_cpp='$CXXCPP $CPPFLAGS'
73718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73723 /* end confdefs.h. */
73724 #include <math.h>
73725 #ifdef HAVE_IEEEFP_H
73726 #include <ieeefp.h>
73727 #endif
73730 main ()
73732 _logf(0);
73734 return 0;
73736 _ACEOF
73737 if ac_fn_cxx_try_compile "$LINENO"; then :
73738 glibcxx_cv_func__logf_use=yes
73739 else
73740 glibcxx_cv_func__logf_use=no
73742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73743 ac_ext=c
73744 ac_cpp='$CPP $CPPFLAGS'
73745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73754 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73756 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73757 for ac_func in _logf
73758 do :
73759 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73760 if test "x$ac_cv_func__logf" = x""yes; then :
73761 cat >>confdefs.h <<_ACEOF
73762 #define HAVE__LOGF 1
73763 _ACEOF
73766 done
73775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73776 $as_echo_n "checking for log10f declaration... " >&6; }
73777 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73778 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73779 $as_echo_n "(cached) " >&6
73780 else
73783 ac_ext=cpp
73784 ac_cpp='$CXXCPP $CPPFLAGS'
73785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73790 /* end confdefs.h. */
73791 #include <math.h>
73792 #ifdef HAVE_IEEEFP_H
73793 #include <ieeefp.h>
73794 #endif
73797 main ()
73799 log10f(0);
73801 return 0;
73803 _ACEOF
73804 if ac_fn_cxx_try_compile "$LINENO"; then :
73805 glibcxx_cv_func_log10f_use=yes
73806 else
73807 glibcxx_cv_func_log10f_use=no
73809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73810 ac_ext=c
73811 ac_cpp='$CPP $CPPFLAGS'
73812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73821 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73823 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73824 for ac_func in log10f
73825 do :
73826 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73827 if test "x$ac_cv_func_log10f" = x""yes; then :
73828 cat >>confdefs.h <<_ACEOF
73829 #define HAVE_LOG10F 1
73830 _ACEOF
73833 done
73835 else
73837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73838 $as_echo_n "checking for _log10f declaration... " >&6; }
73839 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73840 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73841 $as_echo_n "(cached) " >&6
73842 else
73845 ac_ext=cpp
73846 ac_cpp='$CXXCPP $CPPFLAGS'
73847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73852 /* end confdefs.h. */
73853 #include <math.h>
73854 #ifdef HAVE_IEEEFP_H
73855 #include <ieeefp.h>
73856 #endif
73859 main ()
73861 _log10f(0);
73863 return 0;
73865 _ACEOF
73866 if ac_fn_cxx_try_compile "$LINENO"; then :
73867 glibcxx_cv_func__log10f_use=yes
73868 else
73869 glibcxx_cv_func__log10f_use=no
73871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73872 ac_ext=c
73873 ac_cpp='$CPP $CPPFLAGS'
73874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73883 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73885 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73886 for ac_func in _log10f
73887 do :
73888 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73889 if test "x$ac_cv_func__log10f" = x""yes; then :
73890 cat >>confdefs.h <<_ACEOF
73891 #define HAVE__LOG10F 1
73892 _ACEOF
73895 done
73904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73905 $as_echo_n "checking for modff declaration... " >&6; }
73906 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73907 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73908 $as_echo_n "(cached) " >&6
73909 else
73912 ac_ext=cpp
73913 ac_cpp='$CXXCPP $CPPFLAGS'
73914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73919 /* end confdefs.h. */
73920 #include <math.h>
73922 main ()
73924 modff(0, 0);
73926 return 0;
73928 _ACEOF
73929 if ac_fn_cxx_try_compile "$LINENO"; then :
73930 glibcxx_cv_func_modff_use=yes
73931 else
73932 glibcxx_cv_func_modff_use=no
73934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73935 ac_ext=c
73936 ac_cpp='$CPP $CPPFLAGS'
73937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73946 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73948 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73949 for ac_func in modff
73950 do :
73951 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73952 if test "x$ac_cv_func_modff" = x""yes; then :
73953 cat >>confdefs.h <<_ACEOF
73954 #define HAVE_MODFF 1
73955 _ACEOF
73958 done
73960 else
73962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73963 $as_echo_n "checking for _modff declaration... " >&6; }
73964 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73965 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73966 $as_echo_n "(cached) " >&6
73967 else
73970 ac_ext=cpp
73971 ac_cpp='$CXXCPP $CPPFLAGS'
73972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73977 /* end confdefs.h. */
73978 #include <math.h>
73980 main ()
73982 _modff(0, 0);
73984 return 0;
73986 _ACEOF
73987 if ac_fn_cxx_try_compile "$LINENO"; then :
73988 glibcxx_cv_func__modff_use=yes
73989 else
73990 glibcxx_cv_func__modff_use=no
73992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73993 ac_ext=c
73994 ac_cpp='$CPP $CPPFLAGS'
73995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74004 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74006 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74007 for ac_func in _modff
74008 do :
74009 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74010 if test "x$ac_cv_func__modff" = x""yes; then :
74011 cat >>confdefs.h <<_ACEOF
74012 #define HAVE__MODFF 1
74013 _ACEOF
74016 done
74025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74026 $as_echo_n "checking for modf declaration... " >&6; }
74027 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74028 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74029 $as_echo_n "(cached) " >&6
74030 else
74033 ac_ext=cpp
74034 ac_cpp='$CXXCPP $CPPFLAGS'
74035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74040 /* end confdefs.h. */
74041 #include <math.h>
74043 main ()
74045 modf(0, 0);
74047 return 0;
74049 _ACEOF
74050 if ac_fn_cxx_try_compile "$LINENO"; then :
74051 glibcxx_cv_func_modf_use=yes
74052 else
74053 glibcxx_cv_func_modf_use=no
74055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74056 ac_ext=c
74057 ac_cpp='$CPP $CPPFLAGS'
74058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74067 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74069 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74070 for ac_func in modf
74071 do :
74072 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74073 if test "x$ac_cv_func_modf" = x""yes; then :
74074 cat >>confdefs.h <<_ACEOF
74075 #define HAVE_MODF 1
74076 _ACEOF
74079 done
74081 else
74083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74084 $as_echo_n "checking for _modf declaration... " >&6; }
74085 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74086 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74087 $as_echo_n "(cached) " >&6
74088 else
74091 ac_ext=cpp
74092 ac_cpp='$CXXCPP $CPPFLAGS'
74093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74098 /* end confdefs.h. */
74099 #include <math.h>
74101 main ()
74103 _modf(0, 0);
74105 return 0;
74107 _ACEOF
74108 if ac_fn_cxx_try_compile "$LINENO"; then :
74109 glibcxx_cv_func__modf_use=yes
74110 else
74111 glibcxx_cv_func__modf_use=no
74113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74114 ac_ext=c
74115 ac_cpp='$CPP $CPPFLAGS'
74116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74125 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74127 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74128 for ac_func in _modf
74129 do :
74130 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74131 if test "x$ac_cv_func__modf" = x""yes; then :
74132 cat >>confdefs.h <<_ACEOF
74133 #define HAVE__MODF 1
74134 _ACEOF
74137 done
74146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74147 $as_echo_n "checking for powf declaration... " >&6; }
74148 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74149 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74150 $as_echo_n "(cached) " >&6
74151 else
74154 ac_ext=cpp
74155 ac_cpp='$CXXCPP $CPPFLAGS'
74156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74161 /* end confdefs.h. */
74162 #include <math.h>
74164 main ()
74166 powf(0, 0);
74168 return 0;
74170 _ACEOF
74171 if ac_fn_cxx_try_compile "$LINENO"; then :
74172 glibcxx_cv_func_powf_use=yes
74173 else
74174 glibcxx_cv_func_powf_use=no
74176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74177 ac_ext=c
74178 ac_cpp='$CPP $CPPFLAGS'
74179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74188 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74190 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74191 for ac_func in powf
74192 do :
74193 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74194 if test "x$ac_cv_func_powf" = x""yes; then :
74195 cat >>confdefs.h <<_ACEOF
74196 #define HAVE_POWF 1
74197 _ACEOF
74200 done
74202 else
74204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74205 $as_echo_n "checking for _powf declaration... " >&6; }
74206 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74207 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74208 $as_echo_n "(cached) " >&6
74209 else
74212 ac_ext=cpp
74213 ac_cpp='$CXXCPP $CPPFLAGS'
74214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74219 /* end confdefs.h. */
74220 #include <math.h>
74222 main ()
74224 _powf(0, 0);
74226 return 0;
74228 _ACEOF
74229 if ac_fn_cxx_try_compile "$LINENO"; then :
74230 glibcxx_cv_func__powf_use=yes
74231 else
74232 glibcxx_cv_func__powf_use=no
74234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74235 ac_ext=c
74236 ac_cpp='$CPP $CPPFLAGS'
74237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74246 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74248 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74249 for ac_func in _powf
74250 do :
74251 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74252 if test "x$ac_cv_func__powf" = x""yes; then :
74253 cat >>confdefs.h <<_ACEOF
74254 #define HAVE__POWF 1
74255 _ACEOF
74258 done
74267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74268 $as_echo_n "checking for sqrtf declaration... " >&6; }
74269 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74270 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74271 $as_echo_n "(cached) " >&6
74272 else
74275 ac_ext=cpp
74276 ac_cpp='$CXXCPP $CPPFLAGS'
74277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74282 /* end confdefs.h. */
74283 #include <math.h>
74284 #ifdef HAVE_IEEEFP_H
74285 #include <ieeefp.h>
74286 #endif
74289 main ()
74291 sqrtf(0);
74293 return 0;
74295 _ACEOF
74296 if ac_fn_cxx_try_compile "$LINENO"; then :
74297 glibcxx_cv_func_sqrtf_use=yes
74298 else
74299 glibcxx_cv_func_sqrtf_use=no
74301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74302 ac_ext=c
74303 ac_cpp='$CPP $CPPFLAGS'
74304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74313 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74315 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74316 for ac_func in sqrtf
74317 do :
74318 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74319 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74320 cat >>confdefs.h <<_ACEOF
74321 #define HAVE_SQRTF 1
74322 _ACEOF
74325 done
74327 else
74329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74330 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74331 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74332 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74333 $as_echo_n "(cached) " >&6
74334 else
74337 ac_ext=cpp
74338 ac_cpp='$CXXCPP $CPPFLAGS'
74339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74344 /* end confdefs.h. */
74345 #include <math.h>
74346 #ifdef HAVE_IEEEFP_H
74347 #include <ieeefp.h>
74348 #endif
74351 main ()
74353 _sqrtf(0);
74355 return 0;
74357 _ACEOF
74358 if ac_fn_cxx_try_compile "$LINENO"; then :
74359 glibcxx_cv_func__sqrtf_use=yes
74360 else
74361 glibcxx_cv_func__sqrtf_use=no
74363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74364 ac_ext=c
74365 ac_cpp='$CPP $CPPFLAGS'
74366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74375 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74377 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74378 for ac_func in _sqrtf
74379 do :
74380 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74381 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74382 cat >>confdefs.h <<_ACEOF
74383 #define HAVE__SQRTF 1
74384 _ACEOF
74387 done
74396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74397 $as_echo_n "checking for sincosf declaration... " >&6; }
74398 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74399 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74400 $as_echo_n "(cached) " >&6
74401 else
74404 ac_ext=cpp
74405 ac_cpp='$CXXCPP $CPPFLAGS'
74406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74411 /* end confdefs.h. */
74412 #include <math.h>
74414 main ()
74416 sincosf(0, 0, 0);
74418 return 0;
74420 _ACEOF
74421 if ac_fn_cxx_try_compile "$LINENO"; then :
74422 glibcxx_cv_func_sincosf_use=yes
74423 else
74424 glibcxx_cv_func_sincosf_use=no
74426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74427 ac_ext=c
74428 ac_cpp='$CPP $CPPFLAGS'
74429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74438 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74440 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74441 for ac_func in sincosf
74442 do :
74443 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74444 if test "x$ac_cv_func_sincosf" = x""yes; then :
74445 cat >>confdefs.h <<_ACEOF
74446 #define HAVE_SINCOSF 1
74447 _ACEOF
74450 done
74452 else
74454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74455 $as_echo_n "checking for _sincosf declaration... " >&6; }
74456 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74457 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74458 $as_echo_n "(cached) " >&6
74459 else
74462 ac_ext=cpp
74463 ac_cpp='$CXXCPP $CPPFLAGS'
74464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74469 /* end confdefs.h. */
74470 #include <math.h>
74472 main ()
74474 _sincosf(0, 0, 0);
74476 return 0;
74478 _ACEOF
74479 if ac_fn_cxx_try_compile "$LINENO"; then :
74480 glibcxx_cv_func__sincosf_use=yes
74481 else
74482 glibcxx_cv_func__sincosf_use=no
74484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74485 ac_ext=c
74486 ac_cpp='$CPP $CPPFLAGS'
74487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74496 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74498 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74499 for ac_func in _sincosf
74500 do :
74501 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74502 if test "x$ac_cv_func__sincosf" = x""yes; then :
74503 cat >>confdefs.h <<_ACEOF
74504 #define HAVE__SINCOSF 1
74505 _ACEOF
74508 done
74517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74518 $as_echo_n "checking for finitef declaration... " >&6; }
74519 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74520 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74521 $as_echo_n "(cached) " >&6
74522 else
74525 ac_ext=cpp
74526 ac_cpp='$CXXCPP $CPPFLAGS'
74527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74532 /* end confdefs.h. */
74533 #include <math.h>
74534 #ifdef HAVE_IEEEFP_H
74535 #include <ieeefp.h>
74536 #endif
74539 main ()
74541 finitef(0);
74543 return 0;
74545 _ACEOF
74546 if ac_fn_cxx_try_compile "$LINENO"; then :
74547 glibcxx_cv_func_finitef_use=yes
74548 else
74549 glibcxx_cv_func_finitef_use=no
74551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74552 ac_ext=c
74553 ac_cpp='$CPP $CPPFLAGS'
74554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74563 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74565 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74566 for ac_func in finitef
74567 do :
74568 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74569 if test "x$ac_cv_func_finitef" = x""yes; then :
74570 cat >>confdefs.h <<_ACEOF
74571 #define HAVE_FINITEF 1
74572 _ACEOF
74575 done
74577 else
74579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74580 $as_echo_n "checking for _finitef declaration... " >&6; }
74581 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74582 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74583 $as_echo_n "(cached) " >&6
74584 else
74587 ac_ext=cpp
74588 ac_cpp='$CXXCPP $CPPFLAGS'
74589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74594 /* end confdefs.h. */
74595 #include <math.h>
74596 #ifdef HAVE_IEEEFP_H
74597 #include <ieeefp.h>
74598 #endif
74601 main ()
74603 _finitef(0);
74605 return 0;
74607 _ACEOF
74608 if ac_fn_cxx_try_compile "$LINENO"; then :
74609 glibcxx_cv_func__finitef_use=yes
74610 else
74611 glibcxx_cv_func__finitef_use=no
74613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74614 ac_ext=c
74615 ac_cpp='$CPP $CPPFLAGS'
74616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74625 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74627 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74628 for ac_func in _finitef
74629 do :
74630 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74631 if test "x$ac_cv_func__finitef" = x""yes; then :
74632 cat >>confdefs.h <<_ACEOF
74633 #define HAVE__FINITEF 1
74634 _ACEOF
74637 done
74646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74647 $as_echo_n "checking for long double trig functions... " >&6; }
74648 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74649 $as_echo_n "(cached) " >&6
74650 else
74653 ac_ext=cpp
74654 ac_cpp='$CXXCPP $CPPFLAGS'
74655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74660 /* end confdefs.h. */
74661 #include <math.h>
74663 main ()
74665 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74667 return 0;
74669 _ACEOF
74670 if ac_fn_cxx_try_compile "$LINENO"; then :
74671 glibcxx_cv_func_long_double_trig_use=yes
74672 else
74673 glibcxx_cv_func_long_double_trig_use=no
74675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74676 ac_ext=c
74677 ac_cpp='$CPP $CPPFLAGS'
74678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74685 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74686 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74687 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74688 do :
74689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74691 eval as_val=\$$as_ac_var
74692 if test "x$as_val" = x""yes; then :
74693 cat >>confdefs.h <<_ACEOF
74694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74695 _ACEOF
74698 done
74700 else
74701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74702 $as_echo_n "checking for _long double trig functions... " >&6; }
74703 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74704 $as_echo_n "(cached) " >&6
74705 else
74708 ac_ext=cpp
74709 ac_cpp='$CXXCPP $CPPFLAGS'
74710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74715 /* end confdefs.h. */
74716 #include <math.h>
74718 main ()
74720 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74722 return 0;
74724 _ACEOF
74725 if ac_fn_cxx_try_compile "$LINENO"; then :
74726 glibcxx_cv_func__long_double_trig_use=yes
74727 else
74728 glibcxx_cv_func__long_double_trig_use=no
74730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74731 ac_ext=c
74732 ac_cpp='$CPP $CPPFLAGS'
74733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74740 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74741 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74742 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74743 do :
74744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74746 eval as_val=\$$as_ac_var
74747 if test "x$as_val" = x""yes; then :
74748 cat >>confdefs.h <<_ACEOF
74749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74750 _ACEOF
74753 done
74762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74763 $as_echo_n "checking for long double round functions... " >&6; }
74764 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74765 $as_echo_n "(cached) " >&6
74766 else
74769 ac_ext=cpp
74770 ac_cpp='$CXXCPP $CPPFLAGS'
74771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74776 /* end confdefs.h. */
74777 #include <math.h>
74779 main ()
74781 ceill (0); floorl (0);
74783 return 0;
74785 _ACEOF
74786 if ac_fn_cxx_try_compile "$LINENO"; then :
74787 glibcxx_cv_func_long_double_round_use=yes
74788 else
74789 glibcxx_cv_func_long_double_round_use=no
74791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74792 ac_ext=c
74793 ac_cpp='$CPP $CPPFLAGS'
74794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74801 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74802 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74803 for ac_func in ceill floorl
74804 do :
74805 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74807 eval as_val=\$$as_ac_var
74808 if test "x$as_val" = x""yes; then :
74809 cat >>confdefs.h <<_ACEOF
74810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74811 _ACEOF
74814 done
74816 else
74817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74818 $as_echo_n "checking for _long double round functions... " >&6; }
74819 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74820 $as_echo_n "(cached) " >&6
74821 else
74824 ac_ext=cpp
74825 ac_cpp='$CXXCPP $CPPFLAGS'
74826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74831 /* end confdefs.h. */
74832 #include <math.h>
74834 main ()
74836 _ceill (0); _floorl (0);
74838 return 0;
74840 _ACEOF
74841 if ac_fn_cxx_try_compile "$LINENO"; then :
74842 glibcxx_cv_func__long_double_round_use=yes
74843 else
74844 glibcxx_cv_func__long_double_round_use=no
74846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74847 ac_ext=c
74848 ac_cpp='$CPP $CPPFLAGS'
74849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74856 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74857 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74858 for ac_func in _ceill _floorl
74859 do :
74860 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74861 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74862 eval as_val=\$$as_ac_var
74863 if test "x$as_val" = x""yes; then :
74864 cat >>confdefs.h <<_ACEOF
74865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74866 _ACEOF
74869 done
74879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74880 $as_echo_n "checking for isnanl declaration... " >&6; }
74881 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74882 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74883 $as_echo_n "(cached) " >&6
74884 else
74887 ac_ext=cpp
74888 ac_cpp='$CXXCPP $CPPFLAGS'
74889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74894 /* end confdefs.h. */
74895 #include <math.h>
74896 #ifdef HAVE_IEEEFP_H
74897 #include <ieeefp.h>
74898 #endif
74901 main ()
74903 isnanl(0);
74905 return 0;
74907 _ACEOF
74908 if ac_fn_cxx_try_compile "$LINENO"; then :
74909 glibcxx_cv_func_isnanl_use=yes
74910 else
74911 glibcxx_cv_func_isnanl_use=no
74913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74914 ac_ext=c
74915 ac_cpp='$CPP $CPPFLAGS'
74916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74925 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74927 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74928 for ac_func in isnanl
74929 do :
74930 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74931 if test "x$ac_cv_func_isnanl" = x""yes; then :
74932 cat >>confdefs.h <<_ACEOF
74933 #define HAVE_ISNANL 1
74934 _ACEOF
74937 done
74939 else
74941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74942 $as_echo_n "checking for _isnanl declaration... " >&6; }
74943 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74944 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74945 $as_echo_n "(cached) " >&6
74946 else
74949 ac_ext=cpp
74950 ac_cpp='$CXXCPP $CPPFLAGS'
74951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74956 /* end confdefs.h. */
74957 #include <math.h>
74958 #ifdef HAVE_IEEEFP_H
74959 #include <ieeefp.h>
74960 #endif
74963 main ()
74965 _isnanl(0);
74967 return 0;
74969 _ACEOF
74970 if ac_fn_cxx_try_compile "$LINENO"; then :
74971 glibcxx_cv_func__isnanl_use=yes
74972 else
74973 glibcxx_cv_func__isnanl_use=no
74975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74976 ac_ext=c
74977 ac_cpp='$CPP $CPPFLAGS'
74978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74987 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74989 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74990 for ac_func in _isnanl
74991 do :
74992 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74993 if test "x$ac_cv_func__isnanl" = x""yes; then :
74994 cat >>confdefs.h <<_ACEOF
74995 #define HAVE__ISNANL 1
74996 _ACEOF
74999 done
75008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75009 $as_echo_n "checking for isinfl declaration... " >&6; }
75010 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75011 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75012 $as_echo_n "(cached) " >&6
75013 else
75016 ac_ext=cpp
75017 ac_cpp='$CXXCPP $CPPFLAGS'
75018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75023 /* end confdefs.h. */
75024 #include <math.h>
75025 #ifdef HAVE_IEEEFP_H
75026 #include <ieeefp.h>
75027 #endif
75030 main ()
75032 isinfl(0);
75034 return 0;
75036 _ACEOF
75037 if ac_fn_cxx_try_compile "$LINENO"; then :
75038 glibcxx_cv_func_isinfl_use=yes
75039 else
75040 glibcxx_cv_func_isinfl_use=no
75042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75043 ac_ext=c
75044 ac_cpp='$CPP $CPPFLAGS'
75045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75054 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75056 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75057 for ac_func in isinfl
75058 do :
75059 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75060 if test "x$ac_cv_func_isinfl" = x""yes; then :
75061 cat >>confdefs.h <<_ACEOF
75062 #define HAVE_ISINFL 1
75063 _ACEOF
75066 done
75068 else
75070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75071 $as_echo_n "checking for _isinfl declaration... " >&6; }
75072 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75073 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75074 $as_echo_n "(cached) " >&6
75075 else
75078 ac_ext=cpp
75079 ac_cpp='$CXXCPP $CPPFLAGS'
75080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75085 /* end confdefs.h. */
75086 #include <math.h>
75087 #ifdef HAVE_IEEEFP_H
75088 #include <ieeefp.h>
75089 #endif
75092 main ()
75094 _isinfl(0);
75096 return 0;
75098 _ACEOF
75099 if ac_fn_cxx_try_compile "$LINENO"; then :
75100 glibcxx_cv_func__isinfl_use=yes
75101 else
75102 glibcxx_cv_func__isinfl_use=no
75104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75105 ac_ext=c
75106 ac_cpp='$CPP $CPPFLAGS'
75107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75116 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75118 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75119 for ac_func in _isinfl
75120 do :
75121 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75122 if test "x$ac_cv_func__isinfl" = x""yes; then :
75123 cat >>confdefs.h <<_ACEOF
75124 #define HAVE__ISINFL 1
75125 _ACEOF
75128 done
75137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75138 $as_echo_n "checking for atan2l declaration... " >&6; }
75139 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75140 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75141 $as_echo_n "(cached) " >&6
75142 else
75145 ac_ext=cpp
75146 ac_cpp='$CXXCPP $CPPFLAGS'
75147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75152 /* end confdefs.h. */
75153 #include <math.h>
75155 main ()
75157 atan2l(0, 0);
75159 return 0;
75161 _ACEOF
75162 if ac_fn_cxx_try_compile "$LINENO"; then :
75163 glibcxx_cv_func_atan2l_use=yes
75164 else
75165 glibcxx_cv_func_atan2l_use=no
75167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75168 ac_ext=c
75169 ac_cpp='$CPP $CPPFLAGS'
75170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75179 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75181 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75182 for ac_func in atan2l
75183 do :
75184 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75185 if test "x$ac_cv_func_atan2l" = x""yes; then :
75186 cat >>confdefs.h <<_ACEOF
75187 #define HAVE_ATAN2L 1
75188 _ACEOF
75191 done
75193 else
75195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75196 $as_echo_n "checking for _atan2l declaration... " >&6; }
75197 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75198 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75199 $as_echo_n "(cached) " >&6
75200 else
75203 ac_ext=cpp
75204 ac_cpp='$CXXCPP $CPPFLAGS'
75205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75210 /* end confdefs.h. */
75211 #include <math.h>
75213 main ()
75215 _atan2l(0, 0);
75217 return 0;
75219 _ACEOF
75220 if ac_fn_cxx_try_compile "$LINENO"; then :
75221 glibcxx_cv_func__atan2l_use=yes
75222 else
75223 glibcxx_cv_func__atan2l_use=no
75225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75226 ac_ext=c
75227 ac_cpp='$CPP $CPPFLAGS'
75228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75237 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75239 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75240 for ac_func in _atan2l
75241 do :
75242 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75243 if test "x$ac_cv_func__atan2l" = x""yes; then :
75244 cat >>confdefs.h <<_ACEOF
75245 #define HAVE__ATAN2L 1
75246 _ACEOF
75249 done
75258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75259 $as_echo_n "checking for expl declaration... " >&6; }
75260 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75261 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75262 $as_echo_n "(cached) " >&6
75263 else
75266 ac_ext=cpp
75267 ac_cpp='$CXXCPP $CPPFLAGS'
75268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75273 /* end confdefs.h. */
75274 #include <math.h>
75275 #ifdef HAVE_IEEEFP_H
75276 #include <ieeefp.h>
75277 #endif
75280 main ()
75282 expl(0);
75284 return 0;
75286 _ACEOF
75287 if ac_fn_cxx_try_compile "$LINENO"; then :
75288 glibcxx_cv_func_expl_use=yes
75289 else
75290 glibcxx_cv_func_expl_use=no
75292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75293 ac_ext=c
75294 ac_cpp='$CPP $CPPFLAGS'
75295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75304 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75306 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75307 for ac_func in expl
75308 do :
75309 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75310 if test "x$ac_cv_func_expl" = x""yes; then :
75311 cat >>confdefs.h <<_ACEOF
75312 #define HAVE_EXPL 1
75313 _ACEOF
75316 done
75318 else
75320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75321 $as_echo_n "checking for _expl declaration... " >&6; }
75322 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75323 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75324 $as_echo_n "(cached) " >&6
75325 else
75328 ac_ext=cpp
75329 ac_cpp='$CXXCPP $CPPFLAGS'
75330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75335 /* end confdefs.h. */
75336 #include <math.h>
75337 #ifdef HAVE_IEEEFP_H
75338 #include <ieeefp.h>
75339 #endif
75342 main ()
75344 _expl(0);
75346 return 0;
75348 _ACEOF
75349 if ac_fn_cxx_try_compile "$LINENO"; then :
75350 glibcxx_cv_func__expl_use=yes
75351 else
75352 glibcxx_cv_func__expl_use=no
75354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75355 ac_ext=c
75356 ac_cpp='$CPP $CPPFLAGS'
75357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75366 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75368 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75369 for ac_func in _expl
75370 do :
75371 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75372 if test "x$ac_cv_func__expl" = x""yes; then :
75373 cat >>confdefs.h <<_ACEOF
75374 #define HAVE__EXPL 1
75375 _ACEOF
75378 done
75387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75388 $as_echo_n "checking for fabsl declaration... " >&6; }
75389 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75390 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75391 $as_echo_n "(cached) " >&6
75392 else
75395 ac_ext=cpp
75396 ac_cpp='$CXXCPP $CPPFLAGS'
75397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75402 /* end confdefs.h. */
75403 #include <math.h>
75404 #ifdef HAVE_IEEEFP_H
75405 #include <ieeefp.h>
75406 #endif
75409 main ()
75411 fabsl(0);
75413 return 0;
75415 _ACEOF
75416 if ac_fn_cxx_try_compile "$LINENO"; then :
75417 glibcxx_cv_func_fabsl_use=yes
75418 else
75419 glibcxx_cv_func_fabsl_use=no
75421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75422 ac_ext=c
75423 ac_cpp='$CPP $CPPFLAGS'
75424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75433 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75435 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75436 for ac_func in fabsl
75437 do :
75438 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75439 if test "x$ac_cv_func_fabsl" = x""yes; then :
75440 cat >>confdefs.h <<_ACEOF
75441 #define HAVE_FABSL 1
75442 _ACEOF
75445 done
75447 else
75449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75450 $as_echo_n "checking for _fabsl declaration... " >&6; }
75451 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75452 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75453 $as_echo_n "(cached) " >&6
75454 else
75457 ac_ext=cpp
75458 ac_cpp='$CXXCPP $CPPFLAGS'
75459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75464 /* end confdefs.h. */
75465 #include <math.h>
75466 #ifdef HAVE_IEEEFP_H
75467 #include <ieeefp.h>
75468 #endif
75471 main ()
75473 _fabsl(0);
75475 return 0;
75477 _ACEOF
75478 if ac_fn_cxx_try_compile "$LINENO"; then :
75479 glibcxx_cv_func__fabsl_use=yes
75480 else
75481 glibcxx_cv_func__fabsl_use=no
75483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75484 ac_ext=c
75485 ac_cpp='$CPP $CPPFLAGS'
75486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75495 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75497 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75498 for ac_func in _fabsl
75499 do :
75500 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75501 if test "x$ac_cv_func__fabsl" = x""yes; then :
75502 cat >>confdefs.h <<_ACEOF
75503 #define HAVE__FABSL 1
75504 _ACEOF
75507 done
75516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75517 $as_echo_n "checking for fmodl declaration... " >&6; }
75518 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75519 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75520 $as_echo_n "(cached) " >&6
75521 else
75524 ac_ext=cpp
75525 ac_cpp='$CXXCPP $CPPFLAGS'
75526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75531 /* end confdefs.h. */
75532 #include <math.h>
75534 main ()
75536 fmodl(0, 0);
75538 return 0;
75540 _ACEOF
75541 if ac_fn_cxx_try_compile "$LINENO"; then :
75542 glibcxx_cv_func_fmodl_use=yes
75543 else
75544 glibcxx_cv_func_fmodl_use=no
75546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75547 ac_ext=c
75548 ac_cpp='$CPP $CPPFLAGS'
75549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75558 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75560 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75561 for ac_func in fmodl
75562 do :
75563 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75564 if test "x$ac_cv_func_fmodl" = x""yes; then :
75565 cat >>confdefs.h <<_ACEOF
75566 #define HAVE_FMODL 1
75567 _ACEOF
75570 done
75572 else
75574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75575 $as_echo_n "checking for _fmodl declaration... " >&6; }
75576 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75577 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75578 $as_echo_n "(cached) " >&6
75579 else
75582 ac_ext=cpp
75583 ac_cpp='$CXXCPP $CPPFLAGS'
75584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75589 /* end confdefs.h. */
75590 #include <math.h>
75592 main ()
75594 _fmodl(0, 0);
75596 return 0;
75598 _ACEOF
75599 if ac_fn_cxx_try_compile "$LINENO"; then :
75600 glibcxx_cv_func__fmodl_use=yes
75601 else
75602 glibcxx_cv_func__fmodl_use=no
75604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75605 ac_ext=c
75606 ac_cpp='$CPP $CPPFLAGS'
75607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75616 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75618 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75619 for ac_func in _fmodl
75620 do :
75621 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75622 if test "x$ac_cv_func__fmodl" = x""yes; then :
75623 cat >>confdefs.h <<_ACEOF
75624 #define HAVE__FMODL 1
75625 _ACEOF
75628 done
75637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75638 $as_echo_n "checking for frexpl declaration... " >&6; }
75639 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75640 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75641 $as_echo_n "(cached) " >&6
75642 else
75645 ac_ext=cpp
75646 ac_cpp='$CXXCPP $CPPFLAGS'
75647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75652 /* end confdefs.h. */
75653 #include <math.h>
75655 main ()
75657 frexpl(0, 0);
75659 return 0;
75661 _ACEOF
75662 if ac_fn_cxx_try_compile "$LINENO"; then :
75663 glibcxx_cv_func_frexpl_use=yes
75664 else
75665 glibcxx_cv_func_frexpl_use=no
75667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75668 ac_ext=c
75669 ac_cpp='$CPP $CPPFLAGS'
75670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75679 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75681 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75682 for ac_func in frexpl
75683 do :
75684 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75685 if test "x$ac_cv_func_frexpl" = x""yes; then :
75686 cat >>confdefs.h <<_ACEOF
75687 #define HAVE_FREXPL 1
75688 _ACEOF
75691 done
75693 else
75695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75696 $as_echo_n "checking for _frexpl declaration... " >&6; }
75697 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75698 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75699 $as_echo_n "(cached) " >&6
75700 else
75703 ac_ext=cpp
75704 ac_cpp='$CXXCPP $CPPFLAGS'
75705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75710 /* end confdefs.h. */
75711 #include <math.h>
75713 main ()
75715 _frexpl(0, 0);
75717 return 0;
75719 _ACEOF
75720 if ac_fn_cxx_try_compile "$LINENO"; then :
75721 glibcxx_cv_func__frexpl_use=yes
75722 else
75723 glibcxx_cv_func__frexpl_use=no
75725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75726 ac_ext=c
75727 ac_cpp='$CPP $CPPFLAGS'
75728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75737 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75739 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75740 for ac_func in _frexpl
75741 do :
75742 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75743 if test "x$ac_cv_func__frexpl" = x""yes; then :
75744 cat >>confdefs.h <<_ACEOF
75745 #define HAVE__FREXPL 1
75746 _ACEOF
75749 done
75758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75759 $as_echo_n "checking for hypotl declaration... " >&6; }
75760 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75761 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75762 $as_echo_n "(cached) " >&6
75763 else
75766 ac_ext=cpp
75767 ac_cpp='$CXXCPP $CPPFLAGS'
75768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75773 /* end confdefs.h. */
75774 #include <math.h>
75776 main ()
75778 hypotl(0, 0);
75780 return 0;
75782 _ACEOF
75783 if ac_fn_cxx_try_compile "$LINENO"; then :
75784 glibcxx_cv_func_hypotl_use=yes
75785 else
75786 glibcxx_cv_func_hypotl_use=no
75788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75789 ac_ext=c
75790 ac_cpp='$CPP $CPPFLAGS'
75791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75800 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75802 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75803 for ac_func in hypotl
75804 do :
75805 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75806 if test "x$ac_cv_func_hypotl" = x""yes; then :
75807 cat >>confdefs.h <<_ACEOF
75808 #define HAVE_HYPOTL 1
75809 _ACEOF
75812 done
75814 else
75816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75817 $as_echo_n "checking for _hypotl declaration... " >&6; }
75818 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75819 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75820 $as_echo_n "(cached) " >&6
75821 else
75824 ac_ext=cpp
75825 ac_cpp='$CXXCPP $CPPFLAGS'
75826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75831 /* end confdefs.h. */
75832 #include <math.h>
75834 main ()
75836 _hypotl(0, 0);
75838 return 0;
75840 _ACEOF
75841 if ac_fn_cxx_try_compile "$LINENO"; then :
75842 glibcxx_cv_func__hypotl_use=yes
75843 else
75844 glibcxx_cv_func__hypotl_use=no
75846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75847 ac_ext=c
75848 ac_cpp='$CPP $CPPFLAGS'
75849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75858 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75860 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75861 for ac_func in _hypotl
75862 do :
75863 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75864 if test "x$ac_cv_func__hypotl" = x""yes; then :
75865 cat >>confdefs.h <<_ACEOF
75866 #define HAVE__HYPOTL 1
75867 _ACEOF
75870 done
75879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75880 $as_echo_n "checking for ldexpl declaration... " >&6; }
75881 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75882 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75883 $as_echo_n "(cached) " >&6
75884 else
75887 ac_ext=cpp
75888 ac_cpp='$CXXCPP $CPPFLAGS'
75889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75894 /* end confdefs.h. */
75895 #include <math.h>
75897 main ()
75899 ldexpl(0, 0);
75901 return 0;
75903 _ACEOF
75904 if ac_fn_cxx_try_compile "$LINENO"; then :
75905 glibcxx_cv_func_ldexpl_use=yes
75906 else
75907 glibcxx_cv_func_ldexpl_use=no
75909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75910 ac_ext=c
75911 ac_cpp='$CPP $CPPFLAGS'
75912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75921 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75923 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75924 for ac_func in ldexpl
75925 do :
75926 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75927 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75928 cat >>confdefs.h <<_ACEOF
75929 #define HAVE_LDEXPL 1
75930 _ACEOF
75933 done
75935 else
75937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75938 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75939 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75940 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75941 $as_echo_n "(cached) " >&6
75942 else
75945 ac_ext=cpp
75946 ac_cpp='$CXXCPP $CPPFLAGS'
75947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75952 /* end confdefs.h. */
75953 #include <math.h>
75955 main ()
75957 _ldexpl(0, 0);
75959 return 0;
75961 _ACEOF
75962 if ac_fn_cxx_try_compile "$LINENO"; then :
75963 glibcxx_cv_func__ldexpl_use=yes
75964 else
75965 glibcxx_cv_func__ldexpl_use=no
75967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75968 ac_ext=c
75969 ac_cpp='$CPP $CPPFLAGS'
75970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75979 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75981 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75982 for ac_func in _ldexpl
75983 do :
75984 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75985 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75986 cat >>confdefs.h <<_ACEOF
75987 #define HAVE__LDEXPL 1
75988 _ACEOF
75991 done
76000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76001 $as_echo_n "checking for logl declaration... " >&6; }
76002 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76003 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76004 $as_echo_n "(cached) " >&6
76005 else
76008 ac_ext=cpp
76009 ac_cpp='$CXXCPP $CPPFLAGS'
76010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76015 /* end confdefs.h. */
76016 #include <math.h>
76017 #ifdef HAVE_IEEEFP_H
76018 #include <ieeefp.h>
76019 #endif
76022 main ()
76024 logl(0);
76026 return 0;
76028 _ACEOF
76029 if ac_fn_cxx_try_compile "$LINENO"; then :
76030 glibcxx_cv_func_logl_use=yes
76031 else
76032 glibcxx_cv_func_logl_use=no
76034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76035 ac_ext=c
76036 ac_cpp='$CPP $CPPFLAGS'
76037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76046 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76048 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76049 for ac_func in logl
76050 do :
76051 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76052 if test "x$ac_cv_func_logl" = x""yes; then :
76053 cat >>confdefs.h <<_ACEOF
76054 #define HAVE_LOGL 1
76055 _ACEOF
76058 done
76060 else
76062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76063 $as_echo_n "checking for _logl declaration... " >&6; }
76064 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76065 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76066 $as_echo_n "(cached) " >&6
76067 else
76070 ac_ext=cpp
76071 ac_cpp='$CXXCPP $CPPFLAGS'
76072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76077 /* end confdefs.h. */
76078 #include <math.h>
76079 #ifdef HAVE_IEEEFP_H
76080 #include <ieeefp.h>
76081 #endif
76084 main ()
76086 _logl(0);
76088 return 0;
76090 _ACEOF
76091 if ac_fn_cxx_try_compile "$LINENO"; then :
76092 glibcxx_cv_func__logl_use=yes
76093 else
76094 glibcxx_cv_func__logl_use=no
76096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76097 ac_ext=c
76098 ac_cpp='$CPP $CPPFLAGS'
76099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76108 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76110 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76111 for ac_func in _logl
76112 do :
76113 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76114 if test "x$ac_cv_func__logl" = x""yes; then :
76115 cat >>confdefs.h <<_ACEOF
76116 #define HAVE__LOGL 1
76117 _ACEOF
76120 done
76129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76130 $as_echo_n "checking for log10l declaration... " >&6; }
76131 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76132 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76133 $as_echo_n "(cached) " >&6
76134 else
76137 ac_ext=cpp
76138 ac_cpp='$CXXCPP $CPPFLAGS'
76139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76144 /* end confdefs.h. */
76145 #include <math.h>
76146 #ifdef HAVE_IEEEFP_H
76147 #include <ieeefp.h>
76148 #endif
76151 main ()
76153 log10l(0);
76155 return 0;
76157 _ACEOF
76158 if ac_fn_cxx_try_compile "$LINENO"; then :
76159 glibcxx_cv_func_log10l_use=yes
76160 else
76161 glibcxx_cv_func_log10l_use=no
76163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76164 ac_ext=c
76165 ac_cpp='$CPP $CPPFLAGS'
76166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76175 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76177 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76178 for ac_func in log10l
76179 do :
76180 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76181 if test "x$ac_cv_func_log10l" = x""yes; then :
76182 cat >>confdefs.h <<_ACEOF
76183 #define HAVE_LOG10L 1
76184 _ACEOF
76187 done
76189 else
76191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76192 $as_echo_n "checking for _log10l declaration... " >&6; }
76193 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76194 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76195 $as_echo_n "(cached) " >&6
76196 else
76199 ac_ext=cpp
76200 ac_cpp='$CXXCPP $CPPFLAGS'
76201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76206 /* end confdefs.h. */
76207 #include <math.h>
76208 #ifdef HAVE_IEEEFP_H
76209 #include <ieeefp.h>
76210 #endif
76213 main ()
76215 _log10l(0);
76217 return 0;
76219 _ACEOF
76220 if ac_fn_cxx_try_compile "$LINENO"; then :
76221 glibcxx_cv_func__log10l_use=yes
76222 else
76223 glibcxx_cv_func__log10l_use=no
76225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76226 ac_ext=c
76227 ac_cpp='$CPP $CPPFLAGS'
76228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76237 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76239 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76240 for ac_func in _log10l
76241 do :
76242 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76243 if test "x$ac_cv_func__log10l" = x""yes; then :
76244 cat >>confdefs.h <<_ACEOF
76245 #define HAVE__LOG10L 1
76246 _ACEOF
76249 done
76258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76259 $as_echo_n "checking for modfl declaration... " >&6; }
76260 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76261 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76262 $as_echo_n "(cached) " >&6
76263 else
76266 ac_ext=cpp
76267 ac_cpp='$CXXCPP $CPPFLAGS'
76268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76273 /* end confdefs.h. */
76274 #include <math.h>
76276 main ()
76278 modfl(0, 0);
76280 return 0;
76282 _ACEOF
76283 if ac_fn_cxx_try_compile "$LINENO"; then :
76284 glibcxx_cv_func_modfl_use=yes
76285 else
76286 glibcxx_cv_func_modfl_use=no
76288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76289 ac_ext=c
76290 ac_cpp='$CPP $CPPFLAGS'
76291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76300 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76302 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76303 for ac_func in modfl
76304 do :
76305 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76306 if test "x$ac_cv_func_modfl" = x""yes; then :
76307 cat >>confdefs.h <<_ACEOF
76308 #define HAVE_MODFL 1
76309 _ACEOF
76312 done
76314 else
76316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76317 $as_echo_n "checking for _modfl declaration... " >&6; }
76318 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76319 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76320 $as_echo_n "(cached) " >&6
76321 else
76324 ac_ext=cpp
76325 ac_cpp='$CXXCPP $CPPFLAGS'
76326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76331 /* end confdefs.h. */
76332 #include <math.h>
76334 main ()
76336 _modfl(0, 0);
76338 return 0;
76340 _ACEOF
76341 if ac_fn_cxx_try_compile "$LINENO"; then :
76342 glibcxx_cv_func__modfl_use=yes
76343 else
76344 glibcxx_cv_func__modfl_use=no
76346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76347 ac_ext=c
76348 ac_cpp='$CPP $CPPFLAGS'
76349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76358 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76360 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76361 for ac_func in _modfl
76362 do :
76363 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76364 if test "x$ac_cv_func__modfl" = x""yes; then :
76365 cat >>confdefs.h <<_ACEOF
76366 #define HAVE__MODFL 1
76367 _ACEOF
76370 done
76379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76380 $as_echo_n "checking for powl declaration... " >&6; }
76381 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76382 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76383 $as_echo_n "(cached) " >&6
76384 else
76387 ac_ext=cpp
76388 ac_cpp='$CXXCPP $CPPFLAGS'
76389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76394 /* end confdefs.h. */
76395 #include <math.h>
76397 main ()
76399 powl(0, 0);
76401 return 0;
76403 _ACEOF
76404 if ac_fn_cxx_try_compile "$LINENO"; then :
76405 glibcxx_cv_func_powl_use=yes
76406 else
76407 glibcxx_cv_func_powl_use=no
76409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76410 ac_ext=c
76411 ac_cpp='$CPP $CPPFLAGS'
76412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76421 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76423 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76424 for ac_func in powl
76425 do :
76426 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76427 if test "x$ac_cv_func_powl" = x""yes; then :
76428 cat >>confdefs.h <<_ACEOF
76429 #define HAVE_POWL 1
76430 _ACEOF
76433 done
76435 else
76437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76438 $as_echo_n "checking for _powl declaration... " >&6; }
76439 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76440 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76441 $as_echo_n "(cached) " >&6
76442 else
76445 ac_ext=cpp
76446 ac_cpp='$CXXCPP $CPPFLAGS'
76447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76452 /* end confdefs.h. */
76453 #include <math.h>
76455 main ()
76457 _powl(0, 0);
76459 return 0;
76461 _ACEOF
76462 if ac_fn_cxx_try_compile "$LINENO"; then :
76463 glibcxx_cv_func__powl_use=yes
76464 else
76465 glibcxx_cv_func__powl_use=no
76467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76468 ac_ext=c
76469 ac_cpp='$CPP $CPPFLAGS'
76470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76479 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76481 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76482 for ac_func in _powl
76483 do :
76484 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76485 if test "x$ac_cv_func__powl" = x""yes; then :
76486 cat >>confdefs.h <<_ACEOF
76487 #define HAVE__POWL 1
76488 _ACEOF
76491 done
76500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76501 $as_echo_n "checking for sqrtl declaration... " >&6; }
76502 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76503 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76504 $as_echo_n "(cached) " >&6
76505 else
76508 ac_ext=cpp
76509 ac_cpp='$CXXCPP $CPPFLAGS'
76510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76515 /* end confdefs.h. */
76516 #include <math.h>
76517 #ifdef HAVE_IEEEFP_H
76518 #include <ieeefp.h>
76519 #endif
76522 main ()
76524 sqrtl(0);
76526 return 0;
76528 _ACEOF
76529 if ac_fn_cxx_try_compile "$LINENO"; then :
76530 glibcxx_cv_func_sqrtl_use=yes
76531 else
76532 glibcxx_cv_func_sqrtl_use=no
76534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76535 ac_ext=c
76536 ac_cpp='$CPP $CPPFLAGS'
76537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76546 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76548 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76549 for ac_func in sqrtl
76550 do :
76551 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76552 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76553 cat >>confdefs.h <<_ACEOF
76554 #define HAVE_SQRTL 1
76555 _ACEOF
76558 done
76560 else
76562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76563 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76564 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76565 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76566 $as_echo_n "(cached) " >&6
76567 else
76570 ac_ext=cpp
76571 ac_cpp='$CXXCPP $CPPFLAGS'
76572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76577 /* end confdefs.h. */
76578 #include <math.h>
76579 #ifdef HAVE_IEEEFP_H
76580 #include <ieeefp.h>
76581 #endif
76584 main ()
76586 _sqrtl(0);
76588 return 0;
76590 _ACEOF
76591 if ac_fn_cxx_try_compile "$LINENO"; then :
76592 glibcxx_cv_func__sqrtl_use=yes
76593 else
76594 glibcxx_cv_func__sqrtl_use=no
76596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76597 ac_ext=c
76598 ac_cpp='$CPP $CPPFLAGS'
76599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76608 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76610 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76611 for ac_func in _sqrtl
76612 do :
76613 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76614 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76615 cat >>confdefs.h <<_ACEOF
76616 #define HAVE__SQRTL 1
76617 _ACEOF
76620 done
76629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76630 $as_echo_n "checking for sincosl declaration... " >&6; }
76631 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76632 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76633 $as_echo_n "(cached) " >&6
76634 else
76637 ac_ext=cpp
76638 ac_cpp='$CXXCPP $CPPFLAGS'
76639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76644 /* end confdefs.h. */
76645 #include <math.h>
76647 main ()
76649 sincosl(0, 0, 0);
76651 return 0;
76653 _ACEOF
76654 if ac_fn_cxx_try_compile "$LINENO"; then :
76655 glibcxx_cv_func_sincosl_use=yes
76656 else
76657 glibcxx_cv_func_sincosl_use=no
76659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76660 ac_ext=c
76661 ac_cpp='$CPP $CPPFLAGS'
76662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76671 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76673 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76674 for ac_func in sincosl
76675 do :
76676 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76677 if test "x$ac_cv_func_sincosl" = x""yes; then :
76678 cat >>confdefs.h <<_ACEOF
76679 #define HAVE_SINCOSL 1
76680 _ACEOF
76683 done
76685 else
76687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76688 $as_echo_n "checking for _sincosl declaration... " >&6; }
76689 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76690 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76691 $as_echo_n "(cached) " >&6
76692 else
76695 ac_ext=cpp
76696 ac_cpp='$CXXCPP $CPPFLAGS'
76697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76702 /* end confdefs.h. */
76703 #include <math.h>
76705 main ()
76707 _sincosl(0, 0, 0);
76709 return 0;
76711 _ACEOF
76712 if ac_fn_cxx_try_compile "$LINENO"; then :
76713 glibcxx_cv_func__sincosl_use=yes
76714 else
76715 glibcxx_cv_func__sincosl_use=no
76717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76718 ac_ext=c
76719 ac_cpp='$CPP $CPPFLAGS'
76720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76729 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76731 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76732 for ac_func in _sincosl
76733 do :
76734 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76735 if test "x$ac_cv_func__sincosl" = x""yes; then :
76736 cat >>confdefs.h <<_ACEOF
76737 #define HAVE__SINCOSL 1
76738 _ACEOF
76741 done
76750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76751 $as_echo_n "checking for finitel declaration... " >&6; }
76752 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76753 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76754 $as_echo_n "(cached) " >&6
76755 else
76758 ac_ext=cpp
76759 ac_cpp='$CXXCPP $CPPFLAGS'
76760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76765 /* end confdefs.h. */
76766 #include <math.h>
76767 #ifdef HAVE_IEEEFP_H
76768 #include <ieeefp.h>
76769 #endif
76772 main ()
76774 finitel(0);
76776 return 0;
76778 _ACEOF
76779 if ac_fn_cxx_try_compile "$LINENO"; then :
76780 glibcxx_cv_func_finitel_use=yes
76781 else
76782 glibcxx_cv_func_finitel_use=no
76784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76785 ac_ext=c
76786 ac_cpp='$CPP $CPPFLAGS'
76787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76796 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76798 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76799 for ac_func in finitel
76800 do :
76801 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76802 if test "x$ac_cv_func_finitel" = x""yes; then :
76803 cat >>confdefs.h <<_ACEOF
76804 #define HAVE_FINITEL 1
76805 _ACEOF
76808 done
76810 else
76812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76813 $as_echo_n "checking for _finitel declaration... " >&6; }
76814 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76815 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76816 $as_echo_n "(cached) " >&6
76817 else
76820 ac_ext=cpp
76821 ac_cpp='$CXXCPP $CPPFLAGS'
76822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76827 /* end confdefs.h. */
76828 #include <math.h>
76829 #ifdef HAVE_IEEEFP_H
76830 #include <ieeefp.h>
76831 #endif
76834 main ()
76836 _finitel(0);
76838 return 0;
76840 _ACEOF
76841 if ac_fn_cxx_try_compile "$LINENO"; then :
76842 glibcxx_cv_func__finitel_use=yes
76843 else
76844 glibcxx_cv_func__finitel_use=no
76846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76847 ac_ext=c
76848 ac_cpp='$CPP $CPPFLAGS'
76849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76858 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76860 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76861 for ac_func in _finitel
76862 do :
76863 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76864 if test "x$ac_cv_func__finitel" = x""yes; then :
76865 cat >>confdefs.h <<_ACEOF
76866 #define HAVE__FINITEL 1
76867 _ACEOF
76870 done
76878 LIBS="$ac_save_LIBS"
76879 CXXFLAGS="$ac_save_CXXFLAGS"
76882 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76883 ac_save_CXXFLAGS="$CXXFLAGS"
76884 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76888 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76889 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76890 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76891 $as_echo_n "(cached) " >&6
76892 else
76895 ac_ext=cpp
76896 ac_cpp='$CXXCPP $CPPFLAGS'
76897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76902 /* end confdefs.h. */
76903 #include <stdlib.h>
76905 main ()
76907 at_quick_exit(0);
76909 return 0;
76911 _ACEOF
76912 if ac_fn_cxx_try_compile "$LINENO"; then :
76913 glibcxx_cv_func_at_quick_exit_use=yes
76914 else
76915 glibcxx_cv_func_at_quick_exit_use=no
76917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76918 ac_ext=c
76919 ac_cpp='$CPP $CPPFLAGS'
76920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76929 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76930 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76931 for ac_func in at_quick_exit
76932 do :
76933 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76934 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76935 cat >>confdefs.h <<_ACEOF
76936 #define HAVE_AT_QUICK_EXIT 1
76937 _ACEOF
76940 done
76945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76946 $as_echo_n "checking for quick_exit declaration... " >&6; }
76947 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76948 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76949 $as_echo_n "(cached) " >&6
76950 else
76953 ac_ext=cpp
76954 ac_cpp='$CXXCPP $CPPFLAGS'
76955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76960 /* end confdefs.h. */
76961 #include <stdlib.h>
76963 main ()
76965 quick_exit(0);
76967 return 0;
76969 _ACEOF
76970 if ac_fn_cxx_try_compile "$LINENO"; then :
76971 glibcxx_cv_func_quick_exit_use=yes
76972 else
76973 glibcxx_cv_func_quick_exit_use=no
76975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76976 ac_ext=c
76977 ac_cpp='$CPP $CPPFLAGS'
76978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76987 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76988 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76989 for ac_func in quick_exit
76990 do :
76991 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76992 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76993 cat >>confdefs.h <<_ACEOF
76994 #define HAVE_QUICK_EXIT 1
76995 _ACEOF
76998 done
77003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77004 $as_echo_n "checking for strtold declaration... " >&6; }
77005 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77006 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77007 $as_echo_n "(cached) " >&6
77008 else
77011 ac_ext=cpp
77012 ac_cpp='$CXXCPP $CPPFLAGS'
77013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77018 /* end confdefs.h. */
77019 #include <stdlib.h>
77021 main ()
77023 strtold(0, 0);
77025 return 0;
77027 _ACEOF
77028 if ac_fn_cxx_try_compile "$LINENO"; then :
77029 glibcxx_cv_func_strtold_use=yes
77030 else
77031 glibcxx_cv_func_strtold_use=no
77033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77034 ac_ext=c
77035 ac_cpp='$CPP $CPPFLAGS'
77036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77045 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77046 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77047 for ac_func in strtold
77048 do :
77049 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77050 if test "x$ac_cv_func_strtold" = x""yes; then :
77051 cat >>confdefs.h <<_ACEOF
77052 #define HAVE_STRTOLD 1
77053 _ACEOF
77056 done
77063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77064 $as_echo_n "checking for strtof declaration... " >&6; }
77065 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77066 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77067 $as_echo_n "(cached) " >&6
77068 else
77071 ac_ext=cpp
77072 ac_cpp='$CXXCPP $CPPFLAGS'
77073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77078 /* end confdefs.h. */
77079 #include <stdlib.h>
77081 main ()
77083 strtof(0, 0);
77085 return 0;
77087 _ACEOF
77088 if ac_fn_cxx_try_compile "$LINENO"; then :
77089 glibcxx_cv_func_strtof_use=yes
77090 else
77091 glibcxx_cv_func_strtof_use=no
77093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77094 ac_ext=c
77095 ac_cpp='$CPP $CPPFLAGS'
77096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77105 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77106 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77107 for ac_func in strtof
77108 do :
77109 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77110 if test "x$ac_cv_func_strtof" = x""yes; then :
77111 cat >>confdefs.h <<_ACEOF
77112 #define HAVE_STRTOF 1
77113 _ACEOF
77116 done
77123 CXXFLAGS="$ac_save_CXXFLAGS"
77126 *-vxworks)
77127 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77129 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77131 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77133 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77135 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77137 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77139 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77141 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77143 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77145 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77147 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77149 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77151 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77153 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77155 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77157 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77159 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77161 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77163 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77165 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77169 as_fn_error "No support for this host/target combination." "$LINENO" 5
77171 esac
77175 # At some point, we should differentiate between architectures
77176 # like x86, which have long double versions, and alpha/powerpc/etc.,
77177 # which don't. For the time being, punt.
77178 if test x"long_double_math_on_this_cpu" = x"yes"; then
77179 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77181 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77183 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77185 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77187 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77189 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77191 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77193 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77195 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77197 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77199 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77201 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77203 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77205 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77207 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77209 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77211 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77213 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77215 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77217 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77219 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77221 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77223 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77228 # Check for _Unwind_GetIPInfo.
77231 # Check whether --with-system-libunwind was given.
77232 if test "${with_system_libunwind+set}" = set; then :
77233 withval=$with_system_libunwind;
77236 # If system-libunwind was not specifically set, pick a default setting.
77237 if test x$with_system_libunwind = x; then
77238 case ${target} in
77239 ia64-*-hpux*) with_system_libunwind=yes ;;
77240 *) with_system_libunwind=no ;;
77241 esac
77243 # Based on system-libunwind and target, do we have ipinfo?
77244 if test x$with_system_libunwind = xyes; then
77245 case ${target} in
77246 ia64-*-*) have_unwind_getipinfo=no ;;
77247 *) have_unwind_getipinfo=yes ;;
77248 esac
77249 else
77250 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77252 case ${target} in
77253 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77254 *) have_unwind_getipinfo=yes ;;
77255 esac
77259 if test x$have_unwind_getipinfo = xyes; then
77261 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77266 # Check whether --enable-linux-futex was given.
77267 if test "${enable_linux_futex+set}" = set; then :
77268 enableval=$enable_linux_futex;
77269 case "$enableval" in
77270 yes|no|default) ;;
77271 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77272 esac
77274 else
77275 enable_linux_futex=default
77279 case "$target" in
77280 *-linux*)
77281 case "$enable_linux_futex" in
77282 default)
77283 # If headers don't have gettid/futex syscalls definition, then
77284 # default to no, otherwise there will be compile time failures.
77285 # Otherwise, default to yes. If we don't detect we are
77286 # compiled/linked against NPTL and not cross-compiling, check
77287 # if programs are run by default against NPTL and if not, issue
77288 # a warning.
77289 enable_linux_futex=no
77290 if test x$gcc_no_link = xyes; then
77291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77294 /* end confdefs.h. */
77295 #include <sys/syscall.h>
77296 int lk;
77298 main ()
77300 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77302 return 0;
77304 _ACEOF
77305 if ac_fn_c_try_link "$LINENO"; then :
77306 save_LIBS="$LIBS"
77307 LIBS="-lpthread $LIBS"
77308 if test x$gcc_no_link = xyes; then
77309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77312 /* end confdefs.h. */
77313 #ifndef _GNU_SOURCE
77314 #define _GNU_SOURCE 1
77315 #endif
77316 #include <pthread.h>
77317 pthread_t th; void *status;
77319 main ()
77321 pthread_tryjoin_np (th, &status);
77323 return 0;
77325 _ACEOF
77326 if ac_fn_c_try_link "$LINENO"; then :
77327 enable_linux_futex=yes
77328 else
77329 if test x$cross_compiling = xno; then
77330 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77331 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77333 If so, please configure with --disable-linux-futex" >&5
77334 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77335 If so, please configure with --disable-linux-futex" >&2;}
77338 enable_linux_futex=yes
77340 rm -f core conftest.err conftest.$ac_objext \
77341 conftest$ac_exeext conftest.$ac_ext
77342 LIBS="$save_LIBS"
77344 rm -f core conftest.err conftest.$ac_objext \
77345 conftest$ac_exeext conftest.$ac_ext
77347 yes)
77348 if test x$gcc_no_link = xyes; then
77349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77352 /* end confdefs.h. */
77353 #include <sys/syscall.h>
77354 int lk;
77356 main ()
77358 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77360 return 0;
77362 _ACEOF
77363 if ac_fn_c_try_link "$LINENO"; then :
77365 else
77366 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77368 rm -f core conftest.err conftest.$ac_objext \
77369 conftest$ac_exeext conftest.$ac_ext
77371 esac
77374 enable_linux_futex=no
77376 esac
77377 if test x$enable_linux_futex = xyes; then
77379 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77386 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77388 acx_cv_header_stdint=stddef.h
77389 acx_cv_header_stdint_kind="(already complete)"
77390 for i in stdint.h $inttype_headers; do
77391 unset ac_cv_type_uintptr_t
77392 unset ac_cv_type_uintmax_t
77393 unset ac_cv_type_int_least32_t
77394 unset ac_cv_type_int_fast32_t
77395 unset ac_cv_type_uint64_t
77396 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77397 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77398 #include <$i>
77400 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77401 acx_cv_header_stdint=$i
77402 else
77403 continue
77406 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77407 #include <$i>
77409 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77411 else
77412 acx_cv_header_stdint_kind="(mostly complete)"
77415 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77416 #include <$i>
77418 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77420 else
77421 acx_cv_header_stdint_kind="(mostly complete)"
77424 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77425 #include <$i>
77427 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77429 else
77430 acx_cv_header_stdint_kind="(mostly complete)"
77433 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77434 #include <$i>
77436 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77438 else
77439 acx_cv_header_stdint_kind="(lacks uint64_t)"
77442 break
77443 done
77444 if test "$acx_cv_header_stdint" = stddef.h; then
77445 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77446 for i in stdint.h $inttype_headers; do
77447 unset ac_cv_type_uintptr_t
77448 unset ac_cv_type_uint32_t
77449 unset ac_cv_type_uint64_t
77450 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77451 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77452 #include <$i>
77454 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77455 acx_cv_header_stdint=$i
77456 else
77457 continue
77460 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77461 #include <$i>
77463 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77467 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77468 #include <$i>
77470 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77474 break
77475 done
77477 if test "$acx_cv_header_stdint" = stddef.h; then
77478 acx_cv_header_stdint_kind="(u_intXX_t style)"
77479 for i in sys/types.h $inttype_headers; do
77480 unset ac_cv_type_u_int32_t
77481 unset ac_cv_type_u_int64_t
77482 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77483 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77484 #include <$i>
77486 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77487 acx_cv_header_stdint=$i
77488 else
77489 continue
77492 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77493 #include <$i>
77495 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77499 break
77500 done
77502 if test "$acx_cv_header_stdint" = stddef.h; then
77503 acx_cv_header_stdint_kind="(using manual detection)"
77506 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77507 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77508 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77509 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77510 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77512 # ----------------- Summarize what we found so far
77514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77515 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77517 case `$as_basename -- include/gstdint.h ||
77518 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77519 Xinclude/gstdint.h : 'X\(//\)$' \| \
77520 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77521 $as_echo X/include/gstdint.h |
77522 sed '/^.*\/\([^/][^/]*\)\/*$/{
77523 s//\1/
77526 /^X\/\(\/\/\)$/{
77527 s//\1/
77530 /^X\/\(\/\).*/{
77531 s//\1/
77534 s/.*/./; q'` in
77535 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77536 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77537 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77538 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77539 *) ;;
77540 esac
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77543 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77545 # ----------------- done included file, check C basic types --------
77547 # Lacking an uintptr_t? Test size of void *
77548 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77549 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77552 # This bug is HP SR number 8606223364.
77553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77554 $as_echo_n "checking size of void *... " >&6; }
77555 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77556 $as_echo_n "(cached) " >&6
77557 else
77558 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77560 else
77561 if test "$ac_cv_type_void_p" = yes; then
77562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77564 { as_fn_set_status 77
77565 as_fn_error "cannot compute sizeof (void *)
77566 See \`config.log' for more details." "$LINENO" 5; }; }
77567 else
77568 ac_cv_sizeof_void_p=0
77573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77574 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77578 cat >>confdefs.h <<_ACEOF
77579 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77580 _ACEOF
77583 esac
77585 # Lacking an uint64_t? Test size of long
77586 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77587 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77590 # This bug is HP SR number 8606223364.
77591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77592 $as_echo_n "checking size of long... " >&6; }
77593 if test "${ac_cv_sizeof_long+set}" = set; then :
77594 $as_echo_n "(cached) " >&6
77595 else
77596 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77598 else
77599 if test "$ac_cv_type_long" = yes; then
77600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77602 { as_fn_set_status 77
77603 as_fn_error "cannot compute sizeof (long)
77604 See \`config.log' for more details." "$LINENO" 5; }; }
77605 else
77606 ac_cv_sizeof_long=0
77611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77612 $as_echo "$ac_cv_sizeof_long" >&6; }
77616 cat >>confdefs.h <<_ACEOF
77617 #define SIZEOF_LONG $ac_cv_sizeof_long
77618 _ACEOF
77621 esac
77623 if test $acx_cv_header_stdint = stddef.h; then
77624 # Lacking a good header? Test size of everything and deduce all types.
77625 # The cast to long int works around a bug in the HP C Compiler
77626 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77627 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77628 # This bug is HP SR number 8606223364.
77629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77630 $as_echo_n "checking size of int... " >&6; }
77631 if test "${ac_cv_sizeof_int+set}" = set; then :
77632 $as_echo_n "(cached) " >&6
77633 else
77634 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77636 else
77637 if test "$ac_cv_type_int" = yes; then
77638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77640 { as_fn_set_status 77
77641 as_fn_error "cannot compute sizeof (int)
77642 See \`config.log' for more details." "$LINENO" 5; }; }
77643 else
77644 ac_cv_sizeof_int=0
77649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77650 $as_echo "$ac_cv_sizeof_int" >&6; }
77654 cat >>confdefs.h <<_ACEOF
77655 #define SIZEOF_INT $ac_cv_sizeof_int
77656 _ACEOF
77659 # The cast to long int works around a bug in the HP C Compiler
77660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77662 # This bug is HP SR number 8606223364.
77663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77664 $as_echo_n "checking size of short... " >&6; }
77665 if test "${ac_cv_sizeof_short+set}" = set; then :
77666 $as_echo_n "(cached) " >&6
77667 else
77668 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77670 else
77671 if test "$ac_cv_type_short" = yes; then
77672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77674 { as_fn_set_status 77
77675 as_fn_error "cannot compute sizeof (short)
77676 See \`config.log' for more details." "$LINENO" 5; }; }
77677 else
77678 ac_cv_sizeof_short=0
77683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77684 $as_echo "$ac_cv_sizeof_short" >&6; }
77688 cat >>confdefs.h <<_ACEOF
77689 #define SIZEOF_SHORT $ac_cv_sizeof_short
77690 _ACEOF
77693 # The cast to long int works around a bug in the HP C Compiler
77694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77696 # This bug is HP SR number 8606223364.
77697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77698 $as_echo_n "checking size of char... " >&6; }
77699 if test "${ac_cv_sizeof_char+set}" = set; then :
77700 $as_echo_n "(cached) " >&6
77701 else
77702 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77704 else
77705 if test "$ac_cv_type_char" = yes; then
77706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77708 { as_fn_set_status 77
77709 as_fn_error "cannot compute sizeof (char)
77710 See \`config.log' for more details." "$LINENO" 5; }; }
77711 else
77712 ac_cv_sizeof_char=0
77717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77718 $as_echo "$ac_cv_sizeof_char" >&6; }
77722 cat >>confdefs.h <<_ACEOF
77723 #define SIZEOF_CHAR $ac_cv_sizeof_char
77724 _ACEOF
77728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77729 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77730 case "$ac_cv_sizeof_char" in
77731 1) acx_cv_type_int8_t=char ;;
77732 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77733 esac
77734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77735 $as_echo "$acx_cv_type_int8_t" >&6; }
77737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77738 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77739 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77740 2:*) acx_cv_type_int16_t=int ;;
77741 *:2) acx_cv_type_int16_t=short ;;
77742 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77743 esac
77744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77745 $as_echo "$acx_cv_type_int16_t" >&6; }
77747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77748 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77749 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77750 4:*) acx_cv_type_int32_t=int ;;
77751 *:4) acx_cv_type_int32_t=long ;;
77752 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77753 esac
77754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77755 $as_echo "$acx_cv_type_int32_t" >&6; }
77758 # These tests are here to make the output prettier
77760 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77761 case "$ac_cv_sizeof_long" in
77762 8) acx_cv_type_int64_t=long ;;
77763 esac
77764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77765 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77767 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77770 # Now we can use the above types
77772 if test "$ac_cv_type_uintptr_t" != yes; then
77773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77774 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77775 case $ac_cv_sizeof_void_p in
77776 2) acx_cv_type_intptr_t=int16_t ;;
77777 4) acx_cv_type_intptr_t=int32_t ;;
77778 8) acx_cv_type_intptr_t=int64_t ;;
77779 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77780 esac
77781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77782 $as_echo "$acx_cv_type_intptr_t" >&6; }
77785 # ----------------- done all checks, emit header -------------
77786 ac_config_commands="$ac_config_commands include/gstdint.h"
77792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77793 $as_echo_n "checking for GNU c++filt... " >&6; }
77794 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77795 $as_echo_n "(cached) " >&6
77796 else
77797 if test -z "$CXXFILT"; then
77798 ac_path_CXXFILT_found=false
77799 # Loop through the user's path and test for each of PROGNAME-LIST
77800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77801 for as_dir in $PATH
77803 IFS=$as_save_IFS
77804 test -z "$as_dir" && as_dir=.
77805 for ac_prog in c++filt gc++filt; do
77806 for ac_exec_ext in '' $ac_executable_extensions; do
77807 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77808 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77809 # Check for GNU $ac_path_CXXFILT
77810 case `"$ac_path_CXXFILT" --version 2>&1` in
77811 *GNU*)
77812 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77813 esac
77815 $ac_path_CXXFILT_found && break 3
77816 done
77817 done
77818 done
77819 IFS=$as_save_IFS
77820 if test -z "$ac_cv_path_CXXFILT"; then
77823 else
77824 ac_cv_path_CXXFILT=$CXXFILT
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77829 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77830 CXXFILT=$ac_cv_path_CXXFILT
77834 # Check whether --enable-symvers was given.
77835 if test "${enable_symvers+set}" = set; then :
77836 enableval=$enable_symvers;
77837 case "$enableval" in
77838 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77839 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77840 esac
77842 else
77843 enable_symvers=yes
77848 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77849 # don't know enough about $LD to do tricks...
77851 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77852 # with extern "C++" in version scripts.
77855 # Turn a 'yes' into a suitable default.
77856 if test x$enable_symvers = xyes ; then
77857 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77858 enable_symvers=no
77859 else
77860 if test $with_gnu_ld = yes ; then
77861 case ${target_os} in
77862 hpux*)
77863 enable_symvers=no ;;
77865 enable_symvers=gnu ;;
77866 esac
77867 else
77868 case ${target_os} in
77869 darwin*)
77870 enable_symvers=darwin ;;
77871 # Sun symbol versioning exists since Solaris 2.5.
77872 solaris2.[5-9]* | solaris2.1[0-9]*)
77873 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77874 # version scripts, so disable symbol versioning if none can be
77875 # found.
77876 if test -z "$ac_cv_path_CXXFILT"; then
77877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77878 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77880 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77882 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77883 enable_symvers=no
77884 else
77885 enable_symvers=sun
77889 enable_symvers=no ;;
77890 esac
77895 # Check to see if 'darwin' or 'darwin-export' can win.
77896 if test x$enable_symvers = xdarwin-export ; then
77897 enable_symvers=darwin
77900 # Check if 'sun' was requested on non-Solaris 2 platforms.
77901 if test x$enable_symvers = xsun ; then
77902 case ${target_os} in
77903 solaris2*)
77904 # All fine.
77907 # Unlikely to work.
77908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77909 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77911 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77913 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77914 enable_symvers=no
77916 esac
77919 # Check to see if 'gnu' can win.
77920 if test $enable_symvers = gnu ||
77921 test $enable_symvers = gnu-versioned-namespace ||
77922 test $enable_symvers = sun; then
77923 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77925 $as_echo_n "checking for shared libgcc... " >&6; }
77926 ac_save_CFLAGS="$CFLAGS"
77927 CFLAGS=' -lgcc_s'
77928 if test x$gcc_no_link = xyes; then
77929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77932 /* end confdefs.h. */
77935 main ()
77937 return 0;
77939 return 0;
77941 _ACEOF
77942 if ac_fn_c_try_link "$LINENO"; then :
77943 glibcxx_shared_libgcc=yes
77944 else
77945 glibcxx_shared_libgcc=no
77947 rm -f core conftest.err conftest.$ac_objext \
77948 conftest$ac_exeext conftest.$ac_ext
77949 CFLAGS="$ac_save_CFLAGS"
77950 if test $glibcxx_shared_libgcc = no; then
77951 cat > conftest.c <<EOF
77952 int main (void) { return 0; }
77954 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77955 -shared -shared-libgcc -o conftest.so \
77956 conftest.c -v 2>&1 >/dev/null \
77957 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77958 rm -f conftest.c conftest.so
77959 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77960 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77961 if test x$gcc_no_link = xyes; then
77962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77965 /* end confdefs.h. */
77968 main ()
77970 return 0;
77972 return 0;
77974 _ACEOF
77975 if ac_fn_c_try_link "$LINENO"; then :
77976 glibcxx_shared_libgcc=yes
77978 rm -f core conftest.err conftest.$ac_objext \
77979 conftest$ac_exeext conftest.$ac_ext
77980 CFLAGS="$ac_save_CFLAGS"
77983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77984 $as_echo "$glibcxx_shared_libgcc" >&6; }
77986 # For GNU ld, we need at least this version. The format is described in
77987 # GLIBCXX_CHECK_LINKER_FEATURES above.
77988 glibcxx_min_gnu_ld_version=21400
77990 # If no shared libgcc, can't win.
77991 if test $glibcxx_shared_libgcc != yes; then
77992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77993 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77995 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77997 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77998 enable_symvers=no
77999 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78000 : All interesting versions of Sun ld support sun style symbol versioning.
78001 elif test $with_gnu_ld != yes ; then
78002 # just fail for now
78003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78004 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78006 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78008 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78009 enable_symvers=no
78010 elif test $glibcxx_ld_is_gold = yes ; then
78011 : All versions of gold support symbol versioning.
78012 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78013 # The right tools, the right setup, but too old. Fallbacks?
78014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78015 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78017 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78019 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78021 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78023 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78024 enable_symvers=no
78028 # For libtool versioning info, format is CURRENT:REVISION:AGE
78029 libtool_VERSION=6:22:0
78031 # Everything parsed; figure out what files and settings to use.
78032 case $enable_symvers in
78034 SYMVER_FILE=config/abi/pre/none.ver
78036 gnu)
78037 SYMVER_FILE=config/abi/pre/gnu.ver
78039 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78042 gnu-versioned-namespace)
78043 libtool_VERSION=7:0:0
78044 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78046 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78049 darwin)
78050 SYMVER_FILE=config/abi/pre/gnu.ver
78052 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78055 sun)
78056 SYMVER_FILE=config/abi/pre/gnu.ver
78058 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78061 esac
78063 if test x$enable_symvers != xno ; then
78065 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78070 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78071 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78072 $as_echo_n "(cached) " >&6
78073 else
78075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78076 /* end confdefs.h. */
78077 void foo (void); __asm (".symver foo, bar@SYMVER");
78079 main ()
78083 return 0;
78085 _ACEOF
78086 if ac_fn_c_try_compile "$LINENO"; then :
78087 glibcxx_cv_have_as_symver_directive=yes
78088 else
78089 glibcxx_cv_have_as_symver_directive=no
78091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78094 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78095 if test $glibcxx_cv_have_as_symver_directive = yes; then
78097 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78108 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78109 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78111 if test $enable_symvers != no ; then
78112 case ${target_os} in
78113 # The Solaris 2 runtime linker doesn't support the GNU extension of
78114 # binding the same symbol to different versions
78115 solaris2*)
78117 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78120 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78123 esac
78126 # Now, set up compatibility support, if any.
78127 # In addition, need this to deal with std::size_t mangling in
78128 # src/compatibility.cc. In a perfect world, could use
78129 # typeid(std::size_t).name()[0] to do direct substitution.
78130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78131 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78132 ac_save_CFLAGS="$CFLAGS"
78133 CFLAGS="-Werror"
78134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78135 /* end confdefs.h. */
78138 main ()
78140 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78142 return 0;
78144 _ACEOF
78145 if ac_fn_c_try_compile "$LINENO"; then :
78146 glibcxx_size_t_is_i=yes
78147 else
78148 glibcxx_size_t_is_i=no
78150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78151 CFLAGS=$ac_save_CFLAGS
78152 if test "$glibcxx_size_t_is_i" = yes; then
78154 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78158 $as_echo "$glibcxx_size_t_is_i" >&6; }
78160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78161 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78162 ac_save_CFLAGS="$CFLAGS"
78163 CFLAGS="-Werror"
78164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78165 /* end confdefs.h. */
78168 main ()
78170 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78172 return 0;
78174 _ACEOF
78175 if ac_fn_c_try_compile "$LINENO"; then :
78176 glibcxx_ptrdiff_t_is_i=yes
78177 else
78178 glibcxx_ptrdiff_t_is_i=no
78180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78181 CFLAGS=$ac_save_CFLAGS
78182 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78184 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78188 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78193 # Check whether --enable-libstdcxx-visibility was given.
78194 if test "${enable_libstdcxx_visibility+set}" = set; then :
78195 enableval=$enable_libstdcxx_visibility;
78196 case "$enableval" in
78197 yes|no) ;;
78198 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78199 esac
78201 else
78202 enable_libstdcxx_visibility=yes
78207 if test x$enable_libstdcxx_visibility = xyes ; then
78208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78209 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78210 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78211 $as_echo_n "(cached) " >&6
78212 else
78214 save_CFLAGS="$CFLAGS"
78215 CFLAGS="$CFLAGS -Werror"
78216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78217 /* end confdefs.h. */
78218 void __attribute__((visibility("hidden"))) foo(void) { }
78220 main ()
78224 return 0;
78226 _ACEOF
78227 if ac_fn_c_try_compile "$LINENO"; then :
78228 glibcxx_cv_have_attribute_visibility=yes
78229 else
78230 glibcxx_cv_have_attribute_visibility=no
78232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78233 CFLAGS="$save_CFLAGS"
78235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78236 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78237 if test $glibcxx_cv_have_attribute_visibility = no; then
78238 enable_libstdcxx_visibility=no
78243 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78244 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78248 # Check whether --enable-libstdcxx-dual-abi was given.
78249 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78250 enableval=$enable_libstdcxx_dual_abi;
78251 case "$enableval" in
78252 yes|no) ;;
78253 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78254 esac
78256 else
78257 enable_libstdcxx_dual_abi=yes
78261 if test x$enable_symvers = xgnu-versioned-namespace; then
78262 # gnu-versioned-namespace is incompatible with the dual ABI.
78263 enable_libstdcxx_dual_abi="no"
78265 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78266 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78267 $as_echo "$as_me: dual ABI is disabled" >&6;}
78268 default_libstdcxx_abi="c++98"
78273 if test x$enable_libstdcxx_dual_abi = xyes; then
78274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78275 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78277 # Check whether --with-default-libstdcxx-abi was given.
78278 if test "${with_default_libstdcxx_abi+set}" = set; then :
78279 withval=$with_default_libstdcxx_abi; case "$withval" in
78280 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78281 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78282 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78283 esac
78284 else
78285 default_libstdcxx_abi="c++11"
78288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78289 $as_echo "${default_libstdcxx_abi}" >&6; }
78291 if test $default_libstdcxx_abi = "c++11"; then
78292 glibcxx_cxx11_abi=1
78293 glibcxx_cxx98_abi=0
78294 else
78295 glibcxx_cxx11_abi=0
78296 glibcxx_cxx98_abi=1
78302 ac_ldbl_compat=no
78303 case "$target" in
78304 powerpc*-*-linux* | \
78305 sparc*-*-linux* | \
78306 s390*-*-linux* | \
78307 alpha*-*-linux*)
78308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78309 /* end confdefs.h. */
78312 main ()
78315 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78316 #error no need for long double compatibility
78317 #endif
78320 return 0;
78322 _ACEOF
78323 if ac_fn_c_try_compile "$LINENO"; then :
78324 ac_ldbl_compat=yes
78325 else
78326 ac_ldbl_compat=no
78328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78329 if test "$ac_ldbl_compat" = yes; then
78331 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78333 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78335 esac
78338 # Check if assembler supports disabling hardware capability support.
78340 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78342 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78343 # with a different meaning.
78344 case ${target_os} in
78345 solaris2*)
78346 ac_save_CFLAGS="$CFLAGS"
78347 CFLAGS="$CFLAGS -Wa,-nH"
78349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78350 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78352 /* end confdefs.h. */
78355 main ()
78357 return 0;
78359 return 0;
78361 _ACEOF
78362 if ac_fn_c_try_compile "$LINENO"; then :
78363 ac_hwcap_flags=yes
78364 else
78365 ac_hwcap_flags=no
78367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78368 if test "$ac_hwcap_flags" = "yes"; then
78369 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78372 $as_echo "$ac_hwcap_flags" >&6; }
78374 CFLAGS="$ac_save_CFLAGS"
78376 esac
78381 # Check if assembler supports rdrand opcode.
78383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78384 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78385 if test "${ac_cv_x86_rdrand+set}" = set; then :
78386 $as_echo_n "(cached) " >&6
78387 else
78389 ac_cv_x86_rdrand=no
78390 case "$target" in
78391 i?86-*-* | \
78392 x86_64-*-*)
78393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78394 /* end confdefs.h. */
78397 main ()
78399 asm("rdrand %eax");
78401 return 0;
78403 _ACEOF
78404 if ac_fn_c_try_compile "$LINENO"; then :
78405 ac_cv_x86_rdrand=yes
78406 else
78407 ac_cv_x86_rdrand=no
78409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78410 esac
78414 if test $ac_cv_x86_rdrand = yes; then
78416 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78420 $as_echo "$ac_cv_x86_rdrand" >&6; }
78423 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78425 if $GLIBCXX_IS_NATIVE ; then
78426 # Do checks for resource limit functions.
78428 setrlimit_have_headers=yes
78429 for ac_header in unistd.h sys/time.h sys/resource.h
78430 do :
78431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78432 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78433 eval as_val=\$$as_ac_Header
78434 if test "x$as_val" = x""yes; then :
78435 cat >>confdefs.h <<_ACEOF
78436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78437 _ACEOF
78439 else
78440 setrlimit_have_headers=no
78443 done
78445 # If don't have the headers, then we can't run the tests now, and we
78446 # won't be seeing any of these during testsuite compilation.
78447 if test $setrlimit_have_headers = yes; then
78448 # Can't do these in a loop, else the resulting syntax is wrong.
78450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78451 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78453 /* end confdefs.h. */
78454 #include <unistd.h>
78455 #include <sys/time.h>
78456 #include <sys/resource.h>
78459 main ()
78461 int f = RLIMIT_DATA ;
78463 return 0;
78465 _ACEOF
78466 if ac_fn_c_try_compile "$LINENO"; then :
78467 glibcxx_mresult=1
78468 else
78469 glibcxx_mresult=0
78471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78473 cat >>confdefs.h <<_ACEOF
78474 #define HAVE_LIMIT_DATA $glibcxx_mresult
78475 _ACEOF
78477 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78479 $as_echo "$res" >&6; }
78482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78483 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78485 /* end confdefs.h. */
78486 #include <unistd.h>
78487 #include <sys/time.h>
78488 #include <sys/resource.h>
78491 main ()
78493 int f = RLIMIT_RSS ;
78495 return 0;
78497 _ACEOF
78498 if ac_fn_c_try_compile "$LINENO"; then :
78499 glibcxx_mresult=1
78500 else
78501 glibcxx_mresult=0
78503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78505 cat >>confdefs.h <<_ACEOF
78506 #define HAVE_LIMIT_RSS $glibcxx_mresult
78507 _ACEOF
78509 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78511 $as_echo "$res" >&6; }
78514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78515 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78517 /* end confdefs.h. */
78518 #include <unistd.h>
78519 #include <sys/time.h>
78520 #include <sys/resource.h>
78523 main ()
78525 int f = RLIMIT_VMEM ;
78527 return 0;
78529 _ACEOF
78530 if ac_fn_c_try_compile "$LINENO"; then :
78531 glibcxx_mresult=1
78532 else
78533 glibcxx_mresult=0
78535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78537 cat >>confdefs.h <<_ACEOF
78538 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78539 _ACEOF
78541 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78543 $as_echo "$res" >&6; }
78546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78547 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78549 /* end confdefs.h. */
78550 #include <unistd.h>
78551 #include <sys/time.h>
78552 #include <sys/resource.h>
78555 main ()
78557 int f = RLIMIT_AS ;
78559 return 0;
78561 _ACEOF
78562 if ac_fn_c_try_compile "$LINENO"; then :
78563 glibcxx_mresult=1
78564 else
78565 glibcxx_mresult=0
78567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78569 cat >>confdefs.h <<_ACEOF
78570 #define HAVE_LIMIT_AS $glibcxx_mresult
78571 _ACEOF
78573 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78575 $as_echo "$res" >&6; }
78578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78579 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78581 /* end confdefs.h. */
78582 #include <unistd.h>
78583 #include <sys/time.h>
78584 #include <sys/resource.h>
78587 main ()
78589 int f = RLIMIT_FSIZE ;
78591 return 0;
78593 _ACEOF
78594 if ac_fn_c_try_compile "$LINENO"; then :
78595 glibcxx_mresult=1
78596 else
78597 glibcxx_mresult=0
78599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78601 cat >>confdefs.h <<_ACEOF
78602 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78603 _ACEOF
78605 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78607 $as_echo "$res" >&6; }
78610 # Check for rlimit, setrlimit.
78611 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78612 $as_echo_n "(cached) " >&6
78613 else
78615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78616 /* end confdefs.h. */
78617 #include <unistd.h>
78618 #include <sys/time.h>
78619 #include <sys/resource.h>
78622 main ()
78624 struct rlimit r;
78625 setrlimit(0, &r);
78627 return 0;
78629 _ACEOF
78630 if ac_fn_c_try_compile "$LINENO"; then :
78631 glibcxx_cv_setrlimit=yes
78632 else
78633 glibcxx_cv_setrlimit=no
78635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78642 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78643 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78644 ac_res_limits=yes
78646 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78648 else
78649 ac_res_limits=no
78651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78652 $as_echo "$ac_res_limits" >&6; }
78655 # Look for setenv, so that extended locale tests can be performed.
78657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78658 $as_echo_n "checking for setenv declaration... " >&6; }
78659 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78660 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78661 $as_echo_n "(cached) " >&6
78662 else
78665 ac_ext=cpp
78666 ac_cpp='$CXXCPP $CPPFLAGS'
78667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78672 /* end confdefs.h. */
78673 #include <stdlib.h>
78675 main ()
78677 setenv(0, 0, 0);
78679 return 0;
78681 _ACEOF
78682 if ac_fn_cxx_try_compile "$LINENO"; then :
78683 glibcxx_cv_func_setenv_use=yes
78684 else
78685 glibcxx_cv_func_setenv_use=no
78687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78688 ac_ext=c
78689 ac_cpp='$CPP $CPPFLAGS'
78690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78699 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78700 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78701 for ac_func in setenv
78702 do :
78703 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78704 if test "x$ac_cv_func_setenv" = x""yes; then :
78705 cat >>confdefs.h <<_ACEOF
78706 #define HAVE_SETENV 1
78707 _ACEOF
78710 done
78716 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78717 test $enable_symvers != no; then
78718 case "$host" in
78719 *-*-cygwin*)
78720 enable_abi_check=no ;;
78722 enable_abi_check=yes ;;
78723 esac
78724 else
78725 # Only build this as native, since automake does not understand
78726 # CXX_FOR_BUILD.
78727 enable_abi_check=no
78730 # Export file names for ABI checking.
78731 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78733 baseline_subdir_switch="$abi_baseline_subdir_switch"
78737 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78739 # Check whether --enable-libstdcxx-threads was given.
78740 if test "${enable_libstdcxx_threads+set}" = set; then :
78741 enableval=$enable_libstdcxx_threads;
78742 case "$enableval" in
78743 yes|no) ;;
78744 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78745 esac
78747 else
78748 enable_libstdcxx_threads=auto
78753 if test x$enable_libstdcxx_threads = xauto ||
78754 test x$enable_libstdcxx_threads = xyes; then
78757 ac_ext=cpp
78758 ac_cpp='$CXXCPP $CPPFLAGS'
78759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78764 ac_save_CXXFLAGS="$CXXFLAGS"
78765 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78766 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78768 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78769 case $target_thread_file in
78770 posix)
78771 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78772 esac
78774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78775 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78778 /* end confdefs.h. */
78779 #include <unistd.h>
78781 main ()
78784 // In case of POSIX threads check _POSIX_TIMEOUTS.
78785 #if (defined(_PTHREADS) \
78786 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78787 #error
78788 #endif
78791 return 0;
78793 _ACEOF
78794 if ac_fn_cxx_try_compile "$LINENO"; then :
78795 ac_gthread_use_mutex_timedlock=1
78796 else
78797 ac_gthread_use_mutex_timedlock=0
78799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78802 cat >>confdefs.h <<_ACEOF
78803 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78804 _ACEOF
78807 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78808 else res_mutex_timedlock=no ; fi
78809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78810 $as_echo "$res_mutex_timedlock" >&6; }
78812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78813 $as_echo_n "checking for gthreads library... " >&6; }
78815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78816 /* end confdefs.h. */
78817 #include "gthr.h"
78819 main ()
78822 #ifndef __GTHREADS_CXX0X
78823 #error
78824 #endif
78827 return 0;
78829 _ACEOF
78830 if ac_fn_cxx_try_compile "$LINENO"; then :
78831 ac_has_gthreads=yes
78832 else
78833 ac_has_gthreads=no
78835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78836 else
78837 ac_has_gthreads=no
78840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78841 $as_echo "$ac_has_gthreads" >&6; }
78843 if test x"$ac_has_gthreads" = x"yes"; then
78845 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78848 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
78849 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
78851 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
78853 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
78859 CXXFLAGS="$ac_save_CXXFLAGS"
78860 ac_ext=c
78861 ac_cpp='$CPP $CPPFLAGS'
78862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78868 # Define documentation rules conditionally.
78870 # See if makeinfo has been installed and is modern enough
78871 # that we can use it.
78873 # Extract the first word of "makeinfo", so it can be a program name with args.
78874 set dummy makeinfo; ac_word=$2
78875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78876 $as_echo_n "checking for $ac_word... " >&6; }
78877 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78878 $as_echo_n "(cached) " >&6
78879 else
78880 if test -n "$MAKEINFO"; then
78881 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78882 else
78883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78884 for as_dir in $PATH
78886 IFS=$as_save_IFS
78887 test -z "$as_dir" && as_dir=.
78888 for ac_exec_ext in '' $ac_executable_extensions; do
78889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78890 ac_cv_prog_MAKEINFO="makeinfo"
78891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78892 break 2
78894 done
78895 done
78896 IFS=$as_save_IFS
78900 MAKEINFO=$ac_cv_prog_MAKEINFO
78901 if test -n "$MAKEINFO"; then
78902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78903 $as_echo "$MAKEINFO" >&6; }
78904 else
78905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78906 $as_echo "no" >&6; }
78910 if test -n "$MAKEINFO"; then
78911 # Found it, now check the version.
78912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78913 $as_echo_n "checking for modern makeinfo... " >&6; }
78914 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78915 $as_echo_n "(cached) " >&6
78916 else
78917 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78918 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78920 case $ac_prog_version in
78921 '') gcc_cv_prog_makeinfo_modern=no;;
78922 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78923 *) gcc_cv_prog_makeinfo_modern=no;;
78924 esac
78927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78928 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78929 else
78930 gcc_cv_prog_makeinfo_modern=no
78932 if test $gcc_cv_prog_makeinfo_modern = no; then
78933 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78936 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78937 BUILD_INFO_TRUE=
78938 BUILD_INFO_FALSE='#'
78939 else
78940 BUILD_INFO_TRUE='#'
78941 BUILD_INFO_FALSE=
78945 # Check for doxygen
78946 # Extract the first word of "doxygen", so it can be a program name with args.
78947 set dummy doxygen; ac_word=$2
78948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78949 $as_echo_n "checking for $ac_word... " >&6; }
78950 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78951 $as_echo_n "(cached) " >&6
78952 else
78953 if test -n "$DOXYGEN"; then
78954 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78955 else
78956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78957 for as_dir in $PATH
78959 IFS=$as_save_IFS
78960 test -z "$as_dir" && as_dir=.
78961 for ac_exec_ext in '' $ac_executable_extensions; do
78962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78963 ac_cv_prog_DOXYGEN="yes"
78964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78965 break 2
78967 done
78968 done
78969 IFS=$as_save_IFS
78971 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78974 DOXYGEN=$ac_cv_prog_DOXYGEN
78975 if test -n "$DOXYGEN"; then
78976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78977 $as_echo "$DOXYGEN" >&6; }
78978 else
78979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78980 $as_echo "no" >&6; }
78984 # Extract the first word of "dot", so it can be a program name with args.
78985 set dummy dot; ac_word=$2
78986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78987 $as_echo_n "checking for $ac_word... " >&6; }
78988 if test "${ac_cv_prog_DOT+set}" = set; then :
78989 $as_echo_n "(cached) " >&6
78990 else
78991 if test -n "$DOT"; then
78992 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78993 else
78994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78995 for as_dir in $PATH
78997 IFS=$as_save_IFS
78998 test -z "$as_dir" && as_dir=.
78999 for ac_exec_ext in '' $ac_executable_extensions; do
79000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79001 ac_cv_prog_DOT="yes"
79002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79003 break 2
79005 done
79006 done
79007 IFS=$as_save_IFS
79009 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79012 DOT=$ac_cv_prog_DOT
79013 if test -n "$DOT"; then
79014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79015 $as_echo "$DOT" >&6; }
79016 else
79017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79018 $as_echo "no" >&6; }
79023 # Check for docbook
79024 # Extract the first word of "xsltproc", so it can be a program name with args.
79025 set dummy xsltproc; ac_word=$2
79026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79027 $as_echo_n "checking for $ac_word... " >&6; }
79028 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79029 $as_echo_n "(cached) " >&6
79030 else
79031 if test -n "$XSLTPROC"; then
79032 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79033 else
79034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79035 for as_dir in $PATH
79037 IFS=$as_save_IFS
79038 test -z "$as_dir" && as_dir=.
79039 for ac_exec_ext in '' $ac_executable_extensions; do
79040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79041 ac_cv_prog_XSLTPROC="yes"
79042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79043 break 2
79045 done
79046 done
79047 IFS=$as_save_IFS
79049 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79052 XSLTPROC=$ac_cv_prog_XSLTPROC
79053 if test -n "$XSLTPROC"; then
79054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79055 $as_echo "$XSLTPROC" >&6; }
79056 else
79057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79058 $as_echo "no" >&6; }
79062 # Extract the first word of "xmllint", so it can be a program name with args.
79063 set dummy xmllint; ac_word=$2
79064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79065 $as_echo_n "checking for $ac_word... " >&6; }
79066 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79067 $as_echo_n "(cached) " >&6
79068 else
79069 if test -n "$XMLLINT"; then
79070 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79071 else
79072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79073 for as_dir in $PATH
79075 IFS=$as_save_IFS
79076 test -z "$as_dir" && as_dir=.
79077 for ac_exec_ext in '' $ac_executable_extensions; do
79078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79079 ac_cv_prog_XMLLINT="yes"
79080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79081 break 2
79083 done
79084 done
79085 IFS=$as_save_IFS
79087 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79090 XMLLINT=$ac_cv_prog_XMLLINT
79091 if test -n "$XMLLINT"; then
79092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79093 $as_echo "$XMLLINT" >&6; }
79094 else
79095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79096 $as_echo "no" >&6; }
79102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79103 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79104 glibcxx_stylesheets=no
79105 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
79106 glibcxx_stylesheets=yes
79108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79109 $as_echo "$glibcxx_stylesheets" >&6; }
79111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79112 $as_echo_n "checking for local stylesheet directory... " >&6; }
79113 glibcxx_local_stylesheets=no
79114 if test x"$glibcxx_stylesheets" = x"yes"; then
79115 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79116 glibcxx_local_stylesheets=yes
79117 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79119 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79120 glibcxx_local_stylesheets=yes
79121 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79123 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79124 glibcxx_local_stylesheets=yes
79125 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79129 $as_echo "$glibcxx_local_stylesheets" >&6; }
79131 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79133 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79134 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79135 else
79136 glibcxx_stylesheets=no
79139 # Check for epub3 dependencies.
79140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79141 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79142 glibcxx_epub_stylesheets=no
79143 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79144 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79145 glibcxx_epub_stylesheets=yes
79148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79149 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79150 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79151 BUILD_EPUB_TRUE=
79152 BUILD_EPUB_FALSE='#'
79153 else
79154 BUILD_EPUB_TRUE='#'
79155 BUILD_EPUB_FALSE=
79161 # Check for xml/html dependencies.
79162 if test $ac_cv_prog_DOXYGEN = "yes" &&
79163 test $ac_cv_prog_DOT = "yes" &&
79164 test $ac_cv_prog_XSLTPROC = "yes" &&
79165 test $ac_cv_prog_XMLLINT = "yes" &&
79166 test $glibcxx_stylesheets = "yes"; then
79167 BUILD_XML_TRUE=
79168 BUILD_XML_FALSE='#'
79169 else
79170 BUILD_XML_TRUE='#'
79171 BUILD_XML_FALSE=
79175 if test $ac_cv_prog_DOXYGEN = "yes" &&
79176 test $ac_cv_prog_DOT = "yes" &&
79177 test $ac_cv_prog_XSLTPROC = "yes" &&
79178 test $ac_cv_prog_XMLLINT = "yes" &&
79179 test $glibcxx_stylesheets = "yes"; then
79180 BUILD_HTML_TRUE=
79181 BUILD_HTML_FALSE='#'
79182 else
79183 BUILD_HTML_TRUE='#'
79184 BUILD_HTML_FALSE=
79188 # Check for man dependencies.
79189 if test $ac_cv_prog_DOXYGEN = "yes" &&
79190 test $ac_cv_prog_DOT = "yes"; then
79191 BUILD_MAN_TRUE=
79192 BUILD_MAN_FALSE='#'
79193 else
79194 BUILD_MAN_TRUE='#'
79195 BUILD_MAN_FALSE=
79199 # Check for pdf dependencies.
79200 # Extract the first word of "dblatex", so it can be a program name with args.
79201 set dummy dblatex; ac_word=$2
79202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79203 $as_echo_n "checking for $ac_word... " >&6; }
79204 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79205 $as_echo_n "(cached) " >&6
79206 else
79207 if test -n "$DBLATEX"; then
79208 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79209 else
79210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79211 for as_dir in $PATH
79213 IFS=$as_save_IFS
79214 test -z "$as_dir" && as_dir=.
79215 for ac_exec_ext in '' $ac_executable_extensions; do
79216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79217 ac_cv_prog_DBLATEX="yes"
79218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79219 break 2
79221 done
79222 done
79223 IFS=$as_save_IFS
79225 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79228 DBLATEX=$ac_cv_prog_DBLATEX
79229 if test -n "$DBLATEX"; then
79230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79231 $as_echo "$DBLATEX" >&6; }
79232 else
79233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79234 $as_echo "no" >&6; }
79238 # Extract the first word of "pdflatex", so it can be a program name with args.
79239 set dummy pdflatex; ac_word=$2
79240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79241 $as_echo_n "checking for $ac_word... " >&6; }
79242 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79243 $as_echo_n "(cached) " >&6
79244 else
79245 if test -n "$PDFLATEX"; then
79246 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79247 else
79248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79249 for as_dir in $PATH
79251 IFS=$as_save_IFS
79252 test -z "$as_dir" && as_dir=.
79253 for ac_exec_ext in '' $ac_executable_extensions; do
79254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79255 ac_cv_prog_PDFLATEX="yes"
79256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79257 break 2
79259 done
79260 done
79261 IFS=$as_save_IFS
79263 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79266 PDFLATEX=$ac_cv_prog_PDFLATEX
79267 if test -n "$PDFLATEX"; then
79268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79269 $as_echo "$PDFLATEX" >&6; }
79270 else
79271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79272 $as_echo "no" >&6; }
79276 if test $ac_cv_prog_DBLATEX = "yes" &&
79277 test $ac_cv_prog_PDFLATEX = "yes"; then
79278 BUILD_PDF_TRUE=
79279 BUILD_PDF_FALSE='#'
79280 else
79281 BUILD_PDF_TRUE='#'
79282 BUILD_PDF_FALSE=
79287 # Propagate the target-specific source directories through the build chain.
79288 ATOMICITY_SRCDIR=config/${atomicity_dir}
79289 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79290 ATOMIC_FLAGS=${atomic_flags}
79291 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79292 OS_INC_SRCDIR=config/${os_include_dir}
79293 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79294 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79295 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79296 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79308 # Determine cross-compile flags and AM_CONDITIONALs.
79309 #AC_SUBST(GLIBCXX_IS_NATIVE)
79310 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79311 if test $is_hosted = yes; then
79312 GLIBCXX_HOSTED_TRUE=
79313 GLIBCXX_HOSTED_FALSE='#'
79314 else
79315 GLIBCXX_HOSTED_TRUE='#'
79316 GLIBCXX_HOSTED_FALSE=
79320 if test $enable_libstdcxx_pch = yes; then
79321 GLIBCXX_BUILD_PCH_TRUE=
79322 GLIBCXX_BUILD_PCH_FALSE='#'
79323 else
79324 GLIBCXX_BUILD_PCH_TRUE='#'
79325 GLIBCXX_BUILD_PCH_FALSE=
79329 if test $enable_cheaders = c; then
79330 GLIBCXX_C_HEADERS_C_TRUE=
79331 GLIBCXX_C_HEADERS_C_FALSE='#'
79332 else
79333 GLIBCXX_C_HEADERS_C_TRUE='#'
79334 GLIBCXX_C_HEADERS_C_FALSE=
79338 if test $enable_cheaders = c_std; then
79339 GLIBCXX_C_HEADERS_C_STD_TRUE=
79340 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79341 else
79342 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79343 GLIBCXX_C_HEADERS_C_STD_FALSE=
79347 if test $enable_cheaders = c_global; then
79348 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79349 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79350 else
79351 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79352 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79356 if test $c_compatibility = yes; then
79357 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79358 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79359 else
79360 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79361 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79365 if test $enable_libstdcxx_debug = yes; then
79366 GLIBCXX_BUILD_DEBUG_TRUE=
79367 GLIBCXX_BUILD_DEBUG_FALSE='#'
79368 else
79369 GLIBCXX_BUILD_DEBUG_TRUE='#'
79370 GLIBCXX_BUILD_DEBUG_FALSE=
79374 if test $enable_extern_template = yes; then
79375 ENABLE_EXTERN_TEMPLATE_TRUE=
79376 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79377 else
79378 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79379 ENABLE_EXTERN_TEMPLATE_FALSE=
79383 if test $python_mod_dir != no; then
79384 ENABLE_PYTHONDIR_TRUE=
79385 ENABLE_PYTHONDIR_FALSE='#'
79386 else
79387 ENABLE_PYTHONDIR_TRUE='#'
79388 ENABLE_PYTHONDIR_FALSE=
79392 if test $enable_werror = yes; then
79393 ENABLE_WERROR_TRUE=
79394 ENABLE_WERROR_FALSE='#'
79395 else
79396 ENABLE_WERROR_TRUE='#'
79397 ENABLE_WERROR_FALSE=
79401 if test $enable_vtable_verify = yes; then
79402 ENABLE_VTABLE_VERIFY_TRUE=
79403 ENABLE_VTABLE_VERIFY_FALSE='#'
79404 else
79405 ENABLE_VTABLE_VERIFY_TRUE='#'
79406 ENABLE_VTABLE_VERIFY_FALSE=
79410 if test $enable_symvers != no; then
79411 ENABLE_SYMVERS_TRUE=
79412 ENABLE_SYMVERS_FALSE='#'
79413 else
79414 ENABLE_SYMVERS_TRUE='#'
79415 ENABLE_SYMVERS_FALSE=
79419 if test $enable_symvers = gnu; then
79420 ENABLE_SYMVERS_GNU_TRUE=
79421 ENABLE_SYMVERS_GNU_FALSE='#'
79422 else
79423 ENABLE_SYMVERS_GNU_TRUE='#'
79424 ENABLE_SYMVERS_GNU_FALSE=
79428 if test $enable_symvers = gnu-versioned-namespace; then
79429 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79430 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79431 else
79432 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79433 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79437 if test $enable_symvers = darwin; then
79438 ENABLE_SYMVERS_DARWIN_TRUE=
79439 ENABLE_SYMVERS_DARWIN_FALSE='#'
79440 else
79441 ENABLE_SYMVERS_DARWIN_TRUE='#'
79442 ENABLE_SYMVERS_DARWIN_FALSE=
79446 if test $enable_symvers = sun; then
79447 ENABLE_SYMVERS_SUN_TRUE=
79448 ENABLE_SYMVERS_SUN_FALSE='#'
79449 else
79450 ENABLE_SYMVERS_SUN_TRUE='#'
79451 ENABLE_SYMVERS_SUN_FALSE=
79455 if test $enable_libstdcxx_visibility = yes; then
79456 ENABLE_VISIBILITY_TRUE=
79457 ENABLE_VISIBILITY_FALSE='#'
79458 else
79459 ENABLE_VISIBILITY_TRUE='#'
79460 ENABLE_VISIBILITY_FALSE=
79464 if test $enable_libstdcxx_dual_abi = yes; then
79465 ENABLE_DUAL_ABI_TRUE=
79466 ENABLE_DUAL_ABI_FALSE='#'
79467 else
79468 ENABLE_DUAL_ABI_TRUE='#'
79469 ENABLE_DUAL_ABI_FALSE=
79473 if test $glibcxx_cxx11_abi = 1; then
79474 ENABLE_CXX11_ABI_TRUE=
79475 ENABLE_CXX11_ABI_FALSE='#'
79476 else
79477 ENABLE_CXX11_ABI_TRUE='#'
79478 ENABLE_CXX11_ABI_FALSE=
79482 if test $ac_ldbl_compat = yes; then
79483 GLIBCXX_LDBL_COMPAT_TRUE=
79484 GLIBCXX_LDBL_COMPAT_FALSE='#'
79485 else
79486 GLIBCXX_LDBL_COMPAT_TRUE='#'
79487 GLIBCXX_LDBL_COMPAT_FALSE=
79493 cat >confcache <<\_ACEOF
79494 # This file is a shell script that caches the results of configure
79495 # tests run on this system so they can be shared between configure
79496 # scripts and configure runs, see configure's option --config-cache.
79497 # It is not useful on other systems. If it contains results you don't
79498 # want to keep, you may remove or edit it.
79500 # config.status only pays attention to the cache file if you give it
79501 # the --recheck option to rerun configure.
79503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79505 # following values.
79507 _ACEOF
79509 # The following way of writing the cache mishandles newlines in values,
79510 # but we know of no workaround that is simple, portable, and efficient.
79511 # So, we kill variables containing newlines.
79512 # Ultrix sh set writes to stderr and can't be redirected directly,
79513 # and sets the high bit in the cache file unless we assign to the vars.
79515 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79516 eval ac_val=\$$ac_var
79517 case $ac_val in #(
79518 *${as_nl}*)
79519 case $ac_var in #(
79520 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79521 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79522 esac
79523 case $ac_var in #(
79524 _ | IFS | as_nl) ;; #(
79525 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79526 *) { eval $ac_var=; unset $ac_var;} ;;
79527 esac ;;
79528 esac
79529 done
79531 (set) 2>&1 |
79532 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79533 *${as_nl}ac_space=\ *)
79534 # `set' does not quote correctly, so add quotes: double-quote
79535 # substitution turns \\\\ into \\, and sed turns \\ into \.
79536 sed -n \
79537 "s/'/'\\\\''/g;
79538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79539 ;; #(
79541 # `set' quotes correctly as required by POSIX, so do not add quotes.
79542 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79544 esac |
79545 sort
79547 sed '
79548 /^ac_cv_env_/b end
79549 t clear
79550 :clear
79551 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79552 t end
79553 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79554 :end' >>confcache
79555 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79556 if test -w "$cache_file"; then
79557 test "x$cache_file" != "x/dev/null" &&
79558 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79559 $as_echo "$as_me: updating cache $cache_file" >&6;}
79560 cat confcache >$cache_file
79561 else
79562 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79566 rm -f confcache
79568 if test ${multilib} = yes; then
79569 multilib_arg="--enable-multilib"
79570 else
79571 multilib_arg=
79574 # Export all the install information.
79576 glibcxx_toolexecdir=no
79577 glibcxx_toolexeclibdir=no
79578 glibcxx_prefixdir=$prefix
79580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79581 $as_echo_n "checking for gxx-include-dir... " >&6; }
79583 # Check whether --with-gxx-include-dir was given.
79584 if test "${with_gxx_include_dir+set}" = set; then :
79585 withval=$with_gxx_include_dir; case "$withval" in
79586 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79587 no) gxx_include_dir=no ;;
79588 *) gxx_include_dir=$withval ;;
79589 esac
79590 else
79591 gxx_include_dir=no
79594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79595 $as_echo "$gxx_include_dir" >&6; }
79597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79598 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79599 # Check whether --enable-version-specific-runtime-libs was given.
79600 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79601 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79602 yes) version_specific_libs=yes ;;
79603 no) version_specific_libs=no ;;
79604 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79605 esac
79606 else
79607 version_specific_libs=no
79610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79611 $as_echo "$version_specific_libs" >&6; }
79613 # Default case for install directory for include files.
79614 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79615 gxx_include_dir='include/c++/${gcc_version}'
79616 if test -n "$with_cross_host" &&
79617 test x"$with_cross_host" != x"no"; then
79618 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79619 else
79620 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79624 # Version-specific runtime libs processing.
79625 if test $version_specific_libs = yes; then
79626 # Need the gcc compiler version to know where to install libraries
79627 # and header files if --enable-version-specific-runtime-libs option
79628 # is selected. FIXME: these variables are misnamed, there are
79629 # no executables installed in _toolexecdir or _toolexeclibdir.
79630 if test x"$gxx_include_dir" = x"no"; then
79631 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79633 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79634 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79637 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79638 # Install a library built with a cross compiler in tooldir, not libdir.
79639 if test x"$glibcxx_toolexecdir" = x"no"; then
79640 if test -n "$with_cross_host" &&
79641 test x"$with_cross_host" != x"no"; then
79642 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79643 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79644 else
79645 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79646 glibcxx_toolexeclibdir='${libdir}'
79648 multi_os_directory=`$CXX -print-multi-os-directory`
79649 case $multi_os_directory in
79650 .) ;; # Avoid trailing /.
79651 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79652 esac
79655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79656 $as_echo_n "checking for install location... " >&6; }
79657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79658 $as_echo "$gxx_include_dir" >&6; }
79666 # Export all the include and flag information to Makefiles.
79668 # Used for every C++ compile we perform.
79669 GLIBCXX_INCLUDES="\
79670 -I$glibcxx_builddir/include/$host_alias \
79671 -I$glibcxx_builddir/include \
79672 -I$glibcxx_srcdir/libsupc++"
79674 # For Canadian crosses, pick this up too.
79675 if test $CANADIAN = yes; then
79676 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79679 # Stuff in the actual top level. Currently only used by libsupc++ to
79680 # get unwind* headers from the libgcc dir.
79681 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79682 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79684 # Now, export this to all the little Makefiles....
79689 # Optimization flags that are probably a good idea for thrill-seekers. Just
79690 # uncomment the lines below and make, everything else is ready to go...
79691 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79692 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79695 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79699 ac_config_files="$ac_config_files Makefile"
79701 ac_config_files="$ac_config_files scripts/testsuite_flags"
79703 ac_config_files="$ac_config_files scripts/extract_symvers"
79705 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79708 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79709 # that multilib installs will end up installed in the correct place.
79710 # The testsuite needs it for multilib-aware ABI baseline files.
79711 # To work around this not being passed down from config-ml.in ->
79712 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79713 # append it here. Only modify Makefiles that have just been created.
79715 # Also, get rid of this simulated-VPATH thing that automake does.
79716 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
79719 ac_config_commands="$ac_config_commands generate-headers"
79722 cat >confcache <<\_ACEOF
79723 # This file is a shell script that caches the results of configure
79724 # tests run on this system so they can be shared between configure
79725 # scripts and configure runs, see configure's option --config-cache.
79726 # It is not useful on other systems. If it contains results you don't
79727 # want to keep, you may remove or edit it.
79729 # config.status only pays attention to the cache file if you give it
79730 # the --recheck option to rerun configure.
79732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79734 # following values.
79736 _ACEOF
79738 # The following way of writing the cache mishandles newlines in values,
79739 # but we know of no workaround that is simple, portable, and efficient.
79740 # So, we kill variables containing newlines.
79741 # Ultrix sh set writes to stderr and can't be redirected directly,
79742 # and sets the high bit in the cache file unless we assign to the vars.
79744 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79745 eval ac_val=\$$ac_var
79746 case $ac_val in #(
79747 *${as_nl}*)
79748 case $ac_var in #(
79749 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79750 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79751 esac
79752 case $ac_var in #(
79753 _ | IFS | as_nl) ;; #(
79754 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79755 *) { eval $ac_var=; unset $ac_var;} ;;
79756 esac ;;
79757 esac
79758 done
79760 (set) 2>&1 |
79761 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79762 *${as_nl}ac_space=\ *)
79763 # `set' does not quote correctly, so add quotes: double-quote
79764 # substitution turns \\\\ into \\, and sed turns \\ into \.
79765 sed -n \
79766 "s/'/'\\\\''/g;
79767 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79768 ;; #(
79770 # `set' quotes correctly as required by POSIX, so do not add quotes.
79771 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79773 esac |
79774 sort
79776 sed '
79777 /^ac_cv_env_/b end
79778 t clear
79779 :clear
79780 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79781 t end
79782 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79783 :end' >>confcache
79784 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79785 if test -w "$cache_file"; then
79786 test "x$cache_file" != "x/dev/null" &&
79787 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79788 $as_echo "$as_me: updating cache $cache_file" >&6;}
79789 cat confcache >$cache_file
79790 else
79791 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79792 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79795 rm -f confcache
79797 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79798 # Let make expand exec_prefix.
79799 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79801 DEFS=-DHAVE_CONFIG_H
79803 ac_libobjs=
79804 ac_ltlibobjs=
79805 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79806 # 1. Remove the extension, and $U if already installed.
79807 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79808 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79809 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79810 # will be set to the directory where LIBOBJS objects are built.
79811 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79812 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79813 done
79814 LIBOBJS=$ac_libobjs
79816 LTLIBOBJS=$ac_ltlibobjs
79819 if test -n "$EXEEXT"; then
79820 am__EXEEXT_TRUE=
79821 am__EXEEXT_FALSE='#'
79822 else
79823 am__EXEEXT_TRUE='#'
79824 am__EXEEXT_FALSE=
79827 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79828 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79831 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79832 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79835 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79836 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79839 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79840 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79843 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79844 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79847 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79848 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79851 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79852 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79855 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79856 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79859 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79860 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79863 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79864 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79867 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79868 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79871 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
79872 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
79873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79875 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79876 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79879 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79880 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79883 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79884 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79887 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79888 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79891 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79892 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79895 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79896 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79899 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79900 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79903 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79904 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
79905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79907 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79908 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79911 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79912 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79915 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79916 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79919 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79920 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79923 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79924 as_fn_error "conditional \"BUILD_XML\" was never defined.
79925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79927 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79928 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79931 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79932 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79935 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79936 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79940 : ${CONFIG_STATUS=./config.status}
79941 ac_write_fail=0
79942 ac_clean_files_save=$ac_clean_files
79943 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79944 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79945 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79946 as_write_fail=0
79947 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79948 #! $SHELL
79949 # Generated by $as_me.
79950 # Run this file to recreate the current configuration.
79951 # Compiler output produced by configure, useful for debugging
79952 # configure, is in config.log if it exists.
79954 debug=false
79955 ac_cs_recheck=false
79956 ac_cs_silent=false
79958 SHELL=\${CONFIG_SHELL-$SHELL}
79959 export SHELL
79960 _ASEOF
79961 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79962 ## -------------------- ##
79963 ## M4sh Initialization. ##
79964 ## -------------------- ##
79966 # Be more Bourne compatible
79967 DUALCASE=1; export DUALCASE # for MKS sh
79968 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79969 emulate sh
79970 NULLCMD=:
79971 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79972 # is contrary to our usage. Disable this feature.
79973 alias -g '${1+"$@"}'='"$@"'
79974 setopt NO_GLOB_SUBST
79975 else
79976 case `(set -o) 2>/dev/null` in #(
79977 *posix*) :
79978 set -o posix ;; #(
79979 *) :
79981 esac
79985 as_nl='
79987 export as_nl
79988 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79989 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79990 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79991 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79992 # Prefer a ksh shell builtin over an external printf program on Solaris,
79993 # but without wasting forks for bash or zsh.
79994 if test -z "$BASH_VERSION$ZSH_VERSION" \
79995 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79996 as_echo='print -r --'
79997 as_echo_n='print -rn --'
79998 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79999 as_echo='printf %s\n'
80000 as_echo_n='printf %s'
80001 else
80002 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80003 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80004 as_echo_n='/usr/ucb/echo -n'
80005 else
80006 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80007 as_echo_n_body='eval
80008 arg=$1;
80009 case $arg in #(
80010 *"$as_nl"*)
80011 expr "X$arg" : "X\\(.*\\)$as_nl";
80012 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80013 esac;
80014 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80016 export as_echo_n_body
80017 as_echo_n='sh -c $as_echo_n_body as_echo'
80019 export as_echo_body
80020 as_echo='sh -c $as_echo_body as_echo'
80023 # The user is always right.
80024 if test "${PATH_SEPARATOR+set}" != set; then
80025 PATH_SEPARATOR=:
80026 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80027 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80028 PATH_SEPARATOR=';'
80033 # IFS
80034 # We need space, tab and new line, in precisely that order. Quoting is
80035 # there to prevent editors from complaining about space-tab.
80036 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80037 # splitting by setting IFS to empty value.)
80038 IFS=" "" $as_nl"
80040 # Find who we are. Look in the path if we contain no directory separator.
80041 case $0 in #((
80042 *[\\/]* ) as_myself=$0 ;;
80043 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80044 for as_dir in $PATH
80046 IFS=$as_save_IFS
80047 test -z "$as_dir" && as_dir=.
80048 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80049 done
80050 IFS=$as_save_IFS
80053 esac
80054 # We did not find ourselves, most probably we were run as `sh COMMAND'
80055 # in which case we are not to be found in the path.
80056 if test "x$as_myself" = x; then
80057 as_myself=$0
80059 if test ! -f "$as_myself"; then
80060 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80061 exit 1
80064 # Unset variables that we do not need and which cause bugs (e.g. in
80065 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
80066 # suppresses any "Segmentation fault" message there. '((' could
80067 # trigger a bug in pdksh 5.2.14.
80068 for as_var in BASH_ENV ENV MAIL MAILPATH
80069 do eval test x\${$as_var+set} = xset \
80070 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80071 done
80072 PS1='$ '
80073 PS2='> '
80074 PS4='+ '
80076 # NLS nuisances.
80077 LC_ALL=C
80078 export LC_ALL
80079 LANGUAGE=C
80080 export LANGUAGE
80082 # CDPATH.
80083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80086 # as_fn_error ERROR [LINENO LOG_FD]
80087 # ---------------------------------
80088 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80089 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80090 # script with status $?, using 1 if that was 0.
80091 as_fn_error ()
80093 as_status=$?; test $as_status -eq 0 && as_status=1
80094 if test "$3"; then
80095 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80096 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80098 $as_echo "$as_me: error: $1" >&2
80099 as_fn_exit $as_status
80100 } # as_fn_error
80103 # as_fn_set_status STATUS
80104 # -----------------------
80105 # Set $? to STATUS, without forking.
80106 as_fn_set_status ()
80108 return $1
80109 } # as_fn_set_status
80111 # as_fn_exit STATUS
80112 # -----------------
80113 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80114 as_fn_exit ()
80116 set +e
80117 as_fn_set_status $1
80118 exit $1
80119 } # as_fn_exit
80121 # as_fn_unset VAR
80122 # ---------------
80123 # Portably unset VAR.
80124 as_fn_unset ()
80126 { eval $1=; unset $1;}
80128 as_unset=as_fn_unset
80129 # as_fn_append VAR VALUE
80130 # ----------------------
80131 # Append the text in VALUE to the end of the definition contained in VAR. Take
80132 # advantage of any shell optimizations that allow amortized linear growth over
80133 # repeated appends, instead of the typical quadratic growth present in naive
80134 # implementations.
80135 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80136 eval 'as_fn_append ()
80138 eval $1+=\$2
80140 else
80141 as_fn_append ()
80143 eval $1=\$$1\$2
80145 fi # as_fn_append
80147 # as_fn_arith ARG...
80148 # ------------------
80149 # Perform arithmetic evaluation on the ARGs, and store the result in the
80150 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80151 # must be portable across $(()) and expr.
80152 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80153 eval 'as_fn_arith ()
80155 as_val=$(( $* ))
80157 else
80158 as_fn_arith ()
80160 as_val=`expr "$@" || test $? -eq 1`
80162 fi # as_fn_arith
80165 if expr a : '\(a\)' >/dev/null 2>&1 &&
80166 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80167 as_expr=expr
80168 else
80169 as_expr=false
80172 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80173 as_basename=basename
80174 else
80175 as_basename=false
80178 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80179 as_dirname=dirname
80180 else
80181 as_dirname=false
80184 as_me=`$as_basename -- "$0" ||
80185 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80186 X"$0" : 'X\(//\)$' \| \
80187 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80188 $as_echo X/"$0" |
80189 sed '/^.*\/\([^/][^/]*\)\/*$/{
80190 s//\1/
80193 /^X\/\(\/\/\)$/{
80194 s//\1/
80197 /^X\/\(\/\).*/{
80198 s//\1/
80201 s/.*/./; q'`
80203 # Avoid depending upon Character Ranges.
80204 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80205 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80206 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80207 as_cr_digits='0123456789'
80208 as_cr_alnum=$as_cr_Letters$as_cr_digits
80210 ECHO_C= ECHO_N= ECHO_T=
80211 case `echo -n x` in #(((((
80212 -n*)
80213 case `echo 'xy\c'` in
80214 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80215 xy) ECHO_C='\c';;
80216 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80217 ECHO_T=' ';;
80218 esac;;
80220 ECHO_N='-n';;
80221 esac
80223 rm -f conf$$ conf$$.exe conf$$.file
80224 if test -d conf$$.dir; then
80225 rm -f conf$$.dir/conf$$.file
80226 else
80227 rm -f conf$$.dir
80228 mkdir conf$$.dir 2>/dev/null
80230 if (echo >conf$$.file) 2>/dev/null; then
80231 if ln -s conf$$.file conf$$ 2>/dev/null; then
80232 as_ln_s='ln -s'
80233 # ... but there are two gotchas:
80234 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80235 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80236 # In both cases, we have to default to `cp -p'.
80237 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80238 as_ln_s='cp -p'
80239 elif ln conf$$.file conf$$ 2>/dev/null; then
80240 as_ln_s=ln
80241 else
80242 as_ln_s='cp -p'
80244 else
80245 as_ln_s='cp -p'
80247 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80248 rmdir conf$$.dir 2>/dev/null
80251 # as_fn_mkdir_p
80252 # -------------
80253 # Create "$as_dir" as a directory, including parents if necessary.
80254 as_fn_mkdir_p ()
80257 case $as_dir in #(
80258 -*) as_dir=./$as_dir;;
80259 esac
80260 test -d "$as_dir" || eval $as_mkdir_p || {
80261 as_dirs=
80262 while :; do
80263 case $as_dir in #(
80264 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80265 *) as_qdir=$as_dir;;
80266 esac
80267 as_dirs="'$as_qdir' $as_dirs"
80268 as_dir=`$as_dirname -- "$as_dir" ||
80269 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80270 X"$as_dir" : 'X\(//\)[^/]' \| \
80271 X"$as_dir" : 'X\(//\)$' \| \
80272 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80273 $as_echo X"$as_dir" |
80274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80275 s//\1/
80278 /^X\(\/\/\)[^/].*/{
80279 s//\1/
80282 /^X\(\/\/\)$/{
80283 s//\1/
80286 /^X\(\/\).*/{
80287 s//\1/
80290 s/.*/./; q'`
80291 test -d "$as_dir" && break
80292 done
80293 test -z "$as_dirs" || eval "mkdir $as_dirs"
80294 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80297 } # as_fn_mkdir_p
80298 if mkdir -p . 2>/dev/null; then
80299 as_mkdir_p='mkdir -p "$as_dir"'
80300 else
80301 test -d ./-p && rmdir ./-p
80302 as_mkdir_p=false
80305 if test -x / >/dev/null 2>&1; then
80306 as_test_x='test -x'
80307 else
80308 if ls -dL / >/dev/null 2>&1; then
80309 as_ls_L_option=L
80310 else
80311 as_ls_L_option=
80313 as_test_x='
80314 eval sh -c '\''
80315 if test -d "$1"; then
80316 test -d "$1/.";
80317 else
80318 case $1 in #(
80319 -*)set "./$1";;
80320 esac;
80321 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80322 ???[sx]*):;;*)false;;esac;fi
80323 '\'' sh
80326 as_executable_p=$as_test_x
80328 # Sed expression to map a string onto a valid CPP name.
80329 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80331 # Sed expression to map a string onto a valid variable name.
80332 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80335 exec 6>&1
80336 ## ----------------------------------- ##
80337 ## Main body of $CONFIG_STATUS script. ##
80338 ## ----------------------------------- ##
80339 _ASEOF
80340 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80343 # Save the log message, to keep $0 and so on meaningful, and to
80344 # report actual input values of CONFIG_FILES etc. instead of their
80345 # values after options handling.
80346 ac_log="
80347 This file was extended by package-unused $as_me version-unused, which was
80348 generated by GNU Autoconf 2.64. Invocation command line was
80350 CONFIG_FILES = $CONFIG_FILES
80351 CONFIG_HEADERS = $CONFIG_HEADERS
80352 CONFIG_LINKS = $CONFIG_LINKS
80353 CONFIG_COMMANDS = $CONFIG_COMMANDS
80354 $ $0 $@
80356 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80359 _ACEOF
80361 case $ac_config_files in *"
80362 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80363 esac
80365 case $ac_config_headers in *"
80366 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80367 esac
80370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80371 # Files that config.status was made for.
80372 config_files="$ac_config_files"
80373 config_headers="$ac_config_headers"
80374 config_commands="$ac_config_commands"
80376 _ACEOF
80378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80379 ac_cs_usage="\
80380 \`$as_me' instantiates files and other configuration actions
80381 from templates according to the current configuration. Unless the files
80382 and actions are specified as TAGs, all are instantiated by default.
80384 Usage: $0 [OPTION]... [TAG]...
80386 -h, --help print this help, then exit
80387 -V, --version print version number and configuration settings, then exit
80388 -q, --quiet, --silent
80389 do not print progress messages
80390 -d, --debug don't remove temporary files
80391 --recheck update $as_me by reconfiguring in the same conditions
80392 --file=FILE[:TEMPLATE]
80393 instantiate the configuration file FILE
80394 --header=FILE[:TEMPLATE]
80395 instantiate the configuration header FILE
80397 Configuration files:
80398 $config_files
80400 Configuration headers:
80401 $config_headers
80403 Configuration commands:
80404 $config_commands
80406 Report bugs to the package provider."
80408 _ACEOF
80409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80410 ac_cs_version="\\
80411 package-unused config.status version-unused
80412 configured by $0, generated by GNU Autoconf 2.64,
80413 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80415 Copyright (C) 2009 Free Software Foundation, Inc.
80416 This config.status script is free software; the Free Software Foundation
80417 gives unlimited permission to copy, distribute and modify it."
80419 ac_pwd='$ac_pwd'
80420 srcdir='$srcdir'
80421 INSTALL='$INSTALL'
80422 MKDIR_P='$MKDIR_P'
80423 AWK='$AWK'
80424 test -n "\$AWK" || AWK=awk
80425 _ACEOF
80427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80428 # The default lists apply if the user does not specify any file.
80429 ac_need_defaults=:
80430 while test $# != 0
80432 case $1 in
80433 --*=*)
80434 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80435 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80436 ac_shift=:
80439 ac_option=$1
80440 ac_optarg=$2
80441 ac_shift=shift
80443 esac
80445 case $ac_option in
80446 # Handling of the options.
80447 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80448 ac_cs_recheck=: ;;
80449 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80450 $as_echo "$ac_cs_version"; exit ;;
80451 --debug | --debu | --deb | --de | --d | -d )
80452 debug=: ;;
80453 --file | --fil | --fi | --f )
80454 $ac_shift
80455 case $ac_optarg in
80456 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80457 esac
80458 as_fn_append CONFIG_FILES " '$ac_optarg'"
80459 ac_need_defaults=false;;
80460 --header | --heade | --head | --hea )
80461 $ac_shift
80462 case $ac_optarg in
80463 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80464 esac
80465 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80466 ac_need_defaults=false;;
80467 --he | --h)
80468 # Conflict between --help and --header
80469 as_fn_error "ambiguous option: \`$1'
80470 Try \`$0 --help' for more information.";;
80471 --help | --hel | -h )
80472 $as_echo "$ac_cs_usage"; exit ;;
80473 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80474 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80475 ac_cs_silent=: ;;
80477 # This is an error.
80478 -*) as_fn_error "unrecognized option: \`$1'
80479 Try \`$0 --help' for more information." ;;
80481 *) as_fn_append ac_config_targets " $1"
80482 ac_need_defaults=false ;;
80484 esac
80485 shift
80486 done
80488 ac_configure_extra_args=
80490 if $ac_cs_silent; then
80491 exec 6>/dev/null
80492 ac_configure_extra_args="$ac_configure_extra_args --silent"
80495 _ACEOF
80496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80497 if \$ac_cs_recheck; then
80498 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80499 shift
80500 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80501 CONFIG_SHELL='$SHELL'
80502 export CONFIG_SHELL
80503 exec "\$@"
80506 _ACEOF
80507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80508 exec 5>>config.log
80510 echo
80511 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80512 ## Running $as_me. ##
80513 _ASBOX
80514 $as_echo "$ac_log"
80515 } >&5
80517 _ACEOF
80518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80520 # INIT-COMMANDS
80523 srcdir="$srcdir"
80524 host="$host"
80525 target="$target"
80526 with_multisubdir="$with_multisubdir"
80527 with_multisrctop="$with_multisrctop"
80528 with_target_subdir="$with_target_subdir"
80529 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80530 multi_basedir="$multi_basedir"
80531 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80532 CC="$CC"
80533 CXX="$CXX"
80534 GFORTRAN="$GFORTRAN"
80535 GCJ="$GCJ"
80538 # The HP-UX ksh and POSIX shell print the target directory to stdout
80539 # if CDPATH is set.
80540 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80542 sed_quote_subst='$sed_quote_subst'
80543 double_quote_subst='$double_quote_subst'
80544 delay_variable_subst='$delay_variable_subst'
80545 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80546 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80547 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80548 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80549 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80550 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80551 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80552 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80553 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80554 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80555 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80556 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80557 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80558 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80559 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80560 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80561 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80562 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80563 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80564 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80565 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80566 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80567 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80568 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80569 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80570 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80571 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80572 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80573 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80574 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80575 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80576 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80577 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80578 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80579 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80580 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80581 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80582 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80583 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80584 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80585 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80586 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80587 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80588 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80589 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80590 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80591 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80592 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80593 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"`'
80594 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80595 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80596 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80597 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80598 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80599 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80600 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80601 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80602 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80603 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80604 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80605 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80606 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80607 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80608 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80609 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80610 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80611 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80612 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80613 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80614 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80615 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80616 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80617 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80618 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80619 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80620 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80621 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80622 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80623 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80624 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80625 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80626 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80627 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80628 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80629 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80630 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80631 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80632 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80633 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80634 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80635 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80636 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80637 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80638 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80639 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80640 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80641 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80642 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80643 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80644 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80645 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80646 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80647 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80648 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80649 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80650 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80651 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80652 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80653 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80654 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80655 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80656 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80657 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80658 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80659 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80660 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80661 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80662 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80663 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80664 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80665 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80666 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80667 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80668 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80669 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80670 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80671 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80672 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80673 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80674 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80675 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80676 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80677 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80678 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80679 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80680 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80681 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80682 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80683 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80684 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80685 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80686 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80687 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80688 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80689 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80690 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80691 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80692 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80693 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80694 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80695 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80696 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80697 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80698 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80699 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80700 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80701 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80702 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80703 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80704 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80705 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80706 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80707 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80708 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80709 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80710 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80711 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80712 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80713 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80714 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80715 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80716 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80717 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80718 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80719 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80721 LTCC='$LTCC'
80722 LTCFLAGS='$LTCFLAGS'
80723 compiler='$compiler_DEFAULT'
80725 # A function that is used when there is no print builtin or printf.
80726 func_fallback_echo ()
80728 eval 'cat <<_LTECHO_EOF
80730 _LTECHO_EOF'
80733 # Quote evaled strings.
80734 for var in SHELL \
80735 ECHO \
80736 SED \
80737 GREP \
80738 EGREP \
80739 FGREP \
80740 LD \
80741 NM \
80742 LN_S \
80743 lt_SP2NL \
80744 lt_NL2SP \
80745 reload_flag \
80746 OBJDUMP \
80747 deplibs_check_method \
80748 file_magic_cmd \
80749 AR \
80750 AR_FLAGS \
80751 STRIP \
80752 RANLIB \
80753 CC \
80754 CFLAGS \
80755 compiler \
80756 lt_cv_sys_global_symbol_pipe \
80757 lt_cv_sys_global_symbol_to_cdecl \
80758 lt_cv_sys_global_symbol_to_c_name_address \
80759 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80760 lt_prog_compiler_no_builtin_flag \
80761 lt_prog_compiler_wl \
80762 lt_prog_compiler_pic \
80763 lt_prog_compiler_static \
80764 lt_cv_prog_compiler_c_o \
80765 need_locks \
80766 DSYMUTIL \
80767 NMEDIT \
80768 LIPO \
80769 OTOOL \
80770 OTOOL64 \
80771 shrext_cmds \
80772 export_dynamic_flag_spec \
80773 whole_archive_flag_spec \
80774 compiler_needs_object \
80775 with_gnu_ld \
80776 allow_undefined_flag \
80777 no_undefined_flag \
80778 hardcode_libdir_flag_spec \
80779 hardcode_libdir_flag_spec_ld \
80780 hardcode_libdir_separator \
80781 fix_srcfile_path \
80782 exclude_expsyms \
80783 include_expsyms \
80784 file_list_spec \
80785 variables_saved_for_relink \
80786 libname_spec \
80787 library_names_spec \
80788 soname_spec \
80789 install_override_mode \
80790 finish_eval \
80791 old_striplib \
80792 striplib \
80793 compiler_lib_search_dirs \
80794 predep_objects \
80795 postdep_objects \
80796 predeps \
80797 postdeps \
80798 compiler_lib_search_path \
80799 LD_CXX \
80800 reload_flag_CXX \
80801 compiler_CXX \
80802 lt_prog_compiler_no_builtin_flag_CXX \
80803 lt_prog_compiler_wl_CXX \
80804 lt_prog_compiler_pic_CXX \
80805 lt_prog_compiler_static_CXX \
80806 lt_cv_prog_compiler_c_o_CXX \
80807 export_dynamic_flag_spec_CXX \
80808 whole_archive_flag_spec_CXX \
80809 compiler_needs_object_CXX \
80810 with_gnu_ld_CXX \
80811 allow_undefined_flag_CXX \
80812 no_undefined_flag_CXX \
80813 hardcode_libdir_flag_spec_CXX \
80814 hardcode_libdir_flag_spec_ld_CXX \
80815 hardcode_libdir_separator_CXX \
80816 fix_srcfile_path_CXX \
80817 exclude_expsyms_CXX \
80818 include_expsyms_CXX \
80819 file_list_spec_CXX \
80820 compiler_lib_search_dirs_CXX \
80821 predep_objects_CXX \
80822 postdep_objects_CXX \
80823 predeps_CXX \
80824 postdeps_CXX \
80825 compiler_lib_search_path_CXX; do
80826 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80827 *[\\\\\\\`\\"\\\$]*)
80828 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80831 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80833 esac
80834 done
80836 # Double-quote double-evaled strings.
80837 for var in reload_cmds \
80838 old_postinstall_cmds \
80839 old_postuninstall_cmds \
80840 old_archive_cmds \
80841 extract_expsyms_cmds \
80842 old_archive_from_new_cmds \
80843 old_archive_from_expsyms_cmds \
80844 archive_cmds \
80845 archive_expsym_cmds \
80846 module_cmds \
80847 module_expsym_cmds \
80848 export_symbols_cmds \
80849 prelink_cmds \
80850 postinstall_cmds \
80851 postuninstall_cmds \
80852 finish_cmds \
80853 sys_lib_search_path_spec \
80854 sys_lib_dlsearch_path_spec \
80855 reload_cmds_CXX \
80856 old_archive_cmds_CXX \
80857 old_archive_from_new_cmds_CXX \
80858 old_archive_from_expsyms_cmds_CXX \
80859 archive_cmds_CXX \
80860 archive_expsym_cmds_CXX \
80861 module_cmds_CXX \
80862 module_expsym_cmds_CXX \
80863 export_symbols_cmds_CXX \
80864 prelink_cmds_CXX; do
80865 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80866 *[\\\\\\\`\\"\\\$]*)
80867 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80870 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80872 esac
80873 done
80875 ac_aux_dir='$ac_aux_dir'
80876 xsi_shell='$xsi_shell'
80877 lt_shell_append='$lt_shell_append'
80879 # See if we are running on zsh, and set the options which allow our
80880 # commands through without removal of \ escapes INIT.
80881 if test -n "\${ZSH_VERSION+set}" ; then
80882 setopt NO_GLOB_SUBST
80886 PACKAGE='$PACKAGE'
80887 VERSION='$VERSION'
80888 TIMESTAMP='$TIMESTAMP'
80889 RM='$RM'
80890 ofile='$ofile'
80897 GCC="$GCC"
80898 CC="$CC"
80899 acx_cv_header_stdint="$acx_cv_header_stdint"
80900 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80901 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80902 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80903 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80904 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80905 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80906 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80907 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80908 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80909 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80910 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80911 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80912 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80915 _ACEOF
80917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80919 # Handling of arguments.
80920 for ac_config_target in $ac_config_targets
80922 case $ac_config_target in
80923 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80924 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80925 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80926 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80927 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80928 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80929 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80930 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80931 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80932 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80933 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80934 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80935 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80936 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80937 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80938 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80939 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80940 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80942 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80943 esac
80944 done
80947 # If the user did not use the arguments to specify the items to instantiate,
80948 # then the envvar interface is used. Set only those that are not.
80949 # We use the long form for the default assignment because of an extremely
80950 # bizarre bug on SunOS 4.1.3.
80951 if $ac_need_defaults; then
80952 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80953 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80954 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80957 # Have a temporary directory for convenience. Make it in the build tree
80958 # simply because there is no reason against having it here, and in addition,
80959 # creating and moving files from /tmp can sometimes cause problems.
80960 # Hook for its removal unless debugging.
80961 # Note that there is a small window in which the directory will not be cleaned:
80962 # after its creation but before its name has been assigned to `$tmp'.
80963 $debug ||
80965 tmp=
80966 trap 'exit_status=$?
80967 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80969 trap 'as_fn_exit 1' 1 2 13 15
80971 # Create a (secure) tmp directory for tmp files.
80974 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80975 test -n "$tmp" && test -d "$tmp"
80976 } ||
80978 tmp=./conf$$-$RANDOM
80979 (umask 077 && mkdir "$tmp")
80980 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80982 # Set up the scripts for CONFIG_FILES section.
80983 # No need to generate them if there are no CONFIG_FILES.
80984 # This happens for instance with `./config.status config.h'.
80985 if test -n "$CONFIG_FILES"; then
80988 ac_cr=`echo X | tr X '\015'`
80989 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80990 # But we know of no other shell where ac_cr would be empty at this
80991 # point, so we can use a bashism as a fallback.
80992 if test "x$ac_cr" = x; then
80993 eval ac_cr=\$\'\\r\'
80995 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80996 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80997 ac_cs_awk_cr='\r'
80998 else
80999 ac_cs_awk_cr=$ac_cr
81002 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81003 _ACEOF
81007 echo "cat >conf$$subs.awk <<_ACEOF" &&
81008 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81009 echo "_ACEOF"
81010 } >conf$$subs.sh ||
81011 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81012 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81013 ac_delim='%!_!# '
81014 for ac_last_try in false false false false false :; do
81015 . ./conf$$subs.sh ||
81016 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81018 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81019 if test $ac_delim_n = $ac_delim_num; then
81020 break
81021 elif $ac_last_try; then
81022 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81023 else
81024 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81026 done
81027 rm -f conf$$subs.sh
81029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81030 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81031 _ACEOF
81032 sed -n '
81034 s/^/S["/; s/!.*/"]=/
81037 s/^[^!]*!//
81038 :repl
81039 t repl
81040 s/'"$ac_delim"'$//
81041 t delim
81044 s/\(.\{148\}\).*/\1/
81045 t more1
81046 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81049 b repl
81050 :more1
81051 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81054 s/.\{148\}//
81055 t nl
81056 :delim
81058 s/\(.\{148\}\).*/\1/
81059 t more2
81060 s/["\\]/\\&/g; s/^/"/; s/$/"/
81063 :more2
81064 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81067 s/.\{148\}//
81068 t delim
81069 ' <conf$$subs.awk | sed '
81070 /^[^""]/{
81072 s/\n//
81074 ' >>$CONFIG_STATUS || ac_write_fail=1
81075 rm -f conf$$subs.awk
81076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81077 _ACAWK
81078 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81079 for (key in S) S_is_set[key] = 1
81080 FS = "\a"
81084 line = $ 0
81085 nfields = split(line, field, "@")
81086 substed = 0
81087 len = length(field[1])
81088 for (i = 2; i < nfields; i++) {
81089 key = field[i]
81090 keylen = length(key)
81091 if (S_is_set[key]) {
81092 value = S[key]
81093 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81094 len += length(value) + length(field[++i])
81095 substed = 1
81096 } else
81097 len += 1 + keylen
81100 print line
81103 _ACAWK
81104 _ACEOF
81105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81106 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81107 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81108 else
81110 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81111 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81112 _ACEOF
81114 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81115 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81116 # trailing colons and then remove the whole line if VPATH becomes empty
81117 # (actually we leave an empty line to preserve line numbers).
81118 if test "x$srcdir" = x.; then
81119 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81120 s/:*\$(srcdir):*/:/
81121 s/:*\${srcdir}:*/:/
81122 s/:*@srcdir@:*/:/
81123 s/^\([^=]*=[ ]*\):*/\1/
81124 s/:*$//
81125 s/^[^=]*=[ ]*$//
81129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81130 fi # test -n "$CONFIG_FILES"
81132 # Set up the scripts for CONFIG_HEADERS section.
81133 # No need to generate them if there are no CONFIG_HEADERS.
81134 # This happens for instance with `./config.status Makefile'.
81135 if test -n "$CONFIG_HEADERS"; then
81136 cat >"$tmp/defines.awk" <<\_ACAWK ||
81137 BEGIN {
81138 _ACEOF
81140 # Transform confdefs.h into an awk script `defines.awk', embedded as
81141 # here-document in config.status, that substitutes the proper values into
81142 # config.h.in to produce config.h.
81144 # Create a delimiter string that does not exist in confdefs.h, to ease
81145 # handling of long lines.
81146 ac_delim='%!_!# '
81147 for ac_last_try in false false :; do
81148 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81149 if test -z "$ac_t"; then
81150 break
81151 elif $ac_last_try; then
81152 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81153 else
81154 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81156 done
81158 # For the awk script, D is an array of macro values keyed by name,
81159 # likewise P contains macro parameters if any. Preserve backslash
81160 # newline sequences.
81162 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81163 sed -n '
81164 s/.\{148\}/&'"$ac_delim"'/g
81165 t rset
81166 :rset
81167 s/^[ ]*#[ ]*define[ ][ ]*/ /
81168 t def
81170 :def
81171 s/\\$//
81172 t bsnl
81173 s/["\\]/\\&/g
81174 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81175 D["\1"]=" \3"/p
81176 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81178 :bsnl
81179 s/["\\]/\\&/g
81180 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81181 D["\1"]=" \3\\\\\\n"\\/p
81182 t cont
81183 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81184 t cont
81186 :cont
81188 s/.\{148\}/&'"$ac_delim"'/g
81189 t clear
81190 :clear
81191 s/\\$//
81192 t bsnlc
81193 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81195 :bsnlc
81196 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81197 b cont
81198 ' <confdefs.h | sed '
81199 s/'"$ac_delim"'/"\\\
81200 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81203 for (key in D) D_is_set[key] = 1
81204 FS = "\a"
81206 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81207 line = \$ 0
81208 split(line, arg, " ")
81209 if (arg[1] == "#") {
81210 defundef = arg[2]
81211 mac1 = arg[3]
81212 } else {
81213 defundef = substr(arg[1], 2)
81214 mac1 = arg[2]
81216 split(mac1, mac2, "(") #)
81217 macro = mac2[1]
81218 prefix = substr(line, 1, index(line, defundef) - 1)
81219 if (D_is_set[macro]) {
81220 # Preserve the white space surrounding the "#".
81221 print prefix "define", macro P[macro] D[macro]
81222 next
81223 } else {
81224 # Replace #undef with comments. This is necessary, for example,
81225 # in the case of _POSIX_SOURCE, which is predefined and required
81226 # on some systems where configure will not decide to define it.
81227 if (defundef == "undef") {
81228 print "/*", prefix defundef, macro, "*/"
81229 next
81233 { print }
81234 _ACAWK
81235 _ACEOF
81236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81237 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81238 fi # test -n "$CONFIG_HEADERS"
81241 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81242 shift
81243 for ac_tag
81245 case $ac_tag in
81246 :[FHLC]) ac_mode=$ac_tag; continue;;
81247 esac
81248 case $ac_mode$ac_tag in
81249 :[FHL]*:*);;
81250 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81251 :[FH]-) ac_tag=-:-;;
81252 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81253 esac
81254 ac_save_IFS=$IFS
81255 IFS=:
81256 set x $ac_tag
81257 IFS=$ac_save_IFS
81258 shift
81259 ac_file=$1
81260 shift
81262 case $ac_mode in
81263 :L) ac_source=$1;;
81264 :[FH])
81265 ac_file_inputs=
81266 for ac_f
81268 case $ac_f in
81269 -) ac_f="$tmp/stdin";;
81270 *) # Look for the file first in the build tree, then in the source tree
81271 # (if the path is not absolute). The absolute path cannot be DOS-style,
81272 # because $ac_f cannot contain `:'.
81273 test -f "$ac_f" ||
81274 case $ac_f in
81275 [\\/$]*) false;;
81276 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81277 esac ||
81278 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81279 esac
81280 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81281 as_fn_append ac_file_inputs " '$ac_f'"
81282 done
81284 # Let's still pretend it is `configure' which instantiates (i.e., don't
81285 # use $as_me), people would be surprised to read:
81286 # /* config.h. Generated by config.status. */
81287 configure_input='Generated from '`
81288 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81289 `' by configure.'
81290 if test x"$ac_file" != x-; then
81291 configure_input="$ac_file. $configure_input"
81292 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81293 $as_echo "$as_me: creating $ac_file" >&6;}
81295 # Neutralize special characters interpreted by sed in replacement strings.
81296 case $configure_input in #(
81297 *\&* | *\|* | *\\* )
81298 ac_sed_conf_input=`$as_echo "$configure_input" |
81299 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81300 *) ac_sed_conf_input=$configure_input;;
81301 esac
81303 case $ac_tag in
81304 *:-:* | *:-) cat >"$tmp/stdin" \
81305 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81306 esac
81308 esac
81310 ac_dir=`$as_dirname -- "$ac_file" ||
81311 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81312 X"$ac_file" : 'X\(//\)[^/]' \| \
81313 X"$ac_file" : 'X\(//\)$' \| \
81314 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81315 $as_echo X"$ac_file" |
81316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81317 s//\1/
81320 /^X\(\/\/\)[^/].*/{
81321 s//\1/
81324 /^X\(\/\/\)$/{
81325 s//\1/
81328 /^X\(\/\).*/{
81329 s//\1/
81332 s/.*/./; q'`
81333 as_dir="$ac_dir"; as_fn_mkdir_p
81334 ac_builddir=.
81336 case "$ac_dir" in
81337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81339 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81340 # A ".." for each directory in $ac_dir_suffix.
81341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81342 case $ac_top_builddir_sub in
81343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81345 esac ;;
81346 esac
81347 ac_abs_top_builddir=$ac_pwd
81348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81349 # for backward compatibility:
81350 ac_top_builddir=$ac_top_build_prefix
81352 case $srcdir in
81353 .) # We are building in place.
81354 ac_srcdir=.
81355 ac_top_srcdir=$ac_top_builddir_sub
81356 ac_abs_top_srcdir=$ac_pwd ;;
81357 [\\/]* | ?:[\\/]* ) # Absolute name.
81358 ac_srcdir=$srcdir$ac_dir_suffix;
81359 ac_top_srcdir=$srcdir
81360 ac_abs_top_srcdir=$srcdir ;;
81361 *) # Relative name.
81362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81363 ac_top_srcdir=$ac_top_build_prefix$srcdir
81364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81365 esac
81366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81369 case $ac_mode in
81372 # CONFIG_FILE
81375 case $INSTALL in
81376 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81377 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81378 esac
81379 ac_MKDIR_P=$MKDIR_P
81380 case $MKDIR_P in
81381 [\\/$]* | ?:[\\/]* ) ;;
81382 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81383 esac
81384 _ACEOF
81386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81387 # If the template does not know about datarootdir, expand it.
81388 # FIXME: This hack should be removed a few years after 2.60.
81389 ac_datarootdir_hack=; ac_datarootdir_seen=
81390 ac_sed_dataroot='
81391 /datarootdir/ {
81395 /@datadir@/p
81396 /@docdir@/p
81397 /@infodir@/p
81398 /@localedir@/p
81399 /@mandir@/p'
81400 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81401 *datarootdir*) ac_datarootdir_seen=yes;;
81402 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81404 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81405 _ACEOF
81406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81407 ac_datarootdir_hack='
81408 s&@datadir@&$datadir&g
81409 s&@docdir@&$docdir&g
81410 s&@infodir@&$infodir&g
81411 s&@localedir@&$localedir&g
81412 s&@mandir@&$mandir&g
81413 s&\\\${datarootdir}&$datarootdir&g' ;;
81414 esac
81415 _ACEOF
81417 # Neutralize VPATH when `$srcdir' = `.'.
81418 # Shell code in configure.ac might set extrasub.
81419 # FIXME: do we really want to maintain this feature?
81420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81421 ac_sed_extra="$ac_vpsub
81422 $extrasub
81423 _ACEOF
81424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81427 s|@configure_input@|$ac_sed_conf_input|;t t
81428 s&@top_builddir@&$ac_top_builddir_sub&;t t
81429 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81430 s&@srcdir@&$ac_srcdir&;t t
81431 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81432 s&@top_srcdir@&$ac_top_srcdir&;t t
81433 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81434 s&@builddir@&$ac_builddir&;t t
81435 s&@abs_builddir@&$ac_abs_builddir&;t t
81436 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81437 s&@INSTALL@&$ac_INSTALL&;t t
81438 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81439 $ac_datarootdir_hack
81441 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81442 || as_fn_error "could not create $ac_file" "$LINENO" 5
81444 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81445 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81446 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81448 which seems to be undefined. Please make sure it is defined." >&5
81449 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81450 which seems to be undefined. Please make sure it is defined." >&2;}
81452 rm -f "$tmp/stdin"
81453 case $ac_file in
81454 -) cat "$tmp/out" && rm -f "$tmp/out";;
81455 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81456 esac \
81457 || as_fn_error "could not create $ac_file" "$LINENO" 5
81461 # CONFIG_HEADER
81463 if test x"$ac_file" != x-; then
81465 $as_echo "/* $configure_input */" \
81466 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81467 } >"$tmp/config.h" \
81468 || as_fn_error "could not create $ac_file" "$LINENO" 5
81469 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81470 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81471 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81472 else
81473 rm -f "$ac_file"
81474 mv "$tmp/config.h" "$ac_file" \
81475 || as_fn_error "could not create $ac_file" "$LINENO" 5
81477 else
81478 $as_echo "/* $configure_input */" \
81479 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81480 || as_fn_error "could not create -" "$LINENO" 5
81482 # Compute "$ac_file"'s index in $config_headers.
81483 _am_arg="$ac_file"
81484 _am_stamp_count=1
81485 for _am_header in $config_headers :; do
81486 case $_am_header in
81487 $_am_arg | $_am_arg:* )
81488 break ;;
81490 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81491 esac
81492 done
81493 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81494 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81495 X"$_am_arg" : 'X\(//\)[^/]' \| \
81496 X"$_am_arg" : 'X\(//\)$' \| \
81497 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81498 $as_echo X"$_am_arg" |
81499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81500 s//\1/
81503 /^X\(\/\/\)[^/].*/{
81504 s//\1/
81507 /^X\(\/\/\)$/{
81508 s//\1/
81511 /^X\(\/\).*/{
81512 s//\1/
81515 s/.*/./; q'`/stamp-h$_am_stamp_count
81518 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81519 $as_echo "$as_me: executing $ac_file commands" >&6;}
81521 esac
81524 case $ac_file$ac_mode in
81525 "default-1":C)
81526 # Only add multilib support code if we just rebuilt the top-level
81527 # Makefile.
81528 case " $CONFIG_FILES " in
81529 *" Makefile "*)
81530 ac_file=Makefile . ${multi_basedir}/config-ml.in
81532 esac ;;
81533 "libtool":C)
81535 # See if we are running on zsh, and set the options which allow our
81536 # commands through without removal of \ escapes.
81537 if test -n "${ZSH_VERSION+set}" ; then
81538 setopt NO_GLOB_SUBST
81541 cfgfile="${ofile}T"
81542 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81543 $RM "$cfgfile"
81545 cat <<_LT_EOF >> "$cfgfile"
81546 #! $SHELL
81548 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81549 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81550 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81551 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81553 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81554 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81555 # Written by Gordon Matzigkeit, 1996
81557 # This file is part of GNU Libtool.
81559 # GNU Libtool is free software; you can redistribute it and/or
81560 # modify it under the terms of the GNU General Public License as
81561 # published by the Free Software Foundation; either version 2 of
81562 # the License, or (at your option) any later version.
81564 # As a special exception to the GNU General Public License,
81565 # if you distribute this file as part of a program or library that
81566 # is built using GNU Libtool, you may include this file under the
81567 # same distribution terms that you use for the rest of that program.
81569 # GNU Libtool is distributed in the hope that it will be useful,
81570 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81571 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81572 # GNU General Public License for more details.
81574 # You should have received a copy of the GNU General Public License
81575 # along with GNU Libtool; see the file COPYING. If not, a copy
81576 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81577 # obtained by writing to the Free Software Foundation, Inc.,
81578 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81581 # The names of the tagged configurations supported by this script.
81582 available_tags="CXX "
81584 # ### BEGIN LIBTOOL CONFIG
81586 # Which release of libtool.m4 was used?
81587 macro_version=$macro_version
81588 macro_revision=$macro_revision
81590 # Whether or not to build shared libraries.
81591 build_libtool_libs=$enable_shared
81593 # Whether or not to build static libraries.
81594 build_old_libs=$enable_static
81596 # What type of objects to build.
81597 pic_mode=$pic_mode
81599 # Whether or not to optimize for fast installation.
81600 fast_install=$enable_fast_install
81602 # Shell to use when invoking shell scripts.
81603 SHELL=$lt_SHELL
81605 # An echo program that protects backslashes.
81606 ECHO=$lt_ECHO
81608 # The host system.
81609 host_alias=$host_alias
81610 host=$host
81611 host_os=$host_os
81613 # The build system.
81614 build_alias=$build_alias
81615 build=$build
81616 build_os=$build_os
81618 # A sed program that does not truncate output.
81619 SED=$lt_SED
81621 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81622 Xsed="\$SED -e 1s/^X//"
81624 # A grep program that handles long lines.
81625 GREP=$lt_GREP
81627 # An ERE matcher.
81628 EGREP=$lt_EGREP
81630 # A literal string matcher.
81631 FGREP=$lt_FGREP
81633 # A BSD- or MS-compatible name lister.
81634 NM=$lt_NM
81636 # Whether we need soft or hard links.
81637 LN_S=$lt_LN_S
81639 # What is the maximum length of a command?
81640 max_cmd_len=$max_cmd_len
81642 # Object file suffix (normally "o").
81643 objext=$ac_objext
81645 # Executable file suffix (normally "").
81646 exeext=$exeext
81648 # whether the shell understands "unset".
81649 lt_unset=$lt_unset
81651 # turn spaces into newlines.
81652 SP2NL=$lt_lt_SP2NL
81654 # turn newlines into spaces.
81655 NL2SP=$lt_lt_NL2SP
81657 # An object symbol dumper.
81658 OBJDUMP=$lt_OBJDUMP
81660 # Method to check whether dependent libraries are shared objects.
81661 deplibs_check_method=$lt_deplibs_check_method
81663 # Command to use when deplibs_check_method == "file_magic".
81664 file_magic_cmd=$lt_file_magic_cmd
81666 # The archiver.
81667 AR=$lt_AR
81668 AR_FLAGS=$lt_AR_FLAGS
81670 # A symbol stripping program.
81671 STRIP=$lt_STRIP
81673 # Commands used to install an old-style archive.
81674 RANLIB=$lt_RANLIB
81675 old_postinstall_cmds=$lt_old_postinstall_cmds
81676 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81678 # Whether to use a lock for old archive extraction.
81679 lock_old_archive_extraction=$lock_old_archive_extraction
81681 # A C compiler.
81682 LTCC=$lt_CC
81684 # LTCC compiler flags.
81685 LTCFLAGS=$lt_CFLAGS
81687 # Take the output of nm and produce a listing of raw symbols and C names.
81688 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81690 # Transform the output of nm in a proper C declaration.
81691 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81693 # Transform the output of nm in a C name address pair.
81694 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81696 # Transform the output of nm in a C name address pair when lib prefix is needed.
81697 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81699 # The name of the directory that contains temporary libtool files.
81700 objdir=$objdir
81702 # Used to examine libraries when file_magic_cmd begins with "file".
81703 MAGIC_CMD=$MAGIC_CMD
81705 # Must we lock files when doing compilation?
81706 need_locks=$lt_need_locks
81708 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81709 DSYMUTIL=$lt_DSYMUTIL
81711 # Tool to change global to local symbols on Mac OS X.
81712 NMEDIT=$lt_NMEDIT
81714 # Tool to manipulate fat objects and archives on Mac OS X.
81715 LIPO=$lt_LIPO
81717 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81718 OTOOL=$lt_OTOOL
81720 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81721 OTOOL64=$lt_OTOOL64
81723 # Old archive suffix (normally "a").
81724 libext=$libext
81726 # Shared library suffix (normally ".so").
81727 shrext_cmds=$lt_shrext_cmds
81729 # The commands to extract the exported symbol list from a shared archive.
81730 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81732 # Variables whose values should be saved in libtool wrapper scripts and
81733 # restored at link time.
81734 variables_saved_for_relink=$lt_variables_saved_for_relink
81736 # Do we need the "lib" prefix for modules?
81737 need_lib_prefix=$need_lib_prefix
81739 # Do we need a version for libraries?
81740 need_version=$need_version
81742 # Library versioning type.
81743 version_type=$version_type
81745 # Shared library runtime path variable.
81746 runpath_var=$runpath_var
81748 # Shared library path variable.
81749 shlibpath_var=$shlibpath_var
81751 # Is shlibpath searched before the hard-coded library search path?
81752 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81754 # Format of library name prefix.
81755 libname_spec=$lt_libname_spec
81757 # List of archive names. First name is the real one, the rest are links.
81758 # The last name is the one that the linker finds with -lNAME
81759 library_names_spec=$lt_library_names_spec
81761 # The coded name of the library, if different from the real name.
81762 soname_spec=$lt_soname_spec
81764 # Permission mode override for installation of shared libraries.
81765 install_override_mode=$lt_install_override_mode
81767 # Command to use after installation of a shared archive.
81768 postinstall_cmds=$lt_postinstall_cmds
81770 # Command to use after uninstallation of a shared archive.
81771 postuninstall_cmds=$lt_postuninstall_cmds
81773 # Commands used to finish a libtool library installation in a directory.
81774 finish_cmds=$lt_finish_cmds
81776 # As "finish_cmds", except a single script fragment to be evaled but
81777 # not shown.
81778 finish_eval=$lt_finish_eval
81780 # Whether we should hardcode library paths into libraries.
81781 hardcode_into_libs=$hardcode_into_libs
81783 # Compile-time system search path for libraries.
81784 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81786 # Run-time system search path for libraries.
81787 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81789 # Whether dlopen is supported.
81790 dlopen_support=$enable_dlopen
81792 # Whether dlopen of programs is supported.
81793 dlopen_self=$enable_dlopen_self
81795 # Whether dlopen of statically linked programs is supported.
81796 dlopen_self_static=$enable_dlopen_self_static
81798 # Commands to strip libraries.
81799 old_striplib=$lt_old_striplib
81800 striplib=$lt_striplib
81803 # The linker used to build libraries.
81804 LD=$lt_LD
81806 # How to create reloadable object files.
81807 reload_flag=$lt_reload_flag
81808 reload_cmds=$lt_reload_cmds
81810 # Commands used to build an old-style archive.
81811 old_archive_cmds=$lt_old_archive_cmds
81813 # A language specific compiler.
81814 CC=$lt_compiler
81816 # Is the compiler the GNU compiler?
81817 with_gcc=$GCC
81819 # Compiler flag to turn off builtin functions.
81820 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81822 # How to pass a linker flag through the compiler.
81823 wl=$lt_lt_prog_compiler_wl
81825 # Additional compiler flags for building library objects.
81826 pic_flag=$lt_lt_prog_compiler_pic
81828 # Compiler flag to prevent dynamic linking.
81829 link_static_flag=$lt_lt_prog_compiler_static
81831 # Does compiler simultaneously support -c and -o options?
81832 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81834 # Whether or not to add -lc for building shared libraries.
81835 build_libtool_need_lc=$archive_cmds_need_lc
81837 # Whether or not to disallow shared libs when runtime libs are static.
81838 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81840 # Compiler flag to allow reflexive dlopens.
81841 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81843 # Compiler flag to generate shared objects directly from archives.
81844 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81846 # Whether the compiler copes with passing no objects directly.
81847 compiler_needs_object=$lt_compiler_needs_object
81849 # Create an old-style archive from a shared archive.
81850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81852 # Create a temporary old-style archive to link instead of a shared archive.
81853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81855 # Commands used to build a shared archive.
81856 archive_cmds=$lt_archive_cmds
81857 archive_expsym_cmds=$lt_archive_expsym_cmds
81859 # Commands used to build a loadable module if different from building
81860 # a shared archive.
81861 module_cmds=$lt_module_cmds
81862 module_expsym_cmds=$lt_module_expsym_cmds
81864 # Whether we are building with GNU ld or not.
81865 with_gnu_ld=$lt_with_gnu_ld
81867 # Flag that allows shared libraries with undefined symbols to be built.
81868 allow_undefined_flag=$lt_allow_undefined_flag
81870 # Flag that enforces no undefined symbols.
81871 no_undefined_flag=$lt_no_undefined_flag
81873 # Flag to hardcode \$libdir into a binary during linking.
81874 # This must work even if \$libdir does not exist
81875 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81877 # If ld is used when linking, flag to hardcode \$libdir into a binary
81878 # during linking. This must work even if \$libdir does not exist.
81879 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81881 # Whether we need a single "-rpath" flag with a separated argument.
81882 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81884 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81885 # DIR into the resulting binary.
81886 hardcode_direct=$hardcode_direct
81888 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81889 # DIR into the resulting binary and the resulting library dependency is
81890 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81891 # library is relocated.
81892 hardcode_direct_absolute=$hardcode_direct_absolute
81894 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81895 # into the resulting binary.
81896 hardcode_minus_L=$hardcode_minus_L
81898 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81899 # into the resulting binary.
81900 hardcode_shlibpath_var=$hardcode_shlibpath_var
81902 # Set to "yes" if building a shared library automatically hardcodes DIR
81903 # into the library and all subsequent libraries and executables linked
81904 # against it.
81905 hardcode_automatic=$hardcode_automatic
81907 # Set to yes if linker adds runtime paths of dependent libraries
81908 # to runtime path list.
81909 inherit_rpath=$inherit_rpath
81911 # Whether libtool must link a program against all its dependency libraries.
81912 link_all_deplibs=$link_all_deplibs
81914 # Fix the shell variable \$srcfile for the compiler.
81915 fix_srcfile_path=$lt_fix_srcfile_path
81917 # Set to "yes" if exported symbols are required.
81918 always_export_symbols=$always_export_symbols
81920 # The commands to list exported symbols.
81921 export_symbols_cmds=$lt_export_symbols_cmds
81923 # Symbols that should not be listed in the preloaded symbols.
81924 exclude_expsyms=$lt_exclude_expsyms
81926 # Symbols that must always be exported.
81927 include_expsyms=$lt_include_expsyms
81929 # Commands necessary for linking programs (against libraries) with templates.
81930 prelink_cmds=$lt_prelink_cmds
81932 # Specify filename containing input files.
81933 file_list_spec=$lt_file_list_spec
81935 # How to hardcode a shared library path into an executable.
81936 hardcode_action=$hardcode_action
81938 # The directories searched by this compiler when creating a shared library.
81939 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81941 # Dependencies to place before and after the objects being linked to
81942 # create a shared library.
81943 predep_objects=$lt_predep_objects
81944 postdep_objects=$lt_postdep_objects
81945 predeps=$lt_predeps
81946 postdeps=$lt_postdeps
81948 # The library search path used internally by the compiler when linking
81949 # a shared library.
81950 compiler_lib_search_path=$lt_compiler_lib_search_path
81952 # ### END LIBTOOL CONFIG
81954 _LT_EOF
81956 case $host_os in
81957 aix3*)
81958 cat <<\_LT_EOF >> "$cfgfile"
81959 # AIX sometimes has problems with the GCC collect2 program. For some
81960 # reason, if we set the COLLECT_NAMES environment variable, the problems
81961 # vanish in a puff of smoke.
81962 if test "X${COLLECT_NAMES+set}" != Xset; then
81963 COLLECT_NAMES=
81964 export COLLECT_NAMES
81966 _LT_EOF
81968 esac
81971 ltmain="$ac_aux_dir/ltmain.sh"
81974 # We use sed instead of cat because bash on DJGPP gets confused if
81975 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81976 # text mode, it properly converts lines to CR/LF. This bash problem
81977 # is reportedly fixed, but why not run on old versions too?
81978 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81979 || (rm -f "$cfgfile"; exit 1)
81981 case $xsi_shell in
81982 yes)
81983 cat << \_LT_EOF >> "$cfgfile"
81985 # func_dirname file append nondir_replacement
81986 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81987 # otherwise set result to NONDIR_REPLACEMENT.
81988 func_dirname ()
81990 case ${1} in
81991 */*) func_dirname_result="${1%/*}${2}" ;;
81992 * ) func_dirname_result="${3}" ;;
81993 esac
81996 # func_basename file
81997 func_basename ()
81999 func_basename_result="${1##*/}"
82002 # func_dirname_and_basename file append nondir_replacement
82003 # perform func_basename and func_dirname in a single function
82004 # call:
82005 # dirname: Compute the dirname of FILE. If nonempty,
82006 # add APPEND to the result, otherwise set result
82007 # to NONDIR_REPLACEMENT.
82008 # value returned in "$func_dirname_result"
82009 # basename: Compute filename of FILE.
82010 # value retuned in "$func_basename_result"
82011 # Implementation must be kept synchronized with func_dirname
82012 # and func_basename. For efficiency, we do not delegate to
82013 # those functions but instead duplicate the functionality here.
82014 func_dirname_and_basename ()
82016 case ${1} in
82017 */*) func_dirname_result="${1%/*}${2}" ;;
82018 * ) func_dirname_result="${3}" ;;
82019 esac
82020 func_basename_result="${1##*/}"
82023 # func_stripname prefix suffix name
82024 # strip PREFIX and SUFFIX off of NAME.
82025 # PREFIX and SUFFIX must not contain globbing or regex special
82026 # characters, hashes, percent signs, but SUFFIX may contain a leading
82027 # dot (in which case that matches only a dot).
82028 func_stripname ()
82030 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82031 # positional parameters, so assign one to ordinary parameter first.
82032 func_stripname_result=${3}
82033 func_stripname_result=${func_stripname_result#"${1}"}
82034 func_stripname_result=${func_stripname_result%"${2}"}
82037 # func_opt_split
82038 func_opt_split ()
82040 func_opt_split_opt=${1%%=*}
82041 func_opt_split_arg=${1#*=}
82044 # func_lo2o object
82045 func_lo2o ()
82047 case ${1} in
82048 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82049 *) func_lo2o_result=${1} ;;
82050 esac
82053 # func_xform libobj-or-source
82054 func_xform ()
82056 func_xform_result=${1%.*}.lo
82059 # func_arith arithmetic-term...
82060 func_arith ()
82062 func_arith_result=$(( $* ))
82065 # func_len string
82066 # STRING may not start with a hyphen.
82067 func_len ()
82069 func_len_result=${#1}
82072 _LT_EOF
82074 *) # Bourne compatible functions.
82075 cat << \_LT_EOF >> "$cfgfile"
82077 # func_dirname file append nondir_replacement
82078 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82079 # otherwise set result to NONDIR_REPLACEMENT.
82080 func_dirname ()
82082 # Extract subdirectory from the argument.
82083 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82084 if test "X$func_dirname_result" = "X${1}"; then
82085 func_dirname_result="${3}"
82086 else
82087 func_dirname_result="$func_dirname_result${2}"
82091 # func_basename file
82092 func_basename ()
82094 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82098 # func_stripname prefix suffix name
82099 # strip PREFIX and SUFFIX off of NAME.
82100 # PREFIX and SUFFIX must not contain globbing or regex special
82101 # characters, hashes, percent signs, but SUFFIX may contain a leading
82102 # dot (in which case that matches only a dot).
82103 # func_strip_suffix prefix name
82104 func_stripname ()
82106 case ${2} in
82107 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82108 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82109 esac
82112 # sed scripts:
82113 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82114 my_sed_long_arg='1s/^-[^=]*=//'
82116 # func_opt_split
82117 func_opt_split ()
82119 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82120 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82123 # func_lo2o object
82124 func_lo2o ()
82126 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82129 # func_xform libobj-or-source
82130 func_xform ()
82132 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82135 # func_arith arithmetic-term...
82136 func_arith ()
82138 func_arith_result=`expr "$@"`
82141 # func_len string
82142 # STRING may not start with a hyphen.
82143 func_len ()
82145 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82148 _LT_EOF
82149 esac
82151 case $lt_shell_append in
82152 yes)
82153 cat << \_LT_EOF >> "$cfgfile"
82155 # func_append var value
82156 # Append VALUE to the end of shell variable VAR.
82157 func_append ()
82159 eval "$1+=\$2"
82161 _LT_EOF
82164 cat << \_LT_EOF >> "$cfgfile"
82166 # func_append var value
82167 # Append VALUE to the end of shell variable VAR.
82168 func_append ()
82170 eval "$1=\$$1\$2"
82173 _LT_EOF
82175 esac
82178 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82179 || (rm -f "$cfgfile"; exit 1)
82181 mv -f "$cfgfile" "$ofile" ||
82182 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82183 chmod +x "$ofile"
82186 cat <<_LT_EOF >> "$ofile"
82188 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82190 # The linker used to build libraries.
82191 LD=$lt_LD_CXX
82193 # How to create reloadable object files.
82194 reload_flag=$lt_reload_flag_CXX
82195 reload_cmds=$lt_reload_cmds_CXX
82197 # Commands used to build an old-style archive.
82198 old_archive_cmds=$lt_old_archive_cmds_CXX
82200 # A language specific compiler.
82201 CC=$lt_compiler_CXX
82203 # Is the compiler the GNU compiler?
82204 with_gcc=$GCC_CXX
82206 # Compiler flag to turn off builtin functions.
82207 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82209 # How to pass a linker flag through the compiler.
82210 wl=$lt_lt_prog_compiler_wl_CXX
82212 # Additional compiler flags for building library objects.
82213 pic_flag=$lt_lt_prog_compiler_pic_CXX
82215 # Compiler flag to prevent dynamic linking.
82216 link_static_flag=$lt_lt_prog_compiler_static_CXX
82218 # Does compiler simultaneously support -c and -o options?
82219 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82221 # Whether or not to add -lc for building shared libraries.
82222 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82224 # Whether or not to disallow shared libs when runtime libs are static.
82225 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82227 # Compiler flag to allow reflexive dlopens.
82228 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82230 # Compiler flag to generate shared objects directly from archives.
82231 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82233 # Whether the compiler copes with passing no objects directly.
82234 compiler_needs_object=$lt_compiler_needs_object_CXX
82236 # Create an old-style archive from a shared archive.
82237 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82239 # Create a temporary old-style archive to link instead of a shared archive.
82240 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82242 # Commands used to build a shared archive.
82243 archive_cmds=$lt_archive_cmds_CXX
82244 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82246 # Commands used to build a loadable module if different from building
82247 # a shared archive.
82248 module_cmds=$lt_module_cmds_CXX
82249 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82251 # Whether we are building with GNU ld or not.
82252 with_gnu_ld=$lt_with_gnu_ld_CXX
82254 # Flag that allows shared libraries with undefined symbols to be built.
82255 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82257 # Flag that enforces no undefined symbols.
82258 no_undefined_flag=$lt_no_undefined_flag_CXX
82260 # Flag to hardcode \$libdir into a binary during linking.
82261 # This must work even if \$libdir does not exist
82262 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82264 # If ld is used when linking, flag to hardcode \$libdir into a binary
82265 # during linking. This must work even if \$libdir does not exist.
82266 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82268 # Whether we need a single "-rpath" flag with a separated argument.
82269 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82271 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82272 # DIR into the resulting binary.
82273 hardcode_direct=$hardcode_direct_CXX
82275 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82276 # DIR into the resulting binary and the resulting library dependency is
82277 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82278 # library is relocated.
82279 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82281 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82282 # into the resulting binary.
82283 hardcode_minus_L=$hardcode_minus_L_CXX
82285 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82286 # into the resulting binary.
82287 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82289 # Set to "yes" if building a shared library automatically hardcodes DIR
82290 # into the library and all subsequent libraries and executables linked
82291 # against it.
82292 hardcode_automatic=$hardcode_automatic_CXX
82294 # Set to yes if linker adds runtime paths of dependent libraries
82295 # to runtime path list.
82296 inherit_rpath=$inherit_rpath_CXX
82298 # Whether libtool must link a program against all its dependency libraries.
82299 link_all_deplibs=$link_all_deplibs_CXX
82301 # Fix the shell variable \$srcfile for the compiler.
82302 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82304 # Set to "yes" if exported symbols are required.
82305 always_export_symbols=$always_export_symbols_CXX
82307 # The commands to list exported symbols.
82308 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82310 # Symbols that should not be listed in the preloaded symbols.
82311 exclude_expsyms=$lt_exclude_expsyms_CXX
82313 # Symbols that must always be exported.
82314 include_expsyms=$lt_include_expsyms_CXX
82316 # Commands necessary for linking programs (against libraries) with templates.
82317 prelink_cmds=$lt_prelink_cmds_CXX
82319 # Specify filename containing input files.
82320 file_list_spec=$lt_file_list_spec_CXX
82322 # How to hardcode a shared library path into an executable.
82323 hardcode_action=$hardcode_action_CXX
82325 # The directories searched by this compiler when creating a shared library.
82326 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82328 # Dependencies to place before and after the objects being linked to
82329 # create a shared library.
82330 predep_objects=$lt_predep_objects_CXX
82331 postdep_objects=$lt_postdep_objects_CXX
82332 predeps=$lt_predeps_CXX
82333 postdeps=$lt_postdeps_CXX
82335 # The library search path used internally by the compiler when linking
82336 # a shared library.
82337 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82339 # ### END LIBTOOL TAG CONFIG: CXX
82340 _LT_EOF
82343 "include/gstdint.h":C)
82344 if test "$GCC" = yes; then
82345 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82346 else
82347 echo "/* generated for $CC */" > tmp-stdint.h
82350 sed 's/^ *//' >> tmp-stdint.h <<EOF
82352 #ifndef GCC_GENERATED_STDINT_H
82353 #define GCC_GENERATED_STDINT_H 1
82355 #include <sys/types.h>
82358 if test "$acx_cv_header_stdint" != stdint.h; then
82359 echo "#include <stddef.h>" >> tmp-stdint.h
82361 if test "$acx_cv_header_stdint" != stddef.h; then
82362 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82365 sed 's/^ *//' >> tmp-stdint.h <<EOF
82366 /* glibc uses these symbols as guards to prevent redefinitions. */
82367 #ifdef __int8_t_defined
82368 #define _INT8_T
82369 #define _INT16_T
82370 #define _INT32_T
82371 #endif
82372 #ifdef __uint32_t_defined
82373 #define _UINT32_T
82374 #endif
82378 # ----------------- done header, emit basic int types -------------
82379 if test "$acx_cv_header_stdint" = stddef.h; then
82380 sed 's/^ *//' >> tmp-stdint.h <<EOF
82382 #ifndef _UINT8_T
82383 #define _UINT8_T
82384 #ifndef __uint8_t_defined
82385 #define __uint8_t_defined
82386 #ifndef uint8_t
82387 typedef unsigned $acx_cv_type_int8_t uint8_t;
82388 #endif
82389 #endif
82390 #endif
82392 #ifndef _UINT16_T
82393 #define _UINT16_T
82394 #ifndef __uint16_t_defined
82395 #define __uint16_t_defined
82396 #ifndef uint16_t
82397 typedef unsigned $acx_cv_type_int16_t uint16_t;
82398 #endif
82399 #endif
82400 #endif
82402 #ifndef _UINT32_T
82403 #define _UINT32_T
82404 #ifndef __uint32_t_defined
82405 #define __uint32_t_defined
82406 #ifndef uint32_t
82407 typedef unsigned $acx_cv_type_int32_t uint32_t;
82408 #endif
82409 #endif
82410 #endif
82412 #ifndef _INT8_T
82413 #define _INT8_T
82414 #ifndef __int8_t_defined
82415 #define __int8_t_defined
82416 #ifndef int8_t
82417 typedef $acx_cv_type_int8_t int8_t;
82418 #endif
82419 #endif
82420 #endif
82422 #ifndef _INT16_T
82423 #define _INT16_T
82424 #ifndef __int16_t_defined
82425 #define __int16_t_defined
82426 #ifndef int16_t
82427 typedef $acx_cv_type_int16_t int16_t;
82428 #endif
82429 #endif
82430 #endif
82432 #ifndef _INT32_T
82433 #define _INT32_T
82434 #ifndef __int32_t_defined
82435 #define __int32_t_defined
82436 #ifndef int32_t
82437 typedef $acx_cv_type_int32_t int32_t;
82438 #endif
82439 #endif
82440 #endif
82442 elif test "$ac_cv_type_u_int32_t" = yes; then
82443 sed 's/^ *//' >> tmp-stdint.h <<EOF
82445 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82446 #ifndef _INT8_T
82447 #define _INT8_T
82448 #endif
82449 #ifndef _INT16_T
82450 #define _INT16_T
82451 #endif
82452 #ifndef _INT32_T
82453 #define _INT32_T
82454 #endif
82456 #ifndef _UINT8_T
82457 #define _UINT8_T
82458 #ifndef __uint8_t_defined
82459 #define __uint8_t_defined
82460 #ifndef uint8_t
82461 typedef u_int8_t uint8_t;
82462 #endif
82463 #endif
82464 #endif
82466 #ifndef _UINT16_T
82467 #define _UINT16_T
82468 #ifndef __uint16_t_defined
82469 #define __uint16_t_defined
82470 #ifndef uint16_t
82471 typedef u_int16_t uint16_t;
82472 #endif
82473 #endif
82474 #endif
82476 #ifndef _UINT32_T
82477 #define _UINT32_T
82478 #ifndef __uint32_t_defined
82479 #define __uint32_t_defined
82480 #ifndef uint32_t
82481 typedef u_int32_t uint32_t;
82482 #endif
82483 #endif
82484 #endif
82486 else
82487 sed 's/^ *//' >> tmp-stdint.h <<EOF
82489 /* Some systems have guard macros to prevent redefinitions, define them. */
82490 #ifndef _INT8_T
82491 #define _INT8_T
82492 #endif
82493 #ifndef _INT16_T
82494 #define _INT16_T
82495 #endif
82496 #ifndef _INT32_T
82497 #define _INT32_T
82498 #endif
82499 #ifndef _UINT8_T
82500 #define _UINT8_T
82501 #endif
82502 #ifndef _UINT16_T
82503 #define _UINT16_T
82504 #endif
82505 #ifndef _UINT32_T
82506 #define _UINT32_T
82507 #endif
82511 # ------------- done basic int types, emit int64_t types ------------
82512 if test "$ac_cv_type_uint64_t" = yes; then
82513 sed 's/^ *//' >> tmp-stdint.h <<EOF
82515 /* system headers have good uint64_t and int64_t */
82516 #ifndef _INT64_T
82517 #define _INT64_T
82518 #endif
82519 #ifndef _UINT64_T
82520 #define _UINT64_T
82521 #endif
82523 elif test "$ac_cv_type_u_int64_t" = yes; then
82524 sed 's/^ *//' >> tmp-stdint.h <<EOF
82526 /* system headers have an u_int64_t (and int64_t) */
82527 #ifndef _INT64_T
82528 #define _INT64_T
82529 #endif
82530 #ifndef _UINT64_T
82531 #define _UINT64_T
82532 #ifndef __uint64_t_defined
82533 #define __uint64_t_defined
82534 #ifndef uint64_t
82535 typedef u_int64_t uint64_t;
82536 #endif
82537 #endif
82538 #endif
82540 elif test -n "$acx_cv_type_int64_t"; then
82541 sed 's/^ *//' >> tmp-stdint.h <<EOF
82543 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82544 #ifndef _INT64_T
82545 #define _INT64_T
82546 #ifndef int64_t
82547 typedef $acx_cv_type_int64_t int64_t;
82548 #endif
82549 #endif
82550 #ifndef _UINT64_T
82551 #define _UINT64_T
82552 #ifndef __uint64_t_defined
82553 #define __uint64_t_defined
82554 #ifndef uint64_t
82555 typedef unsigned $acx_cv_type_int64_t uint64_t;
82556 #endif
82557 #endif
82558 #endif
82560 else
82561 sed 's/^ *//' >> tmp-stdint.h <<EOF
82563 /* some common heuristics for int64_t, using compiler-specific tests */
82564 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82565 #ifndef _INT64_T
82566 #define _INT64_T
82567 #ifndef __int64_t_defined
82568 #ifndef int64_t
82569 typedef long long int64_t;
82570 #endif
82571 #endif
82572 #endif
82573 #ifndef _UINT64_T
82574 #define _UINT64_T
82575 #ifndef uint64_t
82576 typedef unsigned long long uint64_t;
82577 #endif
82578 #endif
82580 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82581 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82582 does not implement __extension__. But that compiler doesn't define
82583 __GNUC_MINOR__. */
82584 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82585 # define __extension__
82586 # endif
82588 # ifndef _INT64_T
82589 # define _INT64_T
82590 # ifndef int64_t
82591 __extension__ typedef long long int64_t;
82592 # endif
82593 # endif
82594 # ifndef _UINT64_T
82595 # define _UINT64_T
82596 # ifndef uint64_t
82597 __extension__ typedef unsigned long long uint64_t;
82598 # endif
82599 # endif
82601 #elif !defined __STRICT_ANSI__
82602 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82604 # ifndef _INT64_T
82605 # define _INT64_T
82606 # ifndef int64_t
82607 typedef __int64 int64_t;
82608 # endif
82609 # endif
82610 # ifndef _UINT64_T
82611 # define _UINT64_T
82612 # ifndef uint64_t
82613 typedef unsigned __int64 uint64_t;
82614 # endif
82615 # endif
82616 # endif /* compiler */
82618 #endif /* ANSI version */
82622 # ------------- done int64_t types, emit intptr types ------------
82623 if test "$ac_cv_type_uintptr_t" != yes; then
82624 sed 's/^ *//' >> tmp-stdint.h <<EOF
82626 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82627 #ifndef __uintptr_t_defined
82628 #ifndef uintptr_t
82629 typedef u$acx_cv_type_intptr_t uintptr_t;
82630 #endif
82631 #endif
82632 #ifndef __intptr_t_defined
82633 #ifndef intptr_t
82634 typedef $acx_cv_type_intptr_t intptr_t;
82635 #endif
82636 #endif
82640 # ------------- done intptr types, emit int_least types ------------
82641 if test "$ac_cv_type_int_least32_t" != yes; then
82642 sed 's/^ *//' >> tmp-stdint.h <<EOF
82644 /* Define int_least types */
82645 typedef int8_t int_least8_t;
82646 typedef int16_t int_least16_t;
82647 typedef int32_t int_least32_t;
82648 #ifdef _INT64_T
82649 typedef int64_t int_least64_t;
82650 #endif
82652 typedef uint8_t uint_least8_t;
82653 typedef uint16_t uint_least16_t;
82654 typedef uint32_t uint_least32_t;
82655 #ifdef _UINT64_T
82656 typedef uint64_t uint_least64_t;
82657 #endif
82661 # ------------- done intptr types, emit int_fast types ------------
82662 if test "$ac_cv_type_int_fast32_t" != yes; then
82663 sed 's/^ *//' >> tmp-stdint.h <<EOF
82665 /* Define int_fast types. short is often slow */
82666 typedef int8_t int_fast8_t;
82667 typedef int int_fast16_t;
82668 typedef int32_t int_fast32_t;
82669 #ifdef _INT64_T
82670 typedef int64_t int_fast64_t;
82671 #endif
82673 typedef uint8_t uint_fast8_t;
82674 typedef unsigned int uint_fast16_t;
82675 typedef uint32_t uint_fast32_t;
82676 #ifdef _UINT64_T
82677 typedef uint64_t uint_fast64_t;
82678 #endif
82682 if test "$ac_cv_type_uintmax_t" != yes; then
82683 sed 's/^ *//' >> tmp-stdint.h <<EOF
82685 /* Define intmax based on what we found */
82686 #ifndef intmax_t
82687 #ifdef _INT64_T
82688 typedef int64_t intmax_t;
82689 #else
82690 typedef long intmax_t;
82691 #endif
82692 #endif
82693 #ifndef uintmax_t
82694 #ifdef _UINT64_T
82695 typedef uint64_t uintmax_t;
82696 #else
82697 typedef unsigned long uintmax_t;
82698 #endif
82699 #endif
82703 sed 's/^ *//' >> tmp-stdint.h <<EOF
82705 #endif /* GCC_GENERATED_STDINT_H */
82708 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82709 rm -f tmp-stdint.h
82710 else
82711 mv -f tmp-stdint.h include/gstdint.h
82715 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82716 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82717 "include/Makefile":F) cat > vpsed$$ << \_EOF
82718 s!`test -f '$<' || echo '$(srcdir)/'`!!
82719 _EOF
82720 sed -f vpsed$$ $ac_file > tmp$$
82721 mv tmp$$ $ac_file
82722 rm vpsed$$
82723 echo 'MULTISUBDIR =' >> $ac_file
82724 ml_norecursion=yes
82725 . ${multi_basedir}/config-ml.in
82726 { ml_norecursion=; unset ml_norecursion;}
82728 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82729 s!`test -f '$<' || echo '$(srcdir)/'`!!
82730 _EOF
82731 sed -f vpsed$$ $ac_file > tmp$$
82732 mv tmp$$ $ac_file
82733 rm vpsed$$
82734 echo 'MULTISUBDIR =' >> $ac_file
82735 ml_norecursion=yes
82736 . ${multi_basedir}/config-ml.in
82737 { ml_norecursion=; unset ml_norecursion;}
82739 "src/Makefile":F) cat > vpsed$$ << \_EOF
82740 s!`test -f '$<' || echo '$(srcdir)/'`!!
82741 _EOF
82742 sed -f vpsed$$ $ac_file > tmp$$
82743 mv tmp$$ $ac_file
82744 rm vpsed$$
82745 echo 'MULTISUBDIR =' >> $ac_file
82746 ml_norecursion=yes
82747 . ${multi_basedir}/config-ml.in
82748 { ml_norecursion=; unset ml_norecursion;}
82750 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82751 s!`test -f '$<' || echo '$(srcdir)/'`!!
82752 _EOF
82753 sed -f vpsed$$ $ac_file > tmp$$
82754 mv tmp$$ $ac_file
82755 rm vpsed$$
82756 echo 'MULTISUBDIR =' >> $ac_file
82757 ml_norecursion=yes
82758 . ${multi_basedir}/config-ml.in
82759 { ml_norecursion=; unset ml_norecursion;}
82761 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82762 s!`test -f '$<' || echo '$(srcdir)/'`!!
82763 _EOF
82764 sed -f vpsed$$ $ac_file > tmp$$
82765 mv tmp$$ $ac_file
82766 rm vpsed$$
82767 echo 'MULTISUBDIR =' >> $ac_file
82768 ml_norecursion=yes
82769 . ${multi_basedir}/config-ml.in
82770 { ml_norecursion=; unset ml_norecursion;}
82772 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82773 s!`test -f '$<' || echo '$(srcdir)/'`!!
82774 _EOF
82775 sed -f vpsed$$ $ac_file > tmp$$
82776 mv tmp$$ $ac_file
82777 rm vpsed$$
82778 echo 'MULTISUBDIR =' >> $ac_file
82779 ml_norecursion=yes
82780 . ${multi_basedir}/config-ml.in
82781 { ml_norecursion=; unset ml_norecursion;}
82783 "po/Makefile":F) cat > vpsed$$ << \_EOF
82784 s!`test -f '$<' || echo '$(srcdir)/'`!!
82785 _EOF
82786 sed -f vpsed$$ $ac_file > tmp$$
82787 mv tmp$$ $ac_file
82788 rm vpsed$$
82789 echo 'MULTISUBDIR =' >> $ac_file
82790 ml_norecursion=yes
82791 . ${multi_basedir}/config-ml.in
82792 { ml_norecursion=; unset ml_norecursion;}
82794 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82795 s!`test -f '$<' || echo '$(srcdir)/'`!!
82796 _EOF
82797 sed -f vpsed$$ $ac_file > tmp$$
82798 mv tmp$$ $ac_file
82799 rm vpsed$$
82800 echo 'MULTISUBDIR =' >> $ac_file
82801 ml_norecursion=yes
82802 . ${multi_basedir}/config-ml.in
82803 { ml_norecursion=; unset ml_norecursion;}
82805 "python/Makefile":F) cat > vpsed$$ << \_EOF
82806 s!`test -f '$<' || echo '$(srcdir)/'`!!
82807 _EOF
82808 sed -f vpsed$$ $ac_file > tmp$$
82809 mv tmp$$ $ac_file
82810 rm vpsed$$
82811 echo 'MULTISUBDIR =' >> $ac_file
82812 ml_norecursion=yes
82813 . ${multi_basedir}/config-ml.in
82814 { ml_norecursion=; unset ml_norecursion;}
82816 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82818 esac
82819 done # for ac_tag
82822 as_fn_exit 0
82823 _ACEOF
82824 ac_clean_files=$ac_clean_files_save
82826 test $ac_write_fail = 0 ||
82827 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82830 # configure is writing to config.log, and then calls config.status.
82831 # config.status does its own redirection, appending to config.log.
82832 # Unfortunately, on DOS this fails, as config.log is still kept open
82833 # by configure, so config.status won't be able to write to it; its
82834 # output is simply discarded. So we exec the FD to /dev/null,
82835 # effectively closing config.log, so it can be properly (re)opened and
82836 # appended to by config.status. When coming back to configure, we
82837 # need to make the FD available again.
82838 if test "$no_create" != yes; then
82839 ac_cs_success=:
82840 ac_config_status_args=
82841 test "$silent" = yes &&
82842 ac_config_status_args="$ac_config_status_args --quiet"
82843 exec 5>/dev/null
82844 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82845 exec 5>>config.log
82846 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82847 # would make configure fail if this is the last instruction.
82848 $ac_cs_success || as_fn_exit $?
82850 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82852 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}