merge from trunk 212833
[official-gcc.git] / gcc-4_9 / libstdc++-v3 / configure
blob44bc17bc20048a8f917d8e3fd8871ee83fc9aef0
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_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_version_info_string
649 libtool_VERSION
650 ENABLE_SYMVERS_SUN_FALSE
651 ENABLE_SYMVERS_SUN_TRUE
652 ENABLE_SYMVERS_DARWIN_FALSE
653 ENABLE_SYMVERS_DARWIN_TRUE
654 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
655 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
656 ENABLE_SYMVERS_GNU_FALSE
657 ENABLE_SYMVERS_GNU_TRUE
658 ENABLE_SYMVERS_FALSE
659 ENABLE_SYMVERS_TRUE
660 port_specific_symbol_files
661 SYMVER_FILE
662 CXXFILT
663 LTLIBICONV
664 LIBICONV
665 OPT_LDFLAGS
666 SECTION_LDFLAGS
667 GLIBCXX_LIBS
668 ENABLE_VTABLE_VERIFY_FALSE
669 ENABLE_VTABLE_VERIFY_TRUE
670 VTV_CXXLINKFLAGS
671 VTV_PCH_CXXFLAGS
672 VTV_CXXFLAGS
673 ENABLE_WERROR_FALSE
674 ENABLE_WERROR_TRUE
675 ENABLE_PYTHONDIR_FALSE
676 ENABLE_PYTHONDIR_TRUE
677 python_mod_dir
678 ENABLE_EXTERN_TEMPLATE_FALSE
679 ENABLE_EXTERN_TEMPLATE_TRUE
680 EXTRA_CXX_FLAGS
681 GLIBCXX_BUILD_DEBUG_FALSE
682 GLIBCXX_BUILD_DEBUG_TRUE
683 DEBUG_FLAGS
684 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
685 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
686 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
687 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
688 GLIBCXX_C_HEADERS_C_STD_FALSE
689 GLIBCXX_C_HEADERS_C_STD_TRUE
690 GLIBCXX_C_HEADERS_C_FALSE
691 GLIBCXX_C_HEADERS_C_TRUE
692 C_INCLUDE_DIR
693 ALLOCATOR_NAME
694 ALLOCATOR_H
695 CLOCALE_INTERNAL_H
696 CLOCALE_CC
697 CTIME_CC
698 CTIME_H
699 CNUMERIC_CC
700 CMONEY_CC
701 CMESSAGES_CC
702 CCTYPE_CC
703 CCOLLATE_CC
704 CCODECVT_CC
705 CMESSAGES_H
706 CLOCALE_H
707 USE_NLS
708 glibcxx_localedir
709 glibcxx_POFILES
710 glibcxx_MOFILES
711 check_msgfmt
712 BASIC_FILE_CC
713 BASIC_FILE_H
714 CSTDIO_H
715 SECTION_FLAGS
716 WERROR
717 thread_header
718 glibcxx_PCHFLAGS
719 GLIBCXX_BUILD_PCH_FALSE
720 GLIBCXX_BUILD_PCH_TRUE
721 GLIBCXX_HOSTED_FALSE
722 GLIBCXX_HOSTED_TRUE
723 glibcxx_compiler_shared_flag
724 glibcxx_compiler_pic_flag
725 glibcxx_lt_pic_flag
726 enable_static
727 enable_shared
728 lt_host_flags
729 CXXCPP
730 OTOOL64
731 OTOOL
732 LIPO
733 NMEDIT
734 DSYMUTIL
735 OBJDUMP
737 ac_ct_DUMPBIN
738 DUMPBIN
740 FGREP
742 LIBTOOL
743 EGREP
744 GREP
746 MAINT
747 MAINTAINER_MODE_FALSE
748 MAINTAINER_MODE_TRUE
749 RANLIB
752 LN_S
753 toplevel_srcdir
754 toplevel_builddir
755 glibcxx_srcdir
756 glibcxx_builddir
757 ac_ct_CXX
758 CXXFLAGS
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
767 am__untar
768 am__tar
769 AMTAR
770 am__leading_dot
771 SET_MAKE
773 mkdir_p
774 MKDIR_P
775 INSTALL_STRIP_PROGRAM
776 STRIP
777 install_sh
778 MAKEINFO
779 AUTOHEADER
780 AUTOMAKE
781 AUTOCONF
782 ACLOCAL
783 VERSION
784 PACKAGE
785 CYGPATH_W
786 am__isrc
787 INSTALL_DATA
788 INSTALL_SCRIPT
789 INSTALL_PROGRAM
790 target_os
791 target_vendor
792 target_cpu
793 target
794 host_os
795 host_vendor
796 host_cpu
797 host
798 build_os
799 build_vendor
800 build_cpu
801 build
802 multi_basedir
803 target_alias
804 host_alias
805 build_alias
806 LIBS
807 ECHO_T
808 ECHO_N
809 ECHO_C
810 DEFS
811 mandir
812 localedir
813 libdir
814 psdir
815 pdfdir
816 dvidir
817 htmldir
818 infodir
819 docdir
820 oldincludedir
821 includedir
822 localstatedir
823 sharedstatedir
824 sysconfdir
825 datadir
826 datarootdir
827 libexecdir
828 sbindir
829 bindir
830 program_transform_name
831 prefix
832 exec_prefix
833 PACKAGE_URL
834 PACKAGE_BUGREPORT
835 PACKAGE_STRING
836 PACKAGE_VERSION
837 PACKAGE_TARNAME
838 PACKAGE_NAME
839 PATH_SEPARATOR
840 SHELL'
841 ac_subst_files=''
842 ac_user_opts='
843 enable_option_checking
844 enable_multilib
845 with_target_subdir
846 with_cross_host
847 with_newlib
848 enable_maintainer_mode
849 enable_shared
850 enable_static
851 with_pic
852 enable_fast_install
853 with_gnu_ld
854 enable_libtool_lock
855 enable_hosted_libstdcxx
856 enable_libstdcxx_verbose
857 enable_sjlj_exceptions
858 enable_libstdcxx_pch
859 enable_cstdio
860 enable_clocale
861 enable_nls
862 enable_libstdcxx_allocator
863 enable_cheaders
864 enable_long_long
865 enable_wchar_t
866 enable_c99
867 enable_concept_checks
868 enable_libstdcxx_debug_flags
869 enable_libstdcxx_debug
870 enable_cxx_flags
871 enable_fully_dynamic_string
872 enable_extern_template
873 with_python_dir
874 enable_werror
875 enable_vtable_verify
876 enable_libstdcxx_time
877 enable_tls
878 enable_rpath
879 with_libiconv_prefix
880 with_system_libunwind
881 enable_linux_futex
882 enable_symvers
883 enable_libstdcxx_visibility
884 enable_libstdcxx_threads
885 with_gxx_include_dir
886 enable_version_specific_runtime_libs
888 ac_precious_vars='build_alias
889 host_alias
890 target_alias
892 CFLAGS
893 LDFLAGS
894 LIBS
895 CPPFLAGS
897 CXXFLAGS
900 CXXCPP
901 CXXFILT'
904 # Initialize some variables set by options.
905 ac_init_help=
906 ac_init_version=false
907 ac_unrecognized_opts=
908 ac_unrecognized_sep=
909 # The variables have the same names as the options, with
910 # dashes changed to underlines.
911 cache_file=/dev/null
912 exec_prefix=NONE
913 no_create=
914 no_recursion=
915 prefix=NONE
916 program_prefix=NONE
917 program_suffix=NONE
918 program_transform_name=s,x,x,
919 silent=
920 site=
921 srcdir=
922 verbose=
923 x_includes=NONE
924 x_libraries=NONE
926 # Installation directory options.
927 # These are left unexpanded so users can "make install exec_prefix=/foo"
928 # and all the variables that are supposed to be based on exec_prefix
929 # by default will actually change.
930 # Use braces instead of parens because sh, perl, etc. also accept them.
931 # (The list follows the same order as the GNU Coding Standards.)
932 bindir='${exec_prefix}/bin'
933 sbindir='${exec_prefix}/sbin'
934 libexecdir='${exec_prefix}/libexec'
935 datarootdir='${prefix}/share'
936 datadir='${datarootdir}'
937 sysconfdir='${prefix}/etc'
938 sharedstatedir='${prefix}/com'
939 localstatedir='${prefix}/var'
940 includedir='${prefix}/include'
941 oldincludedir='/usr/include'
942 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
943 infodir='${datarootdir}/info'
944 htmldir='${docdir}'
945 dvidir='${docdir}'
946 pdfdir='${docdir}'
947 psdir='${docdir}'
948 libdir='${exec_prefix}/lib'
949 localedir='${datarootdir}/locale'
950 mandir='${datarootdir}/man'
952 ac_prev=
953 ac_dashdash=
954 for ac_option
956 # If the previous option needs an argument, assign it.
957 if test -n "$ac_prev"; then
958 eval $ac_prev=\$ac_option
959 ac_prev=
960 continue
963 case $ac_option in
964 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
965 *) ac_optarg=yes ;;
966 esac
968 # Accept the important Cygnus configure options, so we can diagnose typos.
970 case $ac_dashdash$ac_option in
972 ac_dashdash=yes ;;
974 -bindir | --bindir | --bindi | --bind | --bin | --bi)
975 ac_prev=bindir ;;
976 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
977 bindir=$ac_optarg ;;
979 -build | --build | --buil | --bui | --bu)
980 ac_prev=build_alias ;;
981 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
982 build_alias=$ac_optarg ;;
984 -cache-file | --cache-file | --cache-fil | --cache-fi \
985 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
986 ac_prev=cache_file ;;
987 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
988 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
989 cache_file=$ac_optarg ;;
991 --config-cache | -C)
992 cache_file=config.cache ;;
994 -datadir | --datadir | --datadi | --datad)
995 ac_prev=datadir ;;
996 -datadir=* | --datadir=* | --datadi=* | --datad=*)
997 datadir=$ac_optarg ;;
999 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1000 | --dataroo | --dataro | --datar)
1001 ac_prev=datarootdir ;;
1002 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1003 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1004 datarootdir=$ac_optarg ;;
1006 -disable-* | --disable-*)
1007 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010 as_fn_error "invalid feature name: $ac_useropt"
1011 ac_useropt_orig=$ac_useropt
1012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1015 "enable_$ac_useropt"
1016 "*) ;;
1017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1018 ac_unrecognized_sep=', ';;
1019 esac
1020 eval enable_$ac_useropt=no ;;
1022 -docdir | --docdir | --docdi | --doc | --do)
1023 ac_prev=docdir ;;
1024 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1025 docdir=$ac_optarg ;;
1027 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1028 ac_prev=dvidir ;;
1029 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1030 dvidir=$ac_optarg ;;
1032 -enable-* | --enable-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error "invalid feature name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_$ac_useropt"
1042 "*) ;;
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1045 esac
1046 eval enable_$ac_useropt=\$ac_optarg ;;
1048 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1049 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1050 | --exec | --exe | --ex)
1051 ac_prev=exec_prefix ;;
1052 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1053 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1054 | --exec=* | --exe=* | --ex=*)
1055 exec_prefix=$ac_optarg ;;
1057 -gas | --gas | --ga | --g)
1058 # Obsolete; use --with-gas.
1059 with_gas=yes ;;
1061 -help | --help | --hel | --he | -h)
1062 ac_init_help=long ;;
1063 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1064 ac_init_help=recursive ;;
1065 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1066 ac_init_help=short ;;
1068 -host | --host | --hos | --ho)
1069 ac_prev=host_alias ;;
1070 -host=* | --host=* | --hos=* | --ho=*)
1071 host_alias=$ac_optarg ;;
1073 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1074 ac_prev=htmldir ;;
1075 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1076 | --ht=*)
1077 htmldir=$ac_optarg ;;
1079 -includedir | --includedir | --includedi | --included | --include \
1080 | --includ | --inclu | --incl | --inc)
1081 ac_prev=includedir ;;
1082 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1083 | --includ=* | --inclu=* | --incl=* | --inc=*)
1084 includedir=$ac_optarg ;;
1086 -infodir | --infodir | --infodi | --infod | --info | --inf)
1087 ac_prev=infodir ;;
1088 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1089 infodir=$ac_optarg ;;
1091 -libdir | --libdir | --libdi | --libd)
1092 ac_prev=libdir ;;
1093 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1094 libdir=$ac_optarg ;;
1096 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1097 | --libexe | --libex | --libe)
1098 ac_prev=libexecdir ;;
1099 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1100 | --libexe=* | --libex=* | --libe=*)
1101 libexecdir=$ac_optarg ;;
1103 -localedir | --localedir | --localedi | --localed | --locale)
1104 ac_prev=localedir ;;
1105 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1106 localedir=$ac_optarg ;;
1108 -localstatedir | --localstatedir | --localstatedi | --localstated \
1109 | --localstate | --localstat | --localsta | --localst | --locals)
1110 ac_prev=localstatedir ;;
1111 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1112 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1113 localstatedir=$ac_optarg ;;
1115 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1116 ac_prev=mandir ;;
1117 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1118 mandir=$ac_optarg ;;
1120 -nfp | --nfp | --nf)
1121 # Obsolete; use --without-fp.
1122 with_fp=no ;;
1124 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1125 | --no-cr | --no-c | -n)
1126 no_create=yes ;;
1128 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1129 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1130 no_recursion=yes ;;
1132 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1133 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1134 | --oldin | --oldi | --old | --ol | --o)
1135 ac_prev=oldincludedir ;;
1136 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1137 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1138 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1139 oldincludedir=$ac_optarg ;;
1141 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1142 ac_prev=prefix ;;
1143 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1144 prefix=$ac_optarg ;;
1146 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1147 | --program-pre | --program-pr | --program-p)
1148 ac_prev=program_prefix ;;
1149 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1150 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1151 program_prefix=$ac_optarg ;;
1153 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1154 | --program-suf | --program-su | --program-s)
1155 ac_prev=program_suffix ;;
1156 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1157 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1158 program_suffix=$ac_optarg ;;
1160 -program-transform-name | --program-transform-name \
1161 | --program-transform-nam | --program-transform-na \
1162 | --program-transform-n | --program-transform- \
1163 | --program-transform | --program-transfor \
1164 | --program-transfo | --program-transf \
1165 | --program-trans | --program-tran \
1166 | --progr-tra | --program-tr | --program-t)
1167 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1177 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1178 ac_prev=pdfdir ;;
1179 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1180 pdfdir=$ac_optarg ;;
1182 -psdir | --psdir | --psdi | --psd | --ps)
1183 ac_prev=psdir ;;
1184 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1185 psdir=$ac_optarg ;;
1187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1188 | -silent | --silent | --silen | --sile | --sil)
1189 silent=yes ;;
1191 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1192 ac_prev=sbindir ;;
1193 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1194 | --sbi=* | --sb=*)
1195 sbindir=$ac_optarg ;;
1197 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1198 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1199 | --sharedst | --shareds | --shared | --share | --shar \
1200 | --sha | --sh)
1201 ac_prev=sharedstatedir ;;
1202 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1203 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1204 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1205 | --sha=* | --sh=*)
1206 sharedstatedir=$ac_optarg ;;
1208 -site | --site | --sit)
1209 ac_prev=site ;;
1210 -site=* | --site=* | --sit=*)
1211 site=$ac_optarg ;;
1213 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1214 ac_prev=srcdir ;;
1215 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1216 srcdir=$ac_optarg ;;
1218 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1219 | --syscon | --sysco | --sysc | --sys | --sy)
1220 ac_prev=sysconfdir ;;
1221 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1222 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1223 sysconfdir=$ac_optarg ;;
1225 -target | --target | --targe | --targ | --tar | --ta | --t)
1226 ac_prev=target_alias ;;
1227 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1228 target_alias=$ac_optarg ;;
1230 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1231 verbose=yes ;;
1233 -version | --version | --versio | --versi | --vers | -V)
1234 ac_init_version=: ;;
1236 -with-* | --with-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1245 "with_$ac_useropt"
1246 "*) ;;
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1249 esac
1250 eval with_$ac_useropt=\$ac_optarg ;;
1252 -without-* | --without-*)
1253 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256 as_fn_error "invalid package name: $ac_useropt"
1257 ac_useropt_orig=$ac_useropt
1258 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1261 "with_$ac_useropt"
1262 "*) ;;
1263 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1264 ac_unrecognized_sep=', ';;
1265 esac
1266 eval with_$ac_useropt=no ;;
1268 --x)
1269 # Obsolete; use --with-x.
1270 with_x=yes ;;
1272 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1273 | --x-incl | --x-inc | --x-in | --x-i)
1274 ac_prev=x_includes ;;
1275 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1276 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1277 x_includes=$ac_optarg ;;
1279 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1280 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1281 ac_prev=x_libraries ;;
1282 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1283 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1284 x_libraries=$ac_optarg ;;
1286 -*) as_fn_error "unrecognized option: \`$ac_option'
1287 Try \`$0 --help' for more information."
1290 *=*)
1291 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1292 # Reject names that are not valid shell variable names.
1293 case $ac_envvar in #(
1294 '' | [0-9]* | *[!_$as_cr_alnum]* )
1295 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1296 esac
1297 eval $ac_envvar=\$ac_optarg
1298 export $ac_envvar ;;
1301 # FIXME: should be removed in autoconf 3.0.
1302 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1303 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1304 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1305 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1308 esac
1309 done
1311 if test -n "$ac_prev"; then
1312 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1313 as_fn_error "missing argument to $ac_option"
1316 if test -n "$ac_unrecognized_opts"; then
1317 case $enable_option_checking in
1318 no) ;;
1319 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1320 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1321 esac
1324 # Check all directory arguments for consistency.
1325 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1326 datadir sysconfdir sharedstatedir localstatedir includedir \
1327 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1328 libdir localedir mandir
1330 eval ac_val=\$$ac_var
1331 # Remove trailing slashes.
1332 case $ac_val in
1333 */ )
1334 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1335 eval $ac_var=\$ac_val;;
1336 esac
1337 # Be sure to have absolute directory names.
1338 case $ac_val in
1339 [\\/$]* | ?:[\\/]* ) continue;;
1340 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1341 esac
1342 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1343 done
1345 # There might be people who depend on the old broken behavior: `$host'
1346 # used to hold the argument of --host etc.
1347 # FIXME: To remove some day.
1348 build=$build_alias
1349 host=$host_alias
1350 target=$target_alias
1352 # FIXME: To remove some day.
1353 if test "x$host_alias" != x; then
1354 if test "x$build_alias" = x; then
1355 cross_compiling=maybe
1356 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1357 If a cross compiler is detected then cross compile mode will be used." >&2
1358 elif test "x$build_alias" != "x$host_alias"; then
1359 cross_compiling=yes
1363 ac_tool_prefix=
1364 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1366 test "$silent" = yes && exec 6>/dev/null
1369 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1370 ac_ls_di=`ls -di .` &&
1371 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1372 as_fn_error "working directory cannot be determined"
1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1374 as_fn_error "pwd does not report name of working directory"
1377 # Find the source files, if location was not specified.
1378 if test -z "$srcdir"; then
1379 ac_srcdir_defaulted=yes
1380 # Try the directory containing this script, then the parent directory.
1381 ac_confdir=`$as_dirname -- "$as_myself" ||
1382 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1383 X"$as_myself" : 'X\(//\)[^/]' \| \
1384 X"$as_myself" : 'X\(//\)$' \| \
1385 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1386 $as_echo X"$as_myself" |
1387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1388 s//\1/
1391 /^X\(\/\/\)[^/].*/{
1392 s//\1/
1395 /^X\(\/\/\)$/{
1396 s//\1/
1399 /^X\(\/\).*/{
1400 s//\1/
1403 s/.*/./; q'`
1404 srcdir=$ac_confdir
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1406 srcdir=..
1408 else
1409 ac_srcdir_defaulted=no
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1412 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1413 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1415 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1416 ac_abs_confdir=`(
1417 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1418 pwd)`
1419 # When building in place, set srcdir=.
1420 if test "$ac_abs_confdir" = "$ac_pwd"; then
1421 srcdir=.
1423 # Remove unnecessary trailing slashes from srcdir.
1424 # Double slashes in file names in object file debugging info
1425 # mess up M-x gdb in Emacs.
1426 case $srcdir in
1427 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1428 esac
1429 for ac_var in $ac_precious_vars; do
1430 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1431 eval ac_env_${ac_var}_value=\$${ac_var}
1432 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1433 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1434 done
1437 # Report the --help message.
1439 if test "$ac_init_help" = "long"; then
1440 # Omit some internal or obsolete options to make the list less imposing.
1441 # This message is too long to be a string in the A/UX 3.1 sh.
1442 cat <<_ACEOF
1443 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1445 Usage: $0 [OPTION]... [VAR=VALUE]...
1447 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1448 VAR=VALUE. See below for descriptions of some of the useful variables.
1450 Defaults for the options are specified in brackets.
1452 Configuration:
1453 -h, --help display this help and exit
1454 --help=short display options specific to this package
1455 --help=recursive display the short help of all the included packages
1456 -V, --version display version information and exit
1457 -q, --quiet, --silent do not print \`checking...' messages
1458 --cache-file=FILE cache test results in FILE [disabled]
1459 -C, --config-cache alias for \`--cache-file=config.cache'
1460 -n, --no-create do not create output files
1461 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1463 Installation directories:
1464 --prefix=PREFIX install architecture-independent files in PREFIX
1465 [$ac_default_prefix]
1466 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1467 [PREFIX]
1469 By default, \`make install' will install all the files in
1470 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1471 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1472 for instance \`--prefix=\$HOME'.
1474 For better control, use the options below.
1476 Fine tuning of the installation directories:
1477 --bindir=DIR user executables [EPREFIX/bin]
1478 --sbindir=DIR system admin executables [EPREFIX/sbin]
1479 --libexecdir=DIR program executables [EPREFIX/libexec]
1480 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1481 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1482 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1483 --libdir=DIR object code libraries [EPREFIX/lib]
1484 --includedir=DIR C header files [PREFIX/include]
1485 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1486 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1487 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1488 --infodir=DIR info documentation [DATAROOTDIR/info]
1489 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1490 --mandir=DIR man documentation [DATAROOTDIR/man]
1491 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1492 --htmldir=DIR html documentation [DOCDIR]
1493 --dvidir=DIR dvi documentation [DOCDIR]
1494 --pdfdir=DIR pdf documentation [DOCDIR]
1495 --psdir=DIR ps documentation [DOCDIR]
1496 _ACEOF
1498 cat <<\_ACEOF
1500 Program names:
1501 --program-prefix=PREFIX prepend PREFIX to installed program names
1502 --program-suffix=SUFFIX append SUFFIX to installed program names
1503 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1505 System types:
1506 --build=BUILD configure for building on BUILD [guessed]
1507 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1508 --target=TARGET configure for building compilers for TARGET [HOST]
1509 _ACEOF
1512 if test -n "$ac_init_help"; then
1513 case $ac_init_help in
1514 short | recursive ) echo "Configuration of package-unused version-unused:";;
1515 esac
1516 cat <<\_ACEOF
1518 Optional Features:
1519 --disable-option-checking ignore unrecognized --enable/--with options
1520 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1521 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1522 --enable-multilib build many library versions (default)
1523 --enable-maintainer-mode enable make rules and dependencies not useful
1524 (and sometimes confusing) to the casual installer
1525 --enable-shared[=PKGS] build shared libraries [default=yes]
1526 --enable-static[=PKGS] build static libraries [default=yes]
1527 --enable-fast-install[=PKGS]
1528 optimize for fast installation [default=yes]
1529 --disable-libtool-lock avoid locking (might break parallel builds)
1530 --disable-hosted-libstdcxx
1531 only build freestanding C++ runtime support
1532 --disable-libstdcxx-verbose
1533 disable termination messages to standard error
1534 --enable-sjlj-exceptions
1535 force use of builtin_setjmp for exceptions
1536 [default=auto]
1537 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1538 [default=$is_hosted]
1539 --enable-cstdio[=PACKAGE]
1540 use target-specific I/O package [default=stdio]
1541 --enable-clocale[=MODEL]
1542 use MODEL for target locale package [default=auto]
1543 --enable-nls use Native Language Support (default)
1544 --enable-libstdcxx-allocator[=KIND]
1545 use KIND for target std::allocator base
1546 [default=auto]
1547 --enable-cheaders[=KIND]
1548 construct "C" headers for g++ [default=$c_model]
1549 --enable-long-long enable template specializations for 'long long'
1550 [default=yes]
1551 --enable-wchar_t enable template specializations for 'wchar_t'
1552 [default=yes]
1553 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1554 --enable-concept-checks use Boost-derived template checks [default=no]
1555 --enable-libstdcxx-debug-flags=FLAGS
1556 pass compiler FLAGS when building debug library
1557 [default="-gdwarf-4 -g3 -O0"]
1558 --enable-libstdcxx-debug
1559 build extra debug library [default=no]
1560 --enable-cxx-flags=FLAGS
1561 pass compiler FLAGS when building library [default=]
1562 --enable-fully-dynamic-string
1563 do not put empty strings in per-process static
1564 memory [default=no]
1565 --enable-extern-template
1566 enable extern template [default=yes]
1567 --enable-werror turns on -Werror [default=yes]
1568 --enable-vtable-verify enable vtable verify [default=no]
1569 --enable-libstdcxx-time[=KIND]
1570 use KIND for check type [default=auto]
1571 --enable-tls Use thread-local storage [default=yes]
1572 --disable-rpath do not hardcode runtime library paths
1573 --enable-linux-futex use the Linux futex system call [default=default]
1574 --enable-symvers[=STYLE]
1575 enables symbol versioning of the shared library
1576 [default=yes]
1577 --enable-libstdcxx-visibility
1578 enables visibility safe usage [default=yes]
1579 --enable-libstdcxx-threads
1580 enable C++11 threads support [default=auto]
1581 --enable-version-specific-runtime-libs
1582 Specify that runtime libraries should be installed
1583 in a compiler-specific directory
1585 Optional Packages:
1586 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1587 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1588 --with-target-subdir=SUBDIR
1589 configuring in a subdirectory
1590 --with-cross-host=HOST configuring with a cross compiler
1591 --with-newlib assume newlib as a system C library
1592 --with-pic try to use only PIC/non-PIC objects [default=use
1593 both]
1594 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1595 --with-python-dir the location to install Python modules. This path is
1596 relative starting from the prefix.
1597 --with-gnu-ld assume the C compiler uses GNU ld default=no
1598 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1599 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1600 --with-system-libunwind use installed libunwind
1601 --with-gxx-include-dir=DIR
1602 installation directory for include files
1604 Some influential environment variables:
1605 CC C compiler command
1606 CFLAGS C compiler flags
1607 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1608 nonstandard directory <lib dir>
1609 LIBS libraries to pass to the linker, e.g. -l<library>
1610 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1611 you have headers in a nonstandard directory <include dir>
1612 CXX C++ compiler command
1613 CXXFLAGS C++ compiler flags
1614 CPP C preprocessor
1615 CXXCPP C++ preprocessor
1616 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1617 `c++filt', `gc++filt' on PATH.
1619 Use these variables to override the choices made by `configure' or to help
1620 it to find libraries and programs with nonstandard names/locations.
1622 Report bugs to the package provider.
1623 _ACEOF
1624 ac_status=$?
1627 if test "$ac_init_help" = "recursive"; then
1628 # If there are subdirs, report their specific --help.
1629 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1630 test -d "$ac_dir" ||
1631 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1632 continue
1633 ac_builddir=.
1635 case "$ac_dir" in
1636 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1638 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1639 # A ".." for each directory in $ac_dir_suffix.
1640 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1641 case $ac_top_builddir_sub in
1642 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1643 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1644 esac ;;
1645 esac
1646 ac_abs_top_builddir=$ac_pwd
1647 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1648 # for backward compatibility:
1649 ac_top_builddir=$ac_top_build_prefix
1651 case $srcdir in
1652 .) # We are building in place.
1653 ac_srcdir=.
1654 ac_top_srcdir=$ac_top_builddir_sub
1655 ac_abs_top_srcdir=$ac_pwd ;;
1656 [\\/]* | ?:[\\/]* ) # Absolute name.
1657 ac_srcdir=$srcdir$ac_dir_suffix;
1658 ac_top_srcdir=$srcdir
1659 ac_abs_top_srcdir=$srcdir ;;
1660 *) # Relative name.
1661 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1662 ac_top_srcdir=$ac_top_build_prefix$srcdir
1663 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1664 esac
1665 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1667 cd "$ac_dir" || { ac_status=$?; continue; }
1668 # Check for guested configure.
1669 if test -f "$ac_srcdir/configure.gnu"; then
1670 echo &&
1671 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1672 elif test -f "$ac_srcdir/configure"; then
1673 echo &&
1674 $SHELL "$ac_srcdir/configure" --help=recursive
1675 else
1676 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1677 fi || ac_status=$?
1678 cd "$ac_pwd" || { ac_status=$?; break; }
1679 done
1682 test -n "$ac_init_help" && exit $ac_status
1683 if $ac_init_version; then
1684 cat <<\_ACEOF
1685 package-unused configure version-unused
1686 generated by GNU Autoconf 2.64
1688 Copyright (C) 2009 Free Software Foundation, Inc.
1689 This configure script is free software; the Free Software Foundation
1690 gives unlimited permission to copy, distribute and modify it.
1691 _ACEOF
1692 exit
1695 ## ------------------------ ##
1696 ## Autoconf initialization. ##
1697 ## ------------------------ ##
1699 # ac_fn_c_try_compile LINENO
1700 # --------------------------
1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1702 ac_fn_c_try_compile ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 rm -f conftest.$ac_objext
1706 if { { ac_try="$ac_compile"
1707 case "(($ac_try" in
1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1710 esac
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_compile") 2>conftest.err
1714 ac_status=$?
1715 if test -s conftest.err; then
1716 grep -v '^ *+' conftest.err >conftest.er1
1717 cat conftest.er1 >&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_c_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest.$ac_objext; then :
1725 ac_retval=0
1726 else
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1730 ac_retval=1
1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 return $ac_retval
1735 } # ac_fn_c_try_compile
1737 # ac_fn_cxx_try_compile LINENO
1738 # ----------------------------
1739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1740 ac_fn_cxx_try_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 rm -f conftest.$ac_objext
1744 if { { ac_try="$ac_compile"
1745 case "(($ac_try" in
1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1748 esac
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_compile") 2>conftest.err
1752 ac_status=$?
1753 if test -s conftest.err; then
1754 grep -v '^ *+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_cxx_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest.$ac_objext; then :
1763 ac_retval=0
1764 else
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1768 ac_retval=1
1770 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1771 return $ac_retval
1773 } # ac_fn_cxx_try_compile
1775 # ac_fn_c_try_cpp LINENO
1776 # ----------------------
1777 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_c_try_cpp ()
1780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781 if { { ac_try="$ac_cpp conftest.$ac_ext"
1782 case "(($ac_try" in
1783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1785 esac
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1789 ac_status=$?
1790 if test -s conftest.err; then
1791 grep -v '^ *+' conftest.err >conftest.er1
1792 cat conftest.er1 >&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } >/dev/null && {
1797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1799 }; then :
1800 ac_retval=0
1801 else
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1805 ac_retval=1
1807 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1808 return $ac_retval
1810 } # ac_fn_c_try_cpp
1812 # ac_fn_c_try_link LINENO
1813 # -----------------------
1814 # Try to link conftest.$ac_ext, and return whether this succeeded.
1815 ac_fn_c_try_link ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 rm -f conftest.$ac_objext conftest$ac_exeext
1819 if { { ac_try="$ac_link"
1820 case "(($ac_try" in
1821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1822 *) ac_try_echo=$ac_try;;
1823 esac
1824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_link") 2>conftest.err
1827 ac_status=$?
1828 if test -s conftest.err; then
1829 grep -v '^ *+' conftest.err >conftest.er1
1830 cat conftest.er1 >&5
1831 mv -f conftest.er1 conftest.err
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } && {
1835 test -z "$ac_c_werror_flag" ||
1836 test ! -s conftest.err
1837 } && test -s conftest$ac_exeext && {
1838 test "$cross_compiling" = yes ||
1839 $as_test_x conftest$ac_exeext
1840 }; then :
1841 ac_retval=0
1842 else
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1846 ac_retval=1
1848 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1849 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1850 # interfere with the next link command; also delete a directory that is
1851 # left behind by Apple's compiler. We do this before executing the actions.
1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1854 return $ac_retval
1856 } # ac_fn_c_try_link
1858 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1859 # -------------------------------------------------------
1860 # Tests whether HEADER exists and can be compiled using the include files in
1861 # INCLUDES, setting the cache variable VAR accordingly.
1862 ac_fn_c_check_header_compile ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1868 $as_echo_n "(cached) " >&6
1869 else
1870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1873 #include <$2>
1874 _ACEOF
1875 if ac_fn_c_try_compile "$LINENO"; then :
1876 eval "$3=yes"
1877 else
1878 eval "$3=no"
1880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1882 eval ac_res=\$$3
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1885 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1887 } # ac_fn_c_check_header_compile
1889 # ac_fn_c_try_run LINENO
1890 # ----------------------
1891 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1892 # that executables *can* be run.
1893 ac_fn_c_try_run ()
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 if { { ac_try="$ac_link"
1897 case "(($ac_try" in
1898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1900 esac
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_link") 2>&5
1904 ac_status=$?
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1907 { { case "(($ac_try" in
1908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1909 *) ac_try_echo=$ac_try;;
1910 esac
1911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912 $as_echo "$ac_try_echo"; } >&5
1913 (eval "$ac_try") 2>&5
1914 ac_status=$?
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; }; }; then :
1917 ac_retval=0
1918 else
1919 $as_echo "$as_me: program exited with status $ac_status" >&5
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1923 ac_retval=$ac_status
1925 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1926 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1927 return $ac_retval
1929 } # ac_fn_c_try_run
1931 # ac_fn_c_check_func LINENO FUNC VAR
1932 # ----------------------------------
1933 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1934 ac_fn_c_check_func ()
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938 $as_echo_n "checking for $2... " >&6; }
1939 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1940 $as_echo_n "(cached) " >&6
1941 else
1942 if test x$gcc_no_link = xyes; then
1943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1947 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1949 #define $2 innocuous_$2
1951 /* System header to define __stub macros and hopefully few prototypes,
1952 which can conflict with char $2 (); below.
1953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1954 <limits.h> exists even on freestanding compilers. */
1956 #ifdef __STDC__
1957 # include <limits.h>
1958 #else
1959 # include <assert.h>
1960 #endif
1962 #undef $2
1964 /* Override any GCC internal prototype to avoid an error.
1965 Use char because int might match the return type of a GCC
1966 builtin and then its argument prototype would still apply. */
1967 #ifdef __cplusplus
1968 extern "C"
1969 #endif
1970 char $2 ();
1971 /* The GNU C library defines this for functions which it implements
1972 to always fail with ENOSYS. Some functions are actually named
1973 something starting with __ and the normal name is an alias. */
1974 #if defined __stub_$2 || defined __stub___$2
1975 choke me
1976 #endif
1979 main ()
1981 return $2 ();
1983 return 0;
1985 _ACEOF
1986 if ac_fn_c_try_link "$LINENO"; then :
1987 eval "$3=yes"
1988 else
1989 eval "$3=no"
1991 rm -f core conftest.err conftest.$ac_objext \
1992 conftest$ac_exeext conftest.$ac_ext
1994 eval ac_res=\$$3
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 $as_echo "$ac_res" >&6; }
1997 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1999 } # ac_fn_c_check_func
2001 # ac_fn_cxx_try_cpp LINENO
2002 # ------------------------
2003 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2004 ac_fn_cxx_try_cpp ()
2006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007 if { { ac_try="$ac_cpp conftest.$ac_ext"
2008 case "(($ac_try" in
2009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2010 *) ac_try_echo=$ac_try;;
2011 esac
2012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2013 $as_echo "$ac_try_echo"; } >&5
2014 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2015 ac_status=$?
2016 if test -s conftest.err; then
2017 grep -v '^ *+' conftest.err >conftest.er1
2018 cat conftest.er1 >&5
2019 mv -f conftest.er1 conftest.err
2021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022 test $ac_status = 0; } >/dev/null && {
2023 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2024 test ! -s conftest.err
2025 }; then :
2026 ac_retval=0
2027 else
2028 $as_echo "$as_me: failed program was:" >&5
2029 sed 's/^/| /' conftest.$ac_ext >&5
2031 ac_retval=1
2033 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2034 return $ac_retval
2036 } # ac_fn_cxx_try_cpp
2038 # ac_fn_cxx_try_link LINENO
2039 # -------------------------
2040 # Try to link conftest.$ac_ext, and return whether this succeeded.
2041 ac_fn_cxx_try_link ()
2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044 rm -f conftest.$ac_objext conftest$ac_exeext
2045 if { { ac_try="$ac_link"
2046 case "(($ac_try" in
2047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2048 *) ac_try_echo=$ac_try;;
2049 esac
2050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2051 $as_echo "$ac_try_echo"; } >&5
2052 (eval "$ac_link") 2>conftest.err
2053 ac_status=$?
2054 if test -s conftest.err; then
2055 grep -v '^ *+' conftest.err >conftest.er1
2056 cat conftest.er1 >&5
2057 mv -f conftest.er1 conftest.err
2059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2060 test $ac_status = 0; } && {
2061 test -z "$ac_cxx_werror_flag" ||
2062 test ! -s conftest.err
2063 } && test -s conftest$ac_exeext && {
2064 test "$cross_compiling" = yes ||
2065 $as_test_x conftest$ac_exeext
2066 }; then :
2067 ac_retval=0
2068 else
2069 $as_echo "$as_me: failed program was:" >&5
2070 sed 's/^/| /' conftest.$ac_ext >&5
2072 ac_retval=1
2074 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2075 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2076 # interfere with the next link command; also delete a directory that is
2077 # left behind by Apple's compiler. We do this before executing the actions.
2078 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2079 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2080 return $ac_retval
2082 } # ac_fn_cxx_try_link
2084 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2085 # -------------------------------------------------------
2086 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2087 # the include files in INCLUDES and setting the cache variable VAR
2088 # accordingly.
2089 ac_fn_c_check_header_mongrel ()
2091 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2092 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2094 $as_echo_n "checking for $2... " >&6; }
2095 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2096 $as_echo_n "(cached) " >&6
2098 eval ac_res=\$$3
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2100 $as_echo "$ac_res" >&6; }
2101 else
2102 # Is the header compilable?
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2104 $as_echo_n "checking $2 usability... " >&6; }
2105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2108 #include <$2>
2109 _ACEOF
2110 if ac_fn_c_try_compile "$LINENO"; then :
2111 ac_header_compiler=yes
2112 else
2113 ac_header_compiler=no
2115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2117 $as_echo "$ac_header_compiler" >&6; }
2119 # Is the header present?
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2121 $as_echo_n "checking $2 presence... " >&6; }
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123 /* end confdefs.h. */
2124 #include <$2>
2125 _ACEOF
2126 if ac_fn_c_try_cpp "$LINENO"; then :
2127 ac_header_preproc=yes
2128 else
2129 ac_header_preproc=no
2131 rm -f conftest.err conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2133 $as_echo "$ac_header_preproc" >&6; }
2135 # So? What about this header?
2136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2137 yes:no: )
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2139 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2143 no:yes:* )
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2145 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2147 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2149 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2151 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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 esac
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2157 $as_echo_n "checking for $2... " >&6; }
2158 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2159 $as_echo_n "(cached) " >&6
2160 else
2161 eval "$3=\$ac_header_compiler"
2163 eval ac_res=\$$3
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2165 $as_echo "$ac_res" >&6; }
2167 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2169 } # ac_fn_c_check_header_mongrel
2171 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2172 # ---------------------------------------------------------
2173 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2174 # the include files in INCLUDES and setting the cache variable VAR
2175 # accordingly.
2176 ac_fn_cxx_check_header_mongrel ()
2178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2179 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2181 $as_echo_n "checking for $2... " >&6; }
2182 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2183 $as_echo_n "(cached) " >&6
2185 eval ac_res=\$$3
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187 $as_echo "$ac_res" >&6; }
2188 else
2189 # Is the header compilable?
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2191 $as_echo_n "checking $2 usability... " >&6; }
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h. */
2195 #include <$2>
2196 _ACEOF
2197 if ac_fn_cxx_try_compile "$LINENO"; then :
2198 ac_header_compiler=yes
2199 else
2200 ac_header_compiler=no
2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2204 $as_echo "$ac_header_compiler" >&6; }
2206 # Is the header present?
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2208 $as_echo_n "checking $2 presence... " >&6; }
2209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h. */
2211 #include <$2>
2212 _ACEOF
2213 if ac_fn_cxx_try_cpp "$LINENO"; then :
2214 ac_header_preproc=yes
2215 else
2216 ac_header_preproc=no
2218 rm -f conftest.err conftest.$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2220 $as_echo "$ac_header_preproc" >&6; }
2222 # So? What about this header?
2223 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2224 yes:no: )
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2226 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2228 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2230 no:yes:* )
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2232 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2234 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2236 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2238 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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 esac
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2244 $as_echo_n "checking for $2... " >&6; }
2245 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2246 $as_echo_n "(cached) " >&6
2247 else
2248 eval "$3=\$ac_header_compiler"
2250 eval ac_res=\$$3
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2252 $as_echo "$ac_res" >&6; }
2254 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2256 } # ac_fn_cxx_check_header_mongrel
2258 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2259 # --------------------------------------------
2260 # Tries to find the compile-time value of EXPR in a program that includes
2261 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2262 # computed
2263 ac_fn_c_compute_int ()
2265 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2266 if test "$cross_compiling" = yes; then
2267 # Depending upon the size, compute the lo and hi bounds.
2268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h. */
2272 main ()
2274 static int test_array [1 - 2 * !(($2) >= 0)];
2275 test_array [0] = 0
2278 return 0;
2280 _ACEOF
2281 if ac_fn_c_try_compile "$LINENO"; then :
2282 ac_lo=0 ac_mid=0
2283 while :; do
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2288 main ()
2290 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2291 test_array [0] = 0
2294 return 0;
2296 _ACEOF
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 ac_hi=$ac_mid; break
2299 else
2300 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2301 if test $ac_lo -le $ac_mid; then
2302 ac_lo= ac_hi=
2303 break
2305 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2308 done
2309 else
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2314 main ()
2316 static int test_array [1 - 2 * !(($2) < 0)];
2317 test_array [0] = 0
2320 return 0;
2322 _ACEOF
2323 if ac_fn_c_try_compile "$LINENO"; then :
2324 ac_hi=-1 ac_mid=-1
2325 while :; do
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2330 main ()
2332 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2333 test_array [0] = 0
2336 return 0;
2338 _ACEOF
2339 if ac_fn_c_try_compile "$LINENO"; then :
2340 ac_lo=$ac_mid; break
2341 else
2342 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2343 if test $ac_mid -le $ac_hi; then
2344 ac_lo= ac_hi=
2345 break
2347 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2350 done
2351 else
2352 ac_lo= ac_hi=
2354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2357 # Binary search between lo and hi bounds.
2358 while test "x$ac_lo" != "x$ac_hi"; do
2359 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2364 main ()
2366 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2367 test_array [0] = 0
2370 return 0;
2372 _ACEOF
2373 if ac_fn_c_try_compile "$LINENO"; then :
2374 ac_hi=$ac_mid
2375 else
2376 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2379 done
2380 case $ac_lo in #((
2381 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2382 '') ac_retval=1 ;;
2383 esac
2384 else
2385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2386 /* end confdefs.h. */
2388 static long int longval () { return $2; }
2389 static unsigned long int ulongval () { return $2; }
2390 #include <stdio.h>
2391 #include <stdlib.h>
2393 main ()
2396 FILE *f = fopen ("conftest.val", "w");
2397 if (! f)
2398 return 1;
2399 if (($2) < 0)
2401 long int i = longval ();
2402 if (i != ($2))
2403 return 1;
2404 fprintf (f, "%ld", i);
2406 else
2408 unsigned long int i = ulongval ();
2409 if (i != ($2))
2410 return 1;
2411 fprintf (f, "%lu", i);
2413 /* Do not output a trailing newline, as this causes \r\n confusion
2414 on some platforms. */
2415 return ferror (f) || fclose (f) != 0;
2418 return 0;
2420 _ACEOF
2421 if ac_fn_c_try_run "$LINENO"; then :
2422 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2423 else
2424 ac_retval=1
2426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2427 conftest.$ac_objext conftest.beam conftest.$ac_ext
2428 rm -f conftest.val
2431 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2432 return $ac_retval
2434 } # ac_fn_c_compute_int
2436 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2437 # -------------------------------------------
2438 # Tests whether TYPE exists after having included INCLUDES, setting cache
2439 # variable VAR accordingly.
2440 ac_fn_c_check_type ()
2442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2444 $as_echo_n "checking for $2... " >&6; }
2445 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2446 $as_echo_n "(cached) " >&6
2447 else
2448 eval "$3=no"
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2453 main ()
2455 if (sizeof ($2))
2456 return 0;
2458 return 0;
2460 _ACEOF
2461 if ac_fn_c_try_compile "$LINENO"; then :
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2466 main ()
2468 if (sizeof (($2)))
2469 return 0;
2471 return 0;
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2476 else
2477 eval "$3=yes"
2479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2483 eval ac_res=\$$3
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2485 $as_echo "$ac_res" >&6; }
2486 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2488 } # ac_fn_c_check_type
2489 cat >config.log <<_ACEOF
2490 This file contains any messages produced by compilers while
2491 running configure, to aid debugging if configure makes a mistake.
2493 It was created by package-unused $as_me version-unused, which was
2494 generated by GNU Autoconf 2.64. Invocation command line was
2496 $ $0 $@
2498 _ACEOF
2499 exec 5>>config.log
2501 cat <<_ASUNAME
2502 ## --------- ##
2503 ## Platform. ##
2504 ## --------- ##
2506 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2507 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2508 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2509 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2510 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2512 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2513 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2515 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2516 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2517 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2518 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2519 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2520 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2521 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2523 _ASUNAME
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526 for as_dir in $PATH
2528 IFS=$as_save_IFS
2529 test -z "$as_dir" && as_dir=.
2530 $as_echo "PATH: $as_dir"
2531 done
2532 IFS=$as_save_IFS
2534 } >&5
2536 cat >&5 <<_ACEOF
2539 ## ----------- ##
2540 ## Core tests. ##
2541 ## ----------- ##
2543 _ACEOF
2546 # Keep a trace of the command line.
2547 # Strip out --no-create and --no-recursion so they do not pile up.
2548 # Strip out --silent because we don't want to record it for future runs.
2549 # Also quote any args containing shell meta-characters.
2550 # Make two passes to allow for proper duplicate-argument suppression.
2551 ac_configure_args=
2552 ac_configure_args0=
2553 ac_configure_args1=
2554 ac_must_keep_next=false
2555 for ac_pass in 1 2
2557 for ac_arg
2559 case $ac_arg in
2560 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2561 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2562 | -silent | --silent | --silen | --sile | --sil)
2563 continue ;;
2564 *\'*)
2565 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2566 esac
2567 case $ac_pass in
2568 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2570 as_fn_append ac_configure_args1 " '$ac_arg'"
2571 if test $ac_must_keep_next = true; then
2572 ac_must_keep_next=false # Got value, back to normal.
2573 else
2574 case $ac_arg in
2575 *=* | --config-cache | -C | -disable-* | --disable-* \
2576 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2577 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2578 | -with-* | --with-* | -without-* | --without-* | --x)
2579 case "$ac_configure_args0 " in
2580 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2581 esac
2583 -* ) ac_must_keep_next=true ;;
2584 esac
2586 as_fn_append ac_configure_args " '$ac_arg'"
2588 esac
2589 done
2590 done
2591 { ac_configure_args0=; unset ac_configure_args0;}
2592 { ac_configure_args1=; unset ac_configure_args1;}
2594 # When interrupted or exit'd, cleanup temporary files, and complete
2595 # config.log. We remove comments because anyway the quotes in there
2596 # would cause problems or look ugly.
2597 # WARNING: Use '\'' to represent an apostrophe within the trap.
2598 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2599 trap 'exit_status=$?
2600 # Save into config.log some information that might help in debugging.
2602 echo
2604 cat <<\_ASBOX
2605 ## ---------------- ##
2606 ## Cache variables. ##
2607 ## ---------------- ##
2608 _ASBOX
2609 echo
2610 # The following way of writing the cache mishandles newlines in values,
2612 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2613 eval ac_val=\$$ac_var
2614 case $ac_val in #(
2615 *${as_nl}*)
2616 case $ac_var in #(
2617 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2618 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2619 esac
2620 case $ac_var in #(
2621 _ | IFS | as_nl) ;; #(
2622 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2623 *) { eval $ac_var=; unset $ac_var;} ;;
2624 esac ;;
2625 esac
2626 done
2627 (set) 2>&1 |
2628 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2629 *${as_nl}ac_space=\ *)
2630 sed -n \
2631 "s/'\''/'\''\\\\'\'''\''/g;
2632 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2633 ;; #(
2635 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2637 esac |
2638 sort
2640 echo
2642 cat <<\_ASBOX
2643 ## ----------------- ##
2644 ## Output variables. ##
2645 ## ----------------- ##
2646 _ASBOX
2647 echo
2648 for ac_var in $ac_subst_vars
2650 eval ac_val=\$$ac_var
2651 case $ac_val in
2652 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2653 esac
2654 $as_echo "$ac_var='\''$ac_val'\''"
2655 done | sort
2656 echo
2658 if test -n "$ac_subst_files"; then
2659 cat <<\_ASBOX
2660 ## ------------------- ##
2661 ## File substitutions. ##
2662 ## ------------------- ##
2663 _ASBOX
2664 echo
2665 for ac_var in $ac_subst_files
2667 eval ac_val=\$$ac_var
2668 case $ac_val in
2669 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2670 esac
2671 $as_echo "$ac_var='\''$ac_val'\''"
2672 done | sort
2673 echo
2676 if test -s confdefs.h; then
2677 cat <<\_ASBOX
2678 ## ----------- ##
2679 ## confdefs.h. ##
2680 ## ----------- ##
2681 _ASBOX
2682 echo
2683 cat confdefs.h
2684 echo
2686 test "$ac_signal" != 0 &&
2687 $as_echo "$as_me: caught signal $ac_signal"
2688 $as_echo "$as_me: exit $exit_status"
2689 } >&5
2690 rm -f core *.core core.conftest.* &&
2691 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2692 exit $exit_status
2694 for ac_signal in 1 2 13 15; do
2695 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2696 done
2697 ac_signal=0
2699 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2700 rm -f -r conftest* confdefs.h
2702 $as_echo "/* confdefs.h */" > confdefs.h
2704 # Predefined preprocessor variables.
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_NAME "$PACKAGE_NAME"
2708 _ACEOF
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2712 _ACEOF
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2716 _ACEOF
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_STRING "$PACKAGE_STRING"
2720 _ACEOF
2722 cat >>confdefs.h <<_ACEOF
2723 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2724 _ACEOF
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE_URL "$PACKAGE_URL"
2728 _ACEOF
2731 # Let the site file select an alternate cache file if it wants to.
2732 # Prefer an explicitly selected file to automatically selected ones.
2733 ac_site_file1=NONE
2734 ac_site_file2=NONE
2735 if test -n "$CONFIG_SITE"; then
2736 ac_site_file1=$CONFIG_SITE
2737 elif test "x$prefix" != xNONE; then
2738 ac_site_file1=$prefix/share/config.site
2739 ac_site_file2=$prefix/etc/config.site
2740 else
2741 ac_site_file1=$ac_default_prefix/share/config.site
2742 ac_site_file2=$ac_default_prefix/etc/config.site
2744 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2746 test "x$ac_site_file" = xNONE && continue
2747 if test -r "$ac_site_file"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2749 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2750 sed 's/^/| /' "$ac_site_file" >&5
2751 . "$ac_site_file"
2753 done
2755 if test -r "$cache_file"; then
2756 # Some versions of bash will fail to source /dev/null (special
2757 # files actually), so we avoid doing that.
2758 if test -f "$cache_file"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2760 $as_echo "$as_me: loading cache $cache_file" >&6;}
2761 case $cache_file in
2762 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2763 *) . "./$cache_file";;
2764 esac
2766 else
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2768 $as_echo "$as_me: creating cache $cache_file" >&6;}
2769 >$cache_file
2772 # Check that the precious variables saved in the cache have kept the same
2773 # value.
2774 ac_cache_corrupted=false
2775 for ac_var in $ac_precious_vars; do
2776 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2777 eval ac_new_set=\$ac_env_${ac_var}_set
2778 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2779 eval ac_new_val=\$ac_env_${ac_var}_value
2780 case $ac_old_set,$ac_new_set in
2781 set,)
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2783 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2784 ac_cache_corrupted=: ;;
2785 ,set)
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2787 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2788 ac_cache_corrupted=: ;;
2789 ,);;
2791 if test "x$ac_old_val" != "x$ac_new_val"; then
2792 # differences in whitespace do not lead to failure.
2793 ac_old_val_w=`echo x $ac_old_val`
2794 ac_new_val_w=`echo x $ac_new_val`
2795 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2797 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2798 ac_cache_corrupted=:
2799 else
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2801 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2802 eval $ac_var=\$ac_old_val
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2805 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2807 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2808 fi;;
2809 esac
2810 # Pass precious variables to config.status.
2811 if test "$ac_new_set" = set; then
2812 case $ac_new_val in
2813 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2814 *) ac_arg=$ac_var=$ac_new_val ;;
2815 esac
2816 case " $ac_configure_args " in
2817 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2818 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2819 esac
2821 done
2822 if $ac_cache_corrupted; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2826 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2827 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2829 ## -------------------- ##
2830 ## Main body of script. ##
2831 ## -------------------- ##
2833 ac_ext=c
2834 ac_cpp='$CPP $CPPFLAGS'
2835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2844 ac_config_headers="$ac_config_headers config.h"
2847 # This works around the fact that libtool configuration may change LD
2848 # for this particular configuration, but some shells, instead of
2849 # keeping the changes in LD private, export them just because LD is
2850 # exported. Only used at the end of this file.
2851 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2853 # Find the rest of the source tree framework.
2854 # Default to --enable-multilib
2855 # Check whether --enable-multilib was given.
2856 if test "${enable_multilib+set}" = set; then :
2857 enableval=$enable_multilib; case "$enableval" in
2858 yes) multilib=yes ;;
2859 no) multilib=no ;;
2860 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2861 esac
2862 else
2863 multilib=yes
2867 # We may get other options which we leave undocumented:
2868 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2869 # See config-ml.in if you want the gory details.
2871 if test "$srcdir" = "."; then
2872 if test "$with_target_subdir" != "."; then
2873 multi_basedir="$srcdir/$with_multisrctop../.."
2874 else
2875 multi_basedir="$srcdir/$with_multisrctop.."
2877 else
2878 multi_basedir="$srcdir/.."
2882 # Even if the default multilib is not a cross compilation,
2883 # it may be that some of the other multilibs are.
2884 if test $cross_compiling = no && test $multilib = yes \
2885 && test "x${with_multisubdir}" != x ; then
2886 cross_compiling=maybe
2889 ac_config_commands="$ac_config_commands default-1"
2892 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2894 # You will slowly go insane if you do not grok the following fact: when
2895 # building v3 as part of the compiler, the top-level /target/ becomes the
2896 # library's /host/. configure then causes --target to default to --host,
2897 # exactly like any other package using autoconf. Therefore, 'target' and
2898 # 'host' will always be the same. This makes sense both for native and
2899 # cross compilers, just think about it for a little while. :-)
2901 # Also, if v3 is being configured as part of a cross compiler, the top-level
2902 # configure script will pass the "real" host as $with_cross_host.
2904 # Do not delete or change the following two lines. For why, see
2905 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2906 ac_aux_dir=
2907 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2908 for ac_t in install-sh install.sh shtool; do
2909 if test -f "$ac_dir/$ac_t"; then
2910 ac_aux_dir=$ac_dir
2911 ac_install_sh="$ac_aux_dir/$ac_t -c"
2912 break 2
2914 done
2915 done
2916 if test -z "$ac_aux_dir"; then
2917 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2920 # These three variables are undocumented and unsupported,
2921 # and are intended to be withdrawn in a future Autoconf release.
2922 # They can cause serious problems if a builder's source tree is in a directory
2923 # whose full name contains unusual characters.
2924 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2925 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2926 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2929 # Make sure we can run config.sub.
2930 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2931 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2934 $as_echo_n "checking build system type... " >&6; }
2935 if test "${ac_cv_build+set}" = set; then :
2936 $as_echo_n "(cached) " >&6
2937 else
2938 ac_build_alias=$build_alias
2939 test "x$ac_build_alias" = x &&
2940 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2941 test "x$ac_build_alias" = x &&
2942 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2943 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2944 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2948 $as_echo "$ac_cv_build" >&6; }
2949 case $ac_cv_build in
2950 *-*-*) ;;
2951 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2952 esac
2953 build=$ac_cv_build
2954 ac_save_IFS=$IFS; IFS='-'
2955 set x $ac_cv_build
2956 shift
2957 build_cpu=$1
2958 build_vendor=$2
2959 shift; shift
2960 # Remember, the first character of IFS is used to create $*,
2961 # except with old shells:
2962 build_os=$*
2963 IFS=$ac_save_IFS
2964 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2968 $as_echo_n "checking host system type... " >&6; }
2969 if test "${ac_cv_host+set}" = set; then :
2970 $as_echo_n "(cached) " >&6
2971 else
2972 if test "x$host_alias" = x; then
2973 ac_cv_host=$ac_cv_build
2974 else
2975 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2976 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2981 $as_echo "$ac_cv_host" >&6; }
2982 case $ac_cv_host in
2983 *-*-*) ;;
2984 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2985 esac
2986 host=$ac_cv_host
2987 ac_save_IFS=$IFS; IFS='-'
2988 set x $ac_cv_host
2989 shift
2990 host_cpu=$1
2991 host_vendor=$2
2992 shift; shift
2993 # Remember, the first character of IFS is used to create $*,
2994 # except with old shells:
2995 host_os=$*
2996 IFS=$ac_save_IFS
2997 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3001 $as_echo_n "checking target system type... " >&6; }
3002 if test "${ac_cv_target+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 if test "x$target_alias" = x; then
3006 ac_cv_target=$ac_cv_host
3007 else
3008 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3009 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3014 $as_echo "$ac_cv_target" >&6; }
3015 case $ac_cv_target in
3016 *-*-*) ;;
3017 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3018 esac
3019 target=$ac_cv_target
3020 ac_save_IFS=$IFS; IFS='-'
3021 set x $ac_cv_target
3022 shift
3023 target_cpu=$1
3024 target_vendor=$2
3025 shift; shift
3026 # Remember, the first character of IFS is used to create $*,
3027 # except with old shells:
3028 target_os=$*
3029 IFS=$ac_save_IFS
3030 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3033 # The aliases save the names the user supplied, while $host etc.
3034 # will get canonicalized.
3035 test -n "$target_alias" &&
3036 test "$program_prefix$program_suffix$program_transform_name" = \
3037 NONENONEs,x,x, &&
3038 program_prefix=${target_alias}-
3040 target_alias=${target_alias-$host_alias}
3042 # Handy for debugging:
3043 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3045 if test "$build" != "$host"; then
3046 # We are being configured with some form of cross compiler.
3047 GLIBCXX_IS_NATIVE=false
3048 case "$host","$target" in
3049 # Darwin crosses can use the host system's libraries and headers,
3050 # because of the fat library support. Of course, it must be the
3051 # same version of Darwin on both sides. Allow the user to
3052 # just say --target=foo-darwin without a version number to mean
3053 # "the version on this system".
3054 *-*-darwin*,*-*-darwin*)
3055 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3056 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3057 if test $hostos = $targetos -o $targetos = darwin ; then
3058 GLIBCXX_IS_NATIVE=true
3065 esac
3066 else
3067 GLIBCXX_IS_NATIVE=true
3070 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3071 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3072 # 1.x: minimum required version
3073 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3074 # of other PACKAGE_* variables will, however, and there's nothing
3075 # we can do about that; they come from AC_INIT).
3076 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3077 # file in the top srcdir, etc, etc), so stop complaining.
3078 # no-dependencies: turns off auto dependency generation (just for now)
3079 # no-dist: we don't want 'dist' and related rules.
3080 # -Wall: turns on all automake warnings...
3081 # -Wno-portability: ...except this one, since GNU make is now required.
3082 am__api_version='1.11'
3084 # Find a good install program. We prefer a C program (faster),
3085 # so one script is as good as another. But avoid the broken or
3086 # incompatible versions:
3087 # SysV /etc/install, /usr/sbin/install
3088 # SunOS /usr/etc/install
3089 # IRIX /sbin/install
3090 # AIX /bin/install
3091 # AmigaOS /C/install, which installs bootblocks on floppy discs
3092 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3093 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3094 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3095 # OS/2's system install, which has a completely different semantic
3096 # ./install, which can be erroneously created by make from ./install.sh.
3097 # Reject install programs that cannot install multiple files.
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3099 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3100 if test -z "$INSTALL"; then
3101 if test "${ac_cv_path_install+set}" = set; then :
3102 $as_echo_n "(cached) " >&6
3103 else
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 for as_dir in $PATH
3107 IFS=$as_save_IFS
3108 test -z "$as_dir" && as_dir=.
3109 # Account for people who put trailing slashes in PATH elements.
3110 case $as_dir/ in #((
3111 ./ | .// | /[cC]/* | \
3112 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3113 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3114 /usr/ucb/* ) ;;
3116 # OSF1 and SCO ODT 3.0 have their own names for install.
3117 # Don't use installbsd from OSF since it installs stuff as root
3118 # by default.
3119 for ac_prog in ginstall scoinst install; do
3120 for ac_exec_ext in '' $ac_executable_extensions; do
3121 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3122 if test $ac_prog = install &&
3123 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3124 # AIX install. It has an incompatible calling convention.
3126 elif test $ac_prog = install &&
3127 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3128 # program-specific install script used by HP pwplus--don't use.
3130 else
3131 rm -rf conftest.one conftest.two conftest.dir
3132 echo one > conftest.one
3133 echo two > conftest.two
3134 mkdir conftest.dir
3135 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3136 test -s conftest.one && test -s conftest.two &&
3137 test -s conftest.dir/conftest.one &&
3138 test -s conftest.dir/conftest.two
3139 then
3140 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3141 break 3
3145 done
3146 done
3148 esac
3150 done
3151 IFS=$as_save_IFS
3153 rm -rf conftest.one conftest.two conftest.dir
3156 if test "${ac_cv_path_install+set}" = set; then
3157 INSTALL=$ac_cv_path_install
3158 else
3159 # As a last resort, use the slow shell script. Don't cache a
3160 # value for INSTALL within a source directory, because that will
3161 # break other packages using the cache if that directory is
3162 # removed, or if the value is a relative name.
3163 INSTALL=$ac_install_sh
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3167 $as_echo "$INSTALL" >&6; }
3169 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3170 # It thinks the first close brace ends the variable substitution.
3171 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3173 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3175 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3178 $as_echo_n "checking whether build environment is sane... " >&6; }
3179 # Just in case
3180 sleep 1
3181 echo timestamp > conftest.file
3182 # Reject unsafe characters in $srcdir or the absolute working directory
3183 # name. Accept space and tab only in the latter.
3184 am_lf='
3186 case `pwd` in
3187 *[\\\"\#\$\&\'\`$am_lf]*)
3188 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3189 esac
3190 case $srcdir in
3191 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3192 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3193 esac
3195 # Do `set' in a subshell so we don't clobber the current shell's
3196 # arguments. Must try -L first in case configure is actually a
3197 # symlink; some systems play weird games with the mod time of symlinks
3198 # (eg FreeBSD returns the mod time of the symlink's containing
3199 # directory).
3200 if (
3201 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3202 if test "$*" = "X"; then
3203 # -L didn't work.
3204 set X `ls -t "$srcdir/configure" conftest.file`
3206 rm -f conftest.file
3207 if test "$*" != "X $srcdir/configure conftest.file" \
3208 && test "$*" != "X conftest.file $srcdir/configure"; then
3210 # If neither matched, then we have a broken ls. This can happen
3211 # if, for instance, CONFIG_SHELL is bash and it inherits a
3212 # broken ls alias from the environment. This has actually
3213 # happened. Such a system could not be considered "sane".
3214 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3215 alias in your environment" "$LINENO" 5
3218 test "$2" = conftest.file
3220 then
3221 # Ok.
3223 else
3224 as_fn_error "newly created file is older than distributed files!
3225 Check your system clock" "$LINENO" 5
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3228 $as_echo "yes" >&6; }
3229 test "$program_prefix" != NONE &&
3230 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3231 # Use a double $ so make ignores it.
3232 test "$program_suffix" != NONE &&
3233 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3234 # Double any \ or $.
3235 # By default was `s,x,x', remove it if useless.
3236 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3237 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3239 # expand $ac_aux_dir to an absolute path
3240 am_aux_dir=`cd $ac_aux_dir && pwd`
3242 if test x"${MISSING+set}" != xset; then
3243 case $am_aux_dir in
3244 *\ * | *\ *)
3245 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3247 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3248 esac
3250 # Use eval to expand $SHELL
3251 if eval "$MISSING --run true"; then
3252 am_missing_run="$MISSING --run "
3253 else
3254 am_missing_run=
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3256 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3259 if test x"${install_sh}" != xset; then
3260 case $am_aux_dir in
3261 *\ * | *\ *)
3262 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3264 install_sh="\${SHELL} $am_aux_dir/install-sh"
3265 esac
3268 # Installed binaries are usually stripped using `strip' when the user
3269 # run `make install-strip'. However `strip' might not be the right
3270 # tool to use in cross-compilation environments, therefore Automake
3271 # will honor the `STRIP' environment variable to overrule this program.
3272 if test "$cross_compiling" != no; then
3273 if test -n "$ac_tool_prefix"; then
3274 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3275 set dummy ${ac_tool_prefix}strip; ac_word=$2
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277 $as_echo_n "checking for $ac_word... " >&6; }
3278 if test "${ac_cv_prog_STRIP+set}" = set; then :
3279 $as_echo_n "(cached) " >&6
3280 else
3281 if test -n "$STRIP"; then
3282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3283 else
3284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285 for as_dir in $PATH
3287 IFS=$as_save_IFS
3288 test -z "$as_dir" && as_dir=.
3289 for ac_exec_ext in '' $ac_executable_extensions; do
3290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3291 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3293 break 2
3295 done
3296 done
3297 IFS=$as_save_IFS
3301 STRIP=$ac_cv_prog_STRIP
3302 if test -n "$STRIP"; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3304 $as_echo "$STRIP" >&6; }
3305 else
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3312 if test -z "$ac_cv_prog_STRIP"; then
3313 ac_ct_STRIP=$STRIP
3314 # Extract the first word of "strip", so it can be a program name with args.
3315 set dummy strip; ac_word=$2
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3317 $as_echo_n "checking for $ac_word... " >&6; }
3318 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3319 $as_echo_n "(cached) " >&6
3320 else
3321 if test -n "$ac_ct_STRIP"; then
3322 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3323 else
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH
3327 IFS=$as_save_IFS
3328 test -z "$as_dir" && as_dir=.
3329 for ac_exec_ext in '' $ac_executable_extensions; do
3330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3331 ac_cv_prog_ac_ct_STRIP="strip"
3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3333 break 2
3335 done
3336 done
3337 IFS=$as_save_IFS
3341 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3342 if test -n "$ac_ct_STRIP"; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3344 $as_echo "$ac_ct_STRIP" >&6; }
3345 else
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3347 $as_echo "no" >&6; }
3350 if test "x$ac_ct_STRIP" = x; then
3351 STRIP=":"
3352 else
3353 case $cross_compiling:$ac_tool_warned in
3354 yes:)
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3357 ac_tool_warned=yes ;;
3358 esac
3359 STRIP=$ac_ct_STRIP
3361 else
3362 STRIP="$ac_cv_prog_STRIP"
3366 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3369 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3370 if test -z "$MKDIR_P"; then
3371 if test "${ac_cv_path_mkdir+set}" = set; then :
3372 $as_echo_n "(cached) " >&6
3373 else
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3377 IFS=$as_save_IFS
3378 test -z "$as_dir" && as_dir=.
3379 for ac_prog in mkdir gmkdir; do
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3382 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3383 'mkdir (GNU coreutils) '* | \
3384 'mkdir (coreutils) '* | \
3385 'mkdir (fileutils) '4.1*)
3386 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3387 break 3;;
3388 esac
3389 done
3390 done
3391 done
3392 IFS=$as_save_IFS
3396 if test "${ac_cv_path_mkdir+set}" = set; then
3397 MKDIR_P="$ac_cv_path_mkdir -p"
3398 else
3399 # As a last resort, use the slow shell script. Don't cache a
3400 # value for MKDIR_P within a source directory, because that will
3401 # break other packages using the cache if that directory is
3402 # removed, or if the value is a relative name.
3403 test -d ./--version && rmdir ./--version
3404 MKDIR_P="$ac_install_sh -d"
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3408 $as_echo "$MKDIR_P" >&6; }
3410 mkdir_p="$MKDIR_P"
3411 case $mkdir_p in
3412 [\\/$]* | ?:[\\/]*) ;;
3413 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3414 esac
3416 for ac_prog in gawk mawk nawk awk
3418 # Extract the first word of "$ac_prog", so it can be a program name with args.
3419 set dummy $ac_prog; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if test "${ac_cv_prog_AWK+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3424 else
3425 if test -n "$AWK"; then
3426 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3427 else
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429 for as_dir in $PATH
3431 IFS=$as_save_IFS
3432 test -z "$as_dir" && as_dir=.
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3435 ac_cv_prog_AWK="$ac_prog"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3437 break 2
3439 done
3440 done
3441 IFS=$as_save_IFS
3445 AWK=$ac_cv_prog_AWK
3446 if test -n "$AWK"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3448 $as_echo "$AWK" >&6; }
3449 else
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3455 test -n "$AWK" && break
3456 done
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3459 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3460 set x ${MAKE-make}
3461 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3462 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3463 $as_echo_n "(cached) " >&6
3464 else
3465 cat >conftest.make <<\_ACEOF
3466 SHELL = /bin/sh
3467 all:
3468 @echo '@@@%%%=$(MAKE)=@@@%%%'
3469 _ACEOF
3470 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3471 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3472 *@@@%%%=?*=@@@%%%*)
3473 eval ac_cv_prog_make_${ac_make}_set=yes;;
3475 eval ac_cv_prog_make_${ac_make}_set=no;;
3476 esac
3477 rm -f conftest.make
3479 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3481 $as_echo "yes" >&6; }
3482 SET_MAKE=
3483 else
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3485 $as_echo "no" >&6; }
3486 SET_MAKE="MAKE=${MAKE-make}"
3489 rm -rf .tst 2>/dev/null
3490 mkdir .tst 2>/dev/null
3491 if test -d .tst; then
3492 am__leading_dot=.
3493 else
3494 am__leading_dot=_
3496 rmdir .tst 2>/dev/null
3498 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3499 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3500 # is not polluted with repeated "-I."
3501 am__isrc=' -I$(srcdir)'
3502 # test to see if srcdir already configured
3503 if test -f $srcdir/config.status; then
3504 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3508 # test whether we have cygpath
3509 if test -z "$CYGPATH_W"; then
3510 if (cygpath --version) >/dev/null 2>/dev/null; then
3511 CYGPATH_W='cygpath -w'
3512 else
3513 CYGPATH_W=echo
3518 # Define the identity of the package.
3519 PACKAGE='libstdc++'
3520 VERSION='version-unused'
3523 # Some tools Automake needs.
3525 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3528 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3531 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3534 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3537 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3539 # We need awk for the "check" target. The system "awk" is bad on
3540 # some platforms.
3541 # Always define AMTAR for backward compatibility.
3543 AMTAR=${AMTAR-"${am_missing_run}tar"}
3545 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3554 # -fno-builtin must be present here so that a non-conflicting form of
3555 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3557 save_CXXFLAGS="$CXXFLAGS"
3558 CXXFLAGS="$CXXFLAGS -fno-builtin"
3559 ac_ext=c
3560 ac_cpp='$CPP $CPPFLAGS'
3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3564 if test -n "$ac_tool_prefix"; then
3565 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3566 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3568 $as_echo_n "checking for $ac_word... " >&6; }
3569 if test "${ac_cv_prog_CC+set}" = set; then :
3570 $as_echo_n "(cached) " >&6
3571 else
3572 if test -n "$CC"; then
3573 ac_cv_prog_CC="$CC" # Let the user override the test.
3574 else
3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576 for as_dir in $PATH
3578 IFS=$as_save_IFS
3579 test -z "$as_dir" && as_dir=.
3580 for ac_exec_ext in '' $ac_executable_extensions; do
3581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3582 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 break 2
3586 done
3587 done
3588 IFS=$as_save_IFS
3592 CC=$ac_cv_prog_CC
3593 if test -n "$CC"; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3595 $as_echo "$CC" >&6; }
3596 else
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598 $as_echo "no" >&6; }
3603 if test -z "$ac_cv_prog_CC"; then
3604 ac_ct_CC=$CC
3605 # Extract the first word of "gcc", so it can be a program name with args.
3606 set dummy gcc; ac_word=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3610 $as_echo_n "(cached) " >&6
3611 else
3612 if test -n "$ac_ct_CC"; then
3613 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3614 else
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 for as_dir in $PATH
3618 IFS=$as_save_IFS
3619 test -z "$as_dir" && as_dir=.
3620 for ac_exec_ext in '' $ac_executable_extensions; do
3621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622 ac_cv_prog_ac_ct_CC="gcc"
3623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 break 2
3626 done
3627 done
3628 IFS=$as_save_IFS
3632 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3633 if test -n "$ac_ct_CC"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3635 $as_echo "$ac_ct_CC" >&6; }
3636 else
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3641 if test "x$ac_ct_CC" = x; then
3642 CC=""
3643 else
3644 case $cross_compiling:$ac_tool_warned in
3645 yes:)
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3648 ac_tool_warned=yes ;;
3649 esac
3650 CC=$ac_ct_CC
3652 else
3653 CC="$ac_cv_prog_CC"
3656 if test -z "$CC"; then
3657 if test -n "$ac_tool_prefix"; then
3658 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3659 set dummy ${ac_tool_prefix}cc; ac_word=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if test "${ac_cv_prog_CC+set}" = set; then :
3663 $as_echo_n "(cached) " >&6
3664 else
3665 if test -n "$CC"; then
3666 ac_cv_prog_CC="$CC" # Let the user override the test.
3667 else
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669 for as_dir in $PATH
3671 IFS=$as_save_IFS
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3675 ac_cv_prog_CC="${ac_tool_prefix}cc"
3676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 break 2
3679 done
3680 done
3681 IFS=$as_save_IFS
3685 CC=$ac_cv_prog_CC
3686 if test -n "$CC"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3688 $as_echo "$CC" >&6; }
3689 else
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3697 if test -z "$CC"; then
3698 # Extract the first word of "cc", so it can be a program name with args.
3699 set dummy cc; ac_word=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if test "${ac_cv_prog_CC+set}" = set; then :
3703 $as_echo_n "(cached) " >&6
3704 else
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC="$CC" # Let the user override the test.
3707 else
3708 ac_prog_rejected=no
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3710 for as_dir in $PATH
3712 IFS=$as_save_IFS
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3717 ac_prog_rejected=yes
3718 continue
3720 ac_cv_prog_CC="cc"
3721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 break 2
3724 done
3725 done
3726 IFS=$as_save_IFS
3728 if test $ac_prog_rejected = yes; then
3729 # We found a bogon in the path, so make sure we never use it.
3730 set dummy $ac_cv_prog_CC
3731 shift
3732 if test $# != 0; then
3733 # We chose a different compiler from the bogus one.
3734 # However, it has the same basename, so the bogon will be chosen
3735 # first if we set CC to just the basename; use the full file name.
3736 shift
3737 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3742 CC=$ac_cv_prog_CC
3743 if test -n "$CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3745 $as_echo "$CC" >&6; }
3746 else
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3753 if test -z "$CC"; then
3754 if test -n "$ac_tool_prefix"; then
3755 for ac_prog in cl.exe
3757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3758 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 $as_echo_n "checking for $ac_word... " >&6; }
3761 if test "${ac_cv_prog_CC+set}" = set; then :
3762 $as_echo_n "(cached) " >&6
3763 else
3764 if test -n "$CC"; then
3765 ac_cv_prog_CC="$CC" # Let the user override the test.
3766 else
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 for as_dir in $PATH
3770 IFS=$as_save_IFS
3771 test -z "$as_dir" && as_dir=.
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3774 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 break 2
3778 done
3779 done
3780 IFS=$as_save_IFS
3784 CC=$ac_cv_prog_CC
3785 if test -n "$CC"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3787 $as_echo "$CC" >&6; }
3788 else
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3794 test -n "$CC" && break
3795 done
3797 if test -z "$CC"; then
3798 ac_ct_CC=$CC
3799 for ac_prog in cl.exe
3801 # Extract the first word of "$ac_prog", so it can be a program name with args.
3802 set dummy $ac_prog; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3806 $as_echo_n "(cached) " >&6
3807 else
3808 if test -n "$ac_ct_CC"; then
3809 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3810 else
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3818 ac_cv_prog_ac_ct_CC="$ac_prog"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 break 2
3822 done
3823 done
3824 IFS=$as_save_IFS
3828 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3829 if test -n "$ac_ct_CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3831 $as_echo "$ac_ct_CC" >&6; }
3832 else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3838 test -n "$ac_ct_CC" && break
3839 done
3841 if test "x$ac_ct_CC" = x; then
3842 CC=""
3843 else
3844 case $cross_compiling:$ac_tool_warned in
3845 yes:)
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3848 ac_tool_warned=yes ;;
3849 esac
3850 CC=$ac_ct_CC
3857 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3859 as_fn_error "no acceptable C compiler found in \$PATH
3860 See \`config.log' for more details." "$LINENO" 5; }
3862 # Provide some information about the compiler.
3863 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3864 set X $ac_compile
3865 ac_compiler=$2
3866 for ac_option in --version -v -V -qversion; do
3867 { { ac_try="$ac_compiler $ac_option >&5"
3868 case "(($ac_try" in
3869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3870 *) ac_try_echo=$ac_try;;
3871 esac
3872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3873 $as_echo "$ac_try_echo"; } >&5
3874 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3875 ac_status=$?
3876 if test -s conftest.err; then
3877 sed '10a\
3878 ... rest of stderr output deleted ...
3879 10q' conftest.err >conftest.er1
3880 cat conftest.er1 >&5
3881 rm -f conftest.er1 conftest.err
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }
3885 done
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3891 main ()
3895 return 0;
3897 _ACEOF
3898 # FIXME: Cleanup?
3899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3900 (eval $ac_link) 2>&5
3901 ac_status=$?
3902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3903 test $ac_status = 0; }; then :
3904 gcc_no_link=no
3905 else
3906 gcc_no_link=yes
3908 if test x$gcc_no_link = xyes; then
3909 # Setting cross_compile will disable run tests; it will
3910 # also disable AC_CHECK_FILE but that's generally
3911 # correct if we can't link.
3912 cross_compiling=yes
3913 EXEEXT=
3914 else
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3919 main ()
3923 return 0;
3925 _ACEOF
3926 ac_clean_files_save=$ac_clean_files
3927 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3928 # Try to create an executable without -o first, disregard a.out.
3929 # It will help us diagnose broken compilers, and finding out an intuition
3930 # of exeext.
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3932 $as_echo_n "checking for C compiler default output file name... " >&6; }
3933 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3935 # The possible output files:
3936 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3938 ac_rmfiles=
3939 for ac_file in $ac_files
3941 case $ac_file in
3942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3943 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3944 esac
3945 done
3946 rm -f $ac_rmfiles
3948 if { { ac_try="$ac_link_default"
3949 case "(($ac_try" in
3950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3952 esac
3953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3954 $as_echo "$ac_try_echo"; } >&5
3955 (eval "$ac_link_default") 2>&5
3956 ac_status=$?
3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958 test $ac_status = 0; }; then :
3959 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3960 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3961 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3962 # so that the user can short-circuit this test for compilers unknown to
3963 # Autoconf.
3964 for ac_file in $ac_files ''
3966 test -f "$ac_file" || continue
3967 case $ac_file in
3968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3970 [ab].out )
3971 # We found the default executable, but exeext='' is most
3972 # certainly right.
3973 break;;
3974 *.* )
3975 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3976 then :; else
3977 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3979 # We set ac_cv_exeext here because the later test for it is not
3980 # safe: cross compilers may not add the suffix if given an `-o'
3981 # argument, so we may need to know it at that point already.
3982 # Even if this section looks crufty: it has the advantage of
3983 # actually working.
3984 break;;
3986 break;;
3987 esac
3988 done
3989 test "$ac_cv_exeext" = no && ac_cv_exeext=
3991 else
3992 ac_file=''
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3995 $as_echo "$ac_file" >&6; }
3996 if test -z "$ac_file"; then :
3997 $as_echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.$ac_ext >&5
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 { as_fn_set_status 77
4003 as_fn_error "C compiler cannot create executables
4004 See \`config.log' for more details." "$LINENO" 5; }; }
4006 ac_exeext=$ac_cv_exeext
4008 # Check that the compiler produces executables we can run. If not, either
4009 # the compiler is broken, or we cross compile.
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4011 $as_echo_n "checking whether the C compiler works... " >&6; }
4012 # If not cross compiling, check that we can run a simple program.
4013 if test "$cross_compiling" != yes; then
4014 if { ac_try='./$ac_file'
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_try") 2>&5
4022 ac_status=$?
4023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4024 test $ac_status = 0; }; }; then
4025 cross_compiling=no
4026 else
4027 if test "$cross_compiling" = maybe; then
4028 cross_compiling=yes
4029 else
4030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4032 as_fn_error "cannot run C compiled programs.
4033 If you meant to cross compile, use \`--host'.
4034 See \`config.log' for more details." "$LINENO" 5; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4039 $as_echo "yes" >&6; }
4041 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4042 ac_clean_files=$ac_clean_files_save
4043 # Check that the compiler produces executables we can run. If not, either
4044 # the compiler is broken, or we cross compile.
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4046 $as_echo_n "checking whether we are cross compiling... " >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4048 $as_echo "$cross_compiling" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4051 $as_echo_n "checking for suffix of executables... " >&6; }
4052 if { { ac_try="$ac_link"
4053 case "(($ac_try" in
4054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055 *) ac_try_echo=$ac_try;;
4056 esac
4057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4058 $as_echo "$ac_try_echo"; } >&5
4059 (eval "$ac_link") 2>&5
4060 ac_status=$?
4061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062 test $ac_status = 0; }; then :
4063 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4064 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4065 # work properly (i.e., refer to `conftest.exe'), while it won't with
4066 # `rm'.
4067 for ac_file in conftest.exe conftest conftest.*; do
4068 test -f "$ac_file" || continue
4069 case $ac_file in
4070 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4071 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4072 break;;
4073 * ) break;;
4074 esac
4075 done
4076 else
4077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4079 as_fn_error "cannot compute suffix of executables: cannot compile and link
4080 See \`config.log' for more details." "$LINENO" 5; }
4082 rm -f conftest$ac_cv_exeext
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4084 $as_echo "$ac_cv_exeext" >&6; }
4086 rm -f conftest.$ac_ext
4087 EXEEXT=$ac_cv_exeext
4088 ac_exeext=$EXEEXT
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4091 $as_echo_n "checking for suffix of object files... " >&6; }
4092 if test "${ac_cv_objext+set}" = set; then :
4093 $as_echo_n "(cached) " >&6
4094 else
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4099 main ()
4103 return 0;
4105 _ACEOF
4106 rm -f conftest.o conftest.obj
4107 if { { ac_try="$ac_compile"
4108 case "(($ac_try" in
4109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110 *) ac_try_echo=$ac_try;;
4111 esac
4112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4113 $as_echo "$ac_try_echo"; } >&5
4114 (eval "$ac_compile") 2>&5
4115 ac_status=$?
4116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4117 test $ac_status = 0; }; then :
4118 for ac_file in conftest.o conftest.obj conftest.*; do
4119 test -f "$ac_file" || continue;
4120 case $ac_file in
4121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4122 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4123 break;;
4124 esac
4125 done
4126 else
4127 $as_echo "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.$ac_ext >&5
4130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4132 as_fn_error "cannot compute suffix of object files: cannot compile
4133 See \`config.log' for more details." "$LINENO" 5; }
4135 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4138 $as_echo "$ac_cv_objext" >&6; }
4139 OBJEXT=$ac_cv_objext
4140 ac_objext=$OBJEXT
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4142 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4143 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4144 $as_echo_n "(cached) " >&6
4145 else
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4150 main ()
4152 #ifndef __GNUC__
4153 choke me
4154 #endif
4157 return 0;
4159 _ACEOF
4160 if ac_fn_c_try_compile "$LINENO"; then :
4161 ac_compiler_gnu=yes
4162 else
4163 ac_compiler_gnu=no
4165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4166 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4170 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4171 if test $ac_compiler_gnu = yes; then
4172 GCC=yes
4173 else
4174 GCC=
4176 ac_test_CFLAGS=${CFLAGS+set}
4177 ac_save_CFLAGS=$CFLAGS
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4179 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4180 if test "${ac_cv_prog_cc_g+set}" = set; then :
4181 $as_echo_n "(cached) " >&6
4182 else
4183 ac_save_c_werror_flag=$ac_c_werror_flag
4184 ac_c_werror_flag=yes
4185 ac_cv_prog_cc_g=no
4186 CFLAGS="-g"
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4191 main ()
4195 return 0;
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4199 ac_cv_prog_cc_g=yes
4200 else
4201 CFLAGS=""
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4206 main ()
4210 return 0;
4212 _ACEOF
4213 if ac_fn_c_try_compile "$LINENO"; then :
4215 else
4216 ac_c_werror_flag=$ac_save_c_werror_flag
4217 CFLAGS="-g"
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4222 main ()
4226 return 0;
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_cv_prog_cc_g=yes
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 ac_c_werror_flag=$ac_save_c_werror_flag
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4240 $as_echo "$ac_cv_prog_cc_g" >&6; }
4241 if test "$ac_test_CFLAGS" = set; then
4242 CFLAGS=$ac_save_CFLAGS
4243 elif test $ac_cv_prog_cc_g = yes; then
4244 if test "$GCC" = yes; then
4245 CFLAGS="-g -O2"
4246 else
4247 CFLAGS="-g"
4249 else
4250 if test "$GCC" = yes; then
4251 CFLAGS="-O2"
4252 else
4253 CFLAGS=
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4257 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4258 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4259 $as_echo_n "(cached) " >&6
4260 else
4261 ac_cv_prog_cc_c89=no
4262 ac_save_CC=$CC
4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4265 #include <stdarg.h>
4266 #include <stdio.h>
4267 #include <sys/types.h>
4268 #include <sys/stat.h>
4269 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4270 struct buf { int x; };
4271 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4272 static char *e (p, i)
4273 char **p;
4274 int i;
4276 return p[i];
4278 static char *f (char * (*g) (char **, int), char **p, ...)
4280 char *s;
4281 va_list v;
4282 va_start (v,p);
4283 s = g (p, va_arg (v,int));
4284 va_end (v);
4285 return s;
4288 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4289 function prototypes and stuff, but not '\xHH' hex character constants.
4290 These don't provoke an error unfortunately, instead are silently treated
4291 as 'x'. The following induces an error, until -std is added to get
4292 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4293 array size at least. It's necessary to write '\x00'==0 to get something
4294 that's true only with -std. */
4295 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4297 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4298 inside strings and character constants. */
4299 #define FOO(x) 'x'
4300 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4302 int test (int i, double x);
4303 struct s1 {int (*f) (int a);};
4304 struct s2 {int (*f) (double a);};
4305 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4306 int argc;
4307 char **argv;
4309 main ()
4311 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4313 return 0;
4315 _ACEOF
4316 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4317 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4319 CC="$ac_save_CC $ac_arg"
4320 if ac_fn_c_try_compile "$LINENO"; then :
4321 ac_cv_prog_cc_c89=$ac_arg
4323 rm -f core conftest.err conftest.$ac_objext
4324 test "x$ac_cv_prog_cc_c89" != "xno" && break
4325 done
4326 rm -f conftest.$ac_ext
4327 CC=$ac_save_CC
4330 # AC_CACHE_VAL
4331 case "x$ac_cv_prog_cc_c89" in
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4334 $as_echo "none needed" >&6; } ;;
4335 xno)
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4337 $as_echo "unsupported" >&6; } ;;
4339 CC="$CC $ac_cv_prog_cc_c89"
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4341 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4342 esac
4343 if test "x$ac_cv_prog_cc_c89" != xno; then :
4347 ac_ext=c
4348 ac_cpp='$CPP $CPPFLAGS'
4349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4353 ac_ext=cpp
4354 ac_cpp='$CXXCPP $CPPFLAGS'
4355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4358 if test -z "$CXX"; then
4359 if test -n "$CCC"; then
4360 CXX=$CCC
4361 else
4362 if test -n "$ac_tool_prefix"; then
4363 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4368 $as_echo_n "checking for $ac_word... " >&6; }
4369 if test "${ac_cv_prog_CXX+set}" = set; then :
4370 $as_echo_n "(cached) " >&6
4371 else
4372 if test -n "$CXX"; then
4373 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4374 else
4375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 for as_dir in $PATH
4378 IFS=$as_save_IFS
4379 test -z "$as_dir" && as_dir=.
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4384 break 2
4386 done
4387 done
4388 IFS=$as_save_IFS
4392 CXX=$ac_cv_prog_CXX
4393 if test -n "$CXX"; then
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4395 $as_echo "$CXX" >&6; }
4396 else
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4398 $as_echo "no" >&6; }
4402 test -n "$CXX" && break
4403 done
4405 if test -z "$CXX"; then
4406 ac_ct_CXX=$CXX
4407 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4409 # Extract the first word of "$ac_prog", so it can be a program name with args.
4410 set dummy $ac_prog; ac_word=$2
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4412 $as_echo_n "checking for $ac_word... " >&6; }
4413 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4414 $as_echo_n "(cached) " >&6
4415 else
4416 if test -n "$ac_ct_CXX"; then
4417 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4418 else
4419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 for as_dir in $PATH
4422 IFS=$as_save_IFS
4423 test -z "$as_dir" && as_dir=.
4424 for ac_exec_ext in '' $ac_executable_extensions; do
4425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4426 ac_cv_prog_ac_ct_CXX="$ac_prog"
4427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 break 2
4430 done
4431 done
4432 IFS=$as_save_IFS
4436 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4437 if test -n "$ac_ct_CXX"; then
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4439 $as_echo "$ac_ct_CXX" >&6; }
4440 else
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442 $as_echo "no" >&6; }
4446 test -n "$ac_ct_CXX" && break
4447 done
4449 if test "x$ac_ct_CXX" = x; then
4450 CXX="g++"
4451 else
4452 case $cross_compiling:$ac_tool_warned in
4453 yes:)
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4456 ac_tool_warned=yes ;;
4457 esac
4458 CXX=$ac_ct_CXX
4464 # Provide some information about the compiler.
4465 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4466 set X $ac_compile
4467 ac_compiler=$2
4468 for ac_option in --version -v -V -qversion; do
4469 { { ac_try="$ac_compiler $ac_option >&5"
4470 case "(($ac_try" in
4471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4472 *) ac_try_echo=$ac_try;;
4473 esac
4474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4475 $as_echo "$ac_try_echo"; } >&5
4476 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4477 ac_status=$?
4478 if test -s conftest.err; then
4479 sed '10a\
4480 ... rest of stderr output deleted ...
4481 10q' conftest.err >conftest.er1
4482 cat conftest.er1 >&5
4483 rm -f conftest.er1 conftest.err
4485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4486 test $ac_status = 0; }
4487 done
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4490 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4491 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4492 $as_echo_n "(cached) " >&6
4493 else
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4498 main ()
4500 #ifndef __GNUC__
4501 choke me
4502 #endif
4505 return 0;
4507 _ACEOF
4508 if ac_fn_cxx_try_compile "$LINENO"; then :
4509 ac_compiler_gnu=yes
4510 else
4511 ac_compiler_gnu=no
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4518 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4519 if test $ac_compiler_gnu = yes; then
4520 GXX=yes
4521 else
4522 GXX=
4524 ac_test_CXXFLAGS=${CXXFLAGS+set}
4525 ac_save_CXXFLAGS=$CXXFLAGS
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4527 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4528 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4532 ac_cxx_werror_flag=yes
4533 ac_cv_prog_cxx_g=no
4534 CXXFLAGS="-g"
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4539 main ()
4543 return 0;
4545 _ACEOF
4546 if ac_fn_cxx_try_compile "$LINENO"; then :
4547 ac_cv_prog_cxx_g=yes
4548 else
4549 CXXFLAGS=""
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4554 main ()
4558 return 0;
4560 _ACEOF
4561 if ac_fn_cxx_try_compile "$LINENO"; then :
4563 else
4564 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4565 CXXFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_cxx_try_compile "$LINENO"; then :
4578 ac_cv_prog_cxx_g=yes
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4588 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4589 if test "$ac_test_CXXFLAGS" = set; then
4590 CXXFLAGS=$ac_save_CXXFLAGS
4591 elif test $ac_cv_prog_cxx_g = yes; then
4592 if test "$GXX" = yes; then
4593 CXXFLAGS="-g -O2"
4594 else
4595 CXXFLAGS="-g"
4597 else
4598 if test "$GXX" = yes; then
4599 CXXFLAGS="-O2"
4600 else
4601 CXXFLAGS=
4604 ac_ext=c
4605 ac_cpp='$CPP $CPPFLAGS'
4606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4610 CXXFLAGS="$save_CXXFLAGS"
4612 # Runs configure.host, and assorted other critical bits. Sets
4613 # up critical shell variables.
4615 ac_ext=c
4616 ac_cpp='$CPP $CPPFLAGS'
4617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4621 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4622 # On Suns, sometimes $CPP names a directory.
4623 if test -n "$CPP" && test -d "$CPP"; then
4624 CPP=
4626 if test -z "$CPP"; then
4627 if test "${ac_cv_prog_CPP+set}" = set; then :
4628 $as_echo_n "(cached) " >&6
4629 else
4630 # Double quotes because CPP needs to be expanded
4631 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4633 ac_preproc_ok=false
4634 for ac_c_preproc_warn_flag in '' yes
4636 # Use a header file that comes with gcc, so configuring glibc
4637 # with a fresh cross-compiler works.
4638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4639 # <limits.h> exists even on freestanding compilers.
4640 # On the NeXT, cc -E runs the code through the compiler's parser,
4641 # not just through cpp. "Syntax error" is here to catch this case.
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #ifdef __STDC__
4645 # include <limits.h>
4646 #else
4647 # include <assert.h>
4648 #endif
4649 Syntax error
4650 _ACEOF
4651 if ac_fn_c_try_cpp "$LINENO"; then :
4653 else
4654 # Broken: fails on valid input.
4655 continue
4657 rm -f conftest.err conftest.$ac_ext
4659 # OK, works on sane cases. Now check whether nonexistent headers
4660 # can be detected and how.
4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h. */
4663 #include <ac_nonexistent.h>
4664 _ACEOF
4665 if ac_fn_c_try_cpp "$LINENO"; then :
4666 # Broken: success on invalid input.
4667 continue
4668 else
4669 # Passes both tests.
4670 ac_preproc_ok=:
4671 break
4673 rm -f conftest.err conftest.$ac_ext
4675 done
4676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4677 rm -f conftest.err conftest.$ac_ext
4678 if $ac_preproc_ok; then :
4679 break
4682 done
4683 ac_cv_prog_CPP=$CPP
4686 CPP=$ac_cv_prog_CPP
4687 else
4688 ac_cv_prog_CPP=$CPP
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4691 $as_echo "$CPP" >&6; }
4692 ac_preproc_ok=false
4693 for ac_c_preproc_warn_flag in '' yes
4695 # Use a header file that comes with gcc, so configuring glibc
4696 # with a fresh cross-compiler works.
4697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4698 # <limits.h> exists even on freestanding compilers.
4699 # On the NeXT, cc -E runs the code through the compiler's parser,
4700 # not just through cpp. "Syntax error" is here to catch this case.
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4703 #ifdef __STDC__
4704 # include <limits.h>
4705 #else
4706 # include <assert.h>
4707 #endif
4708 Syntax error
4709 _ACEOF
4710 if ac_fn_c_try_cpp "$LINENO"; then :
4712 else
4713 # Broken: fails on valid input.
4714 continue
4716 rm -f conftest.err conftest.$ac_ext
4718 # OK, works on sane cases. Now check whether nonexistent headers
4719 # can be detected and how.
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4722 #include <ac_nonexistent.h>
4723 _ACEOF
4724 if ac_fn_c_try_cpp "$LINENO"; then :
4725 # Broken: success on invalid input.
4726 continue
4727 else
4728 # Passes both tests.
4729 ac_preproc_ok=:
4730 break
4732 rm -f conftest.err conftest.$ac_ext
4734 done
4735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4736 rm -f conftest.err conftest.$ac_ext
4737 if $ac_preproc_ok; then :
4739 else
4740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4742 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4743 See \`config.log' for more details." "$LINENO" 5; }
4746 ac_ext=c
4747 ac_cpp='$CPP $CPPFLAGS'
4748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4754 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4755 if test "${ac_cv_path_GREP+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4757 else
4758 if test -z "$GREP"; then
4759 ac_path_GREP_found=false
4760 # Loop through the user's path and test for each of PROGNAME-LIST
4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4764 IFS=$as_save_IFS
4765 test -z "$as_dir" && as_dir=.
4766 for ac_prog in grep ggrep; do
4767 for ac_exec_ext in '' $ac_executable_extensions; do
4768 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4769 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4770 # Check for GNU ac_path_GREP and select it if it is found.
4771 # Check for GNU $ac_path_GREP
4772 case `"$ac_path_GREP" --version 2>&1` in
4773 *GNU*)
4774 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4776 ac_count=0
4777 $as_echo_n 0123456789 >"conftest.in"
4778 while :
4780 cat "conftest.in" "conftest.in" >"conftest.tmp"
4781 mv "conftest.tmp" "conftest.in"
4782 cp "conftest.in" "conftest.nl"
4783 $as_echo 'GREP' >> "conftest.nl"
4784 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4785 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4786 as_fn_arith $ac_count + 1 && ac_count=$as_val
4787 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4788 # Best one so far, save it but keep looking for a better one
4789 ac_cv_path_GREP="$ac_path_GREP"
4790 ac_path_GREP_max=$ac_count
4792 # 10*(2^10) chars as input seems more than enough
4793 test $ac_count -gt 10 && break
4794 done
4795 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4796 esac
4798 $ac_path_GREP_found && break 3
4799 done
4800 done
4801 done
4802 IFS=$as_save_IFS
4803 if test -z "$ac_cv_path_GREP"; then
4804 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4806 else
4807 ac_cv_path_GREP=$GREP
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4812 $as_echo "$ac_cv_path_GREP" >&6; }
4813 GREP="$ac_cv_path_GREP"
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4817 $as_echo_n "checking for egrep... " >&6; }
4818 if test "${ac_cv_path_EGREP+set}" = set; then :
4819 $as_echo_n "(cached) " >&6
4820 else
4821 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4822 then ac_cv_path_EGREP="$GREP -E"
4823 else
4824 if test -z "$EGREP"; then
4825 ac_path_EGREP_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 egrep; do
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4835 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4836 # Check for GNU ac_path_EGREP and select it if it is found.
4837 # Check for GNU $ac_path_EGREP
4838 case `"$ac_path_EGREP" --version 2>&1` in
4839 *GNU*)
4840 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_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 'EGREP' >> "conftest.nl"
4850 "$ac_path_EGREP" 'EGREP$' < "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_EGREP_max-0}; then
4854 # Best one so far, save it but keep looking for a better one
4855 ac_cv_path_EGREP="$ac_path_EGREP"
4856 ac_path_EGREP_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_EGREP_found && break 3
4865 done
4866 done
4867 done
4868 IFS=$as_save_IFS
4869 if test -z "$ac_cv_path_EGREP"; then
4870 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4872 else
4873 ac_cv_path_EGREP=$EGREP
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4879 $as_echo "$ac_cv_path_EGREP" >&6; }
4880 EGREP="$ac_cv_path_EGREP"
4884 # Keep these sync'd with the list in Makefile.am. The first provides an
4885 # expandable list at autoconf time; the second provides an expandable list
4886 # (i.e., shell variable) at configure time.
4888 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4890 # These need to be absolute paths, yet at the same time need to
4891 # canonicalize only relative paths, because then amd will not unmount
4892 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4893 glibcxx_builddir=`${PWDCMD-pwd}`
4894 case $srcdir in
4895 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4896 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4897 esac
4898 toplevel_builddir=${glibcxx_builddir}/..
4899 toplevel_srcdir=${glibcxx_srcdir}/..
4905 # We use these options to decide which functions to include. They are
4906 # set from the top level.
4908 # Check whether --with-target-subdir was given.
4909 if test "${with_target_subdir+set}" = set; then :
4910 withval=$with_target_subdir;
4915 # Check whether --with-cross-host was given.
4916 if test "${with_cross_host+set}" = set; then :
4917 withval=$with_cross_host;
4922 # Check whether --with-newlib was given.
4923 if test "${with_newlib+set}" = set; then :
4924 withval=$with_newlib;
4928 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4929 # available). Uncomment the next line to force a particular method.
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4931 $as_echo_n "checking whether ln -s works... " >&6; }
4932 LN_S=$as_ln_s
4933 if test "$LN_S" = "ln -s"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4935 $as_echo "yes" >&6; }
4936 else
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4938 $as_echo "no, using $LN_S" >&6; }
4941 #LN_S='cp -p'
4943 if test -n "$ac_tool_prefix"; then
4944 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4945 set dummy ${ac_tool_prefix}as; ac_word=$2
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 $as_echo_n "checking for $ac_word... " >&6; }
4948 if test "${ac_cv_prog_AS+set}" = set; then :
4949 $as_echo_n "(cached) " >&6
4950 else
4951 if test -n "$AS"; then
4952 ac_cv_prog_AS="$AS" # Let the user override the test.
4953 else
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 for as_dir in $PATH
4957 IFS=$as_save_IFS
4958 test -z "$as_dir" && as_dir=.
4959 for ac_exec_ext in '' $ac_executable_extensions; do
4960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4961 ac_cv_prog_AS="${ac_tool_prefix}as"
4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 break 2
4965 done
4966 done
4967 IFS=$as_save_IFS
4971 AS=$ac_cv_prog_AS
4972 if test -n "$AS"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4974 $as_echo "$AS" >&6; }
4975 else
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4982 if test -z "$ac_cv_prog_AS"; then
4983 ac_ct_AS=$AS
4984 # Extract the first word of "as", so it can be a program name with args.
4985 set dummy as; ac_word=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 if test -n "$ac_ct_AS"; then
4992 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4993 else
4994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 for as_dir in $PATH
4997 IFS=$as_save_IFS
4998 test -z "$as_dir" && as_dir=.
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5001 ac_cv_prog_ac_ct_AS="as"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 break 2
5005 done
5006 done
5007 IFS=$as_save_IFS
5011 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5012 if test -n "$ac_ct_AS"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5014 $as_echo "$ac_ct_AS" >&6; }
5015 else
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5020 if test "x$ac_ct_AS" = x; then
5021 AS=""
5022 else
5023 case $cross_compiling:$ac_tool_warned in
5024 yes:)
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5027 ac_tool_warned=yes ;;
5028 esac
5029 AS=$ac_ct_AS
5031 else
5032 AS="$ac_cv_prog_AS"
5035 if test -n "$ac_tool_prefix"; then
5036 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5037 set dummy ${ac_tool_prefix}ar; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if test "${ac_cv_prog_AR+set}" = set; then :
5041 $as_echo_n "(cached) " >&6
5042 else
5043 if test -n "$AR"; then
5044 ac_cv_prog_AR="$AR" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5049 IFS=$as_save_IFS
5050 test -z "$as_dir" && as_dir=.
5051 for ac_exec_ext in '' $ac_executable_extensions; do
5052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5053 ac_cv_prog_AR="${ac_tool_prefix}ar"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 break 2
5057 done
5058 done
5059 IFS=$as_save_IFS
5063 AR=$ac_cv_prog_AR
5064 if test -n "$AR"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5066 $as_echo "$AR" >&6; }
5067 else
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5074 if test -z "$ac_cv_prog_AR"; then
5075 ac_ct_AR=$AR
5076 # Extract the first word of "ar", so it can be a program name with args.
5077 set dummy ar; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5081 $as_echo_n "(cached) " >&6
5082 else
5083 if test -n "$ac_ct_AR"; then
5084 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5085 else
5086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 for as_dir in $PATH
5089 IFS=$as_save_IFS
5090 test -z "$as_dir" && as_dir=.
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5093 ac_cv_prog_ac_ct_AR="ar"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 break 2
5097 done
5098 done
5099 IFS=$as_save_IFS
5103 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5104 if test -n "$ac_ct_AR"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5106 $as_echo "$ac_ct_AR" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5112 if test "x$ac_ct_AR" = x; then
5113 AR=""
5114 else
5115 case $cross_compiling:$ac_tool_warned in
5116 yes:)
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5119 ac_tool_warned=yes ;;
5120 esac
5121 AR=$ac_ct_AR
5123 else
5124 AR="$ac_cv_prog_AR"
5127 if test -n "$ac_tool_prefix"; then
5128 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5129 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5133 $as_echo_n "(cached) " >&6
5134 else
5135 if test -n "$RANLIB"; then
5136 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5141 IFS=$as_save_IFS
5142 test -z "$as_dir" && as_dir=.
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5145 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 break 2
5149 done
5150 done
5151 IFS=$as_save_IFS
5155 RANLIB=$ac_cv_prog_RANLIB
5156 if test -n "$RANLIB"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5158 $as_echo "$RANLIB" >&6; }
5159 else
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5166 if test -z "$ac_cv_prog_RANLIB"; then
5167 ac_ct_RANLIB=$RANLIB
5168 # Extract the first word of "ranlib", so it can be a program name with args.
5169 set dummy ranlib; ac_word=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5173 $as_echo_n "(cached) " >&6
5174 else
5175 if test -n "$ac_ct_RANLIB"; then
5176 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5177 else
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 for as_dir in $PATH
5181 IFS=$as_save_IFS
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5185 ac_cv_prog_ac_ct_RANLIB="ranlib"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 break 2
5189 done
5190 done
5191 IFS=$as_save_IFS
5195 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5196 if test -n "$ac_ct_RANLIB"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5198 $as_echo "$ac_ct_RANLIB" >&6; }
5199 else
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5204 if test "x$ac_ct_RANLIB" = x; then
5205 RANLIB="ranlib-not-found-in-path-error"
5206 else
5207 case $cross_compiling:$ac_tool_warned in
5208 yes:)
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5211 ac_tool_warned=yes ;;
5212 esac
5213 RANLIB=$ac_ct_RANLIB
5215 else
5216 RANLIB="$ac_cv_prog_RANLIB"
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5222 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5223 # Check whether --enable-maintainer-mode was given.
5224 if test "${enable_maintainer_mode+set}" = set; then :
5225 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5226 else
5227 USE_MAINTAINER_MODE=no
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5231 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5232 if test $USE_MAINTAINER_MODE = yes; then
5233 MAINTAINER_MODE_TRUE=
5234 MAINTAINER_MODE_FALSE='#'
5235 else
5236 MAINTAINER_MODE_TRUE='#'
5237 MAINTAINER_MODE_FALSE=
5240 MAINT=$MAINTAINER_MODE_TRUE
5244 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5245 # which are themselves conditionally expanded.
5246 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5247 ## other macros from doing the same. This should be automated.) -pme
5249 # Check for C library flavor since GNU/Linux platforms use different
5250 # configuration directories depending on the C library in use.
5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5254 #include <stdio.h>
5255 #if __UCLIBC__
5256 _using_uclibc
5257 #endif
5259 _ACEOF
5260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5261 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5262 uclibc=yes
5263 else
5264 uclibc=no
5266 rm -f conftest*
5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5272 #include <stdio.h>
5273 #if __BIONIC__
5274 _using_bionic
5275 #endif
5277 _ACEOF
5278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5279 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5280 bionic=yes
5281 else
5282 bionic=no
5284 rm -f conftest*
5287 # Find platform-specific directories containing configuration info.
5288 # Also possibly modify flags used elsewhere, as needed by the platform.
5290 . $glibcxx_srcdir/configure.host
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5292 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5294 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5298 # Libtool setup.
5299 if test "x${with_newlib}" != "xyes"; then
5300 enable_dlopen=yes
5305 case `pwd` in
5306 *\ * | *\ *)
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5308 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5309 esac
5313 macro_version='2.2.7a'
5314 macro_revision='1.3134'
5328 ltmain="$ac_aux_dir/ltmain.sh"
5330 # Backslashify metacharacters that are still active within
5331 # double-quoted strings.
5332 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5334 # Same as above, but do not quote variable references.
5335 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5337 # Sed substitution to delay expansion of an escaped shell variable in a
5338 # double_quote_subst'ed string.
5339 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5341 # Sed substitution to delay expansion of an escaped single quote.
5342 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5344 # Sed substitution to avoid accidental globbing in evaled expressions
5345 no_glob_subst='s/\*/\\\*/g'
5347 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5349 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5352 $as_echo_n "checking how to print strings... " >&6; }
5353 # Test print first, because it will be a builtin if present.
5354 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5355 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5356 ECHO='print -r --'
5357 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5358 ECHO='printf %s\n'
5359 else
5360 # Use this function as a fallback that always works.
5361 func_fallback_echo ()
5363 eval 'cat <<_LTECHO_EOF
5365 _LTECHO_EOF'
5367 ECHO='func_fallback_echo'
5370 # func_echo_all arg...
5371 # Invoke $ECHO with all args, space-separated.
5372 func_echo_all ()
5374 $ECHO ""
5377 case "$ECHO" in
5378 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5379 $as_echo "printf" >&6; } ;;
5380 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5381 $as_echo "print -r" >&6; } ;;
5382 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5383 $as_echo "cat" >&6; } ;;
5384 esac
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5400 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5401 if test "${ac_cv_path_SED+set}" = set; then :
5402 $as_echo_n "(cached) " >&6
5403 else
5404 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5405 for ac_i in 1 2 3 4 5 6 7; do
5406 ac_script="$ac_script$as_nl$ac_script"
5407 done
5408 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5409 { ac_script=; unset ac_script;}
5410 if test -z "$SED"; then
5411 ac_path_SED_found=false
5412 # Loop through the user's path and test for each of PROGNAME-LIST
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH
5416 IFS=$as_save_IFS
5417 test -z "$as_dir" && as_dir=.
5418 for ac_prog in sed gsed; do
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5421 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5422 # Check for GNU ac_path_SED and select it if it is found.
5423 # Check for GNU $ac_path_SED
5424 case `"$ac_path_SED" --version 2>&1` in
5425 *GNU*)
5426 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5428 ac_count=0
5429 $as_echo_n 0123456789 >"conftest.in"
5430 while :
5432 cat "conftest.in" "conftest.in" >"conftest.tmp"
5433 mv "conftest.tmp" "conftest.in"
5434 cp "conftest.in" "conftest.nl"
5435 $as_echo '' >> "conftest.nl"
5436 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5438 as_fn_arith $ac_count + 1 && ac_count=$as_val
5439 if test $ac_count -gt ${ac_path_SED_max-0}; then
5440 # Best one so far, save it but keep looking for a better one
5441 ac_cv_path_SED="$ac_path_SED"
5442 ac_path_SED_max=$ac_count
5444 # 10*(2^10) chars as input seems more than enough
5445 test $ac_count -gt 10 && break
5446 done
5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5448 esac
5450 $ac_path_SED_found && break 3
5451 done
5452 done
5453 done
5454 IFS=$as_save_IFS
5455 if test -z "$ac_cv_path_SED"; then
5456 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5458 else
5459 ac_cv_path_SED=$SED
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5464 $as_echo "$ac_cv_path_SED" >&6; }
5465 SED="$ac_cv_path_SED"
5466 rm -f conftest.sed
5468 test -z "$SED" && SED=sed
5469 Xsed="$SED -e 1s/^X//"
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5482 $as_echo_n "checking for fgrep... " >&6; }
5483 if test "${ac_cv_path_FGREP+set}" = set; then :
5484 $as_echo_n "(cached) " >&6
5485 else
5486 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5487 then ac_cv_path_FGREP="$GREP -F"
5488 else
5489 if test -z "$FGREP"; then
5490 ac_path_FGREP_found=false
5491 # Loop through the user's path and test for each of PROGNAME-LIST
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5495 IFS=$as_save_IFS
5496 test -z "$as_dir" && as_dir=.
5497 for ac_prog in fgrep; do
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5500 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5501 # Check for GNU ac_path_FGREP and select it if it is found.
5502 # Check for GNU $ac_path_FGREP
5503 case `"$ac_path_FGREP" --version 2>&1` in
5504 *GNU*)
5505 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5507 ac_count=0
5508 $as_echo_n 0123456789 >"conftest.in"
5509 while :
5511 cat "conftest.in" "conftest.in" >"conftest.tmp"
5512 mv "conftest.tmp" "conftest.in"
5513 cp "conftest.in" "conftest.nl"
5514 $as_echo 'FGREP' >> "conftest.nl"
5515 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5516 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5517 as_fn_arith $ac_count + 1 && ac_count=$as_val
5518 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5519 # Best one so far, save it but keep looking for a better one
5520 ac_cv_path_FGREP="$ac_path_FGREP"
5521 ac_path_FGREP_max=$ac_count
5523 # 10*(2^10) chars as input seems more than enough
5524 test $ac_count -gt 10 && break
5525 done
5526 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5527 esac
5529 $ac_path_FGREP_found && break 3
5530 done
5531 done
5532 done
5533 IFS=$as_save_IFS
5534 if test -z "$ac_cv_path_FGREP"; then
5535 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5537 else
5538 ac_cv_path_FGREP=$FGREP
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5544 $as_echo "$ac_cv_path_FGREP" >&6; }
5545 FGREP="$ac_cv_path_FGREP"
5548 test -z "$GREP" && GREP=grep
5568 # Check whether --with-gnu-ld was given.
5569 if test "${with_gnu_ld+set}" = set; then :
5570 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5571 else
5572 with_gnu_ld=no
5575 ac_prog=ld
5576 if test "$GCC" = yes; then
5577 # Check if gcc -print-prog-name=ld gives a path.
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5579 $as_echo_n "checking for ld used by $CC... " >&6; }
5580 case $host in
5581 *-*-mingw*)
5582 # gcc leaves a trailing carriage return which upsets mingw
5583 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5585 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5586 esac
5587 case $ac_prog in
5588 # Accept absolute paths.
5589 [\\/]* | ?:[\\/]*)
5590 re_direlt='/[^/][^/]*/\.\./'
5591 # Canonicalize the pathname of ld
5592 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5593 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5594 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5595 done
5596 test -z "$LD" && LD="$ac_prog"
5599 # If it fails, then pretend we aren't using GCC.
5600 ac_prog=ld
5603 # If it is relative, then search for the first ld in PATH.
5604 with_gnu_ld=unknown
5606 esac
5607 elif test "$with_gnu_ld" = yes; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5609 $as_echo_n "checking for GNU ld... " >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5612 $as_echo_n "checking for non-GNU ld... " >&6; }
5614 if test "${lt_cv_path_LD+set}" = set; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -z "$LD"; then
5618 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5619 for ac_dir in $PATH; do
5620 IFS="$lt_save_ifs"
5621 test -z "$ac_dir" && ac_dir=.
5622 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5623 lt_cv_path_LD="$ac_dir/$ac_prog"
5624 # Check to see if the program is GNU ld. I'd rather use --version,
5625 # but apparently some variants of GNU ld only accept -v.
5626 # Break only if it was the GNU/non-GNU ld that we prefer.
5627 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5628 *GNU* | *'with BFD'*)
5629 test "$with_gnu_ld" != no && break
5632 test "$with_gnu_ld" != yes && break
5634 esac
5636 done
5637 IFS="$lt_save_ifs"
5638 else
5639 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5643 LD="$lt_cv_path_LD"
5644 if test -n "$LD"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5646 $as_echo "$LD" >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5651 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5653 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5654 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5658 case `$LD -v 2>&1 </dev/null` in
5659 *GNU* | *'with BFD'*)
5660 lt_cv_prog_gnu_ld=yes
5663 lt_cv_prog_gnu_ld=no
5665 esac
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5668 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5669 with_gnu_ld=$lt_cv_prog_gnu_ld
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5680 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5681 if test "${lt_cv_path_NM+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -n "$NM"; then
5685 # Let the user override the test.
5686 lt_cv_path_NM="$NM"
5687 else
5688 lt_nm_to_check="${ac_tool_prefix}nm"
5689 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5690 lt_nm_to_check="$lt_nm_to_check nm"
5692 for lt_tmp_nm in $lt_nm_to_check; do
5693 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5694 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5695 IFS="$lt_save_ifs"
5696 test -z "$ac_dir" && ac_dir=.
5697 tmp_nm="$ac_dir/$lt_tmp_nm"
5698 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5699 # Check to see if the nm accepts a BSD-compat flag.
5700 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5701 # nm: unknown option "B" ignored
5702 # Tru64's nm complains that /dev/null is an invalid object file
5703 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5704 */dev/null* | *'Invalid file or object type'*)
5705 lt_cv_path_NM="$tmp_nm -B"
5706 break
5709 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5710 */dev/null*)
5711 lt_cv_path_NM="$tmp_nm -p"
5712 break
5715 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5716 continue # so that we can try to find one that supports BSD flags
5718 esac
5720 esac
5722 done
5723 IFS="$lt_save_ifs"
5724 done
5725 : ${lt_cv_path_NM=no}
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5729 $as_echo "$lt_cv_path_NM" >&6; }
5730 if test "$lt_cv_path_NM" != "no"; then
5731 NM="$lt_cv_path_NM"
5732 else
5733 # Didn't find any BSD compatible name lister, look for dumpbin.
5734 if test -n "$DUMPBIN"; then :
5735 # Let the user override the test.
5736 else
5737 if test -n "$ac_tool_prefix"; then
5738 for ac_prog in dumpbin "link -dump"
5740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5745 $as_echo_n "(cached) " >&6
5746 else
5747 if test -n "$DUMPBIN"; then
5748 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5749 else
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 for as_dir in $PATH
5753 IFS=$as_save_IFS
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5757 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 break 2
5761 done
5762 done
5763 IFS=$as_save_IFS
5767 DUMPBIN=$ac_cv_prog_DUMPBIN
5768 if test -n "$DUMPBIN"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5770 $as_echo "$DUMPBIN" >&6; }
5771 else
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5777 test -n "$DUMPBIN" && break
5778 done
5780 if test -z "$DUMPBIN"; then
5781 ac_ct_DUMPBIN=$DUMPBIN
5782 for ac_prog in dumpbin "link -dump"
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy $ac_prog; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5789 $as_echo_n "(cached) " >&6
5790 else
5791 if test -n "$ac_ct_DUMPBIN"; then
5792 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5797 IFS=$as_save_IFS
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5801 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5811 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5812 if test -n "$ac_ct_DUMPBIN"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5814 $as_echo "$ac_ct_DUMPBIN" >&6; }
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5821 test -n "$ac_ct_DUMPBIN" && break
5822 done
5824 if test "x$ac_ct_DUMPBIN" = x; then
5825 DUMPBIN=":"
5826 else
5827 case $cross_compiling:$ac_tool_warned in
5828 yes:)
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5831 ac_tool_warned=yes ;;
5832 esac
5833 DUMPBIN=$ac_ct_DUMPBIN
5837 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5838 *COFF*)
5839 DUMPBIN="$DUMPBIN -symbols"
5842 DUMPBIN=:
5844 esac
5847 if test "$DUMPBIN" != ":"; then
5848 NM="$DUMPBIN"
5851 test -z "$NM" && NM=nm
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5859 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5860 if test "${lt_cv_nm_interface+set}" = set; then :
5861 $as_echo_n "(cached) " >&6
5862 else
5863 lt_cv_nm_interface="BSD nm"
5864 echo "int some_variable = 0;" > conftest.$ac_ext
5865 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5866 (eval "$ac_compile" 2>conftest.err)
5867 cat conftest.err >&5
5868 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5869 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5870 cat conftest.err >&5
5871 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5872 cat conftest.out >&5
5873 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5874 lt_cv_nm_interface="MS dumpbin"
5876 rm -f conftest*
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5879 $as_echo "$lt_cv_nm_interface" >&6; }
5881 # find the maximum length of command line arguments
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5883 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5884 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5888 teststring="ABCD"
5890 case $build_os in
5891 msdosdjgpp*)
5892 # On DJGPP, this test can blow up pretty badly due to problems in libc
5893 # (any single argument exceeding 2000 bytes causes a buffer overrun
5894 # during glob expansion). Even if it were fixed, the result of this
5895 # check would be larger than it should be.
5896 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5899 gnu*)
5900 # Under GNU Hurd, this test is not required because there is
5901 # no limit to the length of command line arguments.
5902 # Libtool will interpret -1 as no limit whatsoever
5903 lt_cv_sys_max_cmd_len=-1;
5906 cygwin* | mingw* | cegcc*)
5907 # On Win9x/ME, this test blows up -- it succeeds, but takes
5908 # about 5 minutes as the teststring grows exponentially.
5909 # Worse, since 9x/ME are not pre-emptively multitasking,
5910 # you end up with a "frozen" computer, even though with patience
5911 # the test eventually succeeds (with a max line length of 256k).
5912 # Instead, let's just punt: use the minimum linelength reported by
5913 # all of the supported platforms: 8192 (on NT/2K/XP).
5914 lt_cv_sys_max_cmd_len=8192;
5917 mint*)
5918 # On MiNT this can take a long time and run out of memory.
5919 lt_cv_sys_max_cmd_len=8192;
5922 amigaos*)
5923 # On AmigaOS with pdksh, this test takes hours, literally.
5924 # So we just punt and use a minimum line length of 8192.
5925 lt_cv_sys_max_cmd_len=8192;
5928 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5929 # This has been around since 386BSD, at least. Likely further.
5930 if test -x /sbin/sysctl; then
5931 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5932 elif test -x /usr/sbin/sysctl; then
5933 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5934 else
5935 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5937 # And add a safety zone
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5939 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5942 interix*)
5943 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5944 lt_cv_sys_max_cmd_len=196608
5947 osf*)
5948 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5949 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5950 # nice to cause kernel panics so lets avoid the loop below.
5951 # First set a reasonable default.
5952 lt_cv_sys_max_cmd_len=16384
5954 if test -x /sbin/sysconfig; then
5955 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5956 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5957 esac
5960 sco3.2v5*)
5961 lt_cv_sys_max_cmd_len=102400
5963 sysv5* | sco5v6* | sysv4.2uw2*)
5964 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5965 if test -n "$kargmax"; then
5966 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5967 else
5968 lt_cv_sys_max_cmd_len=32768
5972 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5973 if test -n "$lt_cv_sys_max_cmd_len"; then
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5975 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5976 else
5977 # Make teststring a little bigger before we do anything with it.
5978 # a 1K string should be a reasonable start.
5979 for i in 1 2 3 4 5 6 7 8 ; do
5980 teststring=$teststring$teststring
5981 done
5982 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5983 # If test is not a shell built-in, we'll probably end up computing a
5984 # maximum length that is only half of the actual maximum length, but
5985 # we can't tell.
5986 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5987 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5988 test $i != 17 # 1/2 MB should be enough
5990 i=`expr $i + 1`
5991 teststring=$teststring$teststring
5992 done
5993 # Only check the string length outside the loop.
5994 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5995 teststring=
5996 # Add a significant safety factor because C++ compilers can tack on
5997 # massive amounts of additional arguments before passing them to the
5998 # linker. It appears as though 1/2 is a usable value.
5999 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6002 esac
6006 if test -n $lt_cv_sys_max_cmd_len ; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6008 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6009 else
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6011 $as_echo "none" >&6; }
6013 max_cmd_len=$lt_cv_sys_max_cmd_len
6020 : ${CP="cp -f"}
6021 : ${MV="mv -f"}
6022 : ${RM="rm -f"}
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6025 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6026 # Try some XSI features
6027 xsi_shell=no
6028 ( _lt_dummy="a/b/c"
6029 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6030 = c,a/b,, \
6031 && eval 'test $(( 1 + 1 )) -eq 2 \
6032 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6033 && xsi_shell=yes
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6035 $as_echo "$xsi_shell" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6039 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6040 lt_shell_append=no
6041 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6042 >/dev/null 2>&1 \
6043 && lt_shell_append=yes
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6045 $as_echo "$lt_shell_append" >&6; }
6048 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6049 lt_unset=unset
6050 else
6051 lt_unset=false
6058 # test EBCDIC or ASCII
6059 case `echo X|tr X '\101'` in
6060 A) # ASCII based system
6061 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6062 lt_SP2NL='tr \040 \012'
6063 lt_NL2SP='tr \015\012 \040\040'
6065 *) # EBCDIC based system
6066 lt_SP2NL='tr \100 \n'
6067 lt_NL2SP='tr \r\n \100\100'
6069 esac
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6080 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6081 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6082 $as_echo_n "(cached) " >&6
6083 else
6084 lt_cv_ld_reload_flag='-r'
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6087 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6088 reload_flag=$lt_cv_ld_reload_flag
6089 case $reload_flag in
6090 "" | " "*) ;;
6091 *) reload_flag=" $reload_flag" ;;
6092 esac
6093 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6094 case $host_os in
6095 darwin*)
6096 if test "$GCC" = yes; then
6097 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6098 else
6099 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6102 esac
6112 if test -n "$ac_tool_prefix"; then
6113 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6114 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6116 $as_echo_n "checking for $ac_word... " >&6; }
6117 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 if test -n "$OBJDUMP"; then
6121 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 test -z "$as_dir" && as_dir=.
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6130 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6132 break 2
6134 done
6135 done
6136 IFS=$as_save_IFS
6140 OBJDUMP=$ac_cv_prog_OBJDUMP
6141 if test -n "$OBJDUMP"; then
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6143 $as_echo "$OBJDUMP" >&6; }
6144 else
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 $as_echo "no" >&6; }
6151 if test -z "$ac_cv_prog_OBJDUMP"; then
6152 ac_ct_OBJDUMP=$OBJDUMP
6153 # Extract the first word of "objdump", so it can be a program name with args.
6154 set dummy objdump; ac_word=$2
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6156 $as_echo_n "checking for $ac_word... " >&6; }
6157 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6158 $as_echo_n "(cached) " >&6
6159 else
6160 if test -n "$ac_ct_OBJDUMP"; then
6161 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6162 else
6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164 for as_dir in $PATH
6166 IFS=$as_save_IFS
6167 test -z "$as_dir" && as_dir=.
6168 for ac_exec_ext in '' $ac_executable_extensions; do
6169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6170 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6172 break 2
6174 done
6175 done
6176 IFS=$as_save_IFS
6180 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6181 if test -n "$ac_ct_OBJDUMP"; then
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6183 $as_echo "$ac_ct_OBJDUMP" >&6; }
6184 else
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6186 $as_echo "no" >&6; }
6189 if test "x$ac_ct_OBJDUMP" = x; then
6190 OBJDUMP="false"
6191 else
6192 case $cross_compiling:$ac_tool_warned in
6193 yes:)
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6196 ac_tool_warned=yes ;;
6197 esac
6198 OBJDUMP=$ac_ct_OBJDUMP
6200 else
6201 OBJDUMP="$ac_cv_prog_OBJDUMP"
6204 test -z "$OBJDUMP" && OBJDUMP=objdump
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6215 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6216 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6217 $as_echo_n "(cached) " >&6
6218 else
6219 lt_cv_file_magic_cmd='$MAGIC_CMD'
6220 lt_cv_file_magic_test_file=
6221 lt_cv_deplibs_check_method='unknown'
6222 # Need to set the preceding variable on all platforms that support
6223 # interlibrary dependencies.
6224 # 'none' -- dependencies not supported.
6225 # `unknown' -- same as none, but documents that we really don't know.
6226 # 'pass_all' -- all dependencies passed with no checks.
6227 # 'test_compile' -- check by making test program.
6228 # 'file_magic [[regex]]' -- check by looking for files in library path
6229 # which responds to the $file_magic_cmd with a given extended regex.
6230 # If you have `file' or equivalent on your system and you're not sure
6231 # whether `pass_all' will *always* work, you probably want this one.
6233 case $host_os in
6234 aix[4-9]*)
6235 lt_cv_deplibs_check_method=pass_all
6238 beos*)
6239 lt_cv_deplibs_check_method=pass_all
6242 bsdi[45]*)
6243 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6244 lt_cv_file_magic_cmd='/usr/bin/file -L'
6245 lt_cv_file_magic_test_file=/shlib/libc.so
6248 cygwin*)
6249 # func_win32_libid is a shell function defined in ltmain.sh
6250 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6251 lt_cv_file_magic_cmd='func_win32_libid'
6254 mingw* | pw32*)
6255 # Base MSYS/MinGW do not provide the 'file' command needed by
6256 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6257 # unless we find 'file', for example because we are cross-compiling.
6258 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6259 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6260 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6261 lt_cv_file_magic_cmd='func_win32_libid'
6262 else
6263 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6264 lt_cv_file_magic_cmd='$OBJDUMP -f'
6268 cegcc*)
6269 # use the weaker test based on 'objdump'. See mingw*.
6270 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6271 lt_cv_file_magic_cmd='$OBJDUMP -f'
6274 darwin* | rhapsody*)
6275 lt_cv_deplibs_check_method=pass_all
6278 freebsd* | dragonfly*)
6279 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6280 case $host_cpu in
6281 i*86 )
6282 # Not sure whether the presence of OpenBSD here was a mistake.
6283 # Let's accept both of them until this is cleared up.
6284 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6285 lt_cv_file_magic_cmd=/usr/bin/file
6286 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6288 esac
6289 else
6290 lt_cv_deplibs_check_method=pass_all
6294 gnu*)
6295 lt_cv_deplibs_check_method=pass_all
6298 haiku*)
6299 lt_cv_deplibs_check_method=pass_all
6302 hpux10.20* | hpux11*)
6303 lt_cv_file_magic_cmd=/usr/bin/file
6304 case $host_cpu in
6305 ia64*)
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6307 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6309 hppa*64*)
6310 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]'
6311 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6314 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6315 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6317 esac
6320 interix[3-9]*)
6321 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6322 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6325 irix5* | irix6* | nonstopux*)
6326 case $LD in
6327 *-32|*"-32 ") libmagic=32-bit;;
6328 *-n32|*"-n32 ") libmagic=N32;;
6329 *-64|*"-64 ") libmagic=64-bit;;
6330 *) libmagic=never-match;;
6331 esac
6332 lt_cv_deplibs_check_method=pass_all
6335 # This must be Linux ELF.
6336 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6337 lt_cv_deplibs_check_method=pass_all
6340 netbsd*)
6341 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6342 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6343 else
6344 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6348 newos6*)
6349 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6350 lt_cv_file_magic_cmd=/usr/bin/file
6351 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6354 *nto* | *qnx*)
6355 lt_cv_deplibs_check_method=pass_all
6358 openbsd*)
6359 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6360 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6361 else
6362 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6366 osf3* | osf4* | osf5*)
6367 lt_cv_deplibs_check_method=pass_all
6370 rdos*)
6371 lt_cv_deplibs_check_method=pass_all
6374 solaris*)
6375 lt_cv_deplibs_check_method=pass_all
6378 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6379 lt_cv_deplibs_check_method=pass_all
6382 sysv4 | sysv4.3*)
6383 case $host_vendor in
6384 motorola)
6385 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]'
6386 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6388 ncr)
6389 lt_cv_deplibs_check_method=pass_all
6391 sequent)
6392 lt_cv_file_magic_cmd='/bin/file'
6393 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6395 sni)
6396 lt_cv_file_magic_cmd='/bin/file'
6397 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6398 lt_cv_file_magic_test_file=/lib/libc.so
6400 siemens)
6401 lt_cv_deplibs_check_method=pass_all
6404 lt_cv_deplibs_check_method=pass_all
6406 esac
6409 tpf*)
6410 lt_cv_deplibs_check_method=pass_all
6412 esac
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6416 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6417 file_magic_cmd=$lt_cv_file_magic_cmd
6418 deplibs_check_method=$lt_cv_deplibs_check_method
6419 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6432 if test -n "$ac_tool_prefix"; then
6433 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6434 set dummy ${ac_tool_prefix}ar; ac_word=$2
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6436 $as_echo_n "checking for $ac_word... " >&6; }
6437 if test "${ac_cv_prog_AR+set}" = set; then :
6438 $as_echo_n "(cached) " >&6
6439 else
6440 if test -n "$AR"; then
6441 ac_cv_prog_AR="$AR" # Let the user override the test.
6442 else
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 for as_dir in $PATH
6446 IFS=$as_save_IFS
6447 test -z "$as_dir" && as_dir=.
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6450 ac_cv_prog_AR="${ac_tool_prefix}ar"
6451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6452 break 2
6454 done
6455 done
6456 IFS=$as_save_IFS
6460 AR=$ac_cv_prog_AR
6461 if test -n "$AR"; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6463 $as_echo "$AR" >&6; }
6464 else
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 $as_echo "no" >&6; }
6471 if test -z "$ac_cv_prog_AR"; then
6472 ac_ct_AR=$AR
6473 # Extract the first word of "ar", so it can be a program name with args.
6474 set dummy ar; ac_word=$2
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6476 $as_echo_n "checking for $ac_word... " >&6; }
6477 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6478 $as_echo_n "(cached) " >&6
6479 else
6480 if test -n "$ac_ct_AR"; then
6481 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6482 else
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484 for as_dir in $PATH
6486 IFS=$as_save_IFS
6487 test -z "$as_dir" && as_dir=.
6488 for ac_exec_ext in '' $ac_executable_extensions; do
6489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6490 ac_cv_prog_ac_ct_AR="ar"
6491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6492 break 2
6494 done
6495 done
6496 IFS=$as_save_IFS
6500 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6501 if test -n "$ac_ct_AR"; then
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6503 $as_echo "$ac_ct_AR" >&6; }
6504 else
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6506 $as_echo "no" >&6; }
6509 if test "x$ac_ct_AR" = x; then
6510 AR="false"
6511 else
6512 case $cross_compiling:$ac_tool_warned in
6513 yes:)
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6516 ac_tool_warned=yes ;;
6517 esac
6518 AR=$ac_ct_AR
6520 else
6521 AR="$ac_cv_prog_AR"
6524 test -z "$AR" && AR=ar
6525 test -z "$AR_FLAGS" && AR_FLAGS=cru
6537 if test -n "$ac_tool_prefix"; then
6538 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6539 set dummy ${ac_tool_prefix}strip; ac_word=$2
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if test "${ac_cv_prog_STRIP+set}" = set; then :
6543 $as_echo_n "(cached) " >&6
6544 else
6545 if test -n "$STRIP"; then
6546 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6547 else
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 for as_dir in $PATH
6551 IFS=$as_save_IFS
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6557 break 2
6559 done
6560 done
6561 IFS=$as_save_IFS
6565 STRIP=$ac_cv_prog_STRIP
6566 if test -n "$STRIP"; then
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6568 $as_echo "$STRIP" >&6; }
6569 else
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6576 if test -z "$ac_cv_prog_STRIP"; then
6577 ac_ct_STRIP=$STRIP
6578 # Extract the first word of "strip", so it can be a program name with args.
6579 set dummy strip; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581 $as_echo_n "checking for $ac_word... " >&6; }
6582 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6583 $as_echo_n "(cached) " >&6
6584 else
6585 if test -n "$ac_ct_STRIP"; then
6586 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6587 else
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 for as_dir in $PATH
6591 IFS=$as_save_IFS
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6595 ac_cv_prog_ac_ct_STRIP="strip"
6596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597 break 2
6599 done
6600 done
6601 IFS=$as_save_IFS
6605 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6606 if test -n "$ac_ct_STRIP"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6608 $as_echo "$ac_ct_STRIP" >&6; }
6609 else
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 $as_echo "no" >&6; }
6614 if test "x$ac_ct_STRIP" = x; then
6615 STRIP=":"
6616 else
6617 case $cross_compiling:$ac_tool_warned in
6618 yes:)
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6621 ac_tool_warned=yes ;;
6622 esac
6623 STRIP=$ac_ct_STRIP
6625 else
6626 STRIP="$ac_cv_prog_STRIP"
6629 test -z "$STRIP" && STRIP=:
6636 if test -n "$ac_tool_prefix"; then
6637 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6638 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640 $as_echo_n "checking for $ac_word... " >&6; }
6641 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6642 $as_echo_n "(cached) " >&6
6643 else
6644 if test -n "$RANLIB"; then
6645 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6646 else
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 for as_dir in $PATH
6650 IFS=$as_save_IFS
6651 test -z "$as_dir" && as_dir=.
6652 for ac_exec_ext in '' $ac_executable_extensions; do
6653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656 break 2
6658 done
6659 done
6660 IFS=$as_save_IFS
6664 RANLIB=$ac_cv_prog_RANLIB
6665 if test -n "$RANLIB"; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6667 $as_echo "$RANLIB" >&6; }
6668 else
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 $as_echo "no" >&6; }
6675 if test -z "$ac_cv_prog_RANLIB"; then
6676 ac_ct_RANLIB=$RANLIB
6677 # Extract the first word of "ranlib", so it can be a program name with args.
6678 set dummy ranlib; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6682 $as_echo_n "(cached) " >&6
6683 else
6684 if test -n "$ac_ct_RANLIB"; then
6685 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6686 else
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 for as_dir in $PATH
6690 IFS=$as_save_IFS
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694 ac_cv_prog_ac_ct_RANLIB="ranlib"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696 break 2
6698 done
6699 done
6700 IFS=$as_save_IFS
6704 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6705 if test -n "$ac_ct_RANLIB"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6707 $as_echo "$ac_ct_RANLIB" >&6; }
6708 else
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6713 if test "x$ac_ct_RANLIB" = x; then
6714 RANLIB=":"
6715 else
6716 case $cross_compiling:$ac_tool_warned in
6717 yes:)
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720 ac_tool_warned=yes ;;
6721 esac
6722 RANLIB=$ac_ct_RANLIB
6724 else
6725 RANLIB="$ac_cv_prog_RANLIB"
6728 test -z "$RANLIB" && RANLIB=:
6735 # Determine commands to create old-style static archives.
6736 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6737 old_postinstall_cmds='chmod 644 $oldlib'
6738 old_postuninstall_cmds=
6740 if test -n "$RANLIB"; then
6741 case $host_os in
6742 openbsd*)
6743 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6746 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6748 esac
6749 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6752 case $host_os in
6753 darwin*)
6754 lock_old_archive_extraction=yes ;;
6756 lock_old_archive_extraction=no ;;
6757 esac
6797 # If no C compiler was specified, use CC.
6798 LTCC=${LTCC-"$CC"}
6800 # If no C compiler flags were specified, use CFLAGS.
6801 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6803 # Allow CC to be a program name with arguments.
6804 compiler=$CC
6807 # Check for command to grab the raw symbol name followed by C symbol from nm.
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6809 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6810 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6811 $as_echo_n "(cached) " >&6
6812 else
6814 # These are sane defaults that work on at least a few old systems.
6815 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6817 # Character class describing NM global symbol codes.
6818 symcode='[BCDEGRST]'
6820 # Regexp to match symbols that can be accessed directly from C.
6821 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6823 # Define system-specific variables.
6824 case $host_os in
6825 aix*)
6826 symcode='[BCDT]'
6828 cygwin* | mingw* | pw32* | cegcc*)
6829 symcode='[ABCDGISTW]'
6831 hpux*)
6832 if test "$host_cpu" = ia64; then
6833 symcode='[ABCDEGRST]'
6836 irix* | nonstopux*)
6837 symcode='[BCDEGRST]'
6839 osf*)
6840 symcode='[BCDEGQRST]'
6842 solaris*)
6843 symcode='[BDRT]'
6845 sco3.2v5*)
6846 symcode='[DT]'
6848 sysv4.2uw2*)
6849 symcode='[DT]'
6851 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6852 symcode='[ABDT]'
6854 sysv4)
6855 symcode='[DFNSTU]'
6857 esac
6859 # If we're using GNU nm, then use its standard symbol codes.
6860 case `$NM -V 2>&1` in
6861 *GNU* | *'with BFD'*)
6862 symcode='[ABCDGIRSTW]' ;;
6863 esac
6865 # Transform an extracted symbol line into a proper C declaration.
6866 # Some systems (esp. on ia64) link data and code symbols differently,
6867 # so use this general approach.
6868 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6870 # Transform an extracted symbol line into symbol name and symbol address
6871 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6872 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'"
6874 # Handle CRLF in mingw tool chain
6875 opt_cr=
6876 case $build_os in
6877 mingw*)
6878 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6880 esac
6882 # Try without a prefix underscore, then with it.
6883 for ac_symprfx in "" "_"; do
6885 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6886 symxfrm="\\1 $ac_symprfx\\2 \\2"
6888 # Write the raw and C identifiers.
6889 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6890 # Fake it for dumpbin and say T for any non-static function
6891 # and D for any global variable.
6892 # Also find C++ and __fastcall symbols from MSVC++,
6893 # which start with @ or ?.
6894 lt_cv_sys_global_symbol_pipe="$AWK '"\
6895 " {last_section=section; section=\$ 3};"\
6896 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6897 " \$ 0!~/External *\|/{next};"\
6898 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6899 " {if(hide[section]) next};"\
6900 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6901 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6902 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6903 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6904 " ' prfx=^$ac_symprfx"
6905 else
6906 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6909 # Check to see that the pipe works correctly.
6910 pipe_works=no
6912 rm -f conftest*
6913 cat > conftest.$ac_ext <<_LT_EOF
6914 #ifdef __cplusplus
6915 extern "C" {
6916 #endif
6917 char nm_test_var;
6918 void nm_test_func(void);
6919 void nm_test_func(void){}
6920 #ifdef __cplusplus
6922 #endif
6923 int main(){nm_test_var='a';nm_test_func();return(0);}
6924 _LT_EOF
6926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6927 (eval $ac_compile) 2>&5
6928 ac_status=$?
6929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6930 test $ac_status = 0; }; then
6931 # Now try to grab the symbols.
6932 nlist=conftest.nm
6933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6934 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6935 ac_status=$?
6936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6937 test $ac_status = 0; } && test -s "$nlist"; then
6938 # Try sorting and uniquifying the output.
6939 if sort "$nlist" | uniq > "$nlist"T; then
6940 mv -f "$nlist"T "$nlist"
6941 else
6942 rm -f "$nlist"T
6945 # Make sure that we snagged all the symbols we need.
6946 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6947 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6948 cat <<_LT_EOF > conftest.$ac_ext
6949 #ifdef __cplusplus
6950 extern "C" {
6951 #endif
6953 _LT_EOF
6954 # Now generate the symbol file.
6955 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6957 cat <<_LT_EOF >> conftest.$ac_ext
6959 /* The mapping between symbol names and symbols. */
6960 const struct {
6961 const char *name;
6962 void *address;
6964 lt__PROGRAM__LTX_preloaded_symbols[] =
6966 { "@PROGRAM@", (void *) 0 },
6967 _LT_EOF
6968 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6969 cat <<\_LT_EOF >> conftest.$ac_ext
6970 {0, (void *) 0}
6973 /* This works around a problem in FreeBSD linker */
6974 #ifdef FREEBSD_WORKAROUND
6975 static const void *lt_preloaded_setup() {
6976 return lt__PROGRAM__LTX_preloaded_symbols;
6978 #endif
6980 #ifdef __cplusplus
6982 #endif
6983 _LT_EOF
6984 # Now try linking the two files.
6985 mv conftest.$ac_objext conftstm.$ac_objext
6986 lt_save_LIBS="$LIBS"
6987 lt_save_CFLAGS="$CFLAGS"
6988 LIBS="conftstm.$ac_objext"
6989 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6991 (eval $ac_link) 2>&5
6992 ac_status=$?
6993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6994 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6995 pipe_works=yes
6997 LIBS="$lt_save_LIBS"
6998 CFLAGS="$lt_save_CFLAGS"
6999 else
7000 echo "cannot find nm_test_func in $nlist" >&5
7002 else
7003 echo "cannot find nm_test_var in $nlist" >&5
7005 else
7006 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7008 else
7009 echo "$progname: failed program was:" >&5
7010 cat conftest.$ac_ext >&5
7012 rm -rf conftest* conftst*
7014 # Do not use the global_symbol_pipe unless it works.
7015 if test "$pipe_works" = yes; then
7016 break
7017 else
7018 lt_cv_sys_global_symbol_pipe=
7020 done
7024 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7025 lt_cv_sys_global_symbol_to_cdecl=
7027 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7029 $as_echo "failed" >&6; }
7030 else
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7032 $as_echo "ok" >&6; }
7056 # Check whether --enable-libtool-lock was given.
7057 if test "${enable_libtool_lock+set}" = set; then :
7058 enableval=$enable_libtool_lock;
7061 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7063 # Some flags need to be propagated to the compiler or linker for good
7064 # libtool support.
7065 case $host in
7066 ia64-*-hpux*)
7067 # Find out which ABI we are using.
7068 echo 'int i;' > conftest.$ac_ext
7069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7070 (eval $ac_compile) 2>&5
7071 ac_status=$?
7072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7073 test $ac_status = 0; }; then
7074 case `/usr/bin/file conftest.$ac_objext` in
7075 *ELF-32*)
7076 HPUX_IA64_MODE="32"
7078 *ELF-64*)
7079 HPUX_IA64_MODE="64"
7081 esac
7083 rm -rf conftest*
7085 *-*-irix6*)
7086 # Find out which ABI we are using.
7087 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7089 (eval $ac_compile) 2>&5
7090 ac_status=$?
7091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7092 test $ac_status = 0; }; then
7093 if test "$lt_cv_prog_gnu_ld" = yes; then
7094 case `/usr/bin/file conftest.$ac_objext` in
7095 *32-bit*)
7096 LD="${LD-ld} -melf32bsmip"
7098 *N32*)
7099 LD="${LD-ld} -melf32bmipn32"
7101 *64-bit*)
7102 LD="${LD-ld} -melf64bmip"
7104 esac
7105 else
7106 case `/usr/bin/file conftest.$ac_objext` in
7107 *32-bit*)
7108 LD="${LD-ld} -32"
7110 *N32*)
7111 LD="${LD-ld} -n32"
7113 *64-bit*)
7114 LD="${LD-ld} -64"
7116 esac
7119 rm -rf conftest*
7122 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7123 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7124 # Find out which ABI we are using.
7125 echo 'int i;' > conftest.$ac_ext
7126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7127 (eval $ac_compile) 2>&5
7128 ac_status=$?
7129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7130 test $ac_status = 0; }; then
7131 case `/usr/bin/file conftest.o` in
7132 *32-bit*)
7133 case $host in
7134 x86_64-*kfreebsd*-gnu)
7135 LD="${LD-ld} -m elf_i386_fbsd"
7137 x86_64-*linux*)
7138 case `/usr/bin/file conftest.o` in
7139 *x86-64*)
7140 LD="${LD-ld} -m elf32_x86_64"
7143 LD="${LD-ld} -m elf_i386"
7145 esac
7147 powerpc64le-*linux*)
7148 LD="${LD-ld} -m elf32lppclinux"
7150 powerpc64-*linux*)
7151 LD="${LD-ld} -m elf32ppclinux"
7153 s390x-*linux*)
7154 LD="${LD-ld} -m elf_s390"
7156 sparc64-*linux*)
7157 LD="${LD-ld} -m elf32_sparc"
7159 esac
7161 *64-bit*)
7162 case $host in
7163 x86_64-*kfreebsd*-gnu)
7164 LD="${LD-ld} -m elf_x86_64_fbsd"
7166 x86_64-*linux*)
7167 LD="${LD-ld} -m elf_x86_64"
7169 powerpcle-*linux*)
7170 LD="${LD-ld} -m elf64lppc"
7172 powerpc-*linux*)
7173 LD="${LD-ld} -m elf64ppc"
7175 s390*-*linux*|s390*-*tpf*)
7176 LD="${LD-ld} -m elf64_s390"
7178 sparc*-*linux*)
7179 LD="${LD-ld} -m elf64_sparc"
7181 esac
7183 esac
7185 rm -rf conftest*
7188 *-*-sco3.2v5*)
7189 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7190 SAVE_CFLAGS="$CFLAGS"
7191 CFLAGS="$CFLAGS -belf"
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7193 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7194 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7195 $as_echo_n "(cached) " >&6
7196 else
7197 ac_ext=c
7198 ac_cpp='$CPP $CPPFLAGS'
7199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7203 if test x$gcc_no_link = xyes; then
7204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7207 /* end confdefs.h. */
7210 main ()
7214 return 0;
7216 _ACEOF
7217 if ac_fn_c_try_link "$LINENO"; then :
7218 lt_cv_cc_needs_belf=yes
7219 else
7220 lt_cv_cc_needs_belf=no
7222 rm -f core conftest.err conftest.$ac_objext \
7223 conftest$ac_exeext conftest.$ac_ext
7224 ac_ext=c
7225 ac_cpp='$CPP $CPPFLAGS'
7226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7232 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7233 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7234 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7235 CFLAGS="$SAVE_CFLAGS"
7238 sparc*-*solaris*)
7239 # Find out which ABI we are using.
7240 echo 'int i;' > conftest.$ac_ext
7241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7242 (eval $ac_compile) 2>&5
7243 ac_status=$?
7244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7245 test $ac_status = 0; }; then
7246 case `/usr/bin/file conftest.o` in
7247 *64-bit*)
7248 case $lt_cv_prog_gnu_ld in
7249 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7251 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7252 LD="${LD-ld} -64"
7255 esac
7257 esac
7259 rm -rf conftest*
7261 esac
7263 need_locks="$enable_libtool_lock"
7266 case $host_os in
7267 rhapsody* | darwin*)
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7274 $as_echo_n "(cached) " >&6
7275 else
7276 if test -n "$DSYMUTIL"; then
7277 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7282 IFS=$as_save_IFS
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 break 2
7290 done
7291 done
7292 IFS=$as_save_IFS
7296 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7297 if test -n "$DSYMUTIL"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7299 $as_echo "$DSYMUTIL" >&6; }
7300 else
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_DSYMUTIL"; then
7308 ac_ct_DSYMUTIL=$DSYMUTIL
7309 # Extract the first word of "dsymutil", so it can be a program name with args.
7310 set dummy dsymutil; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7314 $as_echo_n "(cached) " >&6
7315 else
7316 if test -n "$ac_ct_DSYMUTIL"; then
7317 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7322 IFS=$as_save_IFS
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 break 2
7330 done
7331 done
7332 IFS=$as_save_IFS
7336 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7337 if test -n "$ac_ct_DSYMUTIL"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7339 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7340 else
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 if test "x$ac_ct_DSYMUTIL" = x; then
7346 DSYMUTIL=":"
7347 else
7348 case $cross_compiling:$ac_tool_warned in
7349 yes:)
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7353 esac
7354 DSYMUTIL=$ac_ct_DSYMUTIL
7356 else
7357 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7360 if test -n "$ac_tool_prefix"; then
7361 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7362 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7366 $as_echo_n "(cached) " >&6
7367 else
7368 if test -n "$NMEDIT"; then
7369 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7370 else
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 for as_dir in $PATH
7374 IFS=$as_save_IFS
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 break 2
7382 done
7383 done
7384 IFS=$as_save_IFS
7388 NMEDIT=$ac_cv_prog_NMEDIT
7389 if test -n "$NMEDIT"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7391 $as_echo "$NMEDIT" >&6; }
7392 else
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7399 if test -z "$ac_cv_prog_NMEDIT"; then
7400 ac_ct_NMEDIT=$NMEDIT
7401 # Extract the first word of "nmedit", so it can be a program name with args.
7402 set dummy nmedit; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7406 $as_echo_n "(cached) " >&6
7407 else
7408 if test -n "$ac_ct_NMEDIT"; then
7409 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7410 else
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 for as_dir in $PATH
7414 IFS=$as_save_IFS
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 break 2
7422 done
7423 done
7424 IFS=$as_save_IFS
7428 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7429 if test -n "$ac_ct_NMEDIT"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7431 $as_echo "$ac_ct_NMEDIT" >&6; }
7432 else
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7437 if test "x$ac_ct_NMEDIT" = x; then
7438 NMEDIT=":"
7439 else
7440 case $cross_compiling:$ac_tool_warned in
7441 yes:)
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7444 ac_tool_warned=yes ;;
7445 esac
7446 NMEDIT=$ac_ct_NMEDIT
7448 else
7449 NMEDIT="$ac_cv_prog_NMEDIT"
7452 if test -n "$ac_tool_prefix"; then
7453 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7454 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if test "${ac_cv_prog_LIPO+set}" = set; then :
7458 $as_echo_n "(cached) " >&6
7459 else
7460 if test -n "$LIPO"; then
7461 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7462 else
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 for as_dir in $PATH
7466 IFS=$as_save_IFS
7467 test -z "$as_dir" && as_dir=.
7468 for ac_exec_ext in '' $ac_executable_extensions; do
7469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7470 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472 break 2
7474 done
7475 done
7476 IFS=$as_save_IFS
7480 LIPO=$ac_cv_prog_LIPO
7481 if test -n "$LIPO"; then
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7483 $as_echo "$LIPO" >&6; }
7484 else
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7491 if test -z "$ac_cv_prog_LIPO"; then
7492 ac_ct_LIPO=$LIPO
7493 # Extract the first word of "lipo", so it can be a program name with args.
7494 set dummy lipo; ac_word=$2
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496 $as_echo_n "checking for $ac_word... " >&6; }
7497 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7498 $as_echo_n "(cached) " >&6
7499 else
7500 if test -n "$ac_ct_LIPO"; then
7501 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7502 else
7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 for as_dir in $PATH
7506 IFS=$as_save_IFS
7507 test -z "$as_dir" && as_dir=.
7508 for ac_exec_ext in '' $ac_executable_extensions; do
7509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7510 ac_cv_prog_ac_ct_LIPO="lipo"
7511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7512 break 2
7514 done
7515 done
7516 IFS=$as_save_IFS
7520 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7521 if test -n "$ac_ct_LIPO"; then
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7523 $as_echo "$ac_ct_LIPO" >&6; }
7524 else
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7529 if test "x$ac_ct_LIPO" = x; then
7530 LIPO=":"
7531 else
7532 case $cross_compiling:$ac_tool_warned in
7533 yes:)
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7536 ac_tool_warned=yes ;;
7537 esac
7538 LIPO=$ac_ct_LIPO
7540 else
7541 LIPO="$ac_cv_prog_LIPO"
7544 if test -n "$ac_tool_prefix"; then
7545 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}otool; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7548 $as_echo_n "checking for $ac_word... " >&6; }
7549 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7551 else
7552 if test -n "$OTOOL"; then
7553 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7554 else
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 for as_dir in $PATH
7558 IFS=$as_save_IFS
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 break 2
7566 done
7567 done
7568 IFS=$as_save_IFS
7572 OTOOL=$ac_cv_prog_OTOOL
7573 if test -n "$OTOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7575 $as_echo "$OTOOL" >&6; }
7576 else
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7578 $as_echo "no" >&6; }
7583 if test -z "$ac_cv_prog_OTOOL"; then
7584 ac_ct_OTOOL=$OTOOL
7585 # Extract the first word of "otool", so it can be a program name with args.
7586 set dummy otool; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7590 $as_echo_n "(cached) " >&6
7591 else
7592 if test -n "$ac_ct_OTOOL"; then
7593 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7594 else
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 for as_dir in $PATH
7598 IFS=$as_save_IFS
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_prog_ac_ct_OTOOL="otool"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7604 break 2
7606 done
7607 done
7608 IFS=$as_save_IFS
7612 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7613 if test -n "$ac_ct_OTOOL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7615 $as_echo "$ac_ct_OTOOL" >&6; }
7616 else
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7621 if test "x$ac_ct_OTOOL" = x; then
7622 OTOOL=":"
7623 else
7624 case $cross_compiling:$ac_tool_warned in
7625 yes:)
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7628 ac_tool_warned=yes ;;
7629 esac
7630 OTOOL=$ac_ct_OTOOL
7632 else
7633 OTOOL="$ac_cv_prog_OTOOL"
7636 if test -n "$ac_tool_prefix"; then
7637 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7638 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7640 $as_echo_n "checking for $ac_word... " >&6; }
7641 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7642 $as_echo_n "(cached) " >&6
7643 else
7644 if test -n "$OTOOL64"; then
7645 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7646 else
7647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7648 for as_dir in $PATH
7650 IFS=$as_save_IFS
7651 test -z "$as_dir" && as_dir=.
7652 for ac_exec_ext in '' $ac_executable_extensions; do
7653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7654 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7656 break 2
7658 done
7659 done
7660 IFS=$as_save_IFS
7664 OTOOL64=$ac_cv_prog_OTOOL64
7665 if test -n "$OTOOL64"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7667 $as_echo "$OTOOL64" >&6; }
7668 else
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7675 if test -z "$ac_cv_prog_OTOOL64"; then
7676 ac_ct_OTOOL64=$OTOOL64
7677 # Extract the first word of "otool64", so it can be a program name with args.
7678 set dummy otool64; ac_word=$2
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680 $as_echo_n "checking for $ac_word... " >&6; }
7681 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7682 $as_echo_n "(cached) " >&6
7683 else
7684 if test -n "$ac_ct_OTOOL64"; then
7685 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7686 else
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 for as_dir in $PATH
7690 IFS=$as_save_IFS
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7694 ac_cv_prog_ac_ct_OTOOL64="otool64"
7695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7696 break 2
7698 done
7699 done
7700 IFS=$as_save_IFS
7704 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7705 if test -n "$ac_ct_OTOOL64"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7707 $as_echo "$ac_ct_OTOOL64" >&6; }
7708 else
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7713 if test "x$ac_ct_OTOOL64" = x; then
7714 OTOOL64=":"
7715 else
7716 case $cross_compiling:$ac_tool_warned in
7717 yes:)
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7720 ac_tool_warned=yes ;;
7721 esac
7722 OTOOL64=$ac_ct_OTOOL64
7724 else
7725 OTOOL64="$ac_cv_prog_OTOOL64"
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7755 $as_echo_n "checking for -single_module linker flag... " >&6; }
7756 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7758 else
7759 lt_cv_apple_cc_single_mod=no
7760 if test -z "${LT_MULTI_MODULE}"; then
7761 # By default we will add the -single_module flag. You can override
7762 # by either setting the environment variable LT_MULTI_MODULE
7763 # non-empty at configure time, or by adding -multi_module to the
7764 # link flags.
7765 rm -rf libconftest.dylib*
7766 echo "int foo(void){return 1;}" > conftest.c
7767 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7768 -dynamiclib -Wl,-single_module conftest.c" >&5
7769 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7770 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7771 _lt_result=$?
7772 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7773 lt_cv_apple_cc_single_mod=yes
7774 else
7775 cat conftest.err >&5
7777 rm -rf libconftest.dylib*
7778 rm -f conftest.*
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7782 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7784 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7785 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7786 $as_echo_n "(cached) " >&6
7787 else
7788 lt_cv_ld_exported_symbols_list=no
7789 save_LDFLAGS=$LDFLAGS
7790 echo "_main" > conftest.sym
7791 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7792 if test x$gcc_no_link = xyes; then
7793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7796 /* end confdefs.h. */
7799 main ()
7803 return 0;
7805 _ACEOF
7806 if ac_fn_c_try_link "$LINENO"; then :
7807 lt_cv_ld_exported_symbols_list=yes
7808 else
7809 lt_cv_ld_exported_symbols_list=no
7811 rm -f core conftest.err conftest.$ac_objext \
7812 conftest$ac_exeext conftest.$ac_ext
7813 LDFLAGS="$save_LDFLAGS"
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7817 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7819 $as_echo_n "checking for -force_load linker flag... " >&6; }
7820 if test "${lt_cv_ld_force_load+set}" = set; then :
7821 $as_echo_n "(cached) " >&6
7822 else
7823 lt_cv_ld_force_load=no
7824 cat > conftest.c << _LT_EOF
7825 int forced_loaded() { return 2;}
7826 _LT_EOF
7827 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7828 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7829 echo "$AR cru libconftest.a conftest.o" >&5
7830 $AR cru libconftest.a conftest.o 2>&5
7831 cat > conftest.c << _LT_EOF
7832 int main() { return 0;}
7833 _LT_EOF
7834 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7835 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7836 _lt_result=$?
7837 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7838 lt_cv_ld_force_load=yes
7839 else
7840 cat conftest.err >&5
7842 rm -f conftest.err libconftest.a conftest conftest.c
7843 rm -rf conftest.dSYM
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7847 $as_echo "$lt_cv_ld_force_load" >&6; }
7848 case $host_os in
7849 rhapsody* | darwin1.[012])
7850 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7851 darwin1.*)
7852 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7853 darwin*) # darwin 5.x on
7854 # if running on 10.5 or later, the deployment target defaults
7855 # to the OS version, if on x86, and 10.4, the deployment
7856 # target defaults to 10.4. Don't you love it?
7857 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7858 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7859 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7860 10.[012]*)
7861 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7862 10.*)
7863 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7864 esac
7866 esac
7867 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7868 _lt_dar_single_mod='$single_module'
7870 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7871 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7872 else
7873 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7875 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7876 _lt_dsymutil='~$DSYMUTIL $lib || :'
7877 else
7878 _lt_dsymutil=
7881 esac
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7884 $as_echo_n "checking for ANSI C header files... " >&6; }
7885 if test "${ac_cv_header_stdc+set}" = set; then :
7886 $as_echo_n "(cached) " >&6
7887 else
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 #include <stdlib.h>
7891 #include <stdarg.h>
7892 #include <string.h>
7893 #include <float.h>
7896 main ()
7900 return 0;
7902 _ACEOF
7903 if ac_fn_c_try_compile "$LINENO"; then :
7904 ac_cv_header_stdc=yes
7905 else
7906 ac_cv_header_stdc=no
7908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7910 if test $ac_cv_header_stdc = yes; then
7911 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7914 #include <string.h>
7916 _ACEOF
7917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7918 $EGREP "memchr" >/dev/null 2>&1; then :
7920 else
7921 ac_cv_header_stdc=no
7923 rm -f conftest*
7927 if test $ac_cv_header_stdc = yes; then
7928 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h. */
7931 #include <stdlib.h>
7933 _ACEOF
7934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7935 $EGREP "free" >/dev/null 2>&1; then :
7937 else
7938 ac_cv_header_stdc=no
7940 rm -f conftest*
7944 if test $ac_cv_header_stdc = yes; then
7945 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7946 if test "$cross_compiling" = yes; then :
7948 else
7949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h. */
7951 #include <ctype.h>
7952 #include <stdlib.h>
7953 #if ((' ' & 0x0FF) == 0x020)
7954 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7955 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7956 #else
7957 # define ISLOWER(c) \
7958 (('a' <= (c) && (c) <= 'i') \
7959 || ('j' <= (c) && (c) <= 'r') \
7960 || ('s' <= (c) && (c) <= 'z'))
7961 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7962 #endif
7964 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7966 main ()
7968 int i;
7969 for (i = 0; i < 256; i++)
7970 if (XOR (islower (i), ISLOWER (i))
7971 || toupper (i) != TOUPPER (i))
7972 return 2;
7973 return 0;
7975 _ACEOF
7976 if ac_fn_c_try_run "$LINENO"; then :
7978 else
7979 ac_cv_header_stdc=no
7981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7982 conftest.$ac_objext conftest.beam conftest.$ac_ext
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7988 $as_echo "$ac_cv_header_stdc" >&6; }
7989 if test $ac_cv_header_stdc = yes; then
7991 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7995 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7996 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7997 inttypes.h stdint.h unistd.h
7998 do :
7999 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8000 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8002 eval as_val=\$$as_ac_Header
8003 if test "x$as_val" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8006 _ACEOF
8010 done
8013 for ac_header in dlfcn.h
8014 do :
8015 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8017 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8018 cat >>confdefs.h <<_ACEOF
8019 #define HAVE_DLFCN_H 1
8020 _ACEOF
8024 done
8031 # Set options
8036 enable_win32_dll=no
8039 # Check whether --enable-shared was given.
8040 if test "${enable_shared+set}" = set; then :
8041 enableval=$enable_shared; p=${PACKAGE-default}
8042 case $enableval in
8043 yes) enable_shared=yes ;;
8044 no) enable_shared=no ;;
8046 enable_shared=no
8047 # Look at the argument we got. We use all the common list separators.
8048 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8049 for pkg in $enableval; do
8050 IFS="$lt_save_ifs"
8051 if test "X$pkg" = "X$p"; then
8052 enable_shared=yes
8054 done
8055 IFS="$lt_save_ifs"
8057 esac
8058 else
8059 enable_shared=yes
8070 # Check whether --enable-static was given.
8071 if test "${enable_static+set}" = set; then :
8072 enableval=$enable_static; p=${PACKAGE-default}
8073 case $enableval in
8074 yes) enable_static=yes ;;
8075 no) enable_static=no ;;
8077 enable_static=no
8078 # Look at the argument we got. We use all the common list separators.
8079 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8080 for pkg in $enableval; do
8081 IFS="$lt_save_ifs"
8082 if test "X$pkg" = "X$p"; then
8083 enable_static=yes
8085 done
8086 IFS="$lt_save_ifs"
8088 esac
8089 else
8090 enable_static=yes
8102 # Check whether --with-pic was given.
8103 if test "${with_pic+set}" = set; then :
8104 withval=$with_pic; p=${PACKAGE-default}
8105 case "$withval" in
8106 yes|no) pic_mode="$withval" ;;
8108 pic_mode=default
8109 # Look at the argument we got. We use all the common list separators.
8110 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8111 for pkg in $withval; do
8112 IFS="$lt_save_ifs"
8113 if test "X$pkg" = "X$p"; then
8114 pic_mode=yes
8116 done
8117 IFS="$lt_save_ifs"
8119 esac
8120 else
8121 pic_mode=default
8125 test -z "$pic_mode" && pic_mode=default
8133 # Check whether --enable-fast-install was given.
8134 if test "${enable_fast_install+set}" = set; then :
8135 enableval=$enable_fast_install; p=${PACKAGE-default}
8136 case $enableval in
8137 yes) enable_fast_install=yes ;;
8138 no) enable_fast_install=no ;;
8140 enable_fast_install=no
8141 # Look at the argument we got. We use all the common list separators.
8142 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8143 for pkg in $enableval; do
8144 IFS="$lt_save_ifs"
8145 if test "X$pkg" = "X$p"; then
8146 enable_fast_install=yes
8148 done
8149 IFS="$lt_save_ifs"
8151 esac
8152 else
8153 enable_fast_install=yes
8166 # This can be used to rebuild libtool when needed
8167 LIBTOOL_DEPS="$ltmain"
8169 # Always use our own libtool.
8170 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8197 test -z "$LN_S" && LN_S="ln -s"
8212 if test -n "${ZSH_VERSION+set}" ; then
8213 setopt NO_GLOB_SUBST
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8217 $as_echo_n "checking for objdir... " >&6; }
8218 if test "${lt_cv_objdir+set}" = set; then :
8219 $as_echo_n "(cached) " >&6
8220 else
8221 rm -f .libs 2>/dev/null
8222 mkdir .libs 2>/dev/null
8223 if test -d .libs; then
8224 lt_cv_objdir=.libs
8225 else
8226 # MS-DOS does not allow filenames that begin with a dot.
8227 lt_cv_objdir=_libs
8229 rmdir .libs 2>/dev/null
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8232 $as_echo "$lt_cv_objdir" >&6; }
8233 objdir=$lt_cv_objdir
8239 cat >>confdefs.h <<_ACEOF
8240 #define LT_OBJDIR "$lt_cv_objdir/"
8241 _ACEOF
8246 case $host_os in
8247 aix3*)
8248 # AIX sometimes has problems with the GCC collect2 program. For some
8249 # reason, if we set the COLLECT_NAMES environment variable, the problems
8250 # vanish in a puff of smoke.
8251 if test "X${COLLECT_NAMES+set}" != Xset; then
8252 COLLECT_NAMES=
8253 export COLLECT_NAMES
8256 esac
8258 # Global variables:
8259 ofile=libtool
8260 can_build_shared=yes
8262 # All known linkers require a `.a' archive for static linking (except MSVC,
8263 # which needs '.lib').
8264 libext=a
8266 with_gnu_ld="$lt_cv_prog_gnu_ld"
8268 old_CC="$CC"
8269 old_CFLAGS="$CFLAGS"
8271 # Set sane defaults for various variables
8272 test -z "$CC" && CC=cc
8273 test -z "$LTCC" && LTCC=$CC
8274 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8275 test -z "$LD" && LD=ld
8276 test -z "$ac_objext" && ac_objext=o
8278 for cc_temp in $compiler""; do
8279 case $cc_temp in
8280 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8281 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8282 \-*) ;;
8283 *) break;;
8284 esac
8285 done
8286 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8289 # Only perform the check for file, if the check method requires it
8290 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8291 case $deplibs_check_method in
8292 file_magic*)
8293 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8295 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8296 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 case $MAGIC_CMD in
8300 [\\/*] | ?:[\\/]*)
8301 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8304 lt_save_MAGIC_CMD="$MAGIC_CMD"
8305 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8306 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8307 for ac_dir in $ac_dummy; do
8308 IFS="$lt_save_ifs"
8309 test -z "$ac_dir" && ac_dir=.
8310 if test -f $ac_dir/${ac_tool_prefix}file; then
8311 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8312 if test -n "$file_magic_test_file"; then
8313 case $deplibs_check_method in
8314 "file_magic "*)
8315 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8318 $EGREP "$file_magic_regex" > /dev/null; then
8320 else
8321 cat <<_LT_EOF 1>&2
8323 *** Warning: the command libtool uses to detect shared libraries,
8324 *** $file_magic_cmd, produces output that libtool cannot recognize.
8325 *** The result is that libtool may fail to recognize shared libraries
8326 *** as such. This will affect the creation of libtool libraries that
8327 *** depend on shared libraries, but programs linked with such libtool
8328 *** libraries will work regardless of this problem. Nevertheless, you
8329 *** may want to report the problem to your system manager and/or to
8330 *** bug-libtool@gnu.org
8332 _LT_EOF
8333 fi ;;
8334 esac
8336 break
8338 done
8339 IFS="$lt_save_ifs"
8340 MAGIC_CMD="$lt_save_MAGIC_CMD"
8342 esac
8345 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8346 if test -n "$MAGIC_CMD"; then
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8348 $as_echo "$MAGIC_CMD" >&6; }
8349 else
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8351 $as_echo "no" >&6; }
8358 if test -z "$lt_cv_path_MAGIC_CMD"; then
8359 if test -n "$ac_tool_prefix"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8361 $as_echo_n "checking for file... " >&6; }
8362 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 case $MAGIC_CMD in
8366 [\\/*] | ?:[\\/]*)
8367 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8370 lt_save_MAGIC_CMD="$MAGIC_CMD"
8371 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8372 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8373 for ac_dir in $ac_dummy; do
8374 IFS="$lt_save_ifs"
8375 test -z "$ac_dir" && ac_dir=.
8376 if test -f $ac_dir/file; then
8377 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8378 if test -n "$file_magic_test_file"; then
8379 case $deplibs_check_method in
8380 "file_magic "*)
8381 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8384 $EGREP "$file_magic_regex" > /dev/null; then
8386 else
8387 cat <<_LT_EOF 1>&2
8389 *** Warning: the command libtool uses to detect shared libraries,
8390 *** $file_magic_cmd, produces output that libtool cannot recognize.
8391 *** The result is that libtool may fail to recognize shared libraries
8392 *** as such. This will affect the creation of libtool libraries that
8393 *** depend on shared libraries, but programs linked with such libtool
8394 *** libraries will work regardless of this problem. Nevertheless, you
8395 *** may want to report the problem to your system manager and/or to
8396 *** bug-libtool@gnu.org
8398 _LT_EOF
8399 fi ;;
8400 esac
8402 break
8404 done
8405 IFS="$lt_save_ifs"
8406 MAGIC_CMD="$lt_save_MAGIC_CMD"
8408 esac
8411 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8412 if test -n "$MAGIC_CMD"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8414 $as_echo "$MAGIC_CMD" >&6; }
8415 else
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8417 $as_echo "no" >&6; }
8421 else
8422 MAGIC_CMD=:
8428 esac
8430 # Use C for the default configuration in the libtool script
8432 lt_save_CC="$CC"
8433 ac_ext=c
8434 ac_cpp='$CPP $CPPFLAGS'
8435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8440 # Source file extension for C test sources.
8441 ac_ext=c
8443 # Object file extension for compiled C test sources.
8444 objext=o
8445 objext=$objext
8447 # Code to be used in simple compile tests
8448 lt_simple_compile_test_code="int some_variable = 0;"
8450 # Code to be used in simple link tests
8451 lt_simple_link_test_code='int main(){return(0);}'
8459 # If no C compiler was specified, use CC.
8460 LTCC=${LTCC-"$CC"}
8462 # If no C compiler flags were specified, use CFLAGS.
8463 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8465 # Allow CC to be a program name with arguments.
8466 compiler=$CC
8468 # Save the default compiler, since it gets overwritten when the other
8469 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8470 compiler_DEFAULT=$CC
8472 # save warnings/boilerplate of simple test code
8473 ac_outfile=conftest.$ac_objext
8474 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8475 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8476 _lt_compiler_boilerplate=`cat conftest.err`
8477 $RM conftest*
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8481 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8482 _lt_linker_boilerplate=`cat conftest.err`
8483 $RM -r conftest*
8486 ## CAVEAT EMPTOR:
8487 ## There is no encapsulation within the following macros, do not change
8488 ## the running order or otherwise move them around unless you know exactly
8489 ## what you are doing...
8490 if test -n "$compiler"; then
8492 lt_prog_compiler_no_builtin_flag=
8494 if test "$GCC" = yes; then
8495 case $cc_basename in
8496 nvcc*)
8497 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8499 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8500 esac
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8503 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8504 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8505 $as_echo_n "(cached) " >&6
8506 else
8507 lt_cv_prog_compiler_rtti_exceptions=no
8508 ac_outfile=conftest.$ac_objext
8509 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8510 lt_compiler_flag="-fno-rtti -fno-exceptions"
8511 # Insert the option either (1) after the last *FLAGS variable, or
8512 # (2) before a word containing "conftest.", or (3) at the end.
8513 # Note that $ac_compile itself does not contain backslashes and begins
8514 # with a dollar sign (not a hyphen), so the echo should work correctly.
8515 # The option is referenced via a variable to avoid confusing sed.
8516 lt_compile=`echo "$ac_compile" | $SED \
8517 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8519 -e 's:$: $lt_compiler_flag:'`
8520 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8521 (eval "$lt_compile" 2>conftest.err)
8522 ac_status=$?
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 if (exit $ac_status) && test -s "$ac_outfile"; then
8526 # The compiler can only warn and ignore the option if not recognized
8527 # So say no if there are warnings other than the usual output.
8528 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8529 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8530 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8531 lt_cv_prog_compiler_rtti_exceptions=yes
8534 $RM conftest*
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8538 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8540 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8541 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8542 else
8553 lt_prog_compiler_wl=
8554 lt_prog_compiler_pic=
8555 lt_prog_compiler_static=
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8558 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8560 if test "$GCC" = yes; then
8561 lt_prog_compiler_wl='-Wl,'
8562 lt_prog_compiler_static='-static'
8564 case $host_os in
8565 aix*)
8566 # All AIX code is PIC.
8567 if test "$host_cpu" = ia64; then
8568 # AIX 5 now supports IA64 processor
8569 lt_prog_compiler_static='-Bstatic'
8571 lt_prog_compiler_pic='-fPIC'
8574 amigaos*)
8575 case $host_cpu in
8576 powerpc)
8577 # see comment about AmigaOS4 .so support
8578 lt_prog_compiler_pic='-fPIC'
8580 m68k)
8581 # FIXME: we need at least 68020 code to build shared libraries, but
8582 # adding the `-m68020' flag to GCC prevents building anything better,
8583 # like `-m68040'.
8584 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8586 esac
8589 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8590 # PIC is the default for these OSes.
8593 mingw* | cygwin* | pw32* | os2* | cegcc*)
8594 # This hack is so that the source file can tell whether it is being
8595 # built for inclusion in a dll (and should export symbols for example).
8596 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8597 # (--disable-auto-import) libraries
8598 lt_prog_compiler_pic='-DDLL_EXPORT'
8601 darwin* | rhapsody*)
8602 # PIC is the default on this platform
8603 # Common symbols not allowed in MH_DYLIB files
8604 lt_prog_compiler_pic='-fno-common'
8607 haiku*)
8608 # PIC is the default for Haiku.
8609 # The "-static" flag exists, but is broken.
8610 lt_prog_compiler_static=
8613 hpux*)
8614 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8615 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8616 # sets the default TLS model and affects inlining.
8617 case $host_cpu in
8618 hppa*64*)
8619 # +Z the default
8622 lt_prog_compiler_pic='-fPIC'
8624 esac
8627 interix[3-9]*)
8628 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8629 # Instead, we relocate shared libraries at runtime.
8632 msdosdjgpp*)
8633 # Just because we use GCC doesn't mean we suddenly get shared libraries
8634 # on systems that don't support them.
8635 lt_prog_compiler_can_build_shared=no
8636 enable_shared=no
8639 *nto* | *qnx*)
8640 # QNX uses GNU C++, but need to define -shared option too, otherwise
8641 # it will coredump.
8642 lt_prog_compiler_pic='-fPIC -shared'
8645 sysv4*MP*)
8646 if test -d /usr/nec; then
8647 lt_prog_compiler_pic=-Kconform_pic
8652 lt_prog_compiler_pic='-fPIC'
8654 esac
8656 case $cc_basename in
8657 nvcc*) # Cuda Compiler Driver 2.2
8658 lt_prog_compiler_wl='-Xlinker '
8659 lt_prog_compiler_pic='-Xcompiler -fPIC'
8661 esac
8662 else
8663 # PORTME Check for flag to pass linker flags through the system compiler.
8664 case $host_os in
8665 aix*)
8666 lt_prog_compiler_wl='-Wl,'
8667 if test "$host_cpu" = ia64; then
8668 # AIX 5 now supports IA64 processor
8669 lt_prog_compiler_static='-Bstatic'
8670 else
8671 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8675 mingw* | cygwin* | pw32* | os2* | cegcc*)
8676 # This hack is so that the source file can tell whether it is being
8677 # built for inclusion in a dll (and should export symbols for example).
8678 lt_prog_compiler_pic='-DDLL_EXPORT'
8681 hpux9* | hpux10* | hpux11*)
8682 lt_prog_compiler_wl='-Wl,'
8683 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8684 # not for PA HP-UX.
8685 case $host_cpu in
8686 hppa*64*|ia64*)
8687 # +Z the default
8690 lt_prog_compiler_pic='+Z'
8692 esac
8693 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8694 lt_prog_compiler_static='${wl}-a ${wl}archive'
8697 irix5* | irix6* | nonstopux*)
8698 lt_prog_compiler_wl='-Wl,'
8699 # PIC (with -KPIC) is the default.
8700 lt_prog_compiler_static='-non_shared'
8703 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8704 case $cc_basename in
8705 # old Intel for x86_64 which still supported -KPIC.
8706 ecc*)
8707 lt_prog_compiler_wl='-Wl,'
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-static'
8711 # icc used to be incompatible with GCC.
8712 # ICC 10 doesn't accept -KPIC any more.
8713 icc* | ifort*)
8714 lt_prog_compiler_wl='-Wl,'
8715 lt_prog_compiler_pic='-fPIC'
8716 lt_prog_compiler_static='-static'
8718 # Lahey Fortran 8.1.
8719 lf95*)
8720 lt_prog_compiler_wl='-Wl,'
8721 lt_prog_compiler_pic='--shared'
8722 lt_prog_compiler_static='--static'
8724 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8725 # Portland Group compilers (*not* the Pentium gcc compiler,
8726 # which looks to be a dead project)
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-fpic'
8729 lt_prog_compiler_static='-Bstatic'
8731 ccc*)
8732 lt_prog_compiler_wl='-Wl,'
8733 # All Alpha code is PIC.
8734 lt_prog_compiler_static='-non_shared'
8736 xl* | bgxl* | bgf* | mpixl*)
8737 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8738 lt_prog_compiler_wl='-Wl,'
8739 lt_prog_compiler_pic='-qpic'
8740 lt_prog_compiler_static='-qstaticlink'
8743 case `$CC -V 2>&1 | sed 5q` in
8744 *Sun\ F* | *Sun*Fortran*)
8745 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8748 lt_prog_compiler_wl=''
8750 *Sun\ C*)
8751 # Sun C 5.9
8752 lt_prog_compiler_pic='-KPIC'
8753 lt_prog_compiler_static='-Bstatic'
8754 lt_prog_compiler_wl='-Wl,'
8756 esac
8758 esac
8761 newsos6)
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-Bstatic'
8766 *nto* | *qnx*)
8767 # QNX uses GNU C++, but need to define -shared option too, otherwise
8768 # it will coredump.
8769 lt_prog_compiler_pic='-fPIC -shared'
8772 osf3* | osf4* | osf5*)
8773 lt_prog_compiler_wl='-Wl,'
8774 # All OSF/1 code is PIC.
8775 lt_prog_compiler_static='-non_shared'
8778 rdos*)
8779 lt_prog_compiler_static='-non_shared'
8782 solaris*)
8783 lt_prog_compiler_pic='-KPIC'
8784 lt_prog_compiler_static='-Bstatic'
8785 case $cc_basename in
8786 f77* | f90* | f95*)
8787 lt_prog_compiler_wl='-Qoption ld ';;
8789 lt_prog_compiler_wl='-Wl,';;
8790 esac
8793 sunos4*)
8794 lt_prog_compiler_wl='-Qoption ld '
8795 lt_prog_compiler_pic='-PIC'
8796 lt_prog_compiler_static='-Bstatic'
8799 sysv4 | sysv4.2uw2* | sysv4.3*)
8800 lt_prog_compiler_wl='-Wl,'
8801 lt_prog_compiler_pic='-KPIC'
8802 lt_prog_compiler_static='-Bstatic'
8805 sysv4*MP*)
8806 if test -d /usr/nec ;then
8807 lt_prog_compiler_pic='-Kconform_pic'
8808 lt_prog_compiler_static='-Bstatic'
8812 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8813 lt_prog_compiler_wl='-Wl,'
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-Bstatic'
8818 unicos*)
8819 lt_prog_compiler_wl='-Wl,'
8820 lt_prog_compiler_can_build_shared=no
8823 uts4*)
8824 lt_prog_compiler_pic='-pic'
8825 lt_prog_compiler_static='-Bstatic'
8829 lt_prog_compiler_can_build_shared=no
8831 esac
8834 case $host_os in
8835 # For platforms which do not support PIC, -DPIC is meaningless:
8836 *djgpp*)
8837 lt_prog_compiler_pic=
8840 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8842 esac
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8844 $as_echo "$lt_prog_compiler_pic" >&6; }
8852 # Check to make sure the PIC flag actually works.
8854 if test -n "$lt_prog_compiler_pic"; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8856 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8857 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8858 $as_echo_n "(cached) " >&6
8859 else
8860 lt_cv_prog_compiler_pic_works=no
8861 ac_outfile=conftest.$ac_objext
8862 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8863 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8864 # Insert the option either (1) after the last *FLAGS variable, or
8865 # (2) before a word containing "conftest.", or (3) at the end.
8866 # Note that $ac_compile itself does not contain backslashes and begins
8867 # with a dollar sign (not a hyphen), so the echo should work correctly.
8868 # The option is referenced via a variable to avoid confusing sed.
8869 lt_compile=`echo "$ac_compile" | $SED \
8870 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8872 -e 's:$: $lt_compiler_flag:'`
8873 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8874 (eval "$lt_compile" 2>conftest.err)
8875 ac_status=$?
8876 cat conftest.err >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 if (exit $ac_status) && test -s "$ac_outfile"; then
8879 # The compiler can only warn and ignore the option if not recognized
8880 # So say no if there are warnings other than the usual output.
8881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8882 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8883 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8884 lt_cv_prog_compiler_pic_works=yes
8887 $RM conftest*
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8891 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8893 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8894 case $lt_prog_compiler_pic in
8895 "" | " "*) ;;
8896 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8897 esac
8898 else
8899 lt_prog_compiler_pic=
8900 lt_prog_compiler_can_build_shared=no
8911 # Check to make sure the static flag actually works.
8913 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8915 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8916 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8917 $as_echo_n "(cached) " >&6
8918 else
8919 lt_cv_prog_compiler_static_works=no
8920 save_LDFLAGS="$LDFLAGS"
8921 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8922 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8923 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8924 # The linker can only warn and ignore the option if not recognized
8925 # So say no if there are warnings
8926 if test -s conftest.err; then
8927 # Append any errors to the config.log.
8928 cat conftest.err 1>&5
8929 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8930 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8931 if diff conftest.exp conftest.er2 >/dev/null; then
8932 lt_cv_prog_compiler_static_works=yes
8934 else
8935 lt_cv_prog_compiler_static_works=yes
8938 $RM -r conftest*
8939 LDFLAGS="$save_LDFLAGS"
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8943 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8945 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8947 else
8948 lt_prog_compiler_static=
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8958 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8959 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8960 $as_echo_n "(cached) " >&6
8961 else
8962 lt_cv_prog_compiler_c_o=no
8963 $RM -r conftest 2>/dev/null
8964 mkdir conftest
8965 cd conftest
8966 mkdir out
8967 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969 lt_compiler_flag="-o out/conftest2.$ac_objext"
8970 # Insert the option either (1) after the last *FLAGS variable, or
8971 # (2) before a word containing "conftest.", or (3) at the end.
8972 # Note that $ac_compile itself does not contain backslashes and begins
8973 # with a dollar sign (not a hyphen), so the echo should work correctly.
8974 lt_compile=`echo "$ac_compile" | $SED \
8975 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8976 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8977 -e 's:$: $lt_compiler_flag:'`
8978 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8979 (eval "$lt_compile" 2>out/conftest.err)
8980 ac_status=$?
8981 cat out/conftest.err >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8984 then
8985 # The compiler can only warn and ignore the option if not recognized
8986 # So say no if there are warnings
8987 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8988 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8989 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8990 lt_cv_prog_compiler_c_o=yes
8993 chmod u+w . 2>&5
8994 $RM conftest*
8995 # SGI C++ compiler will create directory out/ii_files/ for
8996 # template instantiation
8997 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8998 $RM out/* && rmdir out
8999 cd ..
9000 $RM -r conftest
9001 $RM conftest*
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9005 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9014 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9015 $as_echo_n "(cached) " >&6
9016 else
9017 lt_cv_prog_compiler_c_o=no
9018 $RM -r conftest 2>/dev/null
9019 mkdir conftest
9020 cd conftest
9021 mkdir out
9022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9024 lt_compiler_flag="-o out/conftest2.$ac_objext"
9025 # Insert the option either (1) after the last *FLAGS variable, or
9026 # (2) before a word containing "conftest.", or (3) at the end.
9027 # Note that $ac_compile itself does not contain backslashes and begins
9028 # with a dollar sign (not a hyphen), so the echo should work correctly.
9029 lt_compile=`echo "$ac_compile" | $SED \
9030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9032 -e 's:$: $lt_compiler_flag:'`
9033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9034 (eval "$lt_compile" 2>out/conftest.err)
9035 ac_status=$?
9036 cat out/conftest.err >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9039 then
9040 # The compiler can only warn and ignore the option if not recognized
9041 # So say no if there are warnings
9042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9043 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9044 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9045 lt_cv_prog_compiler_c_o=yes
9048 chmod u+w . 2>&5
9049 $RM conftest*
9050 # SGI C++ compiler will create directory out/ii_files/ for
9051 # template instantiation
9052 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9053 $RM out/* && rmdir out
9054 cd ..
9055 $RM -r conftest
9056 $RM conftest*
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9060 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9065 hard_links="nottested"
9066 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9067 # do not overwrite the value of need_locks provided by the user
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9069 $as_echo_n "checking if we can lock with hard links... " >&6; }
9070 hard_links=yes
9071 $RM conftest*
9072 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9073 touch conftest.a
9074 ln conftest.a conftest.b 2>&5 || hard_links=no
9075 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9077 $as_echo "$hard_links" >&6; }
9078 if test "$hard_links" = no; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9080 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9081 need_locks=warn
9083 else
9084 need_locks=no
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9093 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9095 runpath_var=
9096 allow_undefined_flag=
9097 always_export_symbols=no
9098 archive_cmds=
9099 archive_expsym_cmds=
9100 compiler_needs_object=no
9101 enable_shared_with_static_runtimes=no
9102 export_dynamic_flag_spec=
9103 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9104 hardcode_automatic=no
9105 hardcode_direct=no
9106 hardcode_direct_absolute=no
9107 hardcode_libdir_flag_spec=
9108 hardcode_libdir_flag_spec_ld=
9109 hardcode_libdir_separator=
9110 hardcode_minus_L=no
9111 hardcode_shlibpath_var=unsupported
9112 inherit_rpath=no
9113 link_all_deplibs=unknown
9114 module_cmds=
9115 module_expsym_cmds=
9116 old_archive_from_new_cmds=
9117 old_archive_from_expsyms_cmds=
9118 thread_safe_flag_spec=
9119 whole_archive_flag_spec=
9120 # include_expsyms should be a list of space-separated symbols to be *always*
9121 # included in the symbol list
9122 include_expsyms=
9123 # exclude_expsyms can be an extended regexp of symbols to exclude
9124 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9125 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9126 # as well as any symbol that contains `d'.
9127 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9128 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9129 # platforms (ab)use it in PIC code, but their linkers get confused if
9130 # the symbol is explicitly referenced. Since portable code cannot
9131 # rely on this symbol name, it's probably fine to never include it in
9132 # preloaded symbol tables.
9133 # Exclude shared library initialization/finalization symbols.
9134 extract_expsyms_cmds=
9136 case $host_os in
9137 cygwin* | mingw* | pw32* | cegcc*)
9138 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9139 # When not using gcc, we currently assume that we are using
9140 # Microsoft Visual C++.
9141 if test "$GCC" != yes; then
9142 with_gnu_ld=no
9145 interix*)
9146 # we just hope/assume this is gcc and not c89 (= MSVC++)
9147 with_gnu_ld=yes
9149 openbsd*)
9150 with_gnu_ld=no
9152 esac
9154 ld_shlibs=yes
9156 # On some targets, GNU ld is compatible enough with the native linker
9157 # that we're better off using the native interface for both.
9158 lt_use_gnu_ld_interface=no
9159 if test "$with_gnu_ld" = yes; then
9160 case $host_os in
9161 aix*)
9162 # The AIX port of GNU ld has always aspired to compatibility
9163 # with the native linker. However, as the warning in the GNU ld
9164 # block says, versions before 2.19.5* couldn't really create working
9165 # shared libraries, regardless of the interface used.
9166 case `$LD -v 2>&1` in
9167 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9168 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9169 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9171 lt_use_gnu_ld_interface=yes
9173 esac
9176 lt_use_gnu_ld_interface=yes
9178 esac
9181 if test "$lt_use_gnu_ld_interface" = yes; then
9182 # If archive_cmds runs LD, not CC, wlarc should be empty
9183 wlarc='${wl}'
9185 # Set some defaults for GNU ld with shared library support. These
9186 # are reset later if shared libraries are not supported. Putting them
9187 # here allows them to be overridden if necessary.
9188 runpath_var=LD_RUN_PATH
9189 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9190 export_dynamic_flag_spec='${wl}--export-dynamic'
9191 # ancient GNU ld didn't support --whole-archive et. al.
9192 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9193 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9194 else
9195 whole_archive_flag_spec=
9197 supports_anon_versioning=no
9198 case `$LD -v 2>&1` in
9199 *GNU\ gold*) supports_anon_versioning=yes ;;
9200 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9201 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9202 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9203 *\ 2.11.*) ;; # other 2.11 versions
9204 *) supports_anon_versioning=yes ;;
9205 esac
9207 # See if GNU ld supports shared libraries.
9208 case $host_os in
9209 aix[3-9]*)
9210 # On AIX/PPC, the GNU linker is very broken
9211 if test "$host_cpu" != ia64; then
9212 ld_shlibs=no
9213 cat <<_LT_EOF 1>&2
9215 *** Warning: the GNU linker, at least up to release 2.19, is reported
9216 *** to be unable to reliably create shared libraries on AIX.
9217 *** Therefore, libtool is disabling shared libraries support. If you
9218 *** really care for shared libraries, you may want to install binutils
9219 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9220 *** You will then need to restart the configuration process.
9222 _LT_EOF
9226 amigaos*)
9227 case $host_cpu in
9228 powerpc)
9229 # see comment about AmigaOS4 .so support
9230 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 archive_expsym_cmds=''
9233 m68k)
9234 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)'
9235 hardcode_libdir_flag_spec='-L$libdir'
9236 hardcode_minus_L=yes
9238 esac
9241 beos*)
9242 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9243 allow_undefined_flag=unsupported
9244 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9245 # support --undefined. This deserves some investigation. FIXME
9246 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9247 else
9248 ld_shlibs=no
9252 cygwin* | mingw* | pw32* | cegcc*)
9253 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9254 # as there is no search path for DLLs.
9255 hardcode_libdir_flag_spec='-L$libdir'
9256 export_dynamic_flag_spec='${wl}--export-all-symbols'
9257 allow_undefined_flag=unsupported
9258 always_export_symbols=no
9259 enable_shared_with_static_runtimes=yes
9260 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9262 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9264 # If the export-symbols file already is a .def file (1st line
9265 # is EXPORTS), use it as is; otherwise, prepend...
9266 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9267 cp $export_symbols $output_objdir/$soname.def;
9268 else
9269 echo EXPORTS > $output_objdir/$soname.def;
9270 cat $export_symbols >> $output_objdir/$soname.def;
9272 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9273 else
9274 ld_shlibs=no
9278 haiku*)
9279 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9280 link_all_deplibs=yes
9283 interix[3-9]*)
9284 hardcode_direct=no
9285 hardcode_shlibpath_var=no
9286 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9287 export_dynamic_flag_spec='${wl}-E'
9288 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9289 # Instead, shared libraries are loaded at an image base (0x10000000 by
9290 # default) and relocated if they conflict, which is a slow very memory
9291 # consuming and fragmenting process. To avoid this, we pick a random,
9292 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9293 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9294 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9295 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'
9298 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9299 tmp_diet=no
9300 if test "$host_os" = linux-dietlibc; then
9301 case $cc_basename in
9302 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9303 esac
9305 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9306 && test "$tmp_diet" = no
9307 then
9308 tmp_addflag=
9309 tmp_sharedflag='-shared'
9310 case $cc_basename,$host_cpu in
9311 pgcc*) # Portland Group C compiler
9312 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'
9313 tmp_addflag=' $pic_flag'
9315 pgf77* | pgf90* | pgf95* | pgfortran*)
9316 # Portland Group f77 and f90 compilers
9317 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'
9318 tmp_addflag=' $pic_flag -Mnomain' ;;
9319 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9320 tmp_addflag=' -i_dynamic' ;;
9321 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9322 tmp_addflag=' -i_dynamic -nofor_main' ;;
9323 ifc* | ifort*) # Intel Fortran compiler
9324 tmp_addflag=' -nofor_main' ;;
9325 lf95*) # Lahey Fortran 8.1
9326 whole_archive_flag_spec=
9327 tmp_sharedflag='--shared' ;;
9328 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9329 tmp_sharedflag='-qmkshrobj'
9330 tmp_addflag= ;;
9331 nvcc*) # Cuda Compiler Driver 2.2
9332 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'
9333 compiler_needs_object=yes
9335 esac
9336 case `$CC -V 2>&1 | sed 5q` in
9337 *Sun\ C*) # Sun C 5.9
9338 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'
9339 compiler_needs_object=yes
9340 tmp_sharedflag='-G' ;;
9341 *Sun\ F*) # Sun Fortran 8.3
9342 tmp_sharedflag='-G' ;;
9343 esac
9344 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346 if test "x$supports_anon_versioning" = xyes; then
9347 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9348 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9349 echo "local: *; };" >> $output_objdir/$libname.ver~
9350 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9353 case $cc_basename in
9354 xlf* | bgf* | bgxlf* | mpixlf*)
9355 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9356 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9357 hardcode_libdir_flag_spec=
9358 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9359 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9360 if test "x$supports_anon_versioning" = xyes; then
9361 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9362 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9363 echo "local: *; };" >> $output_objdir/$libname.ver~
9364 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9367 esac
9368 else
9369 ld_shlibs=no
9373 netbsd*)
9374 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9375 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9376 wlarc=
9377 else
9378 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9379 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 solaris*)
9384 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9385 ld_shlibs=no
9386 cat <<_LT_EOF 1>&2
9388 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9389 *** create shared libraries on Solaris systems. Therefore, libtool
9390 *** is disabling shared libraries support. We urge you to upgrade GNU
9391 *** binutils to release 2.9.1 or newer. Another option is to modify
9392 *** your PATH or compiler configuration so that the native linker is
9393 *** used, and then restart.
9395 _LT_EOF
9396 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9404 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9405 case `$LD -v 2>&1` in
9406 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9407 ld_shlibs=no
9408 cat <<_LT_EOF 1>&2
9410 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9411 *** reliably create shared libraries on SCO systems. Therefore, libtool
9412 *** is disabling shared libraries support. We urge you to upgrade GNU
9413 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9414 *** your PATH or compiler configuration so that the native linker is
9415 *** used, and then restart.
9417 _LT_EOF
9420 # For security reasons, it is highly recommended that you always
9421 # use absolute paths for naming shared libraries, and exclude the
9422 # DT_RUNPATH tag from executables and libraries. But doing so
9423 # requires that you compile everything twice, which is a pain.
9424 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9425 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9426 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9427 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9428 else
9429 ld_shlibs=no
9432 esac
9435 sunos4*)
9436 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9437 wlarc=
9438 hardcode_direct=yes
9439 hardcode_shlibpath_var=no
9443 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9444 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9445 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9446 else
9447 ld_shlibs=no
9450 esac
9452 if test "$ld_shlibs" = no; then
9453 runpath_var=
9454 hardcode_libdir_flag_spec=
9455 export_dynamic_flag_spec=
9456 whole_archive_flag_spec=
9458 else
9459 # PORTME fill in a description of your system's linker (not GNU ld)
9460 case $host_os in
9461 aix3*)
9462 allow_undefined_flag=unsupported
9463 always_export_symbols=yes
9464 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'
9465 # Note: this linker hardcodes the directories in LIBPATH if there
9466 # are no directories specified by -L.
9467 hardcode_minus_L=yes
9468 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9469 # Neither direct hardcoding nor static linking is supported with a
9470 # broken collect2.
9471 hardcode_direct=unsupported
9475 aix[4-9]*)
9476 if test "$host_cpu" = ia64; then
9477 # On IA64, the linker does run time linking by default, so we don't
9478 # have to do anything special.
9479 aix_use_runtimelinking=no
9480 exp_sym_flag='-Bexport'
9481 no_entry_flag=""
9482 else
9483 # If we're using GNU nm, then we don't want the "-C" option.
9484 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9485 # Also, AIX nm treats weak defined symbols like other global
9486 # defined symbols, whereas GNU nm marks them as "W".
9487 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9488 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'
9489 else
9490 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'
9492 aix_use_runtimelinking=no
9494 # Test if we are trying to use run time linking or normal
9495 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9496 # need to do runtime linking.
9497 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9498 for ld_flag in $LDFLAGS; do
9499 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9500 aix_use_runtimelinking=yes
9501 break
9503 done
9505 esac
9507 exp_sym_flag='-bexport'
9508 no_entry_flag='-bnoentry'
9511 # When large executables or shared objects are built, AIX ld can
9512 # have problems creating the table of contents. If linking a library
9513 # or program results in "error TOC overflow" add -mminimal-toc to
9514 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9515 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9517 archive_cmds=''
9518 hardcode_direct=yes
9519 hardcode_direct_absolute=yes
9520 hardcode_libdir_separator=':'
9521 link_all_deplibs=yes
9522 file_list_spec='${wl}-f,'
9524 if test "$GCC" = yes; then
9525 case $host_os in aix4.[012]|aix4.[012].*)
9526 # We only want to do this on AIX 4.2 and lower, the check
9527 # below for broken collect2 doesn't work under 4.3+
9528 collect2name=`${CC} -print-prog-name=collect2`
9529 if test -f "$collect2name" &&
9530 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9531 then
9532 # We have reworked collect2
9534 else
9535 # We have old collect2
9536 hardcode_direct=unsupported
9537 # It fails to find uninstalled libraries when the uninstalled
9538 # path is not listed in the libpath. Setting hardcode_minus_L
9539 # to unsupported forces relinking
9540 hardcode_minus_L=yes
9541 hardcode_libdir_flag_spec='-L$libdir'
9542 hardcode_libdir_separator=
9545 esac
9546 shared_flag='-shared'
9547 if test "$aix_use_runtimelinking" = yes; then
9548 shared_flag="$shared_flag "'${wl}-G'
9550 else
9551 # not using gcc
9552 if test "$host_cpu" = ia64; then
9553 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9554 # chokes on -Wl,-G. The following line is correct:
9555 shared_flag='-G'
9556 else
9557 if test "$aix_use_runtimelinking" = yes; then
9558 shared_flag='${wl}-G'
9559 else
9560 shared_flag='${wl}-bM:SRE'
9565 export_dynamic_flag_spec='${wl}-bexpall'
9566 # It seems that -bexpall does not export symbols beginning with
9567 # underscore (_), so it is better to generate a list of symbols to export.
9568 always_export_symbols=yes
9569 if test "$aix_use_runtimelinking" = yes; then
9570 # Warning - without using the other runtime loading flags (-brtl),
9571 # -berok will link without error, but may produce a broken library.
9572 allow_undefined_flag='-berok'
9573 # Determine the default libpath from the value encoded in an
9574 # empty executable.
9575 if test x$gcc_no_link = xyes; then
9576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9582 main ()
9586 return 0;
9588 _ACEOF
9589 if ac_fn_c_try_link "$LINENO"; then :
9591 lt_aix_libpath_sed='
9592 /Import File Strings/,/^$/ {
9593 /^0/ {
9594 s/^0 *\(.*\)$/\1/
9598 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599 # Check for a 64-bit object if we didn't find anything.
9600 if test -z "$aix_libpath"; then
9601 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9604 rm -f core conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9608 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9609 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"
9610 else
9611 if test "$host_cpu" = ia64; then
9612 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9613 allow_undefined_flag="-z nodefs"
9614 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"
9615 else
9616 # Determine the default libpath from the value encoded in an
9617 # empty executable.
9618 if test x$gcc_no_link = xyes; then
9619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9625 main ()
9629 return 0;
9631 _ACEOF
9632 if ac_fn_c_try_link "$LINENO"; then :
9634 lt_aix_libpath_sed='
9635 /Import File Strings/,/^$/ {
9636 /^0/ {
9637 s/^0 *\(.*\)$/\1/
9641 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9642 # Check for a 64-bit object if we didn't find anything.
9643 if test -z "$aix_libpath"; then
9644 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9647 rm -f core conftest.err conftest.$ac_objext \
9648 conftest$ac_exeext conftest.$ac_ext
9649 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9651 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9652 # Warning - without using the other run time loading flags,
9653 # -berok will link without error, but may produce a broken library.
9654 no_undefined_flag=' ${wl}-bernotok'
9655 allow_undefined_flag=' ${wl}-berok'
9656 if test "$with_gnu_ld" = yes; then
9657 # We only use this code for GNU lds that support --whole-archive.
9658 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9659 else
9660 # Exported symbols can be pulled into shared objects from archives
9661 whole_archive_flag_spec='$convenience'
9663 archive_cmds_need_lc=yes
9664 # This is similar to how AIX traditionally builds its shared libraries.
9665 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'
9670 amigaos*)
9671 case $host_cpu in
9672 powerpc)
9673 # see comment about AmigaOS4 .so support
9674 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9675 archive_expsym_cmds=''
9677 m68k)
9678 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)'
9679 hardcode_libdir_flag_spec='-L$libdir'
9680 hardcode_minus_L=yes
9682 esac
9685 bsdi[45]*)
9686 export_dynamic_flag_spec=-rdynamic
9689 cygwin* | mingw* | pw32* | cegcc*)
9690 # When not using gcc, we currently assume that we are using
9691 # Microsoft Visual C++.
9692 # hardcode_libdir_flag_spec is actually meaningless, as there is
9693 # no search path for DLLs.
9694 hardcode_libdir_flag_spec=' '
9695 allow_undefined_flag=unsupported
9696 # Tell ltmain to make .lib files, not .a files.
9697 libext=lib
9698 # Tell ltmain to make .dll files, not .so files.
9699 shrext_cmds=".dll"
9700 # FIXME: Setting linknames here is a bad hack.
9701 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9702 # The linker will automatically build a .lib file if we build a DLL.
9703 old_archive_from_new_cmds='true'
9704 # FIXME: Should let the user specify the lib program.
9705 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9706 fix_srcfile_path='`cygpath -w "$srcfile"`'
9707 enable_shared_with_static_runtimes=yes
9710 darwin* | rhapsody*)
9713 archive_cmds_need_lc=no
9714 hardcode_direct=no
9715 hardcode_automatic=yes
9716 hardcode_shlibpath_var=unsupported
9717 if test "$lt_cv_ld_force_load" = "yes"; then
9718 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\"`'
9719 else
9720 whole_archive_flag_spec=''
9722 link_all_deplibs=yes
9723 allow_undefined_flag="$_lt_dar_allow_undefined"
9724 case $cc_basename in
9725 ifort*) _lt_dar_can_shared=yes ;;
9726 *) _lt_dar_can_shared=$GCC ;;
9727 esac
9728 if test "$_lt_dar_can_shared" = "yes"; then
9729 output_verbose_link_cmd=func_echo_all
9730 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9731 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9732 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}"
9733 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}"
9735 else
9736 ld_shlibs=no
9741 dgux*)
9742 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9743 hardcode_libdir_flag_spec='-L$libdir'
9744 hardcode_shlibpath_var=no
9747 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9748 # support. Future versions do this automatically, but an explicit c++rt0.o
9749 # does not break anything, and helps significantly (at the cost of a little
9750 # extra space).
9751 freebsd2.2*)
9752 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9753 hardcode_libdir_flag_spec='-R$libdir'
9754 hardcode_direct=yes
9755 hardcode_shlibpath_var=no
9758 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9759 freebsd2.*)
9760 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9761 hardcode_direct=yes
9762 hardcode_minus_L=yes
9763 hardcode_shlibpath_var=no
9766 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9767 freebsd* | dragonfly*)
9768 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9769 hardcode_libdir_flag_spec='-R$libdir'
9770 hardcode_direct=yes
9771 hardcode_shlibpath_var=no
9774 hpux9*)
9775 if test "$GCC" = yes; then
9776 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'
9777 else
9778 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'
9780 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9781 hardcode_libdir_separator=:
9782 hardcode_direct=yes
9784 # hardcode_minus_L: Not really in the search PATH,
9785 # but as the default location of the library.
9786 hardcode_minus_L=yes
9787 export_dynamic_flag_spec='${wl}-E'
9790 hpux10*)
9791 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9792 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9793 else
9794 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9796 if test "$with_gnu_ld" = no; then
9797 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9798 hardcode_libdir_flag_spec_ld='+b $libdir'
9799 hardcode_libdir_separator=:
9800 hardcode_direct=yes
9801 hardcode_direct_absolute=yes
9802 export_dynamic_flag_spec='${wl}-E'
9803 # hardcode_minus_L: Not really in the search PATH,
9804 # but as the default location of the library.
9805 hardcode_minus_L=yes
9809 hpux11*)
9810 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9811 case $host_cpu in
9812 hppa*64*)
9813 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 ia64*)
9816 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9819 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9821 esac
9822 else
9823 case $host_cpu in
9824 hppa*64*)
9825 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9827 ia64*)
9828 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9832 # Older versions of the 11.00 compiler do not understand -b yet
9833 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9835 $as_echo_n "checking if $CC understands -b... " >&6; }
9836 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 lt_cv_prog_compiler__b=no
9840 save_LDFLAGS="$LDFLAGS"
9841 LDFLAGS="$LDFLAGS -b"
9842 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9843 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9844 # The linker can only warn and ignore the option if not recognized
9845 # So say no if there are warnings
9846 if test -s conftest.err; then
9847 # Append any errors to the config.log.
9848 cat conftest.err 1>&5
9849 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9851 if diff conftest.exp conftest.er2 >/dev/null; then
9852 lt_cv_prog_compiler__b=yes
9854 else
9855 lt_cv_prog_compiler__b=yes
9858 $RM -r conftest*
9859 LDFLAGS="$save_LDFLAGS"
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9863 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9865 if test x"$lt_cv_prog_compiler__b" = xyes; then
9866 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9867 else
9868 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9872 esac
9874 if test "$with_gnu_ld" = no; then
9875 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9876 hardcode_libdir_separator=:
9878 case $host_cpu in
9879 hppa*64*|ia64*)
9880 hardcode_direct=no
9881 hardcode_shlibpath_var=no
9884 hardcode_direct=yes
9885 hardcode_direct_absolute=yes
9886 export_dynamic_flag_spec='${wl}-E'
9888 # hardcode_minus_L: Not really in the search PATH,
9889 # but as the default location of the library.
9890 hardcode_minus_L=yes
9892 esac
9896 irix5* | irix6* | nonstopux*)
9897 if test "$GCC" = yes; then
9898 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'
9899 # Try to use the -exported_symbol ld option, if it does not
9900 # work, assume that -exports_file does not work either and
9901 # implicitly export all symbols.
9902 save_LDFLAGS="$LDFLAGS"
9903 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9904 if test x$gcc_no_link = xyes; then
9905 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 int foo(void) {}
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 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'
9915 rm -f core conftest.err conftest.$ac_objext \
9916 conftest$ac_exeext conftest.$ac_ext
9917 LDFLAGS="$save_LDFLAGS"
9918 else
9919 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'
9920 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'
9922 archive_cmds_need_lc='no'
9923 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9924 hardcode_libdir_separator=:
9925 inherit_rpath=yes
9926 link_all_deplibs=yes
9929 netbsd*)
9930 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9931 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9932 else
9933 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9935 hardcode_libdir_flag_spec='-R$libdir'
9936 hardcode_direct=yes
9937 hardcode_shlibpath_var=no
9940 newsos6)
9941 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9942 hardcode_direct=yes
9943 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9944 hardcode_libdir_separator=:
9945 hardcode_shlibpath_var=no
9948 *nto* | *qnx*)
9951 openbsd*)
9952 if test -f /usr/libexec/ld.so; then
9953 hardcode_direct=yes
9954 hardcode_shlibpath_var=no
9955 hardcode_direct_absolute=yes
9956 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9957 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9958 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9959 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9960 export_dynamic_flag_spec='${wl}-E'
9961 else
9962 case $host_os in
9963 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9964 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9965 hardcode_libdir_flag_spec='-R$libdir'
9968 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9969 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9971 esac
9973 else
9974 ld_shlibs=no
9978 os2*)
9979 hardcode_libdir_flag_spec='-L$libdir'
9980 hardcode_minus_L=yes
9981 allow_undefined_flag=unsupported
9982 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'
9983 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9986 osf3*)
9987 if test "$GCC" = yes; then
9988 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9989 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'
9990 else
9991 allow_undefined_flag=' -expect_unresolved \*'
9992 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'
9994 archive_cmds_need_lc='no'
9995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996 hardcode_libdir_separator=:
9999 osf4* | osf5*) # as osf3* with the addition of -msym flag
10000 if test "$GCC" = yes; then
10001 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10002 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'
10003 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10004 else
10005 allow_undefined_flag=' -expect_unresolved \*'
10006 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'
10007 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~
10008 $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'
10010 # Both c and cxx compiler support -rpath directly
10011 hardcode_libdir_flag_spec='-rpath $libdir'
10013 archive_cmds_need_lc='no'
10014 hardcode_libdir_separator=:
10017 solaris*)
10018 no_undefined_flag=' -z defs'
10019 if test "$GCC" = yes; then
10020 wlarc='${wl}'
10021 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10023 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10024 else
10025 case `$CC -V 2>&1` in
10026 *"Compilers 5.0"*)
10027 wlarc=''
10028 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10029 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10030 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10033 wlarc='${wl}'
10034 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10036 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10038 esac
10040 hardcode_libdir_flag_spec='-R$libdir'
10041 hardcode_shlibpath_var=no
10042 case $host_os in
10043 solaris2.[0-5] | solaris2.[0-5].*) ;;
10045 # The compiler driver will combine and reorder linker options,
10046 # but understands `-z linker_flag'. GCC discards it without `$wl',
10047 # but is careful enough not to reorder.
10048 # Supported since Solaris 2.6 (maybe 2.5.1?)
10049 if test "$GCC" = yes; then
10050 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10051 else
10052 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10055 esac
10056 link_all_deplibs=yes
10059 sunos4*)
10060 if test "x$host_vendor" = xsequent; then
10061 # Use $CC to link under sequent, because it throws in some extra .o
10062 # files that make .init and .fini sections work.
10063 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10064 else
10065 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10067 hardcode_libdir_flag_spec='-L$libdir'
10068 hardcode_direct=yes
10069 hardcode_minus_L=yes
10070 hardcode_shlibpath_var=no
10073 sysv4)
10074 case $host_vendor in
10075 sni)
10076 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077 hardcode_direct=yes # is this really true???
10079 siemens)
10080 ## LD is ld it makes a PLAMLIB
10081 ## CC just makes a GrossModule.
10082 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10083 reload_cmds='$CC -r -o $output$reload_objs'
10084 hardcode_direct=no
10086 motorola)
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10090 esac
10091 runpath_var='LD_RUN_PATH'
10092 hardcode_shlibpath_var=no
10095 sysv4.3*)
10096 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10097 hardcode_shlibpath_var=no
10098 export_dynamic_flag_spec='-Bexport'
10101 sysv4*MP*)
10102 if test -d /usr/nec; then
10103 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10104 hardcode_shlibpath_var=no
10105 runpath_var=LD_RUN_PATH
10106 hardcode_runpath_var=yes
10107 ld_shlibs=yes
10111 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10112 no_undefined_flag='${wl}-z,text'
10113 archive_cmds_need_lc=no
10114 hardcode_shlibpath_var=no
10115 runpath_var='LD_RUN_PATH'
10117 if test "$GCC" = yes; then
10118 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 else
10121 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10126 sysv5* | sco3.2v5* | sco5v6*)
10127 # Note: We can NOT use -z defs as we might desire, because we do not
10128 # link with -lc, and that would cause any symbols used from libc to
10129 # always be unresolved, which means just about no library would
10130 # ever link correctly. If we're not using GNU ld we use -z text
10131 # though, which does catch some bad symbols but isn't as heavy-handed
10132 # as -z defs.
10133 no_undefined_flag='${wl}-z,text'
10134 allow_undefined_flag='${wl}-z,nodefs'
10135 archive_cmds_need_lc=no
10136 hardcode_shlibpath_var=no
10137 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10138 hardcode_libdir_separator=':'
10139 link_all_deplibs=yes
10140 export_dynamic_flag_spec='${wl}-Bexport'
10141 runpath_var='LD_RUN_PATH'
10143 if test "$GCC" = yes; then
10144 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10145 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10146 else
10147 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10148 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10152 uts4*)
10153 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10154 hardcode_libdir_flag_spec='-L$libdir'
10155 hardcode_shlibpath_var=no
10159 ld_shlibs=no
10161 esac
10163 if test x$host_vendor = xsni; then
10164 case $host in
10165 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10166 export_dynamic_flag_spec='${wl}-Blargedynsym'
10168 esac
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10173 $as_echo "$ld_shlibs" >&6; }
10174 test "$ld_shlibs" = no && can_build_shared=no
10176 with_gnu_ld=$with_gnu_ld
10193 # Do we need to explicitly link libc?
10195 case "x$archive_cmds_need_lc" in
10196 x|xyes)
10197 # Assume -lc should be added
10198 archive_cmds_need_lc=yes
10200 if test "$enable_shared" = yes && test "$GCC" = yes; then
10201 case $archive_cmds in
10202 *'~'*)
10203 # FIXME: we may have to deal with multi-command sequences.
10205 '$CC '*)
10206 # Test whether the compiler implicitly links with -lc since on some
10207 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10208 # to ld, don't add -lc before -lgcc.
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10210 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10211 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 $RM conftest*
10215 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10218 (eval $ac_compile) 2>&5
10219 ac_status=$?
10220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10221 test $ac_status = 0; } 2>conftest.err; then
10222 soname=conftest
10223 lib=conftest
10224 libobjs=conftest.$ac_objext
10225 deplibs=
10226 wl=$lt_prog_compiler_wl
10227 pic_flag=$lt_prog_compiler_pic
10228 compiler_flags=-v
10229 linker_flags=-v
10230 verstring=
10231 output_objdir=.
10232 libname=conftest
10233 lt_save_allow_undefined_flag=$allow_undefined_flag
10234 allow_undefined_flag=
10235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10236 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10237 ac_status=$?
10238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10239 test $ac_status = 0; }
10240 then
10241 lt_cv_archive_cmds_need_lc=no
10242 else
10243 lt_cv_archive_cmds_need_lc=yes
10245 allow_undefined_flag=$lt_save_allow_undefined_flag
10246 else
10247 cat conftest.err 1>&5
10249 $RM conftest*
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10253 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10254 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10256 esac
10259 esac
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10418 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10420 if test "$GCC" = yes; then
10421 case $host_os in
10422 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10423 *) lt_awk_arg="/^libraries:/" ;;
10424 esac
10425 case $host_os in
10426 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10427 *) lt_sed_strip_eq="s,=/,/,g" ;;
10428 esac
10429 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10430 case $lt_search_path_spec in
10431 *\;*)
10432 # if the path contains ";" then we assume it to be the separator
10433 # otherwise default to the standard path separator (i.e. ":") - it is
10434 # assumed that no part of a normal pathname contains ";" but that should
10435 # okay in the real world where ";" in dirpaths is itself problematic.
10436 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10439 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10441 esac
10442 # Ok, now we have the path, separated by spaces, we can step through it
10443 # and add multilib dir if necessary.
10444 lt_tmp_lt_search_path_spec=
10445 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10446 for lt_sys_path in $lt_search_path_spec; do
10447 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10448 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10449 else
10450 test -d "$lt_sys_path" && \
10451 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10453 done
10454 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10455 BEGIN {RS=" "; FS="/|\n";} {
10456 lt_foo="";
10457 lt_count=0;
10458 for (lt_i = NF; lt_i > 0; lt_i--) {
10459 if ($lt_i != "" && $lt_i != ".") {
10460 if ($lt_i == "..") {
10461 lt_count++;
10462 } else {
10463 if (lt_count == 0) {
10464 lt_foo="/" $lt_i lt_foo;
10465 } else {
10466 lt_count--;
10471 if (lt_foo != "") { lt_freq[lt_foo]++; }
10472 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10474 # AWK program above erroneously prepends '/' to C:/dos/paths
10475 # for these hosts.
10476 case $host_os in
10477 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10478 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10479 esac
10480 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10481 else
10482 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10484 library_names_spec=
10485 libname_spec='lib$name'
10486 soname_spec=
10487 shrext_cmds=".so"
10488 postinstall_cmds=
10489 postuninstall_cmds=
10490 finish_cmds=
10491 finish_eval=
10492 shlibpath_var=
10493 shlibpath_overrides_runpath=unknown
10494 version_type=none
10495 dynamic_linker="$host_os ld.so"
10496 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10497 need_lib_prefix=unknown
10498 hardcode_into_libs=no
10500 # when you set need_version to no, make sure it does not cause -set_version
10501 # flags to be left without arguments
10502 need_version=unknown
10504 case $host_os in
10505 aix3*)
10506 version_type=linux
10507 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10508 shlibpath_var=LIBPATH
10510 # AIX 3 has no versioning support, so we append a major version to the name.
10511 soname_spec='${libname}${release}${shared_ext}$major'
10514 aix[4-9]*)
10515 version_type=linux
10516 need_lib_prefix=no
10517 need_version=no
10518 hardcode_into_libs=yes
10519 if test "$host_cpu" = ia64; then
10520 # AIX 5 supports IA64
10521 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10522 shlibpath_var=LD_LIBRARY_PATH
10523 else
10524 # With GCC up to 2.95.x, collect2 would create an import file
10525 # for dependence libraries. The import file would start with
10526 # the line `#! .'. This would cause the generated library to
10527 # depend on `.', always an invalid library. This was fixed in
10528 # development snapshots of GCC prior to 3.0.
10529 case $host_os in
10530 aix4 | aix4.[01] | aix4.[01].*)
10531 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10532 echo ' yes '
10533 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10535 else
10536 can_build_shared=no
10539 esac
10540 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10541 # soname into executable. Probably we can add versioning support to
10542 # collect2, so additional links can be useful in future.
10543 if test "$aix_use_runtimelinking" = yes; then
10544 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10545 # instead of lib<name>.a to let people know that these are not
10546 # typical AIX shared libraries.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10548 else
10549 # We preserve .a as extension for shared libraries through AIX4.2
10550 # and later when we are not doing run time linking.
10551 library_names_spec='${libname}${release}.a $libname.a'
10552 soname_spec='${libname}${release}${shared_ext}$major'
10554 shlibpath_var=LIBPATH
10558 amigaos*)
10559 case $host_cpu in
10560 powerpc)
10561 # Since July 2007 AmigaOS4 officially supports .so libraries.
10562 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10565 m68k)
10566 library_names_spec='$libname.ixlibrary $libname.a'
10567 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10568 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'
10570 esac
10573 beos*)
10574 library_names_spec='${libname}${shared_ext}'
10575 dynamic_linker="$host_os ld.so"
10576 shlibpath_var=LIBRARY_PATH
10579 bsdi[45]*)
10580 version_type=linux
10581 need_version=no
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10583 soname_spec='${libname}${release}${shared_ext}$major'
10584 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10585 shlibpath_var=LD_LIBRARY_PATH
10586 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10587 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10588 # the default ld.so.conf also contains /usr/contrib/lib and
10589 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10590 # libtool to hard-code these into programs
10593 cygwin* | mingw* | pw32* | cegcc*)
10594 version_type=windows
10595 shrext_cmds=".dll"
10596 need_version=no
10597 need_lib_prefix=no
10599 case $GCC,$host_os in
10600 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10601 library_names_spec='$libname.dll.a'
10602 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10603 postinstall_cmds='base_file=`basename \${file}`~
10604 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10605 dldir=$destdir/`dirname \$dlpath`~
10606 test -d \$dldir || mkdir -p \$dldir~
10607 $install_prog $dir/$dlname \$dldir/$dlname~
10608 chmod a+x \$dldir/$dlname~
10609 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10610 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10612 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10613 dlpath=$dir/\$dldll~
10614 $RM \$dlpath'
10615 shlibpath_overrides_runpath=yes
10617 case $host_os in
10618 cygwin*)
10619 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10620 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10622 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10624 mingw* | cegcc*)
10625 # MinGW DLLs use traditional 'lib' prefix
10626 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10628 pw32*)
10629 # pw32 DLLs use 'pw' prefix rather than 'lib'
10630 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10632 esac
10636 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10638 esac
10639 dynamic_linker='Win32 ld.exe'
10640 # FIXME: first we should search . and the directory the executable is in
10641 shlibpath_var=PATH
10644 darwin* | rhapsody*)
10645 dynamic_linker="$host_os dyld"
10646 version_type=darwin
10647 need_lib_prefix=no
10648 need_version=no
10649 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10650 soname_spec='${libname}${release}${major}$shared_ext'
10651 shlibpath_overrides_runpath=yes
10652 shlibpath_var=DYLD_LIBRARY_PATH
10653 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10655 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10656 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10659 dgux*)
10660 version_type=linux
10661 need_lib_prefix=no
10662 need_version=no
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 shlibpath_var=LD_LIBRARY_PATH
10668 freebsd* | dragonfly*)
10669 # DragonFly does not have aout. When/if they implement a new
10670 # versioning mechanism, adjust this.
10671 if test -x /usr/bin/objformat; then
10672 objformat=`/usr/bin/objformat`
10673 else
10674 case $host_os in
10675 freebsd[23].*) objformat=aout ;;
10676 *) objformat=elf ;;
10677 esac
10679 version_type=freebsd-$objformat
10680 case $version_type in
10681 freebsd-elf*)
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10683 need_version=no
10684 need_lib_prefix=no
10686 freebsd-*)
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10688 need_version=yes
10690 esac
10691 shlibpath_var=LD_LIBRARY_PATH
10692 case $host_os in
10693 freebsd2.*)
10694 shlibpath_overrides_runpath=yes
10696 freebsd3.[01]* | freebsdelf3.[01]*)
10697 shlibpath_overrides_runpath=yes
10698 hardcode_into_libs=yes
10700 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10701 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10702 shlibpath_overrides_runpath=no
10703 hardcode_into_libs=yes
10705 *) # from 4.6 on, and DragonFly
10706 shlibpath_overrides_runpath=yes
10707 hardcode_into_libs=yes
10709 esac
10712 gnu*)
10713 version_type=linux
10714 need_lib_prefix=no
10715 need_version=no
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 shlibpath_var=LD_LIBRARY_PATH
10719 hardcode_into_libs=yes
10722 haiku*)
10723 version_type=linux
10724 need_lib_prefix=no
10725 need_version=no
10726 dynamic_linker="$host_os runtime_loader"
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10728 soname_spec='${libname}${release}${shared_ext}$major'
10729 shlibpath_var=LIBRARY_PATH
10730 shlibpath_overrides_runpath=yes
10731 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10732 hardcode_into_libs=yes
10735 hpux9* | hpux10* | hpux11*)
10736 # Give a soname corresponding to the major version so that dld.sl refuses to
10737 # link against other versions.
10738 version_type=sunos
10739 need_lib_prefix=no
10740 need_version=no
10741 case $host_cpu in
10742 ia64*)
10743 shrext_cmds='.so'
10744 hardcode_into_libs=yes
10745 dynamic_linker="$host_os dld.so"
10746 shlibpath_var=LD_LIBRARY_PATH
10747 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10749 soname_spec='${libname}${release}${shared_ext}$major'
10750 if test "X$HPUX_IA64_MODE" = X32; then
10751 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10752 else
10753 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10757 hppa*64*)
10758 shrext_cmds='.sl'
10759 hardcode_into_libs=yes
10760 dynamic_linker="$host_os dld.sl"
10761 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10762 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764 soname_spec='${libname}${release}${shared_ext}$major'
10765 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10766 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10769 shrext_cmds='.sl'
10770 dynamic_linker="$host_os dld.sl"
10771 shlibpath_var=SHLIB_PATH
10772 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774 soname_spec='${libname}${release}${shared_ext}$major'
10776 esac
10777 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10778 postinstall_cmds='chmod 555 $lib'
10779 # or fails outright, so override atomically:
10780 install_override_mode=555
10783 interix[3-9]*)
10784 version_type=linux
10785 need_lib_prefix=no
10786 need_version=no
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10788 soname_spec='${libname}${release}${shared_ext}$major'
10789 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10790 shlibpath_var=LD_LIBRARY_PATH
10791 shlibpath_overrides_runpath=no
10792 hardcode_into_libs=yes
10795 irix5* | irix6* | nonstopux*)
10796 case $host_os in
10797 nonstopux*) version_type=nonstopux ;;
10799 if test "$lt_cv_prog_gnu_ld" = yes; then
10800 version_type=linux
10801 else
10802 version_type=irix
10803 fi ;;
10804 esac
10805 need_lib_prefix=no
10806 need_version=no
10807 soname_spec='${libname}${release}${shared_ext}$major'
10808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10809 case $host_os in
10810 irix5* | nonstopux*)
10811 libsuff= shlibsuff=
10814 case $LD in # libtool.m4 will add one of these switches to LD
10815 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10816 libsuff= shlibsuff= libmagic=32-bit;;
10817 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10818 libsuff=32 shlibsuff=N32 libmagic=N32;;
10819 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10820 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10821 *) libsuff= shlibsuff= libmagic=never-match;;
10822 esac
10824 esac
10825 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10826 shlibpath_overrides_runpath=no
10827 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10828 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10829 hardcode_into_libs=yes
10832 # No shared lib support for Linux oldld, aout, or coff.
10833 linux*oldld* | linux*aout* | linux*coff*)
10834 dynamic_linker=no
10837 # This must be Linux ELF.
10838 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10839 version_type=linux
10840 need_lib_prefix=no
10841 need_version=no
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10843 soname_spec='${libname}${release}${shared_ext}$major'
10844 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10845 shlibpath_var=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath=no
10848 # Some binutils ld are patched to set DT_RUNPATH
10849 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10850 $as_echo_n "(cached) " >&6
10851 else
10852 lt_cv_shlibpath_overrides_runpath=no
10853 save_LDFLAGS=$LDFLAGS
10854 save_libdir=$libdir
10855 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10856 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10857 if test x$gcc_no_link = xyes; then
10858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10864 main ()
10868 return 0;
10870 _ACEOF
10871 if ac_fn_c_try_link "$LINENO"; then :
10872 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10873 lt_cv_shlibpath_overrides_runpath=yes
10876 rm -f core conftest.err conftest.$ac_objext \
10877 conftest$ac_exeext conftest.$ac_ext
10878 LDFLAGS=$save_LDFLAGS
10879 libdir=$save_libdir
10883 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10885 # This implies no fast_install, which is unacceptable.
10886 # Some rework will be needed to allow for fast_install
10887 # before this can be enabled.
10888 hardcode_into_libs=yes
10890 # Append ld.so.conf contents to the search path
10891 if test -f /etc/ld.so.conf; then
10892 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' ' '`
10893 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10896 # We used to test for /lib/ld.so.1 and disable shared libraries on
10897 # powerpc, because MkLinux only supported shared libraries with the
10898 # GNU dynamic linker. Since this was broken with cross compilers,
10899 # most powerpc-linux boxes support dynamic linking these days and
10900 # people can always --disable-shared, the test was removed, and we
10901 # assume the GNU/Linux dynamic linker is in use.
10902 dynamic_linker='GNU/Linux ld.so'
10905 netbsd*)
10906 version_type=sunos
10907 need_lib_prefix=no
10908 need_version=no
10909 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10911 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10912 dynamic_linker='NetBSD (a.out) ld.so'
10913 else
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10916 dynamic_linker='NetBSD ld.elf_so'
10918 shlibpath_var=LD_LIBRARY_PATH
10919 shlibpath_overrides_runpath=yes
10920 hardcode_into_libs=yes
10923 newsos6)
10924 version_type=linux
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 shlibpath_overrides_runpath=yes
10930 *nto* | *qnx*)
10931 version_type=qnx
10932 need_lib_prefix=no
10933 need_version=no
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935 soname_spec='${libname}${release}${shared_ext}$major'
10936 shlibpath_var=LD_LIBRARY_PATH
10937 shlibpath_overrides_runpath=no
10938 hardcode_into_libs=yes
10939 dynamic_linker='ldqnx.so'
10942 openbsd*)
10943 version_type=sunos
10944 sys_lib_dlsearch_path_spec="/usr/lib"
10945 need_lib_prefix=no
10946 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10947 case $host_os in
10948 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10949 *) need_version=no ;;
10950 esac
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10955 case $host_os in
10956 openbsd2.[89] | openbsd2.[89].*)
10957 shlibpath_overrides_runpath=no
10960 shlibpath_overrides_runpath=yes
10962 esac
10963 else
10964 shlibpath_overrides_runpath=yes
10968 os2*)
10969 libname_spec='$name'
10970 shrext_cmds=".dll"
10971 need_lib_prefix=no
10972 library_names_spec='$libname${shared_ext} $libname.a'
10973 dynamic_linker='OS/2 ld.exe'
10974 shlibpath_var=LIBPATH
10977 osf3* | osf4* | osf5*)
10978 version_type=osf
10979 need_lib_prefix=no
10980 need_version=no
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10985 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10988 rdos*)
10989 dynamic_linker=no
10992 solaris*)
10993 version_type=linux
10994 need_lib_prefix=no
10995 need_version=no
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 hardcode_into_libs=yes
11001 # ldd complains unless libraries are executable
11002 postinstall_cmds='chmod +x $lib'
11005 sunos4*)
11006 version_type=sunos
11007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11008 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11009 shlibpath_var=LD_LIBRARY_PATH
11010 shlibpath_overrides_runpath=yes
11011 if test "$with_gnu_ld" = yes; then
11012 need_lib_prefix=no
11014 need_version=yes
11017 sysv4 | sysv4.3*)
11018 version_type=linux
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020 soname_spec='${libname}${release}${shared_ext}$major'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 case $host_vendor in
11023 sni)
11024 shlibpath_overrides_runpath=no
11025 need_lib_prefix=no
11026 runpath_var=LD_RUN_PATH
11028 siemens)
11029 need_lib_prefix=no
11031 motorola)
11032 need_lib_prefix=no
11033 need_version=no
11034 shlibpath_overrides_runpath=no
11035 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11037 esac
11040 sysv4*MP*)
11041 if test -d /usr/nec ;then
11042 version_type=linux
11043 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11044 soname_spec='$libname${shared_ext}.$major'
11045 shlibpath_var=LD_LIBRARY_PATH
11049 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11050 version_type=freebsd-elf
11051 need_lib_prefix=no
11052 need_version=no
11053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11054 soname_spec='${libname}${release}${shared_ext}$major'
11055 shlibpath_var=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath=yes
11057 hardcode_into_libs=yes
11058 if test "$with_gnu_ld" = yes; then
11059 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11060 else
11061 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11062 case $host_os in
11063 sco3.2v5*)
11064 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11066 esac
11068 sys_lib_dlsearch_path_spec='/usr/lib'
11071 tpf*)
11072 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11073 version_type=linux
11074 need_lib_prefix=no
11075 need_version=no
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 shlibpath_var=LD_LIBRARY_PATH
11078 shlibpath_overrides_runpath=no
11079 hardcode_into_libs=yes
11082 uts4*)
11083 version_type=linux
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 shlibpath_var=LD_LIBRARY_PATH
11090 dynamic_linker=no
11092 esac
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11094 $as_echo "$dynamic_linker" >&6; }
11095 test "$dynamic_linker" = no && can_build_shared=no
11097 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11098 if test "$GCC" = yes; then
11099 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11102 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11103 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11105 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11106 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11201 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11202 hardcode_action=
11203 if test -n "$hardcode_libdir_flag_spec" ||
11204 test -n "$runpath_var" ||
11205 test "X$hardcode_automatic" = "Xyes" ; then
11207 # We can hardcode non-existent directories.
11208 if test "$hardcode_direct" != no &&
11209 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11210 # have to relink, otherwise we might link with an installed library
11211 # when we should be linking with a yet-to-be-installed one
11212 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11213 test "$hardcode_minus_L" != no; then
11214 # Linking always hardcodes the temporary library directory.
11215 hardcode_action=relink
11216 else
11217 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11218 hardcode_action=immediate
11220 else
11221 # We cannot hardcode anything, or else we can only hardcode existing
11222 # directories.
11223 hardcode_action=unsupported
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11226 $as_echo "$hardcode_action" >&6; }
11228 if test "$hardcode_action" = relink ||
11229 test "$inherit_rpath" = yes; then
11230 # Fast installation is not supported
11231 enable_fast_install=no
11232 elif test "$shlibpath_overrides_runpath" = yes ||
11233 test "$enable_shared" = no; then
11234 # Fast installation is not necessary
11235 enable_fast_install=needless
11243 if test "x$enable_dlopen" != xyes; then
11244 enable_dlopen=unknown
11245 enable_dlopen_self=unknown
11246 enable_dlopen_self_static=unknown
11247 else
11248 lt_cv_dlopen=no
11249 lt_cv_dlopen_libs=
11251 case $host_os in
11252 beos*)
11253 lt_cv_dlopen="load_add_on"
11254 lt_cv_dlopen_libs=
11255 lt_cv_dlopen_self=yes
11258 mingw* | pw32* | cegcc*)
11259 lt_cv_dlopen="LoadLibrary"
11260 lt_cv_dlopen_libs=
11263 cygwin*)
11264 lt_cv_dlopen="dlopen"
11265 lt_cv_dlopen_libs=
11268 darwin*)
11269 # if libdl is installed we need to link against it
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11271 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11272 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11273 $as_echo_n "(cached) " >&6
11274 else
11275 ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-ldl $LIBS"
11277 if test x$gcc_no_link = xyes; then
11278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char dlopen ();
11291 main ()
11293 return dlopen ();
11295 return 0;
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 ac_cv_lib_dl_dlopen=yes
11300 else
11301 ac_cv_lib_dl_dlopen=no
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_lib_save_LIBS
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11308 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11309 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11310 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11311 else
11313 lt_cv_dlopen="dyld"
11314 lt_cv_dlopen_libs=
11315 lt_cv_dlopen_self=yes
11322 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11323 if test "x$ac_cv_func_shl_load" = x""yes; then :
11324 lt_cv_dlopen="shl_load"
11325 else
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11327 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11328 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_lib_save_LIBS=$LIBS
11332 LIBS="-ldld $LIBS"
11333 if test x$gcc_no_link = xyes; then
11334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char shl_load ();
11347 main ()
11349 return shl_load ();
11351 return 0;
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 ac_cv_lib_dld_shl_load=yes
11356 else
11357 ac_cv_lib_dld_shl_load=no
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11364 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11365 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11366 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11367 else
11368 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11369 if test "x$ac_cv_func_dlopen" = x""yes; then :
11370 lt_cv_dlopen="dlopen"
11371 else
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11373 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11374 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11375 $as_echo_n "(cached) " >&6
11376 else
11377 ac_check_lib_save_LIBS=$LIBS
11378 LIBS="-ldl $LIBS"
11379 if test x$gcc_no_link = xyes; then
11380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11388 #ifdef __cplusplus
11389 extern "C"
11390 #endif
11391 char dlopen ();
11393 main ()
11395 return dlopen ();
11397 return 0;
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401 ac_cv_lib_dl_dlopen=yes
11402 else
11403 ac_cv_lib_dl_dlopen=no
11405 rm -f core conftest.err conftest.$ac_objext \
11406 conftest$ac_exeext conftest.$ac_ext
11407 LIBS=$ac_check_lib_save_LIBS
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11410 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11411 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11412 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11413 else
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11415 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11416 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11417 $as_echo_n "(cached) " >&6
11418 else
11419 ac_check_lib_save_LIBS=$LIBS
11420 LIBS="-lsvld $LIBS"
11421 if test x$gcc_no_link = xyes; then
11422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11430 #ifdef __cplusplus
11431 extern "C"
11432 #endif
11433 char dlopen ();
11435 main ()
11437 return dlopen ();
11439 return 0;
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"; then :
11443 ac_cv_lib_svld_dlopen=yes
11444 else
11445 ac_cv_lib_svld_dlopen=no
11447 rm -f core conftest.err conftest.$ac_objext \
11448 conftest$ac_exeext conftest.$ac_ext
11449 LIBS=$ac_check_lib_save_LIBS
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11452 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11453 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11454 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11455 else
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11457 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11458 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11459 $as_echo_n "(cached) " >&6
11460 else
11461 ac_check_lib_save_LIBS=$LIBS
11462 LIBS="-ldld $LIBS"
11463 if test x$gcc_no_link = xyes; then
11464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11469 /* Override any GCC internal prototype to avoid an error.
11470 Use char because int might match the return type of a GCC
11471 builtin and then its argument prototype would still apply. */
11472 #ifdef __cplusplus
11473 extern "C"
11474 #endif
11475 char dld_link ();
11477 main ()
11479 return dld_link ();
11481 return 0;
11483 _ACEOF
11484 if ac_fn_c_try_link "$LINENO"; then :
11485 ac_cv_lib_dld_dld_link=yes
11486 else
11487 ac_cv_lib_dld_dld_link=no
11489 rm -f core conftest.err conftest.$ac_objext \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_lib_save_LIBS
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11494 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11495 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11496 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11515 esac
11517 if test "x$lt_cv_dlopen" != xno; then
11518 enable_dlopen=yes
11519 else
11520 enable_dlopen=no
11523 case $lt_cv_dlopen in
11524 dlopen)
11525 save_CPPFLAGS="$CPPFLAGS"
11526 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11528 save_LDFLAGS="$LDFLAGS"
11529 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11531 save_LIBS="$LIBS"
11532 LIBS="$lt_cv_dlopen_libs $LIBS"
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11535 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11536 if test "${lt_cv_dlopen_self+set}" = set; then :
11537 $as_echo_n "(cached) " >&6
11538 else
11539 if test "$cross_compiling" = yes; then :
11540 lt_cv_dlopen_self=cross
11541 else
11542 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11543 lt_status=$lt_dlunknown
11544 cat > conftest.$ac_ext <<_LT_EOF
11545 #line 11544 "configure"
11546 #include "confdefs.h"
11548 #if HAVE_DLFCN_H
11549 #include <dlfcn.h>
11550 #endif
11552 #include <stdio.h>
11554 #ifdef RTLD_GLOBAL
11555 # define LT_DLGLOBAL RTLD_GLOBAL
11556 #else
11557 # ifdef DL_GLOBAL
11558 # define LT_DLGLOBAL DL_GLOBAL
11559 # else
11560 # define LT_DLGLOBAL 0
11561 # endif
11562 #endif
11564 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11565 find out it does not work in some platform. */
11566 #ifndef LT_DLLAZY_OR_NOW
11567 # ifdef RTLD_LAZY
11568 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11569 # else
11570 # ifdef DL_LAZY
11571 # define LT_DLLAZY_OR_NOW DL_LAZY
11572 # else
11573 # ifdef RTLD_NOW
11574 # define LT_DLLAZY_OR_NOW RTLD_NOW
11575 # else
11576 # ifdef DL_NOW
11577 # define LT_DLLAZY_OR_NOW DL_NOW
11578 # else
11579 # define LT_DLLAZY_OR_NOW 0
11580 # endif
11581 # endif
11582 # endif
11583 # endif
11584 #endif
11586 /* When -fvisbility=hidden is used, assume the code has been annotated
11587 correspondingly for the symbols needed. */
11588 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11589 void fnord () __attribute__((visibility("default")));
11590 #endif
11592 void fnord () { int i=42; }
11593 int main ()
11595 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11596 int status = $lt_dlunknown;
11598 if (self)
11600 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11601 else
11603 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11604 else puts (dlerror ());
11606 /* dlclose (self); */
11608 else
11609 puts (dlerror ());
11611 return status;
11613 _LT_EOF
11614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11615 (eval $ac_link) 2>&5
11616 ac_status=$?
11617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11618 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11619 (./conftest; exit; ) >&5 2>/dev/null
11620 lt_status=$?
11621 case x$lt_status in
11622 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11623 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11624 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11625 esac
11626 else :
11627 # compilation failed
11628 lt_cv_dlopen_self=no
11631 rm -fr conftest*
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11636 $as_echo "$lt_cv_dlopen_self" >&6; }
11638 if test "x$lt_cv_dlopen_self" = xyes; then
11639 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11641 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11642 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11643 $as_echo_n "(cached) " >&6
11644 else
11645 if test "$cross_compiling" = yes; then :
11646 lt_cv_dlopen_self_static=cross
11647 else
11648 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11649 lt_status=$lt_dlunknown
11650 cat > conftest.$ac_ext <<_LT_EOF
11651 #line 11650 "configure"
11652 #include "confdefs.h"
11654 #if HAVE_DLFCN_H
11655 #include <dlfcn.h>
11656 #endif
11658 #include <stdio.h>
11660 #ifdef RTLD_GLOBAL
11661 # define LT_DLGLOBAL RTLD_GLOBAL
11662 #else
11663 # ifdef DL_GLOBAL
11664 # define LT_DLGLOBAL DL_GLOBAL
11665 # else
11666 # define LT_DLGLOBAL 0
11667 # endif
11668 #endif
11670 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11671 find out it does not work in some platform. */
11672 #ifndef LT_DLLAZY_OR_NOW
11673 # ifdef RTLD_LAZY
11674 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11675 # else
11676 # ifdef DL_LAZY
11677 # define LT_DLLAZY_OR_NOW DL_LAZY
11678 # else
11679 # ifdef RTLD_NOW
11680 # define LT_DLLAZY_OR_NOW RTLD_NOW
11681 # else
11682 # ifdef DL_NOW
11683 # define LT_DLLAZY_OR_NOW DL_NOW
11684 # else
11685 # define LT_DLLAZY_OR_NOW 0
11686 # endif
11687 # endif
11688 # endif
11689 # endif
11690 #endif
11692 /* When -fvisbility=hidden is used, assume the code has been annotated
11693 correspondingly for the symbols needed. */
11694 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11695 void fnord () __attribute__((visibility("default")));
11696 #endif
11698 void fnord () { int i=42; }
11699 int main ()
11701 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11702 int status = $lt_dlunknown;
11704 if (self)
11706 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11707 else
11709 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11710 else puts (dlerror ());
11712 /* dlclose (self); */
11714 else
11715 puts (dlerror ());
11717 return status;
11719 _LT_EOF
11720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11721 (eval $ac_link) 2>&5
11722 ac_status=$?
11723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11724 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11725 (./conftest; exit; ) >&5 2>/dev/null
11726 lt_status=$?
11727 case x$lt_status in
11728 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11729 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11730 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11731 esac
11732 else :
11733 # compilation failed
11734 lt_cv_dlopen_self_static=no
11737 rm -fr conftest*
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11742 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11745 CPPFLAGS="$save_CPPFLAGS"
11746 LDFLAGS="$save_LDFLAGS"
11747 LIBS="$save_LIBS"
11749 esac
11751 case $lt_cv_dlopen_self in
11752 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11753 *) enable_dlopen_self=unknown ;;
11754 esac
11756 case $lt_cv_dlopen_self_static in
11757 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11758 *) enable_dlopen_self_static=unknown ;;
11759 esac
11778 striplib=
11779 old_striplib=
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11781 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11782 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11783 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11784 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11786 $as_echo "yes" >&6; }
11787 else
11788 # FIXME - insert some real tests, host_os isn't really good enough
11789 case $host_os in
11790 darwin*)
11791 if test -n "$STRIP" ; then
11792 striplib="$STRIP -x"
11793 old_striplib="$STRIP -S"
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11795 $as_echo "yes" >&6; }
11796 else
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11798 $as_echo "no" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11803 $as_echo "no" >&6; }
11805 esac
11819 # Report which library types will actually be built
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11821 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11823 $as_echo "$can_build_shared" >&6; }
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11826 $as_echo_n "checking whether to build shared libraries... " >&6; }
11827 test "$can_build_shared" = "no" && enable_shared=no
11829 # On AIX, shared libraries and static libraries use the same namespace, and
11830 # are all built from PIC.
11831 case $host_os in
11832 aix3*)
11833 test "$enable_shared" = yes && enable_static=no
11834 if test -n "$RANLIB"; then
11835 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11836 postinstall_cmds='$RANLIB $lib'
11840 aix[4-9]*)
11841 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11842 test "$enable_shared" = yes && enable_static=no
11845 esac
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11847 $as_echo "$enable_shared" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11850 $as_echo_n "checking whether to build static libraries... " >&6; }
11851 # Make sure either enable_shared or enable_static is yes.
11852 test "$enable_shared" = yes || enable_static=yes
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11854 $as_echo "$enable_static" >&6; }
11860 ac_ext=c
11861 ac_cpp='$CPP $CPPFLAGS'
11862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11866 CC="$lt_save_CC"
11868 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11869 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11870 (test "X$CXX" != "Xg++"))) ; then
11871 ac_ext=cpp
11872 ac_cpp='$CXXCPP $CPPFLAGS'
11873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11877 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11878 if test -z "$CXXCPP"; then
11879 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11880 $as_echo_n "(cached) " >&6
11881 else
11882 # Double quotes because CXXCPP needs to be expanded
11883 for CXXCPP in "$CXX -E" "/lib/cpp"
11885 ac_preproc_ok=false
11886 for ac_cxx_preproc_warn_flag in '' yes
11888 # Use a header file that comes with gcc, so configuring glibc
11889 # with a fresh cross-compiler works.
11890 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11891 # <limits.h> exists even on freestanding compilers.
11892 # On the NeXT, cc -E runs the code through the compiler's parser,
11893 # not just through cpp. "Syntax error" is here to catch this case.
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11896 #ifdef __STDC__
11897 # include <limits.h>
11898 #else
11899 # include <assert.h>
11900 #endif
11901 Syntax error
11902 _ACEOF
11903 if ac_fn_cxx_try_cpp "$LINENO"; then :
11905 else
11906 # Broken: fails on valid input.
11907 continue
11909 rm -f conftest.err conftest.$ac_ext
11911 # OK, works on sane cases. Now check whether nonexistent headers
11912 # can be detected and how.
11913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11915 #include <ac_nonexistent.h>
11916 _ACEOF
11917 if ac_fn_cxx_try_cpp "$LINENO"; then :
11918 # Broken: success on invalid input.
11919 continue
11920 else
11921 # Passes both tests.
11922 ac_preproc_ok=:
11923 break
11925 rm -f conftest.err conftest.$ac_ext
11927 done
11928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11929 rm -f conftest.err conftest.$ac_ext
11930 if $ac_preproc_ok; then :
11931 break
11934 done
11935 ac_cv_prog_CXXCPP=$CXXCPP
11938 CXXCPP=$ac_cv_prog_CXXCPP
11939 else
11940 ac_cv_prog_CXXCPP=$CXXCPP
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11943 $as_echo "$CXXCPP" >&6; }
11944 ac_preproc_ok=false
11945 for ac_cxx_preproc_warn_flag in '' yes
11947 # Use a header file that comes with gcc, so configuring glibc
11948 # with a fresh cross-compiler works.
11949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11950 # <limits.h> exists even on freestanding compilers.
11951 # On the NeXT, cc -E runs the code through the compiler's parser,
11952 # not just through cpp. "Syntax error" is here to catch this case.
11953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11955 #ifdef __STDC__
11956 # include <limits.h>
11957 #else
11958 # include <assert.h>
11959 #endif
11960 Syntax error
11961 _ACEOF
11962 if ac_fn_cxx_try_cpp "$LINENO"; then :
11964 else
11965 # Broken: fails on valid input.
11966 continue
11968 rm -f conftest.err conftest.$ac_ext
11970 # OK, works on sane cases. Now check whether nonexistent headers
11971 # can be detected and how.
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 #include <ac_nonexistent.h>
11975 _ACEOF
11976 if ac_fn_cxx_try_cpp "$LINENO"; then :
11977 # Broken: success on invalid input.
11978 continue
11979 else
11980 # Passes both tests.
11981 ac_preproc_ok=:
11982 break
11984 rm -f conftest.err conftest.$ac_ext
11986 done
11987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11988 rm -f conftest.err conftest.$ac_ext
11989 if $ac_preproc_ok; then :
11991 else
11992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11994 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11995 See \`config.log' for more details." "$LINENO" 5; }
11998 ac_ext=c
11999 ac_cpp='$CPP $CPPFLAGS'
12000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12004 else
12005 _lt_caught_CXX_error=yes
12008 ac_ext=cpp
12009 ac_cpp='$CXXCPP $CPPFLAGS'
12010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12014 archive_cmds_need_lc_CXX=no
12015 allow_undefined_flag_CXX=
12016 always_export_symbols_CXX=no
12017 archive_expsym_cmds_CXX=
12018 compiler_needs_object_CXX=no
12019 export_dynamic_flag_spec_CXX=
12020 hardcode_direct_CXX=no
12021 hardcode_direct_absolute_CXX=no
12022 hardcode_libdir_flag_spec_CXX=
12023 hardcode_libdir_flag_spec_ld_CXX=
12024 hardcode_libdir_separator_CXX=
12025 hardcode_minus_L_CXX=no
12026 hardcode_shlibpath_var_CXX=unsupported
12027 hardcode_automatic_CXX=no
12028 inherit_rpath_CXX=no
12029 module_cmds_CXX=
12030 module_expsym_cmds_CXX=
12031 link_all_deplibs_CXX=unknown
12032 old_archive_cmds_CXX=$old_archive_cmds
12033 reload_flag_CXX=$reload_flag
12034 reload_cmds_CXX=$reload_cmds
12035 no_undefined_flag_CXX=
12036 whole_archive_flag_spec_CXX=
12037 enable_shared_with_static_runtimes_CXX=no
12039 # Source file extension for C++ test sources.
12040 ac_ext=cpp
12042 # Object file extension for compiled C++ test sources.
12043 objext=o
12044 objext_CXX=$objext
12046 # No sense in running all these tests if we already determined that
12047 # the CXX compiler isn't working. Some variables (like enable_shared)
12048 # are currently assumed to apply to all compilers on this platform,
12049 # and will be corrupted by setting them based on a non-working compiler.
12050 if test "$_lt_caught_CXX_error" != yes; then
12051 # Code to be used in simple compile tests
12052 lt_simple_compile_test_code="int some_variable = 0;"
12054 # Code to be used in simple link tests
12055 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12057 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12064 # If no C compiler was specified, use CC.
12065 LTCC=${LTCC-"$CC"}
12067 # If no C compiler flags were specified, use CFLAGS.
12068 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12070 # Allow CC to be a program name with arguments.
12071 compiler=$CC
12074 # save warnings/boilerplate of simple test code
12075 ac_outfile=conftest.$ac_objext
12076 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12077 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12078 _lt_compiler_boilerplate=`cat conftest.err`
12079 $RM conftest*
12081 ac_outfile=conftest.$ac_objext
12082 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12083 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12084 _lt_linker_boilerplate=`cat conftest.err`
12085 $RM -r conftest*
12088 # Allow CC to be a program name with arguments.
12089 lt_save_CC=$CC
12090 lt_save_LD=$LD
12091 lt_save_GCC=$GCC
12092 GCC=$GXX
12093 lt_save_with_gnu_ld=$with_gnu_ld
12094 lt_save_path_LD=$lt_cv_path_LD
12095 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12096 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12097 else
12098 $as_unset lt_cv_prog_gnu_ld
12100 if test -n "${lt_cv_path_LDCXX+set}"; then
12101 lt_cv_path_LD=$lt_cv_path_LDCXX
12102 else
12103 $as_unset lt_cv_path_LD
12105 test -z "${LDCXX+set}" || LD=$LDCXX
12106 CC=${CXX-"c++"}
12107 compiler=$CC
12108 compiler_CXX=$CC
12109 for cc_temp in $compiler""; do
12110 case $cc_temp in
12111 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12112 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12113 \-*) ;;
12114 *) break;;
12115 esac
12116 done
12117 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12120 if test -n "$compiler"; then
12121 # We don't want -fno-exception when compiling C++ code, so set the
12122 # no_builtin_flag separately
12123 if test "$GXX" = yes; then
12124 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12125 else
12126 lt_prog_compiler_no_builtin_flag_CXX=
12129 if test "$GXX" = yes; then
12130 # Set up default GNU C++ configuration
12134 # Check whether --with-gnu-ld was given.
12135 if test "${with_gnu_ld+set}" = set; then :
12136 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12137 else
12138 with_gnu_ld=no
12141 ac_prog=ld
12142 if test "$GCC" = yes; then
12143 # Check if gcc -print-prog-name=ld gives a path.
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12145 $as_echo_n "checking for ld used by $CC... " >&6; }
12146 case $host in
12147 *-*-mingw*)
12148 # gcc leaves a trailing carriage return which upsets mingw
12149 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12151 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12152 esac
12153 case $ac_prog in
12154 # Accept absolute paths.
12155 [\\/]* | ?:[\\/]*)
12156 re_direlt='/[^/][^/]*/\.\./'
12157 # Canonicalize the pathname of ld
12158 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12159 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12160 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12161 done
12162 test -z "$LD" && LD="$ac_prog"
12165 # If it fails, then pretend we aren't using GCC.
12166 ac_prog=ld
12169 # If it is relative, then search for the first ld in PATH.
12170 with_gnu_ld=unknown
12172 esac
12173 elif test "$with_gnu_ld" = yes; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12175 $as_echo_n "checking for GNU ld... " >&6; }
12176 else
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12178 $as_echo_n "checking for non-GNU ld... " >&6; }
12180 if test "${lt_cv_path_LD+set}" = set; then :
12181 $as_echo_n "(cached) " >&6
12182 else
12183 if test -z "$LD"; then
12184 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12185 for ac_dir in $PATH; do
12186 IFS="$lt_save_ifs"
12187 test -z "$ac_dir" && ac_dir=.
12188 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12189 lt_cv_path_LD="$ac_dir/$ac_prog"
12190 # Check to see if the program is GNU ld. I'd rather use --version,
12191 # but apparently some variants of GNU ld only accept -v.
12192 # Break only if it was the GNU/non-GNU ld that we prefer.
12193 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12194 *GNU* | *'with BFD'*)
12195 test "$with_gnu_ld" != no && break
12198 test "$with_gnu_ld" != yes && break
12200 esac
12202 done
12203 IFS="$lt_save_ifs"
12204 else
12205 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12209 LD="$lt_cv_path_LD"
12210 if test -n "$LD"; then
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12212 $as_echo "$LD" >&6; }
12213 else
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12215 $as_echo "no" >&6; }
12217 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12219 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12220 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12221 $as_echo_n "(cached) " >&6
12222 else
12223 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12224 case `$LD -v 2>&1 </dev/null` in
12225 *GNU* | *'with BFD'*)
12226 lt_cv_prog_gnu_ld=yes
12229 lt_cv_prog_gnu_ld=no
12231 esac
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12234 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12235 with_gnu_ld=$lt_cv_prog_gnu_ld
12243 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12244 # archiving commands below assume that GNU ld is being used.
12245 if test "$with_gnu_ld" = yes; then
12246 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12247 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12249 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12250 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12252 # If archive_cmds runs LD, not CC, wlarc should be empty
12253 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12254 # investigate it a little bit more. (MM)
12255 wlarc='${wl}'
12257 # ancient GNU ld didn't support --whole-archive et. al.
12258 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12259 $GREP 'no-whole-archive' > /dev/null; then
12260 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12261 else
12262 whole_archive_flag_spec_CXX=
12264 else
12265 with_gnu_ld=no
12266 wlarc=
12268 # A generic and very simple default shared library creation
12269 # command for GNU C++ for the case where it uses the native
12270 # linker, instead of GNU ld. If possible, this setting should
12271 # overridden to take advantage of the native linker features on
12272 # the platform it is being used on.
12273 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12276 # Commands to make compiler produce verbose output that lists
12277 # what "hidden" libraries, object files and flags are used when
12278 # linking a shared library.
12279 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12281 else
12282 GXX=no
12283 with_gnu_ld=no
12284 wlarc=
12287 # PORTME: fill in a description of your system's C++ link characteristics
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12289 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12290 ld_shlibs_CXX=yes
12291 case $host_os in
12292 aix3*)
12293 # FIXME: insert proper C++ library support
12294 ld_shlibs_CXX=no
12296 aix[4-9]*)
12297 if test "$host_cpu" = ia64; then
12298 # On IA64, the linker does run time linking by default, so we don't
12299 # have to do anything special.
12300 aix_use_runtimelinking=no
12301 exp_sym_flag='-Bexport'
12302 no_entry_flag=""
12303 else
12304 aix_use_runtimelinking=no
12306 # Test if we are trying to use run time linking or normal
12307 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12308 # need to do runtime linking.
12309 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12310 for ld_flag in $LDFLAGS; do
12311 case $ld_flag in
12312 *-brtl*)
12313 aix_use_runtimelinking=yes
12314 break
12316 esac
12317 done
12319 esac
12321 exp_sym_flag='-bexport'
12322 no_entry_flag='-bnoentry'
12325 # When large executables or shared objects are built, AIX ld can
12326 # have problems creating the table of contents. If linking a library
12327 # or program results in "error TOC overflow" add -mminimal-toc to
12328 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12329 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12331 archive_cmds_CXX=''
12332 hardcode_direct_CXX=yes
12333 hardcode_direct_absolute_CXX=yes
12334 hardcode_libdir_separator_CXX=':'
12335 link_all_deplibs_CXX=yes
12336 file_list_spec_CXX='${wl}-f,'
12338 if test "$GXX" = yes; then
12339 case $host_os in aix4.[012]|aix4.[012].*)
12340 # We only want to do this on AIX 4.2 and lower, the check
12341 # below for broken collect2 doesn't work under 4.3+
12342 collect2name=`${CC} -print-prog-name=collect2`
12343 if test -f "$collect2name" &&
12344 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12345 then
12346 # We have reworked collect2
12348 else
12349 # We have old collect2
12350 hardcode_direct_CXX=unsupported
12351 # It fails to find uninstalled libraries when the uninstalled
12352 # path is not listed in the libpath. Setting hardcode_minus_L
12353 # to unsupported forces relinking
12354 hardcode_minus_L_CXX=yes
12355 hardcode_libdir_flag_spec_CXX='-L$libdir'
12356 hardcode_libdir_separator_CXX=
12358 esac
12359 shared_flag='-shared'
12360 if test "$aix_use_runtimelinking" = yes; then
12361 shared_flag="$shared_flag "'${wl}-G'
12363 else
12364 # not using gcc
12365 if test "$host_cpu" = ia64; then
12366 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12367 # chokes on -Wl,-G. The following line is correct:
12368 shared_flag='-G'
12369 else
12370 if test "$aix_use_runtimelinking" = yes; then
12371 shared_flag='${wl}-G'
12372 else
12373 shared_flag='${wl}-bM:SRE'
12378 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12379 # It seems that -bexpall does not export symbols beginning with
12380 # underscore (_), so it is better to generate a list of symbols to
12381 # export.
12382 always_export_symbols_CXX=yes
12383 if test "$aix_use_runtimelinking" = yes; then
12384 # Warning - without using the other runtime loading flags (-brtl),
12385 # -berok will link without error, but may produce a broken library.
12386 allow_undefined_flag_CXX='-berok'
12387 # Determine the default libpath from the value encoded in an empty
12388 # executable.
12389 if test x$gcc_no_link = xyes; then
12390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12396 main ()
12400 return 0;
12402 _ACEOF
12403 if ac_fn_cxx_try_link "$LINENO"; then :
12405 lt_aix_libpath_sed='
12406 /Import File Strings/,/^$/ {
12407 /^0/ {
12408 s/^0 *\(.*\)$/\1/
12412 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12413 # Check for a 64-bit object if we didn't find anything.
12414 if test -z "$aix_libpath"; then
12415 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12418 rm -f core conftest.err conftest.$ac_objext \
12419 conftest$ac_exeext conftest.$ac_ext
12420 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12422 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12424 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"
12425 else
12426 if test "$host_cpu" = ia64; then
12427 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12428 allow_undefined_flag_CXX="-z nodefs"
12429 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"
12430 else
12431 # Determine the default libpath from the value encoded in an
12432 # empty executable.
12433 if test x$gcc_no_link = xyes; then
12434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12440 main ()
12444 return 0;
12446 _ACEOF
12447 if ac_fn_cxx_try_link "$LINENO"; then :
12449 lt_aix_libpath_sed='
12450 /Import File Strings/,/^$/ {
12451 /^0/ {
12452 s/^0 *\(.*\)$/\1/
12456 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12457 # Check for a 64-bit object if we didn't find anything.
12458 if test -z "$aix_libpath"; then
12459 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12462 rm -f core conftest.err conftest.$ac_objext \
12463 conftest$ac_exeext conftest.$ac_ext
12464 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12466 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12467 # Warning - without using the other run time loading flags,
12468 # -berok will link without error, but may produce a broken library.
12469 no_undefined_flag_CXX=' ${wl}-bernotok'
12470 allow_undefined_flag_CXX=' ${wl}-berok'
12471 if test "$with_gnu_ld" = yes; then
12472 # We only use this code for GNU lds that support --whole-archive.
12473 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12474 else
12475 # Exported symbols can be pulled into shared objects from archives
12476 whole_archive_flag_spec_CXX='$convenience'
12478 archive_cmds_need_lc_CXX=yes
12479 # This is similar to how AIX traditionally builds its shared
12480 # libraries.
12481 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'
12486 beos*)
12487 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12488 allow_undefined_flag_CXX=unsupported
12489 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12490 # support --undefined. This deserves some investigation. FIXME
12491 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12492 else
12493 ld_shlibs_CXX=no
12497 chorus*)
12498 case $cc_basename in
12500 # FIXME: insert proper C++ library support
12501 ld_shlibs_CXX=no
12503 esac
12506 cygwin* | mingw* | pw32* | cegcc*)
12507 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12508 # as there is no search path for DLLs.
12509 hardcode_libdir_flag_spec_CXX='-L$libdir'
12510 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12511 allow_undefined_flag_CXX=unsupported
12512 always_export_symbols_CXX=no
12513 enable_shared_with_static_runtimes_CXX=yes
12515 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12516 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'
12517 # If the export-symbols file already is a .def file (1st line
12518 # is EXPORTS), use it as is; otherwise, prepend...
12519 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12520 cp $export_symbols $output_objdir/$soname.def;
12521 else
12522 echo EXPORTS > $output_objdir/$soname.def;
12523 cat $export_symbols >> $output_objdir/$soname.def;
12525 $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'
12526 else
12527 ld_shlibs_CXX=no
12530 darwin* | rhapsody*)
12533 archive_cmds_need_lc_CXX=no
12534 hardcode_direct_CXX=no
12535 hardcode_automatic_CXX=yes
12536 hardcode_shlibpath_var_CXX=unsupported
12537 if test "$lt_cv_ld_force_load" = "yes"; then
12538 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\"`'
12539 else
12540 whole_archive_flag_spec_CXX=''
12542 link_all_deplibs_CXX=yes
12543 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12544 case $cc_basename in
12545 ifort*) _lt_dar_can_shared=yes ;;
12546 *) _lt_dar_can_shared=$GCC ;;
12547 esac
12548 if test "$_lt_dar_can_shared" = "yes"; then
12549 output_verbose_link_cmd=func_echo_all
12550 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}"
12551 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12552 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}"
12553 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}"
12554 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12555 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}"
12556 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}"
12559 else
12560 ld_shlibs_CXX=no
12565 dgux*)
12566 case $cc_basename in
12567 ec++*)
12568 # FIXME: insert proper C++ library support
12569 ld_shlibs_CXX=no
12571 ghcx*)
12572 # Green Hills C++ Compiler
12573 # FIXME: insert proper C++ library support
12574 ld_shlibs_CXX=no
12577 # FIXME: insert proper C++ library support
12578 ld_shlibs_CXX=no
12580 esac
12583 freebsd2.*)
12584 # C++ shared libraries reported to be fairly broken before
12585 # switch to ELF
12586 ld_shlibs_CXX=no
12589 freebsd-elf*)
12590 archive_cmds_need_lc_CXX=no
12593 freebsd* | dragonfly*)
12594 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12595 # conventions
12596 ld_shlibs_CXX=yes
12599 gnu*)
12602 haiku*)
12603 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12604 link_all_deplibs_CXX=yes
12607 hpux9*)
12608 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12609 hardcode_libdir_separator_CXX=:
12610 export_dynamic_flag_spec_CXX='${wl}-E'
12611 hardcode_direct_CXX=yes
12612 hardcode_minus_L_CXX=yes # Not in the search PATH,
12613 # but as the default
12614 # location of the library.
12616 case $cc_basename in
12617 CC*)
12618 # FIXME: insert proper C++ library support
12619 ld_shlibs_CXX=no
12621 aCC*)
12622 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'
12623 # Commands to make compiler produce verbose output that lists
12624 # what "hidden" libraries, object files and flags are used when
12625 # linking a shared library.
12627 # There doesn't appear to be a way to prevent this compiler from
12628 # explicitly linking system object files so we need to strip them
12629 # from the output so that they don't get included in the library
12630 # dependencies.
12631 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"'
12634 if test "$GXX" = yes; then
12635 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'
12636 else
12637 # FIXME: insert proper C++ library support
12638 ld_shlibs_CXX=no
12641 esac
12644 hpux10*|hpux11*)
12645 if test $with_gnu_ld = no; then
12646 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12647 hardcode_libdir_separator_CXX=:
12649 case $host_cpu in
12650 hppa*64*|ia64*)
12653 export_dynamic_flag_spec_CXX='${wl}-E'
12655 esac
12657 case $host_cpu in
12658 hppa*64*|ia64*)
12659 hardcode_direct_CXX=no
12660 hardcode_shlibpath_var_CXX=no
12663 hardcode_direct_CXX=yes
12664 hardcode_direct_absolute_CXX=yes
12665 hardcode_minus_L_CXX=yes # Not in the search PATH,
12666 # but as the default
12667 # location of the library.
12669 esac
12671 case $cc_basename in
12672 CC*)
12673 # FIXME: insert proper C++ library support
12674 ld_shlibs_CXX=no
12676 aCC*)
12677 case $host_cpu in
12678 hppa*64*)
12679 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12681 ia64*)
12682 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12685 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12687 esac
12688 # Commands to make compiler produce verbose output that lists
12689 # what "hidden" libraries, object files and flags are used when
12690 # linking a shared library.
12692 # There doesn't appear to be a way to prevent this compiler from
12693 # explicitly linking system object files so we need to strip them
12694 # from the output so that they don't get included in the library
12695 # dependencies.
12696 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"'
12699 if test "$GXX" = yes; then
12700 if test $with_gnu_ld = no; then
12701 case $host_cpu in
12702 hppa*64*)
12703 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12705 ia64*)
12706 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12709 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'
12711 esac
12713 else
12714 # FIXME: insert proper C++ library support
12715 ld_shlibs_CXX=no
12718 esac
12721 interix[3-9]*)
12722 hardcode_direct_CXX=no
12723 hardcode_shlibpath_var_CXX=no
12724 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12725 export_dynamic_flag_spec_CXX='${wl}-E'
12726 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12727 # Instead, shared libraries are loaded at an image base (0x10000000 by
12728 # default) and relocated if they conflict, which is a slow very memory
12729 # consuming and fragmenting process. To avoid this, we pick a random,
12730 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12731 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12732 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'
12733 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'
12735 irix5* | irix6*)
12736 case $cc_basename in
12737 CC*)
12738 # SGI C++
12739 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'
12741 # Archives containing C++ object files must be created using
12742 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12743 # necessary to make sure instantiated templates are included
12744 # in the archive.
12745 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12748 if test "$GXX" = yes; then
12749 if test "$with_gnu_ld" = no; then
12750 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'
12751 else
12752 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'
12755 link_all_deplibs_CXX=yes
12757 esac
12758 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12759 hardcode_libdir_separator_CXX=:
12760 inherit_rpath_CXX=yes
12763 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12764 case $cc_basename in
12765 KCC*)
12766 # Kuck and Associates, Inc. (KAI) C++ Compiler
12768 # KCC will only create a shared library if the output file
12769 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12770 # to its proper name (with version) after linking.
12771 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'
12772 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'
12773 # Commands to make compiler produce verbose output that lists
12774 # what "hidden" libraries, object files and flags are used when
12775 # linking a shared library.
12777 # There doesn't appear to be a way to prevent this compiler from
12778 # explicitly linking system object files so we need to strip them
12779 # from the output so that they don't get included in the library
12780 # dependencies.
12781 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"'
12783 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12784 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12786 # Archives containing C++ object files must be created using
12787 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12788 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12790 icpc* | ecpc* )
12791 # Intel C++
12792 with_gnu_ld=yes
12793 # version 8.0 and above of icpc choke on multiply defined symbols
12794 # if we add $predep_objects and $postdep_objects, however 7.1 and
12795 # earlier do not add the objects themselves.
12796 case `$CC -V 2>&1` in
12797 *"Version 7."*)
12798 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12799 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'
12801 *) # Version 8.0 or newer
12802 tmp_idyn=
12803 case $host_cpu in
12804 ia64*) tmp_idyn=' -i_dynamic';;
12805 esac
12806 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12807 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'
12809 esac
12810 archive_cmds_need_lc_CXX=no
12811 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12812 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12813 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12815 pgCC* | pgcpp*)
12816 # Portland Group C++ compiler
12817 case `$CC -V` in
12818 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12819 prelink_cmds_CXX='tpldir=Template.dir~
12820 rm -rf $tpldir~
12821 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12822 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12823 old_archive_cmds_CXX='tpldir=Template.dir~
12824 rm -rf $tpldir~
12825 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12826 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12827 $RANLIB $oldlib'
12828 archive_cmds_CXX='tpldir=Template.dir~
12829 rm -rf $tpldir~
12830 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12831 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12832 archive_expsym_cmds_CXX='tpldir=Template.dir~
12833 rm -rf $tpldir~
12834 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12835 $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'
12837 *) # Version 6 and above use weak symbols
12838 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12839 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'
12841 esac
12843 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12844 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12845 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'
12847 cxx*)
12848 # Compaq C++
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 -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12852 runpath_var=LD_RUN_PATH
12853 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12854 hardcode_libdir_separator_CXX=:
12856 # Commands to make compiler produce verbose output that lists
12857 # what "hidden" libraries, object files and flags are used when
12858 # linking a shared library.
12860 # There doesn't appear to be a way to prevent this compiler from
12861 # explicitly linking system object files so we need to strip them
12862 # from the output so that they don't get included in the library
12863 # dependencies.
12864 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'
12866 xl* | mpixl* | bgxl*)
12867 # IBM XL 8.0 on PPC, with GNU ld
12868 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12869 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12870 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12871 if test "x$supports_anon_versioning" = xyes; then
12872 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12873 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12874 echo "local: *; };" >> $output_objdir/$libname.ver~
12875 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12879 case `$CC -V 2>&1 | sed 5q` in
12880 *Sun\ C*)
12881 # Sun C++ 5.9
12882 no_undefined_flag_CXX=' -zdefs'
12883 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12884 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'
12885 hardcode_libdir_flag_spec_CXX='-R$libdir'
12886 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'
12887 compiler_needs_object_CXX=yes
12889 # Not sure whether something based on
12890 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12891 # would be better.
12892 output_verbose_link_cmd='func_echo_all'
12894 # Archives containing C++ object files must be created using
12895 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12896 # necessary to make sure instantiated templates are included
12897 # in the archive.
12898 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12900 esac
12902 esac
12905 lynxos*)
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12910 m88k*)
12911 # FIXME: insert proper C++ library support
12912 ld_shlibs_CXX=no
12915 mvs*)
12916 case $cc_basename in
12917 cxx*)
12918 # FIXME: insert proper C++ library support
12919 ld_shlibs_CXX=no
12922 # FIXME: insert proper C++ library support
12923 ld_shlibs_CXX=no
12925 esac
12928 netbsd*)
12929 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12930 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12931 wlarc=
12932 hardcode_libdir_flag_spec_CXX='-R$libdir'
12933 hardcode_direct_CXX=yes
12934 hardcode_shlibpath_var_CXX=no
12936 # Workaround some broken pre-1.5 toolchains
12937 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12940 *nto* | *qnx*)
12941 ld_shlibs_CXX=yes
12944 openbsd2*)
12945 # C++ shared libraries are fairly broken
12946 ld_shlibs_CXX=no
12949 openbsd*)
12950 if test -f /usr/libexec/ld.so; then
12951 hardcode_direct_CXX=yes
12952 hardcode_shlibpath_var_CXX=no
12953 hardcode_direct_absolute_CXX=yes
12954 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12955 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12956 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12957 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12958 export_dynamic_flag_spec_CXX='${wl}-E'
12959 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12961 output_verbose_link_cmd=func_echo_all
12962 else
12963 ld_shlibs_CXX=no
12967 osf3* | osf4* | osf5*)
12968 case $cc_basename in
12969 KCC*)
12970 # Kuck and Associates, Inc. (KAI) C++ Compiler
12972 # KCC will only create a shared library if the output file
12973 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12974 # to its proper name (with version) after linking.
12975 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'
12977 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12978 hardcode_libdir_separator_CXX=:
12980 # Archives containing C++ object files must be created using
12981 # the KAI C++ compiler.
12982 case $host in
12983 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12984 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12985 esac
12987 RCC*)
12988 # Rational C++ 2.4.1
12989 # FIXME: insert proper C++ library support
12990 ld_shlibs_CXX=no
12992 cxx*)
12993 case $host in
12994 osf3*)
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 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'
12997 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13000 allow_undefined_flag_CXX=' -expect_unresolved \*'
13001 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'
13002 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13003 echo "-hidden">> $lib.exp~
13004 $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~
13005 $RM $lib.exp'
13006 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13008 esac
13010 hardcode_libdir_separator_CXX=:
13012 # Commands to make compiler produce verbose output that lists
13013 # what "hidden" libraries, object files and flags are used when
13014 # linking a shared library.
13016 # There doesn't appear to be a way to prevent this compiler from
13017 # explicitly linking system object files so we need to strip them
13018 # from the output so that they don't get included in the library
13019 # dependencies.
13020 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"'
13023 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13024 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13025 case $host in
13026 osf3*)
13027 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'
13030 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'
13032 esac
13034 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13035 hardcode_libdir_separator_CXX=:
13037 # Commands to make compiler produce verbose output that lists
13038 # what "hidden" libraries, object files and flags are used when
13039 # linking a shared library.
13040 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13042 else
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13047 esac
13050 psos*)
13051 # FIXME: insert proper C++ library support
13052 ld_shlibs_CXX=no
13055 sunos4*)
13056 case $cc_basename in
13057 CC*)
13058 # Sun C++ 4.x
13059 # FIXME: insert proper C++ library support
13060 ld_shlibs_CXX=no
13062 lcc*)
13063 # Lucid
13064 # FIXME: insert proper C++ library support
13065 ld_shlibs_CXX=no
13068 # FIXME: insert proper C++ library support
13069 ld_shlibs_CXX=no
13071 esac
13074 solaris*)
13075 case $cc_basename in
13076 CC*)
13077 # Sun C++ 4.2, 5.x and Centerline C++
13078 archive_cmds_need_lc_CXX=yes
13079 no_undefined_flag_CXX=' -zdefs'
13080 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13081 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13082 $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'
13084 hardcode_libdir_flag_spec_CXX='-R$libdir'
13085 hardcode_shlibpath_var_CXX=no
13086 case $host_os in
13087 solaris2.[0-5] | solaris2.[0-5].*) ;;
13089 # The compiler driver will combine and reorder linker options,
13090 # but understands `-z linker_flag'.
13091 # Supported since Solaris 2.6 (maybe 2.5.1?)
13092 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13094 esac
13095 link_all_deplibs_CXX=yes
13097 output_verbose_link_cmd='func_echo_all'
13099 # Archives containing C++ object files must be created using
13100 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13101 # necessary to make sure instantiated templates are included
13102 # in the archive.
13103 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13105 gcx*)
13106 # Green Hills C++ Compiler
13107 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13109 # The C++ compiler must be used to create the archive.
13110 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13113 # GNU C++ compiler with Solaris linker
13114 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13115 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13116 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13117 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13118 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13119 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13121 # Commands to make compiler produce verbose output that lists
13122 # what "hidden" libraries, object files and flags are used when
13123 # linking a shared library.
13124 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13125 else
13126 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13127 # platform.
13128 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13129 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13130 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13132 # Commands to make compiler produce verbose output that lists
13133 # what "hidden" libraries, object files and flags are used when
13134 # linking a shared library.
13135 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13138 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13139 case $host_os in
13140 solaris2.[0-5] | solaris2.[0-5].*) ;;
13142 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13144 esac
13147 esac
13150 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13151 no_undefined_flag_CXX='${wl}-z,text'
13152 archive_cmds_need_lc_CXX=no
13153 hardcode_shlibpath_var_CXX=no
13154 runpath_var='LD_RUN_PATH'
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13162 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13163 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13165 esac
13168 sysv5* | sco3.2v5* | sco5v6*)
13169 # Note: We can NOT use -z defs as we might desire, because we do not
13170 # link with -lc, and that would cause any symbols used from libc to
13171 # always be unresolved, which means just about no library would
13172 # ever link correctly. If we're not using GNU ld we use -z text
13173 # though, which does catch some bad symbols but isn't as heavy-handed
13174 # as -z defs.
13175 no_undefined_flag_CXX='${wl}-z,text'
13176 allow_undefined_flag_CXX='${wl}-z,nodefs'
13177 archive_cmds_need_lc_CXX=no
13178 hardcode_shlibpath_var_CXX=no
13179 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13180 hardcode_libdir_separator_CXX=':'
13181 link_all_deplibs_CXX=yes
13182 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13183 runpath_var='LD_RUN_PATH'
13185 case $cc_basename in
13186 CC*)
13187 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13188 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13189 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13190 '"$old_archive_cmds_CXX"
13191 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13192 '"$reload_cmds_CXX"
13195 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13196 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13198 esac
13201 tandem*)
13202 case $cc_basename in
13203 NCC*)
13204 # NonStop-UX NCC 3.20
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13209 # FIXME: insert proper C++ library support
13210 ld_shlibs_CXX=no
13212 esac
13215 vxworks*)
13216 # FIXME: insert proper C++ library support
13217 ld_shlibs_CXX=no
13221 # FIXME: insert proper C++ library support
13222 ld_shlibs_CXX=no
13224 esac
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13227 $as_echo "$ld_shlibs_CXX" >&6; }
13228 test "$ld_shlibs_CXX" = no && can_build_shared=no
13230 GCC_CXX="$GXX"
13231 LD_CXX="$LD"
13233 ## CAVEAT EMPTOR:
13234 ## There is no encapsulation within the following macros, do not change
13235 ## the running order or otherwise move them around unless you know exactly
13236 ## what you are doing...
13237 # Dependencies to place before and after the object being linked:
13238 predep_objects_CXX=
13239 postdep_objects_CXX=
13240 predeps_CXX=
13241 postdeps_CXX=
13242 compiler_lib_search_path_CXX=
13244 cat > conftest.$ac_ext <<_LT_EOF
13245 class Foo
13247 public:
13248 Foo (void) { a = 0; }
13249 private:
13250 int a;
13252 _LT_EOF
13254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13255 (eval $ac_compile) 2>&5
13256 ac_status=$?
13257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13258 test $ac_status = 0; }; then
13259 # Parse the compiler output and extract the necessary
13260 # objects, libraries and library flags.
13262 # Sentinel used to keep track of whether or not we are before
13263 # the conftest object file.
13264 pre_test_object_deps_done=no
13266 for p in `eval "$output_verbose_link_cmd"`; do
13267 case $p in
13269 -L* | -R* | -l*)
13270 # Some compilers place space between "-{L,R}" and the path.
13271 # Remove the space.
13272 if test $p = "-L" ||
13273 test $p = "-R"; then
13274 prev=$p
13275 continue
13276 else
13277 prev=
13280 if test "$pre_test_object_deps_done" = no; then
13281 case $p in
13282 -L* | -R*)
13283 # Internal compiler library paths should come after those
13284 # provided the user. The postdeps already come after the
13285 # user supplied libs so there is no need to process them.
13286 if test -z "$compiler_lib_search_path_CXX"; then
13287 compiler_lib_search_path_CXX="${prev}${p}"
13288 else
13289 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13292 # The "-l" case would never come before the object being
13293 # linked, so don't bother handling this case.
13294 esac
13295 else
13296 if test -z "$postdeps_CXX"; then
13297 postdeps_CXX="${prev}${p}"
13298 else
13299 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13304 *.$objext)
13305 # This assumes that the test object file only shows up
13306 # once in the compiler output.
13307 if test "$p" = "conftest.$objext"; then
13308 pre_test_object_deps_done=yes
13309 continue
13312 if test "$pre_test_object_deps_done" = no; then
13313 if test -z "$predep_objects_CXX"; then
13314 predep_objects_CXX="$p"
13315 else
13316 predep_objects_CXX="$predep_objects_CXX $p"
13318 else
13319 if test -z "$postdep_objects_CXX"; then
13320 postdep_objects_CXX="$p"
13321 else
13322 postdep_objects_CXX="$postdep_objects_CXX $p"
13327 *) ;; # Ignore the rest.
13329 esac
13330 done
13332 # Clean up.
13333 rm -f a.out a.exe
13334 else
13335 echo "libtool.m4: error: problem compiling CXX test program"
13338 $RM -f confest.$objext
13340 # PORTME: override above test on systems where it is broken
13341 case $host_os in
13342 interix[3-9]*)
13343 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13344 # hack all around it, let's just trust "g++" to DTRT.
13345 predep_objects_CXX=
13346 postdep_objects_CXX=
13347 postdeps_CXX=
13350 linux*)
13351 case `$CC -V 2>&1 | sed 5q` in
13352 *Sun\ C*)
13353 # Sun C++ 5.9
13355 # The more standards-conforming stlport4 library is
13356 # incompatible with the Cstd library. Avoid specifying
13357 # it if it's in CXXFLAGS. Ignore libCrun as
13358 # -library=stlport4 depends on it.
13359 case " $CXX $CXXFLAGS " in
13360 *" -library=stlport4 "*)
13361 solaris_use_stlport4=yes
13363 esac
13365 if test "$solaris_use_stlport4" != yes; then
13366 postdeps_CXX='-library=Cstd -library=Crun'
13369 esac
13372 solaris*)
13373 case $cc_basename in
13374 CC*)
13375 # The more standards-conforming stlport4 library is
13376 # incompatible with the Cstd library. Avoid specifying
13377 # it if it's in CXXFLAGS. Ignore libCrun as
13378 # -library=stlport4 depends on it.
13379 case " $CXX $CXXFLAGS " in
13380 *" -library=stlport4 "*)
13381 solaris_use_stlport4=yes
13383 esac
13385 # Adding this requires a known-good setup of shared libraries for
13386 # Sun compiler versions before 5.6, else PIC objects from an old
13387 # archive will be linked into the output, leading to subtle bugs.
13388 if test "$solaris_use_stlport4" != yes; then
13389 postdeps_CXX='-library=Cstd -library=Crun'
13392 esac
13394 esac
13397 case " $postdeps_CXX " in
13398 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13399 esac
13400 compiler_lib_search_dirs_CXX=
13401 if test -n "${compiler_lib_search_path_CXX}"; then
13402 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13435 lt_prog_compiler_wl_CXX=
13436 lt_prog_compiler_pic_CXX=
13437 lt_prog_compiler_static_CXX=
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13440 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13442 # C++ specific cases for pic, static, wl, etc.
13443 if test "$GXX" = yes; then
13444 lt_prog_compiler_wl_CXX='-Wl,'
13445 lt_prog_compiler_static_CXX='-static'
13447 case $host_os in
13448 aix*)
13449 # All AIX code is PIC.
13450 if test "$host_cpu" = ia64; then
13451 # AIX 5 now supports IA64 processor
13452 lt_prog_compiler_static_CXX='-Bstatic'
13454 lt_prog_compiler_pic_CXX='-fPIC'
13457 amigaos*)
13458 case $host_cpu in
13459 powerpc)
13460 # see comment about AmigaOS4 .so support
13461 lt_prog_compiler_pic_CXX='-fPIC'
13463 m68k)
13464 # FIXME: we need at least 68020 code to build shared libraries, but
13465 # adding the `-m68020' flag to GCC prevents building anything better,
13466 # like `-m68040'.
13467 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13469 esac
13472 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13473 # PIC is the default for these OSes.
13475 mingw* | cygwin* | os2* | pw32* | cegcc*)
13476 # This hack is so that the source file can tell whether it is being
13477 # built for inclusion in a dll (and should export symbols for example).
13478 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13479 # (--disable-auto-import) libraries
13480 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13482 darwin* | rhapsody*)
13483 # PIC is the default on this platform
13484 # Common symbols not allowed in MH_DYLIB files
13485 lt_prog_compiler_pic_CXX='-fno-common'
13487 *djgpp*)
13488 # DJGPP does not support shared libraries at all
13489 lt_prog_compiler_pic_CXX=
13491 haiku*)
13492 # PIC is the default for Haiku.
13493 # The "-static" flag exists, but is broken.
13494 lt_prog_compiler_static_CXX=
13496 interix[3-9]*)
13497 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13498 # Instead, we relocate shared libraries at runtime.
13500 sysv4*MP*)
13501 if test -d /usr/nec; then
13502 lt_prog_compiler_pic_CXX=-Kconform_pic
13505 hpux*)
13506 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13507 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13508 # sets the default TLS model and affects inlining.
13509 case $host_cpu in
13510 hppa*64*)
13513 lt_prog_compiler_pic_CXX='-fPIC'
13515 esac
13517 *qnx* | *nto*)
13518 # QNX uses GNU C++, but need to define -shared option too, otherwise
13519 # it will coredump.
13520 lt_prog_compiler_pic_CXX='-fPIC -shared'
13523 lt_prog_compiler_pic_CXX='-fPIC'
13525 esac
13526 else
13527 case $host_os in
13528 aix[4-9]*)
13529 # All AIX code is PIC.
13530 if test "$host_cpu" = ia64; then
13531 # AIX 5 now supports IA64 processor
13532 lt_prog_compiler_static_CXX='-Bstatic'
13533 else
13534 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13537 chorus*)
13538 case $cc_basename in
13539 cxch68*)
13540 # Green Hills C++ Compiler
13541 # _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"
13543 esac
13545 dgux*)
13546 case $cc_basename in
13547 ec++*)
13548 lt_prog_compiler_pic_CXX='-KPIC'
13550 ghcx*)
13551 # Green Hills C++ Compiler
13552 lt_prog_compiler_pic_CXX='-pic'
13556 esac
13558 freebsd* | dragonfly*)
13559 # FreeBSD uses GNU C++
13561 hpux9* | hpux10* | hpux11*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13566 if test "$host_cpu" != ia64; then
13567 lt_prog_compiler_pic_CXX='+Z'
13570 aCC*)
13571 lt_prog_compiler_wl_CXX='-Wl,'
13572 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13573 case $host_cpu in
13574 hppa*64*|ia64*)
13575 # +Z the default
13578 lt_prog_compiler_pic_CXX='+Z'
13580 esac
13584 esac
13586 interix*)
13587 # This is c89, which is MS Visual C++ (no shared libs)
13588 # Anyone wants to do a port?
13590 irix5* | irix6* | nonstopux*)
13591 case $cc_basename in
13592 CC*)
13593 lt_prog_compiler_wl_CXX='-Wl,'
13594 lt_prog_compiler_static_CXX='-non_shared'
13595 # CC pic flag -KPIC is the default.
13599 esac
13601 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13602 case $cc_basename in
13603 KCC*)
13604 # KAI C++ Compiler
13605 lt_prog_compiler_wl_CXX='--backend -Wl,'
13606 lt_prog_compiler_pic_CXX='-fPIC'
13608 ecpc* )
13609 # old Intel C++ for x86_64 which still supported -KPIC.
13610 lt_prog_compiler_wl_CXX='-Wl,'
13611 lt_prog_compiler_pic_CXX='-KPIC'
13612 lt_prog_compiler_static_CXX='-static'
13614 icpc* )
13615 # Intel C++, used to be incompatible with GCC.
13616 # ICC 10 doesn't accept -KPIC any more.
13617 lt_prog_compiler_wl_CXX='-Wl,'
13618 lt_prog_compiler_pic_CXX='-fPIC'
13619 lt_prog_compiler_static_CXX='-static'
13621 pgCC* | pgcpp*)
13622 # Portland Group C++ compiler
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_pic_CXX='-fpic'
13625 lt_prog_compiler_static_CXX='-Bstatic'
13627 cxx*)
13628 # Compaq C++
13629 # Make sure the PIC flag is empty. It appears that all Alpha
13630 # Linux and Compaq Tru64 Unix objects are PIC.
13631 lt_prog_compiler_pic_CXX=
13632 lt_prog_compiler_static_CXX='-non_shared'
13634 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13635 # IBM XL 8.0, 9.0 on PPC and BlueGene
13636 lt_prog_compiler_wl_CXX='-Wl,'
13637 lt_prog_compiler_pic_CXX='-qpic'
13638 lt_prog_compiler_static_CXX='-qstaticlink'
13641 case `$CC -V 2>&1 | sed 5q` in
13642 *Sun\ C*)
13643 # Sun C++ 5.9
13644 lt_prog_compiler_pic_CXX='-KPIC'
13645 lt_prog_compiler_static_CXX='-Bstatic'
13646 lt_prog_compiler_wl_CXX='-Qoption ld '
13648 esac
13650 esac
13652 lynxos*)
13654 m88k*)
13656 mvs*)
13657 case $cc_basename in
13658 cxx*)
13659 lt_prog_compiler_pic_CXX='-W c,exportall'
13663 esac
13665 netbsd*)
13667 *qnx* | *nto*)
13668 # QNX uses GNU C++, but need to define -shared option too, otherwise
13669 # it will coredump.
13670 lt_prog_compiler_pic_CXX='-fPIC -shared'
13672 osf3* | osf4* | osf5*)
13673 case $cc_basename in
13674 KCC*)
13675 lt_prog_compiler_wl_CXX='--backend -Wl,'
13677 RCC*)
13678 # Rational C++ 2.4.1
13679 lt_prog_compiler_pic_CXX='-pic'
13681 cxx*)
13682 # Digital/Compaq C++
13683 lt_prog_compiler_wl_CXX='-Wl,'
13684 # Make sure the PIC flag is empty. It appears that all Alpha
13685 # Linux and Compaq Tru64 Unix objects are PIC.
13686 lt_prog_compiler_pic_CXX=
13687 lt_prog_compiler_static_CXX='-non_shared'
13691 esac
13693 psos*)
13695 solaris*)
13696 case $cc_basename in
13697 CC*)
13698 # Sun C++ 4.2, 5.x and Centerline C++
13699 lt_prog_compiler_pic_CXX='-KPIC'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13701 lt_prog_compiler_wl_CXX='-Qoption ld '
13703 gcx*)
13704 # Green Hills C++ Compiler
13705 lt_prog_compiler_pic_CXX='-PIC'
13709 esac
13711 sunos4*)
13712 case $cc_basename in
13713 CC*)
13714 # Sun C++ 4.x
13715 lt_prog_compiler_pic_CXX='-pic'
13716 lt_prog_compiler_static_CXX='-Bstatic'
13718 lcc*)
13719 # Lucid
13720 lt_prog_compiler_pic_CXX='-pic'
13724 esac
13726 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13727 case $cc_basename in
13728 CC*)
13729 lt_prog_compiler_wl_CXX='-Wl,'
13730 lt_prog_compiler_pic_CXX='-KPIC'
13731 lt_prog_compiler_static_CXX='-Bstatic'
13733 esac
13735 tandem*)
13736 case $cc_basename in
13737 NCC*)
13738 # NonStop-UX NCC 3.20
13739 lt_prog_compiler_pic_CXX='-KPIC'
13743 esac
13745 vxworks*)
13748 lt_prog_compiler_can_build_shared_CXX=no
13750 esac
13753 case $host_os in
13754 # For platforms which do not support PIC, -DPIC is meaningless:
13755 *djgpp*)
13756 lt_prog_compiler_pic_CXX=
13759 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13761 esac
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13763 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13768 # Check to make sure the PIC flag actually works.
13770 if test -n "$lt_prog_compiler_pic_CXX"; then
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13772 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13773 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13774 $as_echo_n "(cached) " >&6
13775 else
13776 lt_cv_prog_compiler_pic_works_CXX=no
13777 ac_outfile=conftest.$ac_objext
13778 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13779 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13780 # Insert the option either (1) after the last *FLAGS variable, or
13781 # (2) before a word containing "conftest.", or (3) at the end.
13782 # Note that $ac_compile itself does not contain backslashes and begins
13783 # with a dollar sign (not a hyphen), so the echo should work correctly.
13784 # The option is referenced via a variable to avoid confusing sed.
13785 lt_compile=`echo "$ac_compile" | $SED \
13786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13788 -e 's:$: $lt_compiler_flag:'`
13789 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13790 (eval "$lt_compile" 2>conftest.err)
13791 ac_status=$?
13792 cat conftest.err >&5
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 if (exit $ac_status) && test -s "$ac_outfile"; then
13795 # The compiler can only warn and ignore the option if not recognized
13796 # So say no if there are warnings other than the usual output.
13797 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13798 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13799 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13800 lt_cv_prog_compiler_pic_works_CXX=yes
13803 $RM conftest*
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13807 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13809 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13810 case $lt_prog_compiler_pic_CXX in
13811 "" | " "*) ;;
13812 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13813 esac
13814 else
13815 lt_prog_compiler_pic_CXX=
13816 lt_prog_compiler_can_build_shared_CXX=no
13824 # Check to make sure the static flag actually works.
13826 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13828 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13829 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13830 $as_echo_n "(cached) " >&6
13831 else
13832 lt_cv_prog_compiler_static_works_CXX=no
13833 save_LDFLAGS="$LDFLAGS"
13834 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13835 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13836 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13837 # The linker can only warn and ignore the option if not recognized
13838 # So say no if there are warnings
13839 if test -s conftest.err; then
13840 # Append any errors to the config.log.
13841 cat conftest.err 1>&5
13842 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13843 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13844 if diff conftest.exp conftest.er2 >/dev/null; then
13845 lt_cv_prog_compiler_static_works_CXX=yes
13847 else
13848 lt_cv_prog_compiler_static_works_CXX=yes
13851 $RM -r conftest*
13852 LDFLAGS="$save_LDFLAGS"
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13856 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13858 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13860 else
13861 lt_prog_compiler_static_CXX=
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13868 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13869 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 lt_cv_prog_compiler_c_o_CXX=no
13873 $RM -r conftest 2>/dev/null
13874 mkdir conftest
13875 cd conftest
13876 mkdir out
13877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13879 lt_compiler_flag="-o out/conftest2.$ac_objext"
13880 # Insert the option either (1) after the last *FLAGS variable, or
13881 # (2) before a word containing "conftest.", or (3) at the end.
13882 # Note that $ac_compile itself does not contain backslashes and begins
13883 # with a dollar sign (not a hyphen), so the echo should work correctly.
13884 lt_compile=`echo "$ac_compile" | $SED \
13885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13887 -e 's:$: $lt_compiler_flag:'`
13888 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13889 (eval "$lt_compile" 2>out/conftest.err)
13890 ac_status=$?
13891 cat out/conftest.err >&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13894 then
13895 # The compiler can only warn and ignore the option if not recognized
13896 # So say no if there are warnings
13897 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13898 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13899 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13900 lt_cv_prog_compiler_c_o_CXX=yes
13903 chmod u+w . 2>&5
13904 $RM conftest*
13905 # SGI C++ compiler will create directory out/ii_files/ for
13906 # template instantiation
13907 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13908 $RM out/* && rmdir out
13909 cd ..
13910 $RM -r conftest
13911 $RM conftest*
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13915 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13921 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 lt_cv_prog_compiler_c_o_CXX=no
13925 $RM -r conftest 2>/dev/null
13926 mkdir conftest
13927 cd conftest
13928 mkdir out
13929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13931 lt_compiler_flag="-o out/conftest2.$ac_objext"
13932 # Insert the option either (1) after the last *FLAGS variable, or
13933 # (2) before a word containing "conftest.", or (3) at the end.
13934 # Note that $ac_compile itself does not contain backslashes and begins
13935 # with a dollar sign (not a hyphen), so the echo should work correctly.
13936 lt_compile=`echo "$ac_compile" | $SED \
13937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939 -e 's:$: $lt_compiler_flag:'`
13940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13941 (eval "$lt_compile" 2>out/conftest.err)
13942 ac_status=$?
13943 cat out/conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946 then
13947 # The compiler can only warn and ignore the option if not recognized
13948 # So say no if there are warnings
13949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13952 lt_cv_prog_compiler_c_o_CXX=yes
13955 chmod u+w . 2>&5
13956 $RM conftest*
13957 # SGI C++ compiler will create directory out/ii_files/ for
13958 # template instantiation
13959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13960 $RM out/* && rmdir out
13961 cd ..
13962 $RM -r conftest
13963 $RM conftest*
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13967 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13972 hard_links="nottested"
13973 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13974 # do not overwrite the value of need_locks provided by the user
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13976 $as_echo_n "checking if we can lock with hard links... " >&6; }
13977 hard_links=yes
13978 $RM conftest*
13979 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13980 touch conftest.a
13981 ln conftest.a conftest.b 2>&5 || hard_links=no
13982 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13984 $as_echo "$hard_links" >&6; }
13985 if test "$hard_links" = no; then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13987 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13988 need_locks=warn
13990 else
13991 need_locks=no
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13997 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13999 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14000 case $host_os in
14001 aix[4-9]*)
14002 # If we're using GNU nm, then we don't want the "-C" option.
14003 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14004 # Also, AIX nm treats weak defined symbols like other global defined
14005 # symbols, whereas GNU nm marks them as "W".
14006 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14007 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'
14008 else
14009 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'
14012 pw32*)
14013 export_symbols_cmds_CXX="$ltdll_cmds"
14015 cygwin* | mingw* | cegcc*)
14016 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'
14019 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14021 esac
14022 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14025 $as_echo "$ld_shlibs_CXX" >&6; }
14026 test "$ld_shlibs_CXX" = no && can_build_shared=no
14028 with_gnu_ld_CXX=$with_gnu_ld
14036 # Do we need to explicitly link libc?
14038 case "x$archive_cmds_need_lc_CXX" in
14039 x|xyes)
14040 # Assume -lc should be added
14041 archive_cmds_need_lc_CXX=yes
14043 if test "$enable_shared" = yes && test "$GCC" = yes; then
14044 case $archive_cmds_CXX in
14045 *'~'*)
14046 # FIXME: we may have to deal with multi-command sequences.
14048 '$CC '*)
14049 # Test whether the compiler implicitly links with -lc since on some
14050 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14051 # to ld, don't add -lc before -lgcc.
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14053 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14054 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14055 $as_echo_n "(cached) " >&6
14056 else
14057 $RM conftest*
14058 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14061 (eval $ac_compile) 2>&5
14062 ac_status=$?
14063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14064 test $ac_status = 0; } 2>conftest.err; then
14065 soname=conftest
14066 lib=conftest
14067 libobjs=conftest.$ac_objext
14068 deplibs=
14069 wl=$lt_prog_compiler_wl_CXX
14070 pic_flag=$lt_prog_compiler_pic_CXX
14071 compiler_flags=-v
14072 linker_flags=-v
14073 verstring=
14074 output_objdir=.
14075 libname=conftest
14076 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14077 allow_undefined_flag_CXX=
14078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14079 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14080 ac_status=$?
14081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14082 test $ac_status = 0; }
14083 then
14084 lt_cv_archive_cmds_need_lc_CXX=no
14085 else
14086 lt_cv_archive_cmds_need_lc_CXX=yes
14088 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14089 else
14090 cat conftest.err 1>&5
14092 $RM conftest*
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14096 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14097 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14099 esac
14102 esac
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14168 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14170 library_names_spec=
14171 libname_spec='lib$name'
14172 soname_spec=
14173 shrext_cmds=".so"
14174 postinstall_cmds=
14175 postuninstall_cmds=
14176 finish_cmds=
14177 finish_eval=
14178 shlibpath_var=
14179 shlibpath_overrides_runpath=unknown
14180 version_type=none
14181 dynamic_linker="$host_os ld.so"
14182 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14183 need_lib_prefix=unknown
14184 hardcode_into_libs=no
14186 # when you set need_version to no, make sure it does not cause -set_version
14187 # flags to be left without arguments
14188 need_version=unknown
14190 case $host_os in
14191 aix3*)
14192 version_type=linux
14193 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14194 shlibpath_var=LIBPATH
14196 # AIX 3 has no versioning support, so we append a major version to the name.
14197 soname_spec='${libname}${release}${shared_ext}$major'
14200 aix[4-9]*)
14201 version_type=linux
14202 need_lib_prefix=no
14203 need_version=no
14204 hardcode_into_libs=yes
14205 if test "$host_cpu" = ia64; then
14206 # AIX 5 supports IA64
14207 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14208 shlibpath_var=LD_LIBRARY_PATH
14209 else
14210 # With GCC up to 2.95.x, collect2 would create an import file
14211 # for dependence libraries. The import file would start with
14212 # the line `#! .'. This would cause the generated library to
14213 # depend on `.', always an invalid library. This was fixed in
14214 # development snapshots of GCC prior to 3.0.
14215 case $host_os in
14216 aix4 | aix4.[01] | aix4.[01].*)
14217 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14218 echo ' yes '
14219 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14221 else
14222 can_build_shared=no
14225 esac
14226 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14227 # soname into executable. Probably we can add versioning support to
14228 # collect2, so additional links can be useful in future.
14229 if test "$aix_use_runtimelinking" = yes; then
14230 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14231 # instead of lib<name>.a to let people know that these are not
14232 # typical AIX shared libraries.
14233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14234 else
14235 # We preserve .a as extension for shared libraries through AIX4.2
14236 # and later when we are not doing run time linking.
14237 library_names_spec='${libname}${release}.a $libname.a'
14238 soname_spec='${libname}${release}${shared_ext}$major'
14240 shlibpath_var=LIBPATH
14244 amigaos*)
14245 case $host_cpu in
14246 powerpc)
14247 # Since July 2007 AmigaOS4 officially supports .so libraries.
14248 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14251 m68k)
14252 library_names_spec='$libname.ixlibrary $libname.a'
14253 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14254 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'
14256 esac
14259 beos*)
14260 library_names_spec='${libname}${shared_ext}'
14261 dynamic_linker="$host_os ld.so"
14262 shlibpath_var=LIBRARY_PATH
14265 bsdi[45]*)
14266 version_type=linux
14267 need_version=no
14268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14269 soname_spec='${libname}${release}${shared_ext}$major'
14270 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14271 shlibpath_var=LD_LIBRARY_PATH
14272 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14273 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14274 # the default ld.so.conf also contains /usr/contrib/lib and
14275 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14276 # libtool to hard-code these into programs
14279 cygwin* | mingw* | pw32* | cegcc*)
14280 version_type=windows
14281 shrext_cmds=".dll"
14282 need_version=no
14283 need_lib_prefix=no
14285 case $GCC,$host_os in
14286 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14287 library_names_spec='$libname.dll.a'
14288 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14289 postinstall_cmds='base_file=`basename \${file}`~
14290 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14291 dldir=$destdir/`dirname \$dlpath`~
14292 test -d \$dldir || mkdir -p \$dldir~
14293 $install_prog $dir/$dlname \$dldir/$dlname~
14294 chmod a+x \$dldir/$dlname~
14295 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14296 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14298 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14299 dlpath=$dir/\$dldll~
14300 $RM \$dlpath'
14301 shlibpath_overrides_runpath=yes
14303 case $host_os in
14304 cygwin*)
14305 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14306 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14309 mingw* | cegcc*)
14310 # MinGW DLLs use traditional 'lib' prefix
14311 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14313 pw32*)
14314 # pw32 DLLs use 'pw' prefix rather than 'lib'
14315 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14317 esac
14321 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14323 esac
14324 dynamic_linker='Win32 ld.exe'
14325 # FIXME: first we should search . and the directory the executable is in
14326 shlibpath_var=PATH
14329 darwin* | rhapsody*)
14330 dynamic_linker="$host_os dyld"
14331 version_type=darwin
14332 need_lib_prefix=no
14333 need_version=no
14334 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14335 soname_spec='${libname}${release}${major}$shared_ext'
14336 shlibpath_overrides_runpath=yes
14337 shlibpath_var=DYLD_LIBRARY_PATH
14338 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14340 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14343 dgux*)
14344 version_type=linux
14345 need_lib_prefix=no
14346 need_version=no
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14348 soname_spec='${libname}${release}${shared_ext}$major'
14349 shlibpath_var=LD_LIBRARY_PATH
14352 freebsd* | dragonfly*)
14353 # DragonFly does not have aout. When/if they implement a new
14354 # versioning mechanism, adjust this.
14355 if test -x /usr/bin/objformat; then
14356 objformat=`/usr/bin/objformat`
14357 else
14358 case $host_os in
14359 freebsd[23].*) objformat=aout ;;
14360 *) objformat=elf ;;
14361 esac
14363 version_type=freebsd-$objformat
14364 case $version_type in
14365 freebsd-elf*)
14366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14367 need_version=no
14368 need_lib_prefix=no
14370 freebsd-*)
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14372 need_version=yes
14374 esac
14375 shlibpath_var=LD_LIBRARY_PATH
14376 case $host_os in
14377 freebsd2.*)
14378 shlibpath_overrides_runpath=yes
14380 freebsd3.[01]* | freebsdelf3.[01]*)
14381 shlibpath_overrides_runpath=yes
14382 hardcode_into_libs=yes
14384 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14385 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14386 shlibpath_overrides_runpath=no
14387 hardcode_into_libs=yes
14389 *) # from 4.6 on, and DragonFly
14390 shlibpath_overrides_runpath=yes
14391 hardcode_into_libs=yes
14393 esac
14396 gnu*)
14397 version_type=linux
14398 need_lib_prefix=no
14399 need_version=no
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14401 soname_spec='${libname}${release}${shared_ext}$major'
14402 shlibpath_var=LD_LIBRARY_PATH
14403 hardcode_into_libs=yes
14406 haiku*)
14407 version_type=linux
14408 need_lib_prefix=no
14409 need_version=no
14410 dynamic_linker="$host_os runtime_loader"
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14412 soname_spec='${libname}${release}${shared_ext}$major'
14413 shlibpath_var=LIBRARY_PATH
14414 shlibpath_overrides_runpath=yes
14415 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14416 hardcode_into_libs=yes
14419 hpux9* | hpux10* | hpux11*)
14420 # Give a soname corresponding to the major version so that dld.sl refuses to
14421 # link against other versions.
14422 version_type=sunos
14423 need_lib_prefix=no
14424 need_version=no
14425 case $host_cpu in
14426 ia64*)
14427 shrext_cmds='.so'
14428 hardcode_into_libs=yes
14429 dynamic_linker="$host_os dld.so"
14430 shlibpath_var=LD_LIBRARY_PATH
14431 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14433 soname_spec='${libname}${release}${shared_ext}$major'
14434 if test "X$HPUX_IA64_MODE" = X32; then
14435 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14436 else
14437 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14439 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14441 hppa*64*)
14442 shrext_cmds='.sl'
14443 hardcode_into_libs=yes
14444 dynamic_linker="$host_os dld.sl"
14445 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14446 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14448 soname_spec='${libname}${release}${shared_ext}$major'
14449 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14450 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14453 shrext_cmds='.sl'
14454 dynamic_linker="$host_os dld.sl"
14455 shlibpath_var=SHLIB_PATH
14456 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458 soname_spec='${libname}${release}${shared_ext}$major'
14460 esac
14461 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14462 postinstall_cmds='chmod 555 $lib'
14463 # or fails outright, so override atomically:
14464 install_override_mode=555
14467 interix[3-9]*)
14468 version_type=linux
14469 need_lib_prefix=no
14470 need_version=no
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14474 shlibpath_var=LD_LIBRARY_PATH
14475 shlibpath_overrides_runpath=no
14476 hardcode_into_libs=yes
14479 irix5* | irix6* | nonstopux*)
14480 case $host_os in
14481 nonstopux*) version_type=nonstopux ;;
14483 if test "$lt_cv_prog_gnu_ld" = yes; then
14484 version_type=linux
14485 else
14486 version_type=irix
14487 fi ;;
14488 esac
14489 need_lib_prefix=no
14490 need_version=no
14491 soname_spec='${libname}${release}${shared_ext}$major'
14492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14493 case $host_os in
14494 irix5* | nonstopux*)
14495 libsuff= shlibsuff=
14498 case $LD in # libtool.m4 will add one of these switches to LD
14499 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14500 libsuff= shlibsuff= libmagic=32-bit;;
14501 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14502 libsuff=32 shlibsuff=N32 libmagic=N32;;
14503 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14504 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14505 *) libsuff= shlibsuff= libmagic=never-match;;
14506 esac
14508 esac
14509 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14510 shlibpath_overrides_runpath=no
14511 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14512 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14513 hardcode_into_libs=yes
14516 # No shared lib support for Linux oldld, aout, or coff.
14517 linux*oldld* | linux*aout* | linux*coff*)
14518 dynamic_linker=no
14521 # This must be Linux ELF.
14522 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14523 version_type=linux
14524 need_lib_prefix=no
14525 need_version=no
14526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14527 soname_spec='${libname}${release}${shared_ext}$major'
14528 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14529 shlibpath_var=LD_LIBRARY_PATH
14530 shlibpath_overrides_runpath=no
14532 # Some binutils ld are patched to set DT_RUNPATH
14533 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14534 $as_echo_n "(cached) " >&6
14535 else
14536 lt_cv_shlibpath_overrides_runpath=no
14537 save_LDFLAGS=$LDFLAGS
14538 save_libdir=$libdir
14539 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14540 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14541 if test x$gcc_no_link = xyes; then
14542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14548 main ()
14552 return 0;
14554 _ACEOF
14555 if ac_fn_cxx_try_link "$LINENO"; then :
14556 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14557 lt_cv_shlibpath_overrides_runpath=yes
14560 rm -f core conftest.err conftest.$ac_objext \
14561 conftest$ac_exeext conftest.$ac_ext
14562 LDFLAGS=$save_LDFLAGS
14563 libdir=$save_libdir
14567 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14569 # This implies no fast_install, which is unacceptable.
14570 # Some rework will be needed to allow for fast_install
14571 # before this can be enabled.
14572 hardcode_into_libs=yes
14574 # Append ld.so.conf contents to the search path
14575 if test -f /etc/ld.so.conf; then
14576 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' ' '`
14577 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14580 # We used to test for /lib/ld.so.1 and disable shared libraries on
14581 # powerpc, because MkLinux only supported shared libraries with the
14582 # GNU dynamic linker. Since this was broken with cross compilers,
14583 # most powerpc-linux boxes support dynamic linking these days and
14584 # people can always --disable-shared, the test was removed, and we
14585 # assume the GNU/Linux dynamic linker is in use.
14586 dynamic_linker='GNU/Linux ld.so'
14589 netbsd*)
14590 version_type=sunos
14591 need_lib_prefix=no
14592 need_version=no
14593 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14595 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14596 dynamic_linker='NetBSD (a.out) ld.so'
14597 else
14598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14599 soname_spec='${libname}${release}${shared_ext}$major'
14600 dynamic_linker='NetBSD ld.elf_so'
14602 shlibpath_var=LD_LIBRARY_PATH
14603 shlibpath_overrides_runpath=yes
14604 hardcode_into_libs=yes
14607 newsos6)
14608 version_type=linux
14609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14610 shlibpath_var=LD_LIBRARY_PATH
14611 shlibpath_overrides_runpath=yes
14614 *nto* | *qnx*)
14615 version_type=qnx
14616 need_lib_prefix=no
14617 need_version=no
14618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14619 soname_spec='${libname}${release}${shared_ext}$major'
14620 shlibpath_var=LD_LIBRARY_PATH
14621 shlibpath_overrides_runpath=no
14622 hardcode_into_libs=yes
14623 dynamic_linker='ldqnx.so'
14626 openbsd*)
14627 version_type=sunos
14628 sys_lib_dlsearch_path_spec="/usr/lib"
14629 need_lib_prefix=no
14630 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14631 case $host_os in
14632 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14633 *) need_version=no ;;
14634 esac
14635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14636 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14637 shlibpath_var=LD_LIBRARY_PATH
14638 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14639 case $host_os in
14640 openbsd2.[89] | openbsd2.[89].*)
14641 shlibpath_overrides_runpath=no
14644 shlibpath_overrides_runpath=yes
14646 esac
14647 else
14648 shlibpath_overrides_runpath=yes
14652 os2*)
14653 libname_spec='$name'
14654 shrext_cmds=".dll"
14655 need_lib_prefix=no
14656 library_names_spec='$libname${shared_ext} $libname.a'
14657 dynamic_linker='OS/2 ld.exe'
14658 shlibpath_var=LIBPATH
14661 osf3* | osf4* | osf5*)
14662 version_type=osf
14663 need_lib_prefix=no
14664 need_version=no
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14667 shlibpath_var=LD_LIBRARY_PATH
14668 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14669 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14672 rdos*)
14673 dynamic_linker=no
14676 solaris*)
14677 version_type=linux
14678 need_lib_prefix=no
14679 need_version=no
14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14681 soname_spec='${libname}${release}${shared_ext}$major'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=yes
14684 hardcode_into_libs=yes
14685 # ldd complains unless libraries are executable
14686 postinstall_cmds='chmod +x $lib'
14689 sunos4*)
14690 version_type=sunos
14691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14692 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14693 shlibpath_var=LD_LIBRARY_PATH
14694 shlibpath_overrides_runpath=yes
14695 if test "$with_gnu_ld" = yes; then
14696 need_lib_prefix=no
14698 need_version=yes
14701 sysv4 | sysv4.3*)
14702 version_type=linux
14703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14704 soname_spec='${libname}${release}${shared_ext}$major'
14705 shlibpath_var=LD_LIBRARY_PATH
14706 case $host_vendor in
14707 sni)
14708 shlibpath_overrides_runpath=no
14709 need_lib_prefix=no
14710 runpath_var=LD_RUN_PATH
14712 siemens)
14713 need_lib_prefix=no
14715 motorola)
14716 need_lib_prefix=no
14717 need_version=no
14718 shlibpath_overrides_runpath=no
14719 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14721 esac
14724 sysv4*MP*)
14725 if test -d /usr/nec ;then
14726 version_type=linux
14727 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14728 soname_spec='$libname${shared_ext}.$major'
14729 shlibpath_var=LD_LIBRARY_PATH
14733 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14734 version_type=freebsd-elf
14735 need_lib_prefix=no
14736 need_version=no
14737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14738 soname_spec='${libname}${release}${shared_ext}$major'
14739 shlibpath_var=LD_LIBRARY_PATH
14740 shlibpath_overrides_runpath=yes
14741 hardcode_into_libs=yes
14742 if test "$with_gnu_ld" = yes; then
14743 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14744 else
14745 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14746 case $host_os in
14747 sco3.2v5*)
14748 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14750 esac
14752 sys_lib_dlsearch_path_spec='/usr/lib'
14755 tpf*)
14756 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14757 version_type=linux
14758 need_lib_prefix=no
14759 need_version=no
14760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14761 shlibpath_var=LD_LIBRARY_PATH
14762 shlibpath_overrides_runpath=no
14763 hardcode_into_libs=yes
14766 uts4*)
14767 version_type=linux
14768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 soname_spec='${libname}${release}${shared_ext}$major'
14770 shlibpath_var=LD_LIBRARY_PATH
14774 dynamic_linker=no
14776 esac
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14778 $as_echo "$dynamic_linker" >&6; }
14779 test "$dynamic_linker" = no && can_build_shared=no
14781 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14782 if test "$GCC" = yes; then
14783 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14786 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14787 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14789 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14790 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14831 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14832 hardcode_action_CXX=
14833 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14834 test -n "$runpath_var_CXX" ||
14835 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14837 # We can hardcode non-existent directories.
14838 if test "$hardcode_direct_CXX" != no &&
14839 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14840 # have to relink, otherwise we might link with an installed library
14841 # when we should be linking with a yet-to-be-installed one
14842 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14843 test "$hardcode_minus_L_CXX" != no; then
14844 # Linking always hardcodes the temporary library directory.
14845 hardcode_action_CXX=relink
14846 else
14847 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14848 hardcode_action_CXX=immediate
14850 else
14851 # We cannot hardcode anything, or else we can only hardcode existing
14852 # directories.
14853 hardcode_action_CXX=unsupported
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14856 $as_echo "$hardcode_action_CXX" >&6; }
14858 if test "$hardcode_action_CXX" = relink ||
14859 test "$inherit_rpath_CXX" = yes; then
14860 # Fast installation is not supported
14861 enable_fast_install=no
14862 elif test "$shlibpath_overrides_runpath" = yes ||
14863 test "$enable_shared" = no; then
14864 # Fast installation is not necessary
14865 enable_fast_install=needless
14874 fi # test -n "$compiler"
14876 CC=$lt_save_CC
14877 LDCXX=$LD
14878 LD=$lt_save_LD
14879 GCC=$lt_save_GCC
14880 with_gnu_ld=$lt_save_with_gnu_ld
14881 lt_cv_path_LDCXX=$lt_cv_path_LD
14882 lt_cv_path_LD=$lt_save_path_LD
14883 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14884 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14885 fi # test "$_lt_caught_CXX_error" != yes
14887 ac_ext=c
14888 ac_cpp='$CPP $CPPFLAGS'
14889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14905 ac_config_commands="$ac_config_commands libtool"
14910 # Only expand once:
14916 case $host in
14917 *-cygwin* | *-mingw*)
14918 # 'host' will be top-level target in the case of a target lib,
14919 # we must compare to with_cross_host to decide if this is a native
14920 # or cross-compiler and select where to install dlls appropriately.
14921 if test -n "$with_cross_host" &&
14922 test x"$with_cross_host" != x"no"; then
14923 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14924 else
14925 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14929 lt_host_flags=
14931 esac
14938 if test "$enable_vtable_verify" = yes; then
14939 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14940 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14944 # libtool variables for C++ shared and position-independent compiles.
14946 # Use glibcxx_lt_pic_flag to designate the automake variable
14947 # used to encapsulate the default libtool approach to creating objects
14948 # with position-independent code. Default: -prefer-pic.
14950 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14951 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14953 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14954 # creating position-independent objects. This varies with the target
14955 # hardware and operating system, but is often: -DPIC -fPIC.
14956 if test "$enable_shared" = yes; then
14957 glibcxx_lt_pic_flag="-prefer-pic"
14958 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14959 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14961 else
14962 glibcxx_lt_pic_flag=
14963 glibcxx_compiler_pic_flag=
14964 glibcxx_compiler_shared_flag=
14970 # Override the libtool's pic_flag and pic_mode.
14971 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14972 # NB: this impacts --with-pic and --without-pic.
14973 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14974 pic_mode='default'
14976 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14977 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14979 # Possibly disable most of the library.
14980 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14981 ## than just ignoring the results. Faster /and/ more correct, win win.
14983 # Check whether --enable-hosted-libstdcxx was given.
14984 if test "${enable_hosted_libstdcxx+set}" = set; then :
14985 enableval=$enable_hosted_libstdcxx;
14986 else
14987 case "$host" in
14988 arm*-*-symbianelf*)
14989 enable_hosted_libstdcxx=no
14992 enable_hosted_libstdcxx=yes
14994 esac
14997 if test "$enable_hosted_libstdcxx" = no; then
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14999 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15000 is_hosted=no
15001 hosted_define=0
15002 enable_abi_check=no
15003 enable_libstdcxx_pch=no
15004 else
15005 is_hosted=yes
15006 hosted_define=1
15010 cat >>confdefs.h <<_ACEOF
15011 #define _GLIBCXX_HOSTED $hosted_define
15012 _ACEOF
15016 # Enable descriptive messages to standard output on termination.
15018 # Check whether --enable-libstdcxx-verbose was given.
15019 if test "${enable_libstdcxx_verbose+set}" = set; then :
15020 enableval=$enable_libstdcxx_verbose;
15021 else
15022 enable_libstdcxx_verbose=yes
15025 if test x"$enable_libstdcxx_verbose" = xyes; then
15026 verbose_define=1
15027 else
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15029 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15030 verbose_define=0
15033 cat >>confdefs.h <<_ACEOF
15034 #define _GLIBCXX_VERBOSE $verbose_define
15035 _ACEOF
15039 # Enable compiler support that doesn't require linking.
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15042 $as_echo_n "checking for exception model to use... " >&6; }
15044 ac_ext=cpp
15045 ac_cpp='$CXXCPP $CPPFLAGS'
15046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15050 # Check whether --enable-sjlj-exceptions was given.
15051 if test "${enable_sjlj_exceptions+set}" = set; then :
15052 enableval=$enable_sjlj_exceptions;
15053 case "$enableval" in
15054 yes|no|auto) ;;
15055 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15056 esac
15058 else
15059 enable_sjlj_exceptions=auto
15064 if test $enable_sjlj_exceptions = auto; then
15065 # Botheration. Now we've got to detect the exception model. Link tests
15066 # against libgcc.a are problematic since we've not been given proper -L
15067 # bits for single-tree newlib and libgloss.
15069 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15070 cat > conftest.$ac_ext << EOF
15071 #line 15070 "configure"
15072 struct S { ~S(); };
15073 void bar();
15074 void foo()
15076 S s;
15077 bar();
15080 old_CXXFLAGS="$CXXFLAGS"
15081 CXXFLAGS=-S
15082 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15083 (eval $ac_compile) 2>&5
15084 ac_status=$?
15085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15086 test $ac_status = 0; }; then
15087 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15088 enable_sjlj_exceptions=yes
15089 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15090 enable_sjlj_exceptions=yes
15091 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15092 enable_sjlj_exceptions=no
15093 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15094 enable_sjlj_exceptions=no
15097 CXXFLAGS="$old_CXXFLAGS"
15098 rm -f conftest*
15101 # This is a tad weird, for hysterical raisins. We have to map
15102 # enable/disable to two different models.
15103 case $enable_sjlj_exceptions in
15104 yes)
15106 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15108 ac_exception_model_name=sjlj
15111 ac_exception_model_name="call frame"
15114 as_fn_error "unable to detect exception model" "$LINENO" 5
15116 esac
15117 ac_ext=c
15118 ac_cpp='$CPP $CPPFLAGS'
15119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15124 $as_echo "$ac_exception_model_name" >&6; }
15127 # Check whether --enable-libstdcxx-pch was given.
15128 if test "${enable_libstdcxx_pch+set}" = set; then :
15129 enableval=$enable_libstdcxx_pch;
15130 case "$enableval" in
15131 yes|no) ;;
15132 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15133 esac
15135 else
15136 enable_libstdcxx_pch=$is_hosted
15140 if test $enable_libstdcxx_pch = yes; then
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15142 $as_echo_n "checking for compiler with PCH support... " >&6; }
15143 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15144 $as_echo_n "(cached) " >&6
15145 else
15146 ac_save_CXXFLAGS="$CXXFLAGS"
15147 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15149 ac_ext=cpp
15150 ac_cpp='$CXXCPP $CPPFLAGS'
15151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15155 echo '#include <math.h>' > conftest.h
15156 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15157 -o conftest.h.gch 1>&5 2>&1 &&
15158 echo '#error "pch failed"' > conftest.h &&
15159 echo '#include "conftest.h"' > conftest.cc &&
15160 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15161 then
15162 glibcxx_cv_prog_CXX_pch=yes
15163 else
15164 glibcxx_cv_prog_CXX_pch=no
15166 rm -f conftest*
15167 CXXFLAGS=$ac_save_CXXFLAGS
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
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15177 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15178 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15182 $as_echo_n "checking for enabled PCH... " >&6; }
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15184 $as_echo "$enable_libstdcxx_pch" >&6; }
15187 if test $enable_libstdcxx_pch = yes; then
15188 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15189 else
15190 glibcxx_PCHFLAGS=""
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15196 $as_echo_n "checking for thread model used by GCC... " >&6; }
15197 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15199 $as_echo "$target_thread_file" >&6; }
15201 case $target_thread_file in
15202 aix) thread_header=config/rs6000/gthr-aix.h ;;
15203 dce) thread_header=config/pa/gthr-dce.h ;;
15204 lynx) thread_header=config/gthr-lynx.h ;;
15205 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15206 posix) thread_header=gthr-posix.h ;;
15207 rtems) thread_header=config/gthr-rtems.h ;;
15208 single) thread_header=gthr-single.h ;;
15209 tpf) thread_header=config/s390/gthr-tpf.h ;;
15210 vxworks) thread_header=config/gthr-vxworks.h ;;
15211 win32) thread_header=config/i386/gthr-win32.h ;;
15212 esac
15218 ac_ext=cpp
15219 ac_cpp='$CXXCPP $CPPFLAGS'
15220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15224 old_CXXFLAGS="$CXXFLAGS"
15226 # Do link tests if possible, instead asm tests, limited to some platforms
15227 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15228 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15229 atomic_builtins_link_tests=no
15230 if test x$gcc_no_link != xyes; then
15231 # Can do link tests. Limit to some tested platforms
15232 case "$host" in
15233 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15234 atomic_builtins_link_tests=yes
15236 esac
15239 if test x$atomic_builtins_link_tests = xyes; then
15241 # Do link tests.
15243 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15246 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15247 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15248 $as_echo_n "(cached) " >&6
15249 else
15251 if test x$gcc_no_link = xyes; then
15252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15255 /* end confdefs.h. */
15258 main ()
15260 typedef bool atomic_type;
15261 atomic_type c1;
15262 atomic_type c2;
15263 atomic_type c3(0);
15264 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15265 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15266 __ATOMIC_RELAXED);
15267 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15268 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15271 return 0;
15273 _ACEOF
15274 if ac_fn_cxx_try_link "$LINENO"; then :
15275 glibcxx_cv_atomic_bool=yes
15276 else
15277 glibcxx_cv_atomic_bool=no
15279 rm -f core conftest.err conftest.$ac_objext \
15280 conftest$ac_exeext conftest.$ac_ext
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15285 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15288 $as_echo_n "checking for atomic builtins for short... " >&6; }
15289 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15293 if test x$gcc_no_link = xyes; then
15294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15300 main ()
15302 typedef short atomic_type;
15303 atomic_type c1;
15304 atomic_type c2;
15305 atomic_type c3(0);
15306 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15307 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15308 __ATOMIC_RELAXED);
15309 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15310 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15313 return 0;
15315 _ACEOF
15316 if ac_fn_cxx_try_link "$LINENO"; then :
15317 glibcxx_cv_atomic_short=yes
15318 else
15319 glibcxx_cv_atomic_short=no
15321 rm -f core conftest.err conftest.$ac_objext \
15322 conftest$ac_exeext conftest.$ac_ext
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15327 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15330 $as_echo_n "checking for atomic builtins for int... " >&6; }
15331 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15332 $as_echo_n "(cached) " >&6
15333 else
15335 if test x$gcc_no_link = xyes; then
15336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h. */
15342 main ()
15344 typedef int atomic_type;
15345 atomic_type c1;
15346 atomic_type c2;
15347 atomic_type c3(0);
15348 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15349 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15350 __ATOMIC_RELAXED);
15351 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15352 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15355 return 0;
15357 _ACEOF
15358 if ac_fn_cxx_try_link "$LINENO"; then :
15359 glibcxx_cv_atomic_int=yes
15360 else
15361 glibcxx_cv_atomic_int=no
15363 rm -f core conftest.err conftest.$ac_objext \
15364 conftest$ac_exeext conftest.$ac_ext
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15369 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15372 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15373 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15377 if test x$gcc_no_link = xyes; then
15378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15384 main ()
15386 typedef long long atomic_type;
15387 atomic_type c1;
15388 atomic_type c2;
15389 atomic_type c3(0);
15390 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15391 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15392 __ATOMIC_RELAXED);
15393 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15394 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15397 return 0;
15399 _ACEOF
15400 if ac_fn_cxx_try_link "$LINENO"; then :
15401 glibcxx_cv_atomic_long_long=yes
15402 else
15403 glibcxx_cv_atomic_long_long=no
15405 rm -f core conftest.err conftest.$ac_objext \
15406 conftest$ac_exeext conftest.$ac_ext
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15411 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15413 else
15415 # Do asm tests.
15417 # Compile unoptimized.
15418 CXXFLAGS='-O0 -S'
15420 # Fake what AC_TRY_COMPILE does.
15422 cat > conftest.$ac_ext << EOF
15423 #line 15420 "configure"
15424 int main()
15426 typedef bool atomic_type;
15427 atomic_type c1;
15428 atomic_type c2;
15429 atomic_type c3(0);
15430 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15431 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15432 __ATOMIC_RELAXED);
15433 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15434 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15436 return 0;
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15441 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15442 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15443 (eval $ac_compile) 2>&5
15444 ac_status=$?
15445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15446 test $ac_status = 0; }; then
15447 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15448 glibcxx_cv_atomic_bool=no
15449 else
15450 glibcxx_cv_atomic_bool=yes
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15454 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15455 rm -f conftest*
15457 cat > conftest.$ac_ext << EOF
15458 #line 15455 "configure"
15459 int main()
15461 typedef short atomic_type;
15462 atomic_type c1;
15463 atomic_type c2;
15464 atomic_type c3(0);
15465 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15466 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15467 __ATOMIC_RELAXED);
15468 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15469 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15471 return 0;
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15476 $as_echo_n "checking for atomic builtins for short... " >&6; }
15477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15478 (eval $ac_compile) 2>&5
15479 ac_status=$?
15480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15481 test $ac_status = 0; }; then
15482 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15483 glibcxx_cv_atomic_short=no
15484 else
15485 glibcxx_cv_atomic_short=yes
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15489 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15490 rm -f conftest*
15492 cat > conftest.$ac_ext << EOF
15493 #line 15490 "configure"
15494 int main()
15496 // NB: _Atomic_word not necessarily int.
15497 typedef int atomic_type;
15498 atomic_type c1;
15499 atomic_type c2;
15500 atomic_type c3(0);
15501 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15502 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15503 __ATOMIC_RELAXED);
15504 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15505 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15507 return 0;
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15512 $as_echo_n "checking for atomic builtins for int... " >&6; }
15513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15514 (eval $ac_compile) 2>&5
15515 ac_status=$?
15516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15517 test $ac_status = 0; }; then
15518 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15519 glibcxx_cv_atomic_int=no
15520 else
15521 glibcxx_cv_atomic_int=yes
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15525 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15526 rm -f conftest*
15528 cat > conftest.$ac_ext << EOF
15529 #line 15526 "configure"
15530 int main()
15532 typedef long long atomic_type;
15533 atomic_type c1;
15534 atomic_type c2;
15535 atomic_type c3(0);
15536 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15537 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15538 __ATOMIC_RELAXED);
15539 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15540 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15542 return 0;
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15547 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15549 (eval $ac_compile) 2>&5
15550 ac_status=$?
15551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15552 test $ac_status = 0; }; then
15553 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15554 glibcxx_cv_atomic_long_long=no
15555 else
15556 glibcxx_cv_atomic_long_long=yes
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15560 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15561 rm -f conftest*
15565 CXXFLAGS="$old_CXXFLAGS"
15566 ac_ext=c
15567 ac_cpp='$CPP $CPPFLAGS'
15568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15573 # Set atomicity_dir to builtins if all but the long long test above passes.
15574 if test $glibcxx_cv_atomic_bool = yes \
15575 && test $glibcxx_cv_atomic_short = yes \
15576 && test $glibcxx_cv_atomic_int = yes; then
15578 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15580 atomicity_dir=cpu/generic/atomicity_builtins
15583 # If still generic, set to mutex.
15584 if test $atomicity_dir = "cpu/generic" ; then
15585 atomicity_dir=cpu/generic/atomicity_mutex
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15587 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15588 if test "x$target_thread_file" = xsingle; then
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15590 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15592 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15593 else
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15595 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15597 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15604 # Fake what AC_TRY_COMPILE does, without linking as this is
15605 # unnecessary for this test.
15607 cat > conftest.$ac_ext << EOF
15608 #line 15605 "configure"
15609 int main()
15611 _Decimal32 d1;
15612 _Decimal64 d2;
15613 _Decimal128 d3;
15614 return 0;
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15619 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15620 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15621 (eval $ac_compile) 2>&5
15622 ac_status=$?
15623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15624 test $ac_status = 0; }; then
15626 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15628 enable_dfp=yes
15629 else
15630 enable_dfp=no
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15633 $as_echo "$enable_dfp" >&6; }
15634 rm -f conftest*
15639 ac_ext=cpp
15640 ac_cpp='$CXXCPP $CPPFLAGS'
15641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15646 # Fake what AC_TRY_COMPILE does, without linking as this is
15647 # unnecessary for this test.
15649 cat > conftest.$ac_ext << EOF
15650 #line 15647 "configure"
15651 template<typename T1, typename T2>
15652 struct same
15653 { typedef T2 type; };
15655 template<typename T>
15656 struct same<T, T>;
15658 int main()
15660 typename same<long, __int128>::type i1;
15661 typename same<long long, __int128>::type i2;
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15666 $as_echo_n "checking for __int128... " >&6; }
15667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15668 (eval $ac_compile) 2>&5
15669 ac_status=$?
15670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671 test $ac_status = 0; }; then
15673 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15675 enable_int128=yes
15676 else
15677 enable_int128=no
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15680 $as_echo "$enable_int128" >&6; }
15681 rm -f conftest*
15683 cat > conftest.$ac_ext << EOF
15684 #line 15681 "configure"
15685 template<typename T1, typename T2>
15686 struct same
15687 { typedef T2 type; };
15689 template<typename T>
15690 struct same<T, T>;
15692 int main()
15694 typename same<double, __float128>::type f1;
15695 typename same<long double, __float128>::type f2;
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15702 $as_echo_n "checking for __float128... " >&6; }
15703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15704 (eval $ac_compile) 2>&5
15705 ac_status=$?
15706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15707 test $ac_status = 0; }; then
15708 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15710 enable_float128=yes
15711 else
15712 enable_float128=no
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15715 $as_echo "$enable_float128" >&6; }
15716 rm -f conftest*
15718 ac_ext=c
15719 ac_cpp='$CPP $CPPFLAGS'
15720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15726 # Checks for compiler support that doesn't require linking.
15728 # All these tests are for C++; save the language and the compiler flags.
15729 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15730 # found in GLIBCXX_CONFIGURE.
15732 ac_ext=cpp
15733 ac_cpp='$CXXCPP $CPPFLAGS'
15734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15738 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15739 ac_save_CXXFLAGS="$CXXFLAGS"
15741 # Check for maintainer-mode bits.
15742 if test x"$USE_MAINTAINER_MODE" = xno; then
15743 WERROR=''
15744 else
15745 WERROR='-Werror'
15748 # Check for -ffunction-sections -fdata-sections
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15750 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15751 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15754 int foo; void bar() { };
15756 main ()
15760 return 0;
15762 _ACEOF
15763 if ac_fn_cxx_try_compile "$LINENO"; then :
15764 ac_fdsections=yes
15765 else
15766 ac_fdsections=no
15768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15769 if test "$ac_test_CXXFLAGS" = set; then
15770 CXXFLAGS="$ac_save_CXXFLAGS"
15771 else
15772 # this is the suspicious part
15773 CXXFLAGS=''
15775 if test x"$ac_fdsections" = x"yes"; then
15776 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15779 $as_echo "$ac_fdsections" >&6; }
15781 ac_ext=c
15782 ac_cpp='$CPP $CPPFLAGS'
15783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15791 # Enable all the variable C++ runtime options that don't require linking.
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15794 $as_echo_n "checking for underlying I/O to use... " >&6; }
15795 # Check whether --enable-cstdio was given.
15796 if test "${enable_cstdio+set}" = set; then :
15797 enableval=$enable_cstdio;
15798 case "$enableval" in
15799 stdio) ;;
15800 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15801 esac
15803 else
15804 enable_cstdio=stdio
15809 # Now that libio has been removed, you can have any color you want as long
15810 # as it's black. This is one big no-op until other packages are added, but
15811 # showing the framework never hurts.
15812 case ${enable_cstdio} in
15813 stdio)
15814 CSTDIO_H=config/io/c_io_stdio.h
15815 BASIC_FILE_H=config/io/basic_file_stdio.h
15816 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15818 $as_echo "stdio" >&6; }
15820 esac
15827 # Check whether --enable-clocale was given.
15828 if test "${enable_clocale+set}" = set; then :
15829 enableval=$enable_clocale;
15830 case "$enableval" in
15831 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15832 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15833 esac
15835 else
15836 enable_clocale=auto
15841 # Deal with gettext issues. Default to not using it (=no) until we detect
15842 # support for it later. Let the user turn it off via --e/d, but let that
15843 # default to on for easier handling.
15844 USE_NLS=no
15845 # Check whether --enable-nls was given.
15846 if test "${enable_nls+set}" = set; then :
15847 enableval=$enable_nls;
15848 else
15849 enable_nls=yes
15853 # Either a known package, or "auto"
15854 if test $enable_clocale = no || test $enable_clocale = yes; then
15855 enable_clocale=auto
15857 enable_clocale_flag=$enable_clocale
15859 # Probe for locale model to use if none specified.
15860 # Default to "generic".
15861 if test $enable_clocale_flag = auto; then
15862 case ${target_os} in
15863 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15864 enable_clocale_flag=gnu
15866 darwin* | freebsd*)
15867 enable_clocale_flag=darwin
15869 openbsd*)
15870 enable_clocale_flag=newlib
15873 if test x"$with_newlib" = x"yes"; then
15874 enable_clocale_flag=newlib
15875 else
15876 enable_clocale_flag=generic
15879 esac
15882 # Sanity check model, and test for special functionality.
15883 if test $enable_clocale_flag = gnu; then
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 #include <features.h>
15888 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15889 _GLIBCXX_ok
15890 #endif
15892 _ACEOF
15893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15894 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15895 enable_clocale_flag=gnu
15896 else
15897 enable_clocale_flag=generic
15899 rm -f conftest*
15902 # Set it to scream when it hurts.
15903 ac_save_CFLAGS="$CFLAGS"
15904 CFLAGS="-Wimplicit-function-declaration -Werror"
15906 # Use strxfrm_l if available.
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15909 #define _GNU_SOURCE 1
15910 #include <string.h>
15911 #include <locale.h>
15913 main ()
15915 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15917 return 0;
15919 _ACEOF
15920 if ac_fn_c_try_compile "$LINENO"; then :
15922 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15927 # Use strerror_l if available.
15928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929 /* end confdefs.h. */
15930 #define _GNU_SOURCE 1
15931 #include <string.h>
15932 #include <locale.h>
15934 main ()
15936 __locale_t loc; strerror_l(5, loc);
15938 return 0;
15940 _ACEOF
15941 if ac_fn_c_try_compile "$LINENO"; then :
15943 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15948 CFLAGS="$ac_save_CFLAGS"
15951 # Perhaps use strerror_r if available, and strerror_l isn't.
15952 ac_save_CFLAGS="$CFLAGS"
15953 CFLAGS="-Wimplicit-function-declaration -Werror"
15954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15955 /* end confdefs.h. */
15956 #define _GNU_SOURCE 1
15957 #include <string.h>
15958 #include <locale.h>
15960 main ()
15962 char s[128]; strerror_r(5, s, 128);
15964 return 0;
15966 _ACEOF
15967 if ac_fn_c_try_compile "$LINENO"; then :
15969 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15973 CFLAGS="$ac_save_CFLAGS"
15975 # Set configure bits for specified locale package
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15977 $as_echo_n "checking for C locale to use... " >&6; }
15978 case ${enable_clocale_flag} in
15979 generic)
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15981 $as_echo "generic" >&6; }
15983 CLOCALE_H=config/locale/generic/c_locale.h
15984 CLOCALE_CC=config/locale/generic/c_locale.cc
15985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15986 CCOLLATE_CC=config/locale/generic/collate_members.cc
15987 CCTYPE_CC=config/locale/generic/ctype_members.cc
15988 CMESSAGES_H=config/locale/generic/messages_members.h
15989 CMESSAGES_CC=config/locale/generic/messages_members.cc
15990 CMONEY_CC=config/locale/generic/monetary_members.cc
15991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15992 CTIME_H=config/locale/generic/time_members.h
15993 CTIME_CC=config/locale/generic/time_members.cc
15994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15996 darwin)
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15998 $as_echo "darwin or freebsd" >&6; }
16000 CLOCALE_H=config/locale/generic/c_locale.h
16001 CLOCALE_CC=config/locale/generic/c_locale.cc
16002 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16003 CCOLLATE_CC=config/locale/generic/collate_members.cc
16004 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16005 CMESSAGES_H=config/locale/generic/messages_members.h
16006 CMESSAGES_CC=config/locale/generic/messages_members.cc
16007 CMONEY_CC=config/locale/generic/monetary_members.cc
16008 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16009 CTIME_H=config/locale/generic/time_members.h
16010 CTIME_CC=config/locale/generic/time_members.cc
16011 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16014 gnu)
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16016 $as_echo "gnu" >&6; }
16018 # Declare intention to use gettext, and add support for specific
16019 # languages.
16020 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16021 ALL_LINGUAS="de fr"
16023 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16024 # Extract the first word of "msgfmt", so it can be a program name with args.
16025 set dummy msgfmt; ac_word=$2
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16027 $as_echo_n "checking for $ac_word... " >&6; }
16028 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16029 $as_echo_n "(cached) " >&6
16030 else
16031 if test -n "$check_msgfmt"; then
16032 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16033 else
16034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16035 for as_dir in $PATH
16037 IFS=$as_save_IFS
16038 test -z "$as_dir" && as_dir=.
16039 for ac_exec_ext in '' $ac_executable_extensions; do
16040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16041 ac_cv_prog_check_msgfmt="yes"
16042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16043 break 2
16045 done
16046 done
16047 IFS=$as_save_IFS
16049 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16052 check_msgfmt=$ac_cv_prog_check_msgfmt
16053 if test -n "$check_msgfmt"; then
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16055 $as_echo "$check_msgfmt" >&6; }
16056 else
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16058 $as_echo "no" >&6; }
16062 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16063 USE_NLS=yes
16065 # Export the build objects.
16066 for ling in $ALL_LINGUAS; do \
16067 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16068 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16069 done
16073 CLOCALE_H=config/locale/gnu/c_locale.h
16074 CLOCALE_CC=config/locale/gnu/c_locale.cc
16075 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16076 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16077 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16078 CMESSAGES_H=config/locale/gnu/messages_members.h
16079 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16080 CMONEY_CC=config/locale/gnu/monetary_members.cc
16081 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16082 CTIME_H=config/locale/gnu/time_members.h
16083 CTIME_CC=config/locale/gnu/time_members.cc
16084 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16086 ieee_1003.1-2001)
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16088 $as_echo "IEEE 1003.1" >&6; }
16090 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16091 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16092 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16093 CCOLLATE_CC=config/locale/generic/collate_members.cc
16094 CCTYPE_CC=config/locale/generic/ctype_members.cc
16095 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16096 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16097 CMONEY_CC=config/locale/generic/monetary_members.cc
16098 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16099 CTIME_H=config/locale/generic/time_members.h
16100 CTIME_CC=config/locale/generic/time_members.cc
16101 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16103 newlib)
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16105 $as_echo "newlib" >&6; }
16107 CLOCALE_H=config/locale/generic/c_locale.h
16108 CLOCALE_CC=config/locale/generic/c_locale.cc
16109 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16110 CCOLLATE_CC=config/locale/generic/collate_members.cc
16111 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16112 CMESSAGES_H=config/locale/generic/messages_members.h
16113 CMESSAGES_CC=config/locale/generic/messages_members.cc
16114 CMONEY_CC=config/locale/generic/monetary_members.cc
16115 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16116 CTIME_H=config/locale/generic/time_members.h
16117 CTIME_CC=config/locale/generic/time_members.cc
16118 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16120 esac
16122 # This is where the testsuite looks for locale catalogs, using the
16123 # -DLOCALEDIR define during testsuite compilation.
16124 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16127 # A standalone libintl (e.g., GNU libintl) may be in use.
16128 if test $USE_NLS = yes; then
16129 for ac_header in libintl.h
16130 do :
16131 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16132 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16133 cat >>confdefs.h <<_ACEOF
16134 #define HAVE_LIBINTL_H 1
16135 _ACEOF
16137 else
16138 USE_NLS=no
16141 done
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16144 $as_echo_n "checking for library containing gettext... " >&6; }
16145 if test "${ac_cv_search_gettext+set}" = set; then :
16146 $as_echo_n "(cached) " >&6
16147 else
16148 ac_func_search_save_LIBS=$LIBS
16149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16150 /* end confdefs.h. */
16152 /* Override any GCC internal prototype to avoid an error.
16153 Use char because int might match the return type of a GCC
16154 builtin and then its argument prototype would still apply. */
16155 #ifdef __cplusplus
16156 extern "C"
16157 #endif
16158 char gettext ();
16160 main ()
16162 return gettext ();
16164 return 0;
16166 _ACEOF
16167 for ac_lib in '' intl; do
16168 if test -z "$ac_lib"; then
16169 ac_res="none required"
16170 else
16171 ac_res=-l$ac_lib
16172 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16174 if test x$gcc_no_link = xyes; then
16175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16177 if ac_fn_c_try_link "$LINENO"; then :
16178 ac_cv_search_gettext=$ac_res
16180 rm -f core conftest.err conftest.$ac_objext \
16181 conftest$ac_exeext
16182 if test "${ac_cv_search_gettext+set}" = set; then :
16183 break
16185 done
16186 if test "${ac_cv_search_gettext+set}" = set; then :
16188 else
16189 ac_cv_search_gettext=no
16191 rm conftest.$ac_ext
16192 LIBS=$ac_func_search_save_LIBS
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16195 $as_echo "$ac_cv_search_gettext" >&6; }
16196 ac_res=$ac_cv_search_gettext
16197 if test "$ac_res" != no; then :
16198 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16200 else
16201 USE_NLS=no
16205 if test $USE_NLS = yes; then
16207 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16227 $as_echo_n "checking for std::allocator base class... " >&6; }
16228 # Check whether --enable-libstdcxx-allocator was given.
16229 if test "${enable_libstdcxx_allocator+set}" = set; then :
16230 enableval=$enable_libstdcxx_allocator;
16231 case "$enableval" in
16232 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16233 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16234 esac
16236 else
16237 enable_libstdcxx_allocator=auto
16242 # If they didn't use this option switch, or if they specified --enable
16243 # with no specific model, we'll have to look for one. If they
16244 # specified --disable (???), do likewise.
16245 if test $enable_libstdcxx_allocator = no ||
16246 test $enable_libstdcxx_allocator = yes;
16247 then
16248 enable_libstdcxx_allocator=auto
16251 # Either a known package, or "auto". Auto implies the default choice
16252 # for a particular platform.
16253 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16255 # Probe for host-specific support if no specific model is specified.
16256 # Default to "new".
16257 if test $enable_libstdcxx_allocator_flag = auto; then
16258 case ${target_os} in
16259 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16260 enable_libstdcxx_allocator_flag=new
16263 enable_libstdcxx_allocator_flag=new
16265 esac
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16268 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16271 # Set configure bits for specified locale package
16272 case ${enable_libstdcxx_allocator_flag} in
16273 bitmap)
16274 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16275 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16277 malloc)
16278 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16279 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16282 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16283 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16285 new)
16286 ALLOCATOR_H=config/allocator/new_allocator_base.h
16287 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16289 pool)
16290 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16291 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16293 esac
16299 # Check whether --enable-cheaders was given.
16300 if test "${enable_cheaders+set}" = set; then :
16301 enableval=$enable_cheaders;
16302 case "$enableval" in
16303 c|c_std|c_global) ;;
16304 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16305 esac
16307 else
16308 enable_cheaders=$c_model
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16313 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16315 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16317 # Allow overrides to configure.host here.
16318 if test $enable_cheaders = c_global; then
16319 c_compatibility=yes
16328 # Check whether --enable-long-long was given.
16329 if test "${enable_long_long+set}" = set; then :
16330 enableval=$enable_long_long;
16331 case "$enableval" in
16332 yes|no) ;;
16333 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16334 esac
16336 else
16337 enable_long_long=yes
16341 if test $enable_long_long = yes; then
16343 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16347 $as_echo_n "checking for enabled long long specializations... " >&6; }
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16349 $as_echo "$enable_long_long" >&6; }
16352 # Check whether --enable-wchar_t was given.
16353 if test "${enable_wchar_t+set}" = set; then :
16354 enableval=$enable_wchar_t;
16355 case "$enableval" in
16356 yes|no) ;;
16357 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16358 esac
16360 else
16361 enable_wchar_t=yes
16366 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16367 for ac_header in wchar.h
16368 do :
16369 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16370 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define HAVE_WCHAR_H 1
16373 _ACEOF
16374 ac_has_wchar_h=yes
16375 else
16376 ac_has_wchar_h=no
16379 done
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16382 $as_echo_n "checking for mbstate_t... " >&6; }
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16385 #include <wchar.h>
16387 main ()
16389 mbstate_t teststate;
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_compile "$LINENO"; then :
16395 have_mbstate_t=yes
16396 else
16397 have_mbstate_t=no
16399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16401 $as_echo "$have_mbstate_t" >&6; }
16402 if test x"$have_mbstate_t" = xyes; then
16404 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16408 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16409 # ac_has_wchar_h.
16410 for ac_header in wctype.h
16411 do :
16412 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16413 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_WCTYPE_H 1
16416 _ACEOF
16417 ac_has_wctype_h=yes
16418 else
16419 ac_has_wctype_h=no
16422 done
16425 if test x"$enable_wchar_t" = x"yes"; then
16428 ac_ext=cpp
16429 ac_cpp='$CXXCPP $CPPFLAGS'
16430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16435 if test x"$ac_has_wchar_h" = xyes &&
16436 test x"$ac_has_wctype_h" = xyes; then
16437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16438 /* end confdefs.h. */
16439 #include <wchar.h>
16440 #include <stddef.h>
16441 wint_t i;
16442 long l = WEOF;
16443 long j = WCHAR_MIN;
16444 long k = WCHAR_MAX;
16445 namespace test
16447 using ::btowc;
16448 using ::fgetwc;
16449 using ::fgetws;
16450 using ::fputwc;
16451 using ::fputws;
16452 using ::fwide;
16453 using ::fwprintf;
16454 using ::fwscanf;
16455 using ::getwc;
16456 using ::getwchar;
16457 using ::mbrlen;
16458 using ::mbrtowc;
16459 using ::mbsinit;
16460 using ::mbsrtowcs;
16461 using ::putwc;
16462 using ::putwchar;
16463 using ::swprintf;
16464 using ::swscanf;
16465 using ::ungetwc;
16466 using ::vfwprintf;
16467 using ::vswprintf;
16468 using ::vwprintf;
16469 using ::wcrtomb;
16470 using ::wcscat;
16471 using ::wcschr;
16472 using ::wcscmp;
16473 using ::wcscoll;
16474 using ::wcscpy;
16475 using ::wcscspn;
16476 using ::wcsftime;
16477 using ::wcslen;
16478 using ::wcsncat;
16479 using ::wcsncmp;
16480 using ::wcsncpy;
16481 using ::wcspbrk;
16482 using ::wcsrchr;
16483 using ::wcsrtombs;
16484 using ::wcsspn;
16485 using ::wcsstr;
16486 using ::wcstod;
16487 using ::wcstok;
16488 using ::wcstol;
16489 using ::wcstoul;
16490 using ::wcsxfrm;
16491 using ::wctob;
16492 using ::wmemchr;
16493 using ::wmemcmp;
16494 using ::wmemcpy;
16495 using ::wmemmove;
16496 using ::wmemset;
16497 using ::wprintf;
16498 using ::wscanf;
16502 main ()
16506 return 0;
16508 _ACEOF
16509 if ac_fn_cxx_try_compile "$LINENO"; then :
16511 else
16512 enable_wchar_t=no
16514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16515 else
16516 enable_wchar_t=no
16519 ac_ext=c
16520 ac_cpp='$CPP $CPPFLAGS'
16521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16527 if test x"$enable_wchar_t" = x"yes"; then
16529 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16534 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16536 $as_echo "$enable_wchar_t" >&6; }
16540 # Check whether --enable-c99 was given.
16541 if test "${enable_c99+set}" = set; then :
16542 enableval=$enable_c99;
16543 case "$enableval" in
16544 yes|no) ;;
16545 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16546 esac
16548 else
16549 enable_c99=yes
16554 if test x"$enable_c99" = x"yes"; then
16557 ac_ext=cpp
16558 ac_cpp='$CXXCPP $CPPFLAGS'
16559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16564 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16565 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16566 # spuriously enabled.
16567 # Long term, -std=c++0x could be even better, could manage to explicitly
16568 # request C99 facilities to the underlying C headers.
16569 ac_save_CXXFLAGS="$CXXFLAGS"
16570 CXXFLAGS="$CXXFLAGS -std=c++98"
16571 ac_save_LIBS="$LIBS"
16572 ac_save_gcc_no_link="$gcc_no_link"
16574 if test x$gcc_no_link != xyes; then
16575 # Use -fno-exceptions to that the C driver can link these tests without
16576 # hitting undefined references to personality routines.
16577 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16579 $as_echo_n "checking for sin in -lm... " >&6; }
16580 if test "${ac_cv_lib_m_sin+set}" = set; then :
16581 $as_echo_n "(cached) " >&6
16582 else
16583 ac_check_lib_save_LIBS=$LIBS
16584 LIBS="-lm $LIBS"
16585 if test x$gcc_no_link = xyes; then
16586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16591 /* Override any GCC internal prototype to avoid an error.
16592 Use char because int might match the return type of a GCC
16593 builtin and then its argument prototype would still apply. */
16594 #ifdef __cplusplus
16595 extern "C"
16596 #endif
16597 char sin ();
16599 main ()
16601 return sin ();
16603 return 0;
16605 _ACEOF
16606 if ac_fn_cxx_try_link "$LINENO"; then :
16607 ac_cv_lib_m_sin=yes
16608 else
16609 ac_cv_lib_m_sin=no
16611 rm -f core conftest.err conftest.$ac_objext \
16612 conftest$ac_exeext conftest.$ac_ext
16613 LIBS=$ac_check_lib_save_LIBS
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16616 $as_echo "$ac_cv_lib_m_sin" >&6; }
16617 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16619 LIBS="$LIBS -lm"
16621 else
16623 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16624 gcc_no_link=yes
16630 # Check for the existence of <math.h> functions used if C99 is enabled.
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16632 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16633 if test "${glibcxx_cv_c99_math+set}" = set; then :
16634 $as_echo_n "(cached) " >&6
16635 else
16637 if test x$gcc_no_link = xyes; then
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #include <math.h>
16641 volatile double d1, d2;
16642 volatile int i;
16644 main ()
16646 i = fpclassify(d1);
16647 i = isfinite(d1);
16648 i = isinf(d1);
16649 i = isnan(d1);
16650 i = isnormal(d1);
16651 i = signbit(d1);
16652 i = isgreater(d1, d2);
16653 i = isgreaterequal(d1, d2);
16654 i = isless(d1, d2);
16655 i = islessequal(d1, d2);
16656 i = islessgreater(d1, d2);
16657 i = islessgreater(d1, d2);
16658 i = isunordered(d1, d2);
16661 return 0;
16663 _ACEOF
16664 if ac_fn_cxx_try_compile "$LINENO"; then :
16665 glibcxx_cv_c99_math=yes
16666 else
16667 glibcxx_cv_c99_math=no
16669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16670 else
16671 if test x$gcc_no_link = xyes; then
16672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #include <math.h>
16677 volatile double d1, d2;
16678 volatile int i;
16680 main ()
16682 i = fpclassify(d1);
16683 i = isfinite(d1);
16684 i = isinf(d1);
16685 i = isnan(d1);
16686 i = isnormal(d1);
16687 i = signbit(d1);
16688 i = isgreater(d1, d2);
16689 i = isgreaterequal(d1, d2);
16690 i = isless(d1, d2);
16691 i = islessequal(d1, d2);
16692 i = islessgreater(d1, d2);
16693 i = islessgreater(d1, d2);
16694 i = isunordered(d1, d2);
16697 return 0;
16699 _ACEOF
16700 if ac_fn_cxx_try_link "$LINENO"; then :
16701 glibcxx_cv_c99_math=yes
16702 else
16703 glibcxx_cv_c99_math=no
16705 rm -f core conftest.err conftest.$ac_objext \
16706 conftest$ac_exeext conftest.$ac_ext
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16712 $as_echo "$glibcxx_cv_c99_math" >&6; }
16713 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16715 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16719 # Check for the existence of <complex.h> complex math functions.
16720 # This is necessary even though libstdc++ uses the builtin versions
16721 # of these functions, because if the builtin cannot be used, a reference
16722 # to the library function is emitted.
16723 for ac_header in tgmath.h
16724 do :
16725 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16726 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_TGMATH_H 1
16729 _ACEOF
16730 ac_has_tgmath_h=yes
16731 else
16732 ac_has_tgmath_h=no
16735 done
16737 for ac_header in complex.h
16738 do :
16739 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16740 if test "x$ac_cv_header_complex_h" = x""yes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_COMPLEX_H 1
16743 _ACEOF
16744 ac_has_complex_h=yes
16745 else
16746 ac_has_complex_h=no
16749 done
16751 glibcxx_cv_c99_complex=no;
16752 if test x"$ac_has_complex_h" = x"yes"; then
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16754 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16755 if test x$gcc_no_link = xyes; then
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16758 #include <complex.h>
16759 typedef __complex__ float float_type;
16760 typedef __complex__ double double_type;
16761 typedef __complex__ long double ld_type;
16762 volatile float_type tmpf;
16763 volatile double_type tmpd;
16764 volatile ld_type tmpld;
16765 volatile float f;
16766 volatile double d;
16767 volatile long double ld;
16769 main ()
16771 f = cabsf(tmpf);
16772 f = cargf(tmpf);
16773 tmpf = ccosf(tmpf);
16774 tmpf = ccoshf(tmpf);
16775 tmpf = cexpf(tmpf);
16776 tmpf = clogf(tmpf);
16777 tmpf = csinf(tmpf);
16778 tmpf = csinhf(tmpf);
16779 tmpf = csqrtf(tmpf);
16780 tmpf = ctanf(tmpf);
16781 tmpf = ctanhf(tmpf);
16782 tmpf = cpowf(tmpf, tmpf);
16783 tmpf = cprojf(tmpf);
16784 d = cabs(tmpd);
16785 d = carg(tmpd);
16786 tmpd = ccos(tmpd);
16787 tmpd = ccosh(tmpd);
16788 tmpd = cexp(tmpd);
16789 tmpd = clog(tmpd);
16790 tmpd = csin(tmpd);
16791 tmpd = csinh(tmpd);
16792 tmpd = csqrt(tmpd);
16793 tmpd = ctan(tmpd);
16794 tmpd = ctanh(tmpd);
16795 tmpd = cpow(tmpd, tmpd);
16796 tmpd = cproj(tmpd);
16797 ld = cabsl(tmpld);
16798 ld = cargl(tmpld);
16799 tmpld = ccosl(tmpld);
16800 tmpld = ccoshl(tmpld);
16801 tmpld = cexpl(tmpld);
16802 tmpld = clogl(tmpld);
16803 tmpld = csinl(tmpld);
16804 tmpld = csinhl(tmpld);
16805 tmpld = csqrtl(tmpld);
16806 tmpld = ctanl(tmpld);
16807 tmpld = ctanhl(tmpld);
16808 tmpld = cpowl(tmpld, tmpld);
16809 tmpld = cprojl(tmpld);
16812 return 0;
16814 _ACEOF
16815 if ac_fn_cxx_try_compile "$LINENO"; then :
16816 glibcxx_cv_c99_complex=yes
16817 else
16818 glibcxx_cv_c99_complex=no
16820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16821 else
16822 if test x$gcc_no_link = xyes; then
16823 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16827 #include <complex.h>
16828 typedef __complex__ float float_type;
16829 typedef __complex__ double double_type;
16830 typedef __complex__ long double ld_type;
16831 volatile float_type tmpf;
16832 volatile double_type tmpd;
16833 volatile ld_type tmpld;
16834 volatile float f;
16835 volatile double d;
16836 volatile long double ld;
16838 main ()
16840 f = cabsf(tmpf);
16841 f = cargf(tmpf);
16842 tmpf = ccosf(tmpf);
16843 tmpf = ccoshf(tmpf);
16844 tmpf = cexpf(tmpf);
16845 tmpf = clogf(tmpf);
16846 tmpf = csinf(tmpf);
16847 tmpf = csinhf(tmpf);
16848 tmpf = csqrtf(tmpf);
16849 tmpf = ctanf(tmpf);
16850 tmpf = ctanhf(tmpf);
16851 tmpf = cpowf(tmpf, tmpf);
16852 tmpf = cprojf(tmpf);
16853 d = cabs(tmpd);
16854 d = carg(tmpd);
16855 tmpd = ccos(tmpd);
16856 tmpd = ccosh(tmpd);
16857 tmpd = cexp(tmpd);
16858 tmpd = clog(tmpd);
16859 tmpd = csin(tmpd);
16860 tmpd = csinh(tmpd);
16861 tmpd = csqrt(tmpd);
16862 tmpd = ctan(tmpd);
16863 tmpd = ctanh(tmpd);
16864 tmpd = cpow(tmpd, tmpd);
16865 tmpd = cproj(tmpd);
16866 ld = cabsl(tmpld);
16867 ld = cargl(tmpld);
16868 tmpld = ccosl(tmpld);
16869 tmpld = ccoshl(tmpld);
16870 tmpld = cexpl(tmpld);
16871 tmpld = clogl(tmpld);
16872 tmpld = csinl(tmpld);
16873 tmpld = csinhl(tmpld);
16874 tmpld = csqrtl(tmpld);
16875 tmpld = ctanl(tmpld);
16876 tmpld = ctanhl(tmpld);
16877 tmpld = cpowl(tmpld, tmpld);
16878 tmpld = cprojl(tmpld);
16881 return 0;
16883 _ACEOF
16884 if ac_fn_cxx_try_link "$LINENO"; then :
16885 glibcxx_cv_c99_complex=yes
16886 else
16887 glibcxx_cv_c99_complex=no
16889 rm -f core conftest.err conftest.$ac_objext \
16890 conftest$ac_exeext conftest.$ac_ext
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16894 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16895 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16897 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16901 # Check for the existence in <stdio.h> of vscanf, et. al.
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16903 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16904 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16905 $as_echo_n "(cached) " >&6
16906 else
16908 if test x$gcc_no_link = xyes; then
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16911 #include <stdio.h>
16912 #include <stdarg.h>
16913 void foo(char* fmt, ...)
16915 va_list args; va_start(args, fmt);
16916 vfscanf(stderr, "%i", args);
16917 vscanf("%i", args);
16918 vsnprintf(fmt, 0, "%i", args);
16919 vsscanf(fmt, "%i", args);
16922 main ()
16924 snprintf("12", 0, "%i");
16926 return 0;
16928 _ACEOF
16929 if ac_fn_cxx_try_compile "$LINENO"; then :
16930 glibcxx_cv_c99_stdio=yes
16931 else
16932 glibcxx_cv_c99_stdio=no
16934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16935 else
16936 if test x$gcc_no_link = xyes; then
16937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16941 #include <stdio.h>
16942 #include <stdarg.h>
16943 void foo(char* fmt, ...)
16945 va_list args; va_start(args, fmt);
16946 vfscanf(stderr, "%i", args);
16947 vscanf("%i", args);
16948 vsnprintf(fmt, 0, "%i", args);
16949 vsscanf(fmt, "%i", args);
16952 main ()
16954 snprintf("12", 0, "%i");
16956 return 0;
16958 _ACEOF
16959 if ac_fn_cxx_try_link "$LINENO"; then :
16960 glibcxx_cv_c99_stdio=yes
16961 else
16962 glibcxx_cv_c99_stdio=no
16964 rm -f core conftest.err conftest.$ac_objext \
16965 conftest$ac_exeext conftest.$ac_ext
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16971 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16973 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16975 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16976 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16980 if test x$gcc_no_link = xyes; then
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 #include <stdlib.h>
16984 volatile float f;
16985 volatile long double ld;
16986 volatile unsigned long long ll;
16987 lldiv_t mydivt;
16989 main ()
16991 char* tmp;
16992 f = strtof("gnu", &tmp);
16993 ld = strtold("gnu", &tmp);
16994 ll = strtoll("gnu", &tmp, 10);
16995 ll = strtoull("gnu", &tmp, 10);
16996 ll = llabs(10);
16997 mydivt = lldiv(10,1);
16998 ll = mydivt.quot;
16999 ll = mydivt.rem;
17000 ll = atoll("10");
17001 _Exit(0);
17004 return 0;
17006 _ACEOF
17007 if ac_fn_cxx_try_compile "$LINENO"; then :
17008 glibcxx_cv_c99_stdlib=yes
17009 else
17010 glibcxx_cv_c99_stdlib=no
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013 else
17014 if test x$gcc_no_link = xyes; then
17015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17019 #include <stdlib.h>
17020 volatile float f;
17021 volatile long double ld;
17022 volatile unsigned long long ll;
17023 lldiv_t mydivt;
17025 main ()
17027 char* tmp;
17028 f = strtof("gnu", &tmp);
17029 ld = strtold("gnu", &tmp);
17030 ll = strtoll("gnu", &tmp, 10);
17031 ll = strtoull("gnu", &tmp, 10);
17032 ll = llabs(10);
17033 mydivt = lldiv(10,1);
17034 ll = mydivt.quot;
17035 ll = mydivt.rem;
17036 ll = atoll("10");
17037 _Exit(0);
17040 return 0;
17042 _ACEOF
17043 if ac_fn_cxx_try_link "$LINENO"; then :
17044 glibcxx_cv_c99_stdlib=yes
17045 else
17046 glibcxx_cv_c99_stdlib=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17055 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17057 # Check for the existence in <wchar.h> of wcstold, etc.
17058 glibcxx_cv_c99_wchar=no;
17059 if test x"$ac_has_wchar_h" = xyes &&
17060 test x"$ac_has_wctype_h" = xyes; then
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17062 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 #include <wchar.h>
17066 namespace test
17068 using ::wcstold;
17069 using ::wcstoll;
17070 using ::wcstoull;
17074 main ()
17078 return 0;
17080 _ACEOF
17081 if ac_fn_cxx_try_compile "$LINENO"; then :
17082 glibcxx_cv_c99_wchar=yes
17083 else
17084 glibcxx_cv_c99_wchar=no
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17088 # Checks for wide character functions that may not be present.
17089 # Injection of these is wrapped with guard macros.
17090 # NB: only put functions here, instead of immediately above, if
17091 # absolutely necessary.
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::vfwscanf; }
17097 main ()
17101 return 0;
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17106 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wchar.h>
17114 namespace test { using ::vswscanf; }
17116 main ()
17120 return 0;
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17125 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wchar.h>
17133 namespace test { using ::vwscanf; }
17135 main ()
17139 return 0;
17141 _ACEOF
17142 if ac_fn_cxx_try_compile "$LINENO"; then :
17144 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17151 #include <wchar.h>
17152 namespace test { using ::wcstof; }
17154 main ()
17158 return 0;
17160 _ACEOF
17161 if ac_fn_cxx_try_compile "$LINENO"; then :
17163 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17170 #include <wctype.h>
17172 main ()
17174 wint_t t; int i = iswblank(t);
17176 return 0;
17178 _ACEOF
17179 if ac_fn_cxx_try_compile "$LINENO"; then :
17181 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17187 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17190 # Option parsed, now set things appropriately.
17191 if test x"$glibcxx_cv_c99_math" = x"no" ||
17192 test x"$glibcxx_cv_c99_complex" = x"no" ||
17193 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17194 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17195 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17196 enable_c99=no;
17197 else
17199 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17203 gcc_no_link="$ac_save_gcc_no_link"
17204 LIBS="$ac_save_LIBS"
17205 CXXFLAGS="$ac_save_CXXFLAGS"
17206 ac_ext=c
17207 ac_cpp='$CPP $CPPFLAGS'
17208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17215 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17217 $as_echo "$enable_c99" >&6; }
17220 # Check whether --enable-concept-checks was given.
17221 if test "${enable_concept_checks+set}" = set; then :
17222 enableval=$enable_concept_checks;
17223 case "$enableval" in
17224 yes|no) ;;
17225 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17226 esac
17228 else
17229 enable_concept_checks=no
17233 if test $enable_concept_checks = yes; then
17235 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17240 # Check whether --enable-libstdcxx-debug-flags was given.
17241 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17242 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17243 xno | x) enable_libstdcxx_debug_flags= ;;
17244 x-*) ;;
17245 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17246 esac
17247 else
17248 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17253 # Option parsed, now set things appropriately
17254 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17258 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17262 $as_echo_n "checking for additional debug build... " >&6; }
17263 # Check whether --enable-libstdcxx-debug was given.
17264 if test "${enable_libstdcxx_debug+set}" = set; then :
17265 enableval=$enable_libstdcxx_debug;
17266 case "$enableval" in
17267 yes|no) ;;
17268 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17269 esac
17271 else
17272 enable_libstdcxx_debug=no
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17277 $as_echo "$enable_libstdcxx_debug" >&6; }
17282 enable_parallel=no;
17284 # See if configured libgomp/omp.h exists. (libgomp may be in
17285 # noconfigdirs but not explicitly disabled.)
17286 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17287 enable_parallel=yes;
17288 else
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17290 $as_echo "$as_me: target-libgomp not built" >&6;}
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17294 $as_echo_n "checking for parallel mode support... " >&6; }
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17296 $as_echo "$enable_parallel" >&6; }
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17299 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17300 # Check whether --enable-cxx-flags was given.
17301 if test "${enable_cxx_flags+set}" = set; then :
17302 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17303 xno | x) enable_cxx_flags= ;;
17304 x-*) ;;
17305 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17306 esac
17307 else
17308 enable_cxx_flags=
17313 # Run through flags (either default or command-line) and set anything
17314 # extra (e.g., #defines) that must accompany particular g++ options.
17315 if test -n "$enable_cxx_flags"; then
17316 for f in $enable_cxx_flags; do
17317 case "$f" in
17318 -fhonor-std) ;;
17319 -*) ;;
17320 *) # and we're trying to pass /what/ exactly?
17321 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17322 esac
17323 done
17326 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17328 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17332 # Check whether --enable-fully-dynamic-string was given.
17333 if test "${enable_fully_dynamic_string+set}" = set; then :
17334 enableval=$enable_fully_dynamic_string;
17335 case "$enableval" in
17336 yes|no) ;;
17337 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17338 esac
17340 else
17341 enable_fully_dynamic_string=no
17345 if test $enable_fully_dynamic_string = yes; then
17346 enable_fully_dynamic_string_def=1
17347 else
17348 enable_fully_dynamic_string_def=0
17351 cat >>confdefs.h <<_ACEOF
17352 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17353 _ACEOF
17358 # Check whether --enable-extern-template was given.
17359 if test "${enable_extern_template+set}" = set; then :
17360 enableval=$enable_extern_template;
17361 case "$enableval" in
17362 yes|no) ;;
17363 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17364 esac
17366 else
17367 enable_extern_template=yes
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17373 $as_echo_n "checking for extern template support... " >&6; }
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17375 $as_echo "$enable_extern_template" >&6; }
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17382 $as_echo_n "checking for custom python install directory... " >&6; }
17384 # Check whether --with-python-dir was given.
17385 if test "${with_python_dir+set}" = set; then :
17386 withval=$with_python_dir; with_python_dir=$withval
17387 else
17388 with_python_dir="no"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17392 $as_echo "${with_python_dir}" >&6; }
17394 # Needed for installing Python modules during make install.
17395 python_mod_dir="${with_python_dir}"
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17401 $as_echo_n "checking for -Werror... " >&6; }
17402 # Check whether --enable-werror was given.
17403 if test "${enable_werror+set}" = set; then :
17404 enableval=$enable_werror;
17405 case "$enableval" in
17406 yes|no) ;;
17407 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17408 esac
17410 else
17411 enable_werror=yes
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17416 $as_echo "$enable_werror" >&6; }
17421 # Check whether --enable-vtable-verify was given.
17422 if test "${enable_vtable_verify+set}" = set; then :
17423 enableval=$enable_vtable_verify;
17424 case "$enableval" in
17425 yes|no) ;;
17426 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17427 esac
17429 else
17430 enable_vtable_verify=no
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17436 $as_echo_n "checking for vtable verify support... " >&6; }
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17438 $as_echo "$enable_vtable_verify" >&6; }
17440 if test $enable_vtable_verify = yes; then
17441 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17442 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17443 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17444 else
17445 VTV_CXXFLAGS=
17446 VTV_PCH_CXXFLAGS=
17447 VTV_CXXLINKFLAGS=
17456 # Checks for operating systems support that doesn't require linking.
17460 ac_ext=cpp
17461 ac_cpp='$CXXCPP $CPPFLAGS'
17462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17468 $as_echo_n "checking for gets declaration... " >&6; }
17469 if test "${glibcxx_cv_gets+set}" = set; then :
17470 $as_echo_n "(cached) " >&6
17471 else
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475 #include <stdio.h>
17476 namespace test
17478 using ::gets;
17481 _ACEOF
17482 if ac_fn_cxx_try_compile "$LINENO"; then :
17483 glibcxx_cv_gets=yes
17484 else
17485 glibcxx_cv_gets=no
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492 if test $glibcxx_cv_gets = yes; then
17494 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17498 $as_echo "$glibcxx_cv_gets" >&6; }
17500 ac_ext=c
17501 ac_cpp='$CPP $CPPFLAGS'
17502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17510 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17511 if test "${glibcxx_cv_system_error1+set}" = set; then :
17512 $as_echo_n "(cached) " >&6
17513 else
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #include <errno.h>
17519 main ()
17521 int i = EOWNERDEAD;
17523 return 0;
17525 _ACEOF
17526 if ac_fn_c_try_compile "$LINENO"; then :
17527 glibcxx_cv_system_error1=yes
17528 else
17529 glibcxx_cv_system_error1=no
17531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17536 $as_echo "$glibcxx_cv_system_error1" >&6; }
17537 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17539 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17543 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17544 if test "${glibcxx_cv_system_error2+set}" = set; then :
17545 $as_echo_n "(cached) " >&6
17546 else
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17550 #include <errno.h>
17552 main ()
17554 int i = ENOTRECOVERABLE;
17556 return 0;
17558 _ACEOF
17559 if ac_fn_c_try_compile "$LINENO"; then :
17560 glibcxx_cv_system_error2=yes
17561 else
17562 glibcxx_cv_system_error2=no
17564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17569 $as_echo "$glibcxx_cv_system_error2" >&6; }
17570 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17572 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17576 $as_echo_n "checking for ENOLINK... " >&6; }
17577 if test "${glibcxx_cv_system_error3+set}" = set; then :
17578 $as_echo_n "(cached) " >&6
17579 else
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h. */
17583 #include <errno.h>
17585 main ()
17587 int i = ENOLINK;
17589 return 0;
17591 _ACEOF
17592 if ac_fn_c_try_compile "$LINENO"; then :
17593 glibcxx_cv_system_error3=yes
17594 else
17595 glibcxx_cv_system_error3=no
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17602 $as_echo "$glibcxx_cv_system_error3" >&6; }
17603 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17605 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17609 $as_echo_n "checking for EPROTO... " >&6; }
17610 if test "${glibcxx_cv_system_error4+set}" = set; then :
17611 $as_echo_n "(cached) " >&6
17612 else
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #include <errno.h>
17618 main ()
17620 int i = EPROTO;
17622 return 0;
17624 _ACEOF
17625 if ac_fn_c_try_compile "$LINENO"; then :
17626 glibcxx_cv_system_error4=yes
17627 else
17628 glibcxx_cv_system_error4=no
17630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17635 $as_echo "$glibcxx_cv_system_error4" >&6; }
17636 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17638 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17642 $as_echo_n "checking for ENODATA... " >&6; }
17643 if test "${glibcxx_cv_system_error5+set}" = set; then :
17644 $as_echo_n "(cached) " >&6
17645 else
17647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17649 #include <errno.h>
17651 main ()
17653 int i = ENODATA;
17655 return 0;
17657 _ACEOF
17658 if ac_fn_c_try_compile "$LINENO"; then :
17659 glibcxx_cv_system_error5=yes
17660 else
17661 glibcxx_cv_system_error5=no
17663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17668 $as_echo "$glibcxx_cv_system_error5" >&6; }
17669 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17671 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17675 $as_echo_n "checking for ENOSR... " >&6; }
17676 if test "${glibcxx_cv_system_error6+set}" = set; then :
17677 $as_echo_n "(cached) " >&6
17678 else
17680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17682 #include <errno.h>
17684 main ()
17686 int i = ENOSR;
17688 return 0;
17690 _ACEOF
17691 if ac_fn_c_try_compile "$LINENO"; then :
17692 glibcxx_cv_system_error6=yes
17693 else
17694 glibcxx_cv_system_error6=no
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17701 $as_echo "$glibcxx_cv_system_error6" >&6; }
17702 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17704 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17708 $as_echo_n "checking for ENOSTR... " >&6; }
17709 if test "${glibcxx_cv_system_error7+set}" = set; then :
17710 $as_echo_n "(cached) " >&6
17711 else
17713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17715 #include <errno.h>
17717 main ()
17719 int i = ENOSTR;
17721 return 0;
17723 _ACEOF
17724 if ac_fn_c_try_compile "$LINENO"; then :
17725 glibcxx_cv_system_error7=yes
17726 else
17727 glibcxx_cv_system_error7=no
17729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17734 $as_echo "$glibcxx_cv_system_error7" >&6; }
17735 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17737 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17741 $as_echo_n "checking for ETIME... " >&6; }
17742 if test "${glibcxx_cv_system_error8+set}" = set; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17748 #include <errno.h>
17750 main ()
17752 int i = ETIME;
17754 return 0;
17756 _ACEOF
17757 if ac_fn_c_try_compile "$LINENO"; then :
17758 glibcxx_cv_system_error8=yes
17759 else
17760 glibcxx_cv_system_error8=no
17762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17767 $as_echo "$glibcxx_cv_system_error8" >&6; }
17768 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17770 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17774 $as_echo_n "checking for EBADMSG... " >&6; }
17775 if test "${glibcxx_cv_system_error9+set}" = set; then :
17776 $as_echo_n "(cached) " >&6
17777 else
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17781 #include <errno.h>
17783 main ()
17785 int i = EBADMSG;
17787 return 0;
17789 _ACEOF
17790 if ac_fn_c_try_compile "$LINENO"; then :
17791 glibcxx_cv_system_error9=yes
17792 else
17793 glibcxx_cv_system_error9=no
17795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17800 $as_echo "$glibcxx_cv_system_error9" >&6; }
17801 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17803 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17807 $as_echo_n "checking for ECANCELED... " >&6; }
17808 if test "${glibcxx_cv_system_error10+set}" = set; then :
17809 $as_echo_n "(cached) " >&6
17810 else
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 #include <errno.h>
17816 main ()
17818 int i = ECANCELED;
17820 return 0;
17822 _ACEOF
17823 if ac_fn_c_try_compile "$LINENO"; then :
17824 glibcxx_cv_system_error10=yes
17825 else
17826 glibcxx_cv_system_error10=no
17828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17833 $as_echo "$glibcxx_cv_system_error10" >&6; }
17834 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17836 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17840 $as_echo_n "checking for EOVERFLOW... " >&6; }
17841 if test "${glibcxx_cv_system_error11+set}" = set; then :
17842 $as_echo_n "(cached) " >&6
17843 else
17845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h. */
17847 #include <errno.h>
17849 main ()
17851 int i = EOVERFLOW;
17853 return 0;
17855 _ACEOF
17856 if ac_fn_c_try_compile "$LINENO"; then :
17857 glibcxx_cv_system_error11=yes
17858 else
17859 glibcxx_cv_system_error11=no
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17866 $as_echo "$glibcxx_cv_system_error11" >&6; }
17867 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17869 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17873 $as_echo_n "checking for ENOTSUP... " >&6; }
17874 if test "${glibcxx_cv_system_error12+set}" = set; then :
17875 $as_echo_n "(cached) " >&6
17876 else
17878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17879 /* end confdefs.h. */
17880 #include <errno.h>
17882 main ()
17884 int i = ENOTSUP;
17886 return 0;
17888 _ACEOF
17889 if ac_fn_c_try_compile "$LINENO"; then :
17890 glibcxx_cv_system_error12=yes
17891 else
17892 glibcxx_cv_system_error12=no
17894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17899 $as_echo "$glibcxx_cv_system_error12" >&6; }
17900 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17902 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17906 $as_echo_n "checking for EIDRM... " >&6; }
17907 if test "${glibcxx_cv_system_error13+set}" = set; then :
17908 $as_echo_n "(cached) " >&6
17909 else
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17913 #include <errno.h>
17915 main ()
17917 int i = EIDRM;
17919 return 0;
17921 _ACEOF
17922 if ac_fn_c_try_compile "$LINENO"; then :
17923 glibcxx_cv_system_error13=yes
17924 else
17925 glibcxx_cv_system_error13=no
17927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17932 $as_echo "$glibcxx_cv_system_error13" >&6; }
17933 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17935 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17939 $as_echo_n "checking for ETXTBSY... " >&6; }
17940 if test "${glibcxx_cv_system_error14+set}" = set; then :
17941 $as_echo_n "(cached) " >&6
17942 else
17944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17946 #include <errno.h>
17948 main ()
17950 int i = ETXTBSY;
17952 return 0;
17954 _ACEOF
17955 if ac_fn_c_try_compile "$LINENO"; then :
17956 glibcxx_cv_system_error14=yes
17957 else
17958 glibcxx_cv_system_error14=no
17960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17965 $as_echo "$glibcxx_cv_system_error14" >&6; }
17966 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17968 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17972 $as_echo_n "checking for ECHILD... " >&6; }
17973 if test "${glibcxx_cv_system_error15+set}" = set; then :
17974 $as_echo_n "(cached) " >&6
17975 else
17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17979 #include <errno.h>
17981 main ()
17983 int i = ECHILD;
17985 return 0;
17987 _ACEOF
17988 if ac_fn_c_try_compile "$LINENO"; then :
17989 glibcxx_cv_system_error15=yes
17990 else
17991 glibcxx_cv_system_error15=no
17993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17998 $as_echo "$glibcxx_cv_system_error15" >&6; }
17999 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18001 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18005 $as_echo_n "checking for ENOSPC... " >&6; }
18006 if test "${glibcxx_cv_system_error16+set}" = set; then :
18007 $as_echo_n "(cached) " >&6
18008 else
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h. */
18012 #include <errno.h>
18014 main ()
18016 int i = ENOSPC;
18018 return 0;
18020 _ACEOF
18021 if ac_fn_c_try_compile "$LINENO"; then :
18022 glibcxx_cv_system_error16=yes
18023 else
18024 glibcxx_cv_system_error16=no
18026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18031 $as_echo "$glibcxx_cv_system_error16" >&6; }
18032 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18034 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18038 $as_echo_n "checking for EPERM... " >&6; }
18039 if test "${glibcxx_cv_system_error17+set}" = set; then :
18040 $as_echo_n "(cached) " >&6
18041 else
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18045 #include <errno.h>
18047 main ()
18049 int i = EPERM;
18051 return 0;
18053 _ACEOF
18054 if ac_fn_c_try_compile "$LINENO"; then :
18055 glibcxx_cv_system_error17=yes
18056 else
18057 glibcxx_cv_system_error17=no
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18064 $as_echo "$glibcxx_cv_system_error17" >&6; }
18065 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18067 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18071 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18072 if test "${glibcxx_cv_system_error18+set}" = set; then :
18073 $as_echo_n "(cached) " >&6
18074 else
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18078 #include <errno.h>
18080 main ()
18082 int i = ETIMEDOUT;
18084 return 0;
18086 _ACEOF
18087 if ac_fn_c_try_compile "$LINENO"; then :
18088 glibcxx_cv_system_error18=yes
18089 else
18090 glibcxx_cv_system_error18=no
18092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18097 $as_echo "$glibcxx_cv_system_error18" >&6; }
18098 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18100 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18104 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18105 if test "${glibcxx_cv_system_error19+set}" = set; then :
18106 $as_echo_n "(cached) " >&6
18107 else
18109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h. */
18111 #include <errno.h>
18113 main ()
18115 int i = EWOULDBLOCK;
18117 return 0;
18119 _ACEOF
18120 if ac_fn_c_try_compile "$LINENO"; then :
18121 glibcxx_cv_system_error19=yes
18122 else
18123 glibcxx_cv_system_error19=no
18125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18130 $as_echo "$glibcxx_cv_system_error19" >&6; }
18131 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18133 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18139 # For the streamoff typedef.
18143 ac_ext=cpp
18144 ac_cpp='$CXXCPP $CPPFLAGS'
18145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18151 $as_echo_n "checking for int64_t... " >&6; }
18152 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18153 $as_echo_n "(cached) " >&6
18154 else
18156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18157 /* end confdefs.h. */
18158 #include <stdint.h>
18160 main ()
18162 int64_t var;
18164 return 0;
18166 _ACEOF
18167 if ac_fn_cxx_try_compile "$LINENO"; then :
18168 glibcxx_cv_INT64_T=yes
18169 else
18170 glibcxx_cv_INT64_T=no
18172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18177 if test $glibcxx_cv_INT64_T = yes; then
18179 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18182 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18185 $as_echo_n "checking for int64_t as long... " >&6; }
18186 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18192 #include <stdint.h>
18193 template<typename, typename> struct same { enum { value = -1 }; };
18194 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18195 int array[same<int64_t, long>::value];
18197 main ()
18201 return 0;
18203 _ACEOF
18204 if ac_fn_cxx_try_compile "$LINENO"; then :
18205 glibcxx_cv_int64_t_long=yes
18206 else
18207 glibcxx_cv_int64_t_long=no
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18214 if test $glibcxx_cv_int64_t_long = yes; then
18216 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18219 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18223 $as_echo_n "checking for int64_t as long long... " >&6; }
18224 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18225 $as_echo_n "(cached) " >&6
18226 else
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18230 #include <stdint.h>
18231 template<typename, typename> struct same { enum { value = -1 }; };
18232 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18233 int array[same<int64_t, long long>::value];
18235 main ()
18239 return 0;
18241 _ACEOF
18242 if ac_fn_cxx_try_compile "$LINENO"; then :
18243 glibcxx_cv_int64_t_long_long=yes
18244 else
18245 glibcxx_cv_int64_t_long_long=no
18247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252 if test $glibcxx_cv_int64_t_long_long = yes; then
18254 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18257 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18261 ac_ext=c
18262 ac_cpp='$CPP $CPPFLAGS'
18263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18269 # For LFS support.
18272 ac_ext=cpp
18273 ac_cpp='$CXXCPP $CPPFLAGS'
18274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18278 ac_save_CXXFLAGS="$CXXFLAGS"
18279 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18281 $as_echo_n "checking for LFS support... " >&6; }
18282 if test "${glibcxx_cv_LFS+set}" = set; then :
18283 $as_echo_n "(cached) " >&6
18284 else
18286 if test x$gcc_no_link = xyes; then
18287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288 /* end confdefs.h. */
18289 #include <unistd.h>
18290 #include <stdio.h>
18291 #include <sys/stat.h>
18294 main ()
18296 FILE* fp;
18297 fopen64("t", "w");
18298 fseeko64(fp, 0, SEEK_CUR);
18299 ftello64(fp);
18300 lseek64(1, 0, SEEK_CUR);
18301 struct stat64 buf;
18302 fstat64(1, &buf);
18304 return 0;
18306 _ACEOF
18307 if ac_fn_cxx_try_compile "$LINENO"; then :
18308 glibcxx_cv_LFS=yes
18309 else
18310 glibcxx_cv_LFS=no
18312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313 else
18314 if test x$gcc_no_link = xyes; then
18315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18319 #include <unistd.h>
18320 #include <stdio.h>
18321 #include <sys/stat.h>
18324 main ()
18326 FILE* fp;
18327 fopen64("t", "w");
18328 fseeko64(fp, 0, SEEK_CUR);
18329 ftello64(fp);
18330 lseek64(1, 0, SEEK_CUR);
18331 struct stat64 buf;
18332 fstat64(1, &buf);
18334 return 0;
18336 _ACEOF
18337 if ac_fn_cxx_try_link "$LINENO"; then :
18338 glibcxx_cv_LFS=yes
18339 else
18340 glibcxx_cv_LFS=no
18342 rm -f core conftest.err conftest.$ac_objext \
18343 conftest$ac_exeext conftest.$ac_ext
18348 if test $glibcxx_cv_LFS = yes; then
18350 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18354 $as_echo "$glibcxx_cv_LFS" >&6; }
18355 CXXFLAGS="$ac_save_CXXFLAGS"
18356 ac_ext=c
18357 ac_cpp='$CPP $CPPFLAGS'
18358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18364 # For showmanyc_helper().
18365 for ac_header in sys/ioctl.h sys/filio.h
18366 do :
18367 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18368 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18369 eval as_val=\$$as_ac_Header
18370 if test "x$as_val" = x""yes; then :
18371 cat >>confdefs.h <<_ACEOF
18372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18373 _ACEOF
18377 done
18382 ac_ext=cpp
18383 ac_cpp='$CXXCPP $CPPFLAGS'
18384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18388 ac_save_CXXFLAGS="$CXXFLAGS"
18389 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18392 $as_echo_n "checking for poll... " >&6; }
18393 if test "${glibcxx_cv_POLL+set}" = set; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18397 if test x$gcc_no_link = xyes; then
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18400 #include <poll.h>
18402 main ()
18404 struct pollfd pfd[1];
18405 pfd[0].events = POLLIN;
18406 poll(pfd, 1, 0);
18408 return 0;
18410 _ACEOF
18411 if ac_fn_cxx_try_compile "$LINENO"; then :
18412 glibcxx_cv_POLL=yes
18413 else
18414 glibcxx_cv_POLL=no
18416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18417 else
18418 if test x$gcc_no_link = xyes; then
18419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18422 /* end confdefs.h. */
18423 #include <poll.h>
18425 main ()
18427 struct pollfd pfd[1];
18428 pfd[0].events = POLLIN;
18429 poll(pfd, 1, 0);
18431 return 0;
18433 _ACEOF
18434 if ac_fn_cxx_try_link "$LINENO"; then :
18435 glibcxx_cv_POLL=yes
18436 else
18437 glibcxx_cv_POLL=no
18439 rm -f core conftest.err conftest.$ac_objext \
18440 conftest$ac_exeext conftest.$ac_ext
18445 if test $glibcxx_cv_POLL = yes; then
18447 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18451 $as_echo "$glibcxx_cv_POLL" >&6; }
18453 CXXFLAGS="$ac_save_CXXFLAGS"
18454 ac_ext=c
18455 ac_cpp='$CPP $CPPFLAGS'
18456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18464 ac_ext=cpp
18465 ac_cpp='$CXXCPP $CPPFLAGS'
18466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18470 ac_save_CXXFLAGS="$CXXFLAGS"
18471 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18474 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18475 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18476 $as_echo_n "(cached) " >&6
18477 else
18479 if test x$gcc_no_link = xyes; then
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18482 #include <sys/stat.h>
18484 main ()
18486 struct stat buffer;
18487 fstat(0, &buffer);
18488 S_ISREG(buffer.st_mode);
18490 return 0;
18492 _ACEOF
18493 if ac_fn_cxx_try_compile "$LINENO"; then :
18494 glibcxx_cv_S_ISREG=yes
18495 else
18496 glibcxx_cv_S_ISREG=no
18498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18499 else
18500 if test x$gcc_no_link = xyes; then
18501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18505 #include <sys/stat.h>
18507 main ()
18509 struct stat buffer;
18510 fstat(0, &buffer);
18511 S_ISREG(buffer.st_mode);
18513 return 0;
18515 _ACEOF
18516 if ac_fn_cxx_try_link "$LINENO"; then :
18517 glibcxx_cv_S_ISREG=yes
18518 else
18519 glibcxx_cv_S_ISREG=no
18521 rm -f core conftest.err conftest.$ac_objext \
18522 conftest$ac_exeext conftest.$ac_ext
18527 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18528 $as_echo_n "(cached) " >&6
18529 else
18531 if test x$gcc_no_link = xyes; then
18532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18533 /* end confdefs.h. */
18534 #include <sys/stat.h>
18536 main ()
18538 struct stat buffer;
18539 fstat(0, &buffer);
18540 S_IFREG & buffer.st_mode;
18542 return 0;
18544 _ACEOF
18545 if ac_fn_cxx_try_compile "$LINENO"; then :
18546 glibcxx_cv_S_IFREG=yes
18547 else
18548 glibcxx_cv_S_IFREG=no
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551 else
18552 if test x$gcc_no_link = xyes; then
18553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18557 #include <sys/stat.h>
18559 main ()
18561 struct stat buffer;
18562 fstat(0, &buffer);
18563 S_IFREG & buffer.st_mode;
18565 return 0;
18567 _ACEOF
18568 if ac_fn_cxx_try_link "$LINENO"; then :
18569 glibcxx_cv_S_IFREG=yes
18570 else
18571 glibcxx_cv_S_IFREG=no
18573 rm -f core conftest.err conftest.$ac_objext \
18574 conftest$ac_exeext conftest.$ac_ext
18579 res=no
18580 if test $glibcxx_cv_S_ISREG = yes; then
18582 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18584 res=S_ISREG
18585 elif test $glibcxx_cv_S_IFREG = yes; then
18587 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18589 res=S_IFREG
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18592 $as_echo "$res" >&6; }
18594 CXXFLAGS="$ac_save_CXXFLAGS"
18595 ac_ext=c
18596 ac_cpp='$CPP $CPPFLAGS'
18597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18603 # For xsputn_2().
18604 for ac_header in sys/uio.h
18605 do :
18606 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18607 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18608 cat >>confdefs.h <<_ACEOF
18609 #define HAVE_SYS_UIO_H 1
18610 _ACEOF
18614 done
18619 ac_ext=cpp
18620 ac_cpp='$CXXCPP $CPPFLAGS'
18621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18625 ac_save_CXXFLAGS="$CXXFLAGS"
18626 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18629 $as_echo_n "checking for writev... " >&6; }
18630 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18631 $as_echo_n "(cached) " >&6
18632 else
18634 if test x$gcc_no_link = xyes; then
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18637 #include <sys/uio.h>
18639 main ()
18641 struct iovec iov[2];
18642 writev(0, iov, 0);
18644 return 0;
18646 _ACEOF
18647 if ac_fn_cxx_try_compile "$LINENO"; then :
18648 glibcxx_cv_WRITEV=yes
18649 else
18650 glibcxx_cv_WRITEV=no
18652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18653 else
18654 if test x$gcc_no_link = xyes; then
18655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18658 /* end confdefs.h. */
18659 #include <sys/uio.h>
18661 main ()
18663 struct iovec iov[2];
18664 writev(0, iov, 0);
18666 return 0;
18668 _ACEOF
18669 if ac_fn_cxx_try_link "$LINENO"; then :
18670 glibcxx_cv_WRITEV=yes
18671 else
18672 glibcxx_cv_WRITEV=no
18674 rm -f core conftest.err conftest.$ac_objext \
18675 conftest$ac_exeext conftest.$ac_ext
18680 if test $glibcxx_cv_WRITEV = yes; then
18682 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18686 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18688 CXXFLAGS="$ac_save_CXXFLAGS"
18689 ac_ext=c
18690 ac_cpp='$CPP $CPPFLAGS'
18691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18697 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18698 # so that the check is done with the C compiler (not C++).
18699 # Checking with C++ can break a canadian cross build if either
18700 # file does not exist in C but does in C++.
18701 for ac_header in fenv.h complex.h
18702 do :
18703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18704 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18705 eval as_val=\$$as_ac_Header
18706 if test "x$as_val" = x""yes; then :
18707 cat >>confdefs.h <<_ACEOF
18708 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18709 _ACEOF
18713 done
18716 # For C99 support to TR1.
18720 ac_ext=cpp
18721 ac_cpp='$CXXCPP $CPPFLAGS'
18722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18727 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18728 # undefined and fake C99 facilities may be spuriously enabled.
18729 ac_save_CXXFLAGS="$CXXFLAGS"
18730 CXXFLAGS="$CXXFLAGS -std=c++98"
18732 # Check for the existence of <complex.h> complex math functions used
18733 # by tr1/complex.
18734 for ac_header in complex.h
18735 do :
18736 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18737 if test "x$ac_cv_header_complex_h" = x""yes; then :
18738 cat >>confdefs.h <<_ACEOF
18739 #define HAVE_COMPLEX_H 1
18740 _ACEOF
18741 ac_has_complex_h=yes
18742 else
18743 ac_has_complex_h=no
18746 done
18748 ac_c99_complex_tr1=no;
18749 if test x"$ac_has_complex_h" = x"yes"; then
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18751 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18753 /* end confdefs.h. */
18754 #include <complex.h>
18756 main ()
18758 typedef __complex__ float float_type; float_type tmpf;
18759 cacosf(tmpf);
18760 casinf(tmpf);
18761 catanf(tmpf);
18762 cacoshf(tmpf);
18763 casinhf(tmpf);
18764 catanhf(tmpf);
18765 typedef __complex__ double double_type; double_type tmpd;
18766 cacos(tmpd);
18767 casin(tmpd);
18768 catan(tmpd);
18769 cacosh(tmpd);
18770 casinh(tmpd);
18771 catanh(tmpd);
18772 typedef __complex__ long double ld_type; ld_type tmpld;
18773 cacosl(tmpld);
18774 casinl(tmpld);
18775 catanl(tmpld);
18776 cacoshl(tmpld);
18777 casinhl(tmpld);
18778 catanhl(tmpld);
18781 return 0;
18783 _ACEOF
18784 if ac_fn_cxx_try_compile "$LINENO"; then :
18785 ac_c99_complex_tr1=yes
18786 else
18787 ac_c99_complex_tr1=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18792 $as_echo "$ac_c99_complex_tr1" >&6; }
18793 if test x"$ac_c99_complex_tr1" = x"yes"; then
18795 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18799 # Check for the existence of <ctype.h> functions.
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18801 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18802 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18803 $as_echo_n "(cached) " >&6
18804 else
18806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18808 #include <ctype.h>
18810 main ()
18812 int ch;
18813 int ret;
18814 ret = isblank(ch);
18817 return 0;
18819 _ACEOF
18820 if ac_fn_cxx_try_compile "$LINENO"; then :
18821 glibcxx_cv_c99_ctype_tr1=yes
18822 else
18823 glibcxx_cv_c99_ctype_tr1=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18830 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18831 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18833 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18837 # Check for the existence of <fenv.h> functions.
18838 for ac_header in fenv.h
18839 do :
18840 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18841 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18842 cat >>confdefs.h <<_ACEOF
18843 #define HAVE_FENV_H 1
18844 _ACEOF
18845 ac_has_fenv_h=yes
18846 else
18847 ac_has_fenv_h=no
18850 done
18852 ac_c99_fenv_tr1=no;
18853 if test x"$ac_has_fenv_h" = x"yes"; then
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18855 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858 #include <fenv.h>
18860 main ()
18862 int except, mode;
18863 fexcept_t* pflag;
18864 fenv_t* penv;
18865 int ret;
18866 ret = feclearexcept(except);
18867 ret = fegetexceptflag(pflag, except);
18868 ret = feraiseexcept(except);
18869 ret = fesetexceptflag(pflag, except);
18870 ret = fetestexcept(except);
18871 ret = fegetround();
18872 ret = fesetround(mode);
18873 ret = fegetenv(penv);
18874 ret = feholdexcept(penv);
18875 ret = fesetenv(penv);
18876 ret = feupdateenv(penv);
18879 return 0;
18881 _ACEOF
18882 if ac_fn_cxx_try_compile "$LINENO"; then :
18883 ac_c99_fenv_tr1=yes
18884 else
18885 ac_c99_fenv_tr1=no
18887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18890 $as_echo "$ac_c99_fenv_tr1" >&6; }
18891 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18893 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18897 # Check for the existence of <stdint.h> types.
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18899 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18900 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18901 $as_echo_n "(cached) " >&6
18902 else
18904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18905 /* end confdefs.h. */
18906 #define __STDC_LIMIT_MACROS
18907 #define __STDC_CONSTANT_MACROS
18908 #include <stdint.h>
18910 main ()
18912 typedef int8_t my_int8_t;
18913 my_int8_t i8 = INT8_MIN;
18914 i8 = INT8_MAX;
18915 typedef int16_t my_int16_t;
18916 my_int16_t i16 = INT16_MIN;
18917 i16 = INT16_MAX;
18918 typedef int32_t my_int32_t;
18919 my_int32_t i32 = INT32_MIN;
18920 i32 = INT32_MAX;
18921 typedef int64_t my_int64_t;
18922 my_int64_t i64 = INT64_MIN;
18923 i64 = INT64_MAX;
18924 typedef int_fast8_t my_int_fast8_t;
18925 my_int_fast8_t if8 = INT_FAST8_MIN;
18926 if8 = INT_FAST8_MAX;
18927 typedef int_fast16_t my_int_fast16_t;
18928 my_int_fast16_t if16 = INT_FAST16_MIN;
18929 if16 = INT_FAST16_MAX;
18930 typedef int_fast32_t my_int_fast32_t;
18931 my_int_fast32_t if32 = INT_FAST32_MIN;
18932 if32 = INT_FAST32_MAX;
18933 typedef int_fast64_t my_int_fast64_t;
18934 my_int_fast64_t if64 = INT_FAST64_MIN;
18935 if64 = INT_FAST64_MAX;
18936 typedef int_least8_t my_int_least8_t;
18937 my_int_least8_t il8 = INT_LEAST8_MIN;
18938 il8 = INT_LEAST8_MAX;
18939 typedef int_least16_t my_int_least16_t;
18940 my_int_least16_t il16 = INT_LEAST16_MIN;
18941 il16 = INT_LEAST16_MAX;
18942 typedef int_least32_t my_int_least32_t;
18943 my_int_least32_t il32 = INT_LEAST32_MIN;
18944 il32 = INT_LEAST32_MAX;
18945 typedef int_least64_t my_int_least64_t;
18946 my_int_least64_t il64 = INT_LEAST64_MIN;
18947 il64 = INT_LEAST64_MAX;
18948 typedef intmax_t my_intmax_t;
18949 my_intmax_t im = INTMAX_MAX;
18950 im = INTMAX_MIN;
18951 typedef intptr_t my_intptr_t;
18952 my_intptr_t ip = INTPTR_MAX;
18953 ip = INTPTR_MIN;
18954 typedef uint8_t my_uint8_t;
18955 my_uint8_t ui8 = UINT8_MAX;
18956 ui8 = UINT8_MAX;
18957 typedef uint16_t my_uint16_t;
18958 my_uint16_t ui16 = UINT16_MAX;
18959 ui16 = UINT16_MAX;
18960 typedef uint32_t my_uint32_t;
18961 my_uint32_t ui32 = UINT32_MAX;
18962 ui32 = UINT32_MAX;
18963 typedef uint64_t my_uint64_t;
18964 my_uint64_t ui64 = UINT64_MAX;
18965 ui64 = UINT64_MAX;
18966 typedef uint_fast8_t my_uint_fast8_t;
18967 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18968 uif8 = UINT_FAST8_MAX;
18969 typedef uint_fast16_t my_uint_fast16_t;
18970 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18971 uif16 = UINT_FAST16_MAX;
18972 typedef uint_fast32_t my_uint_fast32_t;
18973 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18974 uif32 = UINT_FAST32_MAX;
18975 typedef uint_fast64_t my_uint_fast64_t;
18976 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18977 uif64 = UINT_FAST64_MAX;
18978 typedef uint_least8_t my_uint_least8_t;
18979 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18980 uil8 = UINT_LEAST8_MAX;
18981 typedef uint_least16_t my_uint_least16_t;
18982 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18983 uil16 = UINT_LEAST16_MAX;
18984 typedef uint_least32_t my_uint_least32_t;
18985 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18986 uil32 = UINT_LEAST32_MAX;
18987 typedef uint_least64_t my_uint_least64_t;
18988 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18989 uil64 = UINT_LEAST64_MAX;
18990 typedef uintmax_t my_uintmax_t;
18991 my_uintmax_t uim = UINTMAX_MAX;
18992 uim = UINTMAX_MAX;
18993 typedef uintptr_t my_uintptr_t;
18994 my_uintptr_t uip = UINTPTR_MAX;
18995 uip = UINTPTR_MAX;
18998 return 0;
19000 _ACEOF
19001 if ac_fn_cxx_try_compile "$LINENO"; then :
19002 glibcxx_cv_c99_stdint_tr1=yes
19003 else
19004 glibcxx_cv_c99_stdint_tr1=no
19006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19011 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19012 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19014 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19018 # Check for the existence of <math.h> functions.
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19020 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19021 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19022 $as_echo_n "(cached) " >&6
19023 else
19025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19026 /* end confdefs.h. */
19027 #include <math.h>
19029 main ()
19031 typedef double_t my_double_t;
19032 typedef float_t my_float_t;
19033 acosh(0.0);
19034 acoshf(0.0f);
19035 acoshl(0.0l);
19036 asinh(0.0);
19037 asinhf(0.0f);
19038 asinhl(0.0l);
19039 atanh(0.0);
19040 atanhf(0.0f);
19041 atanhl(0.0l);
19042 cbrt(0.0);
19043 cbrtf(0.0f);
19044 cbrtl(0.0l);
19045 copysign(0.0, 0.0);
19046 copysignf(0.0f, 0.0f);
19047 copysignl(0.0l, 0.0l);
19048 erf(0.0);
19049 erff(0.0f);
19050 erfl(0.0l);
19051 erfc(0.0);
19052 erfcf(0.0f);
19053 erfcl(0.0l);
19054 exp2(0.0);
19055 exp2f(0.0f);
19056 exp2l(0.0l);
19057 expm1(0.0);
19058 expm1f(0.0f);
19059 expm1l(0.0l);
19060 fdim(0.0, 0.0);
19061 fdimf(0.0f, 0.0f);
19062 fdiml(0.0l, 0.0l);
19063 fma(0.0, 0.0, 0.0);
19064 fmaf(0.0f, 0.0f, 0.0f);
19065 fmal(0.0l, 0.0l, 0.0l);
19066 fmax(0.0, 0.0);
19067 fmaxf(0.0f, 0.0f);
19068 fmaxl(0.0l, 0.0l);
19069 fmin(0.0, 0.0);
19070 fminf(0.0f, 0.0f);
19071 fminl(0.0l, 0.0l);
19072 hypot(0.0, 0.0);
19073 hypotf(0.0f, 0.0f);
19074 hypotl(0.0l, 0.0l);
19075 ilogb(0.0);
19076 ilogbf(0.0f);
19077 ilogbl(0.0l);
19078 lgamma(0.0);
19079 lgammaf(0.0f);
19080 lgammal(0.0l);
19081 llrint(0.0);
19082 llrintf(0.0f);
19083 llrintl(0.0l);
19084 llround(0.0);
19085 llroundf(0.0f);
19086 llroundl(0.0l);
19087 log1p(0.0);
19088 log1pf(0.0f);
19089 log1pl(0.0l);
19090 log2(0.0);
19091 log2f(0.0f);
19092 log2l(0.0l);
19093 logb(0.0);
19094 logbf(0.0f);
19095 logbl(0.0l);
19096 lrint(0.0);
19097 lrintf(0.0f);
19098 lrintl(0.0l);
19099 lround(0.0);
19100 lroundf(0.0f);
19101 lroundl(0.0l);
19102 nan(0);
19103 nanf(0);
19104 nanl(0);
19105 nearbyint(0.0);
19106 nearbyintf(0.0f);
19107 nearbyintl(0.0l);
19108 nextafter(0.0, 0.0);
19109 nextafterf(0.0f, 0.0f);
19110 nextafterl(0.0l, 0.0l);
19111 nexttoward(0.0, 0.0);
19112 nexttowardf(0.0f, 0.0f);
19113 nexttowardl(0.0l, 0.0l);
19114 remainder(0.0, 0.0);
19115 remainderf(0.0f, 0.0f);
19116 remainderl(0.0l, 0.0l);
19117 remquo(0.0, 0.0, 0);
19118 remquof(0.0f, 0.0f, 0);
19119 remquol(0.0l, 0.0l, 0);
19120 rint(0.0);
19121 rintf(0.0f);
19122 rintl(0.0l);
19123 round(0.0);
19124 roundf(0.0f);
19125 roundl(0.0l);
19126 scalbln(0.0, 0l);
19127 scalblnf(0.0f, 0l);
19128 scalblnl(0.0l, 0l);
19129 scalbn(0.0, 0);
19130 scalbnf(0.0f, 0);
19131 scalbnl(0.0l, 0);
19132 tgamma(0.0);
19133 tgammaf(0.0f);
19134 tgammal(0.0l);
19135 trunc(0.0);
19136 truncf(0.0f);
19137 truncl(0.0l);
19140 return 0;
19142 _ACEOF
19143 if ac_fn_cxx_try_compile "$LINENO"; then :
19144 glibcxx_cv_c99_math_tr1=yes
19145 else
19146 glibcxx_cv_c99_math_tr1=no
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19153 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19154 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19156 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19160 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19161 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19162 ac_c99_inttypes_tr1=no;
19163 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19165 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19168 #include <inttypes.h>
19170 main ()
19172 intmax_t i, numer, denom, base;
19173 const char* s;
19174 char** endptr;
19175 intmax_t ret = imaxabs(i);
19176 imaxdiv_t dret = imaxdiv(numer, denom);
19177 ret = strtoimax(s, endptr, base);
19178 uintmax_t uret = strtoumax(s, endptr, base);
19181 return 0;
19183 _ACEOF
19184 if ac_fn_cxx_try_compile "$LINENO"; then :
19185 ac_c99_inttypes_tr1=yes
19186 else
19187 ac_c99_inttypes_tr1=no
19189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19192 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19193 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19195 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19199 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19200 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19201 ac_c99_inttypes_wchar_t_tr1=no;
19202 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19204 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19207 #include <inttypes.h>
19209 main ()
19211 intmax_t base;
19212 const wchar_t* s;
19213 wchar_t** endptr;
19214 intmax_t ret = wcstoimax(s, endptr, base);
19215 uintmax_t uret = wcstoumax(s, endptr, base);
19218 return 0;
19220 _ACEOF
19221 if ac_fn_cxx_try_compile "$LINENO"; then :
19222 ac_c99_inttypes_wchar_t_tr1=yes
19223 else
19224 ac_c99_inttypes_wchar_t_tr1=no
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19229 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19230 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19232 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19236 # Check for the existence of the <stdbool.h> header.
19237 for ac_header in stdbool.h
19238 do :
19239 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19240 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19241 cat >>confdefs.h <<_ACEOF
19242 #define HAVE_STDBOOL_H 1
19243 _ACEOF
19247 done
19250 # Check for the existence of the <stdalign.h> header.
19251 for ac_header in stdalign.h
19252 do :
19253 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19254 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_STDALIGN_H 1
19257 _ACEOF
19261 done
19264 CXXFLAGS="$ac_save_CXXFLAGS"
19265 ac_ext=c
19266 ac_cpp='$CPP $CPPFLAGS'
19267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19273 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19277 $as_echo_n "checking for the value of EOF... " >&6; }
19278 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19279 $as_echo_n "(cached) " >&6
19280 else
19282 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19284 else
19285 as_fn_error "computing EOF failed" "$LINENO" 5
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19291 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19293 cat >>confdefs.h <<_ACEOF
19294 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19295 _ACEOF
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19299 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19300 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19301 $as_echo_n "(cached) " >&6
19302 else
19304 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19306 else
19307 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19313 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19315 cat >>confdefs.h <<_ACEOF
19316 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19317 _ACEOF
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19321 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19322 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19323 $as_echo_n "(cached) " >&6
19324 else
19326 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19328 else
19329 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19335 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19337 cat >>confdefs.h <<_ACEOF
19338 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19339 _ACEOF
19343 # For gettimeofday support.
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19347 $as_echo_n "checking for gettimeofday... " >&6; }
19350 ac_ext=cpp
19351 ac_cpp='$CXXCPP $CPPFLAGS'
19352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19356 ac_save_CXXFLAGS="$CXXFLAGS"
19357 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19359 ac_has_gettimeofday=no;
19360 for ac_header in sys/time.h
19361 do :
19362 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19363 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19364 cat >>confdefs.h <<_ACEOF
19365 #define HAVE_SYS_TIME_H 1
19366 _ACEOF
19367 ac_has_sys_time_h=yes
19368 else
19369 ac_has_sys_time_h=no
19372 done
19374 if test x"$ac_has_sys_time_h" = x"yes"; then
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19376 $as_echo_n "checking for gettimeofday... " >&6; }
19377 if test x$gcc_no_link = xyes; then
19378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19380 #include <sys/time.h>
19382 main ()
19384 timeval tv; gettimeofday(&tv, 0);
19386 return 0;
19388 _ACEOF
19389 if ac_fn_cxx_try_compile "$LINENO"; then :
19390 ac_has_gettimeofday=yes
19391 else
19392 ac_has_gettimeofday=no
19394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19395 else
19396 if test x$gcc_no_link = xyes; then
19397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 #include <sys/time.h>
19403 main ()
19405 timeval tv; gettimeofday(&tv, 0);
19407 return 0;
19409 _ACEOF
19410 if ac_fn_cxx_try_link "$LINENO"; then :
19411 ac_has_gettimeofday=yes
19412 else
19413 ac_has_gettimeofday=no
19415 rm -f core conftest.err conftest.$ac_objext \
19416 conftest$ac_exeext conftest.$ac_ext
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19420 $as_echo "$ac_has_gettimeofday" >&6; }
19423 if test x"$ac_has_gettimeofday" = x"yes"; then
19425 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19429 CXXFLAGS="$ac_save_CXXFLAGS"
19430 ac_ext=c
19431 ac_cpp='$CPP $CPPFLAGS'
19432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19438 # For clock_gettime, nanosleep and sched_yield support.
19441 # Check whether --enable-libstdcxx-time was given.
19442 if test "${enable_libstdcxx_time+set}" = set; then :
19443 enableval=$enable_libstdcxx_time;
19444 case "$enableval" in
19445 yes|no|rt) ;;
19446 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19447 esac
19449 else
19450 enable_libstdcxx_time=auto
19456 ac_ext=cpp
19457 ac_cpp='$CXXCPP $CPPFLAGS'
19458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19462 ac_save_CXXFLAGS="$CXXFLAGS"
19463 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19464 ac_save_LIBS="$LIBS"
19466 ac_has_clock_monotonic=no
19467 ac_has_clock_realtime=no
19468 ac_has_nanosleep=no
19469 ac_has_sched_yield=no
19471 if test x"$enable_libstdcxx_time" = x"auto"; then
19473 case "${target_os}" in
19474 cygwin*)
19475 ac_has_nanosleep=yes
19477 darwin*)
19478 ac_has_nanosleep=yes
19479 ac_has_sched_yield=yes
19481 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19483 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19486 #include <features.h>
19488 main ()
19491 #if ! __GLIBC_PREREQ(2, 17)
19492 #error
19493 #endif
19496 return 0;
19498 _ACEOF
19499 if ac_fn_cxx_try_compile "$LINENO"; then :
19500 glibcxx_glibc217=yes
19501 else
19502 glibcxx_glibc217=no
19504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19506 $as_echo "$glibcxx_glibc217" >&6; }
19508 if test x"$glibcxx_glibc217" = x"yes"; then
19509 ac_has_clock_monotonic=yes
19510 ac_has_clock_realtime=yes
19512 ac_has_nanosleep=yes
19513 ac_has_sched_yield=yes
19515 freebsd*|netbsd*)
19516 ac_has_clock_monotonic=yes
19517 ac_has_clock_realtime=yes
19518 ac_has_nanosleep=yes
19519 ac_has_sched_yield=yes
19521 openbsd*)
19522 ac_has_clock_monotonic=yes
19523 ac_has_clock_realtime=yes
19524 ac_has_nanosleep=yes
19526 solaris*)
19527 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19528 ac_has_clock_monotonic=yes
19529 ac_has_clock_realtime=yes
19530 ac_has_nanosleep=yes
19531 ac_has_sched_yield=yes
19533 esac
19535 elif test x"$enable_libstdcxx_time" != x"no"; then
19537 if test x"$enable_libstdcxx_time" = x"rt"; then
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19539 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19540 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19541 $as_echo_n "(cached) " >&6
19542 else
19543 ac_func_search_save_LIBS=$LIBS
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19547 /* Override any GCC internal prototype to avoid an error.
19548 Use char because int might match the return type of a GCC
19549 builtin and then its argument prototype would still apply. */
19550 #ifdef __cplusplus
19551 extern "C"
19552 #endif
19553 char clock_gettime ();
19555 main ()
19557 return clock_gettime ();
19559 return 0;
19561 _ACEOF
19562 for ac_lib in '' rt posix4; do
19563 if test -z "$ac_lib"; then
19564 ac_res="none required"
19565 else
19566 ac_res=-l$ac_lib
19567 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19569 if test x$gcc_no_link = xyes; then
19570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19572 if ac_fn_cxx_try_link "$LINENO"; then :
19573 ac_cv_search_clock_gettime=$ac_res
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext
19577 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19578 break
19580 done
19581 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19583 else
19584 ac_cv_search_clock_gettime=no
19586 rm conftest.$ac_ext
19587 LIBS=$ac_func_search_save_LIBS
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19590 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19591 ac_res=$ac_cv_search_clock_gettime
19592 if test "$ac_res" != no; then :
19593 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19598 $as_echo_n "checking for library containing nanosleep... " >&6; }
19599 if test "${ac_cv_search_nanosleep+set}" = set; then :
19600 $as_echo_n "(cached) " >&6
19601 else
19602 ac_func_search_save_LIBS=$LIBS
19603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19604 /* end confdefs.h. */
19606 /* Override any GCC internal prototype to avoid an error.
19607 Use char because int might match the return type of a GCC
19608 builtin and then its argument prototype would still apply. */
19609 #ifdef __cplusplus
19610 extern "C"
19611 #endif
19612 char nanosleep ();
19614 main ()
19616 return nanosleep ();
19618 return 0;
19620 _ACEOF
19621 for ac_lib in '' rt posix4; do
19622 if test -z "$ac_lib"; then
19623 ac_res="none required"
19624 else
19625 ac_res=-l$ac_lib
19626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19628 if test x$gcc_no_link = xyes; then
19629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19631 if ac_fn_cxx_try_link "$LINENO"; then :
19632 ac_cv_search_nanosleep=$ac_res
19634 rm -f core conftest.err conftest.$ac_objext \
19635 conftest$ac_exeext
19636 if test "${ac_cv_search_nanosleep+set}" = set; then :
19637 break
19639 done
19640 if test "${ac_cv_search_nanosleep+set}" = set; then :
19642 else
19643 ac_cv_search_nanosleep=no
19645 rm conftest.$ac_ext
19646 LIBS=$ac_func_search_save_LIBS
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19649 $as_echo "$ac_cv_search_nanosleep" >&6; }
19650 ac_res=$ac_cv_search_nanosleep
19651 if test "$ac_res" != no; then :
19652 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19656 else
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19658 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19659 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19660 $as_echo_n "(cached) " >&6
19661 else
19662 ac_func_search_save_LIBS=$LIBS
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19666 /* Override any GCC internal prototype to avoid an error.
19667 Use char because int might match the return type of a GCC
19668 builtin and then its argument prototype would still apply. */
19669 #ifdef __cplusplus
19670 extern "C"
19671 #endif
19672 char clock_gettime ();
19674 main ()
19676 return clock_gettime ();
19678 return 0;
19680 _ACEOF
19681 for ac_lib in '' posix4; do
19682 if test -z "$ac_lib"; then
19683 ac_res="none required"
19684 else
19685 ac_res=-l$ac_lib
19686 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19688 if test x$gcc_no_link = xyes; then
19689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19691 if ac_fn_cxx_try_link "$LINENO"; then :
19692 ac_cv_search_clock_gettime=$ac_res
19694 rm -f core conftest.err conftest.$ac_objext \
19695 conftest$ac_exeext
19696 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19697 break
19699 done
19700 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19702 else
19703 ac_cv_search_clock_gettime=no
19705 rm conftest.$ac_ext
19706 LIBS=$ac_func_search_save_LIBS
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19709 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19710 ac_res=$ac_cv_search_clock_gettime
19711 if test "$ac_res" != no; then :
19712 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19717 $as_echo_n "checking for library containing nanosleep... " >&6; }
19718 if test "${ac_cv_search_nanosleep+set}" = set; then :
19719 $as_echo_n "(cached) " >&6
19720 else
19721 ac_func_search_save_LIBS=$LIBS
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19725 /* Override any GCC internal prototype to avoid an error.
19726 Use char because int might match the return type of a GCC
19727 builtin and then its argument prototype would still apply. */
19728 #ifdef __cplusplus
19729 extern "C"
19730 #endif
19731 char nanosleep ();
19733 main ()
19735 return nanosleep ();
19737 return 0;
19739 _ACEOF
19740 for ac_lib in '' posix4; do
19741 if test -z "$ac_lib"; then
19742 ac_res="none required"
19743 else
19744 ac_res=-l$ac_lib
19745 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19747 if test x$gcc_no_link = xyes; then
19748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19750 if ac_fn_cxx_try_link "$LINENO"; then :
19751 ac_cv_search_nanosleep=$ac_res
19753 rm -f core conftest.err conftest.$ac_objext \
19754 conftest$ac_exeext
19755 if test "${ac_cv_search_nanosleep+set}" = set; then :
19756 break
19758 done
19759 if test "${ac_cv_search_nanosleep+set}" = set; then :
19761 else
19762 ac_cv_search_nanosleep=no
19764 rm conftest.$ac_ext
19765 LIBS=$ac_func_search_save_LIBS
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19768 $as_echo "$ac_cv_search_nanosleep" >&6; }
19769 ac_res=$ac_cv_search_nanosleep
19770 if test "$ac_res" != no; then :
19771 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19777 case "$ac_cv_search_clock_gettime" in
19778 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19780 esac
19781 case "$ac_cv_search_nanosleep" in
19782 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19784 esac
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19787 $as_echo_n "checking for library containing sched_yield... " >&6; }
19788 if test "${ac_cv_search_sched_yield+set}" = set; then :
19789 $as_echo_n "(cached) " >&6
19790 else
19791 ac_func_search_save_LIBS=$LIBS
19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19795 /* Override any GCC internal prototype to avoid an error.
19796 Use char because int might match the return type of a GCC
19797 builtin and then its argument prototype would still apply. */
19798 #ifdef __cplusplus
19799 extern "C"
19800 #endif
19801 char sched_yield ();
19803 main ()
19805 return sched_yield ();
19807 return 0;
19809 _ACEOF
19810 for ac_lib in '' rt posix4; do
19811 if test -z "$ac_lib"; then
19812 ac_res="none required"
19813 else
19814 ac_res=-l$ac_lib
19815 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19817 if test x$gcc_no_link = xyes; then
19818 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19820 if ac_fn_cxx_try_link "$LINENO"; then :
19821 ac_cv_search_sched_yield=$ac_res
19823 rm -f core conftest.err conftest.$ac_objext \
19824 conftest$ac_exeext
19825 if test "${ac_cv_search_sched_yield+set}" = set; then :
19826 break
19828 done
19829 if test "${ac_cv_search_sched_yield+set}" = set; then :
19831 else
19832 ac_cv_search_sched_yield=no
19834 rm conftest.$ac_ext
19835 LIBS=$ac_func_search_save_LIBS
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19838 $as_echo "$ac_cv_search_sched_yield" >&6; }
19839 ac_res=$ac_cv_search_sched_yield
19840 if test "$ac_res" != no; then :
19841 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19846 case "$ac_cv_search_sched_yield" in
19847 -lposix4*)
19848 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19849 ac_has_sched_yield=yes
19851 -lrt*)
19852 if test x"$enable_libstdcxx_time" = x"rt"; then
19853 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19854 ac_has_sched_yield=yes
19858 ac_has_sched_yield=yes
19860 esac
19862 for ac_header in unistd.h
19863 do :
19864 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19865 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19866 cat >>confdefs.h <<_ACEOF
19867 #define HAVE_UNISTD_H 1
19868 _ACEOF
19869 ac_has_unistd_h=yes
19870 else
19871 ac_has_unistd_h=no
19874 done
19877 if test x"$ac_has_unistd_h" = x"yes"; then
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19879 $as_echo_n "checking for monotonic clock... " >&6; }
19880 if test x$gcc_no_link = xyes; then
19881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h. */
19885 #include <unistd.h>
19886 #include <time.h>
19889 main ()
19891 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19892 timespec tp;
19893 #endif
19894 clock_gettime(CLOCK_MONOTONIC, &tp);
19897 return 0;
19899 _ACEOF
19900 if ac_fn_cxx_try_link "$LINENO"; then :
19901 ac_has_clock_monotonic=yes
19902 else
19903 ac_has_clock_monotonic=no
19905 rm -f core conftest.err conftest.$ac_objext \
19906 conftest$ac_exeext conftest.$ac_ext
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19909 $as_echo "$ac_has_clock_monotonic" >&6; }
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19912 $as_echo_n "checking for realtime clock... " >&6; }
19913 if test x$gcc_no_link = xyes; then
19914 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #include <unistd.h>
19919 #include <time.h>
19922 main ()
19924 #if _POSIX_TIMERS > 0
19925 timespec tp;
19926 #endif
19927 clock_gettime(CLOCK_REALTIME, &tp);
19930 return 0;
19932 _ACEOF
19933 if ac_fn_cxx_try_link "$LINENO"; then :
19934 ac_has_clock_realtime=yes
19935 else
19936 ac_has_clock_realtime=no
19938 rm -f core conftest.err conftest.$ac_objext \
19939 conftest$ac_exeext conftest.$ac_ext
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19942 $as_echo "$ac_has_clock_realtime" >&6; }
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19945 $as_echo_n "checking for nanosleep... " >&6; }
19946 if test x$gcc_no_link = xyes; then
19947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19950 /* end confdefs.h. */
19951 #include <unistd.h>
19952 #include <time.h>
19955 main ()
19957 #if _POSIX_TIMERS > 0
19958 timespec tp;
19959 #endif
19960 nanosleep(&tp, 0);
19963 return 0;
19965 _ACEOF
19966 if ac_fn_cxx_try_link "$LINENO"; then :
19967 ac_has_nanosleep=yes
19968 else
19969 ac_has_nanosleep=no
19971 rm -f core conftest.err conftest.$ac_objext \
19972 conftest$ac_exeext conftest.$ac_ext
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19975 $as_echo "$ac_has_nanosleep" >&6; }
19979 if test x"$ac_has_clock_monotonic" != x"yes"; then
19980 case ${target_os} in
19981 linux*)
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19983 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19985 /* end confdefs.h. */
19986 #include <unistd.h>
19987 #include <time.h>
19988 #include <sys/syscall.h>
19991 main ()
19993 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19994 timespec tp;
19995 #endif
19996 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19997 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20000 return 0;
20002 _ACEOF
20003 if ac_fn_cxx_try_compile "$LINENO"; then :
20004 ac_has_clock_monotonic_syscall=yes
20005 else
20006 ac_has_clock_monotonic_syscall=no
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20010 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20011 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20013 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20015 ac_has_clock_monotonic=yes
20016 ac_has_clock_realtime=yes
20017 fi;;
20018 esac
20021 if test x"$ac_has_clock_monotonic" = x"yes"; then
20023 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20027 if test x"$ac_has_clock_realtime" = x"yes"; then
20029 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20033 if test x"$ac_has_sched_yield" = x"yes"; then
20035 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20039 if test x"$ac_has_nanosleep" = x"yes"; then
20041 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20043 else
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20045 $as_echo_n "checking for sleep... " >&6; }
20046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20047 /* end confdefs.h. */
20048 #include <unistd.h>
20050 main ()
20052 sleep(1)
20054 return 0;
20056 _ACEOF
20057 if ac_fn_cxx_try_compile "$LINENO"; then :
20058 ac_has_sleep=yes
20059 else
20060 ac_has_sleep=no
20062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20063 if test x"$ac_has_sleep" = x"yes"; then
20065 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20069 $as_echo "$ac_has_sleep" >&6; }
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20071 $as_echo_n "checking for usleep... " >&6; }
20072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20073 /* end confdefs.h. */
20074 #include <unistd.h>
20076 main ()
20078 sleep(1);
20079 usleep(100);
20081 return 0;
20083 _ACEOF
20084 if ac_fn_cxx_try_compile "$LINENO"; then :
20085 ac_has_usleep=yes
20086 else
20087 ac_has_usleep=no
20089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20090 if test x"$ac_has_usleep" = x"yes"; then
20092 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20096 $as_echo "$ac_has_usleep" >&6; }
20099 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20101 $as_echo_n "checking for Sleep... " >&6; }
20102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20103 /* end confdefs.h. */
20104 #include <windows.h>
20106 main ()
20108 Sleep(1)
20110 return 0;
20112 _ACEOF
20113 if ac_fn_cxx_try_compile "$LINENO"; then :
20114 ac_has_win32_sleep=yes
20115 else
20116 ac_has_win32_sleep=no
20118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20119 if test x"$ac_has_win32_sleep" = x"yes"; then
20121 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20125 $as_echo "$ac_has_win32_sleep" >&6; }
20130 CXXFLAGS="$ac_save_CXXFLAGS"
20131 LIBS="$ac_save_LIBS"
20132 ac_ext=c
20133 ac_cpp='$CPP $CPPFLAGS'
20134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20140 # Check for tmpnam which is obsolescent in POSIX.1-2008
20142 ac_ext=cpp
20143 ac_cpp='$CXXCPP $CPPFLAGS'
20144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20148 ac_save_CXXFLAGS="$CXXFLAGS"
20149 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20151 $as_echo_n "checking for tmpnam... " >&6; }
20152 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20153 $as_echo_n "(cached) " >&6
20154 else
20155 if test x$gcc_no_link = xyes; then
20156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20157 /* end confdefs.h. */
20158 #include <stdio.h>
20160 main ()
20162 char *tmp = tmpnam(NULL);
20164 return 0;
20166 _ACEOF
20167 if ac_fn_cxx_try_compile "$LINENO"; then :
20168 glibcxx_cv_TMPNAM=yes
20169 else
20170 glibcxx_cv_TMPNAM=no
20172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20173 else
20174 if test x$gcc_no_link = xyes; then
20175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20178 /* end confdefs.h. */
20179 #include <stdio.h>
20181 main ()
20183 char *tmp = tmpnam(NULL);
20185 return 0;
20187 _ACEOF
20188 if ac_fn_cxx_try_link "$LINENO"; then :
20189 glibcxx_cv_TMPNAM=yes
20190 else
20191 glibcxx_cv_TMPNAM=no
20193 rm -f core conftest.err conftest.$ac_objext \
20194 conftest$ac_exeext conftest.$ac_ext
20199 if test $glibcxx_cv_TMPNAM = yes; then
20201 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20205 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20206 CXXFLAGS="$ac_save_CXXFLAGS"
20207 ac_ext=c
20208 ac_cpp='$CPP $CPPFLAGS'
20209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20216 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20217 if test "x$ac_cv_header_locale_h" = x""yes; then :
20219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20220 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20221 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20222 $as_echo_n "(cached) " >&6
20223 else
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20226 #include <locale.h>
20228 main ()
20230 return LC_MESSAGES
20232 return 0;
20234 _ACEOF
20235 if ac_fn_c_try_compile "$LINENO"; then :
20236 ac_cv_val_LC_MESSAGES=yes
20237 else
20238 ac_cv_val_LC_MESSAGES=no
20240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20243 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20244 if test $ac_cv_val_LC_MESSAGES = yes; then
20246 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20255 # For hardware_concurrency
20256 for ac_header in sys/sysinfo.h
20257 do :
20258 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20259 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20260 cat >>confdefs.h <<_ACEOF
20261 #define HAVE_SYS_SYSINFO_H 1
20262 _ACEOF
20266 done
20271 ac_ext=cpp
20272 ac_cpp='$CXXCPP $CPPFLAGS'
20273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20277 ac_save_CXXFLAGS="$CXXFLAGS"
20278 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20281 $as_echo_n "checking for get_nprocs... " >&6; }
20282 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20283 $as_echo_n "(cached) " >&6
20284 else
20286 if test x$gcc_no_link = xyes; then
20287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20288 /* end confdefs.h. */
20289 #include <sys/sysinfo.h>
20291 main ()
20293 int n = get_nprocs();
20295 return 0;
20297 _ACEOF
20298 if ac_fn_cxx_try_compile "$LINENO"; then :
20299 glibcxx_cv_GET_NPROCS=yes
20300 else
20301 glibcxx_cv_GET_NPROCS=no
20303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20304 else
20305 if test x$gcc_no_link = xyes; then
20306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20309 /* end confdefs.h. */
20310 #include <sys/sysinfo.h>
20312 main ()
20314 int n = get_nprocs();
20316 return 0;
20318 _ACEOF
20319 if ac_fn_cxx_try_link "$LINENO"; then :
20320 glibcxx_cv_GET_NPROCS=yes
20321 else
20322 glibcxx_cv_GET_NPROCS=no
20324 rm -f core conftest.err conftest.$ac_objext \
20325 conftest$ac_exeext conftest.$ac_ext
20330 if test $glibcxx_cv_GET_NPROCS = yes; then
20332 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20336 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20338 CXXFLAGS="$ac_save_CXXFLAGS"
20339 ac_ext=c
20340 ac_cpp='$CPP $CPPFLAGS'
20341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20346 for ac_header in unistd.h
20347 do :
20348 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20349 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20350 cat >>confdefs.h <<_ACEOF
20351 #define HAVE_UNISTD_H 1
20352 _ACEOF
20356 done
20361 ac_ext=cpp
20362 ac_cpp='$CXXCPP $CPPFLAGS'
20363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20367 ac_save_CXXFLAGS="$CXXFLAGS"
20368 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20371 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20372 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20373 $as_echo_n "(cached) " >&6
20374 else
20376 if test x$gcc_no_link = xyes; then
20377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20378 /* end confdefs.h. */
20379 #include <unistd.h>
20381 main ()
20383 int n = sysconf(_SC_NPROCESSORS_ONLN);
20385 return 0;
20387 _ACEOF
20388 if ac_fn_cxx_try_compile "$LINENO"; then :
20389 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20390 else
20391 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20394 else
20395 if test x$gcc_no_link = xyes; then
20396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20399 /* end confdefs.h. */
20400 #include <unistd.h>
20402 main ()
20404 int n = sysconf(_SC_NPROCESSORS_ONLN);
20406 return 0;
20408 _ACEOF
20409 if ac_fn_cxx_try_link "$LINENO"; then :
20410 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20411 else
20412 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20414 rm -f core conftest.err conftest.$ac_objext \
20415 conftest$ac_exeext conftest.$ac_ext
20420 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20422 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20426 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20428 CXXFLAGS="$ac_save_CXXFLAGS"
20429 ac_ext=c
20430 ac_cpp='$CPP $CPPFLAGS'
20431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20439 ac_ext=cpp
20440 ac_cpp='$CXXCPP $CPPFLAGS'
20441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20445 ac_save_CXXFLAGS="$CXXFLAGS"
20446 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20449 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20450 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20451 $as_echo_n "(cached) " >&6
20452 else
20454 if test x$gcc_no_link = xyes; then
20455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h. */
20457 #include <unistd.h>
20459 main ()
20461 int n = sysconf(_SC_NPROC_ONLN);
20463 return 0;
20465 _ACEOF
20466 if ac_fn_cxx_try_compile "$LINENO"; then :
20467 glibcxx_cv_SC_NPROC_ONLN=yes
20468 else
20469 glibcxx_cv_SC_NPROC_ONLN=no
20471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 else
20473 if test x$gcc_no_link = xyes; then
20474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20477 /* end confdefs.h. */
20478 #include <unistd.h>
20480 main ()
20482 int n = sysconf(_SC_NPROC_ONLN);
20484 return 0;
20486 _ACEOF
20487 if ac_fn_cxx_try_link "$LINENO"; then :
20488 glibcxx_cv_SC_NPROC_ONLN=yes
20489 else
20490 glibcxx_cv_SC_NPROC_ONLN=no
20492 rm -f core conftest.err conftest.$ac_objext \
20493 conftest$ac_exeext conftest.$ac_ext
20498 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20500 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20504 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20506 CXXFLAGS="$ac_save_CXXFLAGS"
20507 ac_ext=c
20508 ac_cpp='$CPP $CPPFLAGS'
20509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20517 ac_ext=cpp
20518 ac_cpp='$CXXCPP $CPPFLAGS'
20519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20523 ac_save_CXXFLAGS="$CXXFLAGS"
20524 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20527 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20528 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20529 $as_echo_n "(cached) " >&6
20530 else
20532 if test x$gcc_no_link = xyes; then
20533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20534 /* end confdefs.h. */
20535 #include <pthread.h>
20537 main ()
20539 int n = pthread_num_processors_np();
20541 return 0;
20543 _ACEOF
20544 if ac_fn_cxx_try_compile "$LINENO"; then :
20545 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20546 else
20547 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20550 else
20551 if test x$gcc_no_link = xyes; then
20552 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20555 /* end confdefs.h. */
20556 #include <pthread.h>
20558 main ()
20560 int n = pthread_num_processors_np();
20562 return 0;
20564 _ACEOF
20565 if ac_fn_cxx_try_link "$LINENO"; then :
20566 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20567 else
20568 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20570 rm -f core conftest.err conftest.$ac_objext \
20571 conftest$ac_exeext conftest.$ac_ext
20576 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20578 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20582 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20584 CXXFLAGS="$ac_save_CXXFLAGS"
20585 ac_ext=c
20586 ac_cpp='$CPP $CPPFLAGS'
20587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20595 ac_ext=cpp
20596 ac_cpp='$CXXCPP $CPPFLAGS'
20597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20601 ac_save_CXXFLAGS="$CXXFLAGS"
20602 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20605 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20606 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20607 $as_echo_n "(cached) " >&6
20608 else
20610 if test x$gcc_no_link = xyes; then
20611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20612 /* end confdefs.h. */
20614 #include <stddef.h>
20615 #include <sys/sysctl.h>
20618 main ()
20621 int count;
20622 size_t size = sizeof(count);
20623 int mib[] = { CTL_HW, HW_NCPU };
20624 sysctl(mib, 2, &count, &size, NULL, 0);
20627 return 0;
20629 _ACEOF
20630 if ac_fn_cxx_try_compile "$LINENO"; then :
20631 glibcxx_cv_SYSCTL_HW_NCPU=yes
20632 else
20633 glibcxx_cv_SYSCTL_HW_NCPU=no
20635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 else
20637 if test x$gcc_no_link = xyes; then
20638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20641 /* end confdefs.h. */
20643 #include <stddef.h>
20644 #include <sys/sysctl.h>
20647 main ()
20650 int count;
20651 size_t size = sizeof(count);
20652 int mib[] = { CTL_HW, HW_NCPU };
20653 sysctl(mib, 2, &count, &size, NULL, 0);
20656 return 0;
20658 _ACEOF
20659 if ac_fn_cxx_try_link "$LINENO"; then :
20660 glibcxx_cv_SYSCTL_HW_NCPU=yes
20661 else
20662 glibcxx_cv_SYSCTL_HW_NCPU=no
20664 rm -f core conftest.err conftest.$ac_objext \
20665 conftest$ac_exeext conftest.$ac_ext
20670 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20672 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20676 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20678 CXXFLAGS="$ac_save_CXXFLAGS"
20679 ac_ext=c
20680 ac_cpp='$CPP $CPPFLAGS'
20681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20688 $as_echo "for suitable sys/sdt.h" >&6; }
20689 # Note that this test has to be run with the C language.
20690 # Otherwise, sdt.h will try to include some headers from
20691 # libstdc++ itself.
20693 ac_ext=c
20694 ac_cpp='$CPP $CPPFLAGS'
20695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20699 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20700 $as_echo_n "(cached) " >&6
20701 else
20703 # Because we have to run the test in C, we use grep rather
20704 # than the compiler to check for the bug. The bug is that
20705 # were strings without trailing whitespace, causing g++
20706 # to look for operator"". The pattern searches for the fixed
20707 # output.
20708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20709 /* end confdefs.h. */
20711 #include <sys/sdt.h>
20712 int f() { STAP_PROBE(hi, bob); }
20714 _ACEOF
20715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20716 $EGREP " \",\" " >/dev/null 2>&1; then :
20717 glibcxx_cv_sys_sdt_h=yes
20718 else
20719 glibcxx_cv_sys_sdt_h=no
20721 rm -f conftest*
20726 ac_ext=c
20727 ac_cpp='$CPP $CPPFLAGS'
20728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20732 if test $glibcxx_cv_sys_sdt_h = yes; then
20734 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20738 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20741 # Check for available headers.
20742 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20743 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20744 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20745 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20746 wchar.h wctype.h
20747 do :
20748 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20749 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20750 eval as_val=\$$as_ac_Header
20751 if test "x$as_val" = x""yes; then :
20752 cat >>confdefs.h <<_ACEOF
20753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20754 _ACEOF
20758 done
20761 # Only do link tests if native. Else, hardcode.
20762 if $GLIBCXX_IS_NATIVE; then
20764 # We can do more elaborate tests that assume a working linker.
20765 CANADIAN=no
20769 # Check whether --with-gnu-ld was given.
20770 if test "${with_gnu_ld+set}" = set; then :
20771 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20772 else
20773 with_gnu_ld=no
20776 ac_prog=ld
20777 if test "$GCC" = yes; then
20778 # Check if gcc -print-prog-name=ld gives a path.
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20780 $as_echo_n "checking for ld used by $CC... " >&6; }
20781 case $host in
20782 *-*-mingw*)
20783 # gcc leaves a trailing carriage return which upsets mingw
20784 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20786 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20787 esac
20788 case $ac_prog in
20789 # Accept absolute paths.
20790 [\\/]* | ?:[\\/]*)
20791 re_direlt='/[^/][^/]*/\.\./'
20792 # Canonicalize the pathname of ld
20793 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20794 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20795 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20796 done
20797 test -z "$LD" && LD="$ac_prog"
20800 # If it fails, then pretend we aren't using GCC.
20801 ac_prog=ld
20804 # If it is relative, then search for the first ld in PATH.
20805 with_gnu_ld=unknown
20807 esac
20808 elif test "$with_gnu_ld" = yes; then
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20810 $as_echo_n "checking for GNU ld... " >&6; }
20811 else
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20813 $as_echo_n "checking for non-GNU ld... " >&6; }
20815 if test "${lt_cv_path_LD+set}" = set; then :
20816 $as_echo_n "(cached) " >&6
20817 else
20818 if test -z "$LD"; then
20819 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20820 for ac_dir in $PATH; do
20821 IFS="$lt_save_ifs"
20822 test -z "$ac_dir" && ac_dir=.
20823 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20824 lt_cv_path_LD="$ac_dir/$ac_prog"
20825 # Check to see if the program is GNU ld. I'd rather use --version,
20826 # but apparently some variants of GNU ld only accept -v.
20827 # Break only if it was the GNU/non-GNU ld that we prefer.
20828 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20829 *GNU* | *'with BFD'*)
20830 test "$with_gnu_ld" != no && break
20833 test "$with_gnu_ld" != yes && break
20835 esac
20837 done
20838 IFS="$lt_save_ifs"
20839 else
20840 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20844 LD="$lt_cv_path_LD"
20845 if test -n "$LD"; then
20846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20847 $as_echo "$LD" >&6; }
20848 else
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20850 $as_echo "no" >&6; }
20852 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20854 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20855 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20856 $as_echo_n "(cached) " >&6
20857 else
20858 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20859 case `$LD -v 2>&1 </dev/null` in
20860 *GNU* | *'with BFD'*)
20861 lt_cv_prog_gnu_ld=yes
20864 lt_cv_prog_gnu_ld=no
20866 esac
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20869 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20870 with_gnu_ld=$lt_cv_prog_gnu_ld
20878 # If we're not using GNU ld, then there's no point in even trying these
20879 # tests. Check for that first. We should have already tested for gld
20880 # by now (in libtool), but require it now just to be safe...
20881 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20882 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20886 # The name set by libtool depends on the version of libtool. Shame on us
20887 # for depending on an impl detail, but c'est la vie. Older versions used
20888 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20889 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20890 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20891 # set (hence we're using an older libtool), then set it.
20892 if test x${with_gnu_ld+set} != xset; then
20893 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20894 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20895 with_gnu_ld=no
20896 else
20897 with_gnu_ld=$ac_cv_prog_gnu_ld
20901 # Start by getting the version number. I think the libtool test already
20902 # does some of this, but throws away the result.
20903 glibcxx_ld_is_gold=no
20904 if test x"$with_gnu_ld" = x"yes"; then
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20906 $as_echo_n "checking for ld version... " >&6; }
20908 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20909 glibcxx_ld_is_gold=yes
20911 ldver=`$LD --version 2>/dev/null |
20912 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'`
20914 glibcxx_gnu_ld_version=`echo $ldver | \
20915 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20917 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20920 # Set --gc-sections.
20921 glibcxx_have_gc_sections=no
20922 if test "$glibcxx_ld_is_gold" = "yes"; then
20923 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20924 glibcxx_have_gc_sections=yes
20926 else
20927 glibcxx_gcsections_min_ld=21602
20928 if test x"$with_gnu_ld" = x"yes" &&
20929 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20930 glibcxx_have_gc_sections=yes
20933 if test "$glibcxx_have_gc_sections" = "yes"; then
20934 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20935 # NB: This flag only works reliably after 2.16.1. Configure tests
20936 # for this are difficult, so hard wire a value that should work.
20938 ac_test_CFLAGS="${CFLAGS+set}"
20939 ac_save_CFLAGS="$CFLAGS"
20940 CFLAGS='-Wl,--gc-sections'
20942 # Check for -Wl,--gc-sections
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20944 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20945 if test x$gcc_no_link = xyes; then
20946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20949 /* end confdefs.h. */
20950 int one(void) { return 1; }
20951 int two(void) { return 2; }
20954 main ()
20956 two();
20958 return 0;
20960 _ACEOF
20961 if ac_fn_c_try_link "$LINENO"; then :
20962 ac_gcsections=yes
20963 else
20964 ac_gcsections=no
20966 rm -f core conftest.err conftest.$ac_objext \
20967 conftest$ac_exeext conftest.$ac_ext
20968 if test "$ac_gcsections" = "yes"; then
20969 rm -f conftest.c
20970 touch conftest.c
20971 if $CC -c conftest.c; then
20972 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20973 grep "Warning: gc-sections option ignored" > /dev/null; then
20974 ac_gcsections=no
20977 rm -f conftest.c conftest.o conftest
20979 if test "$ac_gcsections" = "yes"; then
20980 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20983 $as_echo "$ac_gcsections" >&6; }
20985 if test "$ac_test_CFLAGS" = set; then
20986 CFLAGS="$ac_save_CFLAGS"
20987 else
20988 # this is the suspicious part
20989 CFLAGS=''
20993 # Set -z,relro.
20994 # Note this is only for shared objects.
20995 ac_ld_relro=no
20996 if test x"$with_gnu_ld" = x"yes"; then
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20998 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20999 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21000 if test -n "$cxx_z_relo"; then
21001 OPT_LDFLAGS="-Wl,-z,relro"
21002 ac_ld_relro=yes
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21005 $as_echo "$ac_ld_relro" >&6; }
21008 # Set linker optimization flags.
21009 if test x"$with_gnu_ld" = x"yes"; then
21010 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21017 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21018 ac_save_CXXFLAGS="$CXXFLAGS"
21019 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21022 $as_echo_n "checking for sin in -lm... " >&6; }
21023 if test "${ac_cv_lib_m_sin+set}" = set; then :
21024 $as_echo_n "(cached) " >&6
21025 else
21026 ac_check_lib_save_LIBS=$LIBS
21027 LIBS="-lm $LIBS"
21028 if test x$gcc_no_link = xyes; then
21029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h. */
21034 /* Override any GCC internal prototype to avoid an error.
21035 Use char because int might match the return type of a GCC
21036 builtin and then its argument prototype would still apply. */
21037 #ifdef __cplusplus
21038 extern "C"
21039 #endif
21040 char sin ();
21042 main ()
21044 return sin ();
21046 return 0;
21048 _ACEOF
21049 if ac_fn_c_try_link "$LINENO"; then :
21050 ac_cv_lib_m_sin=yes
21051 else
21052 ac_cv_lib_m_sin=no
21054 rm -f core conftest.err conftest.$ac_objext \
21055 conftest$ac_exeext conftest.$ac_ext
21056 LIBS=$ac_check_lib_save_LIBS
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21059 $as_echo "$ac_cv_lib_m_sin" >&6; }
21060 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21061 libm="-lm"
21064 ac_save_LIBS="$LIBS"
21065 LIBS="$LIBS $libm"
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21070 $as_echo_n "checking for isinf declaration... " >&6; }
21071 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21072 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21073 $as_echo_n "(cached) " >&6
21074 else
21077 ac_ext=cpp
21078 ac_cpp='$CXXCPP $CPPFLAGS'
21079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21084 /* end confdefs.h. */
21085 #include <math.h>
21086 #ifdef HAVE_IEEEFP_H
21087 #include <ieeefp.h>
21088 #endif
21091 main ()
21093 isinf(0);
21095 return 0;
21097 _ACEOF
21098 if ac_fn_cxx_try_compile "$LINENO"; then :
21099 glibcxx_cv_func_isinf_use=yes
21100 else
21101 glibcxx_cv_func_isinf_use=no
21103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21104 ac_ext=c
21105 ac_cpp='$CPP $CPPFLAGS'
21106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21115 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21117 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21118 for ac_func in isinf
21119 do :
21120 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21121 if test "x$ac_cv_func_isinf" = x""yes; then :
21122 cat >>confdefs.h <<_ACEOF
21123 #define HAVE_ISINF 1
21124 _ACEOF
21127 done
21129 else
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21132 $as_echo_n "checking for _isinf declaration... " >&6; }
21133 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21134 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21135 $as_echo_n "(cached) " >&6
21136 else
21139 ac_ext=cpp
21140 ac_cpp='$CXXCPP $CPPFLAGS'
21141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21146 /* end confdefs.h. */
21147 #include <math.h>
21148 #ifdef HAVE_IEEEFP_H
21149 #include <ieeefp.h>
21150 #endif
21153 main ()
21155 _isinf(0);
21157 return 0;
21159 _ACEOF
21160 if ac_fn_cxx_try_compile "$LINENO"; then :
21161 glibcxx_cv_func__isinf_use=yes
21162 else
21163 glibcxx_cv_func__isinf_use=no
21165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21166 ac_ext=c
21167 ac_cpp='$CPP $CPPFLAGS'
21168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21177 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21179 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21180 for ac_func in _isinf
21181 do :
21182 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21183 if test "x$ac_cv_func__isinf" = x""yes; then :
21184 cat >>confdefs.h <<_ACEOF
21185 #define HAVE__ISINF 1
21186 _ACEOF
21189 done
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21199 $as_echo_n "checking for isnan declaration... " >&6; }
21200 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21201 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21202 $as_echo_n "(cached) " >&6
21203 else
21206 ac_ext=cpp
21207 ac_cpp='$CXXCPP $CPPFLAGS'
21208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213 /* end confdefs.h. */
21214 #include <math.h>
21215 #ifdef HAVE_IEEEFP_H
21216 #include <ieeefp.h>
21217 #endif
21220 main ()
21222 isnan(0);
21224 return 0;
21226 _ACEOF
21227 if ac_fn_cxx_try_compile "$LINENO"; then :
21228 glibcxx_cv_func_isnan_use=yes
21229 else
21230 glibcxx_cv_func_isnan_use=no
21232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21233 ac_ext=c
21234 ac_cpp='$CPP $CPPFLAGS'
21235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21244 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21246 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21247 for ac_func in isnan
21248 do :
21249 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21250 if test "x$ac_cv_func_isnan" = x""yes; then :
21251 cat >>confdefs.h <<_ACEOF
21252 #define HAVE_ISNAN 1
21253 _ACEOF
21256 done
21258 else
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21261 $as_echo_n "checking for _isnan declaration... " >&6; }
21262 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21263 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21264 $as_echo_n "(cached) " >&6
21265 else
21268 ac_ext=cpp
21269 ac_cpp='$CXXCPP $CPPFLAGS'
21270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21275 /* end confdefs.h. */
21276 #include <math.h>
21277 #ifdef HAVE_IEEEFP_H
21278 #include <ieeefp.h>
21279 #endif
21282 main ()
21284 _isnan(0);
21286 return 0;
21288 _ACEOF
21289 if ac_fn_cxx_try_compile "$LINENO"; then :
21290 glibcxx_cv_func__isnan_use=yes
21291 else
21292 glibcxx_cv_func__isnan_use=no
21294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21295 ac_ext=c
21296 ac_cpp='$CPP $CPPFLAGS'
21297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21306 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21308 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21309 for ac_func in _isnan
21310 do :
21311 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21312 if test "x$ac_cv_func__isnan" = x""yes; then :
21313 cat >>confdefs.h <<_ACEOF
21314 #define HAVE__ISNAN 1
21315 _ACEOF
21318 done
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21328 $as_echo_n "checking for finite declaration... " >&6; }
21329 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21330 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21331 $as_echo_n "(cached) " >&6
21332 else
21335 ac_ext=cpp
21336 ac_cpp='$CXXCPP $CPPFLAGS'
21337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21342 /* end confdefs.h. */
21343 #include <math.h>
21344 #ifdef HAVE_IEEEFP_H
21345 #include <ieeefp.h>
21346 #endif
21349 main ()
21351 finite(0);
21353 return 0;
21355 _ACEOF
21356 if ac_fn_cxx_try_compile "$LINENO"; then :
21357 glibcxx_cv_func_finite_use=yes
21358 else
21359 glibcxx_cv_func_finite_use=no
21361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21362 ac_ext=c
21363 ac_cpp='$CPP $CPPFLAGS'
21364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21373 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21375 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21376 for ac_func in finite
21377 do :
21378 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21379 if test "x$ac_cv_func_finite" = x""yes; then :
21380 cat >>confdefs.h <<_ACEOF
21381 #define HAVE_FINITE 1
21382 _ACEOF
21385 done
21387 else
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21390 $as_echo_n "checking for _finite declaration... " >&6; }
21391 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21392 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21393 $as_echo_n "(cached) " >&6
21394 else
21397 ac_ext=cpp
21398 ac_cpp='$CXXCPP $CPPFLAGS'
21399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21404 /* end confdefs.h. */
21405 #include <math.h>
21406 #ifdef HAVE_IEEEFP_H
21407 #include <ieeefp.h>
21408 #endif
21411 main ()
21413 _finite(0);
21415 return 0;
21417 _ACEOF
21418 if ac_fn_cxx_try_compile "$LINENO"; then :
21419 glibcxx_cv_func__finite_use=yes
21420 else
21421 glibcxx_cv_func__finite_use=no
21423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21424 ac_ext=c
21425 ac_cpp='$CPP $CPPFLAGS'
21426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21435 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21437 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21438 for ac_func in _finite
21439 do :
21440 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21441 if test "x$ac_cv_func__finite" = x""yes; then :
21442 cat >>confdefs.h <<_ACEOF
21443 #define HAVE__FINITE 1
21444 _ACEOF
21447 done
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21457 $as_echo_n "checking for sincos declaration... " >&6; }
21458 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21459 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21460 $as_echo_n "(cached) " >&6
21461 else
21464 ac_ext=cpp
21465 ac_cpp='$CXXCPP $CPPFLAGS'
21466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21471 /* end confdefs.h. */
21472 #include <math.h>
21474 main ()
21476 sincos(0, 0, 0);
21478 return 0;
21480 _ACEOF
21481 if ac_fn_cxx_try_compile "$LINENO"; then :
21482 glibcxx_cv_func_sincos_use=yes
21483 else
21484 glibcxx_cv_func_sincos_use=no
21486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21487 ac_ext=c
21488 ac_cpp='$CPP $CPPFLAGS'
21489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21498 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21500 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21501 for ac_func in sincos
21502 do :
21503 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21504 if test "x$ac_cv_func_sincos" = x""yes; then :
21505 cat >>confdefs.h <<_ACEOF
21506 #define HAVE_SINCOS 1
21507 _ACEOF
21510 done
21512 else
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21515 $as_echo_n "checking for _sincos declaration... " >&6; }
21516 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21517 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21518 $as_echo_n "(cached) " >&6
21519 else
21522 ac_ext=cpp
21523 ac_cpp='$CXXCPP $CPPFLAGS'
21524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21529 /* end confdefs.h. */
21530 #include <math.h>
21532 main ()
21534 _sincos(0, 0, 0);
21536 return 0;
21538 _ACEOF
21539 if ac_fn_cxx_try_compile "$LINENO"; then :
21540 glibcxx_cv_func__sincos_use=yes
21541 else
21542 glibcxx_cv_func__sincos_use=no
21544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21545 ac_ext=c
21546 ac_cpp='$CPP $CPPFLAGS'
21547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21556 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21558 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21559 for ac_func in _sincos
21560 do :
21561 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21562 if test "x$ac_cv_func__sincos" = x""yes; then :
21563 cat >>confdefs.h <<_ACEOF
21564 #define HAVE__SINCOS 1
21565 _ACEOF
21568 done
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21578 $as_echo_n "checking for fpclass declaration... " >&6; }
21579 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21580 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21581 $as_echo_n "(cached) " >&6
21582 else
21585 ac_ext=cpp
21586 ac_cpp='$CXXCPP $CPPFLAGS'
21587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21592 /* end confdefs.h. */
21593 #include <math.h>
21594 #ifdef HAVE_IEEEFP_H
21595 #include <ieeefp.h>
21596 #endif
21599 main ()
21601 fpclass(0);
21603 return 0;
21605 _ACEOF
21606 if ac_fn_cxx_try_compile "$LINENO"; then :
21607 glibcxx_cv_func_fpclass_use=yes
21608 else
21609 glibcxx_cv_func_fpclass_use=no
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21612 ac_ext=c
21613 ac_cpp='$CPP $CPPFLAGS'
21614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21623 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21625 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21626 for ac_func in fpclass
21627 do :
21628 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21629 if test "x$ac_cv_func_fpclass" = x""yes; then :
21630 cat >>confdefs.h <<_ACEOF
21631 #define HAVE_FPCLASS 1
21632 _ACEOF
21635 done
21637 else
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21640 $as_echo_n "checking for _fpclass declaration... " >&6; }
21641 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21642 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21643 $as_echo_n "(cached) " >&6
21644 else
21647 ac_ext=cpp
21648 ac_cpp='$CXXCPP $CPPFLAGS'
21649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21654 /* end confdefs.h. */
21655 #include <math.h>
21656 #ifdef HAVE_IEEEFP_H
21657 #include <ieeefp.h>
21658 #endif
21661 main ()
21663 _fpclass(0);
21665 return 0;
21667 _ACEOF
21668 if ac_fn_cxx_try_compile "$LINENO"; then :
21669 glibcxx_cv_func__fpclass_use=yes
21670 else
21671 glibcxx_cv_func__fpclass_use=no
21673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21674 ac_ext=c
21675 ac_cpp='$CPP $CPPFLAGS'
21676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21685 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21687 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21688 for ac_func in _fpclass
21689 do :
21690 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21691 if test "x$ac_cv_func__fpclass" = x""yes; then :
21692 cat >>confdefs.h <<_ACEOF
21693 #define HAVE__FPCLASS 1
21694 _ACEOF
21697 done
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21707 $as_echo_n "checking for qfpclass declaration... " >&6; }
21708 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21709 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21710 $as_echo_n "(cached) " >&6
21711 else
21714 ac_ext=cpp
21715 ac_cpp='$CXXCPP $CPPFLAGS'
21716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21721 /* end confdefs.h. */
21722 #include <math.h>
21723 #ifdef HAVE_IEEEFP_H
21724 #include <ieeefp.h>
21725 #endif
21728 main ()
21730 qfpclass(0);
21732 return 0;
21734 _ACEOF
21735 if ac_fn_cxx_try_compile "$LINENO"; then :
21736 glibcxx_cv_func_qfpclass_use=yes
21737 else
21738 glibcxx_cv_func_qfpclass_use=no
21740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21741 ac_ext=c
21742 ac_cpp='$CPP $CPPFLAGS'
21743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21752 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21754 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21755 for ac_func in qfpclass
21756 do :
21757 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21758 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21759 cat >>confdefs.h <<_ACEOF
21760 #define HAVE_QFPCLASS 1
21761 _ACEOF
21764 done
21766 else
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21769 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21770 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21771 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21772 $as_echo_n "(cached) " >&6
21773 else
21776 ac_ext=cpp
21777 ac_cpp='$CXXCPP $CPPFLAGS'
21778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21783 /* end confdefs.h. */
21784 #include <math.h>
21785 #ifdef HAVE_IEEEFP_H
21786 #include <ieeefp.h>
21787 #endif
21790 main ()
21792 _qfpclass(0);
21794 return 0;
21796 _ACEOF
21797 if ac_fn_cxx_try_compile "$LINENO"; then :
21798 glibcxx_cv_func__qfpclass_use=yes
21799 else
21800 glibcxx_cv_func__qfpclass_use=no
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 ac_ext=c
21804 ac_cpp='$CPP $CPPFLAGS'
21805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21814 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21816 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21817 for ac_func in _qfpclass
21818 do :
21819 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21820 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21821 cat >>confdefs.h <<_ACEOF
21822 #define HAVE__QFPCLASS 1
21823 _ACEOF
21826 done
21835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21836 $as_echo_n "checking for hypot declaration... " >&6; }
21837 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21838 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21839 $as_echo_n "(cached) " >&6
21840 else
21843 ac_ext=cpp
21844 ac_cpp='$CXXCPP $CPPFLAGS'
21845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21850 /* end confdefs.h. */
21851 #include <math.h>
21853 main ()
21855 hypot(0, 0);
21857 return 0;
21859 _ACEOF
21860 if ac_fn_cxx_try_compile "$LINENO"; then :
21861 glibcxx_cv_func_hypot_use=yes
21862 else
21863 glibcxx_cv_func_hypot_use=no
21865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21866 ac_ext=c
21867 ac_cpp='$CPP $CPPFLAGS'
21868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21877 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21879 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21880 for ac_func in hypot
21881 do :
21882 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21883 if test "x$ac_cv_func_hypot" = x""yes; then :
21884 cat >>confdefs.h <<_ACEOF
21885 #define HAVE_HYPOT 1
21886 _ACEOF
21889 done
21891 else
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21894 $as_echo_n "checking for _hypot declaration... " >&6; }
21895 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21896 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21897 $as_echo_n "(cached) " >&6
21898 else
21901 ac_ext=cpp
21902 ac_cpp='$CXXCPP $CPPFLAGS'
21903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21908 /* end confdefs.h. */
21909 #include <math.h>
21911 main ()
21913 _hypot(0, 0);
21915 return 0;
21917 _ACEOF
21918 if ac_fn_cxx_try_compile "$LINENO"; then :
21919 glibcxx_cv_func__hypot_use=yes
21920 else
21921 glibcxx_cv_func__hypot_use=no
21923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21924 ac_ext=c
21925 ac_cpp='$CPP $CPPFLAGS'
21926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21935 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21937 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21938 for ac_func in _hypot
21939 do :
21940 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21941 if test "x$ac_cv_func__hypot" = x""yes; then :
21942 cat >>confdefs.h <<_ACEOF
21943 #define HAVE__HYPOT 1
21944 _ACEOF
21947 done
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21957 $as_echo_n "checking for float trig functions... " >&6; }
21958 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21959 $as_echo_n "(cached) " >&6
21960 else
21963 ac_ext=cpp
21964 ac_cpp='$CXXCPP $CPPFLAGS'
21965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h. */
21971 #include <math.h>
21973 main ()
21975 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21977 return 0;
21979 _ACEOF
21980 if ac_fn_cxx_try_compile "$LINENO"; then :
21981 glibcxx_cv_func_float_trig_use=yes
21982 else
21983 glibcxx_cv_func_float_trig_use=no
21985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21986 ac_ext=c
21987 ac_cpp='$CPP $CPPFLAGS'
21988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21995 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21996 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21997 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21998 do :
21999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22001 eval as_val=\$$as_ac_var
22002 if test "x$as_val" = x""yes; then :
22003 cat >>confdefs.h <<_ACEOF
22004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22005 _ACEOF
22008 done
22010 else
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22012 $as_echo_n "checking for _float trig functions... " >&6; }
22013 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22014 $as_echo_n "(cached) " >&6
22015 else
22018 ac_ext=cpp
22019 ac_cpp='$CXXCPP $CPPFLAGS'
22020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22025 /* end confdefs.h. */
22026 #include <math.h>
22028 main ()
22030 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22032 return 0;
22034 _ACEOF
22035 if ac_fn_cxx_try_compile "$LINENO"; then :
22036 glibcxx_cv_func__float_trig_use=yes
22037 else
22038 glibcxx_cv_func__float_trig_use=no
22040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22041 ac_ext=c
22042 ac_cpp='$CPP $CPPFLAGS'
22043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22050 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22051 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22052 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22053 do :
22054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22056 eval as_val=\$$as_ac_var
22057 if test "x$as_val" = x""yes; then :
22058 cat >>confdefs.h <<_ACEOF
22059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22060 _ACEOF
22063 done
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22073 $as_echo_n "checking for float round functions... " >&6; }
22074 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22075 $as_echo_n "(cached) " >&6
22076 else
22079 ac_ext=cpp
22080 ac_cpp='$CXXCPP $CPPFLAGS'
22081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22086 /* end confdefs.h. */
22087 #include <math.h>
22089 main ()
22091 ceilf (0); floorf (0);
22093 return 0;
22095 _ACEOF
22096 if ac_fn_cxx_try_compile "$LINENO"; then :
22097 glibcxx_cv_func_float_round_use=yes
22098 else
22099 glibcxx_cv_func_float_round_use=no
22101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22102 ac_ext=c
22103 ac_cpp='$CPP $CPPFLAGS'
22104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22111 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22112 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22113 for ac_func in ceilf floorf
22114 do :
22115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22117 eval as_val=\$$as_ac_var
22118 if test "x$as_val" = x""yes; then :
22119 cat >>confdefs.h <<_ACEOF
22120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22121 _ACEOF
22124 done
22126 else
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22128 $as_echo_n "checking for _float round functions... " >&6; }
22129 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22130 $as_echo_n "(cached) " >&6
22131 else
22134 ac_ext=cpp
22135 ac_cpp='$CXXCPP $CPPFLAGS'
22136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22141 /* end confdefs.h. */
22142 #include <math.h>
22144 main ()
22146 _ceilf (0); _floorf (0);
22148 return 0;
22150 _ACEOF
22151 if ac_fn_cxx_try_compile "$LINENO"; then :
22152 glibcxx_cv_func__float_round_use=yes
22153 else
22154 glibcxx_cv_func__float_round_use=no
22156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22157 ac_ext=c
22158 ac_cpp='$CPP $CPPFLAGS'
22159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22166 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22167 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22168 for ac_func in _ceilf _floorf
22169 do :
22170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22172 eval as_val=\$$as_ac_var
22173 if test "x$as_val" = x""yes; then :
22174 cat >>confdefs.h <<_ACEOF
22175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22176 _ACEOF
22179 done
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22190 $as_echo_n "checking for expf declaration... " >&6; }
22191 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22192 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22193 $as_echo_n "(cached) " >&6
22194 else
22197 ac_ext=cpp
22198 ac_cpp='$CXXCPP $CPPFLAGS'
22199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22204 /* end confdefs.h. */
22205 #include <math.h>
22206 #ifdef HAVE_IEEEFP_H
22207 #include <ieeefp.h>
22208 #endif
22211 main ()
22213 expf(0);
22215 return 0;
22217 _ACEOF
22218 if ac_fn_cxx_try_compile "$LINENO"; then :
22219 glibcxx_cv_func_expf_use=yes
22220 else
22221 glibcxx_cv_func_expf_use=no
22223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22224 ac_ext=c
22225 ac_cpp='$CPP $CPPFLAGS'
22226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22235 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22237 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22238 for ac_func in expf
22239 do :
22240 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22241 if test "x$ac_cv_func_expf" = x""yes; then :
22242 cat >>confdefs.h <<_ACEOF
22243 #define HAVE_EXPF 1
22244 _ACEOF
22247 done
22249 else
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22252 $as_echo_n "checking for _expf declaration... " >&6; }
22253 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22254 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22255 $as_echo_n "(cached) " >&6
22256 else
22259 ac_ext=cpp
22260 ac_cpp='$CXXCPP $CPPFLAGS'
22261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22266 /* end confdefs.h. */
22267 #include <math.h>
22268 #ifdef HAVE_IEEEFP_H
22269 #include <ieeefp.h>
22270 #endif
22273 main ()
22275 _expf(0);
22277 return 0;
22279 _ACEOF
22280 if ac_fn_cxx_try_compile "$LINENO"; then :
22281 glibcxx_cv_func__expf_use=yes
22282 else
22283 glibcxx_cv_func__expf_use=no
22285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22286 ac_ext=c
22287 ac_cpp='$CPP $CPPFLAGS'
22288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22297 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22299 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22300 for ac_func in _expf
22301 do :
22302 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22303 if test "x$ac_cv_func__expf" = x""yes; then :
22304 cat >>confdefs.h <<_ACEOF
22305 #define HAVE__EXPF 1
22306 _ACEOF
22309 done
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22319 $as_echo_n "checking for isnanf declaration... " >&6; }
22320 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22321 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22322 $as_echo_n "(cached) " >&6
22323 else
22326 ac_ext=cpp
22327 ac_cpp='$CXXCPP $CPPFLAGS'
22328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22333 /* end confdefs.h. */
22334 #include <math.h>
22335 #ifdef HAVE_IEEEFP_H
22336 #include <ieeefp.h>
22337 #endif
22340 main ()
22342 isnanf(0);
22344 return 0;
22346 _ACEOF
22347 if ac_fn_cxx_try_compile "$LINENO"; then :
22348 glibcxx_cv_func_isnanf_use=yes
22349 else
22350 glibcxx_cv_func_isnanf_use=no
22352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353 ac_ext=c
22354 ac_cpp='$CPP $CPPFLAGS'
22355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22364 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22366 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22367 for ac_func in isnanf
22368 do :
22369 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22370 if test "x$ac_cv_func_isnanf" = x""yes; then :
22371 cat >>confdefs.h <<_ACEOF
22372 #define HAVE_ISNANF 1
22373 _ACEOF
22376 done
22378 else
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22381 $as_echo_n "checking for _isnanf declaration... " >&6; }
22382 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22383 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22384 $as_echo_n "(cached) " >&6
22385 else
22388 ac_ext=cpp
22389 ac_cpp='$CXXCPP $CPPFLAGS'
22390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h. */
22396 #include <math.h>
22397 #ifdef HAVE_IEEEFP_H
22398 #include <ieeefp.h>
22399 #endif
22402 main ()
22404 _isnanf(0);
22406 return 0;
22408 _ACEOF
22409 if ac_fn_cxx_try_compile "$LINENO"; then :
22410 glibcxx_cv_func__isnanf_use=yes
22411 else
22412 glibcxx_cv_func__isnanf_use=no
22414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22415 ac_ext=c
22416 ac_cpp='$CPP $CPPFLAGS'
22417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22426 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22428 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22429 for ac_func in _isnanf
22430 do :
22431 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22432 if test "x$ac_cv_func__isnanf" = x""yes; then :
22433 cat >>confdefs.h <<_ACEOF
22434 #define HAVE__ISNANF 1
22435 _ACEOF
22438 done
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22448 $as_echo_n "checking for isinff declaration... " >&6; }
22449 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22450 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22451 $as_echo_n "(cached) " >&6
22452 else
22455 ac_ext=cpp
22456 ac_cpp='$CXXCPP $CPPFLAGS'
22457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22462 /* end confdefs.h. */
22463 #include <math.h>
22464 #ifdef HAVE_IEEEFP_H
22465 #include <ieeefp.h>
22466 #endif
22469 main ()
22471 isinff(0);
22473 return 0;
22475 _ACEOF
22476 if ac_fn_cxx_try_compile "$LINENO"; then :
22477 glibcxx_cv_func_isinff_use=yes
22478 else
22479 glibcxx_cv_func_isinff_use=no
22481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22482 ac_ext=c
22483 ac_cpp='$CPP $CPPFLAGS'
22484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22493 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22495 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22496 for ac_func in isinff
22497 do :
22498 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22499 if test "x$ac_cv_func_isinff" = x""yes; then :
22500 cat >>confdefs.h <<_ACEOF
22501 #define HAVE_ISINFF 1
22502 _ACEOF
22505 done
22507 else
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22510 $as_echo_n "checking for _isinff declaration... " >&6; }
22511 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22512 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22513 $as_echo_n "(cached) " >&6
22514 else
22517 ac_ext=cpp
22518 ac_cpp='$CXXCPP $CPPFLAGS'
22519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22524 /* end confdefs.h. */
22525 #include <math.h>
22526 #ifdef HAVE_IEEEFP_H
22527 #include <ieeefp.h>
22528 #endif
22531 main ()
22533 _isinff(0);
22535 return 0;
22537 _ACEOF
22538 if ac_fn_cxx_try_compile "$LINENO"; then :
22539 glibcxx_cv_func__isinff_use=yes
22540 else
22541 glibcxx_cv_func__isinff_use=no
22543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22544 ac_ext=c
22545 ac_cpp='$CPP $CPPFLAGS'
22546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22555 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22557 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22558 for ac_func in _isinff
22559 do :
22560 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22561 if test "x$ac_cv_func__isinff" = x""yes; then :
22562 cat >>confdefs.h <<_ACEOF
22563 #define HAVE__ISINFF 1
22564 _ACEOF
22567 done
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22577 $as_echo_n "checking for atan2f declaration... " >&6; }
22578 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22579 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22580 $as_echo_n "(cached) " >&6
22581 else
22584 ac_ext=cpp
22585 ac_cpp='$CXXCPP $CPPFLAGS'
22586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22591 /* end confdefs.h. */
22592 #include <math.h>
22594 main ()
22596 atan2f(0, 0);
22598 return 0;
22600 _ACEOF
22601 if ac_fn_cxx_try_compile "$LINENO"; then :
22602 glibcxx_cv_func_atan2f_use=yes
22603 else
22604 glibcxx_cv_func_atan2f_use=no
22606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22607 ac_ext=c
22608 ac_cpp='$CPP $CPPFLAGS'
22609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22618 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22620 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22621 for ac_func in atan2f
22622 do :
22623 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22624 if test "x$ac_cv_func_atan2f" = x""yes; then :
22625 cat >>confdefs.h <<_ACEOF
22626 #define HAVE_ATAN2F 1
22627 _ACEOF
22630 done
22632 else
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22635 $as_echo_n "checking for _atan2f declaration... " >&6; }
22636 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22637 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22638 $as_echo_n "(cached) " >&6
22639 else
22642 ac_ext=cpp
22643 ac_cpp='$CXXCPP $CPPFLAGS'
22644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22649 /* end confdefs.h. */
22650 #include <math.h>
22652 main ()
22654 _atan2f(0, 0);
22656 return 0;
22658 _ACEOF
22659 if ac_fn_cxx_try_compile "$LINENO"; then :
22660 glibcxx_cv_func__atan2f_use=yes
22661 else
22662 glibcxx_cv_func__atan2f_use=no
22664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22665 ac_ext=c
22666 ac_cpp='$CPP $CPPFLAGS'
22667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22676 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22678 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22679 for ac_func in _atan2f
22680 do :
22681 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22682 if test "x$ac_cv_func__atan2f" = x""yes; then :
22683 cat >>confdefs.h <<_ACEOF
22684 #define HAVE__ATAN2F 1
22685 _ACEOF
22688 done
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22698 $as_echo_n "checking for fabsf declaration... " >&6; }
22699 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22700 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22701 $as_echo_n "(cached) " >&6
22702 else
22705 ac_ext=cpp
22706 ac_cpp='$CXXCPP $CPPFLAGS'
22707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h. */
22713 #include <math.h>
22714 #ifdef HAVE_IEEEFP_H
22715 #include <ieeefp.h>
22716 #endif
22719 main ()
22721 fabsf(0);
22723 return 0;
22725 _ACEOF
22726 if ac_fn_cxx_try_compile "$LINENO"; then :
22727 glibcxx_cv_func_fabsf_use=yes
22728 else
22729 glibcxx_cv_func_fabsf_use=no
22731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 ac_ext=c
22733 ac_cpp='$CPP $CPPFLAGS'
22734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22743 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22745 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22746 for ac_func in fabsf
22747 do :
22748 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22749 if test "x$ac_cv_func_fabsf" = x""yes; then :
22750 cat >>confdefs.h <<_ACEOF
22751 #define HAVE_FABSF 1
22752 _ACEOF
22755 done
22757 else
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22760 $as_echo_n "checking for _fabsf declaration... " >&6; }
22761 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22762 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22763 $as_echo_n "(cached) " >&6
22764 else
22767 ac_ext=cpp
22768 ac_cpp='$CXXCPP $CPPFLAGS'
22769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22774 /* end confdefs.h. */
22775 #include <math.h>
22776 #ifdef HAVE_IEEEFP_H
22777 #include <ieeefp.h>
22778 #endif
22781 main ()
22783 _fabsf(0);
22785 return 0;
22787 _ACEOF
22788 if ac_fn_cxx_try_compile "$LINENO"; then :
22789 glibcxx_cv_func__fabsf_use=yes
22790 else
22791 glibcxx_cv_func__fabsf_use=no
22793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22794 ac_ext=c
22795 ac_cpp='$CPP $CPPFLAGS'
22796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22805 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22807 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22808 for ac_func in _fabsf
22809 do :
22810 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22811 if test "x$ac_cv_func__fabsf" = x""yes; then :
22812 cat >>confdefs.h <<_ACEOF
22813 #define HAVE__FABSF 1
22814 _ACEOF
22817 done
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22827 $as_echo_n "checking for fmodf declaration... " >&6; }
22828 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22829 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22830 $as_echo_n "(cached) " >&6
22831 else
22834 ac_ext=cpp
22835 ac_cpp='$CXXCPP $CPPFLAGS'
22836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22841 /* end confdefs.h. */
22842 #include <math.h>
22844 main ()
22846 fmodf(0, 0);
22848 return 0;
22850 _ACEOF
22851 if ac_fn_cxx_try_compile "$LINENO"; then :
22852 glibcxx_cv_func_fmodf_use=yes
22853 else
22854 glibcxx_cv_func_fmodf_use=no
22856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22857 ac_ext=c
22858 ac_cpp='$CPP $CPPFLAGS'
22859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22868 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22870 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22871 for ac_func in fmodf
22872 do :
22873 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22874 if test "x$ac_cv_func_fmodf" = x""yes; then :
22875 cat >>confdefs.h <<_ACEOF
22876 #define HAVE_FMODF 1
22877 _ACEOF
22880 done
22882 else
22884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22885 $as_echo_n "checking for _fmodf declaration... " >&6; }
22886 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22887 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22888 $as_echo_n "(cached) " >&6
22889 else
22892 ac_ext=cpp
22893 ac_cpp='$CXXCPP $CPPFLAGS'
22894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22899 /* end confdefs.h. */
22900 #include <math.h>
22902 main ()
22904 _fmodf(0, 0);
22906 return 0;
22908 _ACEOF
22909 if ac_fn_cxx_try_compile "$LINENO"; then :
22910 glibcxx_cv_func__fmodf_use=yes
22911 else
22912 glibcxx_cv_func__fmodf_use=no
22914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22915 ac_ext=c
22916 ac_cpp='$CPP $CPPFLAGS'
22917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22926 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22928 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22929 for ac_func in _fmodf
22930 do :
22931 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22932 if test "x$ac_cv_func__fmodf" = x""yes; then :
22933 cat >>confdefs.h <<_ACEOF
22934 #define HAVE__FMODF 1
22935 _ACEOF
22938 done
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22948 $as_echo_n "checking for frexpf declaration... " >&6; }
22949 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22950 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22951 $as_echo_n "(cached) " >&6
22952 else
22955 ac_ext=cpp
22956 ac_cpp='$CXXCPP $CPPFLAGS'
22957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22962 /* end confdefs.h. */
22963 #include <math.h>
22965 main ()
22967 frexpf(0, 0);
22969 return 0;
22971 _ACEOF
22972 if ac_fn_cxx_try_compile "$LINENO"; then :
22973 glibcxx_cv_func_frexpf_use=yes
22974 else
22975 glibcxx_cv_func_frexpf_use=no
22977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22978 ac_ext=c
22979 ac_cpp='$CPP $CPPFLAGS'
22980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22989 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22991 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22992 for ac_func in frexpf
22993 do :
22994 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22995 if test "x$ac_cv_func_frexpf" = x""yes; then :
22996 cat >>confdefs.h <<_ACEOF
22997 #define HAVE_FREXPF 1
22998 _ACEOF
23001 done
23003 else
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23006 $as_echo_n "checking for _frexpf declaration... " >&6; }
23007 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23008 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23009 $as_echo_n "(cached) " >&6
23010 else
23013 ac_ext=cpp
23014 ac_cpp='$CXXCPP $CPPFLAGS'
23015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23020 /* end confdefs.h. */
23021 #include <math.h>
23023 main ()
23025 _frexpf(0, 0);
23027 return 0;
23029 _ACEOF
23030 if ac_fn_cxx_try_compile "$LINENO"; then :
23031 glibcxx_cv_func__frexpf_use=yes
23032 else
23033 glibcxx_cv_func__frexpf_use=no
23035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23036 ac_ext=c
23037 ac_cpp='$CPP $CPPFLAGS'
23038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23047 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23049 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23050 for ac_func in _frexpf
23051 do :
23052 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23053 if test "x$ac_cv_func__frexpf" = x""yes; then :
23054 cat >>confdefs.h <<_ACEOF
23055 #define HAVE__FREXPF 1
23056 _ACEOF
23059 done
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23069 $as_echo_n "checking for hypotf declaration... " >&6; }
23070 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23071 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23072 $as_echo_n "(cached) " >&6
23073 else
23076 ac_ext=cpp
23077 ac_cpp='$CXXCPP $CPPFLAGS'
23078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23083 /* end confdefs.h. */
23084 #include <math.h>
23086 main ()
23088 hypotf(0, 0);
23090 return 0;
23092 _ACEOF
23093 if ac_fn_cxx_try_compile "$LINENO"; then :
23094 glibcxx_cv_func_hypotf_use=yes
23095 else
23096 glibcxx_cv_func_hypotf_use=no
23098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23099 ac_ext=c
23100 ac_cpp='$CPP $CPPFLAGS'
23101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23110 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23112 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23113 for ac_func in hypotf
23114 do :
23115 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23116 if test "x$ac_cv_func_hypotf" = x""yes; then :
23117 cat >>confdefs.h <<_ACEOF
23118 #define HAVE_HYPOTF 1
23119 _ACEOF
23122 done
23124 else
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23127 $as_echo_n "checking for _hypotf declaration... " >&6; }
23128 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23129 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23130 $as_echo_n "(cached) " >&6
23131 else
23134 ac_ext=cpp
23135 ac_cpp='$CXXCPP $CPPFLAGS'
23136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23141 /* end confdefs.h. */
23142 #include <math.h>
23144 main ()
23146 _hypotf(0, 0);
23148 return 0;
23150 _ACEOF
23151 if ac_fn_cxx_try_compile "$LINENO"; then :
23152 glibcxx_cv_func__hypotf_use=yes
23153 else
23154 glibcxx_cv_func__hypotf_use=no
23156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23157 ac_ext=c
23158 ac_cpp='$CPP $CPPFLAGS'
23159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23168 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23170 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23171 for ac_func in _hypotf
23172 do :
23173 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23174 if test "x$ac_cv_func__hypotf" = x""yes; then :
23175 cat >>confdefs.h <<_ACEOF
23176 #define HAVE__HYPOTF 1
23177 _ACEOF
23180 done
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23190 $as_echo_n "checking for ldexpf declaration... " >&6; }
23191 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23192 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23193 $as_echo_n "(cached) " >&6
23194 else
23197 ac_ext=cpp
23198 ac_cpp='$CXXCPP $CPPFLAGS'
23199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23204 /* end confdefs.h. */
23205 #include <math.h>
23207 main ()
23209 ldexpf(0, 0);
23211 return 0;
23213 _ACEOF
23214 if ac_fn_cxx_try_compile "$LINENO"; then :
23215 glibcxx_cv_func_ldexpf_use=yes
23216 else
23217 glibcxx_cv_func_ldexpf_use=no
23219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23220 ac_ext=c
23221 ac_cpp='$CPP $CPPFLAGS'
23222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23231 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23233 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23234 for ac_func in ldexpf
23235 do :
23236 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23237 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23238 cat >>confdefs.h <<_ACEOF
23239 #define HAVE_LDEXPF 1
23240 _ACEOF
23243 done
23245 else
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23248 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23249 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23250 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23251 $as_echo_n "(cached) " >&6
23252 else
23255 ac_ext=cpp
23256 ac_cpp='$CXXCPP $CPPFLAGS'
23257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23262 /* end confdefs.h. */
23263 #include <math.h>
23265 main ()
23267 _ldexpf(0, 0);
23269 return 0;
23271 _ACEOF
23272 if ac_fn_cxx_try_compile "$LINENO"; then :
23273 glibcxx_cv_func__ldexpf_use=yes
23274 else
23275 glibcxx_cv_func__ldexpf_use=no
23277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23278 ac_ext=c
23279 ac_cpp='$CPP $CPPFLAGS'
23280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23289 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23291 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23292 for ac_func in _ldexpf
23293 do :
23294 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23295 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23296 cat >>confdefs.h <<_ACEOF
23297 #define HAVE__LDEXPF 1
23298 _ACEOF
23301 done
23310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23311 $as_echo_n "checking for logf declaration... " >&6; }
23312 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23313 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23314 $as_echo_n "(cached) " >&6
23315 else
23318 ac_ext=cpp
23319 ac_cpp='$CXXCPP $CPPFLAGS'
23320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23325 /* end confdefs.h. */
23326 #include <math.h>
23327 #ifdef HAVE_IEEEFP_H
23328 #include <ieeefp.h>
23329 #endif
23332 main ()
23334 logf(0);
23336 return 0;
23338 _ACEOF
23339 if ac_fn_cxx_try_compile "$LINENO"; then :
23340 glibcxx_cv_func_logf_use=yes
23341 else
23342 glibcxx_cv_func_logf_use=no
23344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23345 ac_ext=c
23346 ac_cpp='$CPP $CPPFLAGS'
23347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23356 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23358 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23359 for ac_func in logf
23360 do :
23361 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23362 if test "x$ac_cv_func_logf" = x""yes; then :
23363 cat >>confdefs.h <<_ACEOF
23364 #define HAVE_LOGF 1
23365 _ACEOF
23368 done
23370 else
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23373 $as_echo_n "checking for _logf declaration... " >&6; }
23374 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23375 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23376 $as_echo_n "(cached) " >&6
23377 else
23380 ac_ext=cpp
23381 ac_cpp='$CXXCPP $CPPFLAGS'
23382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23387 /* end confdefs.h. */
23388 #include <math.h>
23389 #ifdef HAVE_IEEEFP_H
23390 #include <ieeefp.h>
23391 #endif
23394 main ()
23396 _logf(0);
23398 return 0;
23400 _ACEOF
23401 if ac_fn_cxx_try_compile "$LINENO"; then :
23402 glibcxx_cv_func__logf_use=yes
23403 else
23404 glibcxx_cv_func__logf_use=no
23406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23407 ac_ext=c
23408 ac_cpp='$CPP $CPPFLAGS'
23409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23418 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23420 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23421 for ac_func in _logf
23422 do :
23423 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23424 if test "x$ac_cv_func__logf" = x""yes; then :
23425 cat >>confdefs.h <<_ACEOF
23426 #define HAVE__LOGF 1
23427 _ACEOF
23430 done
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23440 $as_echo_n "checking for log10f declaration... " >&6; }
23441 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23442 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23443 $as_echo_n "(cached) " >&6
23444 else
23447 ac_ext=cpp
23448 ac_cpp='$CXXCPP $CPPFLAGS'
23449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23454 /* end confdefs.h. */
23455 #include <math.h>
23456 #ifdef HAVE_IEEEFP_H
23457 #include <ieeefp.h>
23458 #endif
23461 main ()
23463 log10f(0);
23465 return 0;
23467 _ACEOF
23468 if ac_fn_cxx_try_compile "$LINENO"; then :
23469 glibcxx_cv_func_log10f_use=yes
23470 else
23471 glibcxx_cv_func_log10f_use=no
23473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23474 ac_ext=c
23475 ac_cpp='$CPP $CPPFLAGS'
23476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23485 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23487 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23488 for ac_func in log10f
23489 do :
23490 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23491 if test "x$ac_cv_func_log10f" = x""yes; then :
23492 cat >>confdefs.h <<_ACEOF
23493 #define HAVE_LOG10F 1
23494 _ACEOF
23497 done
23499 else
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23502 $as_echo_n "checking for _log10f declaration... " >&6; }
23503 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23504 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23505 $as_echo_n "(cached) " >&6
23506 else
23509 ac_ext=cpp
23510 ac_cpp='$CXXCPP $CPPFLAGS'
23511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23516 /* end confdefs.h. */
23517 #include <math.h>
23518 #ifdef HAVE_IEEEFP_H
23519 #include <ieeefp.h>
23520 #endif
23523 main ()
23525 _log10f(0);
23527 return 0;
23529 _ACEOF
23530 if ac_fn_cxx_try_compile "$LINENO"; then :
23531 glibcxx_cv_func__log10f_use=yes
23532 else
23533 glibcxx_cv_func__log10f_use=no
23535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23536 ac_ext=c
23537 ac_cpp='$CPP $CPPFLAGS'
23538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23547 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23549 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23550 for ac_func in _log10f
23551 do :
23552 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23553 if test "x$ac_cv_func__log10f" = x""yes; then :
23554 cat >>confdefs.h <<_ACEOF
23555 #define HAVE__LOG10F 1
23556 _ACEOF
23559 done
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23569 $as_echo_n "checking for modff declaration... " >&6; }
23570 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23571 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23572 $as_echo_n "(cached) " >&6
23573 else
23576 ac_ext=cpp
23577 ac_cpp='$CXXCPP $CPPFLAGS'
23578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23583 /* end confdefs.h. */
23584 #include <math.h>
23586 main ()
23588 modff(0, 0);
23590 return 0;
23592 _ACEOF
23593 if ac_fn_cxx_try_compile "$LINENO"; then :
23594 glibcxx_cv_func_modff_use=yes
23595 else
23596 glibcxx_cv_func_modff_use=no
23598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23599 ac_ext=c
23600 ac_cpp='$CPP $CPPFLAGS'
23601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23610 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23612 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23613 for ac_func in modff
23614 do :
23615 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23616 if test "x$ac_cv_func_modff" = x""yes; then :
23617 cat >>confdefs.h <<_ACEOF
23618 #define HAVE_MODFF 1
23619 _ACEOF
23622 done
23624 else
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23627 $as_echo_n "checking for _modff declaration... " >&6; }
23628 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23629 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23630 $as_echo_n "(cached) " >&6
23631 else
23634 ac_ext=cpp
23635 ac_cpp='$CXXCPP $CPPFLAGS'
23636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23641 /* end confdefs.h. */
23642 #include <math.h>
23644 main ()
23646 _modff(0, 0);
23648 return 0;
23650 _ACEOF
23651 if ac_fn_cxx_try_compile "$LINENO"; then :
23652 glibcxx_cv_func__modff_use=yes
23653 else
23654 glibcxx_cv_func__modff_use=no
23656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23657 ac_ext=c
23658 ac_cpp='$CPP $CPPFLAGS'
23659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23668 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23670 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23671 for ac_func in _modff
23672 do :
23673 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23674 if test "x$ac_cv_func__modff" = x""yes; then :
23675 cat >>confdefs.h <<_ACEOF
23676 #define HAVE__MODFF 1
23677 _ACEOF
23680 done
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23690 $as_echo_n "checking for modf declaration... " >&6; }
23691 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23692 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23693 $as_echo_n "(cached) " >&6
23694 else
23697 ac_ext=cpp
23698 ac_cpp='$CXXCPP $CPPFLAGS'
23699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23704 /* end confdefs.h. */
23705 #include <math.h>
23707 main ()
23709 modf(0, 0);
23711 return 0;
23713 _ACEOF
23714 if ac_fn_cxx_try_compile "$LINENO"; then :
23715 glibcxx_cv_func_modf_use=yes
23716 else
23717 glibcxx_cv_func_modf_use=no
23719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23720 ac_ext=c
23721 ac_cpp='$CPP $CPPFLAGS'
23722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23731 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23733 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23734 for ac_func in modf
23735 do :
23736 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23737 if test "x$ac_cv_func_modf" = x""yes; then :
23738 cat >>confdefs.h <<_ACEOF
23739 #define HAVE_MODF 1
23740 _ACEOF
23743 done
23745 else
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23748 $as_echo_n "checking for _modf declaration... " >&6; }
23749 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23750 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23751 $as_echo_n "(cached) " >&6
23752 else
23755 ac_ext=cpp
23756 ac_cpp='$CXXCPP $CPPFLAGS'
23757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23762 /* end confdefs.h. */
23763 #include <math.h>
23765 main ()
23767 _modf(0, 0);
23769 return 0;
23771 _ACEOF
23772 if ac_fn_cxx_try_compile "$LINENO"; then :
23773 glibcxx_cv_func__modf_use=yes
23774 else
23775 glibcxx_cv_func__modf_use=no
23777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23778 ac_ext=c
23779 ac_cpp='$CPP $CPPFLAGS'
23780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23789 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23791 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23792 for ac_func in _modf
23793 do :
23794 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23795 if test "x$ac_cv_func__modf" = x""yes; then :
23796 cat >>confdefs.h <<_ACEOF
23797 #define HAVE__MODF 1
23798 _ACEOF
23801 done
23810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23811 $as_echo_n "checking for powf declaration... " >&6; }
23812 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23813 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23814 $as_echo_n "(cached) " >&6
23815 else
23818 ac_ext=cpp
23819 ac_cpp='$CXXCPP $CPPFLAGS'
23820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23825 /* end confdefs.h. */
23826 #include <math.h>
23828 main ()
23830 powf(0, 0);
23832 return 0;
23834 _ACEOF
23835 if ac_fn_cxx_try_compile "$LINENO"; then :
23836 glibcxx_cv_func_powf_use=yes
23837 else
23838 glibcxx_cv_func_powf_use=no
23840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23841 ac_ext=c
23842 ac_cpp='$CPP $CPPFLAGS'
23843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23852 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23854 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23855 for ac_func in powf
23856 do :
23857 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23858 if test "x$ac_cv_func_powf" = x""yes; then :
23859 cat >>confdefs.h <<_ACEOF
23860 #define HAVE_POWF 1
23861 _ACEOF
23864 done
23866 else
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23869 $as_echo_n "checking for _powf declaration... " >&6; }
23870 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23871 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23872 $as_echo_n "(cached) " >&6
23873 else
23876 ac_ext=cpp
23877 ac_cpp='$CXXCPP $CPPFLAGS'
23878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h. */
23884 #include <math.h>
23886 main ()
23888 _powf(0, 0);
23890 return 0;
23892 _ACEOF
23893 if ac_fn_cxx_try_compile "$LINENO"; then :
23894 glibcxx_cv_func__powf_use=yes
23895 else
23896 glibcxx_cv_func__powf_use=no
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23899 ac_ext=c
23900 ac_cpp='$CPP $CPPFLAGS'
23901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23910 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23912 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23913 for ac_func in _powf
23914 do :
23915 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23916 if test "x$ac_cv_func__powf" = x""yes; then :
23917 cat >>confdefs.h <<_ACEOF
23918 #define HAVE__POWF 1
23919 _ACEOF
23922 done
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23932 $as_echo_n "checking for sqrtf declaration... " >&6; }
23933 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23934 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23935 $as_echo_n "(cached) " >&6
23936 else
23939 ac_ext=cpp
23940 ac_cpp='$CXXCPP $CPPFLAGS'
23941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23946 /* end confdefs.h. */
23947 #include <math.h>
23948 #ifdef HAVE_IEEEFP_H
23949 #include <ieeefp.h>
23950 #endif
23953 main ()
23955 sqrtf(0);
23957 return 0;
23959 _ACEOF
23960 if ac_fn_cxx_try_compile "$LINENO"; then :
23961 glibcxx_cv_func_sqrtf_use=yes
23962 else
23963 glibcxx_cv_func_sqrtf_use=no
23965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23966 ac_ext=c
23967 ac_cpp='$CPP $CPPFLAGS'
23968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23977 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23979 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23980 for ac_func in sqrtf
23981 do :
23982 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23983 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23984 cat >>confdefs.h <<_ACEOF
23985 #define HAVE_SQRTF 1
23986 _ACEOF
23989 done
23991 else
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23994 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23995 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23996 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23997 $as_echo_n "(cached) " >&6
23998 else
24001 ac_ext=cpp
24002 ac_cpp='$CXXCPP $CPPFLAGS'
24003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24008 /* end confdefs.h. */
24009 #include <math.h>
24010 #ifdef HAVE_IEEEFP_H
24011 #include <ieeefp.h>
24012 #endif
24015 main ()
24017 _sqrtf(0);
24019 return 0;
24021 _ACEOF
24022 if ac_fn_cxx_try_compile "$LINENO"; then :
24023 glibcxx_cv_func__sqrtf_use=yes
24024 else
24025 glibcxx_cv_func__sqrtf_use=no
24027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24028 ac_ext=c
24029 ac_cpp='$CPP $CPPFLAGS'
24030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24039 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24041 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24042 for ac_func in _sqrtf
24043 do :
24044 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24045 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24046 cat >>confdefs.h <<_ACEOF
24047 #define HAVE__SQRTF 1
24048 _ACEOF
24051 done
24060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24061 $as_echo_n "checking for sincosf declaration... " >&6; }
24062 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24063 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24064 $as_echo_n "(cached) " >&6
24065 else
24068 ac_ext=cpp
24069 ac_cpp='$CXXCPP $CPPFLAGS'
24070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24075 /* end confdefs.h. */
24076 #include <math.h>
24078 main ()
24080 sincosf(0, 0, 0);
24082 return 0;
24084 _ACEOF
24085 if ac_fn_cxx_try_compile "$LINENO"; then :
24086 glibcxx_cv_func_sincosf_use=yes
24087 else
24088 glibcxx_cv_func_sincosf_use=no
24090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24091 ac_ext=c
24092 ac_cpp='$CPP $CPPFLAGS'
24093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24102 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24104 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24105 for ac_func in sincosf
24106 do :
24107 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24108 if test "x$ac_cv_func_sincosf" = x""yes; then :
24109 cat >>confdefs.h <<_ACEOF
24110 #define HAVE_SINCOSF 1
24111 _ACEOF
24114 done
24116 else
24118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24119 $as_echo_n "checking for _sincosf declaration... " >&6; }
24120 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24121 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24122 $as_echo_n "(cached) " >&6
24123 else
24126 ac_ext=cpp
24127 ac_cpp='$CXXCPP $CPPFLAGS'
24128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24133 /* end confdefs.h. */
24134 #include <math.h>
24136 main ()
24138 _sincosf(0, 0, 0);
24140 return 0;
24142 _ACEOF
24143 if ac_fn_cxx_try_compile "$LINENO"; then :
24144 glibcxx_cv_func__sincosf_use=yes
24145 else
24146 glibcxx_cv_func__sincosf_use=no
24148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24149 ac_ext=c
24150 ac_cpp='$CPP $CPPFLAGS'
24151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24160 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24162 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24163 for ac_func in _sincosf
24164 do :
24165 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24166 if test "x$ac_cv_func__sincosf" = x""yes; then :
24167 cat >>confdefs.h <<_ACEOF
24168 #define HAVE__SINCOSF 1
24169 _ACEOF
24172 done
24181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24182 $as_echo_n "checking for finitef declaration... " >&6; }
24183 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24184 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24185 $as_echo_n "(cached) " >&6
24186 else
24189 ac_ext=cpp
24190 ac_cpp='$CXXCPP $CPPFLAGS'
24191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24196 /* end confdefs.h. */
24197 #include <math.h>
24198 #ifdef HAVE_IEEEFP_H
24199 #include <ieeefp.h>
24200 #endif
24203 main ()
24205 finitef(0);
24207 return 0;
24209 _ACEOF
24210 if ac_fn_cxx_try_compile "$LINENO"; then :
24211 glibcxx_cv_func_finitef_use=yes
24212 else
24213 glibcxx_cv_func_finitef_use=no
24215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24216 ac_ext=c
24217 ac_cpp='$CPP $CPPFLAGS'
24218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24227 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24229 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24230 for ac_func in finitef
24231 do :
24232 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24233 if test "x$ac_cv_func_finitef" = x""yes; then :
24234 cat >>confdefs.h <<_ACEOF
24235 #define HAVE_FINITEF 1
24236 _ACEOF
24239 done
24241 else
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24244 $as_echo_n "checking for _finitef declaration... " >&6; }
24245 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24246 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24247 $as_echo_n "(cached) " >&6
24248 else
24251 ac_ext=cpp
24252 ac_cpp='$CXXCPP $CPPFLAGS'
24253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24258 /* end confdefs.h. */
24259 #include <math.h>
24260 #ifdef HAVE_IEEEFP_H
24261 #include <ieeefp.h>
24262 #endif
24265 main ()
24267 _finitef(0);
24269 return 0;
24271 _ACEOF
24272 if ac_fn_cxx_try_compile "$LINENO"; then :
24273 glibcxx_cv_func__finitef_use=yes
24274 else
24275 glibcxx_cv_func__finitef_use=no
24277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24278 ac_ext=c
24279 ac_cpp='$CPP $CPPFLAGS'
24280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24289 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24291 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24292 for ac_func in _finitef
24293 do :
24294 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24295 if test "x$ac_cv_func__finitef" = x""yes; then :
24296 cat >>confdefs.h <<_ACEOF
24297 #define HAVE__FINITEF 1
24298 _ACEOF
24301 done
24310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24311 $as_echo_n "checking for long double trig functions... " >&6; }
24312 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24313 $as_echo_n "(cached) " >&6
24314 else
24317 ac_ext=cpp
24318 ac_cpp='$CXXCPP $CPPFLAGS'
24319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24324 /* end confdefs.h. */
24325 #include <math.h>
24327 main ()
24329 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24331 return 0;
24333 _ACEOF
24334 if ac_fn_cxx_try_compile "$LINENO"; then :
24335 glibcxx_cv_func_long_double_trig_use=yes
24336 else
24337 glibcxx_cv_func_long_double_trig_use=no
24339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24340 ac_ext=c
24341 ac_cpp='$CPP $CPPFLAGS'
24342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24349 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24350 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24351 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24352 do :
24353 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24355 eval as_val=\$$as_ac_var
24356 if test "x$as_val" = x""yes; then :
24357 cat >>confdefs.h <<_ACEOF
24358 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24359 _ACEOF
24362 done
24364 else
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24366 $as_echo_n "checking for _long double trig functions... " >&6; }
24367 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24368 $as_echo_n "(cached) " >&6
24369 else
24372 ac_ext=cpp
24373 ac_cpp='$CXXCPP $CPPFLAGS'
24374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24379 /* end confdefs.h. */
24380 #include <math.h>
24382 main ()
24384 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24386 return 0;
24388 _ACEOF
24389 if ac_fn_cxx_try_compile "$LINENO"; then :
24390 glibcxx_cv_func__long_double_trig_use=yes
24391 else
24392 glibcxx_cv_func__long_double_trig_use=no
24394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24395 ac_ext=c
24396 ac_cpp='$CPP $CPPFLAGS'
24397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24404 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24405 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24406 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24407 do :
24408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24410 eval as_val=\$$as_ac_var
24411 if test "x$as_val" = x""yes; then :
24412 cat >>confdefs.h <<_ACEOF
24413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24414 _ACEOF
24417 done
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24427 $as_echo_n "checking for long double round functions... " >&6; }
24428 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24429 $as_echo_n "(cached) " >&6
24430 else
24433 ac_ext=cpp
24434 ac_cpp='$CXXCPP $CPPFLAGS'
24435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24440 /* end confdefs.h. */
24441 #include <math.h>
24443 main ()
24445 ceill (0); floorl (0);
24447 return 0;
24449 _ACEOF
24450 if ac_fn_cxx_try_compile "$LINENO"; then :
24451 glibcxx_cv_func_long_double_round_use=yes
24452 else
24453 glibcxx_cv_func_long_double_round_use=no
24455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24456 ac_ext=c
24457 ac_cpp='$CPP $CPPFLAGS'
24458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24465 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24466 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24467 for ac_func in ceill floorl
24468 do :
24469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24471 eval as_val=\$$as_ac_var
24472 if test "x$as_val" = x""yes; then :
24473 cat >>confdefs.h <<_ACEOF
24474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24475 _ACEOF
24478 done
24480 else
24481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24482 $as_echo_n "checking for _long double round functions... " >&6; }
24483 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24484 $as_echo_n "(cached) " >&6
24485 else
24488 ac_ext=cpp
24489 ac_cpp='$CXXCPP $CPPFLAGS'
24490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24495 /* end confdefs.h. */
24496 #include <math.h>
24498 main ()
24500 _ceill (0); _floorl (0);
24502 return 0;
24504 _ACEOF
24505 if ac_fn_cxx_try_compile "$LINENO"; then :
24506 glibcxx_cv_func__long_double_round_use=yes
24507 else
24508 glibcxx_cv_func__long_double_round_use=no
24510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24511 ac_ext=c
24512 ac_cpp='$CPP $CPPFLAGS'
24513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24520 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24521 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24522 for ac_func in _ceill _floorl
24523 do :
24524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24526 eval as_val=\$$as_ac_var
24527 if test "x$as_val" = x""yes; then :
24528 cat >>confdefs.h <<_ACEOF
24529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24530 _ACEOF
24533 done
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24544 $as_echo_n "checking for isnanl declaration... " >&6; }
24545 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24546 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24547 $as_echo_n "(cached) " >&6
24548 else
24551 ac_ext=cpp
24552 ac_cpp='$CXXCPP $CPPFLAGS'
24553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24558 /* end confdefs.h. */
24559 #include <math.h>
24560 #ifdef HAVE_IEEEFP_H
24561 #include <ieeefp.h>
24562 #endif
24565 main ()
24567 isnanl(0);
24569 return 0;
24571 _ACEOF
24572 if ac_fn_cxx_try_compile "$LINENO"; then :
24573 glibcxx_cv_func_isnanl_use=yes
24574 else
24575 glibcxx_cv_func_isnanl_use=no
24577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24578 ac_ext=c
24579 ac_cpp='$CPP $CPPFLAGS'
24580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24589 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24591 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24592 for ac_func in isnanl
24593 do :
24594 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24595 if test "x$ac_cv_func_isnanl" = x""yes; then :
24596 cat >>confdefs.h <<_ACEOF
24597 #define HAVE_ISNANL 1
24598 _ACEOF
24601 done
24603 else
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24606 $as_echo_n "checking for _isnanl declaration... " >&6; }
24607 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24608 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24609 $as_echo_n "(cached) " >&6
24610 else
24613 ac_ext=cpp
24614 ac_cpp='$CXXCPP $CPPFLAGS'
24615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24620 /* end confdefs.h. */
24621 #include <math.h>
24622 #ifdef HAVE_IEEEFP_H
24623 #include <ieeefp.h>
24624 #endif
24627 main ()
24629 _isnanl(0);
24631 return 0;
24633 _ACEOF
24634 if ac_fn_cxx_try_compile "$LINENO"; then :
24635 glibcxx_cv_func__isnanl_use=yes
24636 else
24637 glibcxx_cv_func__isnanl_use=no
24639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24640 ac_ext=c
24641 ac_cpp='$CPP $CPPFLAGS'
24642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24651 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24653 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24654 for ac_func in _isnanl
24655 do :
24656 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24657 if test "x$ac_cv_func__isnanl" = x""yes; then :
24658 cat >>confdefs.h <<_ACEOF
24659 #define HAVE__ISNANL 1
24660 _ACEOF
24663 done
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24673 $as_echo_n "checking for isinfl declaration... " >&6; }
24674 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24675 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24676 $as_echo_n "(cached) " >&6
24677 else
24680 ac_ext=cpp
24681 ac_cpp='$CXXCPP $CPPFLAGS'
24682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24687 /* end confdefs.h. */
24688 #include <math.h>
24689 #ifdef HAVE_IEEEFP_H
24690 #include <ieeefp.h>
24691 #endif
24694 main ()
24696 isinfl(0);
24698 return 0;
24700 _ACEOF
24701 if ac_fn_cxx_try_compile "$LINENO"; then :
24702 glibcxx_cv_func_isinfl_use=yes
24703 else
24704 glibcxx_cv_func_isinfl_use=no
24706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24707 ac_ext=c
24708 ac_cpp='$CPP $CPPFLAGS'
24709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24718 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24720 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24721 for ac_func in isinfl
24722 do :
24723 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24724 if test "x$ac_cv_func_isinfl" = x""yes; then :
24725 cat >>confdefs.h <<_ACEOF
24726 #define HAVE_ISINFL 1
24727 _ACEOF
24730 done
24732 else
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24735 $as_echo_n "checking for _isinfl declaration... " >&6; }
24736 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24737 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24738 $as_echo_n "(cached) " >&6
24739 else
24742 ac_ext=cpp
24743 ac_cpp='$CXXCPP $CPPFLAGS'
24744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24749 /* end confdefs.h. */
24750 #include <math.h>
24751 #ifdef HAVE_IEEEFP_H
24752 #include <ieeefp.h>
24753 #endif
24756 main ()
24758 _isinfl(0);
24760 return 0;
24762 _ACEOF
24763 if ac_fn_cxx_try_compile "$LINENO"; then :
24764 glibcxx_cv_func__isinfl_use=yes
24765 else
24766 glibcxx_cv_func__isinfl_use=no
24768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24769 ac_ext=c
24770 ac_cpp='$CPP $CPPFLAGS'
24771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24780 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24782 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24783 for ac_func in _isinfl
24784 do :
24785 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24786 if test "x$ac_cv_func__isinfl" = x""yes; then :
24787 cat >>confdefs.h <<_ACEOF
24788 #define HAVE__ISINFL 1
24789 _ACEOF
24792 done
24801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24802 $as_echo_n "checking for atan2l declaration... " >&6; }
24803 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24804 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24805 $as_echo_n "(cached) " >&6
24806 else
24809 ac_ext=cpp
24810 ac_cpp='$CXXCPP $CPPFLAGS'
24811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24816 /* end confdefs.h. */
24817 #include <math.h>
24819 main ()
24821 atan2l(0, 0);
24823 return 0;
24825 _ACEOF
24826 if ac_fn_cxx_try_compile "$LINENO"; then :
24827 glibcxx_cv_func_atan2l_use=yes
24828 else
24829 glibcxx_cv_func_atan2l_use=no
24831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24832 ac_ext=c
24833 ac_cpp='$CPP $CPPFLAGS'
24834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24843 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24845 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24846 for ac_func in atan2l
24847 do :
24848 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24849 if test "x$ac_cv_func_atan2l" = x""yes; then :
24850 cat >>confdefs.h <<_ACEOF
24851 #define HAVE_ATAN2L 1
24852 _ACEOF
24855 done
24857 else
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24860 $as_echo_n "checking for _atan2l declaration... " >&6; }
24861 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24862 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24863 $as_echo_n "(cached) " >&6
24864 else
24867 ac_ext=cpp
24868 ac_cpp='$CXXCPP $CPPFLAGS'
24869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h. */
24875 #include <math.h>
24877 main ()
24879 _atan2l(0, 0);
24881 return 0;
24883 _ACEOF
24884 if ac_fn_cxx_try_compile "$LINENO"; then :
24885 glibcxx_cv_func__atan2l_use=yes
24886 else
24887 glibcxx_cv_func__atan2l_use=no
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24890 ac_ext=c
24891 ac_cpp='$CPP $CPPFLAGS'
24892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24901 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24903 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24904 for ac_func in _atan2l
24905 do :
24906 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24907 if test "x$ac_cv_func__atan2l" = x""yes; then :
24908 cat >>confdefs.h <<_ACEOF
24909 #define HAVE__ATAN2L 1
24910 _ACEOF
24913 done
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24923 $as_echo_n "checking for expl declaration... " >&6; }
24924 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24925 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24926 $as_echo_n "(cached) " >&6
24927 else
24930 ac_ext=cpp
24931 ac_cpp='$CXXCPP $CPPFLAGS'
24932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24937 /* end confdefs.h. */
24938 #include <math.h>
24939 #ifdef HAVE_IEEEFP_H
24940 #include <ieeefp.h>
24941 #endif
24944 main ()
24946 expl(0);
24948 return 0;
24950 _ACEOF
24951 if ac_fn_cxx_try_compile "$LINENO"; then :
24952 glibcxx_cv_func_expl_use=yes
24953 else
24954 glibcxx_cv_func_expl_use=no
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957 ac_ext=c
24958 ac_cpp='$CPP $CPPFLAGS'
24959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24968 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24970 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24971 for ac_func in expl
24972 do :
24973 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24974 if test "x$ac_cv_func_expl" = x""yes; then :
24975 cat >>confdefs.h <<_ACEOF
24976 #define HAVE_EXPL 1
24977 _ACEOF
24980 done
24982 else
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24985 $as_echo_n "checking for _expl declaration... " >&6; }
24986 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24987 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24988 $as_echo_n "(cached) " >&6
24989 else
24992 ac_ext=cpp
24993 ac_cpp='$CXXCPP $CPPFLAGS'
24994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24999 /* end confdefs.h. */
25000 #include <math.h>
25001 #ifdef HAVE_IEEEFP_H
25002 #include <ieeefp.h>
25003 #endif
25006 main ()
25008 _expl(0);
25010 return 0;
25012 _ACEOF
25013 if ac_fn_cxx_try_compile "$LINENO"; then :
25014 glibcxx_cv_func__expl_use=yes
25015 else
25016 glibcxx_cv_func__expl_use=no
25018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25019 ac_ext=c
25020 ac_cpp='$CPP $CPPFLAGS'
25021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25030 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25032 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25033 for ac_func in _expl
25034 do :
25035 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25036 if test "x$ac_cv_func__expl" = x""yes; then :
25037 cat >>confdefs.h <<_ACEOF
25038 #define HAVE__EXPL 1
25039 _ACEOF
25042 done
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25052 $as_echo_n "checking for fabsl declaration... " >&6; }
25053 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25054 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25055 $as_echo_n "(cached) " >&6
25056 else
25059 ac_ext=cpp
25060 ac_cpp='$CXXCPP $CPPFLAGS'
25061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25066 /* end confdefs.h. */
25067 #include <math.h>
25068 #ifdef HAVE_IEEEFP_H
25069 #include <ieeefp.h>
25070 #endif
25073 main ()
25075 fabsl(0);
25077 return 0;
25079 _ACEOF
25080 if ac_fn_cxx_try_compile "$LINENO"; then :
25081 glibcxx_cv_func_fabsl_use=yes
25082 else
25083 glibcxx_cv_func_fabsl_use=no
25085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25086 ac_ext=c
25087 ac_cpp='$CPP $CPPFLAGS'
25088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25097 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25099 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25100 for ac_func in fabsl
25101 do :
25102 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25103 if test "x$ac_cv_func_fabsl" = x""yes; then :
25104 cat >>confdefs.h <<_ACEOF
25105 #define HAVE_FABSL 1
25106 _ACEOF
25109 done
25111 else
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25114 $as_echo_n "checking for _fabsl declaration... " >&6; }
25115 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25116 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25117 $as_echo_n "(cached) " >&6
25118 else
25121 ac_ext=cpp
25122 ac_cpp='$CXXCPP $CPPFLAGS'
25123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25128 /* end confdefs.h. */
25129 #include <math.h>
25130 #ifdef HAVE_IEEEFP_H
25131 #include <ieeefp.h>
25132 #endif
25135 main ()
25137 _fabsl(0);
25139 return 0;
25141 _ACEOF
25142 if ac_fn_cxx_try_compile "$LINENO"; then :
25143 glibcxx_cv_func__fabsl_use=yes
25144 else
25145 glibcxx_cv_func__fabsl_use=no
25147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25148 ac_ext=c
25149 ac_cpp='$CPP $CPPFLAGS'
25150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25159 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25161 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25162 for ac_func in _fabsl
25163 do :
25164 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25165 if test "x$ac_cv_func__fabsl" = x""yes; then :
25166 cat >>confdefs.h <<_ACEOF
25167 #define HAVE__FABSL 1
25168 _ACEOF
25171 done
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25181 $as_echo_n "checking for fmodl declaration... " >&6; }
25182 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25183 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25184 $as_echo_n "(cached) " >&6
25185 else
25188 ac_ext=cpp
25189 ac_cpp='$CXXCPP $CPPFLAGS'
25190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25195 /* end confdefs.h. */
25196 #include <math.h>
25198 main ()
25200 fmodl(0, 0);
25202 return 0;
25204 _ACEOF
25205 if ac_fn_cxx_try_compile "$LINENO"; then :
25206 glibcxx_cv_func_fmodl_use=yes
25207 else
25208 glibcxx_cv_func_fmodl_use=no
25210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25211 ac_ext=c
25212 ac_cpp='$CPP $CPPFLAGS'
25213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25222 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25224 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25225 for ac_func in fmodl
25226 do :
25227 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25228 if test "x$ac_cv_func_fmodl" = x""yes; then :
25229 cat >>confdefs.h <<_ACEOF
25230 #define HAVE_FMODL 1
25231 _ACEOF
25234 done
25236 else
25238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25239 $as_echo_n "checking for _fmodl declaration... " >&6; }
25240 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25241 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25242 $as_echo_n "(cached) " >&6
25243 else
25246 ac_ext=cpp
25247 ac_cpp='$CXXCPP $CPPFLAGS'
25248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25253 /* end confdefs.h. */
25254 #include <math.h>
25256 main ()
25258 _fmodl(0, 0);
25260 return 0;
25262 _ACEOF
25263 if ac_fn_cxx_try_compile "$LINENO"; then :
25264 glibcxx_cv_func__fmodl_use=yes
25265 else
25266 glibcxx_cv_func__fmodl_use=no
25268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25269 ac_ext=c
25270 ac_cpp='$CPP $CPPFLAGS'
25271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25280 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25282 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25283 for ac_func in _fmodl
25284 do :
25285 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25286 if test "x$ac_cv_func__fmodl" = x""yes; then :
25287 cat >>confdefs.h <<_ACEOF
25288 #define HAVE__FMODL 1
25289 _ACEOF
25292 done
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25302 $as_echo_n "checking for frexpl declaration... " >&6; }
25303 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25304 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25305 $as_echo_n "(cached) " >&6
25306 else
25309 ac_ext=cpp
25310 ac_cpp='$CXXCPP $CPPFLAGS'
25311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25316 /* end confdefs.h. */
25317 #include <math.h>
25319 main ()
25321 frexpl(0, 0);
25323 return 0;
25325 _ACEOF
25326 if ac_fn_cxx_try_compile "$LINENO"; then :
25327 glibcxx_cv_func_frexpl_use=yes
25328 else
25329 glibcxx_cv_func_frexpl_use=no
25331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25332 ac_ext=c
25333 ac_cpp='$CPP $CPPFLAGS'
25334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25343 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25345 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25346 for ac_func in frexpl
25347 do :
25348 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25349 if test "x$ac_cv_func_frexpl" = x""yes; then :
25350 cat >>confdefs.h <<_ACEOF
25351 #define HAVE_FREXPL 1
25352 _ACEOF
25355 done
25357 else
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25360 $as_echo_n "checking for _frexpl declaration... " >&6; }
25361 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25362 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25363 $as_echo_n "(cached) " >&6
25364 else
25367 ac_ext=cpp
25368 ac_cpp='$CXXCPP $CPPFLAGS'
25369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25374 /* end confdefs.h. */
25375 #include <math.h>
25377 main ()
25379 _frexpl(0, 0);
25381 return 0;
25383 _ACEOF
25384 if ac_fn_cxx_try_compile "$LINENO"; then :
25385 glibcxx_cv_func__frexpl_use=yes
25386 else
25387 glibcxx_cv_func__frexpl_use=no
25389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25390 ac_ext=c
25391 ac_cpp='$CPP $CPPFLAGS'
25392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25401 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25403 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25404 for ac_func in _frexpl
25405 do :
25406 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25407 if test "x$ac_cv_func__frexpl" = x""yes; then :
25408 cat >>confdefs.h <<_ACEOF
25409 #define HAVE__FREXPL 1
25410 _ACEOF
25413 done
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25423 $as_echo_n "checking for hypotl declaration... " >&6; }
25424 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25425 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25426 $as_echo_n "(cached) " >&6
25427 else
25430 ac_ext=cpp
25431 ac_cpp='$CXXCPP $CPPFLAGS'
25432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25437 /* end confdefs.h. */
25438 #include <math.h>
25440 main ()
25442 hypotl(0, 0);
25444 return 0;
25446 _ACEOF
25447 if ac_fn_cxx_try_compile "$LINENO"; then :
25448 glibcxx_cv_func_hypotl_use=yes
25449 else
25450 glibcxx_cv_func_hypotl_use=no
25452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25453 ac_ext=c
25454 ac_cpp='$CPP $CPPFLAGS'
25455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25464 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25466 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25467 for ac_func in hypotl
25468 do :
25469 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25470 if test "x$ac_cv_func_hypotl" = x""yes; then :
25471 cat >>confdefs.h <<_ACEOF
25472 #define HAVE_HYPOTL 1
25473 _ACEOF
25476 done
25478 else
25480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25481 $as_echo_n "checking for _hypotl declaration... " >&6; }
25482 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25483 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25484 $as_echo_n "(cached) " >&6
25485 else
25488 ac_ext=cpp
25489 ac_cpp='$CXXCPP $CPPFLAGS'
25490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25495 /* end confdefs.h. */
25496 #include <math.h>
25498 main ()
25500 _hypotl(0, 0);
25502 return 0;
25504 _ACEOF
25505 if ac_fn_cxx_try_compile "$LINENO"; then :
25506 glibcxx_cv_func__hypotl_use=yes
25507 else
25508 glibcxx_cv_func__hypotl_use=no
25510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511 ac_ext=c
25512 ac_cpp='$CPP $CPPFLAGS'
25513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25522 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25524 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25525 for ac_func in _hypotl
25526 do :
25527 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25528 if test "x$ac_cv_func__hypotl" = x""yes; then :
25529 cat >>confdefs.h <<_ACEOF
25530 #define HAVE__HYPOTL 1
25531 _ACEOF
25534 done
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25544 $as_echo_n "checking for ldexpl declaration... " >&6; }
25545 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25546 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25547 $as_echo_n "(cached) " >&6
25548 else
25551 ac_ext=cpp
25552 ac_cpp='$CXXCPP $CPPFLAGS'
25553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25558 /* end confdefs.h. */
25559 #include <math.h>
25561 main ()
25563 ldexpl(0, 0);
25565 return 0;
25567 _ACEOF
25568 if ac_fn_cxx_try_compile "$LINENO"; then :
25569 glibcxx_cv_func_ldexpl_use=yes
25570 else
25571 glibcxx_cv_func_ldexpl_use=no
25573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25574 ac_ext=c
25575 ac_cpp='$CPP $CPPFLAGS'
25576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25585 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25587 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25588 for ac_func in ldexpl
25589 do :
25590 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25591 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25592 cat >>confdefs.h <<_ACEOF
25593 #define HAVE_LDEXPL 1
25594 _ACEOF
25597 done
25599 else
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25602 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25603 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25604 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25605 $as_echo_n "(cached) " >&6
25606 else
25609 ac_ext=cpp
25610 ac_cpp='$CXXCPP $CPPFLAGS'
25611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25616 /* end confdefs.h. */
25617 #include <math.h>
25619 main ()
25621 _ldexpl(0, 0);
25623 return 0;
25625 _ACEOF
25626 if ac_fn_cxx_try_compile "$LINENO"; then :
25627 glibcxx_cv_func__ldexpl_use=yes
25628 else
25629 glibcxx_cv_func__ldexpl_use=no
25631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25632 ac_ext=c
25633 ac_cpp='$CPP $CPPFLAGS'
25634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25643 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25645 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25646 for ac_func in _ldexpl
25647 do :
25648 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25649 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25650 cat >>confdefs.h <<_ACEOF
25651 #define HAVE__LDEXPL 1
25652 _ACEOF
25655 done
25664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25665 $as_echo_n "checking for logl declaration... " >&6; }
25666 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25667 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25668 $as_echo_n "(cached) " >&6
25669 else
25672 ac_ext=cpp
25673 ac_cpp='$CXXCPP $CPPFLAGS'
25674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25679 /* end confdefs.h. */
25680 #include <math.h>
25681 #ifdef HAVE_IEEEFP_H
25682 #include <ieeefp.h>
25683 #endif
25686 main ()
25688 logl(0);
25690 return 0;
25692 _ACEOF
25693 if ac_fn_cxx_try_compile "$LINENO"; then :
25694 glibcxx_cv_func_logl_use=yes
25695 else
25696 glibcxx_cv_func_logl_use=no
25698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25699 ac_ext=c
25700 ac_cpp='$CPP $CPPFLAGS'
25701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25710 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25712 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25713 for ac_func in logl
25714 do :
25715 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25716 if test "x$ac_cv_func_logl" = x""yes; then :
25717 cat >>confdefs.h <<_ACEOF
25718 #define HAVE_LOGL 1
25719 _ACEOF
25722 done
25724 else
25726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25727 $as_echo_n "checking for _logl declaration... " >&6; }
25728 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25729 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25730 $as_echo_n "(cached) " >&6
25731 else
25734 ac_ext=cpp
25735 ac_cpp='$CXXCPP $CPPFLAGS'
25736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25741 /* end confdefs.h. */
25742 #include <math.h>
25743 #ifdef HAVE_IEEEFP_H
25744 #include <ieeefp.h>
25745 #endif
25748 main ()
25750 _logl(0);
25752 return 0;
25754 _ACEOF
25755 if ac_fn_cxx_try_compile "$LINENO"; then :
25756 glibcxx_cv_func__logl_use=yes
25757 else
25758 glibcxx_cv_func__logl_use=no
25760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25761 ac_ext=c
25762 ac_cpp='$CPP $CPPFLAGS'
25763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25772 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25774 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25775 for ac_func in _logl
25776 do :
25777 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25778 if test "x$ac_cv_func__logl" = x""yes; then :
25779 cat >>confdefs.h <<_ACEOF
25780 #define HAVE__LOGL 1
25781 _ACEOF
25784 done
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25794 $as_echo_n "checking for log10l declaration... " >&6; }
25795 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25796 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25797 $as_echo_n "(cached) " >&6
25798 else
25801 ac_ext=cpp
25802 ac_cpp='$CXXCPP $CPPFLAGS'
25803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25808 /* end confdefs.h. */
25809 #include <math.h>
25810 #ifdef HAVE_IEEEFP_H
25811 #include <ieeefp.h>
25812 #endif
25815 main ()
25817 log10l(0);
25819 return 0;
25821 _ACEOF
25822 if ac_fn_cxx_try_compile "$LINENO"; then :
25823 glibcxx_cv_func_log10l_use=yes
25824 else
25825 glibcxx_cv_func_log10l_use=no
25827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25828 ac_ext=c
25829 ac_cpp='$CPP $CPPFLAGS'
25830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25839 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25841 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25842 for ac_func in log10l
25843 do :
25844 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25845 if test "x$ac_cv_func_log10l" = x""yes; then :
25846 cat >>confdefs.h <<_ACEOF
25847 #define HAVE_LOG10L 1
25848 _ACEOF
25851 done
25853 else
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25856 $as_echo_n "checking for _log10l declaration... " >&6; }
25857 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25858 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25859 $as_echo_n "(cached) " >&6
25860 else
25863 ac_ext=cpp
25864 ac_cpp='$CXXCPP $CPPFLAGS'
25865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25870 /* end confdefs.h. */
25871 #include <math.h>
25872 #ifdef HAVE_IEEEFP_H
25873 #include <ieeefp.h>
25874 #endif
25877 main ()
25879 _log10l(0);
25881 return 0;
25883 _ACEOF
25884 if ac_fn_cxx_try_compile "$LINENO"; then :
25885 glibcxx_cv_func__log10l_use=yes
25886 else
25887 glibcxx_cv_func__log10l_use=no
25889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25890 ac_ext=c
25891 ac_cpp='$CPP $CPPFLAGS'
25892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25901 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25903 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25904 for ac_func in _log10l
25905 do :
25906 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25907 if test "x$ac_cv_func__log10l" = x""yes; then :
25908 cat >>confdefs.h <<_ACEOF
25909 #define HAVE__LOG10L 1
25910 _ACEOF
25913 done
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25923 $as_echo_n "checking for modfl declaration... " >&6; }
25924 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25925 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25926 $as_echo_n "(cached) " >&6
25927 else
25930 ac_ext=cpp
25931 ac_cpp='$CXXCPP $CPPFLAGS'
25932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25937 /* end confdefs.h. */
25938 #include <math.h>
25940 main ()
25942 modfl(0, 0);
25944 return 0;
25946 _ACEOF
25947 if ac_fn_cxx_try_compile "$LINENO"; then :
25948 glibcxx_cv_func_modfl_use=yes
25949 else
25950 glibcxx_cv_func_modfl_use=no
25952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25953 ac_ext=c
25954 ac_cpp='$CPP $CPPFLAGS'
25955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25964 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25966 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25967 for ac_func in modfl
25968 do :
25969 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25970 if test "x$ac_cv_func_modfl" = x""yes; then :
25971 cat >>confdefs.h <<_ACEOF
25972 #define HAVE_MODFL 1
25973 _ACEOF
25976 done
25978 else
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25981 $as_echo_n "checking for _modfl declaration... " >&6; }
25982 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25983 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25984 $as_echo_n "(cached) " >&6
25985 else
25988 ac_ext=cpp
25989 ac_cpp='$CXXCPP $CPPFLAGS'
25990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25995 /* end confdefs.h. */
25996 #include <math.h>
25998 main ()
26000 _modfl(0, 0);
26002 return 0;
26004 _ACEOF
26005 if ac_fn_cxx_try_compile "$LINENO"; then :
26006 glibcxx_cv_func__modfl_use=yes
26007 else
26008 glibcxx_cv_func__modfl_use=no
26010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26011 ac_ext=c
26012 ac_cpp='$CPP $CPPFLAGS'
26013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26022 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26024 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26025 for ac_func in _modfl
26026 do :
26027 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26028 if test "x$ac_cv_func__modfl" = x""yes; then :
26029 cat >>confdefs.h <<_ACEOF
26030 #define HAVE__MODFL 1
26031 _ACEOF
26034 done
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26044 $as_echo_n "checking for powl declaration... " >&6; }
26045 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26046 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26047 $as_echo_n "(cached) " >&6
26048 else
26051 ac_ext=cpp
26052 ac_cpp='$CXXCPP $CPPFLAGS'
26053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26058 /* end confdefs.h. */
26059 #include <math.h>
26061 main ()
26063 powl(0, 0);
26065 return 0;
26067 _ACEOF
26068 if ac_fn_cxx_try_compile "$LINENO"; then :
26069 glibcxx_cv_func_powl_use=yes
26070 else
26071 glibcxx_cv_func_powl_use=no
26073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26074 ac_ext=c
26075 ac_cpp='$CPP $CPPFLAGS'
26076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26085 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26087 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26088 for ac_func in powl
26089 do :
26090 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26091 if test "x$ac_cv_func_powl" = x""yes; then :
26092 cat >>confdefs.h <<_ACEOF
26093 #define HAVE_POWL 1
26094 _ACEOF
26097 done
26099 else
26101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26102 $as_echo_n "checking for _powl declaration... " >&6; }
26103 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26104 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26105 $as_echo_n "(cached) " >&6
26106 else
26109 ac_ext=cpp
26110 ac_cpp='$CXXCPP $CPPFLAGS'
26111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26116 /* end confdefs.h. */
26117 #include <math.h>
26119 main ()
26121 _powl(0, 0);
26123 return 0;
26125 _ACEOF
26126 if ac_fn_cxx_try_compile "$LINENO"; then :
26127 glibcxx_cv_func__powl_use=yes
26128 else
26129 glibcxx_cv_func__powl_use=no
26131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132 ac_ext=c
26133 ac_cpp='$CPP $CPPFLAGS'
26134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26143 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26145 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26146 for ac_func in _powl
26147 do :
26148 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26149 if test "x$ac_cv_func__powl" = x""yes; then :
26150 cat >>confdefs.h <<_ACEOF
26151 #define HAVE__POWL 1
26152 _ACEOF
26155 done
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26165 $as_echo_n "checking for sqrtl declaration... " >&6; }
26166 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26167 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26168 $as_echo_n "(cached) " >&6
26169 else
26172 ac_ext=cpp
26173 ac_cpp='$CXXCPP $CPPFLAGS'
26174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26179 /* end confdefs.h. */
26180 #include <math.h>
26181 #ifdef HAVE_IEEEFP_H
26182 #include <ieeefp.h>
26183 #endif
26186 main ()
26188 sqrtl(0);
26190 return 0;
26192 _ACEOF
26193 if ac_fn_cxx_try_compile "$LINENO"; then :
26194 glibcxx_cv_func_sqrtl_use=yes
26195 else
26196 glibcxx_cv_func_sqrtl_use=no
26198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26199 ac_ext=c
26200 ac_cpp='$CPP $CPPFLAGS'
26201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26210 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26212 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26213 for ac_func in sqrtl
26214 do :
26215 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26216 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26217 cat >>confdefs.h <<_ACEOF
26218 #define HAVE_SQRTL 1
26219 _ACEOF
26222 done
26224 else
26226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26227 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26228 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26229 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26230 $as_echo_n "(cached) " >&6
26231 else
26234 ac_ext=cpp
26235 ac_cpp='$CXXCPP $CPPFLAGS'
26236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h. */
26242 #include <math.h>
26243 #ifdef HAVE_IEEEFP_H
26244 #include <ieeefp.h>
26245 #endif
26248 main ()
26250 _sqrtl(0);
26252 return 0;
26254 _ACEOF
26255 if ac_fn_cxx_try_compile "$LINENO"; then :
26256 glibcxx_cv_func__sqrtl_use=yes
26257 else
26258 glibcxx_cv_func__sqrtl_use=no
26260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26261 ac_ext=c
26262 ac_cpp='$CPP $CPPFLAGS'
26263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26272 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26274 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26275 for ac_func in _sqrtl
26276 do :
26277 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26278 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26279 cat >>confdefs.h <<_ACEOF
26280 #define HAVE__SQRTL 1
26281 _ACEOF
26284 done
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26294 $as_echo_n "checking for sincosl declaration... " >&6; }
26295 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26296 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26297 $as_echo_n "(cached) " >&6
26298 else
26301 ac_ext=cpp
26302 ac_cpp='$CXXCPP $CPPFLAGS'
26303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26308 /* end confdefs.h. */
26309 #include <math.h>
26311 main ()
26313 sincosl(0, 0, 0);
26315 return 0;
26317 _ACEOF
26318 if ac_fn_cxx_try_compile "$LINENO"; then :
26319 glibcxx_cv_func_sincosl_use=yes
26320 else
26321 glibcxx_cv_func_sincosl_use=no
26323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26324 ac_ext=c
26325 ac_cpp='$CPP $CPPFLAGS'
26326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26335 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26337 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26338 for ac_func in sincosl
26339 do :
26340 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26341 if test "x$ac_cv_func_sincosl" = x""yes; then :
26342 cat >>confdefs.h <<_ACEOF
26343 #define HAVE_SINCOSL 1
26344 _ACEOF
26347 done
26349 else
26351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26352 $as_echo_n "checking for _sincosl declaration... " >&6; }
26353 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26354 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26355 $as_echo_n "(cached) " >&6
26356 else
26359 ac_ext=cpp
26360 ac_cpp='$CXXCPP $CPPFLAGS'
26361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26366 /* end confdefs.h. */
26367 #include <math.h>
26369 main ()
26371 _sincosl(0, 0, 0);
26373 return 0;
26375 _ACEOF
26376 if ac_fn_cxx_try_compile "$LINENO"; then :
26377 glibcxx_cv_func__sincosl_use=yes
26378 else
26379 glibcxx_cv_func__sincosl_use=no
26381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26382 ac_ext=c
26383 ac_cpp='$CPP $CPPFLAGS'
26384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26393 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26395 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26396 for ac_func in _sincosl
26397 do :
26398 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26399 if test "x$ac_cv_func__sincosl" = x""yes; then :
26400 cat >>confdefs.h <<_ACEOF
26401 #define HAVE__SINCOSL 1
26402 _ACEOF
26405 done
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26415 $as_echo_n "checking for finitel declaration... " >&6; }
26416 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26417 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26418 $as_echo_n "(cached) " >&6
26419 else
26422 ac_ext=cpp
26423 ac_cpp='$CXXCPP $CPPFLAGS'
26424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26429 /* end confdefs.h. */
26430 #include <math.h>
26431 #ifdef HAVE_IEEEFP_H
26432 #include <ieeefp.h>
26433 #endif
26436 main ()
26438 finitel(0);
26440 return 0;
26442 _ACEOF
26443 if ac_fn_cxx_try_compile "$LINENO"; then :
26444 glibcxx_cv_func_finitel_use=yes
26445 else
26446 glibcxx_cv_func_finitel_use=no
26448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26449 ac_ext=c
26450 ac_cpp='$CPP $CPPFLAGS'
26451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26460 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26462 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26463 for ac_func in finitel
26464 do :
26465 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26466 if test "x$ac_cv_func_finitel" = x""yes; then :
26467 cat >>confdefs.h <<_ACEOF
26468 #define HAVE_FINITEL 1
26469 _ACEOF
26472 done
26474 else
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26477 $as_echo_n "checking for _finitel declaration... " >&6; }
26478 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26479 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26480 $as_echo_n "(cached) " >&6
26481 else
26484 ac_ext=cpp
26485 ac_cpp='$CXXCPP $CPPFLAGS'
26486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26491 /* end confdefs.h. */
26492 #include <math.h>
26493 #ifdef HAVE_IEEEFP_H
26494 #include <ieeefp.h>
26495 #endif
26498 main ()
26500 _finitel(0);
26502 return 0;
26504 _ACEOF
26505 if ac_fn_cxx_try_compile "$LINENO"; then :
26506 glibcxx_cv_func__finitel_use=yes
26507 else
26508 glibcxx_cv_func__finitel_use=no
26510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26511 ac_ext=c
26512 ac_cpp='$CPP $CPPFLAGS'
26513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26522 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26524 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26525 for ac_func in _finitel
26526 do :
26527 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26528 if test "x$ac_cv_func__finitel" = x""yes; then :
26529 cat >>confdefs.h <<_ACEOF
26530 #define HAVE__FINITEL 1
26531 _ACEOF
26534 done
26542 LIBS="$ac_save_LIBS"
26543 CXXFLAGS="$ac_save_CXXFLAGS"
26546 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26547 ac_save_CXXFLAGS="$CXXFLAGS"
26548 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26552 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26553 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26554 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26555 $as_echo_n "(cached) " >&6
26556 else
26559 ac_ext=cpp
26560 ac_cpp='$CXXCPP $CPPFLAGS'
26561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26566 /* end confdefs.h. */
26567 #include <stdlib.h>
26569 main ()
26571 at_quick_exit(0);
26573 return 0;
26575 _ACEOF
26576 if ac_fn_cxx_try_compile "$LINENO"; then :
26577 glibcxx_cv_func_at_quick_exit_use=yes
26578 else
26579 glibcxx_cv_func_at_quick_exit_use=no
26581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26582 ac_ext=c
26583 ac_cpp='$CPP $CPPFLAGS'
26584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26593 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26594 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26595 for ac_func in at_quick_exit
26596 do :
26597 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26598 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26599 cat >>confdefs.h <<_ACEOF
26600 #define HAVE_AT_QUICK_EXIT 1
26601 _ACEOF
26604 done
26609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26610 $as_echo_n "checking for quick_exit declaration... " >&6; }
26611 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26612 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26613 $as_echo_n "(cached) " >&6
26614 else
26617 ac_ext=cpp
26618 ac_cpp='$CXXCPP $CPPFLAGS'
26619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26624 /* end confdefs.h. */
26625 #include <stdlib.h>
26627 main ()
26629 quick_exit(0);
26631 return 0;
26633 _ACEOF
26634 if ac_fn_cxx_try_compile "$LINENO"; then :
26635 glibcxx_cv_func_quick_exit_use=yes
26636 else
26637 glibcxx_cv_func_quick_exit_use=no
26639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26640 ac_ext=c
26641 ac_cpp='$CPP $CPPFLAGS'
26642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26651 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26652 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26653 for ac_func in quick_exit
26654 do :
26655 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26656 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26657 cat >>confdefs.h <<_ACEOF
26658 #define HAVE_QUICK_EXIT 1
26659 _ACEOF
26662 done
26667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26668 $as_echo_n "checking for strtold declaration... " >&6; }
26669 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26670 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26671 $as_echo_n "(cached) " >&6
26672 else
26675 ac_ext=cpp
26676 ac_cpp='$CXXCPP $CPPFLAGS'
26677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26682 /* end confdefs.h. */
26683 #include <stdlib.h>
26685 main ()
26687 strtold(0, 0);
26689 return 0;
26691 _ACEOF
26692 if ac_fn_cxx_try_compile "$LINENO"; then :
26693 glibcxx_cv_func_strtold_use=yes
26694 else
26695 glibcxx_cv_func_strtold_use=no
26697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26698 ac_ext=c
26699 ac_cpp='$CPP $CPPFLAGS'
26700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26709 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26710 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26711 for ac_func in strtold
26712 do :
26713 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26714 if test "x$ac_cv_func_strtold" = x""yes; then :
26715 cat >>confdefs.h <<_ACEOF
26716 #define HAVE_STRTOLD 1
26717 _ACEOF
26720 done
26727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26728 $as_echo_n "checking for strtof declaration... " >&6; }
26729 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26730 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26731 $as_echo_n "(cached) " >&6
26732 else
26735 ac_ext=cpp
26736 ac_cpp='$CXXCPP $CPPFLAGS'
26737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26742 /* end confdefs.h. */
26743 #include <stdlib.h>
26745 main ()
26747 strtof(0, 0);
26749 return 0;
26751 _ACEOF
26752 if ac_fn_cxx_try_compile "$LINENO"; then :
26753 glibcxx_cv_func_strtof_use=yes
26754 else
26755 glibcxx_cv_func_strtof_use=no
26757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26758 ac_ext=c
26759 ac_cpp='$CPP $CPPFLAGS'
26760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26769 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26770 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26771 for ac_func in strtof
26772 do :
26773 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26774 if test "x$ac_cv_func_strtof" = x""yes; then :
26775 cat >>confdefs.h <<_ACEOF
26776 #define HAVE_STRTOF 1
26777 _ACEOF
26780 done
26787 CXXFLAGS="$ac_save_CXXFLAGS"
26790 # For /dev/random and /dev/urandom for TR1.
26793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26794 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26795 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26796 $as_echo_n "(cached) " >&6
26797 else
26799 if test -r /dev/random && test -r /dev/urandom; then
26800 ## For MSys environment the test above is detect as false-positive
26801 ## on mingw-targets. So disable it explicit for them.
26802 case ${target_os} in
26803 *mingw*) glibcxx_cv_random_tr1=no ;;
26804 *) glibcxx_cv_random_tr1=yes ;;
26805 esac
26806 else
26807 glibcxx_cv_random_tr1=no;
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26813 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26815 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26817 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26823 # For TLS support.
26826 # Check whether --enable-tls was given.
26827 if test "${enable_tls+set}" = set; then :
26828 enableval=$enable_tls;
26829 case "$enableval" in
26830 yes|no) ;;
26831 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26832 esac
26834 else
26835 enable_tls=yes
26839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26840 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26841 if test "${gcc_cv_have_tls+set}" = set; then :
26842 $as_echo_n "(cached) " >&6
26843 else
26845 if test "$cross_compiling" = yes; then :
26846 if test x$gcc_no_link = xyes; then
26847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26850 /* end confdefs.h. */
26851 __thread int a; int b; int main() { return a = b; }
26852 _ACEOF
26853 if ac_fn_c_try_link "$LINENO"; then :
26854 chktls_save_LDFLAGS="$LDFLAGS"
26855 case $host in
26856 *-*-linux*)
26857 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26859 esac
26860 chktls_save_CFLAGS="$CFLAGS"
26861 CFLAGS="-fPIC $CFLAGS"
26862 if test x$gcc_no_link = xyes; then
26863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26866 /* end confdefs.h. */
26867 int f() { return 0; }
26868 _ACEOF
26869 if ac_fn_c_try_link "$LINENO"; then :
26870 if test x$gcc_no_link = xyes; then
26871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26874 /* end confdefs.h. */
26875 __thread int a; int b; int f() { return a = b; }
26876 _ACEOF
26877 if ac_fn_c_try_link "$LINENO"; then :
26878 gcc_cv_have_tls=yes
26879 else
26880 gcc_cv_have_tls=no
26882 rm -f core conftest.err conftest.$ac_objext \
26883 conftest$ac_exeext conftest.$ac_ext
26884 else
26885 gcc_cv_have_tls=yes
26887 rm -f core conftest.err conftest.$ac_objext \
26888 conftest$ac_exeext conftest.$ac_ext
26889 CFLAGS="$chktls_save_CFLAGS"
26890 LDFLAGS="$chktls_save_LDFLAGS"
26891 else
26892 gcc_cv_have_tls=no
26894 rm -f core conftest.err conftest.$ac_objext \
26895 conftest$ac_exeext conftest.$ac_ext
26898 else
26899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26900 /* end confdefs.h. */
26901 __thread int a; int b; int main() { return a = b; }
26902 _ACEOF
26903 if ac_fn_c_try_run "$LINENO"; then :
26904 chktls_save_LDFLAGS="$LDFLAGS"
26905 LDFLAGS="-static $LDFLAGS"
26906 if test x$gcc_no_link = xyes; then
26907 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26910 /* end confdefs.h. */
26911 int main() { return 0; }
26912 _ACEOF
26913 if ac_fn_c_try_link "$LINENO"; then :
26914 if test "$cross_compiling" = yes; then :
26915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26917 as_fn_error "cannot run test program while cross compiling
26918 See \`config.log' for more details." "$LINENO" 5; }
26919 else
26920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26921 /* end confdefs.h. */
26922 __thread int a; int b; int main() { return a = b; }
26923 _ACEOF
26924 if ac_fn_c_try_run "$LINENO"; then :
26925 gcc_cv_have_tls=yes
26926 else
26927 gcc_cv_have_tls=no
26929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26930 conftest.$ac_objext conftest.beam conftest.$ac_ext
26933 else
26934 gcc_cv_have_tls=yes
26936 rm -f core conftest.err conftest.$ac_objext \
26937 conftest$ac_exeext conftest.$ac_ext
26938 LDFLAGS="$chktls_save_LDFLAGS"
26939 if test $gcc_cv_have_tls = yes; then
26940 chktls_save_CFLAGS="$CFLAGS"
26941 thread_CFLAGS=failed
26942 for flag in '' '-pthread' '-lpthread'; do
26943 CFLAGS="$flag $chktls_save_CFLAGS"
26944 if test x$gcc_no_link = xyes; then
26945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26948 /* end confdefs.h. */
26949 #include <pthread.h>
26950 void *g(void *d) { return NULL; }
26952 main ()
26954 pthread_t t; pthread_create(&t,NULL,g,NULL);
26956 return 0;
26958 _ACEOF
26959 if ac_fn_c_try_link "$LINENO"; then :
26960 thread_CFLAGS="$flag"
26962 rm -f core conftest.err conftest.$ac_objext \
26963 conftest$ac_exeext conftest.$ac_ext
26964 if test "X$thread_CFLAGS" != Xfailed; then
26965 break
26967 done
26968 CFLAGS="$chktls_save_CFLAGS"
26969 if test "X$thread_CFLAGS" != Xfailed; then
26970 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26971 if test "$cross_compiling" = yes; then :
26972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26974 as_fn_error "cannot run test program while cross compiling
26975 See \`config.log' for more details." "$LINENO" 5; }
26976 else
26977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26978 /* end confdefs.h. */
26979 #include <pthread.h>
26980 __thread int a;
26981 static int *volatile a_in_other_thread;
26982 static void *
26983 thread_func (void *arg)
26985 a_in_other_thread = &a;
26986 return (void *)0;
26989 main ()
26991 pthread_t thread;
26992 void *thread_retval;
26993 int *volatile a_in_main_thread;
26994 a_in_main_thread = &a;
26995 if (pthread_create (&thread, (pthread_attr_t *)0,
26996 thread_func, (void *)0))
26997 return 0;
26998 if (pthread_join (thread, &thread_retval))
26999 return 0;
27000 return (a_in_other_thread == a_in_main_thread);
27002 return 0;
27004 _ACEOF
27005 if ac_fn_c_try_run "$LINENO"; then :
27006 gcc_cv_have_tls=yes
27007 else
27008 gcc_cv_have_tls=no
27010 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27011 conftest.$ac_objext conftest.beam conftest.$ac_ext
27014 CFLAGS="$chktls_save_CFLAGS"
27017 else
27018 gcc_cv_have_tls=no
27020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27021 conftest.$ac_objext conftest.beam conftest.$ac_ext
27025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27026 $as_echo "$gcc_cv_have_tls" >&6; }
27027 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27029 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27033 for ac_func in __cxa_thread_atexit_impl
27034 do :
27035 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27036 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27037 cat >>confdefs.h <<_ACEOF
27038 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27039 _ACEOF
27042 done
27045 # For iconv support.
27047 if test "X$prefix" = "XNONE"; then
27048 acl_final_prefix="$ac_default_prefix"
27049 else
27050 acl_final_prefix="$prefix"
27052 if test "X$exec_prefix" = "XNONE"; then
27053 acl_final_exec_prefix='${prefix}'
27054 else
27055 acl_final_exec_prefix="$exec_prefix"
27057 acl_save_prefix="$prefix"
27058 prefix="$acl_final_prefix"
27059 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27060 prefix="$acl_save_prefix"
27063 # Check whether --with-gnu-ld was given.
27064 if test "${with_gnu_ld+set}" = set; then :
27065 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27066 else
27067 with_gnu_ld=no
27070 # Prepare PATH_SEPARATOR.
27071 # The user is always right.
27072 if test "${PATH_SEPARATOR+set}" != set; then
27073 echo "#! /bin/sh" >conf$$.sh
27074 echo "exit 0" >>conf$$.sh
27075 chmod +x conf$$.sh
27076 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27077 PATH_SEPARATOR=';'
27078 else
27079 PATH_SEPARATOR=:
27081 rm -f conf$$.sh
27083 ac_prog=ld
27084 if test "$GCC" = yes; then
27085 # Check if gcc -print-prog-name=ld gives a path.
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27087 $as_echo_n "checking for ld used by GCC... " >&6; }
27088 case $host in
27089 *-*-mingw*)
27090 # gcc leaves a trailing carriage return which upsets mingw
27091 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27093 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27094 esac
27095 case $ac_prog in
27096 # Accept absolute paths.
27097 [\\/]* | [A-Za-z]:[\\/]*)
27098 re_direlt='/[^/][^/]*/\.\./'
27099 # Canonicalize the path of ld
27100 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27101 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27102 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27103 done
27104 test -z "$LD" && LD="$ac_prog"
27107 # If it fails, then pretend we aren't using GCC.
27108 ac_prog=ld
27111 # If it is relative, then search for the first ld in PATH.
27112 with_gnu_ld=unknown
27114 esac
27115 elif test "$with_gnu_ld" = yes; then
27116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27117 $as_echo_n "checking for GNU ld... " >&6; }
27118 else
27119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27120 $as_echo_n "checking for non-GNU ld... " >&6; }
27122 if test "${acl_cv_path_LD+set}" = set; then :
27123 $as_echo_n "(cached) " >&6
27124 else
27125 if test -z "$LD"; then
27126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27127 for ac_dir in $PATH; do
27128 test -z "$ac_dir" && ac_dir=.
27129 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27130 acl_cv_path_LD="$ac_dir/$ac_prog"
27131 # Check to see if the program is GNU ld. I'd rather use --version,
27132 # but apparently some GNU ld's only accept -v.
27133 # Break only if it was the GNU/non-GNU ld that we prefer.
27134 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27135 test "$with_gnu_ld" != no && break
27136 else
27137 test "$with_gnu_ld" != yes && break
27140 done
27141 IFS="$ac_save_ifs"
27142 else
27143 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27147 LD="$acl_cv_path_LD"
27148 if test -n "$LD"; then
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27150 $as_echo "$LD" >&6; }
27151 else
27152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27153 $as_echo "no" >&6; }
27155 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27157 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27158 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27159 $as_echo_n "(cached) " >&6
27160 else
27161 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27162 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27163 acl_cv_prog_gnu_ld=yes
27164 else
27165 acl_cv_prog_gnu_ld=no
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27169 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27170 with_gnu_ld=$acl_cv_prog_gnu_ld
27174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27175 $as_echo_n "checking for shared library run path origin... " >&6; }
27176 if test "${acl_cv_rpath+set}" = set; then :
27177 $as_echo_n "(cached) " >&6
27178 else
27180 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27181 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27182 . ./conftest.sh
27183 rm -f ./conftest.sh
27184 acl_cv_rpath=done
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27188 $as_echo "$acl_cv_rpath" >&6; }
27189 wl="$acl_cv_wl"
27190 libext="$acl_cv_libext"
27191 shlibext="$acl_cv_shlibext"
27192 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27193 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27194 hardcode_direct="$acl_cv_hardcode_direct"
27195 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27196 # Check whether --enable-rpath was given.
27197 if test "${enable_rpath+set}" = set; then :
27198 enableval=$enable_rpath; :
27199 else
27200 enable_rpath=yes
27210 use_additional=yes
27212 acl_save_prefix="$prefix"
27213 prefix="$acl_final_prefix"
27214 acl_save_exec_prefix="$exec_prefix"
27215 exec_prefix="$acl_final_exec_prefix"
27217 eval additional_includedir=\"$includedir\"
27218 eval additional_libdir=\"$libdir\"
27220 exec_prefix="$acl_save_exec_prefix"
27221 prefix="$acl_save_prefix"
27224 # Check whether --with-libiconv-prefix was given.
27225 if test "${with_libiconv_prefix+set}" = set; then :
27226 withval=$with_libiconv_prefix;
27227 if test "X$withval" = "Xno"; then
27228 use_additional=no
27229 else
27230 if test "X$withval" = "X"; then
27232 acl_save_prefix="$prefix"
27233 prefix="$acl_final_prefix"
27234 acl_save_exec_prefix="$exec_prefix"
27235 exec_prefix="$acl_final_exec_prefix"
27237 eval additional_includedir=\"$includedir\"
27238 eval additional_libdir=\"$libdir\"
27240 exec_prefix="$acl_save_exec_prefix"
27241 prefix="$acl_save_prefix"
27243 else
27244 additional_includedir="$withval/include"
27245 additional_libdir="$withval/lib"
27251 LIBICONV=
27252 LTLIBICONV=
27253 INCICONV=
27254 rpathdirs=
27255 ltrpathdirs=
27256 names_already_handled=
27257 names_next_round='iconv '
27258 while test -n "$names_next_round"; do
27259 names_this_round="$names_next_round"
27260 names_next_round=
27261 for name in $names_this_round; do
27262 already_handled=
27263 for n in $names_already_handled; do
27264 if test "$n" = "$name"; then
27265 already_handled=yes
27266 break
27268 done
27269 if test -z "$already_handled"; then
27270 names_already_handled="$names_already_handled $name"
27271 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27272 eval value=\"\$HAVE_LIB$uppername\"
27273 if test -n "$value"; then
27274 if test "$value" = yes; then
27275 eval value=\"\$LIB$uppername\"
27276 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27277 eval value=\"\$LTLIB$uppername\"
27278 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27279 else
27282 else
27283 found_dir=
27284 found_la=
27285 found_so=
27286 found_a=
27287 if test $use_additional = yes; then
27288 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27289 found_dir="$additional_libdir"
27290 found_so="$additional_libdir/lib$name.$shlibext"
27291 if test -f "$additional_libdir/lib$name.la"; then
27292 found_la="$additional_libdir/lib$name.la"
27294 else
27295 if test -f "$additional_libdir/lib$name.$libext"; then
27296 found_dir="$additional_libdir"
27297 found_a="$additional_libdir/lib$name.$libext"
27298 if test -f "$additional_libdir/lib$name.la"; then
27299 found_la="$additional_libdir/lib$name.la"
27304 if test "X$found_dir" = "X"; then
27305 for x in $LDFLAGS $LTLIBICONV; do
27307 acl_save_prefix="$prefix"
27308 prefix="$acl_final_prefix"
27309 acl_save_exec_prefix="$exec_prefix"
27310 exec_prefix="$acl_final_exec_prefix"
27311 eval x=\"$x\"
27312 exec_prefix="$acl_save_exec_prefix"
27313 prefix="$acl_save_prefix"
27315 case "$x" in
27316 -L*)
27317 dir=`echo "X$x" | sed -e 's/^X-L//'`
27318 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27319 found_dir="$dir"
27320 found_so="$dir/lib$name.$shlibext"
27321 if test -f "$dir/lib$name.la"; then
27322 found_la="$dir/lib$name.la"
27324 else
27325 if test -f "$dir/lib$name.$libext"; then
27326 found_dir="$dir"
27327 found_a="$dir/lib$name.$libext"
27328 if test -f "$dir/lib$name.la"; then
27329 found_la="$dir/lib$name.la"
27334 esac
27335 if test "X$found_dir" != "X"; then
27336 break
27338 done
27340 if test "X$found_dir" != "X"; then
27341 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27342 if test "X$found_so" != "X"; then
27343 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27344 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27345 else
27346 haveit=
27347 for x in $ltrpathdirs; do
27348 if test "X$x" = "X$found_dir"; then
27349 haveit=yes
27350 break
27352 done
27353 if test -z "$haveit"; then
27354 ltrpathdirs="$ltrpathdirs $found_dir"
27356 if test "$hardcode_direct" = yes; then
27357 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27358 else
27359 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27360 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27361 haveit=
27362 for x in $rpathdirs; do
27363 if test "X$x" = "X$found_dir"; then
27364 haveit=yes
27365 break
27367 done
27368 if test -z "$haveit"; then
27369 rpathdirs="$rpathdirs $found_dir"
27371 else
27372 haveit=
27373 for x in $LDFLAGS $LIBICONV; do
27375 acl_save_prefix="$prefix"
27376 prefix="$acl_final_prefix"
27377 acl_save_exec_prefix="$exec_prefix"
27378 exec_prefix="$acl_final_exec_prefix"
27379 eval x=\"$x\"
27380 exec_prefix="$acl_save_exec_prefix"
27381 prefix="$acl_save_prefix"
27383 if test "X$x" = "X-L$found_dir"; then
27384 haveit=yes
27385 break
27387 done
27388 if test -z "$haveit"; then
27389 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27391 if test "$hardcode_minus_L" != no; then
27392 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27393 else
27394 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27399 else
27400 if test "X$found_a" != "X"; then
27401 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27402 else
27403 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27406 additional_includedir=
27407 case "$found_dir" in
27408 */lib | */lib/)
27409 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27410 additional_includedir="$basedir/include"
27412 esac
27413 if test "X$additional_includedir" != "X"; then
27414 if test "X$additional_includedir" != "X/usr/include"; then
27415 haveit=
27416 if test "X$additional_includedir" = "X/usr/local/include"; then
27417 if test -n "$GCC"; then
27418 case $host_os in
27419 linux*) haveit=yes;;
27420 esac
27423 if test -z "$haveit"; then
27424 for x in $CPPFLAGS $INCICONV; do
27426 acl_save_prefix="$prefix"
27427 prefix="$acl_final_prefix"
27428 acl_save_exec_prefix="$exec_prefix"
27429 exec_prefix="$acl_final_exec_prefix"
27430 eval x=\"$x\"
27431 exec_prefix="$acl_save_exec_prefix"
27432 prefix="$acl_save_prefix"
27434 if test "X$x" = "X-I$additional_includedir"; then
27435 haveit=yes
27436 break
27438 done
27439 if test -z "$haveit"; then
27440 if test -d "$additional_includedir"; then
27441 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27447 if test -n "$found_la"; then
27448 save_libdir="$libdir"
27449 case "$found_la" in
27450 */* | *\\*) . "$found_la" ;;
27451 *) . "./$found_la" ;;
27452 esac
27453 libdir="$save_libdir"
27454 for dep in $dependency_libs; do
27455 case "$dep" in
27456 -L*)
27457 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27458 if test "X$additional_libdir" != "X/usr/lib"; then
27459 haveit=
27460 if test "X$additional_libdir" = "X/usr/local/lib"; then
27461 if test -n "$GCC"; then
27462 case $host_os in
27463 linux*) haveit=yes;;
27464 esac
27467 if test -z "$haveit"; then
27468 haveit=
27469 for x in $LDFLAGS $LIBICONV; do
27471 acl_save_prefix="$prefix"
27472 prefix="$acl_final_prefix"
27473 acl_save_exec_prefix="$exec_prefix"
27474 exec_prefix="$acl_final_exec_prefix"
27475 eval x=\"$x\"
27476 exec_prefix="$acl_save_exec_prefix"
27477 prefix="$acl_save_prefix"
27479 if test "X$x" = "X-L$additional_libdir"; then
27480 haveit=yes
27481 break
27483 done
27484 if test -z "$haveit"; then
27485 if test -d "$additional_libdir"; then
27486 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27489 haveit=
27490 for x in $LDFLAGS $LTLIBICONV; do
27492 acl_save_prefix="$prefix"
27493 prefix="$acl_final_prefix"
27494 acl_save_exec_prefix="$exec_prefix"
27495 exec_prefix="$acl_final_exec_prefix"
27496 eval x=\"$x\"
27497 exec_prefix="$acl_save_exec_prefix"
27498 prefix="$acl_save_prefix"
27500 if test "X$x" = "X-L$additional_libdir"; then
27501 haveit=yes
27502 break
27504 done
27505 if test -z "$haveit"; then
27506 if test -d "$additional_libdir"; then
27507 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27513 -R*)
27514 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27515 if test "$enable_rpath" != no; then
27516 haveit=
27517 for x in $rpathdirs; do
27518 if test "X$x" = "X$dir"; then
27519 haveit=yes
27520 break
27522 done
27523 if test -z "$haveit"; then
27524 rpathdirs="$rpathdirs $dir"
27526 haveit=
27527 for x in $ltrpathdirs; do
27528 if test "X$x" = "X$dir"; then
27529 haveit=yes
27530 break
27532 done
27533 if test -z "$haveit"; then
27534 ltrpathdirs="$ltrpathdirs $dir"
27538 -l*)
27539 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27541 *.la)
27542 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27545 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27546 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27548 esac
27549 done
27551 else
27552 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27553 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27557 done
27558 done
27559 if test "X$rpathdirs" != "X"; then
27560 if test -n "$hardcode_libdir_separator"; then
27561 alldirs=
27562 for found_dir in $rpathdirs; do
27563 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27564 done
27565 acl_save_libdir="$libdir"
27566 libdir="$alldirs"
27567 eval flag=\"$hardcode_libdir_flag_spec\"
27568 libdir="$acl_save_libdir"
27569 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27570 else
27571 for found_dir in $rpathdirs; do
27572 acl_save_libdir="$libdir"
27573 libdir="$found_dir"
27574 eval flag=\"$hardcode_libdir_flag_spec\"
27575 libdir="$acl_save_libdir"
27576 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27577 done
27580 if test "X$ltrpathdirs" != "X"; then
27581 for found_dir in $ltrpathdirs; do
27582 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27583 done
27592 am_save_CPPFLAGS="$CPPFLAGS"
27594 for element in $INCICONV; do
27595 haveit=
27596 for x in $CPPFLAGS; do
27598 acl_save_prefix="$prefix"
27599 prefix="$acl_final_prefix"
27600 acl_save_exec_prefix="$exec_prefix"
27601 exec_prefix="$acl_final_exec_prefix"
27602 eval x=\"$x\"
27603 exec_prefix="$acl_save_exec_prefix"
27604 prefix="$acl_save_prefix"
27606 if test "X$x" = "X$element"; then
27607 haveit=yes
27608 break
27610 done
27611 if test -z "$haveit"; then
27612 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27614 done
27617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27618 $as_echo_n "checking for iconv... " >&6; }
27619 if test "${am_cv_func_iconv+set}" = set; then :
27620 $as_echo_n "(cached) " >&6
27621 else
27623 am_cv_func_iconv="no, consider installing GNU libiconv"
27624 am_cv_lib_iconv=no
27625 if test x$gcc_no_link = xyes; then
27626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27629 /* end confdefs.h. */
27630 #include <stdlib.h>
27631 #include <iconv.h>
27633 main ()
27635 iconv_t cd = iconv_open("","");
27636 iconv(cd,NULL,NULL,NULL,NULL);
27637 iconv_close(cd);
27639 return 0;
27641 _ACEOF
27642 if ac_fn_c_try_link "$LINENO"; then :
27643 am_cv_func_iconv=yes
27645 rm -f core conftest.err conftest.$ac_objext \
27646 conftest$ac_exeext conftest.$ac_ext
27647 if test "$am_cv_func_iconv" != yes; then
27648 am_save_LIBS="$LIBS"
27649 LIBS="$LIBS $LIBICONV"
27650 if test x$gcc_no_link = xyes; then
27651 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27654 /* end confdefs.h. */
27655 #include <stdlib.h>
27656 #include <iconv.h>
27658 main ()
27660 iconv_t cd = iconv_open("","");
27661 iconv(cd,NULL,NULL,NULL,NULL);
27662 iconv_close(cd);
27664 return 0;
27666 _ACEOF
27667 if ac_fn_c_try_link "$LINENO"; then :
27668 am_cv_lib_iconv=yes
27669 am_cv_func_iconv=yes
27671 rm -f core conftest.err conftest.$ac_objext \
27672 conftest$ac_exeext conftest.$ac_ext
27673 LIBS="$am_save_LIBS"
27677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27678 $as_echo "$am_cv_func_iconv" >&6; }
27679 if test "$am_cv_func_iconv" = yes; then
27681 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27684 if test "$am_cv_lib_iconv" = yes; then
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27686 $as_echo_n "checking how to link with libiconv... " >&6; }
27687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27688 $as_echo "$LIBICONV" >&6; }
27689 else
27690 CPPFLAGS="$am_save_CPPFLAGS"
27691 LIBICONV=
27692 LTLIBICONV=
27697 if test "$am_cv_func_iconv" = yes; then
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27699 $as_echo_n "checking for iconv declaration... " >&6; }
27700 if test "${am_cv_proto_iconv+set}" = set; then :
27701 $as_echo_n "(cached) " >&6
27702 else
27704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27705 /* end confdefs.h. */
27707 #include <stdlib.h>
27708 #include <iconv.h>
27709 extern
27710 #ifdef __cplusplus
27712 #endif
27713 #if defined(__STDC__) || defined(__cplusplus)
27714 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27715 #else
27716 size_t iconv();
27717 #endif
27720 main ()
27724 return 0;
27726 _ACEOF
27727 if ac_fn_c_try_compile "$LINENO"; then :
27728 am_cv_proto_iconv_arg1=""
27729 else
27730 am_cv_proto_iconv_arg1="const"
27732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27733 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);"
27736 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27738 }$am_cv_proto_iconv" >&5
27739 $as_echo "${ac_t:-
27740 }$am_cv_proto_iconv" >&6; }
27742 cat >>confdefs.h <<_ACEOF
27743 #define ICONV_CONST $am_cv_proto_iconv_arg1
27744 _ACEOF
27749 else
27751 # This lets us hard-code the functionality we know we'll have in the cross
27752 # target environment. "Let" is a sugar-coated word placed on an especially
27753 # dull and tedious hack, actually.
27755 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27756 # that involve linking, can't be used:
27757 # "cannot open sim-crt0.o"
27758 # "cannot open crt0.o"
27759 # etc. All this is because there currently exists no unified, consistent
27760 # way for top level CC information to be passed down to target directories:
27761 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27762 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27763 # crosses can be removed.
27765 # If Canadian cross, then don't pick up tools from the build directory.
27766 # Used only in GLIBCXX_EXPORT_INCLUDES.
27767 if test -n "$with_cross_host" &&
27768 test x"$build_alias" != x"$with_cross_host" &&
27769 test x"$build" != x"$target";
27770 then
27771 CANADIAN=yes
27772 else
27773 CANADIAN=no
27776 # Construct crosses by hand, eliminating bits that need ld...
27777 # GLIBCXX_CHECK_MATH_SUPPORT
27779 # First, test for "known" system libraries. We may be using newlib even
27780 # on a hosted environment.
27781 if test "x${with_newlib}" = "xyes"; then
27782 os_include_dir="os/newlib"
27783 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27786 # GLIBCXX_CHECK_STDLIB_SUPPORT
27787 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27790 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27792 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27794 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27796 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27798 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27800 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27802 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27804 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27806 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27808 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27810 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27812 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27814 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27816 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27818 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27820 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27822 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27824 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27826 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27828 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27830 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27832 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27835 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27837 else
27839 # Base decisions on target environment.
27840 case "${host}" in
27841 arm*-*-symbianelf*)
27842 # This is a freestanding configuration; there is nothing to do here.
27845 mips*-sde-elf*)
27846 # These definitions are for the SDE C library rather than newlib.
27847 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27850 # All these tests are for C++; save the language and the compiler flags.
27851 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27852 # found in GLIBCXX_CONFIGURE.
27854 ac_ext=cpp
27855 ac_cpp='$CXXCPP $CPPFLAGS'
27856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27860 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27861 ac_save_CXXFLAGS="$CXXFLAGS"
27863 # Check for maintainer-mode bits.
27864 if test x"$USE_MAINTAINER_MODE" = xno; then
27865 WERROR=''
27866 else
27867 WERROR='-Werror'
27870 # Check for -ffunction-sections -fdata-sections
27871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27872 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27873 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27875 /* end confdefs.h. */
27876 int foo; void bar() { };
27878 main ()
27882 return 0;
27884 _ACEOF
27885 if ac_fn_cxx_try_compile "$LINENO"; then :
27886 ac_fdsections=yes
27887 else
27888 ac_fdsections=no
27890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27891 if test "$ac_test_CXXFLAGS" = set; then
27892 CXXFLAGS="$ac_save_CXXFLAGS"
27893 else
27894 # this is the suspicious part
27895 CXXFLAGS=''
27897 if test x"$ac_fdsections" = x"yes"; then
27898 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27901 $as_echo "$ac_fdsections" >&6; }
27903 ac_ext=c
27904 ac_cpp='$CPP $CPPFLAGS'
27905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27913 # If we're not using GNU ld, then there's no point in even trying these
27914 # tests. Check for that first. We should have already tested for gld
27915 # by now (in libtool), but require it now just to be safe...
27916 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27917 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27921 # The name set by libtool depends on the version of libtool. Shame on us
27922 # for depending on an impl detail, but c'est la vie. Older versions used
27923 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27924 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27925 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27926 # set (hence we're using an older libtool), then set it.
27927 if test x${with_gnu_ld+set} != xset; then
27928 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27929 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27930 with_gnu_ld=no
27931 else
27932 with_gnu_ld=$ac_cv_prog_gnu_ld
27936 # Start by getting the version number. I think the libtool test already
27937 # does some of this, but throws away the result.
27938 glibcxx_ld_is_gold=no
27939 if test x"$with_gnu_ld" = x"yes"; then
27940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27941 $as_echo_n "checking for ld version... " >&6; }
27943 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27944 glibcxx_ld_is_gold=yes
27946 ldver=`$LD --version 2>/dev/null |
27947 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'`
27949 glibcxx_gnu_ld_version=`echo $ldver | \
27950 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27952 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27955 # Set --gc-sections.
27956 glibcxx_have_gc_sections=no
27957 if test "$glibcxx_ld_is_gold" = "yes"; then
27958 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27959 glibcxx_have_gc_sections=yes
27961 else
27962 glibcxx_gcsections_min_ld=21602
27963 if test x"$with_gnu_ld" = x"yes" &&
27964 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27965 glibcxx_have_gc_sections=yes
27968 if test "$glibcxx_have_gc_sections" = "yes"; then
27969 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27970 # NB: This flag only works reliably after 2.16.1. Configure tests
27971 # for this are difficult, so hard wire a value that should work.
27973 ac_test_CFLAGS="${CFLAGS+set}"
27974 ac_save_CFLAGS="$CFLAGS"
27975 CFLAGS='-Wl,--gc-sections'
27977 # Check for -Wl,--gc-sections
27978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27979 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27980 if test x$gcc_no_link = xyes; then
27981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27984 /* end confdefs.h. */
27985 int one(void) { return 1; }
27986 int two(void) { return 2; }
27989 main ()
27991 two();
27993 return 0;
27995 _ACEOF
27996 if ac_fn_c_try_link "$LINENO"; then :
27997 ac_gcsections=yes
27998 else
27999 ac_gcsections=no
28001 rm -f core conftest.err conftest.$ac_objext \
28002 conftest$ac_exeext conftest.$ac_ext
28003 if test "$ac_gcsections" = "yes"; then
28004 rm -f conftest.c
28005 touch conftest.c
28006 if $CC -c conftest.c; then
28007 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28008 grep "Warning: gc-sections option ignored" > /dev/null; then
28009 ac_gcsections=no
28012 rm -f conftest.c conftest.o conftest
28014 if test "$ac_gcsections" = "yes"; then
28015 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28018 $as_echo "$ac_gcsections" >&6; }
28020 if test "$ac_test_CFLAGS" = set; then
28021 CFLAGS="$ac_save_CFLAGS"
28022 else
28023 # this is the suspicious part
28024 CFLAGS=''
28028 # Set -z,relro.
28029 # Note this is only for shared objects.
28030 ac_ld_relro=no
28031 if test x"$with_gnu_ld" = x"yes"; then
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28033 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28034 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28035 if test -n "$cxx_z_relo"; then
28036 OPT_LDFLAGS="-Wl,-z,relro"
28037 ac_ld_relro=yes
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28040 $as_echo "$ac_ld_relro" >&6; }
28043 # Set linker optimization flags.
28044 if test x"$with_gnu_ld" = x"yes"; then
28045 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28052 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28053 ac_save_CXXFLAGS="$CXXFLAGS"
28054 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28057 $as_echo_n "checking for sin in -lm... " >&6; }
28058 if test "${ac_cv_lib_m_sin+set}" = set; then :
28059 $as_echo_n "(cached) " >&6
28060 else
28061 ac_check_lib_save_LIBS=$LIBS
28062 LIBS="-lm $LIBS"
28063 if test x$gcc_no_link = xyes; then
28064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28067 /* end confdefs.h. */
28069 /* Override any GCC internal prototype to avoid an error.
28070 Use char because int might match the return type of a GCC
28071 builtin and then its argument prototype would still apply. */
28072 #ifdef __cplusplus
28073 extern "C"
28074 #endif
28075 char sin ();
28077 main ()
28079 return sin ();
28081 return 0;
28083 _ACEOF
28084 if ac_fn_c_try_link "$LINENO"; then :
28085 ac_cv_lib_m_sin=yes
28086 else
28087 ac_cv_lib_m_sin=no
28089 rm -f core conftest.err conftest.$ac_objext \
28090 conftest$ac_exeext conftest.$ac_ext
28091 LIBS=$ac_check_lib_save_LIBS
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28094 $as_echo "$ac_cv_lib_m_sin" >&6; }
28095 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28096 libm="-lm"
28099 ac_save_LIBS="$LIBS"
28100 LIBS="$LIBS $libm"
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28105 $as_echo_n "checking for isinf declaration... " >&6; }
28106 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28107 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28108 $as_echo_n "(cached) " >&6
28109 else
28112 ac_ext=cpp
28113 ac_cpp='$CXXCPP $CPPFLAGS'
28114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28119 /* end confdefs.h. */
28120 #include <math.h>
28121 #ifdef HAVE_IEEEFP_H
28122 #include <ieeefp.h>
28123 #endif
28126 main ()
28128 isinf(0);
28130 return 0;
28132 _ACEOF
28133 if ac_fn_cxx_try_compile "$LINENO"; then :
28134 glibcxx_cv_func_isinf_use=yes
28135 else
28136 glibcxx_cv_func_isinf_use=no
28138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28139 ac_ext=c
28140 ac_cpp='$CPP $CPPFLAGS'
28141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28150 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28152 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28153 for ac_func in isinf
28154 do :
28155 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28156 if test "x$ac_cv_func_isinf" = x""yes; then :
28157 cat >>confdefs.h <<_ACEOF
28158 #define HAVE_ISINF 1
28159 _ACEOF
28162 done
28164 else
28166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28167 $as_echo_n "checking for _isinf declaration... " >&6; }
28168 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28169 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28170 $as_echo_n "(cached) " >&6
28171 else
28174 ac_ext=cpp
28175 ac_cpp='$CXXCPP $CPPFLAGS'
28176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28181 /* end confdefs.h. */
28182 #include <math.h>
28183 #ifdef HAVE_IEEEFP_H
28184 #include <ieeefp.h>
28185 #endif
28188 main ()
28190 _isinf(0);
28192 return 0;
28194 _ACEOF
28195 if ac_fn_cxx_try_compile "$LINENO"; then :
28196 glibcxx_cv_func__isinf_use=yes
28197 else
28198 glibcxx_cv_func__isinf_use=no
28200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28201 ac_ext=c
28202 ac_cpp='$CPP $CPPFLAGS'
28203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28212 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28214 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28215 for ac_func in _isinf
28216 do :
28217 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28218 if test "x$ac_cv_func__isinf" = x""yes; then :
28219 cat >>confdefs.h <<_ACEOF
28220 #define HAVE__ISINF 1
28221 _ACEOF
28224 done
28233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28234 $as_echo_n "checking for isnan declaration... " >&6; }
28235 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28236 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28237 $as_echo_n "(cached) " >&6
28238 else
28241 ac_ext=cpp
28242 ac_cpp='$CXXCPP $CPPFLAGS'
28243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28248 /* end confdefs.h. */
28249 #include <math.h>
28250 #ifdef HAVE_IEEEFP_H
28251 #include <ieeefp.h>
28252 #endif
28255 main ()
28257 isnan(0);
28259 return 0;
28261 _ACEOF
28262 if ac_fn_cxx_try_compile "$LINENO"; then :
28263 glibcxx_cv_func_isnan_use=yes
28264 else
28265 glibcxx_cv_func_isnan_use=no
28267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28268 ac_ext=c
28269 ac_cpp='$CPP $CPPFLAGS'
28270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28279 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28281 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28282 for ac_func in isnan
28283 do :
28284 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28285 if test "x$ac_cv_func_isnan" = x""yes; then :
28286 cat >>confdefs.h <<_ACEOF
28287 #define HAVE_ISNAN 1
28288 _ACEOF
28291 done
28293 else
28295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28296 $as_echo_n "checking for _isnan declaration... " >&6; }
28297 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28298 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28299 $as_echo_n "(cached) " >&6
28300 else
28303 ac_ext=cpp
28304 ac_cpp='$CXXCPP $CPPFLAGS'
28305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28310 /* end confdefs.h. */
28311 #include <math.h>
28312 #ifdef HAVE_IEEEFP_H
28313 #include <ieeefp.h>
28314 #endif
28317 main ()
28319 _isnan(0);
28321 return 0;
28323 _ACEOF
28324 if ac_fn_cxx_try_compile "$LINENO"; then :
28325 glibcxx_cv_func__isnan_use=yes
28326 else
28327 glibcxx_cv_func__isnan_use=no
28329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28330 ac_ext=c
28331 ac_cpp='$CPP $CPPFLAGS'
28332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28341 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28343 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28344 for ac_func in _isnan
28345 do :
28346 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28347 if test "x$ac_cv_func__isnan" = x""yes; then :
28348 cat >>confdefs.h <<_ACEOF
28349 #define HAVE__ISNAN 1
28350 _ACEOF
28353 done
28362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28363 $as_echo_n "checking for finite declaration... " >&6; }
28364 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28365 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28366 $as_echo_n "(cached) " >&6
28367 else
28370 ac_ext=cpp
28371 ac_cpp='$CXXCPP $CPPFLAGS'
28372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28377 /* end confdefs.h. */
28378 #include <math.h>
28379 #ifdef HAVE_IEEEFP_H
28380 #include <ieeefp.h>
28381 #endif
28384 main ()
28386 finite(0);
28388 return 0;
28390 _ACEOF
28391 if ac_fn_cxx_try_compile "$LINENO"; then :
28392 glibcxx_cv_func_finite_use=yes
28393 else
28394 glibcxx_cv_func_finite_use=no
28396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28397 ac_ext=c
28398 ac_cpp='$CPP $CPPFLAGS'
28399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28408 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28410 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28411 for ac_func in finite
28412 do :
28413 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28414 if test "x$ac_cv_func_finite" = x""yes; then :
28415 cat >>confdefs.h <<_ACEOF
28416 #define HAVE_FINITE 1
28417 _ACEOF
28420 done
28422 else
28424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28425 $as_echo_n "checking for _finite declaration... " >&6; }
28426 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28427 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28428 $as_echo_n "(cached) " >&6
28429 else
28432 ac_ext=cpp
28433 ac_cpp='$CXXCPP $CPPFLAGS'
28434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28439 /* end confdefs.h. */
28440 #include <math.h>
28441 #ifdef HAVE_IEEEFP_H
28442 #include <ieeefp.h>
28443 #endif
28446 main ()
28448 _finite(0);
28450 return 0;
28452 _ACEOF
28453 if ac_fn_cxx_try_compile "$LINENO"; then :
28454 glibcxx_cv_func__finite_use=yes
28455 else
28456 glibcxx_cv_func__finite_use=no
28458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28459 ac_ext=c
28460 ac_cpp='$CPP $CPPFLAGS'
28461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28470 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28472 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28473 for ac_func in _finite
28474 do :
28475 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28476 if test "x$ac_cv_func__finite" = x""yes; then :
28477 cat >>confdefs.h <<_ACEOF
28478 #define HAVE__FINITE 1
28479 _ACEOF
28482 done
28491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28492 $as_echo_n "checking for sincos declaration... " >&6; }
28493 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28494 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28495 $as_echo_n "(cached) " >&6
28496 else
28499 ac_ext=cpp
28500 ac_cpp='$CXXCPP $CPPFLAGS'
28501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28506 /* end confdefs.h. */
28507 #include <math.h>
28509 main ()
28511 sincos(0, 0, 0);
28513 return 0;
28515 _ACEOF
28516 if ac_fn_cxx_try_compile "$LINENO"; then :
28517 glibcxx_cv_func_sincos_use=yes
28518 else
28519 glibcxx_cv_func_sincos_use=no
28521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28522 ac_ext=c
28523 ac_cpp='$CPP $CPPFLAGS'
28524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28533 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28535 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28536 for ac_func in sincos
28537 do :
28538 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28539 if test "x$ac_cv_func_sincos" = x""yes; then :
28540 cat >>confdefs.h <<_ACEOF
28541 #define HAVE_SINCOS 1
28542 _ACEOF
28545 done
28547 else
28549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28550 $as_echo_n "checking for _sincos declaration... " >&6; }
28551 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28552 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28553 $as_echo_n "(cached) " >&6
28554 else
28557 ac_ext=cpp
28558 ac_cpp='$CXXCPP $CPPFLAGS'
28559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28564 /* end confdefs.h. */
28565 #include <math.h>
28567 main ()
28569 _sincos(0, 0, 0);
28571 return 0;
28573 _ACEOF
28574 if ac_fn_cxx_try_compile "$LINENO"; then :
28575 glibcxx_cv_func__sincos_use=yes
28576 else
28577 glibcxx_cv_func__sincos_use=no
28579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28580 ac_ext=c
28581 ac_cpp='$CPP $CPPFLAGS'
28582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28591 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28593 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28594 for ac_func in _sincos
28595 do :
28596 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28597 if test "x$ac_cv_func__sincos" = x""yes; then :
28598 cat >>confdefs.h <<_ACEOF
28599 #define HAVE__SINCOS 1
28600 _ACEOF
28603 done
28612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28613 $as_echo_n "checking for fpclass declaration... " >&6; }
28614 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28615 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28616 $as_echo_n "(cached) " >&6
28617 else
28620 ac_ext=cpp
28621 ac_cpp='$CXXCPP $CPPFLAGS'
28622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28627 /* end confdefs.h. */
28628 #include <math.h>
28629 #ifdef HAVE_IEEEFP_H
28630 #include <ieeefp.h>
28631 #endif
28634 main ()
28636 fpclass(0);
28638 return 0;
28640 _ACEOF
28641 if ac_fn_cxx_try_compile "$LINENO"; then :
28642 glibcxx_cv_func_fpclass_use=yes
28643 else
28644 glibcxx_cv_func_fpclass_use=no
28646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28647 ac_ext=c
28648 ac_cpp='$CPP $CPPFLAGS'
28649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28658 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28660 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28661 for ac_func in fpclass
28662 do :
28663 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28664 if test "x$ac_cv_func_fpclass" = x""yes; then :
28665 cat >>confdefs.h <<_ACEOF
28666 #define HAVE_FPCLASS 1
28667 _ACEOF
28670 done
28672 else
28674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28675 $as_echo_n "checking for _fpclass declaration... " >&6; }
28676 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28677 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28678 $as_echo_n "(cached) " >&6
28679 else
28682 ac_ext=cpp
28683 ac_cpp='$CXXCPP $CPPFLAGS'
28684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28689 /* end confdefs.h. */
28690 #include <math.h>
28691 #ifdef HAVE_IEEEFP_H
28692 #include <ieeefp.h>
28693 #endif
28696 main ()
28698 _fpclass(0);
28700 return 0;
28702 _ACEOF
28703 if ac_fn_cxx_try_compile "$LINENO"; then :
28704 glibcxx_cv_func__fpclass_use=yes
28705 else
28706 glibcxx_cv_func__fpclass_use=no
28708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28709 ac_ext=c
28710 ac_cpp='$CPP $CPPFLAGS'
28711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28720 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28722 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28723 for ac_func in _fpclass
28724 do :
28725 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28726 if test "x$ac_cv_func__fpclass" = x""yes; then :
28727 cat >>confdefs.h <<_ACEOF
28728 #define HAVE__FPCLASS 1
28729 _ACEOF
28732 done
28741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28742 $as_echo_n "checking for qfpclass declaration... " >&6; }
28743 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28744 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28745 $as_echo_n "(cached) " >&6
28746 else
28749 ac_ext=cpp
28750 ac_cpp='$CXXCPP $CPPFLAGS'
28751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28756 /* end confdefs.h. */
28757 #include <math.h>
28758 #ifdef HAVE_IEEEFP_H
28759 #include <ieeefp.h>
28760 #endif
28763 main ()
28765 qfpclass(0);
28767 return 0;
28769 _ACEOF
28770 if ac_fn_cxx_try_compile "$LINENO"; then :
28771 glibcxx_cv_func_qfpclass_use=yes
28772 else
28773 glibcxx_cv_func_qfpclass_use=no
28775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28776 ac_ext=c
28777 ac_cpp='$CPP $CPPFLAGS'
28778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28787 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28789 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28790 for ac_func in qfpclass
28791 do :
28792 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28793 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28794 cat >>confdefs.h <<_ACEOF
28795 #define HAVE_QFPCLASS 1
28796 _ACEOF
28799 done
28801 else
28803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28804 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28805 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28806 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28807 $as_echo_n "(cached) " >&6
28808 else
28811 ac_ext=cpp
28812 ac_cpp='$CXXCPP $CPPFLAGS'
28813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28818 /* end confdefs.h. */
28819 #include <math.h>
28820 #ifdef HAVE_IEEEFP_H
28821 #include <ieeefp.h>
28822 #endif
28825 main ()
28827 _qfpclass(0);
28829 return 0;
28831 _ACEOF
28832 if ac_fn_cxx_try_compile "$LINENO"; then :
28833 glibcxx_cv_func__qfpclass_use=yes
28834 else
28835 glibcxx_cv_func__qfpclass_use=no
28837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28838 ac_ext=c
28839 ac_cpp='$CPP $CPPFLAGS'
28840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28849 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28851 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28852 for ac_func in _qfpclass
28853 do :
28854 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28855 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28856 cat >>confdefs.h <<_ACEOF
28857 #define HAVE__QFPCLASS 1
28858 _ACEOF
28861 done
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28871 $as_echo_n "checking for hypot declaration... " >&6; }
28872 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28873 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28874 $as_echo_n "(cached) " >&6
28875 else
28878 ac_ext=cpp
28879 ac_cpp='$CXXCPP $CPPFLAGS'
28880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28885 /* end confdefs.h. */
28886 #include <math.h>
28888 main ()
28890 hypot(0, 0);
28892 return 0;
28894 _ACEOF
28895 if ac_fn_cxx_try_compile "$LINENO"; then :
28896 glibcxx_cv_func_hypot_use=yes
28897 else
28898 glibcxx_cv_func_hypot_use=no
28900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28901 ac_ext=c
28902 ac_cpp='$CPP $CPPFLAGS'
28903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28912 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28914 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28915 for ac_func in hypot
28916 do :
28917 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28918 if test "x$ac_cv_func_hypot" = x""yes; then :
28919 cat >>confdefs.h <<_ACEOF
28920 #define HAVE_HYPOT 1
28921 _ACEOF
28924 done
28926 else
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28929 $as_echo_n "checking for _hypot declaration... " >&6; }
28930 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28931 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28932 $as_echo_n "(cached) " >&6
28933 else
28936 ac_ext=cpp
28937 ac_cpp='$CXXCPP $CPPFLAGS'
28938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28943 /* end confdefs.h. */
28944 #include <math.h>
28946 main ()
28948 _hypot(0, 0);
28950 return 0;
28952 _ACEOF
28953 if ac_fn_cxx_try_compile "$LINENO"; then :
28954 glibcxx_cv_func__hypot_use=yes
28955 else
28956 glibcxx_cv_func__hypot_use=no
28958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28959 ac_ext=c
28960 ac_cpp='$CPP $CPPFLAGS'
28961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28970 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28972 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28973 for ac_func in _hypot
28974 do :
28975 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28976 if test "x$ac_cv_func__hypot" = x""yes; then :
28977 cat >>confdefs.h <<_ACEOF
28978 #define HAVE__HYPOT 1
28979 _ACEOF
28982 done
28991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28992 $as_echo_n "checking for float trig functions... " >&6; }
28993 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28994 $as_echo_n "(cached) " >&6
28995 else
28998 ac_ext=cpp
28999 ac_cpp='$CXXCPP $CPPFLAGS'
29000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29005 /* end confdefs.h. */
29006 #include <math.h>
29008 main ()
29010 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29012 return 0;
29014 _ACEOF
29015 if ac_fn_cxx_try_compile "$LINENO"; then :
29016 glibcxx_cv_func_float_trig_use=yes
29017 else
29018 glibcxx_cv_func_float_trig_use=no
29020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29021 ac_ext=c
29022 ac_cpp='$CPP $CPPFLAGS'
29023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29030 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29031 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29032 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29033 do :
29034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29036 eval as_val=\$$as_ac_var
29037 if test "x$as_val" = x""yes; then :
29038 cat >>confdefs.h <<_ACEOF
29039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29040 _ACEOF
29043 done
29045 else
29046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29047 $as_echo_n "checking for _float trig functions... " >&6; }
29048 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29049 $as_echo_n "(cached) " >&6
29050 else
29053 ac_ext=cpp
29054 ac_cpp='$CXXCPP $CPPFLAGS'
29055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29060 /* end confdefs.h. */
29061 #include <math.h>
29063 main ()
29065 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29067 return 0;
29069 _ACEOF
29070 if ac_fn_cxx_try_compile "$LINENO"; then :
29071 glibcxx_cv_func__float_trig_use=yes
29072 else
29073 glibcxx_cv_func__float_trig_use=no
29075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29076 ac_ext=c
29077 ac_cpp='$CPP $CPPFLAGS'
29078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29085 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29086 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29087 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29088 do :
29089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29091 eval as_val=\$$as_ac_var
29092 if test "x$as_val" = x""yes; then :
29093 cat >>confdefs.h <<_ACEOF
29094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29095 _ACEOF
29098 done
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29108 $as_echo_n "checking for float round functions... " >&6; }
29109 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29110 $as_echo_n "(cached) " >&6
29111 else
29114 ac_ext=cpp
29115 ac_cpp='$CXXCPP $CPPFLAGS'
29116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29121 /* end confdefs.h. */
29122 #include <math.h>
29124 main ()
29126 ceilf (0); floorf (0);
29128 return 0;
29130 _ACEOF
29131 if ac_fn_cxx_try_compile "$LINENO"; then :
29132 glibcxx_cv_func_float_round_use=yes
29133 else
29134 glibcxx_cv_func_float_round_use=no
29136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29137 ac_ext=c
29138 ac_cpp='$CPP $CPPFLAGS'
29139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29146 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29147 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29148 for ac_func in ceilf floorf
29149 do :
29150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29152 eval as_val=\$$as_ac_var
29153 if test "x$as_val" = x""yes; then :
29154 cat >>confdefs.h <<_ACEOF
29155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29156 _ACEOF
29159 done
29161 else
29162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29163 $as_echo_n "checking for _float round functions... " >&6; }
29164 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29165 $as_echo_n "(cached) " >&6
29166 else
29169 ac_ext=cpp
29170 ac_cpp='$CXXCPP $CPPFLAGS'
29171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29176 /* end confdefs.h. */
29177 #include <math.h>
29179 main ()
29181 _ceilf (0); _floorf (0);
29183 return 0;
29185 _ACEOF
29186 if ac_fn_cxx_try_compile "$LINENO"; then :
29187 glibcxx_cv_func__float_round_use=yes
29188 else
29189 glibcxx_cv_func__float_round_use=no
29191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29192 ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29201 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29202 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29203 for ac_func in _ceilf _floorf
29204 do :
29205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29207 eval as_val=\$$as_ac_var
29208 if test "x$as_val" = x""yes; then :
29209 cat >>confdefs.h <<_ACEOF
29210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29211 _ACEOF
29214 done
29224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29225 $as_echo_n "checking for expf declaration... " >&6; }
29226 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29227 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29228 $as_echo_n "(cached) " >&6
29229 else
29232 ac_ext=cpp
29233 ac_cpp='$CXXCPP $CPPFLAGS'
29234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29239 /* end confdefs.h. */
29240 #include <math.h>
29241 #ifdef HAVE_IEEEFP_H
29242 #include <ieeefp.h>
29243 #endif
29246 main ()
29248 expf(0);
29250 return 0;
29252 _ACEOF
29253 if ac_fn_cxx_try_compile "$LINENO"; then :
29254 glibcxx_cv_func_expf_use=yes
29255 else
29256 glibcxx_cv_func_expf_use=no
29258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29259 ac_ext=c
29260 ac_cpp='$CPP $CPPFLAGS'
29261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29270 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29272 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29273 for ac_func in expf
29274 do :
29275 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29276 if test "x$ac_cv_func_expf" = x""yes; then :
29277 cat >>confdefs.h <<_ACEOF
29278 #define HAVE_EXPF 1
29279 _ACEOF
29282 done
29284 else
29286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29287 $as_echo_n "checking for _expf declaration... " >&6; }
29288 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29289 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29290 $as_echo_n "(cached) " >&6
29291 else
29294 ac_ext=cpp
29295 ac_cpp='$CXXCPP $CPPFLAGS'
29296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29301 /* end confdefs.h. */
29302 #include <math.h>
29303 #ifdef HAVE_IEEEFP_H
29304 #include <ieeefp.h>
29305 #endif
29308 main ()
29310 _expf(0);
29312 return 0;
29314 _ACEOF
29315 if ac_fn_cxx_try_compile "$LINENO"; then :
29316 glibcxx_cv_func__expf_use=yes
29317 else
29318 glibcxx_cv_func__expf_use=no
29320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29321 ac_ext=c
29322 ac_cpp='$CPP $CPPFLAGS'
29323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29332 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29334 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29335 for ac_func in _expf
29336 do :
29337 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29338 if test "x$ac_cv_func__expf" = x""yes; then :
29339 cat >>confdefs.h <<_ACEOF
29340 #define HAVE__EXPF 1
29341 _ACEOF
29344 done
29353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29354 $as_echo_n "checking for isnanf declaration... " >&6; }
29355 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29356 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29357 $as_echo_n "(cached) " >&6
29358 else
29361 ac_ext=cpp
29362 ac_cpp='$CXXCPP $CPPFLAGS'
29363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29368 /* end confdefs.h. */
29369 #include <math.h>
29370 #ifdef HAVE_IEEEFP_H
29371 #include <ieeefp.h>
29372 #endif
29375 main ()
29377 isnanf(0);
29379 return 0;
29381 _ACEOF
29382 if ac_fn_cxx_try_compile "$LINENO"; then :
29383 glibcxx_cv_func_isnanf_use=yes
29384 else
29385 glibcxx_cv_func_isnanf_use=no
29387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29388 ac_ext=c
29389 ac_cpp='$CPP $CPPFLAGS'
29390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29399 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29401 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29402 for ac_func in isnanf
29403 do :
29404 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29405 if test "x$ac_cv_func_isnanf" = x""yes; then :
29406 cat >>confdefs.h <<_ACEOF
29407 #define HAVE_ISNANF 1
29408 _ACEOF
29411 done
29413 else
29415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29416 $as_echo_n "checking for _isnanf declaration... " >&6; }
29417 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29418 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29419 $as_echo_n "(cached) " >&6
29420 else
29423 ac_ext=cpp
29424 ac_cpp='$CXXCPP $CPPFLAGS'
29425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29430 /* end confdefs.h. */
29431 #include <math.h>
29432 #ifdef HAVE_IEEEFP_H
29433 #include <ieeefp.h>
29434 #endif
29437 main ()
29439 _isnanf(0);
29441 return 0;
29443 _ACEOF
29444 if ac_fn_cxx_try_compile "$LINENO"; then :
29445 glibcxx_cv_func__isnanf_use=yes
29446 else
29447 glibcxx_cv_func__isnanf_use=no
29449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29450 ac_ext=c
29451 ac_cpp='$CPP $CPPFLAGS'
29452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29461 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29463 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29464 for ac_func in _isnanf
29465 do :
29466 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29467 if test "x$ac_cv_func__isnanf" = x""yes; then :
29468 cat >>confdefs.h <<_ACEOF
29469 #define HAVE__ISNANF 1
29470 _ACEOF
29473 done
29482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29483 $as_echo_n "checking for isinff declaration... " >&6; }
29484 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29485 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29486 $as_echo_n "(cached) " >&6
29487 else
29490 ac_ext=cpp
29491 ac_cpp='$CXXCPP $CPPFLAGS'
29492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29497 /* end confdefs.h. */
29498 #include <math.h>
29499 #ifdef HAVE_IEEEFP_H
29500 #include <ieeefp.h>
29501 #endif
29504 main ()
29506 isinff(0);
29508 return 0;
29510 _ACEOF
29511 if ac_fn_cxx_try_compile "$LINENO"; then :
29512 glibcxx_cv_func_isinff_use=yes
29513 else
29514 glibcxx_cv_func_isinff_use=no
29516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29517 ac_ext=c
29518 ac_cpp='$CPP $CPPFLAGS'
29519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29528 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29530 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29531 for ac_func in isinff
29532 do :
29533 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29534 if test "x$ac_cv_func_isinff" = x""yes; then :
29535 cat >>confdefs.h <<_ACEOF
29536 #define HAVE_ISINFF 1
29537 _ACEOF
29540 done
29542 else
29544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29545 $as_echo_n "checking for _isinff declaration... " >&6; }
29546 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29547 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29548 $as_echo_n "(cached) " >&6
29549 else
29552 ac_ext=cpp
29553 ac_cpp='$CXXCPP $CPPFLAGS'
29554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29559 /* end confdefs.h. */
29560 #include <math.h>
29561 #ifdef HAVE_IEEEFP_H
29562 #include <ieeefp.h>
29563 #endif
29566 main ()
29568 _isinff(0);
29570 return 0;
29572 _ACEOF
29573 if ac_fn_cxx_try_compile "$LINENO"; then :
29574 glibcxx_cv_func__isinff_use=yes
29575 else
29576 glibcxx_cv_func__isinff_use=no
29578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29579 ac_ext=c
29580 ac_cpp='$CPP $CPPFLAGS'
29581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29590 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29592 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29593 for ac_func in _isinff
29594 do :
29595 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29596 if test "x$ac_cv_func__isinff" = x""yes; then :
29597 cat >>confdefs.h <<_ACEOF
29598 #define HAVE__ISINFF 1
29599 _ACEOF
29602 done
29611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29612 $as_echo_n "checking for atan2f declaration... " >&6; }
29613 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29614 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29615 $as_echo_n "(cached) " >&6
29616 else
29619 ac_ext=cpp
29620 ac_cpp='$CXXCPP $CPPFLAGS'
29621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29626 /* end confdefs.h. */
29627 #include <math.h>
29629 main ()
29631 atan2f(0, 0);
29633 return 0;
29635 _ACEOF
29636 if ac_fn_cxx_try_compile "$LINENO"; then :
29637 glibcxx_cv_func_atan2f_use=yes
29638 else
29639 glibcxx_cv_func_atan2f_use=no
29641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29642 ac_ext=c
29643 ac_cpp='$CPP $CPPFLAGS'
29644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29653 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29655 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29656 for ac_func in atan2f
29657 do :
29658 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29659 if test "x$ac_cv_func_atan2f" = x""yes; then :
29660 cat >>confdefs.h <<_ACEOF
29661 #define HAVE_ATAN2F 1
29662 _ACEOF
29665 done
29667 else
29669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29670 $as_echo_n "checking for _atan2f declaration... " >&6; }
29671 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29672 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29673 $as_echo_n "(cached) " >&6
29674 else
29677 ac_ext=cpp
29678 ac_cpp='$CXXCPP $CPPFLAGS'
29679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29684 /* end confdefs.h. */
29685 #include <math.h>
29687 main ()
29689 _atan2f(0, 0);
29691 return 0;
29693 _ACEOF
29694 if ac_fn_cxx_try_compile "$LINENO"; then :
29695 glibcxx_cv_func__atan2f_use=yes
29696 else
29697 glibcxx_cv_func__atan2f_use=no
29699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29700 ac_ext=c
29701 ac_cpp='$CPP $CPPFLAGS'
29702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29711 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29713 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29714 for ac_func in _atan2f
29715 do :
29716 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29717 if test "x$ac_cv_func__atan2f" = x""yes; then :
29718 cat >>confdefs.h <<_ACEOF
29719 #define HAVE__ATAN2F 1
29720 _ACEOF
29723 done
29732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29733 $as_echo_n "checking for fabsf declaration... " >&6; }
29734 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29735 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29736 $as_echo_n "(cached) " >&6
29737 else
29740 ac_ext=cpp
29741 ac_cpp='$CXXCPP $CPPFLAGS'
29742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29747 /* end confdefs.h. */
29748 #include <math.h>
29749 #ifdef HAVE_IEEEFP_H
29750 #include <ieeefp.h>
29751 #endif
29754 main ()
29756 fabsf(0);
29758 return 0;
29760 _ACEOF
29761 if ac_fn_cxx_try_compile "$LINENO"; then :
29762 glibcxx_cv_func_fabsf_use=yes
29763 else
29764 glibcxx_cv_func_fabsf_use=no
29766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29767 ac_ext=c
29768 ac_cpp='$CPP $CPPFLAGS'
29769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29778 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29780 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29781 for ac_func in fabsf
29782 do :
29783 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29784 if test "x$ac_cv_func_fabsf" = x""yes; then :
29785 cat >>confdefs.h <<_ACEOF
29786 #define HAVE_FABSF 1
29787 _ACEOF
29790 done
29792 else
29794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29795 $as_echo_n "checking for _fabsf declaration... " >&6; }
29796 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29797 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29798 $as_echo_n "(cached) " >&6
29799 else
29802 ac_ext=cpp
29803 ac_cpp='$CXXCPP $CPPFLAGS'
29804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29809 /* end confdefs.h. */
29810 #include <math.h>
29811 #ifdef HAVE_IEEEFP_H
29812 #include <ieeefp.h>
29813 #endif
29816 main ()
29818 _fabsf(0);
29820 return 0;
29822 _ACEOF
29823 if ac_fn_cxx_try_compile "$LINENO"; then :
29824 glibcxx_cv_func__fabsf_use=yes
29825 else
29826 glibcxx_cv_func__fabsf_use=no
29828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29829 ac_ext=c
29830 ac_cpp='$CPP $CPPFLAGS'
29831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29840 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29842 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29843 for ac_func in _fabsf
29844 do :
29845 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29846 if test "x$ac_cv_func__fabsf" = x""yes; then :
29847 cat >>confdefs.h <<_ACEOF
29848 #define HAVE__FABSF 1
29849 _ACEOF
29852 done
29861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29862 $as_echo_n "checking for fmodf declaration... " >&6; }
29863 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29864 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29865 $as_echo_n "(cached) " >&6
29866 else
29869 ac_ext=cpp
29870 ac_cpp='$CXXCPP $CPPFLAGS'
29871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29876 /* end confdefs.h. */
29877 #include <math.h>
29879 main ()
29881 fmodf(0, 0);
29883 return 0;
29885 _ACEOF
29886 if ac_fn_cxx_try_compile "$LINENO"; then :
29887 glibcxx_cv_func_fmodf_use=yes
29888 else
29889 glibcxx_cv_func_fmodf_use=no
29891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29892 ac_ext=c
29893 ac_cpp='$CPP $CPPFLAGS'
29894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29903 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29905 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29906 for ac_func in fmodf
29907 do :
29908 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29909 if test "x$ac_cv_func_fmodf" = x""yes; then :
29910 cat >>confdefs.h <<_ACEOF
29911 #define HAVE_FMODF 1
29912 _ACEOF
29915 done
29917 else
29919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29920 $as_echo_n "checking for _fmodf declaration... " >&6; }
29921 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29922 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29923 $as_echo_n "(cached) " >&6
29924 else
29927 ac_ext=cpp
29928 ac_cpp='$CXXCPP $CPPFLAGS'
29929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29934 /* end confdefs.h. */
29935 #include <math.h>
29937 main ()
29939 _fmodf(0, 0);
29941 return 0;
29943 _ACEOF
29944 if ac_fn_cxx_try_compile "$LINENO"; then :
29945 glibcxx_cv_func__fmodf_use=yes
29946 else
29947 glibcxx_cv_func__fmodf_use=no
29949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29950 ac_ext=c
29951 ac_cpp='$CPP $CPPFLAGS'
29952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29961 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29963 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29964 for ac_func in _fmodf
29965 do :
29966 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29967 if test "x$ac_cv_func__fmodf" = x""yes; then :
29968 cat >>confdefs.h <<_ACEOF
29969 #define HAVE__FMODF 1
29970 _ACEOF
29973 done
29982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29983 $as_echo_n "checking for frexpf declaration... " >&6; }
29984 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29985 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29986 $as_echo_n "(cached) " >&6
29987 else
29990 ac_ext=cpp
29991 ac_cpp='$CXXCPP $CPPFLAGS'
29992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29997 /* end confdefs.h. */
29998 #include <math.h>
30000 main ()
30002 frexpf(0, 0);
30004 return 0;
30006 _ACEOF
30007 if ac_fn_cxx_try_compile "$LINENO"; then :
30008 glibcxx_cv_func_frexpf_use=yes
30009 else
30010 glibcxx_cv_func_frexpf_use=no
30012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30013 ac_ext=c
30014 ac_cpp='$CPP $CPPFLAGS'
30015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30024 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30026 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30027 for ac_func in frexpf
30028 do :
30029 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30030 if test "x$ac_cv_func_frexpf" = x""yes; then :
30031 cat >>confdefs.h <<_ACEOF
30032 #define HAVE_FREXPF 1
30033 _ACEOF
30036 done
30038 else
30040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30041 $as_echo_n "checking for _frexpf declaration... " >&6; }
30042 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30043 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30044 $as_echo_n "(cached) " >&6
30045 else
30048 ac_ext=cpp
30049 ac_cpp='$CXXCPP $CPPFLAGS'
30050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30055 /* end confdefs.h. */
30056 #include <math.h>
30058 main ()
30060 _frexpf(0, 0);
30062 return 0;
30064 _ACEOF
30065 if ac_fn_cxx_try_compile "$LINENO"; then :
30066 glibcxx_cv_func__frexpf_use=yes
30067 else
30068 glibcxx_cv_func__frexpf_use=no
30070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30071 ac_ext=c
30072 ac_cpp='$CPP $CPPFLAGS'
30073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30082 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30084 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30085 for ac_func in _frexpf
30086 do :
30087 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30088 if test "x$ac_cv_func__frexpf" = x""yes; then :
30089 cat >>confdefs.h <<_ACEOF
30090 #define HAVE__FREXPF 1
30091 _ACEOF
30094 done
30103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30104 $as_echo_n "checking for hypotf declaration... " >&6; }
30105 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30106 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30107 $as_echo_n "(cached) " >&6
30108 else
30111 ac_ext=cpp
30112 ac_cpp='$CXXCPP $CPPFLAGS'
30113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30118 /* end confdefs.h. */
30119 #include <math.h>
30121 main ()
30123 hypotf(0, 0);
30125 return 0;
30127 _ACEOF
30128 if ac_fn_cxx_try_compile "$LINENO"; then :
30129 glibcxx_cv_func_hypotf_use=yes
30130 else
30131 glibcxx_cv_func_hypotf_use=no
30133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30134 ac_ext=c
30135 ac_cpp='$CPP $CPPFLAGS'
30136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30145 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30147 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30148 for ac_func in hypotf
30149 do :
30150 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30151 if test "x$ac_cv_func_hypotf" = x""yes; then :
30152 cat >>confdefs.h <<_ACEOF
30153 #define HAVE_HYPOTF 1
30154 _ACEOF
30157 done
30159 else
30161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30162 $as_echo_n "checking for _hypotf declaration... " >&6; }
30163 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30164 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30165 $as_echo_n "(cached) " >&6
30166 else
30169 ac_ext=cpp
30170 ac_cpp='$CXXCPP $CPPFLAGS'
30171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30176 /* end confdefs.h. */
30177 #include <math.h>
30179 main ()
30181 _hypotf(0, 0);
30183 return 0;
30185 _ACEOF
30186 if ac_fn_cxx_try_compile "$LINENO"; then :
30187 glibcxx_cv_func__hypotf_use=yes
30188 else
30189 glibcxx_cv_func__hypotf_use=no
30191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30192 ac_ext=c
30193 ac_cpp='$CPP $CPPFLAGS'
30194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30203 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30205 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30206 for ac_func in _hypotf
30207 do :
30208 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30209 if test "x$ac_cv_func__hypotf" = x""yes; then :
30210 cat >>confdefs.h <<_ACEOF
30211 #define HAVE__HYPOTF 1
30212 _ACEOF
30215 done
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30225 $as_echo_n "checking for ldexpf declaration... " >&6; }
30226 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30227 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30228 $as_echo_n "(cached) " >&6
30229 else
30232 ac_ext=cpp
30233 ac_cpp='$CXXCPP $CPPFLAGS'
30234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30239 /* end confdefs.h. */
30240 #include <math.h>
30242 main ()
30244 ldexpf(0, 0);
30246 return 0;
30248 _ACEOF
30249 if ac_fn_cxx_try_compile "$LINENO"; then :
30250 glibcxx_cv_func_ldexpf_use=yes
30251 else
30252 glibcxx_cv_func_ldexpf_use=no
30254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30255 ac_ext=c
30256 ac_cpp='$CPP $CPPFLAGS'
30257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30266 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30268 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30269 for ac_func in ldexpf
30270 do :
30271 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30272 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30273 cat >>confdefs.h <<_ACEOF
30274 #define HAVE_LDEXPF 1
30275 _ACEOF
30278 done
30280 else
30282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30283 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30284 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30285 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30286 $as_echo_n "(cached) " >&6
30287 else
30290 ac_ext=cpp
30291 ac_cpp='$CXXCPP $CPPFLAGS'
30292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30297 /* end confdefs.h. */
30298 #include <math.h>
30300 main ()
30302 _ldexpf(0, 0);
30304 return 0;
30306 _ACEOF
30307 if ac_fn_cxx_try_compile "$LINENO"; then :
30308 glibcxx_cv_func__ldexpf_use=yes
30309 else
30310 glibcxx_cv_func__ldexpf_use=no
30312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30313 ac_ext=c
30314 ac_cpp='$CPP $CPPFLAGS'
30315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30324 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30326 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30327 for ac_func in _ldexpf
30328 do :
30329 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30330 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30331 cat >>confdefs.h <<_ACEOF
30332 #define HAVE__LDEXPF 1
30333 _ACEOF
30336 done
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30346 $as_echo_n "checking for logf declaration... " >&6; }
30347 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30348 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30349 $as_echo_n "(cached) " >&6
30350 else
30353 ac_ext=cpp
30354 ac_cpp='$CXXCPP $CPPFLAGS'
30355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30360 /* end confdefs.h. */
30361 #include <math.h>
30362 #ifdef HAVE_IEEEFP_H
30363 #include <ieeefp.h>
30364 #endif
30367 main ()
30369 logf(0);
30371 return 0;
30373 _ACEOF
30374 if ac_fn_cxx_try_compile "$LINENO"; then :
30375 glibcxx_cv_func_logf_use=yes
30376 else
30377 glibcxx_cv_func_logf_use=no
30379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30380 ac_ext=c
30381 ac_cpp='$CPP $CPPFLAGS'
30382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30391 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30393 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30394 for ac_func in logf
30395 do :
30396 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30397 if test "x$ac_cv_func_logf" = x""yes; then :
30398 cat >>confdefs.h <<_ACEOF
30399 #define HAVE_LOGF 1
30400 _ACEOF
30403 done
30405 else
30407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30408 $as_echo_n "checking for _logf declaration... " >&6; }
30409 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30410 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30411 $as_echo_n "(cached) " >&6
30412 else
30415 ac_ext=cpp
30416 ac_cpp='$CXXCPP $CPPFLAGS'
30417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30422 /* end confdefs.h. */
30423 #include <math.h>
30424 #ifdef HAVE_IEEEFP_H
30425 #include <ieeefp.h>
30426 #endif
30429 main ()
30431 _logf(0);
30433 return 0;
30435 _ACEOF
30436 if ac_fn_cxx_try_compile "$LINENO"; then :
30437 glibcxx_cv_func__logf_use=yes
30438 else
30439 glibcxx_cv_func__logf_use=no
30441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30442 ac_ext=c
30443 ac_cpp='$CPP $CPPFLAGS'
30444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30453 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30455 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30456 for ac_func in _logf
30457 do :
30458 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30459 if test "x$ac_cv_func__logf" = x""yes; then :
30460 cat >>confdefs.h <<_ACEOF
30461 #define HAVE__LOGF 1
30462 _ACEOF
30465 done
30474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30475 $as_echo_n "checking for log10f declaration... " >&6; }
30476 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30477 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30478 $as_echo_n "(cached) " >&6
30479 else
30482 ac_ext=cpp
30483 ac_cpp='$CXXCPP $CPPFLAGS'
30484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30489 /* end confdefs.h. */
30490 #include <math.h>
30491 #ifdef HAVE_IEEEFP_H
30492 #include <ieeefp.h>
30493 #endif
30496 main ()
30498 log10f(0);
30500 return 0;
30502 _ACEOF
30503 if ac_fn_cxx_try_compile "$LINENO"; then :
30504 glibcxx_cv_func_log10f_use=yes
30505 else
30506 glibcxx_cv_func_log10f_use=no
30508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30509 ac_ext=c
30510 ac_cpp='$CPP $CPPFLAGS'
30511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30520 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30522 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30523 for ac_func in log10f
30524 do :
30525 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30526 if test "x$ac_cv_func_log10f" = x""yes; then :
30527 cat >>confdefs.h <<_ACEOF
30528 #define HAVE_LOG10F 1
30529 _ACEOF
30532 done
30534 else
30536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30537 $as_echo_n "checking for _log10f declaration... " >&6; }
30538 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30539 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30540 $as_echo_n "(cached) " >&6
30541 else
30544 ac_ext=cpp
30545 ac_cpp='$CXXCPP $CPPFLAGS'
30546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30551 /* end confdefs.h. */
30552 #include <math.h>
30553 #ifdef HAVE_IEEEFP_H
30554 #include <ieeefp.h>
30555 #endif
30558 main ()
30560 _log10f(0);
30562 return 0;
30564 _ACEOF
30565 if ac_fn_cxx_try_compile "$LINENO"; then :
30566 glibcxx_cv_func__log10f_use=yes
30567 else
30568 glibcxx_cv_func__log10f_use=no
30570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30571 ac_ext=c
30572 ac_cpp='$CPP $CPPFLAGS'
30573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30582 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30584 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30585 for ac_func in _log10f
30586 do :
30587 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30588 if test "x$ac_cv_func__log10f" = x""yes; then :
30589 cat >>confdefs.h <<_ACEOF
30590 #define HAVE__LOG10F 1
30591 _ACEOF
30594 done
30603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30604 $as_echo_n "checking for modff declaration... " >&6; }
30605 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30606 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30607 $as_echo_n "(cached) " >&6
30608 else
30611 ac_ext=cpp
30612 ac_cpp='$CXXCPP $CPPFLAGS'
30613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30618 /* end confdefs.h. */
30619 #include <math.h>
30621 main ()
30623 modff(0, 0);
30625 return 0;
30627 _ACEOF
30628 if ac_fn_cxx_try_compile "$LINENO"; then :
30629 glibcxx_cv_func_modff_use=yes
30630 else
30631 glibcxx_cv_func_modff_use=no
30633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30634 ac_ext=c
30635 ac_cpp='$CPP $CPPFLAGS'
30636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30645 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30647 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30648 for ac_func in modff
30649 do :
30650 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30651 if test "x$ac_cv_func_modff" = x""yes; then :
30652 cat >>confdefs.h <<_ACEOF
30653 #define HAVE_MODFF 1
30654 _ACEOF
30657 done
30659 else
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30662 $as_echo_n "checking for _modff declaration... " >&6; }
30663 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30664 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30665 $as_echo_n "(cached) " >&6
30666 else
30669 ac_ext=cpp
30670 ac_cpp='$CXXCPP $CPPFLAGS'
30671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30676 /* end confdefs.h. */
30677 #include <math.h>
30679 main ()
30681 _modff(0, 0);
30683 return 0;
30685 _ACEOF
30686 if ac_fn_cxx_try_compile "$LINENO"; then :
30687 glibcxx_cv_func__modff_use=yes
30688 else
30689 glibcxx_cv_func__modff_use=no
30691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30692 ac_ext=c
30693 ac_cpp='$CPP $CPPFLAGS'
30694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30703 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30705 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30706 for ac_func in _modff
30707 do :
30708 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30709 if test "x$ac_cv_func__modff" = x""yes; then :
30710 cat >>confdefs.h <<_ACEOF
30711 #define HAVE__MODFF 1
30712 _ACEOF
30715 done
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30725 $as_echo_n "checking for modf declaration... " >&6; }
30726 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30727 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30728 $as_echo_n "(cached) " >&6
30729 else
30732 ac_ext=cpp
30733 ac_cpp='$CXXCPP $CPPFLAGS'
30734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30739 /* end confdefs.h. */
30740 #include <math.h>
30742 main ()
30744 modf(0, 0);
30746 return 0;
30748 _ACEOF
30749 if ac_fn_cxx_try_compile "$LINENO"; then :
30750 glibcxx_cv_func_modf_use=yes
30751 else
30752 glibcxx_cv_func_modf_use=no
30754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30755 ac_ext=c
30756 ac_cpp='$CPP $CPPFLAGS'
30757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30766 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30768 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30769 for ac_func in modf
30770 do :
30771 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30772 if test "x$ac_cv_func_modf" = x""yes; then :
30773 cat >>confdefs.h <<_ACEOF
30774 #define HAVE_MODF 1
30775 _ACEOF
30778 done
30780 else
30782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30783 $as_echo_n "checking for _modf declaration... " >&6; }
30784 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30785 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30786 $as_echo_n "(cached) " >&6
30787 else
30790 ac_ext=cpp
30791 ac_cpp='$CXXCPP $CPPFLAGS'
30792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30797 /* end confdefs.h. */
30798 #include <math.h>
30800 main ()
30802 _modf(0, 0);
30804 return 0;
30806 _ACEOF
30807 if ac_fn_cxx_try_compile "$LINENO"; then :
30808 glibcxx_cv_func__modf_use=yes
30809 else
30810 glibcxx_cv_func__modf_use=no
30812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30813 ac_ext=c
30814 ac_cpp='$CPP $CPPFLAGS'
30815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30824 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30826 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30827 for ac_func in _modf
30828 do :
30829 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30830 if test "x$ac_cv_func__modf" = x""yes; then :
30831 cat >>confdefs.h <<_ACEOF
30832 #define HAVE__MODF 1
30833 _ACEOF
30836 done
30845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30846 $as_echo_n "checking for powf declaration... " >&6; }
30847 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30848 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30849 $as_echo_n "(cached) " >&6
30850 else
30853 ac_ext=cpp
30854 ac_cpp='$CXXCPP $CPPFLAGS'
30855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30860 /* end confdefs.h. */
30861 #include <math.h>
30863 main ()
30865 powf(0, 0);
30867 return 0;
30869 _ACEOF
30870 if ac_fn_cxx_try_compile "$LINENO"; then :
30871 glibcxx_cv_func_powf_use=yes
30872 else
30873 glibcxx_cv_func_powf_use=no
30875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30876 ac_ext=c
30877 ac_cpp='$CPP $CPPFLAGS'
30878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30887 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30889 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30890 for ac_func in powf
30891 do :
30892 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30893 if test "x$ac_cv_func_powf" = x""yes; then :
30894 cat >>confdefs.h <<_ACEOF
30895 #define HAVE_POWF 1
30896 _ACEOF
30899 done
30901 else
30903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30904 $as_echo_n "checking for _powf declaration... " >&6; }
30905 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30906 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30907 $as_echo_n "(cached) " >&6
30908 else
30911 ac_ext=cpp
30912 ac_cpp='$CXXCPP $CPPFLAGS'
30913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30918 /* end confdefs.h. */
30919 #include <math.h>
30921 main ()
30923 _powf(0, 0);
30925 return 0;
30927 _ACEOF
30928 if ac_fn_cxx_try_compile "$LINENO"; then :
30929 glibcxx_cv_func__powf_use=yes
30930 else
30931 glibcxx_cv_func__powf_use=no
30933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30934 ac_ext=c
30935 ac_cpp='$CPP $CPPFLAGS'
30936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30945 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30947 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30948 for ac_func in _powf
30949 do :
30950 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30951 if test "x$ac_cv_func__powf" = x""yes; then :
30952 cat >>confdefs.h <<_ACEOF
30953 #define HAVE__POWF 1
30954 _ACEOF
30957 done
30966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30967 $as_echo_n "checking for sqrtf declaration... " >&6; }
30968 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30969 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30970 $as_echo_n "(cached) " >&6
30971 else
30974 ac_ext=cpp
30975 ac_cpp='$CXXCPP $CPPFLAGS'
30976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30981 /* end confdefs.h. */
30982 #include <math.h>
30983 #ifdef HAVE_IEEEFP_H
30984 #include <ieeefp.h>
30985 #endif
30988 main ()
30990 sqrtf(0);
30992 return 0;
30994 _ACEOF
30995 if ac_fn_cxx_try_compile "$LINENO"; then :
30996 glibcxx_cv_func_sqrtf_use=yes
30997 else
30998 glibcxx_cv_func_sqrtf_use=no
31000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31001 ac_ext=c
31002 ac_cpp='$CPP $CPPFLAGS'
31003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31012 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31014 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31015 for ac_func in sqrtf
31016 do :
31017 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31018 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31019 cat >>confdefs.h <<_ACEOF
31020 #define HAVE_SQRTF 1
31021 _ACEOF
31024 done
31026 else
31028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31029 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31030 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31031 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31032 $as_echo_n "(cached) " >&6
31033 else
31036 ac_ext=cpp
31037 ac_cpp='$CXXCPP $CPPFLAGS'
31038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31043 /* end confdefs.h. */
31044 #include <math.h>
31045 #ifdef HAVE_IEEEFP_H
31046 #include <ieeefp.h>
31047 #endif
31050 main ()
31052 _sqrtf(0);
31054 return 0;
31056 _ACEOF
31057 if ac_fn_cxx_try_compile "$LINENO"; then :
31058 glibcxx_cv_func__sqrtf_use=yes
31059 else
31060 glibcxx_cv_func__sqrtf_use=no
31062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31063 ac_ext=c
31064 ac_cpp='$CPP $CPPFLAGS'
31065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31074 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31076 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31077 for ac_func in _sqrtf
31078 do :
31079 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31080 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31081 cat >>confdefs.h <<_ACEOF
31082 #define HAVE__SQRTF 1
31083 _ACEOF
31086 done
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31096 $as_echo_n "checking for sincosf declaration... " >&6; }
31097 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31098 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31099 $as_echo_n "(cached) " >&6
31100 else
31103 ac_ext=cpp
31104 ac_cpp='$CXXCPP $CPPFLAGS'
31105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31110 /* end confdefs.h. */
31111 #include <math.h>
31113 main ()
31115 sincosf(0, 0, 0);
31117 return 0;
31119 _ACEOF
31120 if ac_fn_cxx_try_compile "$LINENO"; then :
31121 glibcxx_cv_func_sincosf_use=yes
31122 else
31123 glibcxx_cv_func_sincosf_use=no
31125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31126 ac_ext=c
31127 ac_cpp='$CPP $CPPFLAGS'
31128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31137 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31139 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31140 for ac_func in sincosf
31141 do :
31142 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31143 if test "x$ac_cv_func_sincosf" = x""yes; then :
31144 cat >>confdefs.h <<_ACEOF
31145 #define HAVE_SINCOSF 1
31146 _ACEOF
31149 done
31151 else
31153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31154 $as_echo_n "checking for _sincosf declaration... " >&6; }
31155 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31156 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31157 $as_echo_n "(cached) " >&6
31158 else
31161 ac_ext=cpp
31162 ac_cpp='$CXXCPP $CPPFLAGS'
31163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31168 /* end confdefs.h. */
31169 #include <math.h>
31171 main ()
31173 _sincosf(0, 0, 0);
31175 return 0;
31177 _ACEOF
31178 if ac_fn_cxx_try_compile "$LINENO"; then :
31179 glibcxx_cv_func__sincosf_use=yes
31180 else
31181 glibcxx_cv_func__sincosf_use=no
31183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31184 ac_ext=c
31185 ac_cpp='$CPP $CPPFLAGS'
31186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31195 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31197 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31198 for ac_func in _sincosf
31199 do :
31200 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31201 if test "x$ac_cv_func__sincosf" = x""yes; then :
31202 cat >>confdefs.h <<_ACEOF
31203 #define HAVE__SINCOSF 1
31204 _ACEOF
31207 done
31216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31217 $as_echo_n "checking for finitef declaration... " >&6; }
31218 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31219 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31220 $as_echo_n "(cached) " >&6
31221 else
31224 ac_ext=cpp
31225 ac_cpp='$CXXCPP $CPPFLAGS'
31226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31231 /* end confdefs.h. */
31232 #include <math.h>
31233 #ifdef HAVE_IEEEFP_H
31234 #include <ieeefp.h>
31235 #endif
31238 main ()
31240 finitef(0);
31242 return 0;
31244 _ACEOF
31245 if ac_fn_cxx_try_compile "$LINENO"; then :
31246 glibcxx_cv_func_finitef_use=yes
31247 else
31248 glibcxx_cv_func_finitef_use=no
31250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31251 ac_ext=c
31252 ac_cpp='$CPP $CPPFLAGS'
31253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31262 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31264 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31265 for ac_func in finitef
31266 do :
31267 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31268 if test "x$ac_cv_func_finitef" = x""yes; then :
31269 cat >>confdefs.h <<_ACEOF
31270 #define HAVE_FINITEF 1
31271 _ACEOF
31274 done
31276 else
31278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31279 $as_echo_n "checking for _finitef declaration... " >&6; }
31280 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31281 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31282 $as_echo_n "(cached) " >&6
31283 else
31286 ac_ext=cpp
31287 ac_cpp='$CXXCPP $CPPFLAGS'
31288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31293 /* end confdefs.h. */
31294 #include <math.h>
31295 #ifdef HAVE_IEEEFP_H
31296 #include <ieeefp.h>
31297 #endif
31300 main ()
31302 _finitef(0);
31304 return 0;
31306 _ACEOF
31307 if ac_fn_cxx_try_compile "$LINENO"; then :
31308 glibcxx_cv_func__finitef_use=yes
31309 else
31310 glibcxx_cv_func__finitef_use=no
31312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31313 ac_ext=c
31314 ac_cpp='$CPP $CPPFLAGS'
31315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31324 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31326 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31327 for ac_func in _finitef
31328 do :
31329 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31330 if test "x$ac_cv_func__finitef" = x""yes; then :
31331 cat >>confdefs.h <<_ACEOF
31332 #define HAVE__FINITEF 1
31333 _ACEOF
31336 done
31345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31346 $as_echo_n "checking for long double trig functions... " >&6; }
31347 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31348 $as_echo_n "(cached) " >&6
31349 else
31352 ac_ext=cpp
31353 ac_cpp='$CXXCPP $CPPFLAGS'
31354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31359 /* end confdefs.h. */
31360 #include <math.h>
31362 main ()
31364 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31366 return 0;
31368 _ACEOF
31369 if ac_fn_cxx_try_compile "$LINENO"; then :
31370 glibcxx_cv_func_long_double_trig_use=yes
31371 else
31372 glibcxx_cv_func_long_double_trig_use=no
31374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31375 ac_ext=c
31376 ac_cpp='$CPP $CPPFLAGS'
31377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31384 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31385 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31386 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31387 do :
31388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31390 eval as_val=\$$as_ac_var
31391 if test "x$as_val" = x""yes; then :
31392 cat >>confdefs.h <<_ACEOF
31393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31394 _ACEOF
31397 done
31399 else
31400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31401 $as_echo_n "checking for _long double trig functions... " >&6; }
31402 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31403 $as_echo_n "(cached) " >&6
31404 else
31407 ac_ext=cpp
31408 ac_cpp='$CXXCPP $CPPFLAGS'
31409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31414 /* end confdefs.h. */
31415 #include <math.h>
31417 main ()
31419 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31421 return 0;
31423 _ACEOF
31424 if ac_fn_cxx_try_compile "$LINENO"; then :
31425 glibcxx_cv_func__long_double_trig_use=yes
31426 else
31427 glibcxx_cv_func__long_double_trig_use=no
31429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31430 ac_ext=c
31431 ac_cpp='$CPP $CPPFLAGS'
31432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31439 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31440 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31441 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31442 do :
31443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31445 eval as_val=\$$as_ac_var
31446 if test "x$as_val" = x""yes; then :
31447 cat >>confdefs.h <<_ACEOF
31448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31449 _ACEOF
31452 done
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31462 $as_echo_n "checking for long double round functions... " >&6; }
31463 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31464 $as_echo_n "(cached) " >&6
31465 else
31468 ac_ext=cpp
31469 ac_cpp='$CXXCPP $CPPFLAGS'
31470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31475 /* end confdefs.h. */
31476 #include <math.h>
31478 main ()
31480 ceill (0); floorl (0);
31482 return 0;
31484 _ACEOF
31485 if ac_fn_cxx_try_compile "$LINENO"; then :
31486 glibcxx_cv_func_long_double_round_use=yes
31487 else
31488 glibcxx_cv_func_long_double_round_use=no
31490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31491 ac_ext=c
31492 ac_cpp='$CPP $CPPFLAGS'
31493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31500 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31501 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31502 for ac_func in ceill floorl
31503 do :
31504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31506 eval as_val=\$$as_ac_var
31507 if test "x$as_val" = x""yes; then :
31508 cat >>confdefs.h <<_ACEOF
31509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31510 _ACEOF
31513 done
31515 else
31516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31517 $as_echo_n "checking for _long double round functions... " >&6; }
31518 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31519 $as_echo_n "(cached) " >&6
31520 else
31523 ac_ext=cpp
31524 ac_cpp='$CXXCPP $CPPFLAGS'
31525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31530 /* end confdefs.h. */
31531 #include <math.h>
31533 main ()
31535 _ceill (0); _floorl (0);
31537 return 0;
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541 glibcxx_cv_func__long_double_round_use=yes
31542 else
31543 glibcxx_cv_func__long_double_round_use=no
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546 ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31555 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31556 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31557 for ac_func in _ceill _floorl
31558 do :
31559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31561 eval as_val=\$$as_ac_var
31562 if test "x$as_val" = x""yes; then :
31563 cat >>confdefs.h <<_ACEOF
31564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31565 _ACEOF
31568 done
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31579 $as_echo_n "checking for isnanl declaration... " >&6; }
31580 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31581 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31582 $as_echo_n "(cached) " >&6
31583 else
31586 ac_ext=cpp
31587 ac_cpp='$CXXCPP $CPPFLAGS'
31588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h. */
31594 #include <math.h>
31595 #ifdef HAVE_IEEEFP_H
31596 #include <ieeefp.h>
31597 #endif
31600 main ()
31602 isnanl(0);
31604 return 0;
31606 _ACEOF
31607 if ac_fn_cxx_try_compile "$LINENO"; then :
31608 glibcxx_cv_func_isnanl_use=yes
31609 else
31610 glibcxx_cv_func_isnanl_use=no
31612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31613 ac_ext=c
31614 ac_cpp='$CPP $CPPFLAGS'
31615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31624 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31626 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31627 for ac_func in isnanl
31628 do :
31629 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31630 if test "x$ac_cv_func_isnanl" = x""yes; then :
31631 cat >>confdefs.h <<_ACEOF
31632 #define HAVE_ISNANL 1
31633 _ACEOF
31636 done
31638 else
31640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31641 $as_echo_n "checking for _isnanl declaration... " >&6; }
31642 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31643 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31644 $as_echo_n "(cached) " >&6
31645 else
31648 ac_ext=cpp
31649 ac_cpp='$CXXCPP $CPPFLAGS'
31650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31655 /* end confdefs.h. */
31656 #include <math.h>
31657 #ifdef HAVE_IEEEFP_H
31658 #include <ieeefp.h>
31659 #endif
31662 main ()
31664 _isnanl(0);
31666 return 0;
31668 _ACEOF
31669 if ac_fn_cxx_try_compile "$LINENO"; then :
31670 glibcxx_cv_func__isnanl_use=yes
31671 else
31672 glibcxx_cv_func__isnanl_use=no
31674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31675 ac_ext=c
31676 ac_cpp='$CPP $CPPFLAGS'
31677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31686 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31688 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31689 for ac_func in _isnanl
31690 do :
31691 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31692 if test "x$ac_cv_func__isnanl" = x""yes; then :
31693 cat >>confdefs.h <<_ACEOF
31694 #define HAVE__ISNANL 1
31695 _ACEOF
31698 done
31707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31708 $as_echo_n "checking for isinfl declaration... " >&6; }
31709 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31710 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31711 $as_echo_n "(cached) " >&6
31712 else
31715 ac_ext=cpp
31716 ac_cpp='$CXXCPP $CPPFLAGS'
31717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31722 /* end confdefs.h. */
31723 #include <math.h>
31724 #ifdef HAVE_IEEEFP_H
31725 #include <ieeefp.h>
31726 #endif
31729 main ()
31731 isinfl(0);
31733 return 0;
31735 _ACEOF
31736 if ac_fn_cxx_try_compile "$LINENO"; then :
31737 glibcxx_cv_func_isinfl_use=yes
31738 else
31739 glibcxx_cv_func_isinfl_use=no
31741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31742 ac_ext=c
31743 ac_cpp='$CPP $CPPFLAGS'
31744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31753 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31755 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31756 for ac_func in isinfl
31757 do :
31758 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31759 if test "x$ac_cv_func_isinfl" = x""yes; then :
31760 cat >>confdefs.h <<_ACEOF
31761 #define HAVE_ISINFL 1
31762 _ACEOF
31765 done
31767 else
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31770 $as_echo_n "checking for _isinfl declaration... " >&6; }
31771 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31772 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31773 $as_echo_n "(cached) " >&6
31774 else
31777 ac_ext=cpp
31778 ac_cpp='$CXXCPP $CPPFLAGS'
31779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31784 /* end confdefs.h. */
31785 #include <math.h>
31786 #ifdef HAVE_IEEEFP_H
31787 #include <ieeefp.h>
31788 #endif
31791 main ()
31793 _isinfl(0);
31795 return 0;
31797 _ACEOF
31798 if ac_fn_cxx_try_compile "$LINENO"; then :
31799 glibcxx_cv_func__isinfl_use=yes
31800 else
31801 glibcxx_cv_func__isinfl_use=no
31803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31804 ac_ext=c
31805 ac_cpp='$CPP $CPPFLAGS'
31806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31815 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31817 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31818 for ac_func in _isinfl
31819 do :
31820 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31821 if test "x$ac_cv_func__isinfl" = x""yes; then :
31822 cat >>confdefs.h <<_ACEOF
31823 #define HAVE__ISINFL 1
31824 _ACEOF
31827 done
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31837 $as_echo_n "checking for atan2l declaration... " >&6; }
31838 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31839 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31840 $as_echo_n "(cached) " >&6
31841 else
31844 ac_ext=cpp
31845 ac_cpp='$CXXCPP $CPPFLAGS'
31846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31851 /* end confdefs.h. */
31852 #include <math.h>
31854 main ()
31856 atan2l(0, 0);
31858 return 0;
31860 _ACEOF
31861 if ac_fn_cxx_try_compile "$LINENO"; then :
31862 glibcxx_cv_func_atan2l_use=yes
31863 else
31864 glibcxx_cv_func_atan2l_use=no
31866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31867 ac_ext=c
31868 ac_cpp='$CPP $CPPFLAGS'
31869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31878 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31880 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31881 for ac_func in atan2l
31882 do :
31883 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31884 if test "x$ac_cv_func_atan2l" = x""yes; then :
31885 cat >>confdefs.h <<_ACEOF
31886 #define HAVE_ATAN2L 1
31887 _ACEOF
31890 done
31892 else
31894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31895 $as_echo_n "checking for _atan2l declaration... " >&6; }
31896 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31897 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31898 $as_echo_n "(cached) " >&6
31899 else
31902 ac_ext=cpp
31903 ac_cpp='$CXXCPP $CPPFLAGS'
31904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31909 /* end confdefs.h. */
31910 #include <math.h>
31912 main ()
31914 _atan2l(0, 0);
31916 return 0;
31918 _ACEOF
31919 if ac_fn_cxx_try_compile "$LINENO"; then :
31920 glibcxx_cv_func__atan2l_use=yes
31921 else
31922 glibcxx_cv_func__atan2l_use=no
31924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31925 ac_ext=c
31926 ac_cpp='$CPP $CPPFLAGS'
31927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31936 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31938 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31939 for ac_func in _atan2l
31940 do :
31941 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31942 if test "x$ac_cv_func__atan2l" = x""yes; then :
31943 cat >>confdefs.h <<_ACEOF
31944 #define HAVE__ATAN2L 1
31945 _ACEOF
31948 done
31957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31958 $as_echo_n "checking for expl declaration... " >&6; }
31959 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31960 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31961 $as_echo_n "(cached) " >&6
31962 else
31965 ac_ext=cpp
31966 ac_cpp='$CXXCPP $CPPFLAGS'
31967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31972 /* end confdefs.h. */
31973 #include <math.h>
31974 #ifdef HAVE_IEEEFP_H
31975 #include <ieeefp.h>
31976 #endif
31979 main ()
31981 expl(0);
31983 return 0;
31985 _ACEOF
31986 if ac_fn_cxx_try_compile "$LINENO"; then :
31987 glibcxx_cv_func_expl_use=yes
31988 else
31989 glibcxx_cv_func_expl_use=no
31991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31992 ac_ext=c
31993 ac_cpp='$CPP $CPPFLAGS'
31994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32003 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32005 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32006 for ac_func in expl
32007 do :
32008 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32009 if test "x$ac_cv_func_expl" = x""yes; then :
32010 cat >>confdefs.h <<_ACEOF
32011 #define HAVE_EXPL 1
32012 _ACEOF
32015 done
32017 else
32019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32020 $as_echo_n "checking for _expl declaration... " >&6; }
32021 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32022 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32023 $as_echo_n "(cached) " >&6
32024 else
32027 ac_ext=cpp
32028 ac_cpp='$CXXCPP $CPPFLAGS'
32029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32034 /* end confdefs.h. */
32035 #include <math.h>
32036 #ifdef HAVE_IEEEFP_H
32037 #include <ieeefp.h>
32038 #endif
32041 main ()
32043 _expl(0);
32045 return 0;
32047 _ACEOF
32048 if ac_fn_cxx_try_compile "$LINENO"; then :
32049 glibcxx_cv_func__expl_use=yes
32050 else
32051 glibcxx_cv_func__expl_use=no
32053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32054 ac_ext=c
32055 ac_cpp='$CPP $CPPFLAGS'
32056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32065 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32067 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32068 for ac_func in _expl
32069 do :
32070 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32071 if test "x$ac_cv_func__expl" = x""yes; then :
32072 cat >>confdefs.h <<_ACEOF
32073 #define HAVE__EXPL 1
32074 _ACEOF
32077 done
32086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32087 $as_echo_n "checking for fabsl declaration... " >&6; }
32088 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32089 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32090 $as_echo_n "(cached) " >&6
32091 else
32094 ac_ext=cpp
32095 ac_cpp='$CXXCPP $CPPFLAGS'
32096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32101 /* end confdefs.h. */
32102 #include <math.h>
32103 #ifdef HAVE_IEEEFP_H
32104 #include <ieeefp.h>
32105 #endif
32108 main ()
32110 fabsl(0);
32112 return 0;
32114 _ACEOF
32115 if ac_fn_cxx_try_compile "$LINENO"; then :
32116 glibcxx_cv_func_fabsl_use=yes
32117 else
32118 glibcxx_cv_func_fabsl_use=no
32120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32121 ac_ext=c
32122 ac_cpp='$CPP $CPPFLAGS'
32123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32132 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32134 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32135 for ac_func in fabsl
32136 do :
32137 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32138 if test "x$ac_cv_func_fabsl" = x""yes; then :
32139 cat >>confdefs.h <<_ACEOF
32140 #define HAVE_FABSL 1
32141 _ACEOF
32144 done
32146 else
32148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32149 $as_echo_n "checking for _fabsl declaration... " >&6; }
32150 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32151 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32152 $as_echo_n "(cached) " >&6
32153 else
32156 ac_ext=cpp
32157 ac_cpp='$CXXCPP $CPPFLAGS'
32158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32163 /* end confdefs.h. */
32164 #include <math.h>
32165 #ifdef HAVE_IEEEFP_H
32166 #include <ieeefp.h>
32167 #endif
32170 main ()
32172 _fabsl(0);
32174 return 0;
32176 _ACEOF
32177 if ac_fn_cxx_try_compile "$LINENO"; then :
32178 glibcxx_cv_func__fabsl_use=yes
32179 else
32180 glibcxx_cv_func__fabsl_use=no
32182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32183 ac_ext=c
32184 ac_cpp='$CPP $CPPFLAGS'
32185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32194 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32196 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32197 for ac_func in _fabsl
32198 do :
32199 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32200 if test "x$ac_cv_func__fabsl" = x""yes; then :
32201 cat >>confdefs.h <<_ACEOF
32202 #define HAVE__FABSL 1
32203 _ACEOF
32206 done
32215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32216 $as_echo_n "checking for fmodl declaration... " >&6; }
32217 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32218 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32219 $as_echo_n "(cached) " >&6
32220 else
32223 ac_ext=cpp
32224 ac_cpp='$CXXCPP $CPPFLAGS'
32225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32230 /* end confdefs.h. */
32231 #include <math.h>
32233 main ()
32235 fmodl(0, 0);
32237 return 0;
32239 _ACEOF
32240 if ac_fn_cxx_try_compile "$LINENO"; then :
32241 glibcxx_cv_func_fmodl_use=yes
32242 else
32243 glibcxx_cv_func_fmodl_use=no
32245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32246 ac_ext=c
32247 ac_cpp='$CPP $CPPFLAGS'
32248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32257 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32259 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32260 for ac_func in fmodl
32261 do :
32262 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32263 if test "x$ac_cv_func_fmodl" = x""yes; then :
32264 cat >>confdefs.h <<_ACEOF
32265 #define HAVE_FMODL 1
32266 _ACEOF
32269 done
32271 else
32273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32274 $as_echo_n "checking for _fmodl declaration... " >&6; }
32275 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32276 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32277 $as_echo_n "(cached) " >&6
32278 else
32281 ac_ext=cpp
32282 ac_cpp='$CXXCPP $CPPFLAGS'
32283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32288 /* end confdefs.h. */
32289 #include <math.h>
32291 main ()
32293 _fmodl(0, 0);
32295 return 0;
32297 _ACEOF
32298 if ac_fn_cxx_try_compile "$LINENO"; then :
32299 glibcxx_cv_func__fmodl_use=yes
32300 else
32301 glibcxx_cv_func__fmodl_use=no
32303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32304 ac_ext=c
32305 ac_cpp='$CPP $CPPFLAGS'
32306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32315 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32317 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32318 for ac_func in _fmodl
32319 do :
32320 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32321 if test "x$ac_cv_func__fmodl" = x""yes; then :
32322 cat >>confdefs.h <<_ACEOF
32323 #define HAVE__FMODL 1
32324 _ACEOF
32327 done
32336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32337 $as_echo_n "checking for frexpl declaration... " >&6; }
32338 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32339 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32340 $as_echo_n "(cached) " >&6
32341 else
32344 ac_ext=cpp
32345 ac_cpp='$CXXCPP $CPPFLAGS'
32346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32351 /* end confdefs.h. */
32352 #include <math.h>
32354 main ()
32356 frexpl(0, 0);
32358 return 0;
32360 _ACEOF
32361 if ac_fn_cxx_try_compile "$LINENO"; then :
32362 glibcxx_cv_func_frexpl_use=yes
32363 else
32364 glibcxx_cv_func_frexpl_use=no
32366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32367 ac_ext=c
32368 ac_cpp='$CPP $CPPFLAGS'
32369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32378 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32380 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32381 for ac_func in frexpl
32382 do :
32383 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32384 if test "x$ac_cv_func_frexpl" = x""yes; then :
32385 cat >>confdefs.h <<_ACEOF
32386 #define HAVE_FREXPL 1
32387 _ACEOF
32390 done
32392 else
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32395 $as_echo_n "checking for _frexpl declaration... " >&6; }
32396 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32397 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32398 $as_echo_n "(cached) " >&6
32399 else
32402 ac_ext=cpp
32403 ac_cpp='$CXXCPP $CPPFLAGS'
32404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32409 /* end confdefs.h. */
32410 #include <math.h>
32412 main ()
32414 _frexpl(0, 0);
32416 return 0;
32418 _ACEOF
32419 if ac_fn_cxx_try_compile "$LINENO"; then :
32420 glibcxx_cv_func__frexpl_use=yes
32421 else
32422 glibcxx_cv_func__frexpl_use=no
32424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32425 ac_ext=c
32426 ac_cpp='$CPP $CPPFLAGS'
32427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32436 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32438 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32439 for ac_func in _frexpl
32440 do :
32441 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32442 if test "x$ac_cv_func__frexpl" = x""yes; then :
32443 cat >>confdefs.h <<_ACEOF
32444 #define HAVE__FREXPL 1
32445 _ACEOF
32448 done
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32458 $as_echo_n "checking for hypotl declaration... " >&6; }
32459 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32460 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32461 $as_echo_n "(cached) " >&6
32462 else
32465 ac_ext=cpp
32466 ac_cpp='$CXXCPP $CPPFLAGS'
32467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32472 /* end confdefs.h. */
32473 #include <math.h>
32475 main ()
32477 hypotl(0, 0);
32479 return 0;
32481 _ACEOF
32482 if ac_fn_cxx_try_compile "$LINENO"; then :
32483 glibcxx_cv_func_hypotl_use=yes
32484 else
32485 glibcxx_cv_func_hypotl_use=no
32487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32488 ac_ext=c
32489 ac_cpp='$CPP $CPPFLAGS'
32490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32499 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32501 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32502 for ac_func in hypotl
32503 do :
32504 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32505 if test "x$ac_cv_func_hypotl" = x""yes; then :
32506 cat >>confdefs.h <<_ACEOF
32507 #define HAVE_HYPOTL 1
32508 _ACEOF
32511 done
32513 else
32515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32516 $as_echo_n "checking for _hypotl declaration... " >&6; }
32517 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32518 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32519 $as_echo_n "(cached) " >&6
32520 else
32523 ac_ext=cpp
32524 ac_cpp='$CXXCPP $CPPFLAGS'
32525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32530 /* end confdefs.h. */
32531 #include <math.h>
32533 main ()
32535 _hypotl(0, 0);
32537 return 0;
32539 _ACEOF
32540 if ac_fn_cxx_try_compile "$LINENO"; then :
32541 glibcxx_cv_func__hypotl_use=yes
32542 else
32543 glibcxx_cv_func__hypotl_use=no
32545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32546 ac_ext=c
32547 ac_cpp='$CPP $CPPFLAGS'
32548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32557 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32559 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32560 for ac_func in _hypotl
32561 do :
32562 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32563 if test "x$ac_cv_func__hypotl" = x""yes; then :
32564 cat >>confdefs.h <<_ACEOF
32565 #define HAVE__HYPOTL 1
32566 _ACEOF
32569 done
32578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32579 $as_echo_n "checking for ldexpl declaration... " >&6; }
32580 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32581 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32582 $as_echo_n "(cached) " >&6
32583 else
32586 ac_ext=cpp
32587 ac_cpp='$CXXCPP $CPPFLAGS'
32588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32593 /* end confdefs.h. */
32594 #include <math.h>
32596 main ()
32598 ldexpl(0, 0);
32600 return 0;
32602 _ACEOF
32603 if ac_fn_cxx_try_compile "$LINENO"; then :
32604 glibcxx_cv_func_ldexpl_use=yes
32605 else
32606 glibcxx_cv_func_ldexpl_use=no
32608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32609 ac_ext=c
32610 ac_cpp='$CPP $CPPFLAGS'
32611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32620 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32622 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32623 for ac_func in ldexpl
32624 do :
32625 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32626 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32627 cat >>confdefs.h <<_ACEOF
32628 #define HAVE_LDEXPL 1
32629 _ACEOF
32632 done
32634 else
32636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32637 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32638 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32639 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32640 $as_echo_n "(cached) " >&6
32641 else
32644 ac_ext=cpp
32645 ac_cpp='$CXXCPP $CPPFLAGS'
32646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32651 /* end confdefs.h. */
32652 #include <math.h>
32654 main ()
32656 _ldexpl(0, 0);
32658 return 0;
32660 _ACEOF
32661 if ac_fn_cxx_try_compile "$LINENO"; then :
32662 glibcxx_cv_func__ldexpl_use=yes
32663 else
32664 glibcxx_cv_func__ldexpl_use=no
32666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32667 ac_ext=c
32668 ac_cpp='$CPP $CPPFLAGS'
32669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32678 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32680 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32681 for ac_func in _ldexpl
32682 do :
32683 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32684 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32685 cat >>confdefs.h <<_ACEOF
32686 #define HAVE__LDEXPL 1
32687 _ACEOF
32690 done
32699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32700 $as_echo_n "checking for logl declaration... " >&6; }
32701 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32702 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32703 $as_echo_n "(cached) " >&6
32704 else
32707 ac_ext=cpp
32708 ac_cpp='$CXXCPP $CPPFLAGS'
32709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32714 /* end confdefs.h. */
32715 #include <math.h>
32716 #ifdef HAVE_IEEEFP_H
32717 #include <ieeefp.h>
32718 #endif
32721 main ()
32723 logl(0);
32725 return 0;
32727 _ACEOF
32728 if ac_fn_cxx_try_compile "$LINENO"; then :
32729 glibcxx_cv_func_logl_use=yes
32730 else
32731 glibcxx_cv_func_logl_use=no
32733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32734 ac_ext=c
32735 ac_cpp='$CPP $CPPFLAGS'
32736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32745 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32747 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32748 for ac_func in logl
32749 do :
32750 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32751 if test "x$ac_cv_func_logl" = x""yes; then :
32752 cat >>confdefs.h <<_ACEOF
32753 #define HAVE_LOGL 1
32754 _ACEOF
32757 done
32759 else
32761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32762 $as_echo_n "checking for _logl declaration... " >&6; }
32763 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32764 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32765 $as_echo_n "(cached) " >&6
32766 else
32769 ac_ext=cpp
32770 ac_cpp='$CXXCPP $CPPFLAGS'
32771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32776 /* end confdefs.h. */
32777 #include <math.h>
32778 #ifdef HAVE_IEEEFP_H
32779 #include <ieeefp.h>
32780 #endif
32783 main ()
32785 _logl(0);
32787 return 0;
32789 _ACEOF
32790 if ac_fn_cxx_try_compile "$LINENO"; then :
32791 glibcxx_cv_func__logl_use=yes
32792 else
32793 glibcxx_cv_func__logl_use=no
32795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32796 ac_ext=c
32797 ac_cpp='$CPP $CPPFLAGS'
32798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32807 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32809 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32810 for ac_func in _logl
32811 do :
32812 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32813 if test "x$ac_cv_func__logl" = x""yes; then :
32814 cat >>confdefs.h <<_ACEOF
32815 #define HAVE__LOGL 1
32816 _ACEOF
32819 done
32828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32829 $as_echo_n "checking for log10l declaration... " >&6; }
32830 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32831 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32832 $as_echo_n "(cached) " >&6
32833 else
32836 ac_ext=cpp
32837 ac_cpp='$CXXCPP $CPPFLAGS'
32838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32843 /* end confdefs.h. */
32844 #include <math.h>
32845 #ifdef HAVE_IEEEFP_H
32846 #include <ieeefp.h>
32847 #endif
32850 main ()
32852 log10l(0);
32854 return 0;
32856 _ACEOF
32857 if ac_fn_cxx_try_compile "$LINENO"; then :
32858 glibcxx_cv_func_log10l_use=yes
32859 else
32860 glibcxx_cv_func_log10l_use=no
32862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32863 ac_ext=c
32864 ac_cpp='$CPP $CPPFLAGS'
32865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32874 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32876 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32877 for ac_func in log10l
32878 do :
32879 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32880 if test "x$ac_cv_func_log10l" = x""yes; then :
32881 cat >>confdefs.h <<_ACEOF
32882 #define HAVE_LOG10L 1
32883 _ACEOF
32886 done
32888 else
32890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32891 $as_echo_n "checking for _log10l declaration... " >&6; }
32892 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32893 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32894 $as_echo_n "(cached) " >&6
32895 else
32898 ac_ext=cpp
32899 ac_cpp='$CXXCPP $CPPFLAGS'
32900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32905 /* end confdefs.h. */
32906 #include <math.h>
32907 #ifdef HAVE_IEEEFP_H
32908 #include <ieeefp.h>
32909 #endif
32912 main ()
32914 _log10l(0);
32916 return 0;
32918 _ACEOF
32919 if ac_fn_cxx_try_compile "$LINENO"; then :
32920 glibcxx_cv_func__log10l_use=yes
32921 else
32922 glibcxx_cv_func__log10l_use=no
32924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32925 ac_ext=c
32926 ac_cpp='$CPP $CPPFLAGS'
32927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32936 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32938 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32939 for ac_func in _log10l
32940 do :
32941 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32942 if test "x$ac_cv_func__log10l" = x""yes; then :
32943 cat >>confdefs.h <<_ACEOF
32944 #define HAVE__LOG10L 1
32945 _ACEOF
32948 done
32957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32958 $as_echo_n "checking for modfl declaration... " >&6; }
32959 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32960 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32961 $as_echo_n "(cached) " >&6
32962 else
32965 ac_ext=cpp
32966 ac_cpp='$CXXCPP $CPPFLAGS'
32967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32972 /* end confdefs.h. */
32973 #include <math.h>
32975 main ()
32977 modfl(0, 0);
32979 return 0;
32981 _ACEOF
32982 if ac_fn_cxx_try_compile "$LINENO"; then :
32983 glibcxx_cv_func_modfl_use=yes
32984 else
32985 glibcxx_cv_func_modfl_use=no
32987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32988 ac_ext=c
32989 ac_cpp='$CPP $CPPFLAGS'
32990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32999 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33001 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33002 for ac_func in modfl
33003 do :
33004 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33005 if test "x$ac_cv_func_modfl" = x""yes; then :
33006 cat >>confdefs.h <<_ACEOF
33007 #define HAVE_MODFL 1
33008 _ACEOF
33011 done
33013 else
33015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33016 $as_echo_n "checking for _modfl declaration... " >&6; }
33017 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33018 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33019 $as_echo_n "(cached) " >&6
33020 else
33023 ac_ext=cpp
33024 ac_cpp='$CXXCPP $CPPFLAGS'
33025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33030 /* end confdefs.h. */
33031 #include <math.h>
33033 main ()
33035 _modfl(0, 0);
33037 return 0;
33039 _ACEOF
33040 if ac_fn_cxx_try_compile "$LINENO"; then :
33041 glibcxx_cv_func__modfl_use=yes
33042 else
33043 glibcxx_cv_func__modfl_use=no
33045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33046 ac_ext=c
33047 ac_cpp='$CPP $CPPFLAGS'
33048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33057 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33059 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33060 for ac_func in _modfl
33061 do :
33062 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33063 if test "x$ac_cv_func__modfl" = x""yes; then :
33064 cat >>confdefs.h <<_ACEOF
33065 #define HAVE__MODFL 1
33066 _ACEOF
33069 done
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33079 $as_echo_n "checking for powl declaration... " >&6; }
33080 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33081 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33082 $as_echo_n "(cached) " >&6
33083 else
33086 ac_ext=cpp
33087 ac_cpp='$CXXCPP $CPPFLAGS'
33088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33093 /* end confdefs.h. */
33094 #include <math.h>
33096 main ()
33098 powl(0, 0);
33100 return 0;
33102 _ACEOF
33103 if ac_fn_cxx_try_compile "$LINENO"; then :
33104 glibcxx_cv_func_powl_use=yes
33105 else
33106 glibcxx_cv_func_powl_use=no
33108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33109 ac_ext=c
33110 ac_cpp='$CPP $CPPFLAGS'
33111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33120 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33122 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33123 for ac_func in powl
33124 do :
33125 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33126 if test "x$ac_cv_func_powl" = x""yes; then :
33127 cat >>confdefs.h <<_ACEOF
33128 #define HAVE_POWL 1
33129 _ACEOF
33132 done
33134 else
33136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33137 $as_echo_n "checking for _powl declaration... " >&6; }
33138 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33139 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33140 $as_echo_n "(cached) " >&6
33141 else
33144 ac_ext=cpp
33145 ac_cpp='$CXXCPP $CPPFLAGS'
33146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33151 /* end confdefs.h. */
33152 #include <math.h>
33154 main ()
33156 _powl(0, 0);
33158 return 0;
33160 _ACEOF
33161 if ac_fn_cxx_try_compile "$LINENO"; then :
33162 glibcxx_cv_func__powl_use=yes
33163 else
33164 glibcxx_cv_func__powl_use=no
33166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33167 ac_ext=c
33168 ac_cpp='$CPP $CPPFLAGS'
33169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33178 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33180 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33181 for ac_func in _powl
33182 do :
33183 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33184 if test "x$ac_cv_func__powl" = x""yes; then :
33185 cat >>confdefs.h <<_ACEOF
33186 #define HAVE__POWL 1
33187 _ACEOF
33190 done
33199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33200 $as_echo_n "checking for sqrtl declaration... " >&6; }
33201 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33202 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33203 $as_echo_n "(cached) " >&6
33204 else
33207 ac_ext=cpp
33208 ac_cpp='$CXXCPP $CPPFLAGS'
33209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33214 /* end confdefs.h. */
33215 #include <math.h>
33216 #ifdef HAVE_IEEEFP_H
33217 #include <ieeefp.h>
33218 #endif
33221 main ()
33223 sqrtl(0);
33225 return 0;
33227 _ACEOF
33228 if ac_fn_cxx_try_compile "$LINENO"; then :
33229 glibcxx_cv_func_sqrtl_use=yes
33230 else
33231 glibcxx_cv_func_sqrtl_use=no
33233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33234 ac_ext=c
33235 ac_cpp='$CPP $CPPFLAGS'
33236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33245 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33247 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33248 for ac_func in sqrtl
33249 do :
33250 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33251 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33252 cat >>confdefs.h <<_ACEOF
33253 #define HAVE_SQRTL 1
33254 _ACEOF
33257 done
33259 else
33261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33262 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33263 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33264 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33265 $as_echo_n "(cached) " >&6
33266 else
33269 ac_ext=cpp
33270 ac_cpp='$CXXCPP $CPPFLAGS'
33271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33276 /* end confdefs.h. */
33277 #include <math.h>
33278 #ifdef HAVE_IEEEFP_H
33279 #include <ieeefp.h>
33280 #endif
33283 main ()
33285 _sqrtl(0);
33287 return 0;
33289 _ACEOF
33290 if ac_fn_cxx_try_compile "$LINENO"; then :
33291 glibcxx_cv_func__sqrtl_use=yes
33292 else
33293 glibcxx_cv_func__sqrtl_use=no
33295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33296 ac_ext=c
33297 ac_cpp='$CPP $CPPFLAGS'
33298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33307 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33309 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33310 for ac_func in _sqrtl
33311 do :
33312 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33313 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33314 cat >>confdefs.h <<_ACEOF
33315 #define HAVE__SQRTL 1
33316 _ACEOF
33319 done
33328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33329 $as_echo_n "checking for sincosl declaration... " >&6; }
33330 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33331 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33332 $as_echo_n "(cached) " >&6
33333 else
33336 ac_ext=cpp
33337 ac_cpp='$CXXCPP $CPPFLAGS'
33338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33343 /* end confdefs.h. */
33344 #include <math.h>
33346 main ()
33348 sincosl(0, 0, 0);
33350 return 0;
33352 _ACEOF
33353 if ac_fn_cxx_try_compile "$LINENO"; then :
33354 glibcxx_cv_func_sincosl_use=yes
33355 else
33356 glibcxx_cv_func_sincosl_use=no
33358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33359 ac_ext=c
33360 ac_cpp='$CPP $CPPFLAGS'
33361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33370 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33372 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33373 for ac_func in sincosl
33374 do :
33375 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33376 if test "x$ac_cv_func_sincosl" = x""yes; then :
33377 cat >>confdefs.h <<_ACEOF
33378 #define HAVE_SINCOSL 1
33379 _ACEOF
33382 done
33384 else
33386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33387 $as_echo_n "checking for _sincosl declaration... " >&6; }
33388 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33389 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33390 $as_echo_n "(cached) " >&6
33391 else
33394 ac_ext=cpp
33395 ac_cpp='$CXXCPP $CPPFLAGS'
33396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33401 /* end confdefs.h. */
33402 #include <math.h>
33404 main ()
33406 _sincosl(0, 0, 0);
33408 return 0;
33410 _ACEOF
33411 if ac_fn_cxx_try_compile "$LINENO"; then :
33412 glibcxx_cv_func__sincosl_use=yes
33413 else
33414 glibcxx_cv_func__sincosl_use=no
33416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33417 ac_ext=c
33418 ac_cpp='$CPP $CPPFLAGS'
33419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33428 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33430 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33431 for ac_func in _sincosl
33432 do :
33433 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33434 if test "x$ac_cv_func__sincosl" = x""yes; then :
33435 cat >>confdefs.h <<_ACEOF
33436 #define HAVE__SINCOSL 1
33437 _ACEOF
33440 done
33449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33450 $as_echo_n "checking for finitel declaration... " >&6; }
33451 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33452 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33453 $as_echo_n "(cached) " >&6
33454 else
33457 ac_ext=cpp
33458 ac_cpp='$CXXCPP $CPPFLAGS'
33459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33464 /* end confdefs.h. */
33465 #include <math.h>
33466 #ifdef HAVE_IEEEFP_H
33467 #include <ieeefp.h>
33468 #endif
33471 main ()
33473 finitel(0);
33475 return 0;
33477 _ACEOF
33478 if ac_fn_cxx_try_compile "$LINENO"; then :
33479 glibcxx_cv_func_finitel_use=yes
33480 else
33481 glibcxx_cv_func_finitel_use=no
33483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33484 ac_ext=c
33485 ac_cpp='$CPP $CPPFLAGS'
33486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33495 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33497 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33498 for ac_func in finitel
33499 do :
33500 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33501 if test "x$ac_cv_func_finitel" = x""yes; then :
33502 cat >>confdefs.h <<_ACEOF
33503 #define HAVE_FINITEL 1
33504 _ACEOF
33507 done
33509 else
33511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33512 $as_echo_n "checking for _finitel declaration... " >&6; }
33513 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33514 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33515 $as_echo_n "(cached) " >&6
33516 else
33519 ac_ext=cpp
33520 ac_cpp='$CXXCPP $CPPFLAGS'
33521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33526 /* end confdefs.h. */
33527 #include <math.h>
33528 #ifdef HAVE_IEEEFP_H
33529 #include <ieeefp.h>
33530 #endif
33533 main ()
33535 _finitel(0);
33537 return 0;
33539 _ACEOF
33540 if ac_fn_cxx_try_compile "$LINENO"; then :
33541 glibcxx_cv_func__finitel_use=yes
33542 else
33543 glibcxx_cv_func__finitel_use=no
33545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33546 ac_ext=c
33547 ac_cpp='$CPP $CPPFLAGS'
33548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33557 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33559 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33560 for ac_func in _finitel
33561 do :
33562 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33563 if test "x$ac_cv_func__finitel" = x""yes; then :
33564 cat >>confdefs.h <<_ACEOF
33565 #define HAVE__FINITEL 1
33566 _ACEOF
33569 done
33577 LIBS="$ac_save_LIBS"
33578 CXXFLAGS="$ac_save_CXXFLAGS"
33581 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33582 ac_save_CXXFLAGS="$CXXFLAGS"
33583 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33587 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33588 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33589 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33590 $as_echo_n "(cached) " >&6
33591 else
33594 ac_ext=cpp
33595 ac_cpp='$CXXCPP $CPPFLAGS'
33596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33601 /* end confdefs.h. */
33602 #include <stdlib.h>
33604 main ()
33606 at_quick_exit(0);
33608 return 0;
33610 _ACEOF
33611 if ac_fn_cxx_try_compile "$LINENO"; then :
33612 glibcxx_cv_func_at_quick_exit_use=yes
33613 else
33614 glibcxx_cv_func_at_quick_exit_use=no
33616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33617 ac_ext=c
33618 ac_cpp='$CPP $CPPFLAGS'
33619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33628 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33629 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33630 for ac_func in at_quick_exit
33631 do :
33632 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33633 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33634 cat >>confdefs.h <<_ACEOF
33635 #define HAVE_AT_QUICK_EXIT 1
33636 _ACEOF
33639 done
33644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33645 $as_echo_n "checking for quick_exit declaration... " >&6; }
33646 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33647 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33648 $as_echo_n "(cached) " >&6
33649 else
33652 ac_ext=cpp
33653 ac_cpp='$CXXCPP $CPPFLAGS'
33654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33659 /* end confdefs.h. */
33660 #include <stdlib.h>
33662 main ()
33664 quick_exit(0);
33666 return 0;
33668 _ACEOF
33669 if ac_fn_cxx_try_compile "$LINENO"; then :
33670 glibcxx_cv_func_quick_exit_use=yes
33671 else
33672 glibcxx_cv_func_quick_exit_use=no
33674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33675 ac_ext=c
33676 ac_cpp='$CPP $CPPFLAGS'
33677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33686 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33687 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33688 for ac_func in quick_exit
33689 do :
33690 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33691 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33692 cat >>confdefs.h <<_ACEOF
33693 #define HAVE_QUICK_EXIT 1
33694 _ACEOF
33697 done
33702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33703 $as_echo_n "checking for strtold declaration... " >&6; }
33704 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33705 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33706 $as_echo_n "(cached) " >&6
33707 else
33710 ac_ext=cpp
33711 ac_cpp='$CXXCPP $CPPFLAGS'
33712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33717 /* end confdefs.h. */
33718 #include <stdlib.h>
33720 main ()
33722 strtold(0, 0);
33724 return 0;
33726 _ACEOF
33727 if ac_fn_cxx_try_compile "$LINENO"; then :
33728 glibcxx_cv_func_strtold_use=yes
33729 else
33730 glibcxx_cv_func_strtold_use=no
33732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33733 ac_ext=c
33734 ac_cpp='$CPP $CPPFLAGS'
33735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33744 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33745 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33746 for ac_func in strtold
33747 do :
33748 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33749 if test "x$ac_cv_func_strtold" = x""yes; then :
33750 cat >>confdefs.h <<_ACEOF
33751 #define HAVE_STRTOLD 1
33752 _ACEOF
33755 done
33762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33763 $as_echo_n "checking for strtof declaration... " >&6; }
33764 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33765 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33766 $as_echo_n "(cached) " >&6
33767 else
33770 ac_ext=cpp
33771 ac_cpp='$CXXCPP $CPPFLAGS'
33772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33777 /* end confdefs.h. */
33778 #include <stdlib.h>
33780 main ()
33782 strtof(0, 0);
33784 return 0;
33786 _ACEOF
33787 if ac_fn_cxx_try_compile "$LINENO"; then :
33788 glibcxx_cv_func_strtof_use=yes
33789 else
33790 glibcxx_cv_func_strtof_use=no
33792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33793 ac_ext=c
33794 ac_cpp='$CPP $CPPFLAGS'
33795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33804 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33805 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33806 for ac_func in strtof
33807 do :
33808 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33809 if test "x$ac_cv_func_strtof" = x""yes; then :
33810 cat >>confdefs.h <<_ACEOF
33811 #define HAVE_STRTOF 1
33812 _ACEOF
33815 done
33822 CXXFLAGS="$ac_save_CXXFLAGS"
33825 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33827 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33829 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33831 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33834 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33836 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33838 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33842 spu-*-elf*)
33844 # All these tests are for C++; save the language and the compiler flags.
33845 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33846 # found in GLIBCXX_CONFIGURE.
33848 ac_ext=cpp
33849 ac_cpp='$CXXCPP $CPPFLAGS'
33850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33854 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33855 ac_save_CXXFLAGS="$CXXFLAGS"
33857 # Check for maintainer-mode bits.
33858 if test x"$USE_MAINTAINER_MODE" = xno; then
33859 WERROR=''
33860 else
33861 WERROR='-Werror'
33864 # Check for -ffunction-sections -fdata-sections
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33866 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33867 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33869 /* end confdefs.h. */
33870 int foo; void bar() { };
33872 main ()
33876 return 0;
33878 _ACEOF
33879 if ac_fn_cxx_try_compile "$LINENO"; then :
33880 ac_fdsections=yes
33881 else
33882 ac_fdsections=no
33884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33885 if test "$ac_test_CXXFLAGS" = set; then
33886 CXXFLAGS="$ac_save_CXXFLAGS"
33887 else
33888 # this is the suspicious part
33889 CXXFLAGS=''
33891 if test x"$ac_fdsections" = x"yes"; then
33892 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33895 $as_echo "$ac_fdsections" >&6; }
33897 ac_ext=c
33898 ac_cpp='$CPP $CPPFLAGS'
33899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33907 # If we're not using GNU ld, then there's no point in even trying these
33908 # tests. Check for that first. We should have already tested for gld
33909 # by now (in libtool), but require it now just to be safe...
33910 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33911 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33915 # The name set by libtool depends on the version of libtool. Shame on us
33916 # for depending on an impl detail, but c'est la vie. Older versions used
33917 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33918 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33919 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33920 # set (hence we're using an older libtool), then set it.
33921 if test x${with_gnu_ld+set} != xset; then
33922 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33923 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33924 with_gnu_ld=no
33925 else
33926 with_gnu_ld=$ac_cv_prog_gnu_ld
33930 # Start by getting the version number. I think the libtool test already
33931 # does some of this, but throws away the result.
33932 glibcxx_ld_is_gold=no
33933 if test x"$with_gnu_ld" = x"yes"; then
33934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33935 $as_echo_n "checking for ld version... " >&6; }
33937 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33938 glibcxx_ld_is_gold=yes
33940 ldver=`$LD --version 2>/dev/null |
33941 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'`
33943 glibcxx_gnu_ld_version=`echo $ldver | \
33944 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33946 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33949 # Set --gc-sections.
33950 glibcxx_have_gc_sections=no
33951 if test "$glibcxx_ld_is_gold" = "yes"; then
33952 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33953 glibcxx_have_gc_sections=yes
33955 else
33956 glibcxx_gcsections_min_ld=21602
33957 if test x"$with_gnu_ld" = x"yes" &&
33958 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33959 glibcxx_have_gc_sections=yes
33962 if test "$glibcxx_have_gc_sections" = "yes"; then
33963 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33964 # NB: This flag only works reliably after 2.16.1. Configure tests
33965 # for this are difficult, so hard wire a value that should work.
33967 ac_test_CFLAGS="${CFLAGS+set}"
33968 ac_save_CFLAGS="$CFLAGS"
33969 CFLAGS='-Wl,--gc-sections'
33971 # Check for -Wl,--gc-sections
33972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33973 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33974 if test x$gcc_no_link = xyes; then
33975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33978 /* end confdefs.h. */
33979 int one(void) { return 1; }
33980 int two(void) { return 2; }
33983 main ()
33985 two();
33987 return 0;
33989 _ACEOF
33990 if ac_fn_c_try_link "$LINENO"; then :
33991 ac_gcsections=yes
33992 else
33993 ac_gcsections=no
33995 rm -f core conftest.err conftest.$ac_objext \
33996 conftest$ac_exeext conftest.$ac_ext
33997 if test "$ac_gcsections" = "yes"; then
33998 rm -f conftest.c
33999 touch conftest.c
34000 if $CC -c conftest.c; then
34001 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34002 grep "Warning: gc-sections option ignored" > /dev/null; then
34003 ac_gcsections=no
34006 rm -f conftest.c conftest.o conftest
34008 if test "$ac_gcsections" = "yes"; then
34009 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34012 $as_echo "$ac_gcsections" >&6; }
34014 if test "$ac_test_CFLAGS" = set; then
34015 CFLAGS="$ac_save_CFLAGS"
34016 else
34017 # this is the suspicious part
34018 CFLAGS=''
34022 # Set -z,relro.
34023 # Note this is only for shared objects.
34024 ac_ld_relro=no
34025 if test x"$with_gnu_ld" = x"yes"; then
34026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34027 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34028 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34029 if test -n "$cxx_z_relo"; then
34030 OPT_LDFLAGS="-Wl,-z,relro"
34031 ac_ld_relro=yes
34033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34034 $as_echo "$ac_ld_relro" >&6; }
34037 # Set linker optimization flags.
34038 if test x"$with_gnu_ld" = x"yes"; then
34039 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34046 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34047 ac_save_CXXFLAGS="$CXXFLAGS"
34048 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34051 $as_echo_n "checking for sin in -lm... " >&6; }
34052 if test "${ac_cv_lib_m_sin+set}" = set; then :
34053 $as_echo_n "(cached) " >&6
34054 else
34055 ac_check_lib_save_LIBS=$LIBS
34056 LIBS="-lm $LIBS"
34057 if test x$gcc_no_link = xyes; then
34058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34061 /* end confdefs.h. */
34063 /* Override any GCC internal prototype to avoid an error.
34064 Use char because int might match the return type of a GCC
34065 builtin and then its argument prototype would still apply. */
34066 #ifdef __cplusplus
34067 extern "C"
34068 #endif
34069 char sin ();
34071 main ()
34073 return sin ();
34075 return 0;
34077 _ACEOF
34078 if ac_fn_c_try_link "$LINENO"; then :
34079 ac_cv_lib_m_sin=yes
34080 else
34081 ac_cv_lib_m_sin=no
34083 rm -f core conftest.err conftest.$ac_objext \
34084 conftest$ac_exeext conftest.$ac_ext
34085 LIBS=$ac_check_lib_save_LIBS
34087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34088 $as_echo "$ac_cv_lib_m_sin" >&6; }
34089 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34090 libm="-lm"
34093 ac_save_LIBS="$LIBS"
34094 LIBS="$LIBS $libm"
34098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34099 $as_echo_n "checking for isinf declaration... " >&6; }
34100 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34101 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34102 $as_echo_n "(cached) " >&6
34103 else
34106 ac_ext=cpp
34107 ac_cpp='$CXXCPP $CPPFLAGS'
34108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34113 /* end confdefs.h. */
34114 #include <math.h>
34115 #ifdef HAVE_IEEEFP_H
34116 #include <ieeefp.h>
34117 #endif
34120 main ()
34122 isinf(0);
34124 return 0;
34126 _ACEOF
34127 if ac_fn_cxx_try_compile "$LINENO"; then :
34128 glibcxx_cv_func_isinf_use=yes
34129 else
34130 glibcxx_cv_func_isinf_use=no
34132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34133 ac_ext=c
34134 ac_cpp='$CPP $CPPFLAGS'
34135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34144 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34146 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34147 for ac_func in isinf
34148 do :
34149 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34150 if test "x$ac_cv_func_isinf" = x""yes; then :
34151 cat >>confdefs.h <<_ACEOF
34152 #define HAVE_ISINF 1
34153 _ACEOF
34156 done
34158 else
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34161 $as_echo_n "checking for _isinf declaration... " >&6; }
34162 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34163 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34164 $as_echo_n "(cached) " >&6
34165 else
34168 ac_ext=cpp
34169 ac_cpp='$CXXCPP $CPPFLAGS'
34170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34175 /* end confdefs.h. */
34176 #include <math.h>
34177 #ifdef HAVE_IEEEFP_H
34178 #include <ieeefp.h>
34179 #endif
34182 main ()
34184 _isinf(0);
34186 return 0;
34188 _ACEOF
34189 if ac_fn_cxx_try_compile "$LINENO"; then :
34190 glibcxx_cv_func__isinf_use=yes
34191 else
34192 glibcxx_cv_func__isinf_use=no
34194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34195 ac_ext=c
34196 ac_cpp='$CPP $CPPFLAGS'
34197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34206 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34208 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34209 for ac_func in _isinf
34210 do :
34211 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34212 if test "x$ac_cv_func__isinf" = x""yes; then :
34213 cat >>confdefs.h <<_ACEOF
34214 #define HAVE__ISINF 1
34215 _ACEOF
34218 done
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34228 $as_echo_n "checking for isnan declaration... " >&6; }
34229 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34230 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34231 $as_echo_n "(cached) " >&6
34232 else
34235 ac_ext=cpp
34236 ac_cpp='$CXXCPP $CPPFLAGS'
34237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34242 /* end confdefs.h. */
34243 #include <math.h>
34244 #ifdef HAVE_IEEEFP_H
34245 #include <ieeefp.h>
34246 #endif
34249 main ()
34251 isnan(0);
34253 return 0;
34255 _ACEOF
34256 if ac_fn_cxx_try_compile "$LINENO"; then :
34257 glibcxx_cv_func_isnan_use=yes
34258 else
34259 glibcxx_cv_func_isnan_use=no
34261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34262 ac_ext=c
34263 ac_cpp='$CPP $CPPFLAGS'
34264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34273 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34275 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34276 for ac_func in isnan
34277 do :
34278 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34279 if test "x$ac_cv_func_isnan" = x""yes; then :
34280 cat >>confdefs.h <<_ACEOF
34281 #define HAVE_ISNAN 1
34282 _ACEOF
34285 done
34287 else
34289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34290 $as_echo_n "checking for _isnan declaration... " >&6; }
34291 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34292 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34293 $as_echo_n "(cached) " >&6
34294 else
34297 ac_ext=cpp
34298 ac_cpp='$CXXCPP $CPPFLAGS'
34299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34304 /* end confdefs.h. */
34305 #include <math.h>
34306 #ifdef HAVE_IEEEFP_H
34307 #include <ieeefp.h>
34308 #endif
34311 main ()
34313 _isnan(0);
34315 return 0;
34317 _ACEOF
34318 if ac_fn_cxx_try_compile "$LINENO"; then :
34319 glibcxx_cv_func__isnan_use=yes
34320 else
34321 glibcxx_cv_func__isnan_use=no
34323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34324 ac_ext=c
34325 ac_cpp='$CPP $CPPFLAGS'
34326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34335 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34337 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34338 for ac_func in _isnan
34339 do :
34340 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34341 if test "x$ac_cv_func__isnan" = x""yes; then :
34342 cat >>confdefs.h <<_ACEOF
34343 #define HAVE__ISNAN 1
34344 _ACEOF
34347 done
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34357 $as_echo_n "checking for finite declaration... " >&6; }
34358 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34359 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34360 $as_echo_n "(cached) " >&6
34361 else
34364 ac_ext=cpp
34365 ac_cpp='$CXXCPP $CPPFLAGS'
34366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34371 /* end confdefs.h. */
34372 #include <math.h>
34373 #ifdef HAVE_IEEEFP_H
34374 #include <ieeefp.h>
34375 #endif
34378 main ()
34380 finite(0);
34382 return 0;
34384 _ACEOF
34385 if ac_fn_cxx_try_compile "$LINENO"; then :
34386 glibcxx_cv_func_finite_use=yes
34387 else
34388 glibcxx_cv_func_finite_use=no
34390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34391 ac_ext=c
34392 ac_cpp='$CPP $CPPFLAGS'
34393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34402 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34404 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34405 for ac_func in finite
34406 do :
34407 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34408 if test "x$ac_cv_func_finite" = x""yes; then :
34409 cat >>confdefs.h <<_ACEOF
34410 #define HAVE_FINITE 1
34411 _ACEOF
34414 done
34416 else
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34419 $as_echo_n "checking for _finite declaration... " >&6; }
34420 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34421 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34422 $as_echo_n "(cached) " >&6
34423 else
34426 ac_ext=cpp
34427 ac_cpp='$CXXCPP $CPPFLAGS'
34428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34433 /* end confdefs.h. */
34434 #include <math.h>
34435 #ifdef HAVE_IEEEFP_H
34436 #include <ieeefp.h>
34437 #endif
34440 main ()
34442 _finite(0);
34444 return 0;
34446 _ACEOF
34447 if ac_fn_cxx_try_compile "$LINENO"; then :
34448 glibcxx_cv_func__finite_use=yes
34449 else
34450 glibcxx_cv_func__finite_use=no
34452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34453 ac_ext=c
34454 ac_cpp='$CPP $CPPFLAGS'
34455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34464 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34466 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34467 for ac_func in _finite
34468 do :
34469 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34470 if test "x$ac_cv_func__finite" = x""yes; then :
34471 cat >>confdefs.h <<_ACEOF
34472 #define HAVE__FINITE 1
34473 _ACEOF
34476 done
34485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34486 $as_echo_n "checking for sincos declaration... " >&6; }
34487 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34488 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34489 $as_echo_n "(cached) " >&6
34490 else
34493 ac_ext=cpp
34494 ac_cpp='$CXXCPP $CPPFLAGS'
34495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34500 /* end confdefs.h. */
34501 #include <math.h>
34503 main ()
34505 sincos(0, 0, 0);
34507 return 0;
34509 _ACEOF
34510 if ac_fn_cxx_try_compile "$LINENO"; then :
34511 glibcxx_cv_func_sincos_use=yes
34512 else
34513 glibcxx_cv_func_sincos_use=no
34515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34516 ac_ext=c
34517 ac_cpp='$CPP $CPPFLAGS'
34518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34527 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34529 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34530 for ac_func in sincos
34531 do :
34532 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34533 if test "x$ac_cv_func_sincos" = x""yes; then :
34534 cat >>confdefs.h <<_ACEOF
34535 #define HAVE_SINCOS 1
34536 _ACEOF
34539 done
34541 else
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34544 $as_echo_n "checking for _sincos declaration... " >&6; }
34545 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34546 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34547 $as_echo_n "(cached) " >&6
34548 else
34551 ac_ext=cpp
34552 ac_cpp='$CXXCPP $CPPFLAGS'
34553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34558 /* end confdefs.h. */
34559 #include <math.h>
34561 main ()
34563 _sincos(0, 0, 0);
34565 return 0;
34567 _ACEOF
34568 if ac_fn_cxx_try_compile "$LINENO"; then :
34569 glibcxx_cv_func__sincos_use=yes
34570 else
34571 glibcxx_cv_func__sincos_use=no
34573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34574 ac_ext=c
34575 ac_cpp='$CPP $CPPFLAGS'
34576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34585 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34587 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34588 for ac_func in _sincos
34589 do :
34590 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34591 if test "x$ac_cv_func__sincos" = x""yes; then :
34592 cat >>confdefs.h <<_ACEOF
34593 #define HAVE__SINCOS 1
34594 _ACEOF
34597 done
34606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34607 $as_echo_n "checking for fpclass declaration... " >&6; }
34608 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34609 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34610 $as_echo_n "(cached) " >&6
34611 else
34614 ac_ext=cpp
34615 ac_cpp='$CXXCPP $CPPFLAGS'
34616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34621 /* end confdefs.h. */
34622 #include <math.h>
34623 #ifdef HAVE_IEEEFP_H
34624 #include <ieeefp.h>
34625 #endif
34628 main ()
34630 fpclass(0);
34632 return 0;
34634 _ACEOF
34635 if ac_fn_cxx_try_compile "$LINENO"; then :
34636 glibcxx_cv_func_fpclass_use=yes
34637 else
34638 glibcxx_cv_func_fpclass_use=no
34640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34641 ac_ext=c
34642 ac_cpp='$CPP $CPPFLAGS'
34643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34652 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34654 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34655 for ac_func in fpclass
34656 do :
34657 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34658 if test "x$ac_cv_func_fpclass" = x""yes; then :
34659 cat >>confdefs.h <<_ACEOF
34660 #define HAVE_FPCLASS 1
34661 _ACEOF
34664 done
34666 else
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34669 $as_echo_n "checking for _fpclass declaration... " >&6; }
34670 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34671 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34672 $as_echo_n "(cached) " >&6
34673 else
34676 ac_ext=cpp
34677 ac_cpp='$CXXCPP $CPPFLAGS'
34678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34683 /* end confdefs.h. */
34684 #include <math.h>
34685 #ifdef HAVE_IEEEFP_H
34686 #include <ieeefp.h>
34687 #endif
34690 main ()
34692 _fpclass(0);
34694 return 0;
34696 _ACEOF
34697 if ac_fn_cxx_try_compile "$LINENO"; then :
34698 glibcxx_cv_func__fpclass_use=yes
34699 else
34700 glibcxx_cv_func__fpclass_use=no
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34703 ac_ext=c
34704 ac_cpp='$CPP $CPPFLAGS'
34705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34714 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34716 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34717 for ac_func in _fpclass
34718 do :
34719 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34720 if test "x$ac_cv_func__fpclass" = x""yes; then :
34721 cat >>confdefs.h <<_ACEOF
34722 #define HAVE__FPCLASS 1
34723 _ACEOF
34726 done
34735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34736 $as_echo_n "checking for qfpclass declaration... " >&6; }
34737 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34738 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34739 $as_echo_n "(cached) " >&6
34740 else
34743 ac_ext=cpp
34744 ac_cpp='$CXXCPP $CPPFLAGS'
34745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34750 /* end confdefs.h. */
34751 #include <math.h>
34752 #ifdef HAVE_IEEEFP_H
34753 #include <ieeefp.h>
34754 #endif
34757 main ()
34759 qfpclass(0);
34761 return 0;
34763 _ACEOF
34764 if ac_fn_cxx_try_compile "$LINENO"; then :
34765 glibcxx_cv_func_qfpclass_use=yes
34766 else
34767 glibcxx_cv_func_qfpclass_use=no
34769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34770 ac_ext=c
34771 ac_cpp='$CPP $CPPFLAGS'
34772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34781 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34783 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34784 for ac_func in qfpclass
34785 do :
34786 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34787 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34788 cat >>confdefs.h <<_ACEOF
34789 #define HAVE_QFPCLASS 1
34790 _ACEOF
34793 done
34795 else
34797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34798 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34799 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34800 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34801 $as_echo_n "(cached) " >&6
34802 else
34805 ac_ext=cpp
34806 ac_cpp='$CXXCPP $CPPFLAGS'
34807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34812 /* end confdefs.h. */
34813 #include <math.h>
34814 #ifdef HAVE_IEEEFP_H
34815 #include <ieeefp.h>
34816 #endif
34819 main ()
34821 _qfpclass(0);
34823 return 0;
34825 _ACEOF
34826 if ac_fn_cxx_try_compile "$LINENO"; then :
34827 glibcxx_cv_func__qfpclass_use=yes
34828 else
34829 glibcxx_cv_func__qfpclass_use=no
34831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34832 ac_ext=c
34833 ac_cpp='$CPP $CPPFLAGS'
34834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34843 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34845 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34846 for ac_func in _qfpclass
34847 do :
34848 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34849 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34850 cat >>confdefs.h <<_ACEOF
34851 #define HAVE__QFPCLASS 1
34852 _ACEOF
34855 done
34864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34865 $as_echo_n "checking for hypot declaration... " >&6; }
34866 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34867 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34868 $as_echo_n "(cached) " >&6
34869 else
34872 ac_ext=cpp
34873 ac_cpp='$CXXCPP $CPPFLAGS'
34874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34879 /* end confdefs.h. */
34880 #include <math.h>
34882 main ()
34884 hypot(0, 0);
34886 return 0;
34888 _ACEOF
34889 if ac_fn_cxx_try_compile "$LINENO"; then :
34890 glibcxx_cv_func_hypot_use=yes
34891 else
34892 glibcxx_cv_func_hypot_use=no
34894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34895 ac_ext=c
34896 ac_cpp='$CPP $CPPFLAGS'
34897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34906 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34908 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34909 for ac_func in hypot
34910 do :
34911 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34912 if test "x$ac_cv_func_hypot" = x""yes; then :
34913 cat >>confdefs.h <<_ACEOF
34914 #define HAVE_HYPOT 1
34915 _ACEOF
34918 done
34920 else
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34923 $as_echo_n "checking for _hypot declaration... " >&6; }
34924 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34925 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34926 $as_echo_n "(cached) " >&6
34927 else
34930 ac_ext=cpp
34931 ac_cpp='$CXXCPP $CPPFLAGS'
34932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34937 /* end confdefs.h. */
34938 #include <math.h>
34940 main ()
34942 _hypot(0, 0);
34944 return 0;
34946 _ACEOF
34947 if ac_fn_cxx_try_compile "$LINENO"; then :
34948 glibcxx_cv_func__hypot_use=yes
34949 else
34950 glibcxx_cv_func__hypot_use=no
34952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34953 ac_ext=c
34954 ac_cpp='$CPP $CPPFLAGS'
34955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34964 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34966 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34967 for ac_func in _hypot
34968 do :
34969 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34970 if test "x$ac_cv_func__hypot" = x""yes; then :
34971 cat >>confdefs.h <<_ACEOF
34972 #define HAVE__HYPOT 1
34973 _ACEOF
34976 done
34985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34986 $as_echo_n "checking for float trig functions... " >&6; }
34987 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34988 $as_echo_n "(cached) " >&6
34989 else
34992 ac_ext=cpp
34993 ac_cpp='$CXXCPP $CPPFLAGS'
34994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34999 /* end confdefs.h. */
35000 #include <math.h>
35002 main ()
35004 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35006 return 0;
35008 _ACEOF
35009 if ac_fn_cxx_try_compile "$LINENO"; then :
35010 glibcxx_cv_func_float_trig_use=yes
35011 else
35012 glibcxx_cv_func_float_trig_use=no
35014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35015 ac_ext=c
35016 ac_cpp='$CPP $CPPFLAGS'
35017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35024 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35025 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35026 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35027 do :
35028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35030 eval as_val=\$$as_ac_var
35031 if test "x$as_val" = x""yes; then :
35032 cat >>confdefs.h <<_ACEOF
35033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35034 _ACEOF
35037 done
35039 else
35040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35041 $as_echo_n "checking for _float trig functions... " >&6; }
35042 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35043 $as_echo_n "(cached) " >&6
35044 else
35047 ac_ext=cpp
35048 ac_cpp='$CXXCPP $CPPFLAGS'
35049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h. */
35055 #include <math.h>
35057 main ()
35059 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35061 return 0;
35063 _ACEOF
35064 if ac_fn_cxx_try_compile "$LINENO"; then :
35065 glibcxx_cv_func__float_trig_use=yes
35066 else
35067 glibcxx_cv_func__float_trig_use=no
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070 ac_ext=c
35071 ac_cpp='$CPP $CPPFLAGS'
35072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35079 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35080 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35081 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35082 do :
35083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35085 eval as_val=\$$as_ac_var
35086 if test "x$as_val" = x""yes; then :
35087 cat >>confdefs.h <<_ACEOF
35088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35089 _ACEOF
35092 done
35101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35102 $as_echo_n "checking for float round functions... " >&6; }
35103 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35104 $as_echo_n "(cached) " >&6
35105 else
35108 ac_ext=cpp
35109 ac_cpp='$CXXCPP $CPPFLAGS'
35110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35115 /* end confdefs.h. */
35116 #include <math.h>
35118 main ()
35120 ceilf (0); floorf (0);
35122 return 0;
35124 _ACEOF
35125 if ac_fn_cxx_try_compile "$LINENO"; then :
35126 glibcxx_cv_func_float_round_use=yes
35127 else
35128 glibcxx_cv_func_float_round_use=no
35130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35131 ac_ext=c
35132 ac_cpp='$CPP $CPPFLAGS'
35133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35140 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35141 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35142 for ac_func in ceilf floorf
35143 do :
35144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35146 eval as_val=\$$as_ac_var
35147 if test "x$as_val" = x""yes; then :
35148 cat >>confdefs.h <<_ACEOF
35149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35150 _ACEOF
35153 done
35155 else
35156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35157 $as_echo_n "checking for _float round functions... " >&6; }
35158 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35159 $as_echo_n "(cached) " >&6
35160 else
35163 ac_ext=cpp
35164 ac_cpp='$CXXCPP $CPPFLAGS'
35165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35170 /* end confdefs.h. */
35171 #include <math.h>
35173 main ()
35175 _ceilf (0); _floorf (0);
35177 return 0;
35179 _ACEOF
35180 if ac_fn_cxx_try_compile "$LINENO"; then :
35181 glibcxx_cv_func__float_round_use=yes
35182 else
35183 glibcxx_cv_func__float_round_use=no
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186 ac_ext=c
35187 ac_cpp='$CPP $CPPFLAGS'
35188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35195 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35196 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35197 for ac_func in _ceilf _floorf
35198 do :
35199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35201 eval as_val=\$$as_ac_var
35202 if test "x$as_val" = x""yes; then :
35203 cat >>confdefs.h <<_ACEOF
35204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35205 _ACEOF
35208 done
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35219 $as_echo_n "checking for expf declaration... " >&6; }
35220 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35221 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35222 $as_echo_n "(cached) " >&6
35223 else
35226 ac_ext=cpp
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35233 /* end confdefs.h. */
35234 #include <math.h>
35235 #ifdef HAVE_IEEEFP_H
35236 #include <ieeefp.h>
35237 #endif
35240 main ()
35242 expf(0);
35244 return 0;
35246 _ACEOF
35247 if ac_fn_cxx_try_compile "$LINENO"; then :
35248 glibcxx_cv_func_expf_use=yes
35249 else
35250 glibcxx_cv_func_expf_use=no
35252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35253 ac_ext=c
35254 ac_cpp='$CPP $CPPFLAGS'
35255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35264 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35266 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35267 for ac_func in expf
35268 do :
35269 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35270 if test "x$ac_cv_func_expf" = x""yes; then :
35271 cat >>confdefs.h <<_ACEOF
35272 #define HAVE_EXPF 1
35273 _ACEOF
35276 done
35278 else
35280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35281 $as_echo_n "checking for _expf declaration... " >&6; }
35282 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35283 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35284 $as_echo_n "(cached) " >&6
35285 else
35288 ac_ext=cpp
35289 ac_cpp='$CXXCPP $CPPFLAGS'
35290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35295 /* end confdefs.h. */
35296 #include <math.h>
35297 #ifdef HAVE_IEEEFP_H
35298 #include <ieeefp.h>
35299 #endif
35302 main ()
35304 _expf(0);
35306 return 0;
35308 _ACEOF
35309 if ac_fn_cxx_try_compile "$LINENO"; then :
35310 glibcxx_cv_func__expf_use=yes
35311 else
35312 glibcxx_cv_func__expf_use=no
35314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35315 ac_ext=c
35316 ac_cpp='$CPP $CPPFLAGS'
35317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35326 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35328 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35329 for ac_func in _expf
35330 do :
35331 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35332 if test "x$ac_cv_func__expf" = x""yes; then :
35333 cat >>confdefs.h <<_ACEOF
35334 #define HAVE__EXPF 1
35335 _ACEOF
35338 done
35347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35348 $as_echo_n "checking for isnanf declaration... " >&6; }
35349 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35350 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35351 $as_echo_n "(cached) " >&6
35352 else
35355 ac_ext=cpp
35356 ac_cpp='$CXXCPP $CPPFLAGS'
35357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35362 /* end confdefs.h. */
35363 #include <math.h>
35364 #ifdef HAVE_IEEEFP_H
35365 #include <ieeefp.h>
35366 #endif
35369 main ()
35371 isnanf(0);
35373 return 0;
35375 _ACEOF
35376 if ac_fn_cxx_try_compile "$LINENO"; then :
35377 glibcxx_cv_func_isnanf_use=yes
35378 else
35379 glibcxx_cv_func_isnanf_use=no
35381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35382 ac_ext=c
35383 ac_cpp='$CPP $CPPFLAGS'
35384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35393 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35395 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35396 for ac_func in isnanf
35397 do :
35398 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35399 if test "x$ac_cv_func_isnanf" = x""yes; then :
35400 cat >>confdefs.h <<_ACEOF
35401 #define HAVE_ISNANF 1
35402 _ACEOF
35405 done
35407 else
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35410 $as_echo_n "checking for _isnanf declaration... " >&6; }
35411 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35412 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35413 $as_echo_n "(cached) " >&6
35414 else
35417 ac_ext=cpp
35418 ac_cpp='$CXXCPP $CPPFLAGS'
35419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35424 /* end confdefs.h. */
35425 #include <math.h>
35426 #ifdef HAVE_IEEEFP_H
35427 #include <ieeefp.h>
35428 #endif
35431 main ()
35433 _isnanf(0);
35435 return 0;
35437 _ACEOF
35438 if ac_fn_cxx_try_compile "$LINENO"; then :
35439 glibcxx_cv_func__isnanf_use=yes
35440 else
35441 glibcxx_cv_func__isnanf_use=no
35443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35444 ac_ext=c
35445 ac_cpp='$CPP $CPPFLAGS'
35446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35455 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35457 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35458 for ac_func in _isnanf
35459 do :
35460 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35461 if test "x$ac_cv_func__isnanf" = x""yes; then :
35462 cat >>confdefs.h <<_ACEOF
35463 #define HAVE__ISNANF 1
35464 _ACEOF
35467 done
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35477 $as_echo_n "checking for isinff declaration... " >&6; }
35478 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35479 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35480 $as_echo_n "(cached) " >&6
35481 else
35484 ac_ext=cpp
35485 ac_cpp='$CXXCPP $CPPFLAGS'
35486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35491 /* end confdefs.h. */
35492 #include <math.h>
35493 #ifdef HAVE_IEEEFP_H
35494 #include <ieeefp.h>
35495 #endif
35498 main ()
35500 isinff(0);
35502 return 0;
35504 _ACEOF
35505 if ac_fn_cxx_try_compile "$LINENO"; then :
35506 glibcxx_cv_func_isinff_use=yes
35507 else
35508 glibcxx_cv_func_isinff_use=no
35510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511 ac_ext=c
35512 ac_cpp='$CPP $CPPFLAGS'
35513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35522 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35524 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35525 for ac_func in isinff
35526 do :
35527 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35528 if test "x$ac_cv_func_isinff" = x""yes; then :
35529 cat >>confdefs.h <<_ACEOF
35530 #define HAVE_ISINFF 1
35531 _ACEOF
35534 done
35536 else
35538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35539 $as_echo_n "checking for _isinff declaration... " >&6; }
35540 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35541 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35542 $as_echo_n "(cached) " >&6
35543 else
35546 ac_ext=cpp
35547 ac_cpp='$CXXCPP $CPPFLAGS'
35548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35553 /* end confdefs.h. */
35554 #include <math.h>
35555 #ifdef HAVE_IEEEFP_H
35556 #include <ieeefp.h>
35557 #endif
35560 main ()
35562 _isinff(0);
35564 return 0;
35566 _ACEOF
35567 if ac_fn_cxx_try_compile "$LINENO"; then :
35568 glibcxx_cv_func__isinff_use=yes
35569 else
35570 glibcxx_cv_func__isinff_use=no
35572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35573 ac_ext=c
35574 ac_cpp='$CPP $CPPFLAGS'
35575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35584 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35586 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35587 for ac_func in _isinff
35588 do :
35589 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35590 if test "x$ac_cv_func__isinff" = x""yes; then :
35591 cat >>confdefs.h <<_ACEOF
35592 #define HAVE__ISINFF 1
35593 _ACEOF
35596 done
35605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35606 $as_echo_n "checking for atan2f declaration... " >&6; }
35607 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35608 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35609 $as_echo_n "(cached) " >&6
35610 else
35613 ac_ext=cpp
35614 ac_cpp='$CXXCPP $CPPFLAGS'
35615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35620 /* end confdefs.h. */
35621 #include <math.h>
35623 main ()
35625 atan2f(0, 0);
35627 return 0;
35629 _ACEOF
35630 if ac_fn_cxx_try_compile "$LINENO"; then :
35631 glibcxx_cv_func_atan2f_use=yes
35632 else
35633 glibcxx_cv_func_atan2f_use=no
35635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35636 ac_ext=c
35637 ac_cpp='$CPP $CPPFLAGS'
35638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35647 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35649 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35650 for ac_func in atan2f
35651 do :
35652 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35653 if test "x$ac_cv_func_atan2f" = x""yes; then :
35654 cat >>confdefs.h <<_ACEOF
35655 #define HAVE_ATAN2F 1
35656 _ACEOF
35659 done
35661 else
35663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35664 $as_echo_n "checking for _atan2f declaration... " >&6; }
35665 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35666 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35667 $as_echo_n "(cached) " >&6
35668 else
35671 ac_ext=cpp
35672 ac_cpp='$CXXCPP $CPPFLAGS'
35673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35678 /* end confdefs.h. */
35679 #include <math.h>
35681 main ()
35683 _atan2f(0, 0);
35685 return 0;
35687 _ACEOF
35688 if ac_fn_cxx_try_compile "$LINENO"; then :
35689 glibcxx_cv_func__atan2f_use=yes
35690 else
35691 glibcxx_cv_func__atan2f_use=no
35693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35694 ac_ext=c
35695 ac_cpp='$CPP $CPPFLAGS'
35696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35705 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35707 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35708 for ac_func in _atan2f
35709 do :
35710 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35711 if test "x$ac_cv_func__atan2f" = x""yes; then :
35712 cat >>confdefs.h <<_ACEOF
35713 #define HAVE__ATAN2F 1
35714 _ACEOF
35717 done
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35727 $as_echo_n "checking for fabsf declaration... " >&6; }
35728 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35729 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35730 $as_echo_n "(cached) " >&6
35731 else
35734 ac_ext=cpp
35735 ac_cpp='$CXXCPP $CPPFLAGS'
35736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35741 /* end confdefs.h. */
35742 #include <math.h>
35743 #ifdef HAVE_IEEEFP_H
35744 #include <ieeefp.h>
35745 #endif
35748 main ()
35750 fabsf(0);
35752 return 0;
35754 _ACEOF
35755 if ac_fn_cxx_try_compile "$LINENO"; then :
35756 glibcxx_cv_func_fabsf_use=yes
35757 else
35758 glibcxx_cv_func_fabsf_use=no
35760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35761 ac_ext=c
35762 ac_cpp='$CPP $CPPFLAGS'
35763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35772 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35774 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35775 for ac_func in fabsf
35776 do :
35777 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35778 if test "x$ac_cv_func_fabsf" = x""yes; then :
35779 cat >>confdefs.h <<_ACEOF
35780 #define HAVE_FABSF 1
35781 _ACEOF
35784 done
35786 else
35788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35789 $as_echo_n "checking for _fabsf declaration... " >&6; }
35790 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35791 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35792 $as_echo_n "(cached) " >&6
35793 else
35796 ac_ext=cpp
35797 ac_cpp='$CXXCPP $CPPFLAGS'
35798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35803 /* end confdefs.h. */
35804 #include <math.h>
35805 #ifdef HAVE_IEEEFP_H
35806 #include <ieeefp.h>
35807 #endif
35810 main ()
35812 _fabsf(0);
35814 return 0;
35816 _ACEOF
35817 if ac_fn_cxx_try_compile "$LINENO"; then :
35818 glibcxx_cv_func__fabsf_use=yes
35819 else
35820 glibcxx_cv_func__fabsf_use=no
35822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35823 ac_ext=c
35824 ac_cpp='$CPP $CPPFLAGS'
35825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35834 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35836 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35837 for ac_func in _fabsf
35838 do :
35839 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35840 if test "x$ac_cv_func__fabsf" = x""yes; then :
35841 cat >>confdefs.h <<_ACEOF
35842 #define HAVE__FABSF 1
35843 _ACEOF
35846 done
35855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35856 $as_echo_n "checking for fmodf declaration... " >&6; }
35857 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35858 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35859 $as_echo_n "(cached) " >&6
35860 else
35863 ac_ext=cpp
35864 ac_cpp='$CXXCPP $CPPFLAGS'
35865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35870 /* end confdefs.h. */
35871 #include <math.h>
35873 main ()
35875 fmodf(0, 0);
35877 return 0;
35879 _ACEOF
35880 if ac_fn_cxx_try_compile "$LINENO"; then :
35881 glibcxx_cv_func_fmodf_use=yes
35882 else
35883 glibcxx_cv_func_fmodf_use=no
35885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35886 ac_ext=c
35887 ac_cpp='$CPP $CPPFLAGS'
35888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35897 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35899 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35900 for ac_func in fmodf
35901 do :
35902 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35903 if test "x$ac_cv_func_fmodf" = x""yes; then :
35904 cat >>confdefs.h <<_ACEOF
35905 #define HAVE_FMODF 1
35906 _ACEOF
35909 done
35911 else
35913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35914 $as_echo_n "checking for _fmodf declaration... " >&6; }
35915 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35916 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35917 $as_echo_n "(cached) " >&6
35918 else
35921 ac_ext=cpp
35922 ac_cpp='$CXXCPP $CPPFLAGS'
35923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35928 /* end confdefs.h. */
35929 #include <math.h>
35931 main ()
35933 _fmodf(0, 0);
35935 return 0;
35937 _ACEOF
35938 if ac_fn_cxx_try_compile "$LINENO"; then :
35939 glibcxx_cv_func__fmodf_use=yes
35940 else
35941 glibcxx_cv_func__fmodf_use=no
35943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35944 ac_ext=c
35945 ac_cpp='$CPP $CPPFLAGS'
35946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35955 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35957 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35958 for ac_func in _fmodf
35959 do :
35960 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35961 if test "x$ac_cv_func__fmodf" = x""yes; then :
35962 cat >>confdefs.h <<_ACEOF
35963 #define HAVE__FMODF 1
35964 _ACEOF
35967 done
35976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35977 $as_echo_n "checking for frexpf declaration... " >&6; }
35978 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35979 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35980 $as_echo_n "(cached) " >&6
35981 else
35984 ac_ext=cpp
35985 ac_cpp='$CXXCPP $CPPFLAGS'
35986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35991 /* end confdefs.h. */
35992 #include <math.h>
35994 main ()
35996 frexpf(0, 0);
35998 return 0;
36000 _ACEOF
36001 if ac_fn_cxx_try_compile "$LINENO"; then :
36002 glibcxx_cv_func_frexpf_use=yes
36003 else
36004 glibcxx_cv_func_frexpf_use=no
36006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36007 ac_ext=c
36008 ac_cpp='$CPP $CPPFLAGS'
36009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36018 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36020 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36021 for ac_func in frexpf
36022 do :
36023 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36024 if test "x$ac_cv_func_frexpf" = x""yes; then :
36025 cat >>confdefs.h <<_ACEOF
36026 #define HAVE_FREXPF 1
36027 _ACEOF
36030 done
36032 else
36034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36035 $as_echo_n "checking for _frexpf declaration... " >&6; }
36036 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36037 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36038 $as_echo_n "(cached) " >&6
36039 else
36042 ac_ext=cpp
36043 ac_cpp='$CXXCPP $CPPFLAGS'
36044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36049 /* end confdefs.h. */
36050 #include <math.h>
36052 main ()
36054 _frexpf(0, 0);
36056 return 0;
36058 _ACEOF
36059 if ac_fn_cxx_try_compile "$LINENO"; then :
36060 glibcxx_cv_func__frexpf_use=yes
36061 else
36062 glibcxx_cv_func__frexpf_use=no
36064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36065 ac_ext=c
36066 ac_cpp='$CPP $CPPFLAGS'
36067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36076 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36078 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36079 for ac_func in _frexpf
36080 do :
36081 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36082 if test "x$ac_cv_func__frexpf" = x""yes; then :
36083 cat >>confdefs.h <<_ACEOF
36084 #define HAVE__FREXPF 1
36085 _ACEOF
36088 done
36097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36098 $as_echo_n "checking for hypotf declaration... " >&6; }
36099 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36100 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36101 $as_echo_n "(cached) " >&6
36102 else
36105 ac_ext=cpp
36106 ac_cpp='$CXXCPP $CPPFLAGS'
36107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36112 /* end confdefs.h. */
36113 #include <math.h>
36115 main ()
36117 hypotf(0, 0);
36119 return 0;
36121 _ACEOF
36122 if ac_fn_cxx_try_compile "$LINENO"; then :
36123 glibcxx_cv_func_hypotf_use=yes
36124 else
36125 glibcxx_cv_func_hypotf_use=no
36127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36128 ac_ext=c
36129 ac_cpp='$CPP $CPPFLAGS'
36130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36139 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36141 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36142 for ac_func in hypotf
36143 do :
36144 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36145 if test "x$ac_cv_func_hypotf" = x""yes; then :
36146 cat >>confdefs.h <<_ACEOF
36147 #define HAVE_HYPOTF 1
36148 _ACEOF
36151 done
36153 else
36155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36156 $as_echo_n "checking for _hypotf declaration... " >&6; }
36157 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36158 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36159 $as_echo_n "(cached) " >&6
36160 else
36163 ac_ext=cpp
36164 ac_cpp='$CXXCPP $CPPFLAGS'
36165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36170 /* end confdefs.h. */
36171 #include <math.h>
36173 main ()
36175 _hypotf(0, 0);
36177 return 0;
36179 _ACEOF
36180 if ac_fn_cxx_try_compile "$LINENO"; then :
36181 glibcxx_cv_func__hypotf_use=yes
36182 else
36183 glibcxx_cv_func__hypotf_use=no
36185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36186 ac_ext=c
36187 ac_cpp='$CPP $CPPFLAGS'
36188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36197 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36199 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36200 for ac_func in _hypotf
36201 do :
36202 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36203 if test "x$ac_cv_func__hypotf" = x""yes; then :
36204 cat >>confdefs.h <<_ACEOF
36205 #define HAVE__HYPOTF 1
36206 _ACEOF
36209 done
36218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36219 $as_echo_n "checking for ldexpf declaration... " >&6; }
36220 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36221 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36222 $as_echo_n "(cached) " >&6
36223 else
36226 ac_ext=cpp
36227 ac_cpp='$CXXCPP $CPPFLAGS'
36228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36233 /* end confdefs.h. */
36234 #include <math.h>
36236 main ()
36238 ldexpf(0, 0);
36240 return 0;
36242 _ACEOF
36243 if ac_fn_cxx_try_compile "$LINENO"; then :
36244 glibcxx_cv_func_ldexpf_use=yes
36245 else
36246 glibcxx_cv_func_ldexpf_use=no
36248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36249 ac_ext=c
36250 ac_cpp='$CPP $CPPFLAGS'
36251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36260 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36262 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36263 for ac_func in ldexpf
36264 do :
36265 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36266 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36267 cat >>confdefs.h <<_ACEOF
36268 #define HAVE_LDEXPF 1
36269 _ACEOF
36272 done
36274 else
36276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36277 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36278 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36279 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36280 $as_echo_n "(cached) " >&6
36281 else
36284 ac_ext=cpp
36285 ac_cpp='$CXXCPP $CPPFLAGS'
36286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36291 /* end confdefs.h. */
36292 #include <math.h>
36294 main ()
36296 _ldexpf(0, 0);
36298 return 0;
36300 _ACEOF
36301 if ac_fn_cxx_try_compile "$LINENO"; then :
36302 glibcxx_cv_func__ldexpf_use=yes
36303 else
36304 glibcxx_cv_func__ldexpf_use=no
36306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36307 ac_ext=c
36308 ac_cpp='$CPP $CPPFLAGS'
36309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36318 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36320 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36321 for ac_func in _ldexpf
36322 do :
36323 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36324 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36325 cat >>confdefs.h <<_ACEOF
36326 #define HAVE__LDEXPF 1
36327 _ACEOF
36330 done
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36340 $as_echo_n "checking for logf declaration... " >&6; }
36341 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36342 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36343 $as_echo_n "(cached) " >&6
36344 else
36347 ac_ext=cpp
36348 ac_cpp='$CXXCPP $CPPFLAGS'
36349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36354 /* end confdefs.h. */
36355 #include <math.h>
36356 #ifdef HAVE_IEEEFP_H
36357 #include <ieeefp.h>
36358 #endif
36361 main ()
36363 logf(0);
36365 return 0;
36367 _ACEOF
36368 if ac_fn_cxx_try_compile "$LINENO"; then :
36369 glibcxx_cv_func_logf_use=yes
36370 else
36371 glibcxx_cv_func_logf_use=no
36373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36374 ac_ext=c
36375 ac_cpp='$CPP $CPPFLAGS'
36376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36385 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36387 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36388 for ac_func in logf
36389 do :
36390 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36391 if test "x$ac_cv_func_logf" = x""yes; then :
36392 cat >>confdefs.h <<_ACEOF
36393 #define HAVE_LOGF 1
36394 _ACEOF
36397 done
36399 else
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36402 $as_echo_n "checking for _logf declaration... " >&6; }
36403 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36404 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36405 $as_echo_n "(cached) " >&6
36406 else
36409 ac_ext=cpp
36410 ac_cpp='$CXXCPP $CPPFLAGS'
36411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36416 /* end confdefs.h. */
36417 #include <math.h>
36418 #ifdef HAVE_IEEEFP_H
36419 #include <ieeefp.h>
36420 #endif
36423 main ()
36425 _logf(0);
36427 return 0;
36429 _ACEOF
36430 if ac_fn_cxx_try_compile "$LINENO"; then :
36431 glibcxx_cv_func__logf_use=yes
36432 else
36433 glibcxx_cv_func__logf_use=no
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36436 ac_ext=c
36437 ac_cpp='$CPP $CPPFLAGS'
36438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36447 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36449 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36450 for ac_func in _logf
36451 do :
36452 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36453 if test "x$ac_cv_func__logf" = x""yes; then :
36454 cat >>confdefs.h <<_ACEOF
36455 #define HAVE__LOGF 1
36456 _ACEOF
36459 done
36468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36469 $as_echo_n "checking for log10f declaration... " >&6; }
36470 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36471 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36472 $as_echo_n "(cached) " >&6
36473 else
36476 ac_ext=cpp
36477 ac_cpp='$CXXCPP $CPPFLAGS'
36478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36483 /* end confdefs.h. */
36484 #include <math.h>
36485 #ifdef HAVE_IEEEFP_H
36486 #include <ieeefp.h>
36487 #endif
36490 main ()
36492 log10f(0);
36494 return 0;
36496 _ACEOF
36497 if ac_fn_cxx_try_compile "$LINENO"; then :
36498 glibcxx_cv_func_log10f_use=yes
36499 else
36500 glibcxx_cv_func_log10f_use=no
36502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36503 ac_ext=c
36504 ac_cpp='$CPP $CPPFLAGS'
36505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36514 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36516 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36517 for ac_func in log10f
36518 do :
36519 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36520 if test "x$ac_cv_func_log10f" = x""yes; then :
36521 cat >>confdefs.h <<_ACEOF
36522 #define HAVE_LOG10F 1
36523 _ACEOF
36526 done
36528 else
36530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36531 $as_echo_n "checking for _log10f declaration... " >&6; }
36532 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36533 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36534 $as_echo_n "(cached) " >&6
36535 else
36538 ac_ext=cpp
36539 ac_cpp='$CXXCPP $CPPFLAGS'
36540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36545 /* end confdefs.h. */
36546 #include <math.h>
36547 #ifdef HAVE_IEEEFP_H
36548 #include <ieeefp.h>
36549 #endif
36552 main ()
36554 _log10f(0);
36556 return 0;
36558 _ACEOF
36559 if ac_fn_cxx_try_compile "$LINENO"; then :
36560 glibcxx_cv_func__log10f_use=yes
36561 else
36562 glibcxx_cv_func__log10f_use=no
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36565 ac_ext=c
36566 ac_cpp='$CPP $CPPFLAGS'
36567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36576 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36578 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36579 for ac_func in _log10f
36580 do :
36581 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36582 if test "x$ac_cv_func__log10f" = x""yes; then :
36583 cat >>confdefs.h <<_ACEOF
36584 #define HAVE__LOG10F 1
36585 _ACEOF
36588 done
36597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36598 $as_echo_n "checking for modff declaration... " >&6; }
36599 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36600 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36601 $as_echo_n "(cached) " >&6
36602 else
36605 ac_ext=cpp
36606 ac_cpp='$CXXCPP $CPPFLAGS'
36607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36612 /* end confdefs.h. */
36613 #include <math.h>
36615 main ()
36617 modff(0, 0);
36619 return 0;
36621 _ACEOF
36622 if ac_fn_cxx_try_compile "$LINENO"; then :
36623 glibcxx_cv_func_modff_use=yes
36624 else
36625 glibcxx_cv_func_modff_use=no
36627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36628 ac_ext=c
36629 ac_cpp='$CPP $CPPFLAGS'
36630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36639 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36641 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36642 for ac_func in modff
36643 do :
36644 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36645 if test "x$ac_cv_func_modff" = x""yes; then :
36646 cat >>confdefs.h <<_ACEOF
36647 #define HAVE_MODFF 1
36648 _ACEOF
36651 done
36653 else
36655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36656 $as_echo_n "checking for _modff declaration... " >&6; }
36657 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36658 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36659 $as_echo_n "(cached) " >&6
36660 else
36663 ac_ext=cpp
36664 ac_cpp='$CXXCPP $CPPFLAGS'
36665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36670 /* end confdefs.h. */
36671 #include <math.h>
36673 main ()
36675 _modff(0, 0);
36677 return 0;
36679 _ACEOF
36680 if ac_fn_cxx_try_compile "$LINENO"; then :
36681 glibcxx_cv_func__modff_use=yes
36682 else
36683 glibcxx_cv_func__modff_use=no
36685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36686 ac_ext=c
36687 ac_cpp='$CPP $CPPFLAGS'
36688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36697 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36699 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36700 for ac_func in _modff
36701 do :
36702 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36703 if test "x$ac_cv_func__modff" = x""yes; then :
36704 cat >>confdefs.h <<_ACEOF
36705 #define HAVE__MODFF 1
36706 _ACEOF
36709 done
36718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36719 $as_echo_n "checking for modf declaration... " >&6; }
36720 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36721 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36722 $as_echo_n "(cached) " >&6
36723 else
36726 ac_ext=cpp
36727 ac_cpp='$CXXCPP $CPPFLAGS'
36728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36733 /* end confdefs.h. */
36734 #include <math.h>
36736 main ()
36738 modf(0, 0);
36740 return 0;
36742 _ACEOF
36743 if ac_fn_cxx_try_compile "$LINENO"; then :
36744 glibcxx_cv_func_modf_use=yes
36745 else
36746 glibcxx_cv_func_modf_use=no
36748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36749 ac_ext=c
36750 ac_cpp='$CPP $CPPFLAGS'
36751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36760 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36762 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36763 for ac_func in modf
36764 do :
36765 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36766 if test "x$ac_cv_func_modf" = x""yes; then :
36767 cat >>confdefs.h <<_ACEOF
36768 #define HAVE_MODF 1
36769 _ACEOF
36772 done
36774 else
36776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36777 $as_echo_n "checking for _modf declaration... " >&6; }
36778 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36779 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36780 $as_echo_n "(cached) " >&6
36781 else
36784 ac_ext=cpp
36785 ac_cpp='$CXXCPP $CPPFLAGS'
36786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36791 /* end confdefs.h. */
36792 #include <math.h>
36794 main ()
36796 _modf(0, 0);
36798 return 0;
36800 _ACEOF
36801 if ac_fn_cxx_try_compile "$LINENO"; then :
36802 glibcxx_cv_func__modf_use=yes
36803 else
36804 glibcxx_cv_func__modf_use=no
36806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36807 ac_ext=c
36808 ac_cpp='$CPP $CPPFLAGS'
36809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36818 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36820 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36821 for ac_func in _modf
36822 do :
36823 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36824 if test "x$ac_cv_func__modf" = x""yes; then :
36825 cat >>confdefs.h <<_ACEOF
36826 #define HAVE__MODF 1
36827 _ACEOF
36830 done
36839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36840 $as_echo_n "checking for powf declaration... " >&6; }
36841 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36842 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36843 $as_echo_n "(cached) " >&6
36844 else
36847 ac_ext=cpp
36848 ac_cpp='$CXXCPP $CPPFLAGS'
36849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36854 /* end confdefs.h. */
36855 #include <math.h>
36857 main ()
36859 powf(0, 0);
36861 return 0;
36863 _ACEOF
36864 if ac_fn_cxx_try_compile "$LINENO"; then :
36865 glibcxx_cv_func_powf_use=yes
36866 else
36867 glibcxx_cv_func_powf_use=no
36869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36870 ac_ext=c
36871 ac_cpp='$CPP $CPPFLAGS'
36872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36881 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36883 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36884 for ac_func in powf
36885 do :
36886 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36887 if test "x$ac_cv_func_powf" = x""yes; then :
36888 cat >>confdefs.h <<_ACEOF
36889 #define HAVE_POWF 1
36890 _ACEOF
36893 done
36895 else
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36898 $as_echo_n "checking for _powf declaration... " >&6; }
36899 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36900 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36901 $as_echo_n "(cached) " >&6
36902 else
36905 ac_ext=cpp
36906 ac_cpp='$CXXCPP $CPPFLAGS'
36907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36912 /* end confdefs.h. */
36913 #include <math.h>
36915 main ()
36917 _powf(0, 0);
36919 return 0;
36921 _ACEOF
36922 if ac_fn_cxx_try_compile "$LINENO"; then :
36923 glibcxx_cv_func__powf_use=yes
36924 else
36925 glibcxx_cv_func__powf_use=no
36927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36928 ac_ext=c
36929 ac_cpp='$CPP $CPPFLAGS'
36930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36939 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36941 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36942 for ac_func in _powf
36943 do :
36944 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36945 if test "x$ac_cv_func__powf" = x""yes; then :
36946 cat >>confdefs.h <<_ACEOF
36947 #define HAVE__POWF 1
36948 _ACEOF
36951 done
36960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36961 $as_echo_n "checking for sqrtf declaration... " >&6; }
36962 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36963 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36964 $as_echo_n "(cached) " >&6
36965 else
36968 ac_ext=cpp
36969 ac_cpp='$CXXCPP $CPPFLAGS'
36970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36975 /* end confdefs.h. */
36976 #include <math.h>
36977 #ifdef HAVE_IEEEFP_H
36978 #include <ieeefp.h>
36979 #endif
36982 main ()
36984 sqrtf(0);
36986 return 0;
36988 _ACEOF
36989 if ac_fn_cxx_try_compile "$LINENO"; then :
36990 glibcxx_cv_func_sqrtf_use=yes
36991 else
36992 glibcxx_cv_func_sqrtf_use=no
36994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36995 ac_ext=c
36996 ac_cpp='$CPP $CPPFLAGS'
36997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37006 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37008 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37009 for ac_func in sqrtf
37010 do :
37011 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37012 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37013 cat >>confdefs.h <<_ACEOF
37014 #define HAVE_SQRTF 1
37015 _ACEOF
37018 done
37020 else
37022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37023 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37024 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37025 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37026 $as_echo_n "(cached) " >&6
37027 else
37030 ac_ext=cpp
37031 ac_cpp='$CXXCPP $CPPFLAGS'
37032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37037 /* end confdefs.h. */
37038 #include <math.h>
37039 #ifdef HAVE_IEEEFP_H
37040 #include <ieeefp.h>
37041 #endif
37044 main ()
37046 _sqrtf(0);
37048 return 0;
37050 _ACEOF
37051 if ac_fn_cxx_try_compile "$LINENO"; then :
37052 glibcxx_cv_func__sqrtf_use=yes
37053 else
37054 glibcxx_cv_func__sqrtf_use=no
37056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37057 ac_ext=c
37058 ac_cpp='$CPP $CPPFLAGS'
37059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37068 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37070 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37071 for ac_func in _sqrtf
37072 do :
37073 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37074 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37075 cat >>confdefs.h <<_ACEOF
37076 #define HAVE__SQRTF 1
37077 _ACEOF
37080 done
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37090 $as_echo_n "checking for sincosf declaration... " >&6; }
37091 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37092 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37093 $as_echo_n "(cached) " >&6
37094 else
37097 ac_ext=cpp
37098 ac_cpp='$CXXCPP $CPPFLAGS'
37099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37104 /* end confdefs.h. */
37105 #include <math.h>
37107 main ()
37109 sincosf(0, 0, 0);
37111 return 0;
37113 _ACEOF
37114 if ac_fn_cxx_try_compile "$LINENO"; then :
37115 glibcxx_cv_func_sincosf_use=yes
37116 else
37117 glibcxx_cv_func_sincosf_use=no
37119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37120 ac_ext=c
37121 ac_cpp='$CPP $CPPFLAGS'
37122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37131 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37133 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37134 for ac_func in sincosf
37135 do :
37136 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37137 if test "x$ac_cv_func_sincosf" = x""yes; then :
37138 cat >>confdefs.h <<_ACEOF
37139 #define HAVE_SINCOSF 1
37140 _ACEOF
37143 done
37145 else
37147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37148 $as_echo_n "checking for _sincosf declaration... " >&6; }
37149 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37150 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37151 $as_echo_n "(cached) " >&6
37152 else
37155 ac_ext=cpp
37156 ac_cpp='$CXXCPP $CPPFLAGS'
37157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37162 /* end confdefs.h. */
37163 #include <math.h>
37165 main ()
37167 _sincosf(0, 0, 0);
37169 return 0;
37171 _ACEOF
37172 if ac_fn_cxx_try_compile "$LINENO"; then :
37173 glibcxx_cv_func__sincosf_use=yes
37174 else
37175 glibcxx_cv_func__sincosf_use=no
37177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37178 ac_ext=c
37179 ac_cpp='$CPP $CPPFLAGS'
37180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37189 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37191 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37192 for ac_func in _sincosf
37193 do :
37194 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37195 if test "x$ac_cv_func__sincosf" = x""yes; then :
37196 cat >>confdefs.h <<_ACEOF
37197 #define HAVE__SINCOSF 1
37198 _ACEOF
37201 done
37210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37211 $as_echo_n "checking for finitef declaration... " >&6; }
37212 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37213 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37214 $as_echo_n "(cached) " >&6
37215 else
37218 ac_ext=cpp
37219 ac_cpp='$CXXCPP $CPPFLAGS'
37220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37225 /* end confdefs.h. */
37226 #include <math.h>
37227 #ifdef HAVE_IEEEFP_H
37228 #include <ieeefp.h>
37229 #endif
37232 main ()
37234 finitef(0);
37236 return 0;
37238 _ACEOF
37239 if ac_fn_cxx_try_compile "$LINENO"; then :
37240 glibcxx_cv_func_finitef_use=yes
37241 else
37242 glibcxx_cv_func_finitef_use=no
37244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37245 ac_ext=c
37246 ac_cpp='$CPP $CPPFLAGS'
37247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37256 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37258 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37259 for ac_func in finitef
37260 do :
37261 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37262 if test "x$ac_cv_func_finitef" = x""yes; then :
37263 cat >>confdefs.h <<_ACEOF
37264 #define HAVE_FINITEF 1
37265 _ACEOF
37268 done
37270 else
37272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37273 $as_echo_n "checking for _finitef declaration... " >&6; }
37274 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37275 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37276 $as_echo_n "(cached) " >&6
37277 else
37280 ac_ext=cpp
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37287 /* end confdefs.h. */
37288 #include <math.h>
37289 #ifdef HAVE_IEEEFP_H
37290 #include <ieeefp.h>
37291 #endif
37294 main ()
37296 _finitef(0);
37298 return 0;
37300 _ACEOF
37301 if ac_fn_cxx_try_compile "$LINENO"; then :
37302 glibcxx_cv_func__finitef_use=yes
37303 else
37304 glibcxx_cv_func__finitef_use=no
37306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37307 ac_ext=c
37308 ac_cpp='$CPP $CPPFLAGS'
37309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37318 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37320 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37321 for ac_func in _finitef
37322 do :
37323 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37324 if test "x$ac_cv_func__finitef" = x""yes; then :
37325 cat >>confdefs.h <<_ACEOF
37326 #define HAVE__FINITEF 1
37327 _ACEOF
37330 done
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37340 $as_echo_n "checking for long double trig functions... " >&6; }
37341 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37342 $as_echo_n "(cached) " >&6
37343 else
37346 ac_ext=cpp
37347 ac_cpp='$CXXCPP $CPPFLAGS'
37348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37353 /* end confdefs.h. */
37354 #include <math.h>
37356 main ()
37358 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37360 return 0;
37362 _ACEOF
37363 if ac_fn_cxx_try_compile "$LINENO"; then :
37364 glibcxx_cv_func_long_double_trig_use=yes
37365 else
37366 glibcxx_cv_func_long_double_trig_use=no
37368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37369 ac_ext=c
37370 ac_cpp='$CPP $CPPFLAGS'
37371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37378 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37379 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37380 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37381 do :
37382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37384 eval as_val=\$$as_ac_var
37385 if test "x$as_val" = x""yes; then :
37386 cat >>confdefs.h <<_ACEOF
37387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37388 _ACEOF
37391 done
37393 else
37394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37395 $as_echo_n "checking for _long double trig functions... " >&6; }
37396 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37397 $as_echo_n "(cached) " >&6
37398 else
37401 ac_ext=cpp
37402 ac_cpp='$CXXCPP $CPPFLAGS'
37403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37408 /* end confdefs.h. */
37409 #include <math.h>
37411 main ()
37413 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37415 return 0;
37417 _ACEOF
37418 if ac_fn_cxx_try_compile "$LINENO"; then :
37419 glibcxx_cv_func__long_double_trig_use=yes
37420 else
37421 glibcxx_cv_func__long_double_trig_use=no
37423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37424 ac_ext=c
37425 ac_cpp='$CPP $CPPFLAGS'
37426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37433 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37434 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37435 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37436 do :
37437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37439 eval as_val=\$$as_ac_var
37440 if test "x$as_val" = x""yes; then :
37441 cat >>confdefs.h <<_ACEOF
37442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37443 _ACEOF
37446 done
37455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37456 $as_echo_n "checking for long double round functions... " >&6; }
37457 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37458 $as_echo_n "(cached) " >&6
37459 else
37462 ac_ext=cpp
37463 ac_cpp='$CXXCPP $CPPFLAGS'
37464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37469 /* end confdefs.h. */
37470 #include <math.h>
37472 main ()
37474 ceill (0); floorl (0);
37476 return 0;
37478 _ACEOF
37479 if ac_fn_cxx_try_compile "$LINENO"; then :
37480 glibcxx_cv_func_long_double_round_use=yes
37481 else
37482 glibcxx_cv_func_long_double_round_use=no
37484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37485 ac_ext=c
37486 ac_cpp='$CPP $CPPFLAGS'
37487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37494 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37495 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37496 for ac_func in ceill floorl
37497 do :
37498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37500 eval as_val=\$$as_ac_var
37501 if test "x$as_val" = x""yes; then :
37502 cat >>confdefs.h <<_ACEOF
37503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37504 _ACEOF
37507 done
37509 else
37510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37511 $as_echo_n "checking for _long double round functions... " >&6; }
37512 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37513 $as_echo_n "(cached) " >&6
37514 else
37517 ac_ext=cpp
37518 ac_cpp='$CXXCPP $CPPFLAGS'
37519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37524 /* end confdefs.h. */
37525 #include <math.h>
37527 main ()
37529 _ceill (0); _floorl (0);
37531 return 0;
37533 _ACEOF
37534 if ac_fn_cxx_try_compile "$LINENO"; then :
37535 glibcxx_cv_func__long_double_round_use=yes
37536 else
37537 glibcxx_cv_func__long_double_round_use=no
37539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37540 ac_ext=c
37541 ac_cpp='$CPP $CPPFLAGS'
37542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37549 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37550 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37551 for ac_func in _ceill _floorl
37552 do :
37553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37555 eval as_val=\$$as_ac_var
37556 if test "x$as_val" = x""yes; then :
37557 cat >>confdefs.h <<_ACEOF
37558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37559 _ACEOF
37562 done
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37573 $as_echo_n "checking for isnanl declaration... " >&6; }
37574 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37575 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37576 $as_echo_n "(cached) " >&6
37577 else
37580 ac_ext=cpp
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37587 /* end confdefs.h. */
37588 #include <math.h>
37589 #ifdef HAVE_IEEEFP_H
37590 #include <ieeefp.h>
37591 #endif
37594 main ()
37596 isnanl(0);
37598 return 0;
37600 _ACEOF
37601 if ac_fn_cxx_try_compile "$LINENO"; then :
37602 glibcxx_cv_func_isnanl_use=yes
37603 else
37604 glibcxx_cv_func_isnanl_use=no
37606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37607 ac_ext=c
37608 ac_cpp='$CPP $CPPFLAGS'
37609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37618 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37620 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37621 for ac_func in isnanl
37622 do :
37623 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37624 if test "x$ac_cv_func_isnanl" = x""yes; then :
37625 cat >>confdefs.h <<_ACEOF
37626 #define HAVE_ISNANL 1
37627 _ACEOF
37630 done
37632 else
37634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37635 $as_echo_n "checking for _isnanl declaration... " >&6; }
37636 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37637 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37638 $as_echo_n "(cached) " >&6
37639 else
37642 ac_ext=cpp
37643 ac_cpp='$CXXCPP $CPPFLAGS'
37644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37649 /* end confdefs.h. */
37650 #include <math.h>
37651 #ifdef HAVE_IEEEFP_H
37652 #include <ieeefp.h>
37653 #endif
37656 main ()
37658 _isnanl(0);
37660 return 0;
37662 _ACEOF
37663 if ac_fn_cxx_try_compile "$LINENO"; then :
37664 glibcxx_cv_func__isnanl_use=yes
37665 else
37666 glibcxx_cv_func__isnanl_use=no
37668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37669 ac_ext=c
37670 ac_cpp='$CPP $CPPFLAGS'
37671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37680 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37682 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37683 for ac_func in _isnanl
37684 do :
37685 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37686 if test "x$ac_cv_func__isnanl" = x""yes; then :
37687 cat >>confdefs.h <<_ACEOF
37688 #define HAVE__ISNANL 1
37689 _ACEOF
37692 done
37701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37702 $as_echo_n "checking for isinfl declaration... " >&6; }
37703 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37704 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37705 $as_echo_n "(cached) " >&6
37706 else
37709 ac_ext=cpp
37710 ac_cpp='$CXXCPP $CPPFLAGS'
37711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h. */
37717 #include <math.h>
37718 #ifdef HAVE_IEEEFP_H
37719 #include <ieeefp.h>
37720 #endif
37723 main ()
37725 isinfl(0);
37727 return 0;
37729 _ACEOF
37730 if ac_fn_cxx_try_compile "$LINENO"; then :
37731 glibcxx_cv_func_isinfl_use=yes
37732 else
37733 glibcxx_cv_func_isinfl_use=no
37735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37736 ac_ext=c
37737 ac_cpp='$CPP $CPPFLAGS'
37738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37747 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37749 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37750 for ac_func in isinfl
37751 do :
37752 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37753 if test "x$ac_cv_func_isinfl" = x""yes; then :
37754 cat >>confdefs.h <<_ACEOF
37755 #define HAVE_ISINFL 1
37756 _ACEOF
37759 done
37761 else
37763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37764 $as_echo_n "checking for _isinfl declaration... " >&6; }
37765 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37766 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37767 $as_echo_n "(cached) " >&6
37768 else
37771 ac_ext=cpp
37772 ac_cpp='$CXXCPP $CPPFLAGS'
37773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37778 /* end confdefs.h. */
37779 #include <math.h>
37780 #ifdef HAVE_IEEEFP_H
37781 #include <ieeefp.h>
37782 #endif
37785 main ()
37787 _isinfl(0);
37789 return 0;
37791 _ACEOF
37792 if ac_fn_cxx_try_compile "$LINENO"; then :
37793 glibcxx_cv_func__isinfl_use=yes
37794 else
37795 glibcxx_cv_func__isinfl_use=no
37797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37798 ac_ext=c
37799 ac_cpp='$CPP $CPPFLAGS'
37800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37809 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37811 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37812 for ac_func in _isinfl
37813 do :
37814 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37815 if test "x$ac_cv_func__isinfl" = x""yes; then :
37816 cat >>confdefs.h <<_ACEOF
37817 #define HAVE__ISINFL 1
37818 _ACEOF
37821 done
37830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37831 $as_echo_n "checking for atan2l declaration... " >&6; }
37832 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37833 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37834 $as_echo_n "(cached) " >&6
37835 else
37838 ac_ext=cpp
37839 ac_cpp='$CXXCPP $CPPFLAGS'
37840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37845 /* end confdefs.h. */
37846 #include <math.h>
37848 main ()
37850 atan2l(0, 0);
37852 return 0;
37854 _ACEOF
37855 if ac_fn_cxx_try_compile "$LINENO"; then :
37856 glibcxx_cv_func_atan2l_use=yes
37857 else
37858 glibcxx_cv_func_atan2l_use=no
37860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37861 ac_ext=c
37862 ac_cpp='$CPP $CPPFLAGS'
37863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37872 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37874 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37875 for ac_func in atan2l
37876 do :
37877 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37878 if test "x$ac_cv_func_atan2l" = x""yes; then :
37879 cat >>confdefs.h <<_ACEOF
37880 #define HAVE_ATAN2L 1
37881 _ACEOF
37884 done
37886 else
37888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37889 $as_echo_n "checking for _atan2l declaration... " >&6; }
37890 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37891 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37892 $as_echo_n "(cached) " >&6
37893 else
37896 ac_ext=cpp
37897 ac_cpp='$CXXCPP $CPPFLAGS'
37898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37903 /* end confdefs.h. */
37904 #include <math.h>
37906 main ()
37908 _atan2l(0, 0);
37910 return 0;
37912 _ACEOF
37913 if ac_fn_cxx_try_compile "$LINENO"; then :
37914 glibcxx_cv_func__atan2l_use=yes
37915 else
37916 glibcxx_cv_func__atan2l_use=no
37918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37919 ac_ext=c
37920 ac_cpp='$CPP $CPPFLAGS'
37921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37930 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37932 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37933 for ac_func in _atan2l
37934 do :
37935 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37936 if test "x$ac_cv_func__atan2l" = x""yes; then :
37937 cat >>confdefs.h <<_ACEOF
37938 #define HAVE__ATAN2L 1
37939 _ACEOF
37942 done
37951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37952 $as_echo_n "checking for expl declaration... " >&6; }
37953 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37954 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37955 $as_echo_n "(cached) " >&6
37956 else
37959 ac_ext=cpp
37960 ac_cpp='$CXXCPP $CPPFLAGS'
37961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37966 /* end confdefs.h. */
37967 #include <math.h>
37968 #ifdef HAVE_IEEEFP_H
37969 #include <ieeefp.h>
37970 #endif
37973 main ()
37975 expl(0);
37977 return 0;
37979 _ACEOF
37980 if ac_fn_cxx_try_compile "$LINENO"; then :
37981 glibcxx_cv_func_expl_use=yes
37982 else
37983 glibcxx_cv_func_expl_use=no
37985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37986 ac_ext=c
37987 ac_cpp='$CPP $CPPFLAGS'
37988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37997 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37999 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38000 for ac_func in expl
38001 do :
38002 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38003 if test "x$ac_cv_func_expl" = x""yes; then :
38004 cat >>confdefs.h <<_ACEOF
38005 #define HAVE_EXPL 1
38006 _ACEOF
38009 done
38011 else
38013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38014 $as_echo_n "checking for _expl declaration... " >&6; }
38015 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38016 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38017 $as_echo_n "(cached) " >&6
38018 else
38021 ac_ext=cpp
38022 ac_cpp='$CXXCPP $CPPFLAGS'
38023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38028 /* end confdefs.h. */
38029 #include <math.h>
38030 #ifdef HAVE_IEEEFP_H
38031 #include <ieeefp.h>
38032 #endif
38035 main ()
38037 _expl(0);
38039 return 0;
38041 _ACEOF
38042 if ac_fn_cxx_try_compile "$LINENO"; then :
38043 glibcxx_cv_func__expl_use=yes
38044 else
38045 glibcxx_cv_func__expl_use=no
38047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38048 ac_ext=c
38049 ac_cpp='$CPP $CPPFLAGS'
38050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38059 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38061 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38062 for ac_func in _expl
38063 do :
38064 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38065 if test "x$ac_cv_func__expl" = x""yes; then :
38066 cat >>confdefs.h <<_ACEOF
38067 #define HAVE__EXPL 1
38068 _ACEOF
38071 done
38080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38081 $as_echo_n "checking for fabsl declaration... " >&6; }
38082 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38083 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38084 $as_echo_n "(cached) " >&6
38085 else
38088 ac_ext=cpp
38089 ac_cpp='$CXXCPP $CPPFLAGS'
38090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38095 /* end confdefs.h. */
38096 #include <math.h>
38097 #ifdef HAVE_IEEEFP_H
38098 #include <ieeefp.h>
38099 #endif
38102 main ()
38104 fabsl(0);
38106 return 0;
38108 _ACEOF
38109 if ac_fn_cxx_try_compile "$LINENO"; then :
38110 glibcxx_cv_func_fabsl_use=yes
38111 else
38112 glibcxx_cv_func_fabsl_use=no
38114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38115 ac_ext=c
38116 ac_cpp='$CPP $CPPFLAGS'
38117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38126 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38128 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38129 for ac_func in fabsl
38130 do :
38131 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38132 if test "x$ac_cv_func_fabsl" = x""yes; then :
38133 cat >>confdefs.h <<_ACEOF
38134 #define HAVE_FABSL 1
38135 _ACEOF
38138 done
38140 else
38142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38143 $as_echo_n "checking for _fabsl declaration... " >&6; }
38144 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38145 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38146 $as_echo_n "(cached) " >&6
38147 else
38150 ac_ext=cpp
38151 ac_cpp='$CXXCPP $CPPFLAGS'
38152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38157 /* end confdefs.h. */
38158 #include <math.h>
38159 #ifdef HAVE_IEEEFP_H
38160 #include <ieeefp.h>
38161 #endif
38164 main ()
38166 _fabsl(0);
38168 return 0;
38170 _ACEOF
38171 if ac_fn_cxx_try_compile "$LINENO"; then :
38172 glibcxx_cv_func__fabsl_use=yes
38173 else
38174 glibcxx_cv_func__fabsl_use=no
38176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38177 ac_ext=c
38178 ac_cpp='$CPP $CPPFLAGS'
38179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38188 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38190 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38191 for ac_func in _fabsl
38192 do :
38193 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38194 if test "x$ac_cv_func__fabsl" = x""yes; then :
38195 cat >>confdefs.h <<_ACEOF
38196 #define HAVE__FABSL 1
38197 _ACEOF
38200 done
38209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38210 $as_echo_n "checking for fmodl declaration... " >&6; }
38211 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38212 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38213 $as_echo_n "(cached) " >&6
38214 else
38217 ac_ext=cpp
38218 ac_cpp='$CXXCPP $CPPFLAGS'
38219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38224 /* end confdefs.h. */
38225 #include <math.h>
38227 main ()
38229 fmodl(0, 0);
38231 return 0;
38233 _ACEOF
38234 if ac_fn_cxx_try_compile "$LINENO"; then :
38235 glibcxx_cv_func_fmodl_use=yes
38236 else
38237 glibcxx_cv_func_fmodl_use=no
38239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38240 ac_ext=c
38241 ac_cpp='$CPP $CPPFLAGS'
38242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38251 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38253 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38254 for ac_func in fmodl
38255 do :
38256 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38257 if test "x$ac_cv_func_fmodl" = x""yes; then :
38258 cat >>confdefs.h <<_ACEOF
38259 #define HAVE_FMODL 1
38260 _ACEOF
38263 done
38265 else
38267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38268 $as_echo_n "checking for _fmodl declaration... " >&6; }
38269 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38270 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38271 $as_echo_n "(cached) " >&6
38272 else
38275 ac_ext=cpp
38276 ac_cpp='$CXXCPP $CPPFLAGS'
38277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38282 /* end confdefs.h. */
38283 #include <math.h>
38285 main ()
38287 _fmodl(0, 0);
38289 return 0;
38291 _ACEOF
38292 if ac_fn_cxx_try_compile "$LINENO"; then :
38293 glibcxx_cv_func__fmodl_use=yes
38294 else
38295 glibcxx_cv_func__fmodl_use=no
38297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38298 ac_ext=c
38299 ac_cpp='$CPP $CPPFLAGS'
38300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38309 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38311 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38312 for ac_func in _fmodl
38313 do :
38314 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38315 if test "x$ac_cv_func__fmodl" = x""yes; then :
38316 cat >>confdefs.h <<_ACEOF
38317 #define HAVE__FMODL 1
38318 _ACEOF
38321 done
38330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38331 $as_echo_n "checking for frexpl declaration... " >&6; }
38332 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38333 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38334 $as_echo_n "(cached) " >&6
38335 else
38338 ac_ext=cpp
38339 ac_cpp='$CXXCPP $CPPFLAGS'
38340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38345 /* end confdefs.h. */
38346 #include <math.h>
38348 main ()
38350 frexpl(0, 0);
38352 return 0;
38354 _ACEOF
38355 if ac_fn_cxx_try_compile "$LINENO"; then :
38356 glibcxx_cv_func_frexpl_use=yes
38357 else
38358 glibcxx_cv_func_frexpl_use=no
38360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38361 ac_ext=c
38362 ac_cpp='$CPP $CPPFLAGS'
38363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38372 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38374 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38375 for ac_func in frexpl
38376 do :
38377 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38378 if test "x$ac_cv_func_frexpl" = x""yes; then :
38379 cat >>confdefs.h <<_ACEOF
38380 #define HAVE_FREXPL 1
38381 _ACEOF
38384 done
38386 else
38388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38389 $as_echo_n "checking for _frexpl declaration... " >&6; }
38390 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38391 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38392 $as_echo_n "(cached) " >&6
38393 else
38396 ac_ext=cpp
38397 ac_cpp='$CXXCPP $CPPFLAGS'
38398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38403 /* end confdefs.h. */
38404 #include <math.h>
38406 main ()
38408 _frexpl(0, 0);
38410 return 0;
38412 _ACEOF
38413 if ac_fn_cxx_try_compile "$LINENO"; then :
38414 glibcxx_cv_func__frexpl_use=yes
38415 else
38416 glibcxx_cv_func__frexpl_use=no
38418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38419 ac_ext=c
38420 ac_cpp='$CPP $CPPFLAGS'
38421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38430 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38432 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38433 for ac_func in _frexpl
38434 do :
38435 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38436 if test "x$ac_cv_func__frexpl" = x""yes; then :
38437 cat >>confdefs.h <<_ACEOF
38438 #define HAVE__FREXPL 1
38439 _ACEOF
38442 done
38451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38452 $as_echo_n "checking for hypotl declaration... " >&6; }
38453 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38454 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38455 $as_echo_n "(cached) " >&6
38456 else
38459 ac_ext=cpp
38460 ac_cpp='$CXXCPP $CPPFLAGS'
38461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38466 /* end confdefs.h. */
38467 #include <math.h>
38469 main ()
38471 hypotl(0, 0);
38473 return 0;
38475 _ACEOF
38476 if ac_fn_cxx_try_compile "$LINENO"; then :
38477 glibcxx_cv_func_hypotl_use=yes
38478 else
38479 glibcxx_cv_func_hypotl_use=no
38481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38482 ac_ext=c
38483 ac_cpp='$CPP $CPPFLAGS'
38484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38493 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38495 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38496 for ac_func in hypotl
38497 do :
38498 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38499 if test "x$ac_cv_func_hypotl" = x""yes; then :
38500 cat >>confdefs.h <<_ACEOF
38501 #define HAVE_HYPOTL 1
38502 _ACEOF
38505 done
38507 else
38509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38510 $as_echo_n "checking for _hypotl declaration... " >&6; }
38511 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38512 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38513 $as_echo_n "(cached) " >&6
38514 else
38517 ac_ext=cpp
38518 ac_cpp='$CXXCPP $CPPFLAGS'
38519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38524 /* end confdefs.h. */
38525 #include <math.h>
38527 main ()
38529 _hypotl(0, 0);
38531 return 0;
38533 _ACEOF
38534 if ac_fn_cxx_try_compile "$LINENO"; then :
38535 glibcxx_cv_func__hypotl_use=yes
38536 else
38537 glibcxx_cv_func__hypotl_use=no
38539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38540 ac_ext=c
38541 ac_cpp='$CPP $CPPFLAGS'
38542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38551 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38553 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38554 for ac_func in _hypotl
38555 do :
38556 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38557 if test "x$ac_cv_func__hypotl" = x""yes; then :
38558 cat >>confdefs.h <<_ACEOF
38559 #define HAVE__HYPOTL 1
38560 _ACEOF
38563 done
38572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38573 $as_echo_n "checking for ldexpl declaration... " >&6; }
38574 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38575 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38576 $as_echo_n "(cached) " >&6
38577 else
38580 ac_ext=cpp
38581 ac_cpp='$CXXCPP $CPPFLAGS'
38582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38587 /* end confdefs.h. */
38588 #include <math.h>
38590 main ()
38592 ldexpl(0, 0);
38594 return 0;
38596 _ACEOF
38597 if ac_fn_cxx_try_compile "$LINENO"; then :
38598 glibcxx_cv_func_ldexpl_use=yes
38599 else
38600 glibcxx_cv_func_ldexpl_use=no
38602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38603 ac_ext=c
38604 ac_cpp='$CPP $CPPFLAGS'
38605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38614 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38616 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38617 for ac_func in ldexpl
38618 do :
38619 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38620 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38621 cat >>confdefs.h <<_ACEOF
38622 #define HAVE_LDEXPL 1
38623 _ACEOF
38626 done
38628 else
38630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38631 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38632 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38633 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38634 $as_echo_n "(cached) " >&6
38635 else
38638 ac_ext=cpp
38639 ac_cpp='$CXXCPP $CPPFLAGS'
38640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38645 /* end confdefs.h. */
38646 #include <math.h>
38648 main ()
38650 _ldexpl(0, 0);
38652 return 0;
38654 _ACEOF
38655 if ac_fn_cxx_try_compile "$LINENO"; then :
38656 glibcxx_cv_func__ldexpl_use=yes
38657 else
38658 glibcxx_cv_func__ldexpl_use=no
38660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38661 ac_ext=c
38662 ac_cpp='$CPP $CPPFLAGS'
38663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38672 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38674 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38675 for ac_func in _ldexpl
38676 do :
38677 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38678 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38679 cat >>confdefs.h <<_ACEOF
38680 #define HAVE__LDEXPL 1
38681 _ACEOF
38684 done
38693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38694 $as_echo_n "checking for logl declaration... " >&6; }
38695 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38696 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38697 $as_echo_n "(cached) " >&6
38698 else
38701 ac_ext=cpp
38702 ac_cpp='$CXXCPP $CPPFLAGS'
38703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38708 /* end confdefs.h. */
38709 #include <math.h>
38710 #ifdef HAVE_IEEEFP_H
38711 #include <ieeefp.h>
38712 #endif
38715 main ()
38717 logl(0);
38719 return 0;
38721 _ACEOF
38722 if ac_fn_cxx_try_compile "$LINENO"; then :
38723 glibcxx_cv_func_logl_use=yes
38724 else
38725 glibcxx_cv_func_logl_use=no
38727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38728 ac_ext=c
38729 ac_cpp='$CPP $CPPFLAGS'
38730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38739 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38741 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38742 for ac_func in logl
38743 do :
38744 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38745 if test "x$ac_cv_func_logl" = x""yes; then :
38746 cat >>confdefs.h <<_ACEOF
38747 #define HAVE_LOGL 1
38748 _ACEOF
38751 done
38753 else
38755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38756 $as_echo_n "checking for _logl declaration... " >&6; }
38757 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38758 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38759 $as_echo_n "(cached) " >&6
38760 else
38763 ac_ext=cpp
38764 ac_cpp='$CXXCPP $CPPFLAGS'
38765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38770 /* end confdefs.h. */
38771 #include <math.h>
38772 #ifdef HAVE_IEEEFP_H
38773 #include <ieeefp.h>
38774 #endif
38777 main ()
38779 _logl(0);
38781 return 0;
38783 _ACEOF
38784 if ac_fn_cxx_try_compile "$LINENO"; then :
38785 glibcxx_cv_func__logl_use=yes
38786 else
38787 glibcxx_cv_func__logl_use=no
38789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38790 ac_ext=c
38791 ac_cpp='$CPP $CPPFLAGS'
38792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38801 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38803 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38804 for ac_func in _logl
38805 do :
38806 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38807 if test "x$ac_cv_func__logl" = x""yes; then :
38808 cat >>confdefs.h <<_ACEOF
38809 #define HAVE__LOGL 1
38810 _ACEOF
38813 done
38822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38823 $as_echo_n "checking for log10l declaration... " >&6; }
38824 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38825 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38826 $as_echo_n "(cached) " >&6
38827 else
38830 ac_ext=cpp
38831 ac_cpp='$CXXCPP $CPPFLAGS'
38832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38837 /* end confdefs.h. */
38838 #include <math.h>
38839 #ifdef HAVE_IEEEFP_H
38840 #include <ieeefp.h>
38841 #endif
38844 main ()
38846 log10l(0);
38848 return 0;
38850 _ACEOF
38851 if ac_fn_cxx_try_compile "$LINENO"; then :
38852 glibcxx_cv_func_log10l_use=yes
38853 else
38854 glibcxx_cv_func_log10l_use=no
38856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38857 ac_ext=c
38858 ac_cpp='$CPP $CPPFLAGS'
38859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38868 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38870 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38871 for ac_func in log10l
38872 do :
38873 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38874 if test "x$ac_cv_func_log10l" = x""yes; then :
38875 cat >>confdefs.h <<_ACEOF
38876 #define HAVE_LOG10L 1
38877 _ACEOF
38880 done
38882 else
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38885 $as_echo_n "checking for _log10l declaration... " >&6; }
38886 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38887 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38888 $as_echo_n "(cached) " >&6
38889 else
38892 ac_ext=cpp
38893 ac_cpp='$CXXCPP $CPPFLAGS'
38894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38899 /* end confdefs.h. */
38900 #include <math.h>
38901 #ifdef HAVE_IEEEFP_H
38902 #include <ieeefp.h>
38903 #endif
38906 main ()
38908 _log10l(0);
38910 return 0;
38912 _ACEOF
38913 if ac_fn_cxx_try_compile "$LINENO"; then :
38914 glibcxx_cv_func__log10l_use=yes
38915 else
38916 glibcxx_cv_func__log10l_use=no
38918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38919 ac_ext=c
38920 ac_cpp='$CPP $CPPFLAGS'
38921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38930 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38932 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38933 for ac_func in _log10l
38934 do :
38935 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38936 if test "x$ac_cv_func__log10l" = x""yes; then :
38937 cat >>confdefs.h <<_ACEOF
38938 #define HAVE__LOG10L 1
38939 _ACEOF
38942 done
38951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38952 $as_echo_n "checking for modfl declaration... " >&6; }
38953 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38954 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38955 $as_echo_n "(cached) " >&6
38956 else
38959 ac_ext=cpp
38960 ac_cpp='$CXXCPP $CPPFLAGS'
38961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38966 /* end confdefs.h. */
38967 #include <math.h>
38969 main ()
38971 modfl(0, 0);
38973 return 0;
38975 _ACEOF
38976 if ac_fn_cxx_try_compile "$LINENO"; then :
38977 glibcxx_cv_func_modfl_use=yes
38978 else
38979 glibcxx_cv_func_modfl_use=no
38981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38982 ac_ext=c
38983 ac_cpp='$CPP $CPPFLAGS'
38984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38993 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38995 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38996 for ac_func in modfl
38997 do :
38998 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38999 if test "x$ac_cv_func_modfl" = x""yes; then :
39000 cat >>confdefs.h <<_ACEOF
39001 #define HAVE_MODFL 1
39002 _ACEOF
39005 done
39007 else
39009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39010 $as_echo_n "checking for _modfl declaration... " >&6; }
39011 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39012 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39013 $as_echo_n "(cached) " >&6
39014 else
39017 ac_ext=cpp
39018 ac_cpp='$CXXCPP $CPPFLAGS'
39019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39024 /* end confdefs.h. */
39025 #include <math.h>
39027 main ()
39029 _modfl(0, 0);
39031 return 0;
39033 _ACEOF
39034 if ac_fn_cxx_try_compile "$LINENO"; then :
39035 glibcxx_cv_func__modfl_use=yes
39036 else
39037 glibcxx_cv_func__modfl_use=no
39039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39040 ac_ext=c
39041 ac_cpp='$CPP $CPPFLAGS'
39042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39051 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39053 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39054 for ac_func in _modfl
39055 do :
39056 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39057 if test "x$ac_cv_func__modfl" = x""yes; then :
39058 cat >>confdefs.h <<_ACEOF
39059 #define HAVE__MODFL 1
39060 _ACEOF
39063 done
39072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39073 $as_echo_n "checking for powl declaration... " >&6; }
39074 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39075 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39076 $as_echo_n "(cached) " >&6
39077 else
39080 ac_ext=cpp
39081 ac_cpp='$CXXCPP $CPPFLAGS'
39082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h. */
39088 #include <math.h>
39090 main ()
39092 powl(0, 0);
39094 return 0;
39096 _ACEOF
39097 if ac_fn_cxx_try_compile "$LINENO"; then :
39098 glibcxx_cv_func_powl_use=yes
39099 else
39100 glibcxx_cv_func_powl_use=no
39102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39103 ac_ext=c
39104 ac_cpp='$CPP $CPPFLAGS'
39105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39114 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39116 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39117 for ac_func in powl
39118 do :
39119 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39120 if test "x$ac_cv_func_powl" = x""yes; then :
39121 cat >>confdefs.h <<_ACEOF
39122 #define HAVE_POWL 1
39123 _ACEOF
39126 done
39128 else
39130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39131 $as_echo_n "checking for _powl declaration... " >&6; }
39132 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39133 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39134 $as_echo_n "(cached) " >&6
39135 else
39138 ac_ext=cpp
39139 ac_cpp='$CXXCPP $CPPFLAGS'
39140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39145 /* end confdefs.h. */
39146 #include <math.h>
39148 main ()
39150 _powl(0, 0);
39152 return 0;
39154 _ACEOF
39155 if ac_fn_cxx_try_compile "$LINENO"; then :
39156 glibcxx_cv_func__powl_use=yes
39157 else
39158 glibcxx_cv_func__powl_use=no
39160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39161 ac_ext=c
39162 ac_cpp='$CPP $CPPFLAGS'
39163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39172 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39174 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39175 for ac_func in _powl
39176 do :
39177 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39178 if test "x$ac_cv_func__powl" = x""yes; then :
39179 cat >>confdefs.h <<_ACEOF
39180 #define HAVE__POWL 1
39181 _ACEOF
39184 done
39193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39194 $as_echo_n "checking for sqrtl declaration... " >&6; }
39195 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39196 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39197 $as_echo_n "(cached) " >&6
39198 else
39201 ac_ext=cpp
39202 ac_cpp='$CXXCPP $CPPFLAGS'
39203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39208 /* end confdefs.h. */
39209 #include <math.h>
39210 #ifdef HAVE_IEEEFP_H
39211 #include <ieeefp.h>
39212 #endif
39215 main ()
39217 sqrtl(0);
39219 return 0;
39221 _ACEOF
39222 if ac_fn_cxx_try_compile "$LINENO"; then :
39223 glibcxx_cv_func_sqrtl_use=yes
39224 else
39225 glibcxx_cv_func_sqrtl_use=no
39227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39228 ac_ext=c
39229 ac_cpp='$CPP $CPPFLAGS'
39230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39239 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39241 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39242 for ac_func in sqrtl
39243 do :
39244 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39245 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39246 cat >>confdefs.h <<_ACEOF
39247 #define HAVE_SQRTL 1
39248 _ACEOF
39251 done
39253 else
39255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39256 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39257 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39258 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39259 $as_echo_n "(cached) " >&6
39260 else
39263 ac_ext=cpp
39264 ac_cpp='$CXXCPP $CPPFLAGS'
39265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39270 /* end confdefs.h. */
39271 #include <math.h>
39272 #ifdef HAVE_IEEEFP_H
39273 #include <ieeefp.h>
39274 #endif
39277 main ()
39279 _sqrtl(0);
39281 return 0;
39283 _ACEOF
39284 if ac_fn_cxx_try_compile "$LINENO"; then :
39285 glibcxx_cv_func__sqrtl_use=yes
39286 else
39287 glibcxx_cv_func__sqrtl_use=no
39289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39290 ac_ext=c
39291 ac_cpp='$CPP $CPPFLAGS'
39292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39301 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39303 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39304 for ac_func in _sqrtl
39305 do :
39306 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39307 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39308 cat >>confdefs.h <<_ACEOF
39309 #define HAVE__SQRTL 1
39310 _ACEOF
39313 done
39322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39323 $as_echo_n "checking for sincosl declaration... " >&6; }
39324 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39325 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39326 $as_echo_n "(cached) " >&6
39327 else
39330 ac_ext=cpp
39331 ac_cpp='$CXXCPP $CPPFLAGS'
39332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39337 /* end confdefs.h. */
39338 #include <math.h>
39340 main ()
39342 sincosl(0, 0, 0);
39344 return 0;
39346 _ACEOF
39347 if ac_fn_cxx_try_compile "$LINENO"; then :
39348 glibcxx_cv_func_sincosl_use=yes
39349 else
39350 glibcxx_cv_func_sincosl_use=no
39352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39353 ac_ext=c
39354 ac_cpp='$CPP $CPPFLAGS'
39355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39364 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39366 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39367 for ac_func in sincosl
39368 do :
39369 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39370 if test "x$ac_cv_func_sincosl" = x""yes; then :
39371 cat >>confdefs.h <<_ACEOF
39372 #define HAVE_SINCOSL 1
39373 _ACEOF
39376 done
39378 else
39380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39381 $as_echo_n "checking for _sincosl declaration... " >&6; }
39382 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39383 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39384 $as_echo_n "(cached) " >&6
39385 else
39388 ac_ext=cpp
39389 ac_cpp='$CXXCPP $CPPFLAGS'
39390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39395 /* end confdefs.h. */
39396 #include <math.h>
39398 main ()
39400 _sincosl(0, 0, 0);
39402 return 0;
39404 _ACEOF
39405 if ac_fn_cxx_try_compile "$LINENO"; then :
39406 glibcxx_cv_func__sincosl_use=yes
39407 else
39408 glibcxx_cv_func__sincosl_use=no
39410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39411 ac_ext=c
39412 ac_cpp='$CPP $CPPFLAGS'
39413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39422 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39424 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39425 for ac_func in _sincosl
39426 do :
39427 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39428 if test "x$ac_cv_func__sincosl" = x""yes; then :
39429 cat >>confdefs.h <<_ACEOF
39430 #define HAVE__SINCOSL 1
39431 _ACEOF
39434 done
39443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39444 $as_echo_n "checking for finitel declaration... " >&6; }
39445 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39446 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39447 $as_echo_n "(cached) " >&6
39448 else
39451 ac_ext=cpp
39452 ac_cpp='$CXXCPP $CPPFLAGS'
39453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39458 /* end confdefs.h. */
39459 #include <math.h>
39460 #ifdef HAVE_IEEEFP_H
39461 #include <ieeefp.h>
39462 #endif
39465 main ()
39467 finitel(0);
39469 return 0;
39471 _ACEOF
39472 if ac_fn_cxx_try_compile "$LINENO"; then :
39473 glibcxx_cv_func_finitel_use=yes
39474 else
39475 glibcxx_cv_func_finitel_use=no
39477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39478 ac_ext=c
39479 ac_cpp='$CPP $CPPFLAGS'
39480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39489 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39491 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39492 for ac_func in finitel
39493 do :
39494 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39495 if test "x$ac_cv_func_finitel" = x""yes; then :
39496 cat >>confdefs.h <<_ACEOF
39497 #define HAVE_FINITEL 1
39498 _ACEOF
39501 done
39503 else
39505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39506 $as_echo_n "checking for _finitel declaration... " >&6; }
39507 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39508 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39509 $as_echo_n "(cached) " >&6
39510 else
39513 ac_ext=cpp
39514 ac_cpp='$CXXCPP $CPPFLAGS'
39515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39520 /* end confdefs.h. */
39521 #include <math.h>
39522 #ifdef HAVE_IEEEFP_H
39523 #include <ieeefp.h>
39524 #endif
39527 main ()
39529 _finitel(0);
39531 return 0;
39533 _ACEOF
39534 if ac_fn_cxx_try_compile "$LINENO"; then :
39535 glibcxx_cv_func__finitel_use=yes
39536 else
39537 glibcxx_cv_func__finitel_use=no
39539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39540 ac_ext=c
39541 ac_cpp='$CPP $CPPFLAGS'
39542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39551 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39553 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39554 for ac_func in _finitel
39555 do :
39556 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39557 if test "x$ac_cv_func__finitel" = x""yes; then :
39558 cat >>confdefs.h <<_ACEOF
39559 #define HAVE__FINITEL 1
39560 _ACEOF
39563 done
39571 LIBS="$ac_save_LIBS"
39572 CXXFLAGS="$ac_save_CXXFLAGS"
39575 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39576 ac_save_CXXFLAGS="$CXXFLAGS"
39577 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39581 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39582 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39583 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39584 $as_echo_n "(cached) " >&6
39585 else
39588 ac_ext=cpp
39589 ac_cpp='$CXXCPP $CPPFLAGS'
39590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39595 /* end confdefs.h. */
39596 #include <stdlib.h>
39598 main ()
39600 at_quick_exit(0);
39602 return 0;
39604 _ACEOF
39605 if ac_fn_cxx_try_compile "$LINENO"; then :
39606 glibcxx_cv_func_at_quick_exit_use=yes
39607 else
39608 glibcxx_cv_func_at_quick_exit_use=no
39610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39611 ac_ext=c
39612 ac_cpp='$CPP $CPPFLAGS'
39613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39622 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39623 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39624 for ac_func in at_quick_exit
39625 do :
39626 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39627 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39628 cat >>confdefs.h <<_ACEOF
39629 #define HAVE_AT_QUICK_EXIT 1
39630 _ACEOF
39633 done
39638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39639 $as_echo_n "checking for quick_exit declaration... " >&6; }
39640 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39641 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39642 $as_echo_n "(cached) " >&6
39643 else
39646 ac_ext=cpp
39647 ac_cpp='$CXXCPP $CPPFLAGS'
39648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39653 /* end confdefs.h. */
39654 #include <stdlib.h>
39656 main ()
39658 quick_exit(0);
39660 return 0;
39662 _ACEOF
39663 if ac_fn_cxx_try_compile "$LINENO"; then :
39664 glibcxx_cv_func_quick_exit_use=yes
39665 else
39666 glibcxx_cv_func_quick_exit_use=no
39668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39669 ac_ext=c
39670 ac_cpp='$CPP $CPPFLAGS'
39671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39680 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39681 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39682 for ac_func in quick_exit
39683 do :
39684 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39685 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39686 cat >>confdefs.h <<_ACEOF
39687 #define HAVE_QUICK_EXIT 1
39688 _ACEOF
39691 done
39696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39697 $as_echo_n "checking for strtold declaration... " >&6; }
39698 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39699 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39700 $as_echo_n "(cached) " >&6
39701 else
39704 ac_ext=cpp
39705 ac_cpp='$CXXCPP $CPPFLAGS'
39706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39711 /* end confdefs.h. */
39712 #include <stdlib.h>
39714 main ()
39716 strtold(0, 0);
39718 return 0;
39720 _ACEOF
39721 if ac_fn_cxx_try_compile "$LINENO"; then :
39722 glibcxx_cv_func_strtold_use=yes
39723 else
39724 glibcxx_cv_func_strtold_use=no
39726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39727 ac_ext=c
39728 ac_cpp='$CPP $CPPFLAGS'
39729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39738 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39739 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39740 for ac_func in strtold
39741 do :
39742 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39743 if test "x$ac_cv_func_strtold" = x""yes; then :
39744 cat >>confdefs.h <<_ACEOF
39745 #define HAVE_STRTOLD 1
39746 _ACEOF
39749 done
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39757 $as_echo_n "checking for strtof declaration... " >&6; }
39758 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39759 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39760 $as_echo_n "(cached) " >&6
39761 else
39764 ac_ext=cpp
39765 ac_cpp='$CXXCPP $CPPFLAGS'
39766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39771 /* end confdefs.h. */
39772 #include <stdlib.h>
39774 main ()
39776 strtof(0, 0);
39778 return 0;
39780 _ACEOF
39781 if ac_fn_cxx_try_compile "$LINENO"; then :
39782 glibcxx_cv_func_strtof_use=yes
39783 else
39784 glibcxx_cv_func_strtof_use=no
39786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39787 ac_ext=c
39788 ac_cpp='$CPP $CPPFLAGS'
39789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39798 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39799 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39800 for ac_func in strtof
39801 do :
39802 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39803 if test "x$ac_cv_func_strtof" = x""yes; then :
39804 cat >>confdefs.h <<_ACEOF
39805 #define HAVE_STRTOF 1
39806 _ACEOF
39809 done
39816 CXXFLAGS="$ac_save_CXXFLAGS"
39823 am_save_CPPFLAGS="$CPPFLAGS"
39825 for element in $INCICONV; do
39826 haveit=
39827 for x in $CPPFLAGS; do
39829 acl_save_prefix="$prefix"
39830 prefix="$acl_final_prefix"
39831 acl_save_exec_prefix="$exec_prefix"
39832 exec_prefix="$acl_final_exec_prefix"
39833 eval x=\"$x\"
39834 exec_prefix="$acl_save_exec_prefix"
39835 prefix="$acl_save_prefix"
39837 if test "X$x" = "X$element"; then
39838 haveit=yes
39839 break
39841 done
39842 if test -z "$haveit"; then
39843 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39845 done
39848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39849 $as_echo_n "checking for iconv... " >&6; }
39850 if test "${am_cv_func_iconv+set}" = set; then :
39851 $as_echo_n "(cached) " >&6
39852 else
39854 am_cv_func_iconv="no, consider installing GNU libiconv"
39855 am_cv_lib_iconv=no
39856 if test x$gcc_no_link = xyes; then
39857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39860 /* end confdefs.h. */
39861 #include <stdlib.h>
39862 #include <iconv.h>
39864 main ()
39866 iconv_t cd = iconv_open("","");
39867 iconv(cd,NULL,NULL,NULL,NULL);
39868 iconv_close(cd);
39870 return 0;
39872 _ACEOF
39873 if ac_fn_c_try_link "$LINENO"; then :
39874 am_cv_func_iconv=yes
39876 rm -f core conftest.err conftest.$ac_objext \
39877 conftest$ac_exeext conftest.$ac_ext
39878 if test "$am_cv_func_iconv" != yes; then
39879 am_save_LIBS="$LIBS"
39880 LIBS="$LIBS $LIBICONV"
39881 if test x$gcc_no_link = xyes; then
39882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39885 /* end confdefs.h. */
39886 #include <stdlib.h>
39887 #include <iconv.h>
39889 main ()
39891 iconv_t cd = iconv_open("","");
39892 iconv(cd,NULL,NULL,NULL,NULL);
39893 iconv_close(cd);
39895 return 0;
39897 _ACEOF
39898 if ac_fn_c_try_link "$LINENO"; then :
39899 am_cv_lib_iconv=yes
39900 am_cv_func_iconv=yes
39902 rm -f core conftest.err conftest.$ac_objext \
39903 conftest$ac_exeext conftest.$ac_ext
39904 LIBS="$am_save_LIBS"
39908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39909 $as_echo "$am_cv_func_iconv" >&6; }
39910 if test "$am_cv_func_iconv" = yes; then
39912 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39915 if test "$am_cv_lib_iconv" = yes; then
39916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39917 $as_echo_n "checking how to link with libiconv... " >&6; }
39918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39919 $as_echo "$LIBICONV" >&6; }
39920 else
39921 CPPFLAGS="$am_save_CPPFLAGS"
39922 LIBICONV=
39923 LTLIBICONV=
39928 if test "$am_cv_func_iconv" = yes; then
39929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39930 $as_echo_n "checking for iconv declaration... " >&6; }
39931 if test "${am_cv_proto_iconv+set}" = set; then :
39932 $as_echo_n "(cached) " >&6
39933 else
39935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39936 /* end confdefs.h. */
39938 #include <stdlib.h>
39939 #include <iconv.h>
39940 extern
39941 #ifdef __cplusplus
39943 #endif
39944 #if defined(__STDC__) || defined(__cplusplus)
39945 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39946 #else
39947 size_t iconv();
39948 #endif
39951 main ()
39955 return 0;
39957 _ACEOF
39958 if ac_fn_c_try_compile "$LINENO"; then :
39959 am_cv_proto_iconv_arg1=""
39960 else
39961 am_cv_proto_iconv_arg1="const"
39963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39964 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);"
39967 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39969 }$am_cv_proto_iconv" >&5
39970 $as_echo "${ac_t:-
39971 }$am_cv_proto_iconv" >&6; }
39973 cat >>confdefs.h <<_ACEOF
39974 #define ICONV_CONST $am_cv_proto_iconv_arg1
39975 _ACEOF
39981 *-aix*)
39983 # If we're not using GNU ld, then there's no point in even trying these
39984 # tests. Check for that first. We should have already tested for gld
39985 # by now (in libtool), but require it now just to be safe...
39986 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
39987 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
39991 # The name set by libtool depends on the version of libtool. Shame on us
39992 # for depending on an impl detail, but c'est la vie. Older versions used
39993 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
39994 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
39995 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
39996 # set (hence we're using an older libtool), then set it.
39997 if test x${with_gnu_ld+set} != xset; then
39998 if test x${ac_cv_prog_gnu_ld+set} != xset; then
39999 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40000 with_gnu_ld=no
40001 else
40002 with_gnu_ld=$ac_cv_prog_gnu_ld
40006 # Start by getting the version number. I think the libtool test already
40007 # does some of this, but throws away the result.
40008 glibcxx_ld_is_gold=no
40009 if test x"$with_gnu_ld" = x"yes"; then
40010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40011 $as_echo_n "checking for ld version... " >&6; }
40013 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40014 glibcxx_ld_is_gold=yes
40016 ldver=`$LD --version 2>/dev/null |
40017 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'`
40019 glibcxx_gnu_ld_version=`echo $ldver | \
40020 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40022 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40025 # Set --gc-sections.
40026 glibcxx_have_gc_sections=no
40027 if test "$glibcxx_ld_is_gold" = "yes"; then
40028 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40029 glibcxx_have_gc_sections=yes
40031 else
40032 glibcxx_gcsections_min_ld=21602
40033 if test x"$with_gnu_ld" = x"yes" &&
40034 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40035 glibcxx_have_gc_sections=yes
40038 if test "$glibcxx_have_gc_sections" = "yes"; then
40039 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40040 # NB: This flag only works reliably after 2.16.1. Configure tests
40041 # for this are difficult, so hard wire a value that should work.
40043 ac_test_CFLAGS="${CFLAGS+set}"
40044 ac_save_CFLAGS="$CFLAGS"
40045 CFLAGS='-Wl,--gc-sections'
40047 # Check for -Wl,--gc-sections
40048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40049 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40050 if test x$gcc_no_link = xyes; then
40051 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40054 /* end confdefs.h. */
40055 int one(void) { return 1; }
40056 int two(void) { return 2; }
40059 main ()
40061 two();
40063 return 0;
40065 _ACEOF
40066 if ac_fn_c_try_link "$LINENO"; then :
40067 ac_gcsections=yes
40068 else
40069 ac_gcsections=no
40071 rm -f core conftest.err conftest.$ac_objext \
40072 conftest$ac_exeext conftest.$ac_ext
40073 if test "$ac_gcsections" = "yes"; then
40074 rm -f conftest.c
40075 touch conftest.c
40076 if $CC -c conftest.c; then
40077 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40078 grep "Warning: gc-sections option ignored" > /dev/null; then
40079 ac_gcsections=no
40082 rm -f conftest.c conftest.o conftest
40084 if test "$ac_gcsections" = "yes"; then
40085 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40088 $as_echo "$ac_gcsections" >&6; }
40090 if test "$ac_test_CFLAGS" = set; then
40091 CFLAGS="$ac_save_CFLAGS"
40092 else
40093 # this is the suspicious part
40094 CFLAGS=''
40098 # Set -z,relro.
40099 # Note this is only for shared objects.
40100 ac_ld_relro=no
40101 if test x"$with_gnu_ld" = x"yes"; then
40102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40103 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40104 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40105 if test -n "$cxx_z_relo"; then
40106 OPT_LDFLAGS="-Wl,-z,relro"
40107 ac_ld_relro=yes
40109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40110 $as_echo "$ac_ld_relro" >&6; }
40113 # Set linker optimization flags.
40114 if test x"$with_gnu_ld" = x"yes"; then
40115 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40122 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40123 ac_save_CXXFLAGS="$CXXFLAGS"
40124 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40127 $as_echo_n "checking for sin in -lm... " >&6; }
40128 if test "${ac_cv_lib_m_sin+set}" = set; then :
40129 $as_echo_n "(cached) " >&6
40130 else
40131 ac_check_lib_save_LIBS=$LIBS
40132 LIBS="-lm $LIBS"
40133 if test x$gcc_no_link = xyes; then
40134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40137 /* end confdefs.h. */
40139 /* Override any GCC internal prototype to avoid an error.
40140 Use char because int might match the return type of a GCC
40141 builtin and then its argument prototype would still apply. */
40142 #ifdef __cplusplus
40143 extern "C"
40144 #endif
40145 char sin ();
40147 main ()
40149 return sin ();
40151 return 0;
40153 _ACEOF
40154 if ac_fn_c_try_link "$LINENO"; then :
40155 ac_cv_lib_m_sin=yes
40156 else
40157 ac_cv_lib_m_sin=no
40159 rm -f core conftest.err conftest.$ac_objext \
40160 conftest$ac_exeext conftest.$ac_ext
40161 LIBS=$ac_check_lib_save_LIBS
40163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40164 $as_echo "$ac_cv_lib_m_sin" >&6; }
40165 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40166 libm="-lm"
40169 ac_save_LIBS="$LIBS"
40170 LIBS="$LIBS $libm"
40174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40175 $as_echo_n "checking for isinf declaration... " >&6; }
40176 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40177 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40178 $as_echo_n "(cached) " >&6
40179 else
40182 ac_ext=cpp
40183 ac_cpp='$CXXCPP $CPPFLAGS'
40184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40189 /* end confdefs.h. */
40190 #include <math.h>
40191 #ifdef HAVE_IEEEFP_H
40192 #include <ieeefp.h>
40193 #endif
40196 main ()
40198 isinf(0);
40200 return 0;
40202 _ACEOF
40203 if ac_fn_cxx_try_compile "$LINENO"; then :
40204 glibcxx_cv_func_isinf_use=yes
40205 else
40206 glibcxx_cv_func_isinf_use=no
40208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40209 ac_ext=c
40210 ac_cpp='$CPP $CPPFLAGS'
40211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40220 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40222 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40223 for ac_func in isinf
40224 do :
40225 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40226 if test "x$ac_cv_func_isinf" = x""yes; then :
40227 cat >>confdefs.h <<_ACEOF
40228 #define HAVE_ISINF 1
40229 _ACEOF
40232 done
40234 else
40236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40237 $as_echo_n "checking for _isinf declaration... " >&6; }
40238 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40239 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40240 $as_echo_n "(cached) " >&6
40241 else
40244 ac_ext=cpp
40245 ac_cpp='$CXXCPP $CPPFLAGS'
40246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40251 /* end confdefs.h. */
40252 #include <math.h>
40253 #ifdef HAVE_IEEEFP_H
40254 #include <ieeefp.h>
40255 #endif
40258 main ()
40260 _isinf(0);
40262 return 0;
40264 _ACEOF
40265 if ac_fn_cxx_try_compile "$LINENO"; then :
40266 glibcxx_cv_func__isinf_use=yes
40267 else
40268 glibcxx_cv_func__isinf_use=no
40270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40271 ac_ext=c
40272 ac_cpp='$CPP $CPPFLAGS'
40273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40282 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40284 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40285 for ac_func in _isinf
40286 do :
40287 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40288 if test "x$ac_cv_func__isinf" = x""yes; then :
40289 cat >>confdefs.h <<_ACEOF
40290 #define HAVE__ISINF 1
40291 _ACEOF
40294 done
40303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40304 $as_echo_n "checking for isnan declaration... " >&6; }
40305 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40306 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40307 $as_echo_n "(cached) " >&6
40308 else
40311 ac_ext=cpp
40312 ac_cpp='$CXXCPP $CPPFLAGS'
40313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40318 /* end confdefs.h. */
40319 #include <math.h>
40320 #ifdef HAVE_IEEEFP_H
40321 #include <ieeefp.h>
40322 #endif
40325 main ()
40327 isnan(0);
40329 return 0;
40331 _ACEOF
40332 if ac_fn_cxx_try_compile "$LINENO"; then :
40333 glibcxx_cv_func_isnan_use=yes
40334 else
40335 glibcxx_cv_func_isnan_use=no
40337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40338 ac_ext=c
40339 ac_cpp='$CPP $CPPFLAGS'
40340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40349 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40351 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40352 for ac_func in isnan
40353 do :
40354 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40355 if test "x$ac_cv_func_isnan" = x""yes; then :
40356 cat >>confdefs.h <<_ACEOF
40357 #define HAVE_ISNAN 1
40358 _ACEOF
40361 done
40363 else
40365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40366 $as_echo_n "checking for _isnan declaration... " >&6; }
40367 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40368 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40369 $as_echo_n "(cached) " >&6
40370 else
40373 ac_ext=cpp
40374 ac_cpp='$CXXCPP $CPPFLAGS'
40375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40380 /* end confdefs.h. */
40381 #include <math.h>
40382 #ifdef HAVE_IEEEFP_H
40383 #include <ieeefp.h>
40384 #endif
40387 main ()
40389 _isnan(0);
40391 return 0;
40393 _ACEOF
40394 if ac_fn_cxx_try_compile "$LINENO"; then :
40395 glibcxx_cv_func__isnan_use=yes
40396 else
40397 glibcxx_cv_func__isnan_use=no
40399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40400 ac_ext=c
40401 ac_cpp='$CPP $CPPFLAGS'
40402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40411 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40413 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40414 for ac_func in _isnan
40415 do :
40416 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40417 if test "x$ac_cv_func__isnan" = x""yes; then :
40418 cat >>confdefs.h <<_ACEOF
40419 #define HAVE__ISNAN 1
40420 _ACEOF
40423 done
40432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40433 $as_echo_n "checking for finite declaration... " >&6; }
40434 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40435 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40436 $as_echo_n "(cached) " >&6
40437 else
40440 ac_ext=cpp
40441 ac_cpp='$CXXCPP $CPPFLAGS'
40442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40447 /* end confdefs.h. */
40448 #include <math.h>
40449 #ifdef HAVE_IEEEFP_H
40450 #include <ieeefp.h>
40451 #endif
40454 main ()
40456 finite(0);
40458 return 0;
40460 _ACEOF
40461 if ac_fn_cxx_try_compile "$LINENO"; then :
40462 glibcxx_cv_func_finite_use=yes
40463 else
40464 glibcxx_cv_func_finite_use=no
40466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40467 ac_ext=c
40468 ac_cpp='$CPP $CPPFLAGS'
40469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40478 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40480 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40481 for ac_func in finite
40482 do :
40483 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40484 if test "x$ac_cv_func_finite" = x""yes; then :
40485 cat >>confdefs.h <<_ACEOF
40486 #define HAVE_FINITE 1
40487 _ACEOF
40490 done
40492 else
40494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40495 $as_echo_n "checking for _finite declaration... " >&6; }
40496 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40497 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40498 $as_echo_n "(cached) " >&6
40499 else
40502 ac_ext=cpp
40503 ac_cpp='$CXXCPP $CPPFLAGS'
40504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40509 /* end confdefs.h. */
40510 #include <math.h>
40511 #ifdef HAVE_IEEEFP_H
40512 #include <ieeefp.h>
40513 #endif
40516 main ()
40518 _finite(0);
40520 return 0;
40522 _ACEOF
40523 if ac_fn_cxx_try_compile "$LINENO"; then :
40524 glibcxx_cv_func__finite_use=yes
40525 else
40526 glibcxx_cv_func__finite_use=no
40528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40529 ac_ext=c
40530 ac_cpp='$CPP $CPPFLAGS'
40531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40540 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40542 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40543 for ac_func in _finite
40544 do :
40545 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40546 if test "x$ac_cv_func__finite" = x""yes; then :
40547 cat >>confdefs.h <<_ACEOF
40548 #define HAVE__FINITE 1
40549 _ACEOF
40552 done
40561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40562 $as_echo_n "checking for sincos declaration... " >&6; }
40563 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40564 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40565 $as_echo_n "(cached) " >&6
40566 else
40569 ac_ext=cpp
40570 ac_cpp='$CXXCPP $CPPFLAGS'
40571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40576 /* end confdefs.h. */
40577 #include <math.h>
40579 main ()
40581 sincos(0, 0, 0);
40583 return 0;
40585 _ACEOF
40586 if ac_fn_cxx_try_compile "$LINENO"; then :
40587 glibcxx_cv_func_sincos_use=yes
40588 else
40589 glibcxx_cv_func_sincos_use=no
40591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40592 ac_ext=c
40593 ac_cpp='$CPP $CPPFLAGS'
40594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40603 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40605 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40606 for ac_func in sincos
40607 do :
40608 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40609 if test "x$ac_cv_func_sincos" = x""yes; then :
40610 cat >>confdefs.h <<_ACEOF
40611 #define HAVE_SINCOS 1
40612 _ACEOF
40615 done
40617 else
40619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40620 $as_echo_n "checking for _sincos declaration... " >&6; }
40621 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40622 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40623 $as_echo_n "(cached) " >&6
40624 else
40627 ac_ext=cpp
40628 ac_cpp='$CXXCPP $CPPFLAGS'
40629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40634 /* end confdefs.h. */
40635 #include <math.h>
40637 main ()
40639 _sincos(0, 0, 0);
40641 return 0;
40643 _ACEOF
40644 if ac_fn_cxx_try_compile "$LINENO"; then :
40645 glibcxx_cv_func__sincos_use=yes
40646 else
40647 glibcxx_cv_func__sincos_use=no
40649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40650 ac_ext=c
40651 ac_cpp='$CPP $CPPFLAGS'
40652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40661 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40663 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40664 for ac_func in _sincos
40665 do :
40666 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40667 if test "x$ac_cv_func__sincos" = x""yes; then :
40668 cat >>confdefs.h <<_ACEOF
40669 #define HAVE__SINCOS 1
40670 _ACEOF
40673 done
40682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40683 $as_echo_n "checking for fpclass declaration... " >&6; }
40684 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40685 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40686 $as_echo_n "(cached) " >&6
40687 else
40690 ac_ext=cpp
40691 ac_cpp='$CXXCPP $CPPFLAGS'
40692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40697 /* end confdefs.h. */
40698 #include <math.h>
40699 #ifdef HAVE_IEEEFP_H
40700 #include <ieeefp.h>
40701 #endif
40704 main ()
40706 fpclass(0);
40708 return 0;
40710 _ACEOF
40711 if ac_fn_cxx_try_compile "$LINENO"; then :
40712 glibcxx_cv_func_fpclass_use=yes
40713 else
40714 glibcxx_cv_func_fpclass_use=no
40716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40717 ac_ext=c
40718 ac_cpp='$CPP $CPPFLAGS'
40719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40728 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40730 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40731 for ac_func in fpclass
40732 do :
40733 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40734 if test "x$ac_cv_func_fpclass" = x""yes; then :
40735 cat >>confdefs.h <<_ACEOF
40736 #define HAVE_FPCLASS 1
40737 _ACEOF
40740 done
40742 else
40744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40745 $as_echo_n "checking for _fpclass declaration... " >&6; }
40746 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40747 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40748 $as_echo_n "(cached) " >&6
40749 else
40752 ac_ext=cpp
40753 ac_cpp='$CXXCPP $CPPFLAGS'
40754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40759 /* end confdefs.h. */
40760 #include <math.h>
40761 #ifdef HAVE_IEEEFP_H
40762 #include <ieeefp.h>
40763 #endif
40766 main ()
40768 _fpclass(0);
40770 return 0;
40772 _ACEOF
40773 if ac_fn_cxx_try_compile "$LINENO"; then :
40774 glibcxx_cv_func__fpclass_use=yes
40775 else
40776 glibcxx_cv_func__fpclass_use=no
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40779 ac_ext=c
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40790 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40792 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40793 for ac_func in _fpclass
40794 do :
40795 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40796 if test "x$ac_cv_func__fpclass" = x""yes; then :
40797 cat >>confdefs.h <<_ACEOF
40798 #define HAVE__FPCLASS 1
40799 _ACEOF
40802 done
40811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40812 $as_echo_n "checking for qfpclass declaration... " >&6; }
40813 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40814 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40815 $as_echo_n "(cached) " >&6
40816 else
40819 ac_ext=cpp
40820 ac_cpp='$CXXCPP $CPPFLAGS'
40821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40826 /* end confdefs.h. */
40827 #include <math.h>
40828 #ifdef HAVE_IEEEFP_H
40829 #include <ieeefp.h>
40830 #endif
40833 main ()
40835 qfpclass(0);
40837 return 0;
40839 _ACEOF
40840 if ac_fn_cxx_try_compile "$LINENO"; then :
40841 glibcxx_cv_func_qfpclass_use=yes
40842 else
40843 glibcxx_cv_func_qfpclass_use=no
40845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40846 ac_ext=c
40847 ac_cpp='$CPP $CPPFLAGS'
40848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40857 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40859 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40860 for ac_func in qfpclass
40861 do :
40862 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40863 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40864 cat >>confdefs.h <<_ACEOF
40865 #define HAVE_QFPCLASS 1
40866 _ACEOF
40869 done
40871 else
40873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40874 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40875 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40876 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40877 $as_echo_n "(cached) " >&6
40878 else
40881 ac_ext=cpp
40882 ac_cpp='$CXXCPP $CPPFLAGS'
40883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40888 /* end confdefs.h. */
40889 #include <math.h>
40890 #ifdef HAVE_IEEEFP_H
40891 #include <ieeefp.h>
40892 #endif
40895 main ()
40897 _qfpclass(0);
40899 return 0;
40901 _ACEOF
40902 if ac_fn_cxx_try_compile "$LINENO"; then :
40903 glibcxx_cv_func__qfpclass_use=yes
40904 else
40905 glibcxx_cv_func__qfpclass_use=no
40907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40908 ac_ext=c
40909 ac_cpp='$CPP $CPPFLAGS'
40910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40919 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40921 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40922 for ac_func in _qfpclass
40923 do :
40924 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40925 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40926 cat >>confdefs.h <<_ACEOF
40927 #define HAVE__QFPCLASS 1
40928 _ACEOF
40931 done
40940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40941 $as_echo_n "checking for hypot declaration... " >&6; }
40942 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40943 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40944 $as_echo_n "(cached) " >&6
40945 else
40948 ac_ext=cpp
40949 ac_cpp='$CXXCPP $CPPFLAGS'
40950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40955 /* end confdefs.h. */
40956 #include <math.h>
40958 main ()
40960 hypot(0, 0);
40962 return 0;
40964 _ACEOF
40965 if ac_fn_cxx_try_compile "$LINENO"; then :
40966 glibcxx_cv_func_hypot_use=yes
40967 else
40968 glibcxx_cv_func_hypot_use=no
40970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40971 ac_ext=c
40972 ac_cpp='$CPP $CPPFLAGS'
40973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40982 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40984 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40985 for ac_func in hypot
40986 do :
40987 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40988 if test "x$ac_cv_func_hypot" = x""yes; then :
40989 cat >>confdefs.h <<_ACEOF
40990 #define HAVE_HYPOT 1
40991 _ACEOF
40994 done
40996 else
40998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40999 $as_echo_n "checking for _hypot declaration... " >&6; }
41000 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41001 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41002 $as_echo_n "(cached) " >&6
41003 else
41006 ac_ext=cpp
41007 ac_cpp='$CXXCPP $CPPFLAGS'
41008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41013 /* end confdefs.h. */
41014 #include <math.h>
41016 main ()
41018 _hypot(0, 0);
41020 return 0;
41022 _ACEOF
41023 if ac_fn_cxx_try_compile "$LINENO"; then :
41024 glibcxx_cv_func__hypot_use=yes
41025 else
41026 glibcxx_cv_func__hypot_use=no
41028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41029 ac_ext=c
41030 ac_cpp='$CPP $CPPFLAGS'
41031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41040 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41042 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41043 for ac_func in _hypot
41044 do :
41045 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41046 if test "x$ac_cv_func__hypot" = x""yes; then :
41047 cat >>confdefs.h <<_ACEOF
41048 #define HAVE__HYPOT 1
41049 _ACEOF
41052 done
41061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41062 $as_echo_n "checking for float trig functions... " >&6; }
41063 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41064 $as_echo_n "(cached) " >&6
41065 else
41068 ac_ext=cpp
41069 ac_cpp='$CXXCPP $CPPFLAGS'
41070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41075 /* end confdefs.h. */
41076 #include <math.h>
41078 main ()
41080 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41082 return 0;
41084 _ACEOF
41085 if ac_fn_cxx_try_compile "$LINENO"; then :
41086 glibcxx_cv_func_float_trig_use=yes
41087 else
41088 glibcxx_cv_func_float_trig_use=no
41090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41091 ac_ext=c
41092 ac_cpp='$CPP $CPPFLAGS'
41093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41100 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41101 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41102 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41103 do :
41104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41106 eval as_val=\$$as_ac_var
41107 if test "x$as_val" = x""yes; then :
41108 cat >>confdefs.h <<_ACEOF
41109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41110 _ACEOF
41113 done
41115 else
41116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41117 $as_echo_n "checking for _float trig functions... " >&6; }
41118 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41119 $as_echo_n "(cached) " >&6
41120 else
41123 ac_ext=cpp
41124 ac_cpp='$CXXCPP $CPPFLAGS'
41125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41130 /* end confdefs.h. */
41131 #include <math.h>
41133 main ()
41135 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41137 return 0;
41139 _ACEOF
41140 if ac_fn_cxx_try_compile "$LINENO"; then :
41141 glibcxx_cv_func__float_trig_use=yes
41142 else
41143 glibcxx_cv_func__float_trig_use=no
41145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41146 ac_ext=c
41147 ac_cpp='$CPP $CPPFLAGS'
41148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41155 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41156 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41157 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41158 do :
41159 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41160 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41161 eval as_val=\$$as_ac_var
41162 if test "x$as_val" = x""yes; then :
41163 cat >>confdefs.h <<_ACEOF
41164 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41165 _ACEOF
41168 done
41177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41178 $as_echo_n "checking for float round functions... " >&6; }
41179 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41180 $as_echo_n "(cached) " >&6
41181 else
41184 ac_ext=cpp
41185 ac_cpp='$CXXCPP $CPPFLAGS'
41186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41191 /* end confdefs.h. */
41192 #include <math.h>
41194 main ()
41196 ceilf (0); floorf (0);
41198 return 0;
41200 _ACEOF
41201 if ac_fn_cxx_try_compile "$LINENO"; then :
41202 glibcxx_cv_func_float_round_use=yes
41203 else
41204 glibcxx_cv_func_float_round_use=no
41206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41207 ac_ext=c
41208 ac_cpp='$CPP $CPPFLAGS'
41209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41216 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41217 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41218 for ac_func in ceilf floorf
41219 do :
41220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41222 eval as_val=\$$as_ac_var
41223 if test "x$as_val" = x""yes; then :
41224 cat >>confdefs.h <<_ACEOF
41225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41226 _ACEOF
41229 done
41231 else
41232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41233 $as_echo_n "checking for _float round functions... " >&6; }
41234 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41235 $as_echo_n "(cached) " >&6
41236 else
41239 ac_ext=cpp
41240 ac_cpp='$CXXCPP $CPPFLAGS'
41241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41246 /* end confdefs.h. */
41247 #include <math.h>
41249 main ()
41251 _ceilf (0); _floorf (0);
41253 return 0;
41255 _ACEOF
41256 if ac_fn_cxx_try_compile "$LINENO"; then :
41257 glibcxx_cv_func__float_round_use=yes
41258 else
41259 glibcxx_cv_func__float_round_use=no
41261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41262 ac_ext=c
41263 ac_cpp='$CPP $CPPFLAGS'
41264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41271 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41272 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41273 for ac_func in _ceilf _floorf
41274 do :
41275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41277 eval as_val=\$$as_ac_var
41278 if test "x$as_val" = x""yes; then :
41279 cat >>confdefs.h <<_ACEOF
41280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41281 _ACEOF
41284 done
41294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41295 $as_echo_n "checking for expf declaration... " >&6; }
41296 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41297 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41298 $as_echo_n "(cached) " >&6
41299 else
41302 ac_ext=cpp
41303 ac_cpp='$CXXCPP $CPPFLAGS'
41304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41309 /* end confdefs.h. */
41310 #include <math.h>
41311 #ifdef HAVE_IEEEFP_H
41312 #include <ieeefp.h>
41313 #endif
41316 main ()
41318 expf(0);
41320 return 0;
41322 _ACEOF
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324 glibcxx_cv_func_expf_use=yes
41325 else
41326 glibcxx_cv_func_expf_use=no
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329 ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41340 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41342 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41343 for ac_func in expf
41344 do :
41345 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41346 if test "x$ac_cv_func_expf" = x""yes; then :
41347 cat >>confdefs.h <<_ACEOF
41348 #define HAVE_EXPF 1
41349 _ACEOF
41352 done
41354 else
41356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41357 $as_echo_n "checking for _expf declaration... " >&6; }
41358 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41359 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41360 $as_echo_n "(cached) " >&6
41361 else
41364 ac_ext=cpp
41365 ac_cpp='$CXXCPP $CPPFLAGS'
41366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41371 /* end confdefs.h. */
41372 #include <math.h>
41373 #ifdef HAVE_IEEEFP_H
41374 #include <ieeefp.h>
41375 #endif
41378 main ()
41380 _expf(0);
41382 return 0;
41384 _ACEOF
41385 if ac_fn_cxx_try_compile "$LINENO"; then :
41386 glibcxx_cv_func__expf_use=yes
41387 else
41388 glibcxx_cv_func__expf_use=no
41390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41391 ac_ext=c
41392 ac_cpp='$CPP $CPPFLAGS'
41393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41402 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41404 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41405 for ac_func in _expf
41406 do :
41407 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41408 if test "x$ac_cv_func__expf" = x""yes; then :
41409 cat >>confdefs.h <<_ACEOF
41410 #define HAVE__EXPF 1
41411 _ACEOF
41414 done
41423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41424 $as_echo_n "checking for isnanf declaration... " >&6; }
41425 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41426 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41427 $as_echo_n "(cached) " >&6
41428 else
41431 ac_ext=cpp
41432 ac_cpp='$CXXCPP $CPPFLAGS'
41433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41438 /* end confdefs.h. */
41439 #include <math.h>
41440 #ifdef HAVE_IEEEFP_H
41441 #include <ieeefp.h>
41442 #endif
41445 main ()
41447 isnanf(0);
41449 return 0;
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453 glibcxx_cv_func_isnanf_use=yes
41454 else
41455 glibcxx_cv_func_isnanf_use=no
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458 ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41469 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41471 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41472 for ac_func in isnanf
41473 do :
41474 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41475 if test "x$ac_cv_func_isnanf" = x""yes; then :
41476 cat >>confdefs.h <<_ACEOF
41477 #define HAVE_ISNANF 1
41478 _ACEOF
41481 done
41483 else
41485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41486 $as_echo_n "checking for _isnanf declaration... " >&6; }
41487 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41488 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41489 $as_echo_n "(cached) " >&6
41490 else
41493 ac_ext=cpp
41494 ac_cpp='$CXXCPP $CPPFLAGS'
41495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41500 /* end confdefs.h. */
41501 #include <math.h>
41502 #ifdef HAVE_IEEEFP_H
41503 #include <ieeefp.h>
41504 #endif
41507 main ()
41509 _isnanf(0);
41511 return 0;
41513 _ACEOF
41514 if ac_fn_cxx_try_compile "$LINENO"; then :
41515 glibcxx_cv_func__isnanf_use=yes
41516 else
41517 glibcxx_cv_func__isnanf_use=no
41519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41520 ac_ext=c
41521 ac_cpp='$CPP $CPPFLAGS'
41522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41531 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41533 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41534 for ac_func in _isnanf
41535 do :
41536 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41537 if test "x$ac_cv_func__isnanf" = x""yes; then :
41538 cat >>confdefs.h <<_ACEOF
41539 #define HAVE__ISNANF 1
41540 _ACEOF
41543 done
41552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41553 $as_echo_n "checking for isinff declaration... " >&6; }
41554 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41555 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41556 $as_echo_n "(cached) " >&6
41557 else
41560 ac_ext=cpp
41561 ac_cpp='$CXXCPP $CPPFLAGS'
41562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41567 /* end confdefs.h. */
41568 #include <math.h>
41569 #ifdef HAVE_IEEEFP_H
41570 #include <ieeefp.h>
41571 #endif
41574 main ()
41576 isinff(0);
41578 return 0;
41580 _ACEOF
41581 if ac_fn_cxx_try_compile "$LINENO"; then :
41582 glibcxx_cv_func_isinff_use=yes
41583 else
41584 glibcxx_cv_func_isinff_use=no
41586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41587 ac_ext=c
41588 ac_cpp='$CPP $CPPFLAGS'
41589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41598 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41600 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41601 for ac_func in isinff
41602 do :
41603 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41604 if test "x$ac_cv_func_isinff" = x""yes; then :
41605 cat >>confdefs.h <<_ACEOF
41606 #define HAVE_ISINFF 1
41607 _ACEOF
41610 done
41612 else
41614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41615 $as_echo_n "checking for _isinff declaration... " >&6; }
41616 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41617 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41618 $as_echo_n "(cached) " >&6
41619 else
41622 ac_ext=cpp
41623 ac_cpp='$CXXCPP $CPPFLAGS'
41624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41629 /* end confdefs.h. */
41630 #include <math.h>
41631 #ifdef HAVE_IEEEFP_H
41632 #include <ieeefp.h>
41633 #endif
41636 main ()
41638 _isinff(0);
41640 return 0;
41642 _ACEOF
41643 if ac_fn_cxx_try_compile "$LINENO"; then :
41644 glibcxx_cv_func__isinff_use=yes
41645 else
41646 glibcxx_cv_func__isinff_use=no
41648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41649 ac_ext=c
41650 ac_cpp='$CPP $CPPFLAGS'
41651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41660 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41662 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41663 for ac_func in _isinff
41664 do :
41665 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41666 if test "x$ac_cv_func__isinff" = x""yes; then :
41667 cat >>confdefs.h <<_ACEOF
41668 #define HAVE__ISINFF 1
41669 _ACEOF
41672 done
41681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41682 $as_echo_n "checking for atan2f declaration... " >&6; }
41683 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41684 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41685 $as_echo_n "(cached) " >&6
41686 else
41689 ac_ext=cpp
41690 ac_cpp='$CXXCPP $CPPFLAGS'
41691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41696 /* end confdefs.h. */
41697 #include <math.h>
41699 main ()
41701 atan2f(0, 0);
41703 return 0;
41705 _ACEOF
41706 if ac_fn_cxx_try_compile "$LINENO"; then :
41707 glibcxx_cv_func_atan2f_use=yes
41708 else
41709 glibcxx_cv_func_atan2f_use=no
41711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41712 ac_ext=c
41713 ac_cpp='$CPP $CPPFLAGS'
41714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41723 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41725 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41726 for ac_func in atan2f
41727 do :
41728 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41729 if test "x$ac_cv_func_atan2f" = x""yes; then :
41730 cat >>confdefs.h <<_ACEOF
41731 #define HAVE_ATAN2F 1
41732 _ACEOF
41735 done
41737 else
41739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41740 $as_echo_n "checking for _atan2f declaration... " >&6; }
41741 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41742 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41743 $as_echo_n "(cached) " >&6
41744 else
41747 ac_ext=cpp
41748 ac_cpp='$CXXCPP $CPPFLAGS'
41749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41754 /* end confdefs.h. */
41755 #include <math.h>
41757 main ()
41759 _atan2f(0, 0);
41761 return 0;
41763 _ACEOF
41764 if ac_fn_cxx_try_compile "$LINENO"; then :
41765 glibcxx_cv_func__atan2f_use=yes
41766 else
41767 glibcxx_cv_func__atan2f_use=no
41769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41770 ac_ext=c
41771 ac_cpp='$CPP $CPPFLAGS'
41772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41781 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41783 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41784 for ac_func in _atan2f
41785 do :
41786 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41787 if test "x$ac_cv_func__atan2f" = x""yes; then :
41788 cat >>confdefs.h <<_ACEOF
41789 #define HAVE__ATAN2F 1
41790 _ACEOF
41793 done
41802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41803 $as_echo_n "checking for fabsf declaration... " >&6; }
41804 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41805 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41806 $as_echo_n "(cached) " >&6
41807 else
41810 ac_ext=cpp
41811 ac_cpp='$CXXCPP $CPPFLAGS'
41812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41817 /* end confdefs.h. */
41818 #include <math.h>
41819 #ifdef HAVE_IEEEFP_H
41820 #include <ieeefp.h>
41821 #endif
41824 main ()
41826 fabsf(0);
41828 return 0;
41830 _ACEOF
41831 if ac_fn_cxx_try_compile "$LINENO"; then :
41832 glibcxx_cv_func_fabsf_use=yes
41833 else
41834 glibcxx_cv_func_fabsf_use=no
41836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41837 ac_ext=c
41838 ac_cpp='$CPP $CPPFLAGS'
41839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41848 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41850 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41851 for ac_func in fabsf
41852 do :
41853 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41854 if test "x$ac_cv_func_fabsf" = x""yes; then :
41855 cat >>confdefs.h <<_ACEOF
41856 #define HAVE_FABSF 1
41857 _ACEOF
41860 done
41862 else
41864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41865 $as_echo_n "checking for _fabsf declaration... " >&6; }
41866 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41867 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41868 $as_echo_n "(cached) " >&6
41869 else
41872 ac_ext=cpp
41873 ac_cpp='$CXXCPP $CPPFLAGS'
41874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41879 /* end confdefs.h. */
41880 #include <math.h>
41881 #ifdef HAVE_IEEEFP_H
41882 #include <ieeefp.h>
41883 #endif
41886 main ()
41888 _fabsf(0);
41890 return 0;
41892 _ACEOF
41893 if ac_fn_cxx_try_compile "$LINENO"; then :
41894 glibcxx_cv_func__fabsf_use=yes
41895 else
41896 glibcxx_cv_func__fabsf_use=no
41898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41899 ac_ext=c
41900 ac_cpp='$CPP $CPPFLAGS'
41901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41910 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41912 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41913 for ac_func in _fabsf
41914 do :
41915 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41916 if test "x$ac_cv_func__fabsf" = x""yes; then :
41917 cat >>confdefs.h <<_ACEOF
41918 #define HAVE__FABSF 1
41919 _ACEOF
41922 done
41931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41932 $as_echo_n "checking for fmodf declaration... " >&6; }
41933 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41934 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41935 $as_echo_n "(cached) " >&6
41936 else
41939 ac_ext=cpp
41940 ac_cpp='$CXXCPP $CPPFLAGS'
41941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41946 /* end confdefs.h. */
41947 #include <math.h>
41949 main ()
41951 fmodf(0, 0);
41953 return 0;
41955 _ACEOF
41956 if ac_fn_cxx_try_compile "$LINENO"; then :
41957 glibcxx_cv_func_fmodf_use=yes
41958 else
41959 glibcxx_cv_func_fmodf_use=no
41961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41962 ac_ext=c
41963 ac_cpp='$CPP $CPPFLAGS'
41964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41973 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41975 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41976 for ac_func in fmodf
41977 do :
41978 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41979 if test "x$ac_cv_func_fmodf" = x""yes; then :
41980 cat >>confdefs.h <<_ACEOF
41981 #define HAVE_FMODF 1
41982 _ACEOF
41985 done
41987 else
41989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41990 $as_echo_n "checking for _fmodf declaration... " >&6; }
41991 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41992 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41993 $as_echo_n "(cached) " >&6
41994 else
41997 ac_ext=cpp
41998 ac_cpp='$CXXCPP $CPPFLAGS'
41999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42004 /* end confdefs.h. */
42005 #include <math.h>
42007 main ()
42009 _fmodf(0, 0);
42011 return 0;
42013 _ACEOF
42014 if ac_fn_cxx_try_compile "$LINENO"; then :
42015 glibcxx_cv_func__fmodf_use=yes
42016 else
42017 glibcxx_cv_func__fmodf_use=no
42019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42020 ac_ext=c
42021 ac_cpp='$CPP $CPPFLAGS'
42022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42031 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42033 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42034 for ac_func in _fmodf
42035 do :
42036 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42037 if test "x$ac_cv_func__fmodf" = x""yes; then :
42038 cat >>confdefs.h <<_ACEOF
42039 #define HAVE__FMODF 1
42040 _ACEOF
42043 done
42052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42053 $as_echo_n "checking for frexpf declaration... " >&6; }
42054 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42055 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42056 $as_echo_n "(cached) " >&6
42057 else
42060 ac_ext=cpp
42061 ac_cpp='$CXXCPP $CPPFLAGS'
42062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42067 /* end confdefs.h. */
42068 #include <math.h>
42070 main ()
42072 frexpf(0, 0);
42074 return 0;
42076 _ACEOF
42077 if ac_fn_cxx_try_compile "$LINENO"; then :
42078 glibcxx_cv_func_frexpf_use=yes
42079 else
42080 glibcxx_cv_func_frexpf_use=no
42082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42083 ac_ext=c
42084 ac_cpp='$CPP $CPPFLAGS'
42085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42094 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42096 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42097 for ac_func in frexpf
42098 do :
42099 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42100 if test "x$ac_cv_func_frexpf" = x""yes; then :
42101 cat >>confdefs.h <<_ACEOF
42102 #define HAVE_FREXPF 1
42103 _ACEOF
42106 done
42108 else
42110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42111 $as_echo_n "checking for _frexpf declaration... " >&6; }
42112 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42113 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42114 $as_echo_n "(cached) " >&6
42115 else
42118 ac_ext=cpp
42119 ac_cpp='$CXXCPP $CPPFLAGS'
42120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42125 /* end confdefs.h. */
42126 #include <math.h>
42128 main ()
42130 _frexpf(0, 0);
42132 return 0;
42134 _ACEOF
42135 if ac_fn_cxx_try_compile "$LINENO"; then :
42136 glibcxx_cv_func__frexpf_use=yes
42137 else
42138 glibcxx_cv_func__frexpf_use=no
42140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42141 ac_ext=c
42142 ac_cpp='$CPP $CPPFLAGS'
42143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42152 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42154 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42155 for ac_func in _frexpf
42156 do :
42157 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42158 if test "x$ac_cv_func__frexpf" = x""yes; then :
42159 cat >>confdefs.h <<_ACEOF
42160 #define HAVE__FREXPF 1
42161 _ACEOF
42164 done
42173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42174 $as_echo_n "checking for hypotf declaration... " >&6; }
42175 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42176 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42177 $as_echo_n "(cached) " >&6
42178 else
42181 ac_ext=cpp
42182 ac_cpp='$CXXCPP $CPPFLAGS'
42183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42188 /* end confdefs.h. */
42189 #include <math.h>
42191 main ()
42193 hypotf(0, 0);
42195 return 0;
42197 _ACEOF
42198 if ac_fn_cxx_try_compile "$LINENO"; then :
42199 glibcxx_cv_func_hypotf_use=yes
42200 else
42201 glibcxx_cv_func_hypotf_use=no
42203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42204 ac_ext=c
42205 ac_cpp='$CPP $CPPFLAGS'
42206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42215 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42217 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42218 for ac_func in hypotf
42219 do :
42220 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42221 if test "x$ac_cv_func_hypotf" = x""yes; then :
42222 cat >>confdefs.h <<_ACEOF
42223 #define HAVE_HYPOTF 1
42224 _ACEOF
42227 done
42229 else
42231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42232 $as_echo_n "checking for _hypotf declaration... " >&6; }
42233 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42234 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42235 $as_echo_n "(cached) " >&6
42236 else
42239 ac_ext=cpp
42240 ac_cpp='$CXXCPP $CPPFLAGS'
42241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42246 /* end confdefs.h. */
42247 #include <math.h>
42249 main ()
42251 _hypotf(0, 0);
42253 return 0;
42255 _ACEOF
42256 if ac_fn_cxx_try_compile "$LINENO"; then :
42257 glibcxx_cv_func__hypotf_use=yes
42258 else
42259 glibcxx_cv_func__hypotf_use=no
42261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42262 ac_ext=c
42263 ac_cpp='$CPP $CPPFLAGS'
42264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42273 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42275 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42276 for ac_func in _hypotf
42277 do :
42278 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42279 if test "x$ac_cv_func__hypotf" = x""yes; then :
42280 cat >>confdefs.h <<_ACEOF
42281 #define HAVE__HYPOTF 1
42282 _ACEOF
42285 done
42294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42295 $as_echo_n "checking for ldexpf declaration... " >&6; }
42296 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42297 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42298 $as_echo_n "(cached) " >&6
42299 else
42302 ac_ext=cpp
42303 ac_cpp='$CXXCPP $CPPFLAGS'
42304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42309 /* end confdefs.h. */
42310 #include <math.h>
42312 main ()
42314 ldexpf(0, 0);
42316 return 0;
42318 _ACEOF
42319 if ac_fn_cxx_try_compile "$LINENO"; then :
42320 glibcxx_cv_func_ldexpf_use=yes
42321 else
42322 glibcxx_cv_func_ldexpf_use=no
42324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42325 ac_ext=c
42326 ac_cpp='$CPP $CPPFLAGS'
42327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42336 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42338 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42339 for ac_func in ldexpf
42340 do :
42341 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42342 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42343 cat >>confdefs.h <<_ACEOF
42344 #define HAVE_LDEXPF 1
42345 _ACEOF
42348 done
42350 else
42352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42353 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42354 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42355 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42356 $as_echo_n "(cached) " >&6
42357 else
42360 ac_ext=cpp
42361 ac_cpp='$CXXCPP $CPPFLAGS'
42362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42367 /* end confdefs.h. */
42368 #include <math.h>
42370 main ()
42372 _ldexpf(0, 0);
42374 return 0;
42376 _ACEOF
42377 if ac_fn_cxx_try_compile "$LINENO"; then :
42378 glibcxx_cv_func__ldexpf_use=yes
42379 else
42380 glibcxx_cv_func__ldexpf_use=no
42382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42383 ac_ext=c
42384 ac_cpp='$CPP $CPPFLAGS'
42385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42394 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42396 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42397 for ac_func in _ldexpf
42398 do :
42399 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42400 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42401 cat >>confdefs.h <<_ACEOF
42402 #define HAVE__LDEXPF 1
42403 _ACEOF
42406 done
42415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42416 $as_echo_n "checking for logf declaration... " >&6; }
42417 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42418 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42419 $as_echo_n "(cached) " >&6
42420 else
42423 ac_ext=cpp
42424 ac_cpp='$CXXCPP $CPPFLAGS'
42425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42430 /* end confdefs.h. */
42431 #include <math.h>
42432 #ifdef HAVE_IEEEFP_H
42433 #include <ieeefp.h>
42434 #endif
42437 main ()
42439 logf(0);
42441 return 0;
42443 _ACEOF
42444 if ac_fn_cxx_try_compile "$LINENO"; then :
42445 glibcxx_cv_func_logf_use=yes
42446 else
42447 glibcxx_cv_func_logf_use=no
42449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42450 ac_ext=c
42451 ac_cpp='$CPP $CPPFLAGS'
42452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42461 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42463 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42464 for ac_func in logf
42465 do :
42466 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42467 if test "x$ac_cv_func_logf" = x""yes; then :
42468 cat >>confdefs.h <<_ACEOF
42469 #define HAVE_LOGF 1
42470 _ACEOF
42473 done
42475 else
42477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42478 $as_echo_n "checking for _logf declaration... " >&6; }
42479 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42480 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42481 $as_echo_n "(cached) " >&6
42482 else
42485 ac_ext=cpp
42486 ac_cpp='$CXXCPP $CPPFLAGS'
42487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42492 /* end confdefs.h. */
42493 #include <math.h>
42494 #ifdef HAVE_IEEEFP_H
42495 #include <ieeefp.h>
42496 #endif
42499 main ()
42501 _logf(0);
42503 return 0;
42505 _ACEOF
42506 if ac_fn_cxx_try_compile "$LINENO"; then :
42507 glibcxx_cv_func__logf_use=yes
42508 else
42509 glibcxx_cv_func__logf_use=no
42511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42512 ac_ext=c
42513 ac_cpp='$CPP $CPPFLAGS'
42514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42523 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42525 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42526 for ac_func in _logf
42527 do :
42528 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42529 if test "x$ac_cv_func__logf" = x""yes; then :
42530 cat >>confdefs.h <<_ACEOF
42531 #define HAVE__LOGF 1
42532 _ACEOF
42535 done
42544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42545 $as_echo_n "checking for log10f declaration... " >&6; }
42546 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42547 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42548 $as_echo_n "(cached) " >&6
42549 else
42552 ac_ext=cpp
42553 ac_cpp='$CXXCPP $CPPFLAGS'
42554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42559 /* end confdefs.h. */
42560 #include <math.h>
42561 #ifdef HAVE_IEEEFP_H
42562 #include <ieeefp.h>
42563 #endif
42566 main ()
42568 log10f(0);
42570 return 0;
42572 _ACEOF
42573 if ac_fn_cxx_try_compile "$LINENO"; then :
42574 glibcxx_cv_func_log10f_use=yes
42575 else
42576 glibcxx_cv_func_log10f_use=no
42578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42579 ac_ext=c
42580 ac_cpp='$CPP $CPPFLAGS'
42581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42590 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42592 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42593 for ac_func in log10f
42594 do :
42595 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42596 if test "x$ac_cv_func_log10f" = x""yes; then :
42597 cat >>confdefs.h <<_ACEOF
42598 #define HAVE_LOG10F 1
42599 _ACEOF
42602 done
42604 else
42606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42607 $as_echo_n "checking for _log10f declaration... " >&6; }
42608 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42609 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42610 $as_echo_n "(cached) " >&6
42611 else
42614 ac_ext=cpp
42615 ac_cpp='$CXXCPP $CPPFLAGS'
42616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42621 /* end confdefs.h. */
42622 #include <math.h>
42623 #ifdef HAVE_IEEEFP_H
42624 #include <ieeefp.h>
42625 #endif
42628 main ()
42630 _log10f(0);
42632 return 0;
42634 _ACEOF
42635 if ac_fn_cxx_try_compile "$LINENO"; then :
42636 glibcxx_cv_func__log10f_use=yes
42637 else
42638 glibcxx_cv_func__log10f_use=no
42640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42641 ac_ext=c
42642 ac_cpp='$CPP $CPPFLAGS'
42643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42652 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42654 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42655 for ac_func in _log10f
42656 do :
42657 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42658 if test "x$ac_cv_func__log10f" = x""yes; then :
42659 cat >>confdefs.h <<_ACEOF
42660 #define HAVE__LOG10F 1
42661 _ACEOF
42664 done
42673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42674 $as_echo_n "checking for modff declaration... " >&6; }
42675 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42676 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42677 $as_echo_n "(cached) " >&6
42678 else
42681 ac_ext=cpp
42682 ac_cpp='$CXXCPP $CPPFLAGS'
42683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42688 /* end confdefs.h. */
42689 #include <math.h>
42691 main ()
42693 modff(0, 0);
42695 return 0;
42697 _ACEOF
42698 if ac_fn_cxx_try_compile "$LINENO"; then :
42699 glibcxx_cv_func_modff_use=yes
42700 else
42701 glibcxx_cv_func_modff_use=no
42703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42704 ac_ext=c
42705 ac_cpp='$CPP $CPPFLAGS'
42706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42715 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42717 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42718 for ac_func in modff
42719 do :
42720 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42721 if test "x$ac_cv_func_modff" = x""yes; then :
42722 cat >>confdefs.h <<_ACEOF
42723 #define HAVE_MODFF 1
42724 _ACEOF
42727 done
42729 else
42731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42732 $as_echo_n "checking for _modff declaration... " >&6; }
42733 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42734 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42735 $as_echo_n "(cached) " >&6
42736 else
42739 ac_ext=cpp
42740 ac_cpp='$CXXCPP $CPPFLAGS'
42741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42746 /* end confdefs.h. */
42747 #include <math.h>
42749 main ()
42751 _modff(0, 0);
42753 return 0;
42755 _ACEOF
42756 if ac_fn_cxx_try_compile "$LINENO"; then :
42757 glibcxx_cv_func__modff_use=yes
42758 else
42759 glibcxx_cv_func__modff_use=no
42761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 ac_ext=c
42763 ac_cpp='$CPP $CPPFLAGS'
42764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42773 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42775 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42776 for ac_func in _modff
42777 do :
42778 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42779 if test "x$ac_cv_func__modff" = x""yes; then :
42780 cat >>confdefs.h <<_ACEOF
42781 #define HAVE__MODFF 1
42782 _ACEOF
42785 done
42794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42795 $as_echo_n "checking for modf declaration... " >&6; }
42796 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42797 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42798 $as_echo_n "(cached) " >&6
42799 else
42802 ac_ext=cpp
42803 ac_cpp='$CXXCPP $CPPFLAGS'
42804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42809 /* end confdefs.h. */
42810 #include <math.h>
42812 main ()
42814 modf(0, 0);
42816 return 0;
42818 _ACEOF
42819 if ac_fn_cxx_try_compile "$LINENO"; then :
42820 glibcxx_cv_func_modf_use=yes
42821 else
42822 glibcxx_cv_func_modf_use=no
42824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42825 ac_ext=c
42826 ac_cpp='$CPP $CPPFLAGS'
42827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42836 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42838 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42839 for ac_func in modf
42840 do :
42841 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42842 if test "x$ac_cv_func_modf" = x""yes; then :
42843 cat >>confdefs.h <<_ACEOF
42844 #define HAVE_MODF 1
42845 _ACEOF
42848 done
42850 else
42852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42853 $as_echo_n "checking for _modf declaration... " >&6; }
42854 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42855 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42856 $as_echo_n "(cached) " >&6
42857 else
42860 ac_ext=cpp
42861 ac_cpp='$CXXCPP $CPPFLAGS'
42862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42867 /* end confdefs.h. */
42868 #include <math.h>
42870 main ()
42872 _modf(0, 0);
42874 return 0;
42876 _ACEOF
42877 if ac_fn_cxx_try_compile "$LINENO"; then :
42878 glibcxx_cv_func__modf_use=yes
42879 else
42880 glibcxx_cv_func__modf_use=no
42882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42883 ac_ext=c
42884 ac_cpp='$CPP $CPPFLAGS'
42885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42894 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42896 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42897 for ac_func in _modf
42898 do :
42899 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42900 if test "x$ac_cv_func__modf" = x""yes; then :
42901 cat >>confdefs.h <<_ACEOF
42902 #define HAVE__MODF 1
42903 _ACEOF
42906 done
42915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42916 $as_echo_n "checking for powf declaration... " >&6; }
42917 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42918 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42919 $as_echo_n "(cached) " >&6
42920 else
42923 ac_ext=cpp
42924 ac_cpp='$CXXCPP $CPPFLAGS'
42925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42930 /* end confdefs.h. */
42931 #include <math.h>
42933 main ()
42935 powf(0, 0);
42937 return 0;
42939 _ACEOF
42940 if ac_fn_cxx_try_compile "$LINENO"; then :
42941 glibcxx_cv_func_powf_use=yes
42942 else
42943 glibcxx_cv_func_powf_use=no
42945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42946 ac_ext=c
42947 ac_cpp='$CPP $CPPFLAGS'
42948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42957 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42959 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42960 for ac_func in powf
42961 do :
42962 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42963 if test "x$ac_cv_func_powf" = x""yes; then :
42964 cat >>confdefs.h <<_ACEOF
42965 #define HAVE_POWF 1
42966 _ACEOF
42969 done
42971 else
42973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42974 $as_echo_n "checking for _powf declaration... " >&6; }
42975 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42976 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42977 $as_echo_n "(cached) " >&6
42978 else
42981 ac_ext=cpp
42982 ac_cpp='$CXXCPP $CPPFLAGS'
42983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42988 /* end confdefs.h. */
42989 #include <math.h>
42991 main ()
42993 _powf(0, 0);
42995 return 0;
42997 _ACEOF
42998 if ac_fn_cxx_try_compile "$LINENO"; then :
42999 glibcxx_cv_func__powf_use=yes
43000 else
43001 glibcxx_cv_func__powf_use=no
43003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43004 ac_ext=c
43005 ac_cpp='$CPP $CPPFLAGS'
43006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43015 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43017 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43018 for ac_func in _powf
43019 do :
43020 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43021 if test "x$ac_cv_func__powf" = x""yes; then :
43022 cat >>confdefs.h <<_ACEOF
43023 #define HAVE__POWF 1
43024 _ACEOF
43027 done
43036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43037 $as_echo_n "checking for sqrtf declaration... " >&6; }
43038 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43039 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43040 $as_echo_n "(cached) " >&6
43041 else
43044 ac_ext=cpp
43045 ac_cpp='$CXXCPP $CPPFLAGS'
43046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43051 /* end confdefs.h. */
43052 #include <math.h>
43053 #ifdef HAVE_IEEEFP_H
43054 #include <ieeefp.h>
43055 #endif
43058 main ()
43060 sqrtf(0);
43062 return 0;
43064 _ACEOF
43065 if ac_fn_cxx_try_compile "$LINENO"; then :
43066 glibcxx_cv_func_sqrtf_use=yes
43067 else
43068 glibcxx_cv_func_sqrtf_use=no
43070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43071 ac_ext=c
43072 ac_cpp='$CPP $CPPFLAGS'
43073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43082 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43084 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43085 for ac_func in sqrtf
43086 do :
43087 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43088 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43089 cat >>confdefs.h <<_ACEOF
43090 #define HAVE_SQRTF 1
43091 _ACEOF
43094 done
43096 else
43098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43099 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43100 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43101 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43102 $as_echo_n "(cached) " >&6
43103 else
43106 ac_ext=cpp
43107 ac_cpp='$CXXCPP $CPPFLAGS'
43108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43113 /* end confdefs.h. */
43114 #include <math.h>
43115 #ifdef HAVE_IEEEFP_H
43116 #include <ieeefp.h>
43117 #endif
43120 main ()
43122 _sqrtf(0);
43124 return 0;
43126 _ACEOF
43127 if ac_fn_cxx_try_compile "$LINENO"; then :
43128 glibcxx_cv_func__sqrtf_use=yes
43129 else
43130 glibcxx_cv_func__sqrtf_use=no
43132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43133 ac_ext=c
43134 ac_cpp='$CPP $CPPFLAGS'
43135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43144 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43146 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43147 for ac_func in _sqrtf
43148 do :
43149 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43150 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43151 cat >>confdefs.h <<_ACEOF
43152 #define HAVE__SQRTF 1
43153 _ACEOF
43156 done
43165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43166 $as_echo_n "checking for sincosf declaration... " >&6; }
43167 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43168 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43169 $as_echo_n "(cached) " >&6
43170 else
43173 ac_ext=cpp
43174 ac_cpp='$CXXCPP $CPPFLAGS'
43175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43180 /* end confdefs.h. */
43181 #include <math.h>
43183 main ()
43185 sincosf(0, 0, 0);
43187 return 0;
43189 _ACEOF
43190 if ac_fn_cxx_try_compile "$LINENO"; then :
43191 glibcxx_cv_func_sincosf_use=yes
43192 else
43193 glibcxx_cv_func_sincosf_use=no
43195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43196 ac_ext=c
43197 ac_cpp='$CPP $CPPFLAGS'
43198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43207 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43209 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43210 for ac_func in sincosf
43211 do :
43212 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43213 if test "x$ac_cv_func_sincosf" = x""yes; then :
43214 cat >>confdefs.h <<_ACEOF
43215 #define HAVE_SINCOSF 1
43216 _ACEOF
43219 done
43221 else
43223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43224 $as_echo_n "checking for _sincosf declaration... " >&6; }
43225 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43226 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43227 $as_echo_n "(cached) " >&6
43228 else
43231 ac_ext=cpp
43232 ac_cpp='$CXXCPP $CPPFLAGS'
43233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43238 /* end confdefs.h. */
43239 #include <math.h>
43241 main ()
43243 _sincosf(0, 0, 0);
43245 return 0;
43247 _ACEOF
43248 if ac_fn_cxx_try_compile "$LINENO"; then :
43249 glibcxx_cv_func__sincosf_use=yes
43250 else
43251 glibcxx_cv_func__sincosf_use=no
43253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43254 ac_ext=c
43255 ac_cpp='$CPP $CPPFLAGS'
43256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43265 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43267 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43268 for ac_func in _sincosf
43269 do :
43270 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43271 if test "x$ac_cv_func__sincosf" = x""yes; then :
43272 cat >>confdefs.h <<_ACEOF
43273 #define HAVE__SINCOSF 1
43274 _ACEOF
43277 done
43286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43287 $as_echo_n "checking for finitef declaration... " >&6; }
43288 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43289 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43290 $as_echo_n "(cached) " >&6
43291 else
43294 ac_ext=cpp
43295 ac_cpp='$CXXCPP $CPPFLAGS'
43296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43301 /* end confdefs.h. */
43302 #include <math.h>
43303 #ifdef HAVE_IEEEFP_H
43304 #include <ieeefp.h>
43305 #endif
43308 main ()
43310 finitef(0);
43312 return 0;
43314 _ACEOF
43315 if ac_fn_cxx_try_compile "$LINENO"; then :
43316 glibcxx_cv_func_finitef_use=yes
43317 else
43318 glibcxx_cv_func_finitef_use=no
43320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43321 ac_ext=c
43322 ac_cpp='$CPP $CPPFLAGS'
43323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43332 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43334 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43335 for ac_func in finitef
43336 do :
43337 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43338 if test "x$ac_cv_func_finitef" = x""yes; then :
43339 cat >>confdefs.h <<_ACEOF
43340 #define HAVE_FINITEF 1
43341 _ACEOF
43344 done
43346 else
43348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43349 $as_echo_n "checking for _finitef declaration... " >&6; }
43350 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43351 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43352 $as_echo_n "(cached) " >&6
43353 else
43356 ac_ext=cpp
43357 ac_cpp='$CXXCPP $CPPFLAGS'
43358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43363 /* end confdefs.h. */
43364 #include <math.h>
43365 #ifdef HAVE_IEEEFP_H
43366 #include <ieeefp.h>
43367 #endif
43370 main ()
43372 _finitef(0);
43374 return 0;
43376 _ACEOF
43377 if ac_fn_cxx_try_compile "$LINENO"; then :
43378 glibcxx_cv_func__finitef_use=yes
43379 else
43380 glibcxx_cv_func__finitef_use=no
43382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43383 ac_ext=c
43384 ac_cpp='$CPP $CPPFLAGS'
43385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43394 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43396 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43397 for ac_func in _finitef
43398 do :
43399 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43400 if test "x$ac_cv_func__finitef" = x""yes; then :
43401 cat >>confdefs.h <<_ACEOF
43402 #define HAVE__FINITEF 1
43403 _ACEOF
43406 done
43415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43416 $as_echo_n "checking for long double trig functions... " >&6; }
43417 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43418 $as_echo_n "(cached) " >&6
43419 else
43422 ac_ext=cpp
43423 ac_cpp='$CXXCPP $CPPFLAGS'
43424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43429 /* end confdefs.h. */
43430 #include <math.h>
43432 main ()
43434 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43436 return 0;
43438 _ACEOF
43439 if ac_fn_cxx_try_compile "$LINENO"; then :
43440 glibcxx_cv_func_long_double_trig_use=yes
43441 else
43442 glibcxx_cv_func_long_double_trig_use=no
43444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43445 ac_ext=c
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43454 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43455 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43456 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43457 do :
43458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43460 eval as_val=\$$as_ac_var
43461 if test "x$as_val" = x""yes; then :
43462 cat >>confdefs.h <<_ACEOF
43463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43464 _ACEOF
43467 done
43469 else
43470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43471 $as_echo_n "checking for _long double trig functions... " >&6; }
43472 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43473 $as_echo_n "(cached) " >&6
43474 else
43477 ac_ext=cpp
43478 ac_cpp='$CXXCPP $CPPFLAGS'
43479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43484 /* end confdefs.h. */
43485 #include <math.h>
43487 main ()
43489 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43491 return 0;
43493 _ACEOF
43494 if ac_fn_cxx_try_compile "$LINENO"; then :
43495 glibcxx_cv_func__long_double_trig_use=yes
43496 else
43497 glibcxx_cv_func__long_double_trig_use=no
43499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43500 ac_ext=c
43501 ac_cpp='$CPP $CPPFLAGS'
43502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43509 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43510 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43511 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43512 do :
43513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43515 eval as_val=\$$as_ac_var
43516 if test "x$as_val" = x""yes; then :
43517 cat >>confdefs.h <<_ACEOF
43518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43519 _ACEOF
43522 done
43531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43532 $as_echo_n "checking for long double round functions... " >&6; }
43533 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43534 $as_echo_n "(cached) " >&6
43535 else
43538 ac_ext=cpp
43539 ac_cpp='$CXXCPP $CPPFLAGS'
43540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43545 /* end confdefs.h. */
43546 #include <math.h>
43548 main ()
43550 ceill (0); floorl (0);
43552 return 0;
43554 _ACEOF
43555 if ac_fn_cxx_try_compile "$LINENO"; then :
43556 glibcxx_cv_func_long_double_round_use=yes
43557 else
43558 glibcxx_cv_func_long_double_round_use=no
43560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43561 ac_ext=c
43562 ac_cpp='$CPP $CPPFLAGS'
43563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43570 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43571 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43572 for ac_func in ceill floorl
43573 do :
43574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43576 eval as_val=\$$as_ac_var
43577 if test "x$as_val" = x""yes; then :
43578 cat >>confdefs.h <<_ACEOF
43579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43580 _ACEOF
43583 done
43585 else
43586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43587 $as_echo_n "checking for _long double round functions... " >&6; }
43588 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43589 $as_echo_n "(cached) " >&6
43590 else
43593 ac_ext=cpp
43594 ac_cpp='$CXXCPP $CPPFLAGS'
43595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43600 /* end confdefs.h. */
43601 #include <math.h>
43603 main ()
43605 _ceill (0); _floorl (0);
43607 return 0;
43609 _ACEOF
43610 if ac_fn_cxx_try_compile "$LINENO"; then :
43611 glibcxx_cv_func__long_double_round_use=yes
43612 else
43613 glibcxx_cv_func__long_double_round_use=no
43615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43616 ac_ext=c
43617 ac_cpp='$CPP $CPPFLAGS'
43618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43625 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43626 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43627 for ac_func in _ceill _floorl
43628 do :
43629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43631 eval as_val=\$$as_ac_var
43632 if test "x$as_val" = x""yes; then :
43633 cat >>confdefs.h <<_ACEOF
43634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43635 _ACEOF
43638 done
43648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43649 $as_echo_n "checking for isnanl declaration... " >&6; }
43650 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43651 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43652 $as_echo_n "(cached) " >&6
43653 else
43656 ac_ext=cpp
43657 ac_cpp='$CXXCPP $CPPFLAGS'
43658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43663 /* end confdefs.h. */
43664 #include <math.h>
43665 #ifdef HAVE_IEEEFP_H
43666 #include <ieeefp.h>
43667 #endif
43670 main ()
43672 isnanl(0);
43674 return 0;
43676 _ACEOF
43677 if ac_fn_cxx_try_compile "$LINENO"; then :
43678 glibcxx_cv_func_isnanl_use=yes
43679 else
43680 glibcxx_cv_func_isnanl_use=no
43682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43683 ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43694 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43696 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43697 for ac_func in isnanl
43698 do :
43699 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43700 if test "x$ac_cv_func_isnanl" = x""yes; then :
43701 cat >>confdefs.h <<_ACEOF
43702 #define HAVE_ISNANL 1
43703 _ACEOF
43706 done
43708 else
43710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43711 $as_echo_n "checking for _isnanl declaration... " >&6; }
43712 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43713 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43714 $as_echo_n "(cached) " >&6
43715 else
43718 ac_ext=cpp
43719 ac_cpp='$CXXCPP $CPPFLAGS'
43720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43725 /* end confdefs.h. */
43726 #include <math.h>
43727 #ifdef HAVE_IEEEFP_H
43728 #include <ieeefp.h>
43729 #endif
43732 main ()
43734 _isnanl(0);
43736 return 0;
43738 _ACEOF
43739 if ac_fn_cxx_try_compile "$LINENO"; then :
43740 glibcxx_cv_func__isnanl_use=yes
43741 else
43742 glibcxx_cv_func__isnanl_use=no
43744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43745 ac_ext=c
43746 ac_cpp='$CPP $CPPFLAGS'
43747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43756 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43758 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43759 for ac_func in _isnanl
43760 do :
43761 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43762 if test "x$ac_cv_func__isnanl" = x""yes; then :
43763 cat >>confdefs.h <<_ACEOF
43764 #define HAVE__ISNANL 1
43765 _ACEOF
43768 done
43777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43778 $as_echo_n "checking for isinfl declaration... " >&6; }
43779 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43780 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43781 $as_echo_n "(cached) " >&6
43782 else
43785 ac_ext=cpp
43786 ac_cpp='$CXXCPP $CPPFLAGS'
43787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43792 /* end confdefs.h. */
43793 #include <math.h>
43794 #ifdef HAVE_IEEEFP_H
43795 #include <ieeefp.h>
43796 #endif
43799 main ()
43801 isinfl(0);
43803 return 0;
43805 _ACEOF
43806 if ac_fn_cxx_try_compile "$LINENO"; then :
43807 glibcxx_cv_func_isinfl_use=yes
43808 else
43809 glibcxx_cv_func_isinfl_use=no
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43812 ac_ext=c
43813 ac_cpp='$CPP $CPPFLAGS'
43814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43823 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43825 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43826 for ac_func in isinfl
43827 do :
43828 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43829 if test "x$ac_cv_func_isinfl" = x""yes; then :
43830 cat >>confdefs.h <<_ACEOF
43831 #define HAVE_ISINFL 1
43832 _ACEOF
43835 done
43837 else
43839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43840 $as_echo_n "checking for _isinfl declaration... " >&6; }
43841 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43842 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43843 $as_echo_n "(cached) " >&6
43844 else
43847 ac_ext=cpp
43848 ac_cpp='$CXXCPP $CPPFLAGS'
43849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43854 /* end confdefs.h. */
43855 #include <math.h>
43856 #ifdef HAVE_IEEEFP_H
43857 #include <ieeefp.h>
43858 #endif
43861 main ()
43863 _isinfl(0);
43865 return 0;
43867 _ACEOF
43868 if ac_fn_cxx_try_compile "$LINENO"; then :
43869 glibcxx_cv_func__isinfl_use=yes
43870 else
43871 glibcxx_cv_func__isinfl_use=no
43873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43874 ac_ext=c
43875 ac_cpp='$CPP $CPPFLAGS'
43876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43885 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43887 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43888 for ac_func in _isinfl
43889 do :
43890 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43891 if test "x$ac_cv_func__isinfl" = x""yes; then :
43892 cat >>confdefs.h <<_ACEOF
43893 #define HAVE__ISINFL 1
43894 _ACEOF
43897 done
43906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43907 $as_echo_n "checking for atan2l declaration... " >&6; }
43908 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43909 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43910 $as_echo_n "(cached) " >&6
43911 else
43914 ac_ext=cpp
43915 ac_cpp='$CXXCPP $CPPFLAGS'
43916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43921 /* end confdefs.h. */
43922 #include <math.h>
43924 main ()
43926 atan2l(0, 0);
43928 return 0;
43930 _ACEOF
43931 if ac_fn_cxx_try_compile "$LINENO"; then :
43932 glibcxx_cv_func_atan2l_use=yes
43933 else
43934 glibcxx_cv_func_atan2l_use=no
43936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43937 ac_ext=c
43938 ac_cpp='$CPP $CPPFLAGS'
43939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43948 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43950 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43951 for ac_func in atan2l
43952 do :
43953 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43954 if test "x$ac_cv_func_atan2l" = x""yes; then :
43955 cat >>confdefs.h <<_ACEOF
43956 #define HAVE_ATAN2L 1
43957 _ACEOF
43960 done
43962 else
43964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43965 $as_echo_n "checking for _atan2l declaration... " >&6; }
43966 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43967 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43968 $as_echo_n "(cached) " >&6
43969 else
43972 ac_ext=cpp
43973 ac_cpp='$CXXCPP $CPPFLAGS'
43974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43979 /* end confdefs.h. */
43980 #include <math.h>
43982 main ()
43984 _atan2l(0, 0);
43986 return 0;
43988 _ACEOF
43989 if ac_fn_cxx_try_compile "$LINENO"; then :
43990 glibcxx_cv_func__atan2l_use=yes
43991 else
43992 glibcxx_cv_func__atan2l_use=no
43994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43995 ac_ext=c
43996 ac_cpp='$CPP $CPPFLAGS'
43997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44006 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44008 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44009 for ac_func in _atan2l
44010 do :
44011 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44012 if test "x$ac_cv_func__atan2l" = x""yes; then :
44013 cat >>confdefs.h <<_ACEOF
44014 #define HAVE__ATAN2L 1
44015 _ACEOF
44018 done
44027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44028 $as_echo_n "checking for expl declaration... " >&6; }
44029 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44030 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44031 $as_echo_n "(cached) " >&6
44032 else
44035 ac_ext=cpp
44036 ac_cpp='$CXXCPP $CPPFLAGS'
44037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44042 /* end confdefs.h. */
44043 #include <math.h>
44044 #ifdef HAVE_IEEEFP_H
44045 #include <ieeefp.h>
44046 #endif
44049 main ()
44051 expl(0);
44053 return 0;
44055 _ACEOF
44056 if ac_fn_cxx_try_compile "$LINENO"; then :
44057 glibcxx_cv_func_expl_use=yes
44058 else
44059 glibcxx_cv_func_expl_use=no
44061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44062 ac_ext=c
44063 ac_cpp='$CPP $CPPFLAGS'
44064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44073 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44075 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44076 for ac_func in expl
44077 do :
44078 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44079 if test "x$ac_cv_func_expl" = x""yes; then :
44080 cat >>confdefs.h <<_ACEOF
44081 #define HAVE_EXPL 1
44082 _ACEOF
44085 done
44087 else
44089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44090 $as_echo_n "checking for _expl declaration... " >&6; }
44091 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44092 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44093 $as_echo_n "(cached) " >&6
44094 else
44097 ac_ext=cpp
44098 ac_cpp='$CXXCPP $CPPFLAGS'
44099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44104 /* end confdefs.h. */
44105 #include <math.h>
44106 #ifdef HAVE_IEEEFP_H
44107 #include <ieeefp.h>
44108 #endif
44111 main ()
44113 _expl(0);
44115 return 0;
44117 _ACEOF
44118 if ac_fn_cxx_try_compile "$LINENO"; then :
44119 glibcxx_cv_func__expl_use=yes
44120 else
44121 glibcxx_cv_func__expl_use=no
44123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44124 ac_ext=c
44125 ac_cpp='$CPP $CPPFLAGS'
44126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44135 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44137 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44138 for ac_func in _expl
44139 do :
44140 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44141 if test "x$ac_cv_func__expl" = x""yes; then :
44142 cat >>confdefs.h <<_ACEOF
44143 #define HAVE__EXPL 1
44144 _ACEOF
44147 done
44156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44157 $as_echo_n "checking for fabsl declaration... " >&6; }
44158 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44159 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44160 $as_echo_n "(cached) " >&6
44161 else
44164 ac_ext=cpp
44165 ac_cpp='$CXXCPP $CPPFLAGS'
44166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44171 /* end confdefs.h. */
44172 #include <math.h>
44173 #ifdef HAVE_IEEEFP_H
44174 #include <ieeefp.h>
44175 #endif
44178 main ()
44180 fabsl(0);
44182 return 0;
44184 _ACEOF
44185 if ac_fn_cxx_try_compile "$LINENO"; then :
44186 glibcxx_cv_func_fabsl_use=yes
44187 else
44188 glibcxx_cv_func_fabsl_use=no
44190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44191 ac_ext=c
44192 ac_cpp='$CPP $CPPFLAGS'
44193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44202 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44204 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44205 for ac_func in fabsl
44206 do :
44207 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44208 if test "x$ac_cv_func_fabsl" = x""yes; then :
44209 cat >>confdefs.h <<_ACEOF
44210 #define HAVE_FABSL 1
44211 _ACEOF
44214 done
44216 else
44218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44219 $as_echo_n "checking for _fabsl declaration... " >&6; }
44220 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44221 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44222 $as_echo_n "(cached) " >&6
44223 else
44226 ac_ext=cpp
44227 ac_cpp='$CXXCPP $CPPFLAGS'
44228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44233 /* end confdefs.h. */
44234 #include <math.h>
44235 #ifdef HAVE_IEEEFP_H
44236 #include <ieeefp.h>
44237 #endif
44240 main ()
44242 _fabsl(0);
44244 return 0;
44246 _ACEOF
44247 if ac_fn_cxx_try_compile "$LINENO"; then :
44248 glibcxx_cv_func__fabsl_use=yes
44249 else
44250 glibcxx_cv_func__fabsl_use=no
44252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44253 ac_ext=c
44254 ac_cpp='$CPP $CPPFLAGS'
44255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44264 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44266 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44267 for ac_func in _fabsl
44268 do :
44269 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44270 if test "x$ac_cv_func__fabsl" = x""yes; then :
44271 cat >>confdefs.h <<_ACEOF
44272 #define HAVE__FABSL 1
44273 _ACEOF
44276 done
44285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44286 $as_echo_n "checking for fmodl declaration... " >&6; }
44287 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44288 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44289 $as_echo_n "(cached) " >&6
44290 else
44293 ac_ext=cpp
44294 ac_cpp='$CXXCPP $CPPFLAGS'
44295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44300 /* end confdefs.h. */
44301 #include <math.h>
44303 main ()
44305 fmodl(0, 0);
44307 return 0;
44309 _ACEOF
44310 if ac_fn_cxx_try_compile "$LINENO"; then :
44311 glibcxx_cv_func_fmodl_use=yes
44312 else
44313 glibcxx_cv_func_fmodl_use=no
44315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44316 ac_ext=c
44317 ac_cpp='$CPP $CPPFLAGS'
44318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44327 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44329 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44330 for ac_func in fmodl
44331 do :
44332 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44333 if test "x$ac_cv_func_fmodl" = x""yes; then :
44334 cat >>confdefs.h <<_ACEOF
44335 #define HAVE_FMODL 1
44336 _ACEOF
44339 done
44341 else
44343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44344 $as_echo_n "checking for _fmodl declaration... " >&6; }
44345 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44346 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44347 $as_echo_n "(cached) " >&6
44348 else
44351 ac_ext=cpp
44352 ac_cpp='$CXXCPP $CPPFLAGS'
44353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44358 /* end confdefs.h. */
44359 #include <math.h>
44361 main ()
44363 _fmodl(0, 0);
44365 return 0;
44367 _ACEOF
44368 if ac_fn_cxx_try_compile "$LINENO"; then :
44369 glibcxx_cv_func__fmodl_use=yes
44370 else
44371 glibcxx_cv_func__fmodl_use=no
44373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44374 ac_ext=c
44375 ac_cpp='$CPP $CPPFLAGS'
44376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44385 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44387 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44388 for ac_func in _fmodl
44389 do :
44390 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44391 if test "x$ac_cv_func__fmodl" = x""yes; then :
44392 cat >>confdefs.h <<_ACEOF
44393 #define HAVE__FMODL 1
44394 _ACEOF
44397 done
44406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44407 $as_echo_n "checking for frexpl declaration... " >&6; }
44408 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44409 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44410 $as_echo_n "(cached) " >&6
44411 else
44414 ac_ext=cpp
44415 ac_cpp='$CXXCPP $CPPFLAGS'
44416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44421 /* end confdefs.h. */
44422 #include <math.h>
44424 main ()
44426 frexpl(0, 0);
44428 return 0;
44430 _ACEOF
44431 if ac_fn_cxx_try_compile "$LINENO"; then :
44432 glibcxx_cv_func_frexpl_use=yes
44433 else
44434 glibcxx_cv_func_frexpl_use=no
44436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44437 ac_ext=c
44438 ac_cpp='$CPP $CPPFLAGS'
44439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44448 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44450 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44451 for ac_func in frexpl
44452 do :
44453 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44454 if test "x$ac_cv_func_frexpl" = x""yes; then :
44455 cat >>confdefs.h <<_ACEOF
44456 #define HAVE_FREXPL 1
44457 _ACEOF
44460 done
44462 else
44464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44465 $as_echo_n "checking for _frexpl declaration... " >&6; }
44466 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44467 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44468 $as_echo_n "(cached) " >&6
44469 else
44472 ac_ext=cpp
44473 ac_cpp='$CXXCPP $CPPFLAGS'
44474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44479 /* end confdefs.h. */
44480 #include <math.h>
44482 main ()
44484 _frexpl(0, 0);
44486 return 0;
44488 _ACEOF
44489 if ac_fn_cxx_try_compile "$LINENO"; then :
44490 glibcxx_cv_func__frexpl_use=yes
44491 else
44492 glibcxx_cv_func__frexpl_use=no
44494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44495 ac_ext=c
44496 ac_cpp='$CPP $CPPFLAGS'
44497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44506 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44508 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44509 for ac_func in _frexpl
44510 do :
44511 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44512 if test "x$ac_cv_func__frexpl" = x""yes; then :
44513 cat >>confdefs.h <<_ACEOF
44514 #define HAVE__FREXPL 1
44515 _ACEOF
44518 done
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44528 $as_echo_n "checking for hypotl declaration... " >&6; }
44529 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44530 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44531 $as_echo_n "(cached) " >&6
44532 else
44535 ac_ext=cpp
44536 ac_cpp='$CXXCPP $CPPFLAGS'
44537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44542 /* end confdefs.h. */
44543 #include <math.h>
44545 main ()
44547 hypotl(0, 0);
44549 return 0;
44551 _ACEOF
44552 if ac_fn_cxx_try_compile "$LINENO"; then :
44553 glibcxx_cv_func_hypotl_use=yes
44554 else
44555 glibcxx_cv_func_hypotl_use=no
44557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44558 ac_ext=c
44559 ac_cpp='$CPP $CPPFLAGS'
44560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44569 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44571 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44572 for ac_func in hypotl
44573 do :
44574 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44575 if test "x$ac_cv_func_hypotl" = x""yes; then :
44576 cat >>confdefs.h <<_ACEOF
44577 #define HAVE_HYPOTL 1
44578 _ACEOF
44581 done
44583 else
44585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44586 $as_echo_n "checking for _hypotl declaration... " >&6; }
44587 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44588 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44589 $as_echo_n "(cached) " >&6
44590 else
44593 ac_ext=cpp
44594 ac_cpp='$CXXCPP $CPPFLAGS'
44595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44600 /* end confdefs.h. */
44601 #include <math.h>
44603 main ()
44605 _hypotl(0, 0);
44607 return 0;
44609 _ACEOF
44610 if ac_fn_cxx_try_compile "$LINENO"; then :
44611 glibcxx_cv_func__hypotl_use=yes
44612 else
44613 glibcxx_cv_func__hypotl_use=no
44615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44616 ac_ext=c
44617 ac_cpp='$CPP $CPPFLAGS'
44618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44627 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44629 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44630 for ac_func in _hypotl
44631 do :
44632 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44633 if test "x$ac_cv_func__hypotl" = x""yes; then :
44634 cat >>confdefs.h <<_ACEOF
44635 #define HAVE__HYPOTL 1
44636 _ACEOF
44639 done
44648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44649 $as_echo_n "checking for ldexpl declaration... " >&6; }
44650 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44651 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44652 $as_echo_n "(cached) " >&6
44653 else
44656 ac_ext=cpp
44657 ac_cpp='$CXXCPP $CPPFLAGS'
44658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44663 /* end confdefs.h. */
44664 #include <math.h>
44666 main ()
44668 ldexpl(0, 0);
44670 return 0;
44672 _ACEOF
44673 if ac_fn_cxx_try_compile "$LINENO"; then :
44674 glibcxx_cv_func_ldexpl_use=yes
44675 else
44676 glibcxx_cv_func_ldexpl_use=no
44678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44679 ac_ext=c
44680 ac_cpp='$CPP $CPPFLAGS'
44681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44690 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44692 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44693 for ac_func in ldexpl
44694 do :
44695 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44696 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44697 cat >>confdefs.h <<_ACEOF
44698 #define HAVE_LDEXPL 1
44699 _ACEOF
44702 done
44704 else
44706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44707 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44708 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44709 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44710 $as_echo_n "(cached) " >&6
44711 else
44714 ac_ext=cpp
44715 ac_cpp='$CXXCPP $CPPFLAGS'
44716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44721 /* end confdefs.h. */
44722 #include <math.h>
44724 main ()
44726 _ldexpl(0, 0);
44728 return 0;
44730 _ACEOF
44731 if ac_fn_cxx_try_compile "$LINENO"; then :
44732 glibcxx_cv_func__ldexpl_use=yes
44733 else
44734 glibcxx_cv_func__ldexpl_use=no
44736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44737 ac_ext=c
44738 ac_cpp='$CPP $CPPFLAGS'
44739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44748 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44750 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44751 for ac_func in _ldexpl
44752 do :
44753 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44754 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44755 cat >>confdefs.h <<_ACEOF
44756 #define HAVE__LDEXPL 1
44757 _ACEOF
44760 done
44769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44770 $as_echo_n "checking for logl declaration... " >&6; }
44771 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44772 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44773 $as_echo_n "(cached) " >&6
44774 else
44777 ac_ext=cpp
44778 ac_cpp='$CXXCPP $CPPFLAGS'
44779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44784 /* end confdefs.h. */
44785 #include <math.h>
44786 #ifdef HAVE_IEEEFP_H
44787 #include <ieeefp.h>
44788 #endif
44791 main ()
44793 logl(0);
44795 return 0;
44797 _ACEOF
44798 if ac_fn_cxx_try_compile "$LINENO"; then :
44799 glibcxx_cv_func_logl_use=yes
44800 else
44801 glibcxx_cv_func_logl_use=no
44803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44804 ac_ext=c
44805 ac_cpp='$CPP $CPPFLAGS'
44806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44815 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44817 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44818 for ac_func in logl
44819 do :
44820 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44821 if test "x$ac_cv_func_logl" = x""yes; then :
44822 cat >>confdefs.h <<_ACEOF
44823 #define HAVE_LOGL 1
44824 _ACEOF
44827 done
44829 else
44831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44832 $as_echo_n "checking for _logl declaration... " >&6; }
44833 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44834 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44835 $as_echo_n "(cached) " >&6
44836 else
44839 ac_ext=cpp
44840 ac_cpp='$CXXCPP $CPPFLAGS'
44841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44846 /* end confdefs.h. */
44847 #include <math.h>
44848 #ifdef HAVE_IEEEFP_H
44849 #include <ieeefp.h>
44850 #endif
44853 main ()
44855 _logl(0);
44857 return 0;
44859 _ACEOF
44860 if ac_fn_cxx_try_compile "$LINENO"; then :
44861 glibcxx_cv_func__logl_use=yes
44862 else
44863 glibcxx_cv_func__logl_use=no
44865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44866 ac_ext=c
44867 ac_cpp='$CPP $CPPFLAGS'
44868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44877 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44879 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44880 for ac_func in _logl
44881 do :
44882 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44883 if test "x$ac_cv_func__logl" = x""yes; then :
44884 cat >>confdefs.h <<_ACEOF
44885 #define HAVE__LOGL 1
44886 _ACEOF
44889 done
44898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44899 $as_echo_n "checking for log10l declaration... " >&6; }
44900 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44901 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44902 $as_echo_n "(cached) " >&6
44903 else
44906 ac_ext=cpp
44907 ac_cpp='$CXXCPP $CPPFLAGS'
44908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44913 /* end confdefs.h. */
44914 #include <math.h>
44915 #ifdef HAVE_IEEEFP_H
44916 #include <ieeefp.h>
44917 #endif
44920 main ()
44922 log10l(0);
44924 return 0;
44926 _ACEOF
44927 if ac_fn_cxx_try_compile "$LINENO"; then :
44928 glibcxx_cv_func_log10l_use=yes
44929 else
44930 glibcxx_cv_func_log10l_use=no
44932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44933 ac_ext=c
44934 ac_cpp='$CPP $CPPFLAGS'
44935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44944 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44946 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44947 for ac_func in log10l
44948 do :
44949 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44950 if test "x$ac_cv_func_log10l" = x""yes; then :
44951 cat >>confdefs.h <<_ACEOF
44952 #define HAVE_LOG10L 1
44953 _ACEOF
44956 done
44958 else
44960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44961 $as_echo_n "checking for _log10l declaration... " >&6; }
44962 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44963 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44964 $as_echo_n "(cached) " >&6
44965 else
44968 ac_ext=cpp
44969 ac_cpp='$CXXCPP $CPPFLAGS'
44970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44975 /* end confdefs.h. */
44976 #include <math.h>
44977 #ifdef HAVE_IEEEFP_H
44978 #include <ieeefp.h>
44979 #endif
44982 main ()
44984 _log10l(0);
44986 return 0;
44988 _ACEOF
44989 if ac_fn_cxx_try_compile "$LINENO"; then :
44990 glibcxx_cv_func__log10l_use=yes
44991 else
44992 glibcxx_cv_func__log10l_use=no
44994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44995 ac_ext=c
44996 ac_cpp='$CPP $CPPFLAGS'
44997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45006 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45008 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45009 for ac_func in _log10l
45010 do :
45011 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45012 if test "x$ac_cv_func__log10l" = x""yes; then :
45013 cat >>confdefs.h <<_ACEOF
45014 #define HAVE__LOG10L 1
45015 _ACEOF
45018 done
45027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45028 $as_echo_n "checking for modfl declaration... " >&6; }
45029 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45030 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45031 $as_echo_n "(cached) " >&6
45032 else
45035 ac_ext=cpp
45036 ac_cpp='$CXXCPP $CPPFLAGS'
45037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45042 /* end confdefs.h. */
45043 #include <math.h>
45045 main ()
45047 modfl(0, 0);
45049 return 0;
45051 _ACEOF
45052 if ac_fn_cxx_try_compile "$LINENO"; then :
45053 glibcxx_cv_func_modfl_use=yes
45054 else
45055 glibcxx_cv_func_modfl_use=no
45057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45058 ac_ext=c
45059 ac_cpp='$CPP $CPPFLAGS'
45060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45069 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45071 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45072 for ac_func in modfl
45073 do :
45074 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45075 if test "x$ac_cv_func_modfl" = x""yes; then :
45076 cat >>confdefs.h <<_ACEOF
45077 #define HAVE_MODFL 1
45078 _ACEOF
45081 done
45083 else
45085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45086 $as_echo_n "checking for _modfl declaration... " >&6; }
45087 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45088 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45089 $as_echo_n "(cached) " >&6
45090 else
45093 ac_ext=cpp
45094 ac_cpp='$CXXCPP $CPPFLAGS'
45095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45100 /* end confdefs.h. */
45101 #include <math.h>
45103 main ()
45105 _modfl(0, 0);
45107 return 0;
45109 _ACEOF
45110 if ac_fn_cxx_try_compile "$LINENO"; then :
45111 glibcxx_cv_func__modfl_use=yes
45112 else
45113 glibcxx_cv_func__modfl_use=no
45115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45116 ac_ext=c
45117 ac_cpp='$CPP $CPPFLAGS'
45118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45127 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45129 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45130 for ac_func in _modfl
45131 do :
45132 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45133 if test "x$ac_cv_func__modfl" = x""yes; then :
45134 cat >>confdefs.h <<_ACEOF
45135 #define HAVE__MODFL 1
45136 _ACEOF
45139 done
45148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45149 $as_echo_n "checking for powl declaration... " >&6; }
45150 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45151 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45152 $as_echo_n "(cached) " >&6
45153 else
45156 ac_ext=cpp
45157 ac_cpp='$CXXCPP $CPPFLAGS'
45158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45163 /* end confdefs.h. */
45164 #include <math.h>
45166 main ()
45168 powl(0, 0);
45170 return 0;
45172 _ACEOF
45173 if ac_fn_cxx_try_compile "$LINENO"; then :
45174 glibcxx_cv_func_powl_use=yes
45175 else
45176 glibcxx_cv_func_powl_use=no
45178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45179 ac_ext=c
45180 ac_cpp='$CPP $CPPFLAGS'
45181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45190 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45192 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45193 for ac_func in powl
45194 do :
45195 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45196 if test "x$ac_cv_func_powl" = x""yes; then :
45197 cat >>confdefs.h <<_ACEOF
45198 #define HAVE_POWL 1
45199 _ACEOF
45202 done
45204 else
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45207 $as_echo_n "checking for _powl declaration... " >&6; }
45208 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45209 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45210 $as_echo_n "(cached) " >&6
45211 else
45214 ac_ext=cpp
45215 ac_cpp='$CXXCPP $CPPFLAGS'
45216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45221 /* end confdefs.h. */
45222 #include <math.h>
45224 main ()
45226 _powl(0, 0);
45228 return 0;
45230 _ACEOF
45231 if ac_fn_cxx_try_compile "$LINENO"; then :
45232 glibcxx_cv_func__powl_use=yes
45233 else
45234 glibcxx_cv_func__powl_use=no
45236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45237 ac_ext=c
45238 ac_cpp='$CPP $CPPFLAGS'
45239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45248 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45250 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45251 for ac_func in _powl
45252 do :
45253 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45254 if test "x$ac_cv_func__powl" = x""yes; then :
45255 cat >>confdefs.h <<_ACEOF
45256 #define HAVE__POWL 1
45257 _ACEOF
45260 done
45269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45270 $as_echo_n "checking for sqrtl declaration... " >&6; }
45271 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45272 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45273 $as_echo_n "(cached) " >&6
45274 else
45277 ac_ext=cpp
45278 ac_cpp='$CXXCPP $CPPFLAGS'
45279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45284 /* end confdefs.h. */
45285 #include <math.h>
45286 #ifdef HAVE_IEEEFP_H
45287 #include <ieeefp.h>
45288 #endif
45291 main ()
45293 sqrtl(0);
45295 return 0;
45297 _ACEOF
45298 if ac_fn_cxx_try_compile "$LINENO"; then :
45299 glibcxx_cv_func_sqrtl_use=yes
45300 else
45301 glibcxx_cv_func_sqrtl_use=no
45303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45304 ac_ext=c
45305 ac_cpp='$CPP $CPPFLAGS'
45306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45315 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45317 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45318 for ac_func in sqrtl
45319 do :
45320 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45321 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45322 cat >>confdefs.h <<_ACEOF
45323 #define HAVE_SQRTL 1
45324 _ACEOF
45327 done
45329 else
45331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45332 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45333 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45334 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45335 $as_echo_n "(cached) " >&6
45336 else
45339 ac_ext=cpp
45340 ac_cpp='$CXXCPP $CPPFLAGS'
45341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45346 /* end confdefs.h. */
45347 #include <math.h>
45348 #ifdef HAVE_IEEEFP_H
45349 #include <ieeefp.h>
45350 #endif
45353 main ()
45355 _sqrtl(0);
45357 return 0;
45359 _ACEOF
45360 if ac_fn_cxx_try_compile "$LINENO"; then :
45361 glibcxx_cv_func__sqrtl_use=yes
45362 else
45363 glibcxx_cv_func__sqrtl_use=no
45365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45366 ac_ext=c
45367 ac_cpp='$CPP $CPPFLAGS'
45368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45377 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45379 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45380 for ac_func in _sqrtl
45381 do :
45382 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45383 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45384 cat >>confdefs.h <<_ACEOF
45385 #define HAVE__SQRTL 1
45386 _ACEOF
45389 done
45398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45399 $as_echo_n "checking for sincosl declaration... " >&6; }
45400 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45401 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45402 $as_echo_n "(cached) " >&6
45403 else
45406 ac_ext=cpp
45407 ac_cpp='$CXXCPP $CPPFLAGS'
45408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45413 /* end confdefs.h. */
45414 #include <math.h>
45416 main ()
45418 sincosl(0, 0, 0);
45420 return 0;
45422 _ACEOF
45423 if ac_fn_cxx_try_compile "$LINENO"; then :
45424 glibcxx_cv_func_sincosl_use=yes
45425 else
45426 glibcxx_cv_func_sincosl_use=no
45428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45429 ac_ext=c
45430 ac_cpp='$CPP $CPPFLAGS'
45431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45440 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45442 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45443 for ac_func in sincosl
45444 do :
45445 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45446 if test "x$ac_cv_func_sincosl" = x""yes; then :
45447 cat >>confdefs.h <<_ACEOF
45448 #define HAVE_SINCOSL 1
45449 _ACEOF
45452 done
45454 else
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45457 $as_echo_n "checking for _sincosl declaration... " >&6; }
45458 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45459 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45460 $as_echo_n "(cached) " >&6
45461 else
45464 ac_ext=cpp
45465 ac_cpp='$CXXCPP $CPPFLAGS'
45466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45471 /* end confdefs.h. */
45472 #include <math.h>
45474 main ()
45476 _sincosl(0, 0, 0);
45478 return 0;
45480 _ACEOF
45481 if ac_fn_cxx_try_compile "$LINENO"; then :
45482 glibcxx_cv_func__sincosl_use=yes
45483 else
45484 glibcxx_cv_func__sincosl_use=no
45486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45487 ac_ext=c
45488 ac_cpp='$CPP $CPPFLAGS'
45489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45498 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45500 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45501 for ac_func in _sincosl
45502 do :
45503 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45504 if test "x$ac_cv_func__sincosl" = x""yes; then :
45505 cat >>confdefs.h <<_ACEOF
45506 #define HAVE__SINCOSL 1
45507 _ACEOF
45510 done
45519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45520 $as_echo_n "checking for finitel declaration... " >&6; }
45521 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45522 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45523 $as_echo_n "(cached) " >&6
45524 else
45527 ac_ext=cpp
45528 ac_cpp='$CXXCPP $CPPFLAGS'
45529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45534 /* end confdefs.h. */
45535 #include <math.h>
45536 #ifdef HAVE_IEEEFP_H
45537 #include <ieeefp.h>
45538 #endif
45541 main ()
45543 finitel(0);
45545 return 0;
45547 _ACEOF
45548 if ac_fn_cxx_try_compile "$LINENO"; then :
45549 glibcxx_cv_func_finitel_use=yes
45550 else
45551 glibcxx_cv_func_finitel_use=no
45553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45554 ac_ext=c
45555 ac_cpp='$CPP $CPPFLAGS'
45556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45565 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45567 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45568 for ac_func in finitel
45569 do :
45570 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45571 if test "x$ac_cv_func_finitel" = x""yes; then :
45572 cat >>confdefs.h <<_ACEOF
45573 #define HAVE_FINITEL 1
45574 _ACEOF
45577 done
45579 else
45581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45582 $as_echo_n "checking for _finitel declaration... " >&6; }
45583 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45584 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45585 $as_echo_n "(cached) " >&6
45586 else
45589 ac_ext=cpp
45590 ac_cpp='$CXXCPP $CPPFLAGS'
45591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45596 /* end confdefs.h. */
45597 #include <math.h>
45598 #ifdef HAVE_IEEEFP_H
45599 #include <ieeefp.h>
45600 #endif
45603 main ()
45605 _finitel(0);
45607 return 0;
45609 _ACEOF
45610 if ac_fn_cxx_try_compile "$LINENO"; then :
45611 glibcxx_cv_func__finitel_use=yes
45612 else
45613 glibcxx_cv_func__finitel_use=no
45615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45616 ac_ext=c
45617 ac_cpp='$CPP $CPPFLAGS'
45618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45627 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45629 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45630 for ac_func in _finitel
45631 do :
45632 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45633 if test "x$ac_cv_func__finitel" = x""yes; then :
45634 cat >>confdefs.h <<_ACEOF
45635 #define HAVE__FINITEL 1
45636 _ACEOF
45639 done
45647 LIBS="$ac_save_LIBS"
45648 CXXFLAGS="$ac_save_CXXFLAGS"
45651 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45652 ac_save_CXXFLAGS="$CXXFLAGS"
45653 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45657 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45658 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45659 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45660 $as_echo_n "(cached) " >&6
45661 else
45664 ac_ext=cpp
45665 ac_cpp='$CXXCPP $CPPFLAGS'
45666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45671 /* end confdefs.h. */
45672 #include <stdlib.h>
45674 main ()
45676 at_quick_exit(0);
45678 return 0;
45680 _ACEOF
45681 if ac_fn_cxx_try_compile "$LINENO"; then :
45682 glibcxx_cv_func_at_quick_exit_use=yes
45683 else
45684 glibcxx_cv_func_at_quick_exit_use=no
45686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45687 ac_ext=c
45688 ac_cpp='$CPP $CPPFLAGS'
45689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45698 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45699 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45700 for ac_func in at_quick_exit
45701 do :
45702 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45703 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45704 cat >>confdefs.h <<_ACEOF
45705 #define HAVE_AT_QUICK_EXIT 1
45706 _ACEOF
45709 done
45714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45715 $as_echo_n "checking for quick_exit declaration... " >&6; }
45716 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45717 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45718 $as_echo_n "(cached) " >&6
45719 else
45722 ac_ext=cpp
45723 ac_cpp='$CXXCPP $CPPFLAGS'
45724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45729 /* end confdefs.h. */
45730 #include <stdlib.h>
45732 main ()
45734 quick_exit(0);
45736 return 0;
45738 _ACEOF
45739 if ac_fn_cxx_try_compile "$LINENO"; then :
45740 glibcxx_cv_func_quick_exit_use=yes
45741 else
45742 glibcxx_cv_func_quick_exit_use=no
45744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45745 ac_ext=c
45746 ac_cpp='$CPP $CPPFLAGS'
45747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45756 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45757 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45758 for ac_func in quick_exit
45759 do :
45760 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45761 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45762 cat >>confdefs.h <<_ACEOF
45763 #define HAVE_QUICK_EXIT 1
45764 _ACEOF
45767 done
45772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45773 $as_echo_n "checking for strtold declaration... " >&6; }
45774 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45775 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45776 $as_echo_n "(cached) " >&6
45777 else
45780 ac_ext=cpp
45781 ac_cpp='$CXXCPP $CPPFLAGS'
45782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45787 /* end confdefs.h. */
45788 #include <stdlib.h>
45790 main ()
45792 strtold(0, 0);
45794 return 0;
45796 _ACEOF
45797 if ac_fn_cxx_try_compile "$LINENO"; then :
45798 glibcxx_cv_func_strtold_use=yes
45799 else
45800 glibcxx_cv_func_strtold_use=no
45802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45803 ac_ext=c
45804 ac_cpp='$CPP $CPPFLAGS'
45805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45814 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45815 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45816 for ac_func in strtold
45817 do :
45818 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45819 if test "x$ac_cv_func_strtold" = x""yes; then :
45820 cat >>confdefs.h <<_ACEOF
45821 #define HAVE_STRTOLD 1
45822 _ACEOF
45825 done
45832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45833 $as_echo_n "checking for strtof declaration... " >&6; }
45834 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45835 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45836 $as_echo_n "(cached) " >&6
45837 else
45840 ac_ext=cpp
45841 ac_cpp='$CXXCPP $CPPFLAGS'
45842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45847 /* end confdefs.h. */
45848 #include <stdlib.h>
45850 main ()
45852 strtof(0, 0);
45854 return 0;
45856 _ACEOF
45857 if ac_fn_cxx_try_compile "$LINENO"; then :
45858 glibcxx_cv_func_strtof_use=yes
45859 else
45860 glibcxx_cv_func_strtof_use=no
45862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45863 ac_ext=c
45864 ac_cpp='$CPP $CPPFLAGS'
45865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45874 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45875 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45876 for ac_func in strtof
45877 do :
45878 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45879 if test "x$ac_cv_func_strtof" = x""yes; then :
45880 cat >>confdefs.h <<_ACEOF
45881 #define HAVE_STRTOF 1
45882 _ACEOF
45885 done
45892 CXXFLAGS="$ac_save_CXXFLAGS"
45894 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45896 # We don't yet support AIX's TLS ABI.
45897 #GCC_CHECK_TLS
45903 am_save_CPPFLAGS="$CPPFLAGS"
45905 for element in $INCICONV; do
45906 haveit=
45907 for x in $CPPFLAGS; do
45909 acl_save_prefix="$prefix"
45910 prefix="$acl_final_prefix"
45911 acl_save_exec_prefix="$exec_prefix"
45912 exec_prefix="$acl_final_exec_prefix"
45913 eval x=\"$x\"
45914 exec_prefix="$acl_save_exec_prefix"
45915 prefix="$acl_save_prefix"
45917 if test "X$x" = "X$element"; then
45918 haveit=yes
45919 break
45921 done
45922 if test -z "$haveit"; then
45923 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45925 done
45928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45929 $as_echo_n "checking for iconv... " >&6; }
45930 if test "${am_cv_func_iconv+set}" = set; then :
45931 $as_echo_n "(cached) " >&6
45932 else
45934 am_cv_func_iconv="no, consider installing GNU libiconv"
45935 am_cv_lib_iconv=no
45936 if test x$gcc_no_link = xyes; then
45937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45940 /* end confdefs.h. */
45941 #include <stdlib.h>
45942 #include <iconv.h>
45944 main ()
45946 iconv_t cd = iconv_open("","");
45947 iconv(cd,NULL,NULL,NULL,NULL);
45948 iconv_close(cd);
45950 return 0;
45952 _ACEOF
45953 if ac_fn_c_try_link "$LINENO"; then :
45954 am_cv_func_iconv=yes
45956 rm -f core conftest.err conftest.$ac_objext \
45957 conftest$ac_exeext conftest.$ac_ext
45958 if test "$am_cv_func_iconv" != yes; then
45959 am_save_LIBS="$LIBS"
45960 LIBS="$LIBS $LIBICONV"
45961 if test x$gcc_no_link = xyes; then
45962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45965 /* end confdefs.h. */
45966 #include <stdlib.h>
45967 #include <iconv.h>
45969 main ()
45971 iconv_t cd = iconv_open("","");
45972 iconv(cd,NULL,NULL,NULL,NULL);
45973 iconv_close(cd);
45975 return 0;
45977 _ACEOF
45978 if ac_fn_c_try_link "$LINENO"; then :
45979 am_cv_lib_iconv=yes
45980 am_cv_func_iconv=yes
45982 rm -f core conftest.err conftest.$ac_objext \
45983 conftest$ac_exeext conftest.$ac_ext
45984 LIBS="$am_save_LIBS"
45988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
45989 $as_echo "$am_cv_func_iconv" >&6; }
45990 if test "$am_cv_func_iconv" = yes; then
45992 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
45995 if test "$am_cv_lib_iconv" = yes; then
45996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
45997 $as_echo_n "checking how to link with libiconv... " >&6; }
45998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
45999 $as_echo "$LIBICONV" >&6; }
46000 else
46001 CPPFLAGS="$am_save_CPPFLAGS"
46002 LIBICONV=
46003 LTLIBICONV=
46008 if test "$am_cv_func_iconv" = yes; then
46009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46010 $as_echo_n "checking for iconv declaration... " >&6; }
46011 if test "${am_cv_proto_iconv+set}" = set; then :
46012 $as_echo_n "(cached) " >&6
46013 else
46015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46016 /* end confdefs.h. */
46018 #include <stdlib.h>
46019 #include <iconv.h>
46020 extern
46021 #ifdef __cplusplus
46023 #endif
46024 #if defined(__STDC__) || defined(__cplusplus)
46025 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46026 #else
46027 size_t iconv();
46028 #endif
46031 main ()
46035 return 0;
46037 _ACEOF
46038 if ac_fn_c_try_compile "$LINENO"; then :
46039 am_cv_proto_iconv_arg1=""
46040 else
46041 am_cv_proto_iconv_arg1="const"
46043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46044 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);"
46047 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46049 }$am_cv_proto_iconv" >&5
46050 $as_echo "${ac_t:-
46051 }$am_cv_proto_iconv" >&6; }
46053 cat >>confdefs.h <<_ACEOF
46054 #define ICONV_CONST $am_cv_proto_iconv_arg1
46055 _ACEOF
46061 *-darwin*)
46062 # Darwin versions vary, but the linker should work in a cross environment,
46063 # so we just check for all the features here.
46064 # Check for available headers.
46066 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46068 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46069 ac_save_CXXFLAGS="$CXXFLAGS"
46070 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46073 $as_echo_n "checking for sin in -lm... " >&6; }
46074 if test "${ac_cv_lib_m_sin+set}" = set; then :
46075 $as_echo_n "(cached) " >&6
46076 else
46077 ac_check_lib_save_LIBS=$LIBS
46078 LIBS="-lm $LIBS"
46079 if test x$gcc_no_link = xyes; then
46080 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46083 /* end confdefs.h. */
46085 /* Override any GCC internal prototype to avoid an error.
46086 Use char because int might match the return type of a GCC
46087 builtin and then its argument prototype would still apply. */
46088 #ifdef __cplusplus
46089 extern "C"
46090 #endif
46091 char sin ();
46093 main ()
46095 return sin ();
46097 return 0;
46099 _ACEOF
46100 if ac_fn_c_try_link "$LINENO"; then :
46101 ac_cv_lib_m_sin=yes
46102 else
46103 ac_cv_lib_m_sin=no
46105 rm -f core conftest.err conftest.$ac_objext \
46106 conftest$ac_exeext conftest.$ac_ext
46107 LIBS=$ac_check_lib_save_LIBS
46109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46110 $as_echo "$ac_cv_lib_m_sin" >&6; }
46111 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46112 libm="-lm"
46115 ac_save_LIBS="$LIBS"
46116 LIBS="$LIBS $libm"
46120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46121 $as_echo_n "checking for isinf declaration... " >&6; }
46122 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46123 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46124 $as_echo_n "(cached) " >&6
46125 else
46128 ac_ext=cpp
46129 ac_cpp='$CXXCPP $CPPFLAGS'
46130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46135 /* end confdefs.h. */
46136 #include <math.h>
46137 #ifdef HAVE_IEEEFP_H
46138 #include <ieeefp.h>
46139 #endif
46142 main ()
46144 isinf(0);
46146 return 0;
46148 _ACEOF
46149 if ac_fn_cxx_try_compile "$LINENO"; then :
46150 glibcxx_cv_func_isinf_use=yes
46151 else
46152 glibcxx_cv_func_isinf_use=no
46154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46155 ac_ext=c
46156 ac_cpp='$CPP $CPPFLAGS'
46157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46166 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46168 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46169 for ac_func in isinf
46170 do :
46171 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46172 if test "x$ac_cv_func_isinf" = x""yes; then :
46173 cat >>confdefs.h <<_ACEOF
46174 #define HAVE_ISINF 1
46175 _ACEOF
46178 done
46180 else
46182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46183 $as_echo_n "checking for _isinf declaration... " >&6; }
46184 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46185 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46186 $as_echo_n "(cached) " >&6
46187 else
46190 ac_ext=cpp
46191 ac_cpp='$CXXCPP $CPPFLAGS'
46192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46197 /* end confdefs.h. */
46198 #include <math.h>
46199 #ifdef HAVE_IEEEFP_H
46200 #include <ieeefp.h>
46201 #endif
46204 main ()
46206 _isinf(0);
46208 return 0;
46210 _ACEOF
46211 if ac_fn_cxx_try_compile "$LINENO"; then :
46212 glibcxx_cv_func__isinf_use=yes
46213 else
46214 glibcxx_cv_func__isinf_use=no
46216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46217 ac_ext=c
46218 ac_cpp='$CPP $CPPFLAGS'
46219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46228 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46230 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46231 for ac_func in _isinf
46232 do :
46233 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46234 if test "x$ac_cv_func__isinf" = x""yes; then :
46235 cat >>confdefs.h <<_ACEOF
46236 #define HAVE__ISINF 1
46237 _ACEOF
46240 done
46249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46250 $as_echo_n "checking for isnan declaration... " >&6; }
46251 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46252 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46253 $as_echo_n "(cached) " >&6
46254 else
46257 ac_ext=cpp
46258 ac_cpp='$CXXCPP $CPPFLAGS'
46259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46264 /* end confdefs.h. */
46265 #include <math.h>
46266 #ifdef HAVE_IEEEFP_H
46267 #include <ieeefp.h>
46268 #endif
46271 main ()
46273 isnan(0);
46275 return 0;
46277 _ACEOF
46278 if ac_fn_cxx_try_compile "$LINENO"; then :
46279 glibcxx_cv_func_isnan_use=yes
46280 else
46281 glibcxx_cv_func_isnan_use=no
46283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46284 ac_ext=c
46285 ac_cpp='$CPP $CPPFLAGS'
46286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46295 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46297 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46298 for ac_func in isnan
46299 do :
46300 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46301 if test "x$ac_cv_func_isnan" = x""yes; then :
46302 cat >>confdefs.h <<_ACEOF
46303 #define HAVE_ISNAN 1
46304 _ACEOF
46307 done
46309 else
46311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46312 $as_echo_n "checking for _isnan declaration... " >&6; }
46313 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46314 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46315 $as_echo_n "(cached) " >&6
46316 else
46319 ac_ext=cpp
46320 ac_cpp='$CXXCPP $CPPFLAGS'
46321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46326 /* end confdefs.h. */
46327 #include <math.h>
46328 #ifdef HAVE_IEEEFP_H
46329 #include <ieeefp.h>
46330 #endif
46333 main ()
46335 _isnan(0);
46337 return 0;
46339 _ACEOF
46340 if ac_fn_cxx_try_compile "$LINENO"; then :
46341 glibcxx_cv_func__isnan_use=yes
46342 else
46343 glibcxx_cv_func__isnan_use=no
46345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46346 ac_ext=c
46347 ac_cpp='$CPP $CPPFLAGS'
46348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46357 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46359 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46360 for ac_func in _isnan
46361 do :
46362 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46363 if test "x$ac_cv_func__isnan" = x""yes; then :
46364 cat >>confdefs.h <<_ACEOF
46365 #define HAVE__ISNAN 1
46366 _ACEOF
46369 done
46378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46379 $as_echo_n "checking for finite declaration... " >&6; }
46380 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46381 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46382 $as_echo_n "(cached) " >&6
46383 else
46386 ac_ext=cpp
46387 ac_cpp='$CXXCPP $CPPFLAGS'
46388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46393 /* end confdefs.h. */
46394 #include <math.h>
46395 #ifdef HAVE_IEEEFP_H
46396 #include <ieeefp.h>
46397 #endif
46400 main ()
46402 finite(0);
46404 return 0;
46406 _ACEOF
46407 if ac_fn_cxx_try_compile "$LINENO"; then :
46408 glibcxx_cv_func_finite_use=yes
46409 else
46410 glibcxx_cv_func_finite_use=no
46412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46413 ac_ext=c
46414 ac_cpp='$CPP $CPPFLAGS'
46415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46424 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46426 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46427 for ac_func in finite
46428 do :
46429 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46430 if test "x$ac_cv_func_finite" = x""yes; then :
46431 cat >>confdefs.h <<_ACEOF
46432 #define HAVE_FINITE 1
46433 _ACEOF
46436 done
46438 else
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46441 $as_echo_n "checking for _finite declaration... " >&6; }
46442 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46443 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46444 $as_echo_n "(cached) " >&6
46445 else
46448 ac_ext=cpp
46449 ac_cpp='$CXXCPP $CPPFLAGS'
46450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46455 /* end confdefs.h. */
46456 #include <math.h>
46457 #ifdef HAVE_IEEEFP_H
46458 #include <ieeefp.h>
46459 #endif
46462 main ()
46464 _finite(0);
46466 return 0;
46468 _ACEOF
46469 if ac_fn_cxx_try_compile "$LINENO"; then :
46470 glibcxx_cv_func__finite_use=yes
46471 else
46472 glibcxx_cv_func__finite_use=no
46474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46475 ac_ext=c
46476 ac_cpp='$CPP $CPPFLAGS'
46477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46486 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46488 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46489 for ac_func in _finite
46490 do :
46491 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46492 if test "x$ac_cv_func__finite" = x""yes; then :
46493 cat >>confdefs.h <<_ACEOF
46494 #define HAVE__FINITE 1
46495 _ACEOF
46498 done
46507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46508 $as_echo_n "checking for sincos declaration... " >&6; }
46509 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46510 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46511 $as_echo_n "(cached) " >&6
46512 else
46515 ac_ext=cpp
46516 ac_cpp='$CXXCPP $CPPFLAGS'
46517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46522 /* end confdefs.h. */
46523 #include <math.h>
46525 main ()
46527 sincos(0, 0, 0);
46529 return 0;
46531 _ACEOF
46532 if ac_fn_cxx_try_compile "$LINENO"; then :
46533 glibcxx_cv_func_sincos_use=yes
46534 else
46535 glibcxx_cv_func_sincos_use=no
46537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46538 ac_ext=c
46539 ac_cpp='$CPP $CPPFLAGS'
46540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46549 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46551 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46552 for ac_func in sincos
46553 do :
46554 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46555 if test "x$ac_cv_func_sincos" = x""yes; then :
46556 cat >>confdefs.h <<_ACEOF
46557 #define HAVE_SINCOS 1
46558 _ACEOF
46561 done
46563 else
46565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46566 $as_echo_n "checking for _sincos declaration... " >&6; }
46567 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46568 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46569 $as_echo_n "(cached) " >&6
46570 else
46573 ac_ext=cpp
46574 ac_cpp='$CXXCPP $CPPFLAGS'
46575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46580 /* end confdefs.h. */
46581 #include <math.h>
46583 main ()
46585 _sincos(0, 0, 0);
46587 return 0;
46589 _ACEOF
46590 if ac_fn_cxx_try_compile "$LINENO"; then :
46591 glibcxx_cv_func__sincos_use=yes
46592 else
46593 glibcxx_cv_func__sincos_use=no
46595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46596 ac_ext=c
46597 ac_cpp='$CPP $CPPFLAGS'
46598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46607 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46609 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46610 for ac_func in _sincos
46611 do :
46612 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46613 if test "x$ac_cv_func__sincos" = x""yes; then :
46614 cat >>confdefs.h <<_ACEOF
46615 #define HAVE__SINCOS 1
46616 _ACEOF
46619 done
46628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46629 $as_echo_n "checking for fpclass declaration... " >&6; }
46630 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46631 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46632 $as_echo_n "(cached) " >&6
46633 else
46636 ac_ext=cpp
46637 ac_cpp='$CXXCPP $CPPFLAGS'
46638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46643 /* end confdefs.h. */
46644 #include <math.h>
46645 #ifdef HAVE_IEEEFP_H
46646 #include <ieeefp.h>
46647 #endif
46650 main ()
46652 fpclass(0);
46654 return 0;
46656 _ACEOF
46657 if ac_fn_cxx_try_compile "$LINENO"; then :
46658 glibcxx_cv_func_fpclass_use=yes
46659 else
46660 glibcxx_cv_func_fpclass_use=no
46662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46663 ac_ext=c
46664 ac_cpp='$CPP $CPPFLAGS'
46665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46674 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46676 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46677 for ac_func in fpclass
46678 do :
46679 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46680 if test "x$ac_cv_func_fpclass" = x""yes; then :
46681 cat >>confdefs.h <<_ACEOF
46682 #define HAVE_FPCLASS 1
46683 _ACEOF
46686 done
46688 else
46690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46691 $as_echo_n "checking for _fpclass declaration... " >&6; }
46692 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46693 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46694 $as_echo_n "(cached) " >&6
46695 else
46698 ac_ext=cpp
46699 ac_cpp='$CXXCPP $CPPFLAGS'
46700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46705 /* end confdefs.h. */
46706 #include <math.h>
46707 #ifdef HAVE_IEEEFP_H
46708 #include <ieeefp.h>
46709 #endif
46712 main ()
46714 _fpclass(0);
46716 return 0;
46718 _ACEOF
46719 if ac_fn_cxx_try_compile "$LINENO"; then :
46720 glibcxx_cv_func__fpclass_use=yes
46721 else
46722 glibcxx_cv_func__fpclass_use=no
46724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46725 ac_ext=c
46726 ac_cpp='$CPP $CPPFLAGS'
46727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46736 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46738 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46739 for ac_func in _fpclass
46740 do :
46741 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46742 if test "x$ac_cv_func__fpclass" = x""yes; then :
46743 cat >>confdefs.h <<_ACEOF
46744 #define HAVE__FPCLASS 1
46745 _ACEOF
46748 done
46757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46758 $as_echo_n "checking for qfpclass declaration... " >&6; }
46759 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46760 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46761 $as_echo_n "(cached) " >&6
46762 else
46765 ac_ext=cpp
46766 ac_cpp='$CXXCPP $CPPFLAGS'
46767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46772 /* end confdefs.h. */
46773 #include <math.h>
46774 #ifdef HAVE_IEEEFP_H
46775 #include <ieeefp.h>
46776 #endif
46779 main ()
46781 qfpclass(0);
46783 return 0;
46785 _ACEOF
46786 if ac_fn_cxx_try_compile "$LINENO"; then :
46787 glibcxx_cv_func_qfpclass_use=yes
46788 else
46789 glibcxx_cv_func_qfpclass_use=no
46791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46792 ac_ext=c
46793 ac_cpp='$CPP $CPPFLAGS'
46794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46803 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46805 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46806 for ac_func in qfpclass
46807 do :
46808 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46809 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46810 cat >>confdefs.h <<_ACEOF
46811 #define HAVE_QFPCLASS 1
46812 _ACEOF
46815 done
46817 else
46819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46820 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46821 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46822 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46823 $as_echo_n "(cached) " >&6
46824 else
46827 ac_ext=cpp
46828 ac_cpp='$CXXCPP $CPPFLAGS'
46829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46834 /* end confdefs.h. */
46835 #include <math.h>
46836 #ifdef HAVE_IEEEFP_H
46837 #include <ieeefp.h>
46838 #endif
46841 main ()
46843 _qfpclass(0);
46845 return 0;
46847 _ACEOF
46848 if ac_fn_cxx_try_compile "$LINENO"; then :
46849 glibcxx_cv_func__qfpclass_use=yes
46850 else
46851 glibcxx_cv_func__qfpclass_use=no
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46854 ac_ext=c
46855 ac_cpp='$CPP $CPPFLAGS'
46856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46865 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46867 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46868 for ac_func in _qfpclass
46869 do :
46870 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46871 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46872 cat >>confdefs.h <<_ACEOF
46873 #define HAVE__QFPCLASS 1
46874 _ACEOF
46877 done
46886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46887 $as_echo_n "checking for hypot declaration... " >&6; }
46888 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46889 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46890 $as_echo_n "(cached) " >&6
46891 else
46894 ac_ext=cpp
46895 ac_cpp='$CXXCPP $CPPFLAGS'
46896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46901 /* end confdefs.h. */
46902 #include <math.h>
46904 main ()
46906 hypot(0, 0);
46908 return 0;
46910 _ACEOF
46911 if ac_fn_cxx_try_compile "$LINENO"; then :
46912 glibcxx_cv_func_hypot_use=yes
46913 else
46914 glibcxx_cv_func_hypot_use=no
46916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46917 ac_ext=c
46918 ac_cpp='$CPP $CPPFLAGS'
46919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46928 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46930 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46931 for ac_func in hypot
46932 do :
46933 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46934 if test "x$ac_cv_func_hypot" = x""yes; then :
46935 cat >>confdefs.h <<_ACEOF
46936 #define HAVE_HYPOT 1
46937 _ACEOF
46940 done
46942 else
46944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46945 $as_echo_n "checking for _hypot declaration... " >&6; }
46946 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46947 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46948 $as_echo_n "(cached) " >&6
46949 else
46952 ac_ext=cpp
46953 ac_cpp='$CXXCPP $CPPFLAGS'
46954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46959 /* end confdefs.h. */
46960 #include <math.h>
46962 main ()
46964 _hypot(0, 0);
46966 return 0;
46968 _ACEOF
46969 if ac_fn_cxx_try_compile "$LINENO"; then :
46970 glibcxx_cv_func__hypot_use=yes
46971 else
46972 glibcxx_cv_func__hypot_use=no
46974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46975 ac_ext=c
46976 ac_cpp='$CPP $CPPFLAGS'
46977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46986 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46988 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46989 for ac_func in _hypot
46990 do :
46991 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46992 if test "x$ac_cv_func__hypot" = x""yes; then :
46993 cat >>confdefs.h <<_ACEOF
46994 #define HAVE__HYPOT 1
46995 _ACEOF
46998 done
47007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47008 $as_echo_n "checking for float trig functions... " >&6; }
47009 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47010 $as_echo_n "(cached) " >&6
47011 else
47014 ac_ext=cpp
47015 ac_cpp='$CXXCPP $CPPFLAGS'
47016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47021 /* end confdefs.h. */
47022 #include <math.h>
47024 main ()
47026 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47028 return 0;
47030 _ACEOF
47031 if ac_fn_cxx_try_compile "$LINENO"; then :
47032 glibcxx_cv_func_float_trig_use=yes
47033 else
47034 glibcxx_cv_func_float_trig_use=no
47036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47037 ac_ext=c
47038 ac_cpp='$CPP $CPPFLAGS'
47039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47046 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47047 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47048 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47049 do :
47050 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47052 eval as_val=\$$as_ac_var
47053 if test "x$as_val" = x""yes; then :
47054 cat >>confdefs.h <<_ACEOF
47055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47056 _ACEOF
47059 done
47061 else
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47063 $as_echo_n "checking for _float trig functions... " >&6; }
47064 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47065 $as_echo_n "(cached) " >&6
47066 else
47069 ac_ext=cpp
47070 ac_cpp='$CXXCPP $CPPFLAGS'
47071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47076 /* end confdefs.h. */
47077 #include <math.h>
47079 main ()
47081 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47083 return 0;
47085 _ACEOF
47086 if ac_fn_cxx_try_compile "$LINENO"; then :
47087 glibcxx_cv_func__float_trig_use=yes
47088 else
47089 glibcxx_cv_func__float_trig_use=no
47091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47092 ac_ext=c
47093 ac_cpp='$CPP $CPPFLAGS'
47094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47101 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47102 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47103 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47104 do :
47105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47107 eval as_val=\$$as_ac_var
47108 if test "x$as_val" = x""yes; then :
47109 cat >>confdefs.h <<_ACEOF
47110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47111 _ACEOF
47114 done
47123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47124 $as_echo_n "checking for float round functions... " >&6; }
47125 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47126 $as_echo_n "(cached) " >&6
47127 else
47130 ac_ext=cpp
47131 ac_cpp='$CXXCPP $CPPFLAGS'
47132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47137 /* end confdefs.h. */
47138 #include <math.h>
47140 main ()
47142 ceilf (0); floorf (0);
47144 return 0;
47146 _ACEOF
47147 if ac_fn_cxx_try_compile "$LINENO"; then :
47148 glibcxx_cv_func_float_round_use=yes
47149 else
47150 glibcxx_cv_func_float_round_use=no
47152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47153 ac_ext=c
47154 ac_cpp='$CPP $CPPFLAGS'
47155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47162 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47163 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47164 for ac_func in ceilf floorf
47165 do :
47166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47168 eval as_val=\$$as_ac_var
47169 if test "x$as_val" = x""yes; then :
47170 cat >>confdefs.h <<_ACEOF
47171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47172 _ACEOF
47175 done
47177 else
47178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47179 $as_echo_n "checking for _float round functions... " >&6; }
47180 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47181 $as_echo_n "(cached) " >&6
47182 else
47185 ac_ext=cpp
47186 ac_cpp='$CXXCPP $CPPFLAGS'
47187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47192 /* end confdefs.h. */
47193 #include <math.h>
47195 main ()
47197 _ceilf (0); _floorf (0);
47199 return 0;
47201 _ACEOF
47202 if ac_fn_cxx_try_compile "$LINENO"; then :
47203 glibcxx_cv_func__float_round_use=yes
47204 else
47205 glibcxx_cv_func__float_round_use=no
47207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47208 ac_ext=c
47209 ac_cpp='$CPP $CPPFLAGS'
47210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47217 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47218 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47219 for ac_func in _ceilf _floorf
47220 do :
47221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47223 eval as_val=\$$as_ac_var
47224 if test "x$as_val" = x""yes; then :
47225 cat >>confdefs.h <<_ACEOF
47226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47227 _ACEOF
47230 done
47240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47241 $as_echo_n "checking for expf declaration... " >&6; }
47242 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47243 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47244 $as_echo_n "(cached) " >&6
47245 else
47248 ac_ext=cpp
47249 ac_cpp='$CXXCPP $CPPFLAGS'
47250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47255 /* end confdefs.h. */
47256 #include <math.h>
47257 #ifdef HAVE_IEEEFP_H
47258 #include <ieeefp.h>
47259 #endif
47262 main ()
47264 expf(0);
47266 return 0;
47268 _ACEOF
47269 if ac_fn_cxx_try_compile "$LINENO"; then :
47270 glibcxx_cv_func_expf_use=yes
47271 else
47272 glibcxx_cv_func_expf_use=no
47274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47275 ac_ext=c
47276 ac_cpp='$CPP $CPPFLAGS'
47277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47286 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47288 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47289 for ac_func in expf
47290 do :
47291 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47292 if test "x$ac_cv_func_expf" = x""yes; then :
47293 cat >>confdefs.h <<_ACEOF
47294 #define HAVE_EXPF 1
47295 _ACEOF
47298 done
47300 else
47302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47303 $as_echo_n "checking for _expf declaration... " >&6; }
47304 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47305 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47306 $as_echo_n "(cached) " >&6
47307 else
47310 ac_ext=cpp
47311 ac_cpp='$CXXCPP $CPPFLAGS'
47312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47317 /* end confdefs.h. */
47318 #include <math.h>
47319 #ifdef HAVE_IEEEFP_H
47320 #include <ieeefp.h>
47321 #endif
47324 main ()
47326 _expf(0);
47328 return 0;
47330 _ACEOF
47331 if ac_fn_cxx_try_compile "$LINENO"; then :
47332 glibcxx_cv_func__expf_use=yes
47333 else
47334 glibcxx_cv_func__expf_use=no
47336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47337 ac_ext=c
47338 ac_cpp='$CPP $CPPFLAGS'
47339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47348 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47350 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47351 for ac_func in _expf
47352 do :
47353 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47354 if test "x$ac_cv_func__expf" = x""yes; then :
47355 cat >>confdefs.h <<_ACEOF
47356 #define HAVE__EXPF 1
47357 _ACEOF
47360 done
47369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47370 $as_echo_n "checking for isnanf declaration... " >&6; }
47371 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47372 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47373 $as_echo_n "(cached) " >&6
47374 else
47377 ac_ext=cpp
47378 ac_cpp='$CXXCPP $CPPFLAGS'
47379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47384 /* end confdefs.h. */
47385 #include <math.h>
47386 #ifdef HAVE_IEEEFP_H
47387 #include <ieeefp.h>
47388 #endif
47391 main ()
47393 isnanf(0);
47395 return 0;
47397 _ACEOF
47398 if ac_fn_cxx_try_compile "$LINENO"; then :
47399 glibcxx_cv_func_isnanf_use=yes
47400 else
47401 glibcxx_cv_func_isnanf_use=no
47403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47404 ac_ext=c
47405 ac_cpp='$CPP $CPPFLAGS'
47406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47415 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47417 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47418 for ac_func in isnanf
47419 do :
47420 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47421 if test "x$ac_cv_func_isnanf" = x""yes; then :
47422 cat >>confdefs.h <<_ACEOF
47423 #define HAVE_ISNANF 1
47424 _ACEOF
47427 done
47429 else
47431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47432 $as_echo_n "checking for _isnanf declaration... " >&6; }
47433 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47434 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47435 $as_echo_n "(cached) " >&6
47436 else
47439 ac_ext=cpp
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47446 /* end confdefs.h. */
47447 #include <math.h>
47448 #ifdef HAVE_IEEEFP_H
47449 #include <ieeefp.h>
47450 #endif
47453 main ()
47455 _isnanf(0);
47457 return 0;
47459 _ACEOF
47460 if ac_fn_cxx_try_compile "$LINENO"; then :
47461 glibcxx_cv_func__isnanf_use=yes
47462 else
47463 glibcxx_cv_func__isnanf_use=no
47465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47466 ac_ext=c
47467 ac_cpp='$CPP $CPPFLAGS'
47468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47477 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47479 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47480 for ac_func in _isnanf
47481 do :
47482 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47483 if test "x$ac_cv_func__isnanf" = x""yes; then :
47484 cat >>confdefs.h <<_ACEOF
47485 #define HAVE__ISNANF 1
47486 _ACEOF
47489 done
47498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47499 $as_echo_n "checking for isinff declaration... " >&6; }
47500 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47501 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47502 $as_echo_n "(cached) " >&6
47503 else
47506 ac_ext=cpp
47507 ac_cpp='$CXXCPP $CPPFLAGS'
47508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47513 /* end confdefs.h. */
47514 #include <math.h>
47515 #ifdef HAVE_IEEEFP_H
47516 #include <ieeefp.h>
47517 #endif
47520 main ()
47522 isinff(0);
47524 return 0;
47526 _ACEOF
47527 if ac_fn_cxx_try_compile "$LINENO"; then :
47528 glibcxx_cv_func_isinff_use=yes
47529 else
47530 glibcxx_cv_func_isinff_use=no
47532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47533 ac_ext=c
47534 ac_cpp='$CPP $CPPFLAGS'
47535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47544 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47546 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47547 for ac_func in isinff
47548 do :
47549 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47550 if test "x$ac_cv_func_isinff" = x""yes; then :
47551 cat >>confdefs.h <<_ACEOF
47552 #define HAVE_ISINFF 1
47553 _ACEOF
47556 done
47558 else
47560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47561 $as_echo_n "checking for _isinff declaration... " >&6; }
47562 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47563 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47564 $as_echo_n "(cached) " >&6
47565 else
47568 ac_ext=cpp
47569 ac_cpp='$CXXCPP $CPPFLAGS'
47570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47575 /* end confdefs.h. */
47576 #include <math.h>
47577 #ifdef HAVE_IEEEFP_H
47578 #include <ieeefp.h>
47579 #endif
47582 main ()
47584 _isinff(0);
47586 return 0;
47588 _ACEOF
47589 if ac_fn_cxx_try_compile "$LINENO"; then :
47590 glibcxx_cv_func__isinff_use=yes
47591 else
47592 glibcxx_cv_func__isinff_use=no
47594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47595 ac_ext=c
47596 ac_cpp='$CPP $CPPFLAGS'
47597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47606 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47608 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47609 for ac_func in _isinff
47610 do :
47611 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47612 if test "x$ac_cv_func__isinff" = x""yes; then :
47613 cat >>confdefs.h <<_ACEOF
47614 #define HAVE__ISINFF 1
47615 _ACEOF
47618 done
47627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47628 $as_echo_n "checking for atan2f declaration... " >&6; }
47629 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47630 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47631 $as_echo_n "(cached) " >&6
47632 else
47635 ac_ext=cpp
47636 ac_cpp='$CXXCPP $CPPFLAGS'
47637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47642 /* end confdefs.h. */
47643 #include <math.h>
47645 main ()
47647 atan2f(0, 0);
47649 return 0;
47651 _ACEOF
47652 if ac_fn_cxx_try_compile "$LINENO"; then :
47653 glibcxx_cv_func_atan2f_use=yes
47654 else
47655 glibcxx_cv_func_atan2f_use=no
47657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47658 ac_ext=c
47659 ac_cpp='$CPP $CPPFLAGS'
47660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47669 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47671 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47672 for ac_func in atan2f
47673 do :
47674 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47675 if test "x$ac_cv_func_atan2f" = x""yes; then :
47676 cat >>confdefs.h <<_ACEOF
47677 #define HAVE_ATAN2F 1
47678 _ACEOF
47681 done
47683 else
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47686 $as_echo_n "checking for _atan2f declaration... " >&6; }
47687 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47688 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47689 $as_echo_n "(cached) " >&6
47690 else
47693 ac_ext=cpp
47694 ac_cpp='$CXXCPP $CPPFLAGS'
47695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47700 /* end confdefs.h. */
47701 #include <math.h>
47703 main ()
47705 _atan2f(0, 0);
47707 return 0;
47709 _ACEOF
47710 if ac_fn_cxx_try_compile "$LINENO"; then :
47711 glibcxx_cv_func__atan2f_use=yes
47712 else
47713 glibcxx_cv_func__atan2f_use=no
47715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47716 ac_ext=c
47717 ac_cpp='$CPP $CPPFLAGS'
47718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47727 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47729 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47730 for ac_func in _atan2f
47731 do :
47732 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47733 if test "x$ac_cv_func__atan2f" = x""yes; then :
47734 cat >>confdefs.h <<_ACEOF
47735 #define HAVE__ATAN2F 1
47736 _ACEOF
47739 done
47748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47749 $as_echo_n "checking for fabsf declaration... " >&6; }
47750 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47751 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47752 $as_echo_n "(cached) " >&6
47753 else
47756 ac_ext=cpp
47757 ac_cpp='$CXXCPP $CPPFLAGS'
47758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47763 /* end confdefs.h. */
47764 #include <math.h>
47765 #ifdef HAVE_IEEEFP_H
47766 #include <ieeefp.h>
47767 #endif
47770 main ()
47772 fabsf(0);
47774 return 0;
47776 _ACEOF
47777 if ac_fn_cxx_try_compile "$LINENO"; then :
47778 glibcxx_cv_func_fabsf_use=yes
47779 else
47780 glibcxx_cv_func_fabsf_use=no
47782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47783 ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47794 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47796 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47797 for ac_func in fabsf
47798 do :
47799 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47800 if test "x$ac_cv_func_fabsf" = x""yes; then :
47801 cat >>confdefs.h <<_ACEOF
47802 #define HAVE_FABSF 1
47803 _ACEOF
47806 done
47808 else
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47811 $as_echo_n "checking for _fabsf declaration... " >&6; }
47812 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47813 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47814 $as_echo_n "(cached) " >&6
47815 else
47818 ac_ext=cpp
47819 ac_cpp='$CXXCPP $CPPFLAGS'
47820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47825 /* end confdefs.h. */
47826 #include <math.h>
47827 #ifdef HAVE_IEEEFP_H
47828 #include <ieeefp.h>
47829 #endif
47832 main ()
47834 _fabsf(0);
47836 return 0;
47838 _ACEOF
47839 if ac_fn_cxx_try_compile "$LINENO"; then :
47840 glibcxx_cv_func__fabsf_use=yes
47841 else
47842 glibcxx_cv_func__fabsf_use=no
47844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47845 ac_ext=c
47846 ac_cpp='$CPP $CPPFLAGS'
47847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47856 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47858 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47859 for ac_func in _fabsf
47860 do :
47861 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47862 if test "x$ac_cv_func__fabsf" = x""yes; then :
47863 cat >>confdefs.h <<_ACEOF
47864 #define HAVE__FABSF 1
47865 _ACEOF
47868 done
47877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47878 $as_echo_n "checking for fmodf declaration... " >&6; }
47879 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47880 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47881 $as_echo_n "(cached) " >&6
47882 else
47885 ac_ext=cpp
47886 ac_cpp='$CXXCPP $CPPFLAGS'
47887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47892 /* end confdefs.h. */
47893 #include <math.h>
47895 main ()
47897 fmodf(0, 0);
47899 return 0;
47901 _ACEOF
47902 if ac_fn_cxx_try_compile "$LINENO"; then :
47903 glibcxx_cv_func_fmodf_use=yes
47904 else
47905 glibcxx_cv_func_fmodf_use=no
47907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47908 ac_ext=c
47909 ac_cpp='$CPP $CPPFLAGS'
47910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47919 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47921 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47922 for ac_func in fmodf
47923 do :
47924 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47925 if test "x$ac_cv_func_fmodf" = x""yes; then :
47926 cat >>confdefs.h <<_ACEOF
47927 #define HAVE_FMODF 1
47928 _ACEOF
47931 done
47933 else
47935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47936 $as_echo_n "checking for _fmodf declaration... " >&6; }
47937 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47938 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47939 $as_echo_n "(cached) " >&6
47940 else
47943 ac_ext=cpp
47944 ac_cpp='$CXXCPP $CPPFLAGS'
47945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47950 /* end confdefs.h. */
47951 #include <math.h>
47953 main ()
47955 _fmodf(0, 0);
47957 return 0;
47959 _ACEOF
47960 if ac_fn_cxx_try_compile "$LINENO"; then :
47961 glibcxx_cv_func__fmodf_use=yes
47962 else
47963 glibcxx_cv_func__fmodf_use=no
47965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47966 ac_ext=c
47967 ac_cpp='$CPP $CPPFLAGS'
47968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47977 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47979 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47980 for ac_func in _fmodf
47981 do :
47982 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47983 if test "x$ac_cv_func__fmodf" = x""yes; then :
47984 cat >>confdefs.h <<_ACEOF
47985 #define HAVE__FMODF 1
47986 _ACEOF
47989 done
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47999 $as_echo_n "checking for frexpf declaration... " >&6; }
48000 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48001 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48002 $as_echo_n "(cached) " >&6
48003 else
48006 ac_ext=cpp
48007 ac_cpp='$CXXCPP $CPPFLAGS'
48008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48013 /* end confdefs.h. */
48014 #include <math.h>
48016 main ()
48018 frexpf(0, 0);
48020 return 0;
48022 _ACEOF
48023 if ac_fn_cxx_try_compile "$LINENO"; then :
48024 glibcxx_cv_func_frexpf_use=yes
48025 else
48026 glibcxx_cv_func_frexpf_use=no
48028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48029 ac_ext=c
48030 ac_cpp='$CPP $CPPFLAGS'
48031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48040 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48042 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48043 for ac_func in frexpf
48044 do :
48045 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48046 if test "x$ac_cv_func_frexpf" = x""yes; then :
48047 cat >>confdefs.h <<_ACEOF
48048 #define HAVE_FREXPF 1
48049 _ACEOF
48052 done
48054 else
48056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48057 $as_echo_n "checking for _frexpf declaration... " >&6; }
48058 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48059 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48060 $as_echo_n "(cached) " >&6
48061 else
48064 ac_ext=cpp
48065 ac_cpp='$CXXCPP $CPPFLAGS'
48066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48071 /* end confdefs.h. */
48072 #include <math.h>
48074 main ()
48076 _frexpf(0, 0);
48078 return 0;
48080 _ACEOF
48081 if ac_fn_cxx_try_compile "$LINENO"; then :
48082 glibcxx_cv_func__frexpf_use=yes
48083 else
48084 glibcxx_cv_func__frexpf_use=no
48086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48087 ac_ext=c
48088 ac_cpp='$CPP $CPPFLAGS'
48089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48098 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48100 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48101 for ac_func in _frexpf
48102 do :
48103 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48104 if test "x$ac_cv_func__frexpf" = x""yes; then :
48105 cat >>confdefs.h <<_ACEOF
48106 #define HAVE__FREXPF 1
48107 _ACEOF
48110 done
48119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48120 $as_echo_n "checking for hypotf declaration... " >&6; }
48121 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48122 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48123 $as_echo_n "(cached) " >&6
48124 else
48127 ac_ext=cpp
48128 ac_cpp='$CXXCPP $CPPFLAGS'
48129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48134 /* end confdefs.h. */
48135 #include <math.h>
48137 main ()
48139 hypotf(0, 0);
48141 return 0;
48143 _ACEOF
48144 if ac_fn_cxx_try_compile "$LINENO"; then :
48145 glibcxx_cv_func_hypotf_use=yes
48146 else
48147 glibcxx_cv_func_hypotf_use=no
48149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48150 ac_ext=c
48151 ac_cpp='$CPP $CPPFLAGS'
48152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48161 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48163 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48164 for ac_func in hypotf
48165 do :
48166 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48167 if test "x$ac_cv_func_hypotf" = x""yes; then :
48168 cat >>confdefs.h <<_ACEOF
48169 #define HAVE_HYPOTF 1
48170 _ACEOF
48173 done
48175 else
48177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48178 $as_echo_n "checking for _hypotf declaration... " >&6; }
48179 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48180 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48181 $as_echo_n "(cached) " >&6
48182 else
48185 ac_ext=cpp
48186 ac_cpp='$CXXCPP $CPPFLAGS'
48187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48192 /* end confdefs.h. */
48193 #include <math.h>
48195 main ()
48197 _hypotf(0, 0);
48199 return 0;
48201 _ACEOF
48202 if ac_fn_cxx_try_compile "$LINENO"; then :
48203 glibcxx_cv_func__hypotf_use=yes
48204 else
48205 glibcxx_cv_func__hypotf_use=no
48207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48208 ac_ext=c
48209 ac_cpp='$CPP $CPPFLAGS'
48210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48219 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48221 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48222 for ac_func in _hypotf
48223 do :
48224 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48225 if test "x$ac_cv_func__hypotf" = x""yes; then :
48226 cat >>confdefs.h <<_ACEOF
48227 #define HAVE__HYPOTF 1
48228 _ACEOF
48231 done
48240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48241 $as_echo_n "checking for ldexpf declaration... " >&6; }
48242 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48243 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48244 $as_echo_n "(cached) " >&6
48245 else
48248 ac_ext=cpp
48249 ac_cpp='$CXXCPP $CPPFLAGS'
48250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48255 /* end confdefs.h. */
48256 #include <math.h>
48258 main ()
48260 ldexpf(0, 0);
48262 return 0;
48264 _ACEOF
48265 if ac_fn_cxx_try_compile "$LINENO"; then :
48266 glibcxx_cv_func_ldexpf_use=yes
48267 else
48268 glibcxx_cv_func_ldexpf_use=no
48270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48271 ac_ext=c
48272 ac_cpp='$CPP $CPPFLAGS'
48273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48282 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48284 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48285 for ac_func in ldexpf
48286 do :
48287 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48288 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48289 cat >>confdefs.h <<_ACEOF
48290 #define HAVE_LDEXPF 1
48291 _ACEOF
48294 done
48296 else
48298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48299 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48300 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48301 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48302 $as_echo_n "(cached) " >&6
48303 else
48306 ac_ext=cpp
48307 ac_cpp='$CXXCPP $CPPFLAGS'
48308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48313 /* end confdefs.h. */
48314 #include <math.h>
48316 main ()
48318 _ldexpf(0, 0);
48320 return 0;
48322 _ACEOF
48323 if ac_fn_cxx_try_compile "$LINENO"; then :
48324 glibcxx_cv_func__ldexpf_use=yes
48325 else
48326 glibcxx_cv_func__ldexpf_use=no
48328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48329 ac_ext=c
48330 ac_cpp='$CPP $CPPFLAGS'
48331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48340 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48342 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48343 for ac_func in _ldexpf
48344 do :
48345 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48346 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48347 cat >>confdefs.h <<_ACEOF
48348 #define HAVE__LDEXPF 1
48349 _ACEOF
48352 done
48361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48362 $as_echo_n "checking for logf declaration... " >&6; }
48363 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48364 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48365 $as_echo_n "(cached) " >&6
48366 else
48369 ac_ext=cpp
48370 ac_cpp='$CXXCPP $CPPFLAGS'
48371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48376 /* end confdefs.h. */
48377 #include <math.h>
48378 #ifdef HAVE_IEEEFP_H
48379 #include <ieeefp.h>
48380 #endif
48383 main ()
48385 logf(0);
48387 return 0;
48389 _ACEOF
48390 if ac_fn_cxx_try_compile "$LINENO"; then :
48391 glibcxx_cv_func_logf_use=yes
48392 else
48393 glibcxx_cv_func_logf_use=no
48395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48396 ac_ext=c
48397 ac_cpp='$CPP $CPPFLAGS'
48398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48407 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48409 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48410 for ac_func in logf
48411 do :
48412 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48413 if test "x$ac_cv_func_logf" = x""yes; then :
48414 cat >>confdefs.h <<_ACEOF
48415 #define HAVE_LOGF 1
48416 _ACEOF
48419 done
48421 else
48423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48424 $as_echo_n "checking for _logf declaration... " >&6; }
48425 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48426 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48427 $as_echo_n "(cached) " >&6
48428 else
48431 ac_ext=cpp
48432 ac_cpp='$CXXCPP $CPPFLAGS'
48433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48438 /* end confdefs.h. */
48439 #include <math.h>
48440 #ifdef HAVE_IEEEFP_H
48441 #include <ieeefp.h>
48442 #endif
48445 main ()
48447 _logf(0);
48449 return 0;
48451 _ACEOF
48452 if ac_fn_cxx_try_compile "$LINENO"; then :
48453 glibcxx_cv_func__logf_use=yes
48454 else
48455 glibcxx_cv_func__logf_use=no
48457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48458 ac_ext=c
48459 ac_cpp='$CPP $CPPFLAGS'
48460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48469 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48471 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48472 for ac_func in _logf
48473 do :
48474 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48475 if test "x$ac_cv_func__logf" = x""yes; then :
48476 cat >>confdefs.h <<_ACEOF
48477 #define HAVE__LOGF 1
48478 _ACEOF
48481 done
48490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48491 $as_echo_n "checking for log10f declaration... " >&6; }
48492 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48493 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48494 $as_echo_n "(cached) " >&6
48495 else
48498 ac_ext=cpp
48499 ac_cpp='$CXXCPP $CPPFLAGS'
48500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48505 /* end confdefs.h. */
48506 #include <math.h>
48507 #ifdef HAVE_IEEEFP_H
48508 #include <ieeefp.h>
48509 #endif
48512 main ()
48514 log10f(0);
48516 return 0;
48518 _ACEOF
48519 if ac_fn_cxx_try_compile "$LINENO"; then :
48520 glibcxx_cv_func_log10f_use=yes
48521 else
48522 glibcxx_cv_func_log10f_use=no
48524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48525 ac_ext=c
48526 ac_cpp='$CPP $CPPFLAGS'
48527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48536 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48538 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48539 for ac_func in log10f
48540 do :
48541 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48542 if test "x$ac_cv_func_log10f" = x""yes; then :
48543 cat >>confdefs.h <<_ACEOF
48544 #define HAVE_LOG10F 1
48545 _ACEOF
48548 done
48550 else
48552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48553 $as_echo_n "checking for _log10f declaration... " >&6; }
48554 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48555 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48556 $as_echo_n "(cached) " >&6
48557 else
48560 ac_ext=cpp
48561 ac_cpp='$CXXCPP $CPPFLAGS'
48562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48567 /* end confdefs.h. */
48568 #include <math.h>
48569 #ifdef HAVE_IEEEFP_H
48570 #include <ieeefp.h>
48571 #endif
48574 main ()
48576 _log10f(0);
48578 return 0;
48580 _ACEOF
48581 if ac_fn_cxx_try_compile "$LINENO"; then :
48582 glibcxx_cv_func__log10f_use=yes
48583 else
48584 glibcxx_cv_func__log10f_use=no
48586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48587 ac_ext=c
48588 ac_cpp='$CPP $CPPFLAGS'
48589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48598 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48600 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48601 for ac_func in _log10f
48602 do :
48603 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48604 if test "x$ac_cv_func__log10f" = x""yes; then :
48605 cat >>confdefs.h <<_ACEOF
48606 #define HAVE__LOG10F 1
48607 _ACEOF
48610 done
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48620 $as_echo_n "checking for modff declaration... " >&6; }
48621 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48622 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48623 $as_echo_n "(cached) " >&6
48624 else
48627 ac_ext=cpp
48628 ac_cpp='$CXXCPP $CPPFLAGS'
48629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48634 /* end confdefs.h. */
48635 #include <math.h>
48637 main ()
48639 modff(0, 0);
48641 return 0;
48643 _ACEOF
48644 if ac_fn_cxx_try_compile "$LINENO"; then :
48645 glibcxx_cv_func_modff_use=yes
48646 else
48647 glibcxx_cv_func_modff_use=no
48649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48650 ac_ext=c
48651 ac_cpp='$CPP $CPPFLAGS'
48652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48661 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48663 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48664 for ac_func in modff
48665 do :
48666 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48667 if test "x$ac_cv_func_modff" = x""yes; then :
48668 cat >>confdefs.h <<_ACEOF
48669 #define HAVE_MODFF 1
48670 _ACEOF
48673 done
48675 else
48677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48678 $as_echo_n "checking for _modff declaration... " >&6; }
48679 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48680 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48681 $as_echo_n "(cached) " >&6
48682 else
48685 ac_ext=cpp
48686 ac_cpp='$CXXCPP $CPPFLAGS'
48687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48692 /* end confdefs.h. */
48693 #include <math.h>
48695 main ()
48697 _modff(0, 0);
48699 return 0;
48701 _ACEOF
48702 if ac_fn_cxx_try_compile "$LINENO"; then :
48703 glibcxx_cv_func__modff_use=yes
48704 else
48705 glibcxx_cv_func__modff_use=no
48707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48708 ac_ext=c
48709 ac_cpp='$CPP $CPPFLAGS'
48710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48719 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48721 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48722 for ac_func in _modff
48723 do :
48724 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48725 if test "x$ac_cv_func__modff" = x""yes; then :
48726 cat >>confdefs.h <<_ACEOF
48727 #define HAVE__MODFF 1
48728 _ACEOF
48731 done
48740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48741 $as_echo_n "checking for modf declaration... " >&6; }
48742 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48743 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48744 $as_echo_n "(cached) " >&6
48745 else
48748 ac_ext=cpp
48749 ac_cpp='$CXXCPP $CPPFLAGS'
48750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48755 /* end confdefs.h. */
48756 #include <math.h>
48758 main ()
48760 modf(0, 0);
48762 return 0;
48764 _ACEOF
48765 if ac_fn_cxx_try_compile "$LINENO"; then :
48766 glibcxx_cv_func_modf_use=yes
48767 else
48768 glibcxx_cv_func_modf_use=no
48770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48771 ac_ext=c
48772 ac_cpp='$CPP $CPPFLAGS'
48773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48782 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48784 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48785 for ac_func in modf
48786 do :
48787 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48788 if test "x$ac_cv_func_modf" = x""yes; then :
48789 cat >>confdefs.h <<_ACEOF
48790 #define HAVE_MODF 1
48791 _ACEOF
48794 done
48796 else
48798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48799 $as_echo_n "checking for _modf declaration... " >&6; }
48800 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48801 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48802 $as_echo_n "(cached) " >&6
48803 else
48806 ac_ext=cpp
48807 ac_cpp='$CXXCPP $CPPFLAGS'
48808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48813 /* end confdefs.h. */
48814 #include <math.h>
48816 main ()
48818 _modf(0, 0);
48820 return 0;
48822 _ACEOF
48823 if ac_fn_cxx_try_compile "$LINENO"; then :
48824 glibcxx_cv_func__modf_use=yes
48825 else
48826 glibcxx_cv_func__modf_use=no
48828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48829 ac_ext=c
48830 ac_cpp='$CPP $CPPFLAGS'
48831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48840 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48842 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48843 for ac_func in _modf
48844 do :
48845 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48846 if test "x$ac_cv_func__modf" = x""yes; then :
48847 cat >>confdefs.h <<_ACEOF
48848 #define HAVE__MODF 1
48849 _ACEOF
48852 done
48861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48862 $as_echo_n "checking for powf declaration... " >&6; }
48863 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48864 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48865 $as_echo_n "(cached) " >&6
48866 else
48869 ac_ext=cpp
48870 ac_cpp='$CXXCPP $CPPFLAGS'
48871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48876 /* end confdefs.h. */
48877 #include <math.h>
48879 main ()
48881 powf(0, 0);
48883 return 0;
48885 _ACEOF
48886 if ac_fn_cxx_try_compile "$LINENO"; then :
48887 glibcxx_cv_func_powf_use=yes
48888 else
48889 glibcxx_cv_func_powf_use=no
48891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48892 ac_ext=c
48893 ac_cpp='$CPP $CPPFLAGS'
48894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48903 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48905 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48906 for ac_func in powf
48907 do :
48908 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48909 if test "x$ac_cv_func_powf" = x""yes; then :
48910 cat >>confdefs.h <<_ACEOF
48911 #define HAVE_POWF 1
48912 _ACEOF
48915 done
48917 else
48919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48920 $as_echo_n "checking for _powf declaration... " >&6; }
48921 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48922 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48923 $as_echo_n "(cached) " >&6
48924 else
48927 ac_ext=cpp
48928 ac_cpp='$CXXCPP $CPPFLAGS'
48929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48934 /* end confdefs.h. */
48935 #include <math.h>
48937 main ()
48939 _powf(0, 0);
48941 return 0;
48943 _ACEOF
48944 if ac_fn_cxx_try_compile "$LINENO"; then :
48945 glibcxx_cv_func__powf_use=yes
48946 else
48947 glibcxx_cv_func__powf_use=no
48949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48950 ac_ext=c
48951 ac_cpp='$CPP $CPPFLAGS'
48952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48961 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48963 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48964 for ac_func in _powf
48965 do :
48966 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48967 if test "x$ac_cv_func__powf" = x""yes; then :
48968 cat >>confdefs.h <<_ACEOF
48969 #define HAVE__POWF 1
48970 _ACEOF
48973 done
48982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48983 $as_echo_n "checking for sqrtf declaration... " >&6; }
48984 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48985 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48986 $as_echo_n "(cached) " >&6
48987 else
48990 ac_ext=cpp
48991 ac_cpp='$CXXCPP $CPPFLAGS'
48992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48997 /* end confdefs.h. */
48998 #include <math.h>
48999 #ifdef HAVE_IEEEFP_H
49000 #include <ieeefp.h>
49001 #endif
49004 main ()
49006 sqrtf(0);
49008 return 0;
49010 _ACEOF
49011 if ac_fn_cxx_try_compile "$LINENO"; then :
49012 glibcxx_cv_func_sqrtf_use=yes
49013 else
49014 glibcxx_cv_func_sqrtf_use=no
49016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49017 ac_ext=c
49018 ac_cpp='$CPP $CPPFLAGS'
49019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49028 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49030 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49031 for ac_func in sqrtf
49032 do :
49033 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49034 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49035 cat >>confdefs.h <<_ACEOF
49036 #define HAVE_SQRTF 1
49037 _ACEOF
49040 done
49042 else
49044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49045 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49046 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49047 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49048 $as_echo_n "(cached) " >&6
49049 else
49052 ac_ext=cpp
49053 ac_cpp='$CXXCPP $CPPFLAGS'
49054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49059 /* end confdefs.h. */
49060 #include <math.h>
49061 #ifdef HAVE_IEEEFP_H
49062 #include <ieeefp.h>
49063 #endif
49066 main ()
49068 _sqrtf(0);
49070 return 0;
49072 _ACEOF
49073 if ac_fn_cxx_try_compile "$LINENO"; then :
49074 glibcxx_cv_func__sqrtf_use=yes
49075 else
49076 glibcxx_cv_func__sqrtf_use=no
49078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49079 ac_ext=c
49080 ac_cpp='$CPP $CPPFLAGS'
49081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49090 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49092 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49093 for ac_func in _sqrtf
49094 do :
49095 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49096 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49097 cat >>confdefs.h <<_ACEOF
49098 #define HAVE__SQRTF 1
49099 _ACEOF
49102 done
49111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49112 $as_echo_n "checking for sincosf declaration... " >&6; }
49113 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49114 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49115 $as_echo_n "(cached) " >&6
49116 else
49119 ac_ext=cpp
49120 ac_cpp='$CXXCPP $CPPFLAGS'
49121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49126 /* end confdefs.h. */
49127 #include <math.h>
49129 main ()
49131 sincosf(0, 0, 0);
49133 return 0;
49135 _ACEOF
49136 if ac_fn_cxx_try_compile "$LINENO"; then :
49137 glibcxx_cv_func_sincosf_use=yes
49138 else
49139 glibcxx_cv_func_sincosf_use=no
49141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49142 ac_ext=c
49143 ac_cpp='$CPP $CPPFLAGS'
49144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49153 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49155 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49156 for ac_func in sincosf
49157 do :
49158 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49159 if test "x$ac_cv_func_sincosf" = x""yes; then :
49160 cat >>confdefs.h <<_ACEOF
49161 #define HAVE_SINCOSF 1
49162 _ACEOF
49165 done
49167 else
49169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49170 $as_echo_n "checking for _sincosf declaration... " >&6; }
49171 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49172 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49173 $as_echo_n "(cached) " >&6
49174 else
49177 ac_ext=cpp
49178 ac_cpp='$CXXCPP $CPPFLAGS'
49179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49184 /* end confdefs.h. */
49185 #include <math.h>
49187 main ()
49189 _sincosf(0, 0, 0);
49191 return 0;
49193 _ACEOF
49194 if ac_fn_cxx_try_compile "$LINENO"; then :
49195 glibcxx_cv_func__sincosf_use=yes
49196 else
49197 glibcxx_cv_func__sincosf_use=no
49199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49200 ac_ext=c
49201 ac_cpp='$CPP $CPPFLAGS'
49202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49211 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49213 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49214 for ac_func in _sincosf
49215 do :
49216 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49217 if test "x$ac_cv_func__sincosf" = x""yes; then :
49218 cat >>confdefs.h <<_ACEOF
49219 #define HAVE__SINCOSF 1
49220 _ACEOF
49223 done
49232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49233 $as_echo_n "checking for finitef declaration... " >&6; }
49234 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49235 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49236 $as_echo_n "(cached) " >&6
49237 else
49240 ac_ext=cpp
49241 ac_cpp='$CXXCPP $CPPFLAGS'
49242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49247 /* end confdefs.h. */
49248 #include <math.h>
49249 #ifdef HAVE_IEEEFP_H
49250 #include <ieeefp.h>
49251 #endif
49254 main ()
49256 finitef(0);
49258 return 0;
49260 _ACEOF
49261 if ac_fn_cxx_try_compile "$LINENO"; then :
49262 glibcxx_cv_func_finitef_use=yes
49263 else
49264 glibcxx_cv_func_finitef_use=no
49266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49267 ac_ext=c
49268 ac_cpp='$CPP $CPPFLAGS'
49269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49278 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49280 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49281 for ac_func in finitef
49282 do :
49283 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49284 if test "x$ac_cv_func_finitef" = x""yes; then :
49285 cat >>confdefs.h <<_ACEOF
49286 #define HAVE_FINITEF 1
49287 _ACEOF
49290 done
49292 else
49294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49295 $as_echo_n "checking for _finitef declaration... " >&6; }
49296 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49297 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49298 $as_echo_n "(cached) " >&6
49299 else
49302 ac_ext=cpp
49303 ac_cpp='$CXXCPP $CPPFLAGS'
49304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49309 /* end confdefs.h. */
49310 #include <math.h>
49311 #ifdef HAVE_IEEEFP_H
49312 #include <ieeefp.h>
49313 #endif
49316 main ()
49318 _finitef(0);
49320 return 0;
49322 _ACEOF
49323 if ac_fn_cxx_try_compile "$LINENO"; then :
49324 glibcxx_cv_func__finitef_use=yes
49325 else
49326 glibcxx_cv_func__finitef_use=no
49328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49329 ac_ext=c
49330 ac_cpp='$CPP $CPPFLAGS'
49331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49340 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49342 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49343 for ac_func in _finitef
49344 do :
49345 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49346 if test "x$ac_cv_func__finitef" = x""yes; then :
49347 cat >>confdefs.h <<_ACEOF
49348 #define HAVE__FINITEF 1
49349 _ACEOF
49352 done
49361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49362 $as_echo_n "checking for long double trig functions... " >&6; }
49363 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49364 $as_echo_n "(cached) " >&6
49365 else
49368 ac_ext=cpp
49369 ac_cpp='$CXXCPP $CPPFLAGS'
49370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49375 /* end confdefs.h. */
49376 #include <math.h>
49378 main ()
49380 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49382 return 0;
49384 _ACEOF
49385 if ac_fn_cxx_try_compile "$LINENO"; then :
49386 glibcxx_cv_func_long_double_trig_use=yes
49387 else
49388 glibcxx_cv_func_long_double_trig_use=no
49390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49391 ac_ext=c
49392 ac_cpp='$CPP $CPPFLAGS'
49393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49400 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49401 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49402 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49403 do :
49404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49406 eval as_val=\$$as_ac_var
49407 if test "x$as_val" = x""yes; then :
49408 cat >>confdefs.h <<_ACEOF
49409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49410 _ACEOF
49413 done
49415 else
49416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49417 $as_echo_n "checking for _long double trig functions... " >&6; }
49418 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49419 $as_echo_n "(cached) " >&6
49420 else
49423 ac_ext=cpp
49424 ac_cpp='$CXXCPP $CPPFLAGS'
49425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49430 /* end confdefs.h. */
49431 #include <math.h>
49433 main ()
49435 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49437 return 0;
49439 _ACEOF
49440 if ac_fn_cxx_try_compile "$LINENO"; then :
49441 glibcxx_cv_func__long_double_trig_use=yes
49442 else
49443 glibcxx_cv_func__long_double_trig_use=no
49445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49446 ac_ext=c
49447 ac_cpp='$CPP $CPPFLAGS'
49448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49455 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49456 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49457 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49458 do :
49459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49461 eval as_val=\$$as_ac_var
49462 if test "x$as_val" = x""yes; then :
49463 cat >>confdefs.h <<_ACEOF
49464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49465 _ACEOF
49468 done
49477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49478 $as_echo_n "checking for long double round functions... " >&6; }
49479 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49480 $as_echo_n "(cached) " >&6
49481 else
49484 ac_ext=cpp
49485 ac_cpp='$CXXCPP $CPPFLAGS'
49486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49491 /* end confdefs.h. */
49492 #include <math.h>
49494 main ()
49496 ceill (0); floorl (0);
49498 return 0;
49500 _ACEOF
49501 if ac_fn_cxx_try_compile "$LINENO"; then :
49502 glibcxx_cv_func_long_double_round_use=yes
49503 else
49504 glibcxx_cv_func_long_double_round_use=no
49506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49507 ac_ext=c
49508 ac_cpp='$CPP $CPPFLAGS'
49509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49516 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49517 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49518 for ac_func in ceill floorl
49519 do :
49520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49522 eval as_val=\$$as_ac_var
49523 if test "x$as_val" = x""yes; then :
49524 cat >>confdefs.h <<_ACEOF
49525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49526 _ACEOF
49529 done
49531 else
49532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49533 $as_echo_n "checking for _long double round functions... " >&6; }
49534 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49535 $as_echo_n "(cached) " >&6
49536 else
49539 ac_ext=cpp
49540 ac_cpp='$CXXCPP $CPPFLAGS'
49541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49546 /* end confdefs.h. */
49547 #include <math.h>
49549 main ()
49551 _ceill (0); _floorl (0);
49553 return 0;
49555 _ACEOF
49556 if ac_fn_cxx_try_compile "$LINENO"; then :
49557 glibcxx_cv_func__long_double_round_use=yes
49558 else
49559 glibcxx_cv_func__long_double_round_use=no
49561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49562 ac_ext=c
49563 ac_cpp='$CPP $CPPFLAGS'
49564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49571 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49572 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49573 for ac_func in _ceill _floorl
49574 do :
49575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49577 eval as_val=\$$as_ac_var
49578 if test "x$as_val" = x""yes; then :
49579 cat >>confdefs.h <<_ACEOF
49580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49581 _ACEOF
49584 done
49594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49595 $as_echo_n "checking for isnanl declaration... " >&6; }
49596 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49597 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49598 $as_echo_n "(cached) " >&6
49599 else
49602 ac_ext=cpp
49603 ac_cpp='$CXXCPP $CPPFLAGS'
49604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49609 /* end confdefs.h. */
49610 #include <math.h>
49611 #ifdef HAVE_IEEEFP_H
49612 #include <ieeefp.h>
49613 #endif
49616 main ()
49618 isnanl(0);
49620 return 0;
49622 _ACEOF
49623 if ac_fn_cxx_try_compile "$LINENO"; then :
49624 glibcxx_cv_func_isnanl_use=yes
49625 else
49626 glibcxx_cv_func_isnanl_use=no
49628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49629 ac_ext=c
49630 ac_cpp='$CPP $CPPFLAGS'
49631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49640 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49642 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49643 for ac_func in isnanl
49644 do :
49645 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49646 if test "x$ac_cv_func_isnanl" = x""yes; then :
49647 cat >>confdefs.h <<_ACEOF
49648 #define HAVE_ISNANL 1
49649 _ACEOF
49652 done
49654 else
49656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49657 $as_echo_n "checking for _isnanl declaration... " >&6; }
49658 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49659 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49660 $as_echo_n "(cached) " >&6
49661 else
49664 ac_ext=cpp
49665 ac_cpp='$CXXCPP $CPPFLAGS'
49666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49671 /* end confdefs.h. */
49672 #include <math.h>
49673 #ifdef HAVE_IEEEFP_H
49674 #include <ieeefp.h>
49675 #endif
49678 main ()
49680 _isnanl(0);
49682 return 0;
49684 _ACEOF
49685 if ac_fn_cxx_try_compile "$LINENO"; then :
49686 glibcxx_cv_func__isnanl_use=yes
49687 else
49688 glibcxx_cv_func__isnanl_use=no
49690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49691 ac_ext=c
49692 ac_cpp='$CPP $CPPFLAGS'
49693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49702 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49704 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49705 for ac_func in _isnanl
49706 do :
49707 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49708 if test "x$ac_cv_func__isnanl" = x""yes; then :
49709 cat >>confdefs.h <<_ACEOF
49710 #define HAVE__ISNANL 1
49711 _ACEOF
49714 done
49723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49724 $as_echo_n "checking for isinfl declaration... " >&6; }
49725 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49726 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49727 $as_echo_n "(cached) " >&6
49728 else
49731 ac_ext=cpp
49732 ac_cpp='$CXXCPP $CPPFLAGS'
49733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49738 /* end confdefs.h. */
49739 #include <math.h>
49740 #ifdef HAVE_IEEEFP_H
49741 #include <ieeefp.h>
49742 #endif
49745 main ()
49747 isinfl(0);
49749 return 0;
49751 _ACEOF
49752 if ac_fn_cxx_try_compile "$LINENO"; then :
49753 glibcxx_cv_func_isinfl_use=yes
49754 else
49755 glibcxx_cv_func_isinfl_use=no
49757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49758 ac_ext=c
49759 ac_cpp='$CPP $CPPFLAGS'
49760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49769 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49771 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49772 for ac_func in isinfl
49773 do :
49774 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49775 if test "x$ac_cv_func_isinfl" = x""yes; then :
49776 cat >>confdefs.h <<_ACEOF
49777 #define HAVE_ISINFL 1
49778 _ACEOF
49781 done
49783 else
49785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49786 $as_echo_n "checking for _isinfl declaration... " >&6; }
49787 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49788 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49789 $as_echo_n "(cached) " >&6
49790 else
49793 ac_ext=cpp
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49800 /* end confdefs.h. */
49801 #include <math.h>
49802 #ifdef HAVE_IEEEFP_H
49803 #include <ieeefp.h>
49804 #endif
49807 main ()
49809 _isinfl(0);
49811 return 0;
49813 _ACEOF
49814 if ac_fn_cxx_try_compile "$LINENO"; then :
49815 glibcxx_cv_func__isinfl_use=yes
49816 else
49817 glibcxx_cv_func__isinfl_use=no
49819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49820 ac_ext=c
49821 ac_cpp='$CPP $CPPFLAGS'
49822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49831 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49833 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49834 for ac_func in _isinfl
49835 do :
49836 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49837 if test "x$ac_cv_func__isinfl" = x""yes; then :
49838 cat >>confdefs.h <<_ACEOF
49839 #define HAVE__ISINFL 1
49840 _ACEOF
49843 done
49852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49853 $as_echo_n "checking for atan2l declaration... " >&6; }
49854 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49855 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49856 $as_echo_n "(cached) " >&6
49857 else
49860 ac_ext=cpp
49861 ac_cpp='$CXXCPP $CPPFLAGS'
49862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49867 /* end confdefs.h. */
49868 #include <math.h>
49870 main ()
49872 atan2l(0, 0);
49874 return 0;
49876 _ACEOF
49877 if ac_fn_cxx_try_compile "$LINENO"; then :
49878 glibcxx_cv_func_atan2l_use=yes
49879 else
49880 glibcxx_cv_func_atan2l_use=no
49882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49883 ac_ext=c
49884 ac_cpp='$CPP $CPPFLAGS'
49885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49894 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49896 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49897 for ac_func in atan2l
49898 do :
49899 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49900 if test "x$ac_cv_func_atan2l" = x""yes; then :
49901 cat >>confdefs.h <<_ACEOF
49902 #define HAVE_ATAN2L 1
49903 _ACEOF
49906 done
49908 else
49910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49911 $as_echo_n "checking for _atan2l declaration... " >&6; }
49912 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49913 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49914 $as_echo_n "(cached) " >&6
49915 else
49918 ac_ext=cpp
49919 ac_cpp='$CXXCPP $CPPFLAGS'
49920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49925 /* end confdefs.h. */
49926 #include <math.h>
49928 main ()
49930 _atan2l(0, 0);
49932 return 0;
49934 _ACEOF
49935 if ac_fn_cxx_try_compile "$LINENO"; then :
49936 glibcxx_cv_func__atan2l_use=yes
49937 else
49938 glibcxx_cv_func__atan2l_use=no
49940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49941 ac_ext=c
49942 ac_cpp='$CPP $CPPFLAGS'
49943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49952 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49954 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49955 for ac_func in _atan2l
49956 do :
49957 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49958 if test "x$ac_cv_func__atan2l" = x""yes; then :
49959 cat >>confdefs.h <<_ACEOF
49960 #define HAVE__ATAN2L 1
49961 _ACEOF
49964 done
49973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49974 $as_echo_n "checking for expl declaration... " >&6; }
49975 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49976 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49977 $as_echo_n "(cached) " >&6
49978 else
49981 ac_ext=cpp
49982 ac_cpp='$CXXCPP $CPPFLAGS'
49983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49988 /* end confdefs.h. */
49989 #include <math.h>
49990 #ifdef HAVE_IEEEFP_H
49991 #include <ieeefp.h>
49992 #endif
49995 main ()
49997 expl(0);
49999 return 0;
50001 _ACEOF
50002 if ac_fn_cxx_try_compile "$LINENO"; then :
50003 glibcxx_cv_func_expl_use=yes
50004 else
50005 glibcxx_cv_func_expl_use=no
50007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50008 ac_ext=c
50009 ac_cpp='$CPP $CPPFLAGS'
50010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50019 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50021 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50022 for ac_func in expl
50023 do :
50024 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50025 if test "x$ac_cv_func_expl" = x""yes; then :
50026 cat >>confdefs.h <<_ACEOF
50027 #define HAVE_EXPL 1
50028 _ACEOF
50031 done
50033 else
50035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50036 $as_echo_n "checking for _expl declaration... " >&6; }
50037 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50038 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50039 $as_echo_n "(cached) " >&6
50040 else
50043 ac_ext=cpp
50044 ac_cpp='$CXXCPP $CPPFLAGS'
50045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50050 /* end confdefs.h. */
50051 #include <math.h>
50052 #ifdef HAVE_IEEEFP_H
50053 #include <ieeefp.h>
50054 #endif
50057 main ()
50059 _expl(0);
50061 return 0;
50063 _ACEOF
50064 if ac_fn_cxx_try_compile "$LINENO"; then :
50065 glibcxx_cv_func__expl_use=yes
50066 else
50067 glibcxx_cv_func__expl_use=no
50069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50070 ac_ext=c
50071 ac_cpp='$CPP $CPPFLAGS'
50072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50081 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50083 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50084 for ac_func in _expl
50085 do :
50086 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50087 if test "x$ac_cv_func__expl" = x""yes; then :
50088 cat >>confdefs.h <<_ACEOF
50089 #define HAVE__EXPL 1
50090 _ACEOF
50093 done
50102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50103 $as_echo_n "checking for fabsl declaration... " >&6; }
50104 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50105 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50106 $as_echo_n "(cached) " >&6
50107 else
50110 ac_ext=cpp
50111 ac_cpp='$CXXCPP $CPPFLAGS'
50112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50117 /* end confdefs.h. */
50118 #include <math.h>
50119 #ifdef HAVE_IEEEFP_H
50120 #include <ieeefp.h>
50121 #endif
50124 main ()
50126 fabsl(0);
50128 return 0;
50130 _ACEOF
50131 if ac_fn_cxx_try_compile "$LINENO"; then :
50132 glibcxx_cv_func_fabsl_use=yes
50133 else
50134 glibcxx_cv_func_fabsl_use=no
50136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50137 ac_ext=c
50138 ac_cpp='$CPP $CPPFLAGS'
50139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50148 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50150 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50151 for ac_func in fabsl
50152 do :
50153 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50154 if test "x$ac_cv_func_fabsl" = x""yes; then :
50155 cat >>confdefs.h <<_ACEOF
50156 #define HAVE_FABSL 1
50157 _ACEOF
50160 done
50162 else
50164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50165 $as_echo_n "checking for _fabsl declaration... " >&6; }
50166 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50167 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50168 $as_echo_n "(cached) " >&6
50169 else
50172 ac_ext=cpp
50173 ac_cpp='$CXXCPP $CPPFLAGS'
50174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50179 /* end confdefs.h. */
50180 #include <math.h>
50181 #ifdef HAVE_IEEEFP_H
50182 #include <ieeefp.h>
50183 #endif
50186 main ()
50188 _fabsl(0);
50190 return 0;
50192 _ACEOF
50193 if ac_fn_cxx_try_compile "$LINENO"; then :
50194 glibcxx_cv_func__fabsl_use=yes
50195 else
50196 glibcxx_cv_func__fabsl_use=no
50198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50199 ac_ext=c
50200 ac_cpp='$CPP $CPPFLAGS'
50201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50210 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50212 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50213 for ac_func in _fabsl
50214 do :
50215 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50216 if test "x$ac_cv_func__fabsl" = x""yes; then :
50217 cat >>confdefs.h <<_ACEOF
50218 #define HAVE__FABSL 1
50219 _ACEOF
50222 done
50231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50232 $as_echo_n "checking for fmodl declaration... " >&6; }
50233 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50234 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50235 $as_echo_n "(cached) " >&6
50236 else
50239 ac_ext=cpp
50240 ac_cpp='$CXXCPP $CPPFLAGS'
50241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50246 /* end confdefs.h. */
50247 #include <math.h>
50249 main ()
50251 fmodl(0, 0);
50253 return 0;
50255 _ACEOF
50256 if ac_fn_cxx_try_compile "$LINENO"; then :
50257 glibcxx_cv_func_fmodl_use=yes
50258 else
50259 glibcxx_cv_func_fmodl_use=no
50261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50262 ac_ext=c
50263 ac_cpp='$CPP $CPPFLAGS'
50264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50273 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50275 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50276 for ac_func in fmodl
50277 do :
50278 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50279 if test "x$ac_cv_func_fmodl" = x""yes; then :
50280 cat >>confdefs.h <<_ACEOF
50281 #define HAVE_FMODL 1
50282 _ACEOF
50285 done
50287 else
50289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50290 $as_echo_n "checking for _fmodl declaration... " >&6; }
50291 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50292 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50293 $as_echo_n "(cached) " >&6
50294 else
50297 ac_ext=cpp
50298 ac_cpp='$CXXCPP $CPPFLAGS'
50299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50304 /* end confdefs.h. */
50305 #include <math.h>
50307 main ()
50309 _fmodl(0, 0);
50311 return 0;
50313 _ACEOF
50314 if ac_fn_cxx_try_compile "$LINENO"; then :
50315 glibcxx_cv_func__fmodl_use=yes
50316 else
50317 glibcxx_cv_func__fmodl_use=no
50319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50320 ac_ext=c
50321 ac_cpp='$CPP $CPPFLAGS'
50322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50331 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50333 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50334 for ac_func in _fmodl
50335 do :
50336 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50337 if test "x$ac_cv_func__fmodl" = x""yes; then :
50338 cat >>confdefs.h <<_ACEOF
50339 #define HAVE__FMODL 1
50340 _ACEOF
50343 done
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50353 $as_echo_n "checking for frexpl declaration... " >&6; }
50354 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50355 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50356 $as_echo_n "(cached) " >&6
50357 else
50360 ac_ext=cpp
50361 ac_cpp='$CXXCPP $CPPFLAGS'
50362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50367 /* end confdefs.h. */
50368 #include <math.h>
50370 main ()
50372 frexpl(0, 0);
50374 return 0;
50376 _ACEOF
50377 if ac_fn_cxx_try_compile "$LINENO"; then :
50378 glibcxx_cv_func_frexpl_use=yes
50379 else
50380 glibcxx_cv_func_frexpl_use=no
50382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50383 ac_ext=c
50384 ac_cpp='$CPP $CPPFLAGS'
50385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50394 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50396 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50397 for ac_func in frexpl
50398 do :
50399 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50400 if test "x$ac_cv_func_frexpl" = x""yes; then :
50401 cat >>confdefs.h <<_ACEOF
50402 #define HAVE_FREXPL 1
50403 _ACEOF
50406 done
50408 else
50410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50411 $as_echo_n "checking for _frexpl declaration... " >&6; }
50412 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50413 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50414 $as_echo_n "(cached) " >&6
50415 else
50418 ac_ext=cpp
50419 ac_cpp='$CXXCPP $CPPFLAGS'
50420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50425 /* end confdefs.h. */
50426 #include <math.h>
50428 main ()
50430 _frexpl(0, 0);
50432 return 0;
50434 _ACEOF
50435 if ac_fn_cxx_try_compile "$LINENO"; then :
50436 glibcxx_cv_func__frexpl_use=yes
50437 else
50438 glibcxx_cv_func__frexpl_use=no
50440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50441 ac_ext=c
50442 ac_cpp='$CPP $CPPFLAGS'
50443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50452 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50454 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50455 for ac_func in _frexpl
50456 do :
50457 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50458 if test "x$ac_cv_func__frexpl" = x""yes; then :
50459 cat >>confdefs.h <<_ACEOF
50460 #define HAVE__FREXPL 1
50461 _ACEOF
50464 done
50473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50474 $as_echo_n "checking for hypotl declaration... " >&6; }
50475 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50476 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50477 $as_echo_n "(cached) " >&6
50478 else
50481 ac_ext=cpp
50482 ac_cpp='$CXXCPP $CPPFLAGS'
50483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50488 /* end confdefs.h. */
50489 #include <math.h>
50491 main ()
50493 hypotl(0, 0);
50495 return 0;
50497 _ACEOF
50498 if ac_fn_cxx_try_compile "$LINENO"; then :
50499 glibcxx_cv_func_hypotl_use=yes
50500 else
50501 glibcxx_cv_func_hypotl_use=no
50503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50504 ac_ext=c
50505 ac_cpp='$CPP $CPPFLAGS'
50506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50515 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50517 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50518 for ac_func in hypotl
50519 do :
50520 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50521 if test "x$ac_cv_func_hypotl" = x""yes; then :
50522 cat >>confdefs.h <<_ACEOF
50523 #define HAVE_HYPOTL 1
50524 _ACEOF
50527 done
50529 else
50531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50532 $as_echo_n "checking for _hypotl declaration... " >&6; }
50533 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50534 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50535 $as_echo_n "(cached) " >&6
50536 else
50539 ac_ext=cpp
50540 ac_cpp='$CXXCPP $CPPFLAGS'
50541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50546 /* end confdefs.h. */
50547 #include <math.h>
50549 main ()
50551 _hypotl(0, 0);
50553 return 0;
50555 _ACEOF
50556 if ac_fn_cxx_try_compile "$LINENO"; then :
50557 glibcxx_cv_func__hypotl_use=yes
50558 else
50559 glibcxx_cv_func__hypotl_use=no
50561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50562 ac_ext=c
50563 ac_cpp='$CPP $CPPFLAGS'
50564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50573 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50575 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50576 for ac_func in _hypotl
50577 do :
50578 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50579 if test "x$ac_cv_func__hypotl" = x""yes; then :
50580 cat >>confdefs.h <<_ACEOF
50581 #define HAVE__HYPOTL 1
50582 _ACEOF
50585 done
50594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50595 $as_echo_n "checking for ldexpl declaration... " >&6; }
50596 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50597 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50598 $as_echo_n "(cached) " >&6
50599 else
50602 ac_ext=cpp
50603 ac_cpp='$CXXCPP $CPPFLAGS'
50604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50609 /* end confdefs.h. */
50610 #include <math.h>
50612 main ()
50614 ldexpl(0, 0);
50616 return 0;
50618 _ACEOF
50619 if ac_fn_cxx_try_compile "$LINENO"; then :
50620 glibcxx_cv_func_ldexpl_use=yes
50621 else
50622 glibcxx_cv_func_ldexpl_use=no
50624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50625 ac_ext=c
50626 ac_cpp='$CPP $CPPFLAGS'
50627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50636 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50638 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50639 for ac_func in ldexpl
50640 do :
50641 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50642 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50643 cat >>confdefs.h <<_ACEOF
50644 #define HAVE_LDEXPL 1
50645 _ACEOF
50648 done
50650 else
50652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50653 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50654 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50655 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50656 $as_echo_n "(cached) " >&6
50657 else
50660 ac_ext=cpp
50661 ac_cpp='$CXXCPP $CPPFLAGS'
50662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50667 /* end confdefs.h. */
50668 #include <math.h>
50670 main ()
50672 _ldexpl(0, 0);
50674 return 0;
50676 _ACEOF
50677 if ac_fn_cxx_try_compile "$LINENO"; then :
50678 glibcxx_cv_func__ldexpl_use=yes
50679 else
50680 glibcxx_cv_func__ldexpl_use=no
50682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50683 ac_ext=c
50684 ac_cpp='$CPP $CPPFLAGS'
50685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50694 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50696 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50697 for ac_func in _ldexpl
50698 do :
50699 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50700 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50701 cat >>confdefs.h <<_ACEOF
50702 #define HAVE__LDEXPL 1
50703 _ACEOF
50706 done
50715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50716 $as_echo_n "checking for logl declaration... " >&6; }
50717 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50718 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50719 $as_echo_n "(cached) " >&6
50720 else
50723 ac_ext=cpp
50724 ac_cpp='$CXXCPP $CPPFLAGS'
50725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50730 /* end confdefs.h. */
50731 #include <math.h>
50732 #ifdef HAVE_IEEEFP_H
50733 #include <ieeefp.h>
50734 #endif
50737 main ()
50739 logl(0);
50741 return 0;
50743 _ACEOF
50744 if ac_fn_cxx_try_compile "$LINENO"; then :
50745 glibcxx_cv_func_logl_use=yes
50746 else
50747 glibcxx_cv_func_logl_use=no
50749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50750 ac_ext=c
50751 ac_cpp='$CPP $CPPFLAGS'
50752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50761 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50763 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50764 for ac_func in logl
50765 do :
50766 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50767 if test "x$ac_cv_func_logl" = x""yes; then :
50768 cat >>confdefs.h <<_ACEOF
50769 #define HAVE_LOGL 1
50770 _ACEOF
50773 done
50775 else
50777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50778 $as_echo_n "checking for _logl declaration... " >&6; }
50779 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50780 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50781 $as_echo_n "(cached) " >&6
50782 else
50785 ac_ext=cpp
50786 ac_cpp='$CXXCPP $CPPFLAGS'
50787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50792 /* end confdefs.h. */
50793 #include <math.h>
50794 #ifdef HAVE_IEEEFP_H
50795 #include <ieeefp.h>
50796 #endif
50799 main ()
50801 _logl(0);
50803 return 0;
50805 _ACEOF
50806 if ac_fn_cxx_try_compile "$LINENO"; then :
50807 glibcxx_cv_func__logl_use=yes
50808 else
50809 glibcxx_cv_func__logl_use=no
50811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50812 ac_ext=c
50813 ac_cpp='$CPP $CPPFLAGS'
50814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50823 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50825 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50826 for ac_func in _logl
50827 do :
50828 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50829 if test "x$ac_cv_func__logl" = x""yes; then :
50830 cat >>confdefs.h <<_ACEOF
50831 #define HAVE__LOGL 1
50832 _ACEOF
50835 done
50844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50845 $as_echo_n "checking for log10l declaration... " >&6; }
50846 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50847 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50848 $as_echo_n "(cached) " >&6
50849 else
50852 ac_ext=cpp
50853 ac_cpp='$CXXCPP $CPPFLAGS'
50854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50859 /* end confdefs.h. */
50860 #include <math.h>
50861 #ifdef HAVE_IEEEFP_H
50862 #include <ieeefp.h>
50863 #endif
50866 main ()
50868 log10l(0);
50870 return 0;
50872 _ACEOF
50873 if ac_fn_cxx_try_compile "$LINENO"; then :
50874 glibcxx_cv_func_log10l_use=yes
50875 else
50876 glibcxx_cv_func_log10l_use=no
50878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50879 ac_ext=c
50880 ac_cpp='$CPP $CPPFLAGS'
50881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50890 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50892 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50893 for ac_func in log10l
50894 do :
50895 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50896 if test "x$ac_cv_func_log10l" = x""yes; then :
50897 cat >>confdefs.h <<_ACEOF
50898 #define HAVE_LOG10L 1
50899 _ACEOF
50902 done
50904 else
50906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50907 $as_echo_n "checking for _log10l declaration... " >&6; }
50908 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50909 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50910 $as_echo_n "(cached) " >&6
50911 else
50914 ac_ext=cpp
50915 ac_cpp='$CXXCPP $CPPFLAGS'
50916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50921 /* end confdefs.h. */
50922 #include <math.h>
50923 #ifdef HAVE_IEEEFP_H
50924 #include <ieeefp.h>
50925 #endif
50928 main ()
50930 _log10l(0);
50932 return 0;
50934 _ACEOF
50935 if ac_fn_cxx_try_compile "$LINENO"; then :
50936 glibcxx_cv_func__log10l_use=yes
50937 else
50938 glibcxx_cv_func__log10l_use=no
50940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50941 ac_ext=c
50942 ac_cpp='$CPP $CPPFLAGS'
50943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50952 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50954 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50955 for ac_func in _log10l
50956 do :
50957 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50958 if test "x$ac_cv_func__log10l" = x""yes; then :
50959 cat >>confdefs.h <<_ACEOF
50960 #define HAVE__LOG10L 1
50961 _ACEOF
50964 done
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50974 $as_echo_n "checking for modfl declaration... " >&6; }
50975 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50976 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50977 $as_echo_n "(cached) " >&6
50978 else
50981 ac_ext=cpp
50982 ac_cpp='$CXXCPP $CPPFLAGS'
50983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50988 /* end confdefs.h. */
50989 #include <math.h>
50991 main ()
50993 modfl(0, 0);
50995 return 0;
50997 _ACEOF
50998 if ac_fn_cxx_try_compile "$LINENO"; then :
50999 glibcxx_cv_func_modfl_use=yes
51000 else
51001 glibcxx_cv_func_modfl_use=no
51003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51004 ac_ext=c
51005 ac_cpp='$CPP $CPPFLAGS'
51006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51015 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51017 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51018 for ac_func in modfl
51019 do :
51020 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51021 if test "x$ac_cv_func_modfl" = x""yes; then :
51022 cat >>confdefs.h <<_ACEOF
51023 #define HAVE_MODFL 1
51024 _ACEOF
51027 done
51029 else
51031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51032 $as_echo_n "checking for _modfl declaration... " >&6; }
51033 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51034 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51035 $as_echo_n "(cached) " >&6
51036 else
51039 ac_ext=cpp
51040 ac_cpp='$CXXCPP $CPPFLAGS'
51041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51046 /* end confdefs.h. */
51047 #include <math.h>
51049 main ()
51051 _modfl(0, 0);
51053 return 0;
51055 _ACEOF
51056 if ac_fn_cxx_try_compile "$LINENO"; then :
51057 glibcxx_cv_func__modfl_use=yes
51058 else
51059 glibcxx_cv_func__modfl_use=no
51061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51062 ac_ext=c
51063 ac_cpp='$CPP $CPPFLAGS'
51064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51073 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51075 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51076 for ac_func in _modfl
51077 do :
51078 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51079 if test "x$ac_cv_func__modfl" = x""yes; then :
51080 cat >>confdefs.h <<_ACEOF
51081 #define HAVE__MODFL 1
51082 _ACEOF
51085 done
51094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51095 $as_echo_n "checking for powl declaration... " >&6; }
51096 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51097 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51098 $as_echo_n "(cached) " >&6
51099 else
51102 ac_ext=cpp
51103 ac_cpp='$CXXCPP $CPPFLAGS'
51104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51109 /* end confdefs.h. */
51110 #include <math.h>
51112 main ()
51114 powl(0, 0);
51116 return 0;
51118 _ACEOF
51119 if ac_fn_cxx_try_compile "$LINENO"; then :
51120 glibcxx_cv_func_powl_use=yes
51121 else
51122 glibcxx_cv_func_powl_use=no
51124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51125 ac_ext=c
51126 ac_cpp='$CPP $CPPFLAGS'
51127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51136 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51138 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51139 for ac_func in powl
51140 do :
51141 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51142 if test "x$ac_cv_func_powl" = x""yes; then :
51143 cat >>confdefs.h <<_ACEOF
51144 #define HAVE_POWL 1
51145 _ACEOF
51148 done
51150 else
51152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51153 $as_echo_n "checking for _powl declaration... " >&6; }
51154 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51155 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51156 $as_echo_n "(cached) " >&6
51157 else
51160 ac_ext=cpp
51161 ac_cpp='$CXXCPP $CPPFLAGS'
51162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51167 /* end confdefs.h. */
51168 #include <math.h>
51170 main ()
51172 _powl(0, 0);
51174 return 0;
51176 _ACEOF
51177 if ac_fn_cxx_try_compile "$LINENO"; then :
51178 glibcxx_cv_func__powl_use=yes
51179 else
51180 glibcxx_cv_func__powl_use=no
51182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51183 ac_ext=c
51184 ac_cpp='$CPP $CPPFLAGS'
51185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51194 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51196 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51197 for ac_func in _powl
51198 do :
51199 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51200 if test "x$ac_cv_func__powl" = x""yes; then :
51201 cat >>confdefs.h <<_ACEOF
51202 #define HAVE__POWL 1
51203 _ACEOF
51206 done
51215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51216 $as_echo_n "checking for sqrtl declaration... " >&6; }
51217 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51218 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51219 $as_echo_n "(cached) " >&6
51220 else
51223 ac_ext=cpp
51224 ac_cpp='$CXXCPP $CPPFLAGS'
51225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51230 /* end confdefs.h. */
51231 #include <math.h>
51232 #ifdef HAVE_IEEEFP_H
51233 #include <ieeefp.h>
51234 #endif
51237 main ()
51239 sqrtl(0);
51241 return 0;
51243 _ACEOF
51244 if ac_fn_cxx_try_compile "$LINENO"; then :
51245 glibcxx_cv_func_sqrtl_use=yes
51246 else
51247 glibcxx_cv_func_sqrtl_use=no
51249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51250 ac_ext=c
51251 ac_cpp='$CPP $CPPFLAGS'
51252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51261 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51263 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51264 for ac_func in sqrtl
51265 do :
51266 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51267 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51268 cat >>confdefs.h <<_ACEOF
51269 #define HAVE_SQRTL 1
51270 _ACEOF
51273 done
51275 else
51277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51278 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51279 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51280 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51281 $as_echo_n "(cached) " >&6
51282 else
51285 ac_ext=cpp
51286 ac_cpp='$CXXCPP $CPPFLAGS'
51287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51292 /* end confdefs.h. */
51293 #include <math.h>
51294 #ifdef HAVE_IEEEFP_H
51295 #include <ieeefp.h>
51296 #endif
51299 main ()
51301 _sqrtl(0);
51303 return 0;
51305 _ACEOF
51306 if ac_fn_cxx_try_compile "$LINENO"; then :
51307 glibcxx_cv_func__sqrtl_use=yes
51308 else
51309 glibcxx_cv_func__sqrtl_use=no
51311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51312 ac_ext=c
51313 ac_cpp='$CPP $CPPFLAGS'
51314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51323 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51325 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51326 for ac_func in _sqrtl
51327 do :
51328 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51329 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51330 cat >>confdefs.h <<_ACEOF
51331 #define HAVE__SQRTL 1
51332 _ACEOF
51335 done
51344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51345 $as_echo_n "checking for sincosl declaration... " >&6; }
51346 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51347 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51348 $as_echo_n "(cached) " >&6
51349 else
51352 ac_ext=cpp
51353 ac_cpp='$CXXCPP $CPPFLAGS'
51354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51359 /* end confdefs.h. */
51360 #include <math.h>
51362 main ()
51364 sincosl(0, 0, 0);
51366 return 0;
51368 _ACEOF
51369 if ac_fn_cxx_try_compile "$LINENO"; then :
51370 glibcxx_cv_func_sincosl_use=yes
51371 else
51372 glibcxx_cv_func_sincosl_use=no
51374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51375 ac_ext=c
51376 ac_cpp='$CPP $CPPFLAGS'
51377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51386 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51388 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51389 for ac_func in sincosl
51390 do :
51391 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51392 if test "x$ac_cv_func_sincosl" = x""yes; then :
51393 cat >>confdefs.h <<_ACEOF
51394 #define HAVE_SINCOSL 1
51395 _ACEOF
51398 done
51400 else
51402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51403 $as_echo_n "checking for _sincosl declaration... " >&6; }
51404 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51405 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51406 $as_echo_n "(cached) " >&6
51407 else
51410 ac_ext=cpp
51411 ac_cpp='$CXXCPP $CPPFLAGS'
51412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51417 /* end confdefs.h. */
51418 #include <math.h>
51420 main ()
51422 _sincosl(0, 0, 0);
51424 return 0;
51426 _ACEOF
51427 if ac_fn_cxx_try_compile "$LINENO"; then :
51428 glibcxx_cv_func__sincosl_use=yes
51429 else
51430 glibcxx_cv_func__sincosl_use=no
51432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51433 ac_ext=c
51434 ac_cpp='$CPP $CPPFLAGS'
51435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51444 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51446 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51447 for ac_func in _sincosl
51448 do :
51449 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51450 if test "x$ac_cv_func__sincosl" = x""yes; then :
51451 cat >>confdefs.h <<_ACEOF
51452 #define HAVE__SINCOSL 1
51453 _ACEOF
51456 done
51465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51466 $as_echo_n "checking for finitel declaration... " >&6; }
51467 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51468 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51469 $as_echo_n "(cached) " >&6
51470 else
51473 ac_ext=cpp
51474 ac_cpp='$CXXCPP $CPPFLAGS'
51475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51480 /* end confdefs.h. */
51481 #include <math.h>
51482 #ifdef HAVE_IEEEFP_H
51483 #include <ieeefp.h>
51484 #endif
51487 main ()
51489 finitel(0);
51491 return 0;
51493 _ACEOF
51494 if ac_fn_cxx_try_compile "$LINENO"; then :
51495 glibcxx_cv_func_finitel_use=yes
51496 else
51497 glibcxx_cv_func_finitel_use=no
51499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51500 ac_ext=c
51501 ac_cpp='$CPP $CPPFLAGS'
51502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51511 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51513 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51514 for ac_func in finitel
51515 do :
51516 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51517 if test "x$ac_cv_func_finitel" = x""yes; then :
51518 cat >>confdefs.h <<_ACEOF
51519 #define HAVE_FINITEL 1
51520 _ACEOF
51523 done
51525 else
51527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51528 $as_echo_n "checking for _finitel declaration... " >&6; }
51529 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51530 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51531 $as_echo_n "(cached) " >&6
51532 else
51535 ac_ext=cpp
51536 ac_cpp='$CXXCPP $CPPFLAGS'
51537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51542 /* end confdefs.h. */
51543 #include <math.h>
51544 #ifdef HAVE_IEEEFP_H
51545 #include <ieeefp.h>
51546 #endif
51549 main ()
51551 _finitel(0);
51553 return 0;
51555 _ACEOF
51556 if ac_fn_cxx_try_compile "$LINENO"; then :
51557 glibcxx_cv_func__finitel_use=yes
51558 else
51559 glibcxx_cv_func__finitel_use=no
51561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51562 ac_ext=c
51563 ac_cpp='$CPP $CPPFLAGS'
51564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51573 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51575 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51576 for ac_func in _finitel
51577 do :
51578 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51579 if test "x$ac_cv_func__finitel" = x""yes; then :
51580 cat >>confdefs.h <<_ACEOF
51581 #define HAVE__FINITEL 1
51582 _ACEOF
51585 done
51593 LIBS="$ac_save_LIBS"
51594 CXXFLAGS="$ac_save_CXXFLAGS"
51597 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51598 ac_save_CXXFLAGS="$CXXFLAGS"
51599 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51603 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51604 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51605 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51606 $as_echo_n "(cached) " >&6
51607 else
51610 ac_ext=cpp
51611 ac_cpp='$CXXCPP $CPPFLAGS'
51612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51617 /* end confdefs.h. */
51618 #include <stdlib.h>
51620 main ()
51622 at_quick_exit(0);
51624 return 0;
51626 _ACEOF
51627 if ac_fn_cxx_try_compile "$LINENO"; then :
51628 glibcxx_cv_func_at_quick_exit_use=yes
51629 else
51630 glibcxx_cv_func_at_quick_exit_use=no
51632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51633 ac_ext=c
51634 ac_cpp='$CPP $CPPFLAGS'
51635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51644 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51645 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51646 for ac_func in at_quick_exit
51647 do :
51648 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51649 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51650 cat >>confdefs.h <<_ACEOF
51651 #define HAVE_AT_QUICK_EXIT 1
51652 _ACEOF
51655 done
51660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51661 $as_echo_n "checking for quick_exit declaration... " >&6; }
51662 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51663 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51664 $as_echo_n "(cached) " >&6
51665 else
51668 ac_ext=cpp
51669 ac_cpp='$CXXCPP $CPPFLAGS'
51670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51675 /* end confdefs.h. */
51676 #include <stdlib.h>
51678 main ()
51680 quick_exit(0);
51682 return 0;
51684 _ACEOF
51685 if ac_fn_cxx_try_compile "$LINENO"; then :
51686 glibcxx_cv_func_quick_exit_use=yes
51687 else
51688 glibcxx_cv_func_quick_exit_use=no
51690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51691 ac_ext=c
51692 ac_cpp='$CPP $CPPFLAGS'
51693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51702 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51703 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51704 for ac_func in quick_exit
51705 do :
51706 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51707 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51708 cat >>confdefs.h <<_ACEOF
51709 #define HAVE_QUICK_EXIT 1
51710 _ACEOF
51713 done
51718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51719 $as_echo_n "checking for strtold declaration... " >&6; }
51720 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51721 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51722 $as_echo_n "(cached) " >&6
51723 else
51726 ac_ext=cpp
51727 ac_cpp='$CXXCPP $CPPFLAGS'
51728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51733 /* end confdefs.h. */
51734 #include <stdlib.h>
51736 main ()
51738 strtold(0, 0);
51740 return 0;
51742 _ACEOF
51743 if ac_fn_cxx_try_compile "$LINENO"; then :
51744 glibcxx_cv_func_strtold_use=yes
51745 else
51746 glibcxx_cv_func_strtold_use=no
51748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51749 ac_ext=c
51750 ac_cpp='$CPP $CPPFLAGS'
51751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51760 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51761 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51762 for ac_func in strtold
51763 do :
51764 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51765 if test "x$ac_cv_func_strtold" = x""yes; then :
51766 cat >>confdefs.h <<_ACEOF
51767 #define HAVE_STRTOLD 1
51768 _ACEOF
51771 done
51778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51779 $as_echo_n "checking for strtof declaration... " >&6; }
51780 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51781 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51782 $as_echo_n "(cached) " >&6
51783 else
51786 ac_ext=cpp
51787 ac_cpp='$CXXCPP $CPPFLAGS'
51788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51793 /* end confdefs.h. */
51794 #include <stdlib.h>
51796 main ()
51798 strtof(0, 0);
51800 return 0;
51802 _ACEOF
51803 if ac_fn_cxx_try_compile "$LINENO"; then :
51804 glibcxx_cv_func_strtof_use=yes
51805 else
51806 glibcxx_cv_func_strtof_use=no
51808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51809 ac_ext=c
51810 ac_cpp='$CPP $CPPFLAGS'
51811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51820 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51821 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51822 for ac_func in strtof
51823 do :
51824 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51825 if test "x$ac_cv_func_strtof" = x""yes; then :
51826 cat >>confdefs.h <<_ACEOF
51827 #define HAVE_STRTOF 1
51828 _ACEOF
51831 done
51838 CXXFLAGS="$ac_save_CXXFLAGS"
51842 *djgpp)
51843 # GLIBCXX_CHECK_MATH_SUPPORT
51844 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51846 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51848 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51850 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51852 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51856 *-freebsd*)
51857 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51860 # If we're not using GNU ld, then there's no point in even trying these
51861 # tests. Check for that first. We should have already tested for gld
51862 # by now (in libtool), but require it now just to be safe...
51863 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51864 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51868 # The name set by libtool depends on the version of libtool. Shame on us
51869 # for depending on an impl detail, but c'est la vie. Older versions used
51870 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51871 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51872 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51873 # set (hence we're using an older libtool), then set it.
51874 if test x${with_gnu_ld+set} != xset; then
51875 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51876 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51877 with_gnu_ld=no
51878 else
51879 with_gnu_ld=$ac_cv_prog_gnu_ld
51883 # Start by getting the version number. I think the libtool test already
51884 # does some of this, but throws away the result.
51885 glibcxx_ld_is_gold=no
51886 if test x"$with_gnu_ld" = x"yes"; then
51887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51888 $as_echo_n "checking for ld version... " >&6; }
51890 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51891 glibcxx_ld_is_gold=yes
51893 ldver=`$LD --version 2>/dev/null |
51894 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'`
51896 glibcxx_gnu_ld_version=`echo $ldver | \
51897 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51899 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51902 # Set --gc-sections.
51903 glibcxx_have_gc_sections=no
51904 if test "$glibcxx_ld_is_gold" = "yes"; then
51905 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51906 glibcxx_have_gc_sections=yes
51908 else
51909 glibcxx_gcsections_min_ld=21602
51910 if test x"$with_gnu_ld" = x"yes" &&
51911 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51912 glibcxx_have_gc_sections=yes
51915 if test "$glibcxx_have_gc_sections" = "yes"; then
51916 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51917 # NB: This flag only works reliably after 2.16.1. Configure tests
51918 # for this are difficult, so hard wire a value that should work.
51920 ac_test_CFLAGS="${CFLAGS+set}"
51921 ac_save_CFLAGS="$CFLAGS"
51922 CFLAGS='-Wl,--gc-sections'
51924 # Check for -Wl,--gc-sections
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51926 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51927 if test x$gcc_no_link = xyes; then
51928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51931 /* end confdefs.h. */
51932 int one(void) { return 1; }
51933 int two(void) { return 2; }
51936 main ()
51938 two();
51940 return 0;
51942 _ACEOF
51943 if ac_fn_c_try_link "$LINENO"; then :
51944 ac_gcsections=yes
51945 else
51946 ac_gcsections=no
51948 rm -f core conftest.err conftest.$ac_objext \
51949 conftest$ac_exeext conftest.$ac_ext
51950 if test "$ac_gcsections" = "yes"; then
51951 rm -f conftest.c
51952 touch conftest.c
51953 if $CC -c conftest.c; then
51954 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51955 grep "Warning: gc-sections option ignored" > /dev/null; then
51956 ac_gcsections=no
51959 rm -f conftest.c conftest.o conftest
51961 if test "$ac_gcsections" = "yes"; then
51962 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51965 $as_echo "$ac_gcsections" >&6; }
51967 if test "$ac_test_CFLAGS" = set; then
51968 CFLAGS="$ac_save_CFLAGS"
51969 else
51970 # this is the suspicious part
51971 CFLAGS=''
51975 # Set -z,relro.
51976 # Note this is only for shared objects.
51977 ac_ld_relro=no
51978 if test x"$with_gnu_ld" = x"yes"; then
51979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51980 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51981 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51982 if test -n "$cxx_z_relo"; then
51983 OPT_LDFLAGS="-Wl,-z,relro"
51984 ac_ld_relro=yes
51986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51987 $as_echo "$ac_ld_relro" >&6; }
51990 # Set linker optimization flags.
51991 if test x"$with_gnu_ld" = x"yes"; then
51992 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51998 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52000 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52002 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52004 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52006 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52008 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52010 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52012 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52014 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52017 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52019 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52021 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52023 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52025 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52027 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52029 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52031 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52033 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52035 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52037 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52039 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52041 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52043 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52045 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52047 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52049 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52051 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52053 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52055 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52057 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52059 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52061 if test x"long_double_math_on_this_cpu" = x"yes"; then
52062 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52064 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52066 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52070 *-hpux*)
52071 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52074 # If we're not using GNU ld, then there's no point in even trying these
52075 # tests. Check for that first. We should have already tested for gld
52076 # by now (in libtool), but require it now just to be safe...
52077 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52078 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52082 # The name set by libtool depends on the version of libtool. Shame on us
52083 # for depending on an impl detail, but c'est la vie. Older versions used
52084 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52085 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52086 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52087 # set (hence we're using an older libtool), then set it.
52088 if test x${with_gnu_ld+set} != xset; then
52089 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52090 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52091 with_gnu_ld=no
52092 else
52093 with_gnu_ld=$ac_cv_prog_gnu_ld
52097 # Start by getting the version number. I think the libtool test already
52098 # does some of this, but throws away the result.
52099 glibcxx_ld_is_gold=no
52100 if test x"$with_gnu_ld" = x"yes"; then
52101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52102 $as_echo_n "checking for ld version... " >&6; }
52104 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52105 glibcxx_ld_is_gold=yes
52107 ldver=`$LD --version 2>/dev/null |
52108 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'`
52110 glibcxx_gnu_ld_version=`echo $ldver | \
52111 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52113 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52116 # Set --gc-sections.
52117 glibcxx_have_gc_sections=no
52118 if test "$glibcxx_ld_is_gold" = "yes"; then
52119 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52120 glibcxx_have_gc_sections=yes
52122 else
52123 glibcxx_gcsections_min_ld=21602
52124 if test x"$with_gnu_ld" = x"yes" &&
52125 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52126 glibcxx_have_gc_sections=yes
52129 if test "$glibcxx_have_gc_sections" = "yes"; then
52130 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52131 # NB: This flag only works reliably after 2.16.1. Configure tests
52132 # for this are difficult, so hard wire a value that should work.
52134 ac_test_CFLAGS="${CFLAGS+set}"
52135 ac_save_CFLAGS="$CFLAGS"
52136 CFLAGS='-Wl,--gc-sections'
52138 # Check for -Wl,--gc-sections
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52140 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52141 if test x$gcc_no_link = xyes; then
52142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52145 /* end confdefs.h. */
52146 int one(void) { return 1; }
52147 int two(void) { return 2; }
52150 main ()
52152 two();
52154 return 0;
52156 _ACEOF
52157 if ac_fn_c_try_link "$LINENO"; then :
52158 ac_gcsections=yes
52159 else
52160 ac_gcsections=no
52162 rm -f core conftest.err conftest.$ac_objext \
52163 conftest$ac_exeext conftest.$ac_ext
52164 if test "$ac_gcsections" = "yes"; then
52165 rm -f conftest.c
52166 touch conftest.c
52167 if $CC -c conftest.c; then
52168 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52169 grep "Warning: gc-sections option ignored" > /dev/null; then
52170 ac_gcsections=no
52173 rm -f conftest.c conftest.o conftest
52175 if test "$ac_gcsections" = "yes"; then
52176 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52179 $as_echo "$ac_gcsections" >&6; }
52181 if test "$ac_test_CFLAGS" = set; then
52182 CFLAGS="$ac_save_CFLAGS"
52183 else
52184 # this is the suspicious part
52185 CFLAGS=''
52189 # Set -z,relro.
52190 # Note this is only for shared objects.
52191 ac_ld_relro=no
52192 if test x"$with_gnu_ld" = x"yes"; then
52193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52194 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52195 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52196 if test -n "$cxx_z_relo"; then
52197 OPT_LDFLAGS="-Wl,-z,relro"
52198 ac_ld_relro=yes
52200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52201 $as_echo "$ac_ld_relro" >&6; }
52204 # Set linker optimization flags.
52205 if test x"$with_gnu_ld" = x"yes"; then
52206 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52213 # GLIBCXX_CHECK_MATH_SUPPORT
52214 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52216 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52218 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52220 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52222 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52224 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52226 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52228 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52230 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52232 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52234 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52236 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52238 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52240 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52242 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52244 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52246 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52248 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52250 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52252 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52254 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52257 # GLIBCXX_CHECK_STDLIB_SUPPORT
52258 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52263 # Check whether --enable-tls was given.
52264 if test "${enable_tls+set}" = set; then :
52265 enableval=$enable_tls;
52266 case "$enableval" in
52267 yes|no) ;;
52268 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52269 esac
52271 else
52272 enable_tls=yes
52276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52277 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52278 if test "${gcc_cv_have_tls+set}" = set; then :
52279 $as_echo_n "(cached) " >&6
52280 else
52282 if test "$cross_compiling" = yes; then :
52283 if test x$gcc_no_link = xyes; then
52284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52287 /* end confdefs.h. */
52288 __thread int a; int b; int main() { return a = b; }
52289 _ACEOF
52290 if ac_fn_c_try_link "$LINENO"; then :
52291 chktls_save_LDFLAGS="$LDFLAGS"
52292 case $host in
52293 *-*-linux*)
52294 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52296 esac
52297 chktls_save_CFLAGS="$CFLAGS"
52298 CFLAGS="-fPIC $CFLAGS"
52299 if test x$gcc_no_link = xyes; then
52300 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52303 /* end confdefs.h. */
52304 int f() { return 0; }
52305 _ACEOF
52306 if ac_fn_c_try_link "$LINENO"; then :
52307 if test x$gcc_no_link = xyes; then
52308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52311 /* end confdefs.h. */
52312 __thread int a; int b; int f() { return a = b; }
52313 _ACEOF
52314 if ac_fn_c_try_link "$LINENO"; then :
52315 gcc_cv_have_tls=yes
52316 else
52317 gcc_cv_have_tls=no
52319 rm -f core conftest.err conftest.$ac_objext \
52320 conftest$ac_exeext conftest.$ac_ext
52321 else
52322 gcc_cv_have_tls=yes
52324 rm -f core conftest.err conftest.$ac_objext \
52325 conftest$ac_exeext conftest.$ac_ext
52326 CFLAGS="$chktls_save_CFLAGS"
52327 LDFLAGS="$chktls_save_LDFLAGS"
52328 else
52329 gcc_cv_have_tls=no
52331 rm -f core conftest.err conftest.$ac_objext \
52332 conftest$ac_exeext conftest.$ac_ext
52335 else
52336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52337 /* end confdefs.h. */
52338 __thread int a; int b; int main() { return a = b; }
52339 _ACEOF
52340 if ac_fn_c_try_run "$LINENO"; then :
52341 chktls_save_LDFLAGS="$LDFLAGS"
52342 LDFLAGS="-static $LDFLAGS"
52343 if test x$gcc_no_link = xyes; then
52344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52347 /* end confdefs.h. */
52348 int main() { return 0; }
52349 _ACEOF
52350 if ac_fn_c_try_link "$LINENO"; then :
52351 if test "$cross_compiling" = yes; then :
52352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52354 as_fn_error "cannot run test program while cross compiling
52355 See \`config.log' for more details." "$LINENO" 5; }
52356 else
52357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52358 /* end confdefs.h. */
52359 __thread int a; int b; int main() { return a = b; }
52360 _ACEOF
52361 if ac_fn_c_try_run "$LINENO"; then :
52362 gcc_cv_have_tls=yes
52363 else
52364 gcc_cv_have_tls=no
52366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52367 conftest.$ac_objext conftest.beam conftest.$ac_ext
52370 else
52371 gcc_cv_have_tls=yes
52373 rm -f core conftest.err conftest.$ac_objext \
52374 conftest$ac_exeext conftest.$ac_ext
52375 LDFLAGS="$chktls_save_LDFLAGS"
52376 if test $gcc_cv_have_tls = yes; then
52377 chktls_save_CFLAGS="$CFLAGS"
52378 thread_CFLAGS=failed
52379 for flag in '' '-pthread' '-lpthread'; do
52380 CFLAGS="$flag $chktls_save_CFLAGS"
52381 if test x$gcc_no_link = xyes; then
52382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52385 /* end confdefs.h. */
52386 #include <pthread.h>
52387 void *g(void *d) { return NULL; }
52389 main ()
52391 pthread_t t; pthread_create(&t,NULL,g,NULL);
52393 return 0;
52395 _ACEOF
52396 if ac_fn_c_try_link "$LINENO"; then :
52397 thread_CFLAGS="$flag"
52399 rm -f core conftest.err conftest.$ac_objext \
52400 conftest$ac_exeext conftest.$ac_ext
52401 if test "X$thread_CFLAGS" != Xfailed; then
52402 break
52404 done
52405 CFLAGS="$chktls_save_CFLAGS"
52406 if test "X$thread_CFLAGS" != Xfailed; then
52407 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52408 if test "$cross_compiling" = yes; then :
52409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52411 as_fn_error "cannot run test program while cross compiling
52412 See \`config.log' for more details." "$LINENO" 5; }
52413 else
52414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52415 /* end confdefs.h. */
52416 #include <pthread.h>
52417 __thread int a;
52418 static int *volatile a_in_other_thread;
52419 static void *
52420 thread_func (void *arg)
52422 a_in_other_thread = &a;
52423 return (void *)0;
52426 main ()
52428 pthread_t thread;
52429 void *thread_retval;
52430 int *volatile a_in_main_thread;
52431 a_in_main_thread = &a;
52432 if (pthread_create (&thread, (pthread_attr_t *)0,
52433 thread_func, (void *)0))
52434 return 0;
52435 if (pthread_join (thread, &thread_retval))
52436 return 0;
52437 return (a_in_other_thread == a_in_main_thread);
52439 return 0;
52441 _ACEOF
52442 if ac_fn_c_try_run "$LINENO"; then :
52443 gcc_cv_have_tls=yes
52444 else
52445 gcc_cv_have_tls=no
52447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52448 conftest.$ac_objext conftest.beam conftest.$ac_ext
52451 CFLAGS="$chktls_save_CFLAGS"
52454 else
52455 gcc_cv_have_tls=no
52457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52458 conftest.$ac_objext conftest.beam conftest.$ac_ext
52462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52463 $as_echo "$gcc_cv_have_tls" >&6; }
52464 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52466 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52469 case "$target" in
52470 *-hpux10*)
52471 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52473 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52475 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52477 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52479 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52482 esac
52484 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52486 # All these tests are for C++; save the language and the compiler flags.
52487 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52488 # found in GLIBCXX_CONFIGURE.
52490 ac_ext=cpp
52491 ac_cpp='$CXXCPP $CPPFLAGS'
52492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52496 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52497 ac_save_CXXFLAGS="$CXXFLAGS"
52499 # Check for maintainer-mode bits.
52500 if test x"$USE_MAINTAINER_MODE" = xno; then
52501 WERROR=''
52502 else
52503 WERROR='-Werror'
52506 # Check for -ffunction-sections -fdata-sections
52507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52508 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52509 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52511 /* end confdefs.h. */
52512 int foo; void bar() { };
52514 main ()
52518 return 0;
52520 _ACEOF
52521 if ac_fn_cxx_try_compile "$LINENO"; then :
52522 ac_fdsections=yes
52523 else
52524 ac_fdsections=no
52526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52527 if test "$ac_test_CXXFLAGS" = set; then
52528 CXXFLAGS="$ac_save_CXXFLAGS"
52529 else
52530 # this is the suspicious part
52531 CXXFLAGS=''
52533 if test x"$ac_fdsections" = x"yes"; then
52534 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52537 $as_echo "$ac_fdsections" >&6; }
52539 ac_ext=c
52540 ac_cpp='$CPP $CPPFLAGS'
52541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52549 # If we're not using GNU ld, then there's no point in even trying these
52550 # tests. Check for that first. We should have already tested for gld
52551 # by now (in libtool), but require it now just to be safe...
52552 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52553 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52557 # The name set by libtool depends on the version of libtool. Shame on us
52558 # for depending on an impl detail, but c'est la vie. Older versions used
52559 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52560 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52561 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52562 # set (hence we're using an older libtool), then set it.
52563 if test x${with_gnu_ld+set} != xset; then
52564 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52565 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52566 with_gnu_ld=no
52567 else
52568 with_gnu_ld=$ac_cv_prog_gnu_ld
52572 # Start by getting the version number. I think the libtool test already
52573 # does some of this, but throws away the result.
52574 glibcxx_ld_is_gold=no
52575 if test x"$with_gnu_ld" = x"yes"; then
52576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52577 $as_echo_n "checking for ld version... " >&6; }
52579 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52580 glibcxx_ld_is_gold=yes
52582 ldver=`$LD --version 2>/dev/null |
52583 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'`
52585 glibcxx_gnu_ld_version=`echo $ldver | \
52586 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52588 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52591 # Set --gc-sections.
52592 glibcxx_have_gc_sections=no
52593 if test "$glibcxx_ld_is_gold" = "yes"; then
52594 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52595 glibcxx_have_gc_sections=yes
52597 else
52598 glibcxx_gcsections_min_ld=21602
52599 if test x"$with_gnu_ld" = x"yes" &&
52600 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52601 glibcxx_have_gc_sections=yes
52604 if test "$glibcxx_have_gc_sections" = "yes"; then
52605 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52606 # NB: This flag only works reliably after 2.16.1. Configure tests
52607 # for this are difficult, so hard wire a value that should work.
52609 ac_test_CFLAGS="${CFLAGS+set}"
52610 ac_save_CFLAGS="$CFLAGS"
52611 CFLAGS='-Wl,--gc-sections'
52613 # Check for -Wl,--gc-sections
52614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52615 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52616 if test x$gcc_no_link = xyes; then
52617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52620 /* end confdefs.h. */
52621 int one(void) { return 1; }
52622 int two(void) { return 2; }
52625 main ()
52627 two();
52629 return 0;
52631 _ACEOF
52632 if ac_fn_c_try_link "$LINENO"; then :
52633 ac_gcsections=yes
52634 else
52635 ac_gcsections=no
52637 rm -f core conftest.err conftest.$ac_objext \
52638 conftest$ac_exeext conftest.$ac_ext
52639 if test "$ac_gcsections" = "yes"; then
52640 rm -f conftest.c
52641 touch conftest.c
52642 if $CC -c conftest.c; then
52643 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52644 grep "Warning: gc-sections option ignored" > /dev/null; then
52645 ac_gcsections=no
52648 rm -f conftest.c conftest.o conftest
52650 if test "$ac_gcsections" = "yes"; then
52651 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52654 $as_echo "$ac_gcsections" >&6; }
52656 if test "$ac_test_CFLAGS" = set; then
52657 CFLAGS="$ac_save_CFLAGS"
52658 else
52659 # this is the suspicious part
52660 CFLAGS=''
52664 # Set -z,relro.
52665 # Note this is only for shared objects.
52666 ac_ld_relro=no
52667 if test x"$with_gnu_ld" = x"yes"; then
52668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52669 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52670 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52671 if test -n "$cxx_z_relo"; then
52672 OPT_LDFLAGS="-Wl,-z,relro"
52673 ac_ld_relro=yes
52675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52676 $as_echo "$ac_ld_relro" >&6; }
52679 # Set linker optimization flags.
52680 if test x"$with_gnu_ld" = x"yes"; then
52681 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52688 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52689 ac_save_CXXFLAGS="$CXXFLAGS"
52690 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52693 $as_echo_n "checking for sin in -lm... " >&6; }
52694 if test "${ac_cv_lib_m_sin+set}" = set; then :
52695 $as_echo_n "(cached) " >&6
52696 else
52697 ac_check_lib_save_LIBS=$LIBS
52698 LIBS="-lm $LIBS"
52699 if test x$gcc_no_link = xyes; then
52700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52703 /* end confdefs.h. */
52705 /* Override any GCC internal prototype to avoid an error.
52706 Use char because int might match the return type of a GCC
52707 builtin and then its argument prototype would still apply. */
52708 #ifdef __cplusplus
52709 extern "C"
52710 #endif
52711 char sin ();
52713 main ()
52715 return sin ();
52717 return 0;
52719 _ACEOF
52720 if ac_fn_c_try_link "$LINENO"; then :
52721 ac_cv_lib_m_sin=yes
52722 else
52723 ac_cv_lib_m_sin=no
52725 rm -f core conftest.err conftest.$ac_objext \
52726 conftest$ac_exeext conftest.$ac_ext
52727 LIBS=$ac_check_lib_save_LIBS
52729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52730 $as_echo "$ac_cv_lib_m_sin" >&6; }
52731 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52732 libm="-lm"
52735 ac_save_LIBS="$LIBS"
52736 LIBS="$LIBS $libm"
52740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52741 $as_echo_n "checking for isinf declaration... " >&6; }
52742 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52743 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52744 $as_echo_n "(cached) " >&6
52745 else
52748 ac_ext=cpp
52749 ac_cpp='$CXXCPP $CPPFLAGS'
52750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52755 /* end confdefs.h. */
52756 #include <math.h>
52757 #ifdef HAVE_IEEEFP_H
52758 #include <ieeefp.h>
52759 #endif
52762 main ()
52764 isinf(0);
52766 return 0;
52768 _ACEOF
52769 if ac_fn_cxx_try_compile "$LINENO"; then :
52770 glibcxx_cv_func_isinf_use=yes
52771 else
52772 glibcxx_cv_func_isinf_use=no
52774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52775 ac_ext=c
52776 ac_cpp='$CPP $CPPFLAGS'
52777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52786 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52788 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52789 for ac_func in isinf
52790 do :
52791 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52792 if test "x$ac_cv_func_isinf" = x""yes; then :
52793 cat >>confdefs.h <<_ACEOF
52794 #define HAVE_ISINF 1
52795 _ACEOF
52798 done
52800 else
52802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52803 $as_echo_n "checking for _isinf declaration... " >&6; }
52804 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52805 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52806 $as_echo_n "(cached) " >&6
52807 else
52810 ac_ext=cpp
52811 ac_cpp='$CXXCPP $CPPFLAGS'
52812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52817 /* end confdefs.h. */
52818 #include <math.h>
52819 #ifdef HAVE_IEEEFP_H
52820 #include <ieeefp.h>
52821 #endif
52824 main ()
52826 _isinf(0);
52828 return 0;
52830 _ACEOF
52831 if ac_fn_cxx_try_compile "$LINENO"; then :
52832 glibcxx_cv_func__isinf_use=yes
52833 else
52834 glibcxx_cv_func__isinf_use=no
52836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52837 ac_ext=c
52838 ac_cpp='$CPP $CPPFLAGS'
52839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52848 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52850 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52851 for ac_func in _isinf
52852 do :
52853 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52854 if test "x$ac_cv_func__isinf" = x""yes; then :
52855 cat >>confdefs.h <<_ACEOF
52856 #define HAVE__ISINF 1
52857 _ACEOF
52860 done
52869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52870 $as_echo_n "checking for isnan declaration... " >&6; }
52871 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52872 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52873 $as_echo_n "(cached) " >&6
52874 else
52877 ac_ext=cpp
52878 ac_cpp='$CXXCPP $CPPFLAGS'
52879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52884 /* end confdefs.h. */
52885 #include <math.h>
52886 #ifdef HAVE_IEEEFP_H
52887 #include <ieeefp.h>
52888 #endif
52891 main ()
52893 isnan(0);
52895 return 0;
52897 _ACEOF
52898 if ac_fn_cxx_try_compile "$LINENO"; then :
52899 glibcxx_cv_func_isnan_use=yes
52900 else
52901 glibcxx_cv_func_isnan_use=no
52903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52904 ac_ext=c
52905 ac_cpp='$CPP $CPPFLAGS'
52906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52915 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52917 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52918 for ac_func in isnan
52919 do :
52920 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52921 if test "x$ac_cv_func_isnan" = x""yes; then :
52922 cat >>confdefs.h <<_ACEOF
52923 #define HAVE_ISNAN 1
52924 _ACEOF
52927 done
52929 else
52931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52932 $as_echo_n "checking for _isnan declaration... " >&6; }
52933 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52934 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52935 $as_echo_n "(cached) " >&6
52936 else
52939 ac_ext=cpp
52940 ac_cpp='$CXXCPP $CPPFLAGS'
52941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52946 /* end confdefs.h. */
52947 #include <math.h>
52948 #ifdef HAVE_IEEEFP_H
52949 #include <ieeefp.h>
52950 #endif
52953 main ()
52955 _isnan(0);
52957 return 0;
52959 _ACEOF
52960 if ac_fn_cxx_try_compile "$LINENO"; then :
52961 glibcxx_cv_func__isnan_use=yes
52962 else
52963 glibcxx_cv_func__isnan_use=no
52965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52966 ac_ext=c
52967 ac_cpp='$CPP $CPPFLAGS'
52968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52977 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52979 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52980 for ac_func in _isnan
52981 do :
52982 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52983 if test "x$ac_cv_func__isnan" = x""yes; then :
52984 cat >>confdefs.h <<_ACEOF
52985 #define HAVE__ISNAN 1
52986 _ACEOF
52989 done
52998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52999 $as_echo_n "checking for finite declaration... " >&6; }
53000 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53001 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53002 $as_echo_n "(cached) " >&6
53003 else
53006 ac_ext=cpp
53007 ac_cpp='$CXXCPP $CPPFLAGS'
53008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53013 /* end confdefs.h. */
53014 #include <math.h>
53015 #ifdef HAVE_IEEEFP_H
53016 #include <ieeefp.h>
53017 #endif
53020 main ()
53022 finite(0);
53024 return 0;
53026 _ACEOF
53027 if ac_fn_cxx_try_compile "$LINENO"; then :
53028 glibcxx_cv_func_finite_use=yes
53029 else
53030 glibcxx_cv_func_finite_use=no
53032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53033 ac_ext=c
53034 ac_cpp='$CPP $CPPFLAGS'
53035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53044 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53046 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53047 for ac_func in finite
53048 do :
53049 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53050 if test "x$ac_cv_func_finite" = x""yes; then :
53051 cat >>confdefs.h <<_ACEOF
53052 #define HAVE_FINITE 1
53053 _ACEOF
53056 done
53058 else
53060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53061 $as_echo_n "checking for _finite declaration... " >&6; }
53062 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53063 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53064 $as_echo_n "(cached) " >&6
53065 else
53068 ac_ext=cpp
53069 ac_cpp='$CXXCPP $CPPFLAGS'
53070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53075 /* end confdefs.h. */
53076 #include <math.h>
53077 #ifdef HAVE_IEEEFP_H
53078 #include <ieeefp.h>
53079 #endif
53082 main ()
53084 _finite(0);
53086 return 0;
53088 _ACEOF
53089 if ac_fn_cxx_try_compile "$LINENO"; then :
53090 glibcxx_cv_func__finite_use=yes
53091 else
53092 glibcxx_cv_func__finite_use=no
53094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53095 ac_ext=c
53096 ac_cpp='$CPP $CPPFLAGS'
53097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53106 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53108 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53109 for ac_func in _finite
53110 do :
53111 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53112 if test "x$ac_cv_func__finite" = x""yes; then :
53113 cat >>confdefs.h <<_ACEOF
53114 #define HAVE__FINITE 1
53115 _ACEOF
53118 done
53127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53128 $as_echo_n "checking for sincos declaration... " >&6; }
53129 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53130 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53131 $as_echo_n "(cached) " >&6
53132 else
53135 ac_ext=cpp
53136 ac_cpp='$CXXCPP $CPPFLAGS'
53137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53142 /* end confdefs.h. */
53143 #include <math.h>
53145 main ()
53147 sincos(0, 0, 0);
53149 return 0;
53151 _ACEOF
53152 if ac_fn_cxx_try_compile "$LINENO"; then :
53153 glibcxx_cv_func_sincos_use=yes
53154 else
53155 glibcxx_cv_func_sincos_use=no
53157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53158 ac_ext=c
53159 ac_cpp='$CPP $CPPFLAGS'
53160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53169 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53171 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53172 for ac_func in sincos
53173 do :
53174 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53175 if test "x$ac_cv_func_sincos" = x""yes; then :
53176 cat >>confdefs.h <<_ACEOF
53177 #define HAVE_SINCOS 1
53178 _ACEOF
53181 done
53183 else
53185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53186 $as_echo_n "checking for _sincos declaration... " >&6; }
53187 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53188 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53189 $as_echo_n "(cached) " >&6
53190 else
53193 ac_ext=cpp
53194 ac_cpp='$CXXCPP $CPPFLAGS'
53195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53200 /* end confdefs.h. */
53201 #include <math.h>
53203 main ()
53205 _sincos(0, 0, 0);
53207 return 0;
53209 _ACEOF
53210 if ac_fn_cxx_try_compile "$LINENO"; then :
53211 glibcxx_cv_func__sincos_use=yes
53212 else
53213 glibcxx_cv_func__sincos_use=no
53215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53216 ac_ext=c
53217 ac_cpp='$CPP $CPPFLAGS'
53218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53227 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53229 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53230 for ac_func in _sincos
53231 do :
53232 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53233 if test "x$ac_cv_func__sincos" = x""yes; then :
53234 cat >>confdefs.h <<_ACEOF
53235 #define HAVE__SINCOS 1
53236 _ACEOF
53239 done
53248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53249 $as_echo_n "checking for fpclass declaration... " >&6; }
53250 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53251 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53252 $as_echo_n "(cached) " >&6
53253 else
53256 ac_ext=cpp
53257 ac_cpp='$CXXCPP $CPPFLAGS'
53258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53263 /* end confdefs.h. */
53264 #include <math.h>
53265 #ifdef HAVE_IEEEFP_H
53266 #include <ieeefp.h>
53267 #endif
53270 main ()
53272 fpclass(0);
53274 return 0;
53276 _ACEOF
53277 if ac_fn_cxx_try_compile "$LINENO"; then :
53278 glibcxx_cv_func_fpclass_use=yes
53279 else
53280 glibcxx_cv_func_fpclass_use=no
53282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53283 ac_ext=c
53284 ac_cpp='$CPP $CPPFLAGS'
53285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53294 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53296 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53297 for ac_func in fpclass
53298 do :
53299 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53300 if test "x$ac_cv_func_fpclass" = x""yes; then :
53301 cat >>confdefs.h <<_ACEOF
53302 #define HAVE_FPCLASS 1
53303 _ACEOF
53306 done
53308 else
53310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53311 $as_echo_n "checking for _fpclass declaration... " >&6; }
53312 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53313 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53314 $as_echo_n "(cached) " >&6
53315 else
53318 ac_ext=cpp
53319 ac_cpp='$CXXCPP $CPPFLAGS'
53320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53325 /* end confdefs.h. */
53326 #include <math.h>
53327 #ifdef HAVE_IEEEFP_H
53328 #include <ieeefp.h>
53329 #endif
53332 main ()
53334 _fpclass(0);
53336 return 0;
53338 _ACEOF
53339 if ac_fn_cxx_try_compile "$LINENO"; then :
53340 glibcxx_cv_func__fpclass_use=yes
53341 else
53342 glibcxx_cv_func__fpclass_use=no
53344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53345 ac_ext=c
53346 ac_cpp='$CPP $CPPFLAGS'
53347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53356 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53358 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53359 for ac_func in _fpclass
53360 do :
53361 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53362 if test "x$ac_cv_func__fpclass" = x""yes; then :
53363 cat >>confdefs.h <<_ACEOF
53364 #define HAVE__FPCLASS 1
53365 _ACEOF
53368 done
53377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53378 $as_echo_n "checking for qfpclass declaration... " >&6; }
53379 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53380 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53381 $as_echo_n "(cached) " >&6
53382 else
53385 ac_ext=cpp
53386 ac_cpp='$CXXCPP $CPPFLAGS'
53387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53392 /* end confdefs.h. */
53393 #include <math.h>
53394 #ifdef HAVE_IEEEFP_H
53395 #include <ieeefp.h>
53396 #endif
53399 main ()
53401 qfpclass(0);
53403 return 0;
53405 _ACEOF
53406 if ac_fn_cxx_try_compile "$LINENO"; then :
53407 glibcxx_cv_func_qfpclass_use=yes
53408 else
53409 glibcxx_cv_func_qfpclass_use=no
53411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53412 ac_ext=c
53413 ac_cpp='$CPP $CPPFLAGS'
53414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53423 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53425 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53426 for ac_func in qfpclass
53427 do :
53428 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53429 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53430 cat >>confdefs.h <<_ACEOF
53431 #define HAVE_QFPCLASS 1
53432 _ACEOF
53435 done
53437 else
53439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53440 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53441 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53442 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53443 $as_echo_n "(cached) " >&6
53444 else
53447 ac_ext=cpp
53448 ac_cpp='$CXXCPP $CPPFLAGS'
53449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53454 /* end confdefs.h. */
53455 #include <math.h>
53456 #ifdef HAVE_IEEEFP_H
53457 #include <ieeefp.h>
53458 #endif
53461 main ()
53463 _qfpclass(0);
53465 return 0;
53467 _ACEOF
53468 if ac_fn_cxx_try_compile "$LINENO"; then :
53469 glibcxx_cv_func__qfpclass_use=yes
53470 else
53471 glibcxx_cv_func__qfpclass_use=no
53473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53474 ac_ext=c
53475 ac_cpp='$CPP $CPPFLAGS'
53476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53485 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53487 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53488 for ac_func in _qfpclass
53489 do :
53490 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53491 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53492 cat >>confdefs.h <<_ACEOF
53493 #define HAVE__QFPCLASS 1
53494 _ACEOF
53497 done
53506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53507 $as_echo_n "checking for hypot declaration... " >&6; }
53508 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53509 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53510 $as_echo_n "(cached) " >&6
53511 else
53514 ac_ext=cpp
53515 ac_cpp='$CXXCPP $CPPFLAGS'
53516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53521 /* end confdefs.h. */
53522 #include <math.h>
53524 main ()
53526 hypot(0, 0);
53528 return 0;
53530 _ACEOF
53531 if ac_fn_cxx_try_compile "$LINENO"; then :
53532 glibcxx_cv_func_hypot_use=yes
53533 else
53534 glibcxx_cv_func_hypot_use=no
53536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53537 ac_ext=c
53538 ac_cpp='$CPP $CPPFLAGS'
53539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53548 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53550 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53551 for ac_func in hypot
53552 do :
53553 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53554 if test "x$ac_cv_func_hypot" = x""yes; then :
53555 cat >>confdefs.h <<_ACEOF
53556 #define HAVE_HYPOT 1
53557 _ACEOF
53560 done
53562 else
53564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53565 $as_echo_n "checking for _hypot declaration... " >&6; }
53566 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53567 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53568 $as_echo_n "(cached) " >&6
53569 else
53572 ac_ext=cpp
53573 ac_cpp='$CXXCPP $CPPFLAGS'
53574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53579 /* end confdefs.h. */
53580 #include <math.h>
53582 main ()
53584 _hypot(0, 0);
53586 return 0;
53588 _ACEOF
53589 if ac_fn_cxx_try_compile "$LINENO"; then :
53590 glibcxx_cv_func__hypot_use=yes
53591 else
53592 glibcxx_cv_func__hypot_use=no
53594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53595 ac_ext=c
53596 ac_cpp='$CPP $CPPFLAGS'
53597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53606 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53608 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53609 for ac_func in _hypot
53610 do :
53611 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53612 if test "x$ac_cv_func__hypot" = x""yes; then :
53613 cat >>confdefs.h <<_ACEOF
53614 #define HAVE__HYPOT 1
53615 _ACEOF
53618 done
53627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53628 $as_echo_n "checking for float trig functions... " >&6; }
53629 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53630 $as_echo_n "(cached) " >&6
53631 else
53634 ac_ext=cpp
53635 ac_cpp='$CXXCPP $CPPFLAGS'
53636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53641 /* end confdefs.h. */
53642 #include <math.h>
53644 main ()
53646 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53648 return 0;
53650 _ACEOF
53651 if ac_fn_cxx_try_compile "$LINENO"; then :
53652 glibcxx_cv_func_float_trig_use=yes
53653 else
53654 glibcxx_cv_func_float_trig_use=no
53656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53657 ac_ext=c
53658 ac_cpp='$CPP $CPPFLAGS'
53659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53666 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53667 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53668 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53669 do :
53670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53672 eval as_val=\$$as_ac_var
53673 if test "x$as_val" = x""yes; then :
53674 cat >>confdefs.h <<_ACEOF
53675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53676 _ACEOF
53679 done
53681 else
53682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53683 $as_echo_n "checking for _float trig functions... " >&6; }
53684 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53685 $as_echo_n "(cached) " >&6
53686 else
53689 ac_ext=cpp
53690 ac_cpp='$CXXCPP $CPPFLAGS'
53691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53696 /* end confdefs.h. */
53697 #include <math.h>
53699 main ()
53701 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53703 return 0;
53705 _ACEOF
53706 if ac_fn_cxx_try_compile "$LINENO"; then :
53707 glibcxx_cv_func__float_trig_use=yes
53708 else
53709 glibcxx_cv_func__float_trig_use=no
53711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53712 ac_ext=c
53713 ac_cpp='$CPP $CPPFLAGS'
53714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53721 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53722 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53723 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53724 do :
53725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53727 eval as_val=\$$as_ac_var
53728 if test "x$as_val" = x""yes; then :
53729 cat >>confdefs.h <<_ACEOF
53730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53731 _ACEOF
53734 done
53743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53744 $as_echo_n "checking for float round functions... " >&6; }
53745 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53746 $as_echo_n "(cached) " >&6
53747 else
53750 ac_ext=cpp
53751 ac_cpp='$CXXCPP $CPPFLAGS'
53752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53757 /* end confdefs.h. */
53758 #include <math.h>
53760 main ()
53762 ceilf (0); floorf (0);
53764 return 0;
53766 _ACEOF
53767 if ac_fn_cxx_try_compile "$LINENO"; then :
53768 glibcxx_cv_func_float_round_use=yes
53769 else
53770 glibcxx_cv_func_float_round_use=no
53772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53773 ac_ext=c
53774 ac_cpp='$CPP $CPPFLAGS'
53775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53782 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53783 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53784 for ac_func in ceilf floorf
53785 do :
53786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53788 eval as_val=\$$as_ac_var
53789 if test "x$as_val" = x""yes; then :
53790 cat >>confdefs.h <<_ACEOF
53791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53792 _ACEOF
53795 done
53797 else
53798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53799 $as_echo_n "checking for _float round functions... " >&6; }
53800 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53801 $as_echo_n "(cached) " >&6
53802 else
53805 ac_ext=cpp
53806 ac_cpp='$CXXCPP $CPPFLAGS'
53807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53812 /* end confdefs.h. */
53813 #include <math.h>
53815 main ()
53817 _ceilf (0); _floorf (0);
53819 return 0;
53821 _ACEOF
53822 if ac_fn_cxx_try_compile "$LINENO"; then :
53823 glibcxx_cv_func__float_round_use=yes
53824 else
53825 glibcxx_cv_func__float_round_use=no
53827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53828 ac_ext=c
53829 ac_cpp='$CPP $CPPFLAGS'
53830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53837 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53838 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53839 for ac_func in _ceilf _floorf
53840 do :
53841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53843 eval as_val=\$$as_ac_var
53844 if test "x$as_val" = x""yes; then :
53845 cat >>confdefs.h <<_ACEOF
53846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53847 _ACEOF
53850 done
53860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53861 $as_echo_n "checking for expf declaration... " >&6; }
53862 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53863 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53864 $as_echo_n "(cached) " >&6
53865 else
53868 ac_ext=cpp
53869 ac_cpp='$CXXCPP $CPPFLAGS'
53870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53875 /* end confdefs.h. */
53876 #include <math.h>
53877 #ifdef HAVE_IEEEFP_H
53878 #include <ieeefp.h>
53879 #endif
53882 main ()
53884 expf(0);
53886 return 0;
53888 _ACEOF
53889 if ac_fn_cxx_try_compile "$LINENO"; then :
53890 glibcxx_cv_func_expf_use=yes
53891 else
53892 glibcxx_cv_func_expf_use=no
53894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53895 ac_ext=c
53896 ac_cpp='$CPP $CPPFLAGS'
53897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53906 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53908 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53909 for ac_func in expf
53910 do :
53911 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53912 if test "x$ac_cv_func_expf" = x""yes; then :
53913 cat >>confdefs.h <<_ACEOF
53914 #define HAVE_EXPF 1
53915 _ACEOF
53918 done
53920 else
53922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53923 $as_echo_n "checking for _expf declaration... " >&6; }
53924 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53925 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53926 $as_echo_n "(cached) " >&6
53927 else
53930 ac_ext=cpp
53931 ac_cpp='$CXXCPP $CPPFLAGS'
53932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53937 /* end confdefs.h. */
53938 #include <math.h>
53939 #ifdef HAVE_IEEEFP_H
53940 #include <ieeefp.h>
53941 #endif
53944 main ()
53946 _expf(0);
53948 return 0;
53950 _ACEOF
53951 if ac_fn_cxx_try_compile "$LINENO"; then :
53952 glibcxx_cv_func__expf_use=yes
53953 else
53954 glibcxx_cv_func__expf_use=no
53956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53957 ac_ext=c
53958 ac_cpp='$CPP $CPPFLAGS'
53959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53968 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53970 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53971 for ac_func in _expf
53972 do :
53973 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53974 if test "x$ac_cv_func__expf" = x""yes; then :
53975 cat >>confdefs.h <<_ACEOF
53976 #define HAVE__EXPF 1
53977 _ACEOF
53980 done
53989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53990 $as_echo_n "checking for isnanf declaration... " >&6; }
53991 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53992 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53993 $as_echo_n "(cached) " >&6
53994 else
53997 ac_ext=cpp
53998 ac_cpp='$CXXCPP $CPPFLAGS'
53999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54004 /* end confdefs.h. */
54005 #include <math.h>
54006 #ifdef HAVE_IEEEFP_H
54007 #include <ieeefp.h>
54008 #endif
54011 main ()
54013 isnanf(0);
54015 return 0;
54017 _ACEOF
54018 if ac_fn_cxx_try_compile "$LINENO"; then :
54019 glibcxx_cv_func_isnanf_use=yes
54020 else
54021 glibcxx_cv_func_isnanf_use=no
54023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54024 ac_ext=c
54025 ac_cpp='$CPP $CPPFLAGS'
54026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54035 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54037 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54038 for ac_func in isnanf
54039 do :
54040 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54041 if test "x$ac_cv_func_isnanf" = x""yes; then :
54042 cat >>confdefs.h <<_ACEOF
54043 #define HAVE_ISNANF 1
54044 _ACEOF
54047 done
54049 else
54051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54052 $as_echo_n "checking for _isnanf declaration... " >&6; }
54053 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54054 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54055 $as_echo_n "(cached) " >&6
54056 else
54059 ac_ext=cpp
54060 ac_cpp='$CXXCPP $CPPFLAGS'
54061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54066 /* end confdefs.h. */
54067 #include <math.h>
54068 #ifdef HAVE_IEEEFP_H
54069 #include <ieeefp.h>
54070 #endif
54073 main ()
54075 _isnanf(0);
54077 return 0;
54079 _ACEOF
54080 if ac_fn_cxx_try_compile "$LINENO"; then :
54081 glibcxx_cv_func__isnanf_use=yes
54082 else
54083 glibcxx_cv_func__isnanf_use=no
54085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54086 ac_ext=c
54087 ac_cpp='$CPP $CPPFLAGS'
54088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54097 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54099 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54100 for ac_func in _isnanf
54101 do :
54102 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54103 if test "x$ac_cv_func__isnanf" = x""yes; then :
54104 cat >>confdefs.h <<_ACEOF
54105 #define HAVE__ISNANF 1
54106 _ACEOF
54109 done
54118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54119 $as_echo_n "checking for isinff declaration... " >&6; }
54120 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54121 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54122 $as_echo_n "(cached) " >&6
54123 else
54126 ac_ext=cpp
54127 ac_cpp='$CXXCPP $CPPFLAGS'
54128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54133 /* end confdefs.h. */
54134 #include <math.h>
54135 #ifdef HAVE_IEEEFP_H
54136 #include <ieeefp.h>
54137 #endif
54140 main ()
54142 isinff(0);
54144 return 0;
54146 _ACEOF
54147 if ac_fn_cxx_try_compile "$LINENO"; then :
54148 glibcxx_cv_func_isinff_use=yes
54149 else
54150 glibcxx_cv_func_isinff_use=no
54152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54153 ac_ext=c
54154 ac_cpp='$CPP $CPPFLAGS'
54155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54164 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54166 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54167 for ac_func in isinff
54168 do :
54169 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54170 if test "x$ac_cv_func_isinff" = x""yes; then :
54171 cat >>confdefs.h <<_ACEOF
54172 #define HAVE_ISINFF 1
54173 _ACEOF
54176 done
54178 else
54180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54181 $as_echo_n "checking for _isinff declaration... " >&6; }
54182 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54183 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54184 $as_echo_n "(cached) " >&6
54185 else
54188 ac_ext=cpp
54189 ac_cpp='$CXXCPP $CPPFLAGS'
54190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54195 /* end confdefs.h. */
54196 #include <math.h>
54197 #ifdef HAVE_IEEEFP_H
54198 #include <ieeefp.h>
54199 #endif
54202 main ()
54204 _isinff(0);
54206 return 0;
54208 _ACEOF
54209 if ac_fn_cxx_try_compile "$LINENO"; then :
54210 glibcxx_cv_func__isinff_use=yes
54211 else
54212 glibcxx_cv_func__isinff_use=no
54214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54215 ac_ext=c
54216 ac_cpp='$CPP $CPPFLAGS'
54217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54226 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54228 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54229 for ac_func in _isinff
54230 do :
54231 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54232 if test "x$ac_cv_func__isinff" = x""yes; then :
54233 cat >>confdefs.h <<_ACEOF
54234 #define HAVE__ISINFF 1
54235 _ACEOF
54238 done
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54248 $as_echo_n "checking for atan2f declaration... " >&6; }
54249 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54250 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54251 $as_echo_n "(cached) " >&6
54252 else
54255 ac_ext=cpp
54256 ac_cpp='$CXXCPP $CPPFLAGS'
54257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54262 /* end confdefs.h. */
54263 #include <math.h>
54265 main ()
54267 atan2f(0, 0);
54269 return 0;
54271 _ACEOF
54272 if ac_fn_cxx_try_compile "$LINENO"; then :
54273 glibcxx_cv_func_atan2f_use=yes
54274 else
54275 glibcxx_cv_func_atan2f_use=no
54277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54278 ac_ext=c
54279 ac_cpp='$CPP $CPPFLAGS'
54280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54289 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54291 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54292 for ac_func in atan2f
54293 do :
54294 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54295 if test "x$ac_cv_func_atan2f" = x""yes; then :
54296 cat >>confdefs.h <<_ACEOF
54297 #define HAVE_ATAN2F 1
54298 _ACEOF
54301 done
54303 else
54305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54306 $as_echo_n "checking for _atan2f declaration... " >&6; }
54307 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54308 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54309 $as_echo_n "(cached) " >&6
54310 else
54313 ac_ext=cpp
54314 ac_cpp='$CXXCPP $CPPFLAGS'
54315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54320 /* end confdefs.h. */
54321 #include <math.h>
54323 main ()
54325 _atan2f(0, 0);
54327 return 0;
54329 _ACEOF
54330 if ac_fn_cxx_try_compile "$LINENO"; then :
54331 glibcxx_cv_func__atan2f_use=yes
54332 else
54333 glibcxx_cv_func__atan2f_use=no
54335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54336 ac_ext=c
54337 ac_cpp='$CPP $CPPFLAGS'
54338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54347 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54349 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54350 for ac_func in _atan2f
54351 do :
54352 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54353 if test "x$ac_cv_func__atan2f" = x""yes; then :
54354 cat >>confdefs.h <<_ACEOF
54355 #define HAVE__ATAN2F 1
54356 _ACEOF
54359 done
54368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54369 $as_echo_n "checking for fabsf declaration... " >&6; }
54370 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54371 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54372 $as_echo_n "(cached) " >&6
54373 else
54376 ac_ext=cpp
54377 ac_cpp='$CXXCPP $CPPFLAGS'
54378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54383 /* end confdefs.h. */
54384 #include <math.h>
54385 #ifdef HAVE_IEEEFP_H
54386 #include <ieeefp.h>
54387 #endif
54390 main ()
54392 fabsf(0);
54394 return 0;
54396 _ACEOF
54397 if ac_fn_cxx_try_compile "$LINENO"; then :
54398 glibcxx_cv_func_fabsf_use=yes
54399 else
54400 glibcxx_cv_func_fabsf_use=no
54402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54403 ac_ext=c
54404 ac_cpp='$CPP $CPPFLAGS'
54405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54414 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54416 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54417 for ac_func in fabsf
54418 do :
54419 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54420 if test "x$ac_cv_func_fabsf" = x""yes; then :
54421 cat >>confdefs.h <<_ACEOF
54422 #define HAVE_FABSF 1
54423 _ACEOF
54426 done
54428 else
54430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54431 $as_echo_n "checking for _fabsf declaration... " >&6; }
54432 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54433 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54434 $as_echo_n "(cached) " >&6
54435 else
54438 ac_ext=cpp
54439 ac_cpp='$CXXCPP $CPPFLAGS'
54440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54445 /* end confdefs.h. */
54446 #include <math.h>
54447 #ifdef HAVE_IEEEFP_H
54448 #include <ieeefp.h>
54449 #endif
54452 main ()
54454 _fabsf(0);
54456 return 0;
54458 _ACEOF
54459 if ac_fn_cxx_try_compile "$LINENO"; then :
54460 glibcxx_cv_func__fabsf_use=yes
54461 else
54462 glibcxx_cv_func__fabsf_use=no
54464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54465 ac_ext=c
54466 ac_cpp='$CPP $CPPFLAGS'
54467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54476 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54478 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54479 for ac_func in _fabsf
54480 do :
54481 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54482 if test "x$ac_cv_func__fabsf" = x""yes; then :
54483 cat >>confdefs.h <<_ACEOF
54484 #define HAVE__FABSF 1
54485 _ACEOF
54488 done
54497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54498 $as_echo_n "checking for fmodf declaration... " >&6; }
54499 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54500 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54501 $as_echo_n "(cached) " >&6
54502 else
54505 ac_ext=cpp
54506 ac_cpp='$CXXCPP $CPPFLAGS'
54507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54512 /* end confdefs.h. */
54513 #include <math.h>
54515 main ()
54517 fmodf(0, 0);
54519 return 0;
54521 _ACEOF
54522 if ac_fn_cxx_try_compile "$LINENO"; then :
54523 glibcxx_cv_func_fmodf_use=yes
54524 else
54525 glibcxx_cv_func_fmodf_use=no
54527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54528 ac_ext=c
54529 ac_cpp='$CPP $CPPFLAGS'
54530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54539 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54541 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54542 for ac_func in fmodf
54543 do :
54544 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54545 if test "x$ac_cv_func_fmodf" = x""yes; then :
54546 cat >>confdefs.h <<_ACEOF
54547 #define HAVE_FMODF 1
54548 _ACEOF
54551 done
54553 else
54555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54556 $as_echo_n "checking for _fmodf declaration... " >&6; }
54557 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54558 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54559 $as_echo_n "(cached) " >&6
54560 else
54563 ac_ext=cpp
54564 ac_cpp='$CXXCPP $CPPFLAGS'
54565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54570 /* end confdefs.h. */
54571 #include <math.h>
54573 main ()
54575 _fmodf(0, 0);
54577 return 0;
54579 _ACEOF
54580 if ac_fn_cxx_try_compile "$LINENO"; then :
54581 glibcxx_cv_func__fmodf_use=yes
54582 else
54583 glibcxx_cv_func__fmodf_use=no
54585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54586 ac_ext=c
54587 ac_cpp='$CPP $CPPFLAGS'
54588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54597 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54599 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54600 for ac_func in _fmodf
54601 do :
54602 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54603 if test "x$ac_cv_func__fmodf" = x""yes; then :
54604 cat >>confdefs.h <<_ACEOF
54605 #define HAVE__FMODF 1
54606 _ACEOF
54609 done
54618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54619 $as_echo_n "checking for frexpf declaration... " >&6; }
54620 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54621 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54622 $as_echo_n "(cached) " >&6
54623 else
54626 ac_ext=cpp
54627 ac_cpp='$CXXCPP $CPPFLAGS'
54628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54633 /* end confdefs.h. */
54634 #include <math.h>
54636 main ()
54638 frexpf(0, 0);
54640 return 0;
54642 _ACEOF
54643 if ac_fn_cxx_try_compile "$LINENO"; then :
54644 glibcxx_cv_func_frexpf_use=yes
54645 else
54646 glibcxx_cv_func_frexpf_use=no
54648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54649 ac_ext=c
54650 ac_cpp='$CPP $CPPFLAGS'
54651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54660 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54662 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54663 for ac_func in frexpf
54664 do :
54665 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54666 if test "x$ac_cv_func_frexpf" = x""yes; then :
54667 cat >>confdefs.h <<_ACEOF
54668 #define HAVE_FREXPF 1
54669 _ACEOF
54672 done
54674 else
54676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54677 $as_echo_n "checking for _frexpf declaration... " >&6; }
54678 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54679 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54680 $as_echo_n "(cached) " >&6
54681 else
54684 ac_ext=cpp
54685 ac_cpp='$CXXCPP $CPPFLAGS'
54686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54691 /* end confdefs.h. */
54692 #include <math.h>
54694 main ()
54696 _frexpf(0, 0);
54698 return 0;
54700 _ACEOF
54701 if ac_fn_cxx_try_compile "$LINENO"; then :
54702 glibcxx_cv_func__frexpf_use=yes
54703 else
54704 glibcxx_cv_func__frexpf_use=no
54706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54707 ac_ext=c
54708 ac_cpp='$CPP $CPPFLAGS'
54709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54718 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54720 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54721 for ac_func in _frexpf
54722 do :
54723 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54724 if test "x$ac_cv_func__frexpf" = x""yes; then :
54725 cat >>confdefs.h <<_ACEOF
54726 #define HAVE__FREXPF 1
54727 _ACEOF
54730 done
54739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54740 $as_echo_n "checking for hypotf declaration... " >&6; }
54741 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54742 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54743 $as_echo_n "(cached) " >&6
54744 else
54747 ac_ext=cpp
54748 ac_cpp='$CXXCPP $CPPFLAGS'
54749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54754 /* end confdefs.h. */
54755 #include <math.h>
54757 main ()
54759 hypotf(0, 0);
54761 return 0;
54763 _ACEOF
54764 if ac_fn_cxx_try_compile "$LINENO"; then :
54765 glibcxx_cv_func_hypotf_use=yes
54766 else
54767 glibcxx_cv_func_hypotf_use=no
54769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54770 ac_ext=c
54771 ac_cpp='$CPP $CPPFLAGS'
54772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54781 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54783 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54784 for ac_func in hypotf
54785 do :
54786 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54787 if test "x$ac_cv_func_hypotf" = x""yes; then :
54788 cat >>confdefs.h <<_ACEOF
54789 #define HAVE_HYPOTF 1
54790 _ACEOF
54793 done
54795 else
54797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54798 $as_echo_n "checking for _hypotf declaration... " >&6; }
54799 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54800 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54801 $as_echo_n "(cached) " >&6
54802 else
54805 ac_ext=cpp
54806 ac_cpp='$CXXCPP $CPPFLAGS'
54807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54812 /* end confdefs.h. */
54813 #include <math.h>
54815 main ()
54817 _hypotf(0, 0);
54819 return 0;
54821 _ACEOF
54822 if ac_fn_cxx_try_compile "$LINENO"; then :
54823 glibcxx_cv_func__hypotf_use=yes
54824 else
54825 glibcxx_cv_func__hypotf_use=no
54827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54828 ac_ext=c
54829 ac_cpp='$CPP $CPPFLAGS'
54830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54839 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54841 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54842 for ac_func in _hypotf
54843 do :
54844 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54845 if test "x$ac_cv_func__hypotf" = x""yes; then :
54846 cat >>confdefs.h <<_ACEOF
54847 #define HAVE__HYPOTF 1
54848 _ACEOF
54851 done
54860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54861 $as_echo_n "checking for ldexpf declaration... " >&6; }
54862 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54863 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54864 $as_echo_n "(cached) " >&6
54865 else
54868 ac_ext=cpp
54869 ac_cpp='$CXXCPP $CPPFLAGS'
54870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54875 /* end confdefs.h. */
54876 #include <math.h>
54878 main ()
54880 ldexpf(0, 0);
54882 return 0;
54884 _ACEOF
54885 if ac_fn_cxx_try_compile "$LINENO"; then :
54886 glibcxx_cv_func_ldexpf_use=yes
54887 else
54888 glibcxx_cv_func_ldexpf_use=no
54890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54891 ac_ext=c
54892 ac_cpp='$CPP $CPPFLAGS'
54893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54902 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54904 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54905 for ac_func in ldexpf
54906 do :
54907 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54908 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54909 cat >>confdefs.h <<_ACEOF
54910 #define HAVE_LDEXPF 1
54911 _ACEOF
54914 done
54916 else
54918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54919 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54920 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54921 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54922 $as_echo_n "(cached) " >&6
54923 else
54926 ac_ext=cpp
54927 ac_cpp='$CXXCPP $CPPFLAGS'
54928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54933 /* end confdefs.h. */
54934 #include <math.h>
54936 main ()
54938 _ldexpf(0, 0);
54940 return 0;
54942 _ACEOF
54943 if ac_fn_cxx_try_compile "$LINENO"; then :
54944 glibcxx_cv_func__ldexpf_use=yes
54945 else
54946 glibcxx_cv_func__ldexpf_use=no
54948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54949 ac_ext=c
54950 ac_cpp='$CPP $CPPFLAGS'
54951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54960 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54962 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54963 for ac_func in _ldexpf
54964 do :
54965 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54966 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54967 cat >>confdefs.h <<_ACEOF
54968 #define HAVE__LDEXPF 1
54969 _ACEOF
54972 done
54981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54982 $as_echo_n "checking for logf declaration... " >&6; }
54983 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54984 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54985 $as_echo_n "(cached) " >&6
54986 else
54989 ac_ext=cpp
54990 ac_cpp='$CXXCPP $CPPFLAGS'
54991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54996 /* end confdefs.h. */
54997 #include <math.h>
54998 #ifdef HAVE_IEEEFP_H
54999 #include <ieeefp.h>
55000 #endif
55003 main ()
55005 logf(0);
55007 return 0;
55009 _ACEOF
55010 if ac_fn_cxx_try_compile "$LINENO"; then :
55011 glibcxx_cv_func_logf_use=yes
55012 else
55013 glibcxx_cv_func_logf_use=no
55015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55016 ac_ext=c
55017 ac_cpp='$CPP $CPPFLAGS'
55018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55027 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55029 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55030 for ac_func in logf
55031 do :
55032 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55033 if test "x$ac_cv_func_logf" = x""yes; then :
55034 cat >>confdefs.h <<_ACEOF
55035 #define HAVE_LOGF 1
55036 _ACEOF
55039 done
55041 else
55043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55044 $as_echo_n "checking for _logf declaration... " >&6; }
55045 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55046 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55047 $as_echo_n "(cached) " >&6
55048 else
55051 ac_ext=cpp
55052 ac_cpp='$CXXCPP $CPPFLAGS'
55053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55058 /* end confdefs.h. */
55059 #include <math.h>
55060 #ifdef HAVE_IEEEFP_H
55061 #include <ieeefp.h>
55062 #endif
55065 main ()
55067 _logf(0);
55069 return 0;
55071 _ACEOF
55072 if ac_fn_cxx_try_compile "$LINENO"; then :
55073 glibcxx_cv_func__logf_use=yes
55074 else
55075 glibcxx_cv_func__logf_use=no
55077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55078 ac_ext=c
55079 ac_cpp='$CPP $CPPFLAGS'
55080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55089 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55091 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55092 for ac_func in _logf
55093 do :
55094 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55095 if test "x$ac_cv_func__logf" = x""yes; then :
55096 cat >>confdefs.h <<_ACEOF
55097 #define HAVE__LOGF 1
55098 _ACEOF
55101 done
55110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55111 $as_echo_n "checking for log10f declaration... " >&6; }
55112 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55113 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55114 $as_echo_n "(cached) " >&6
55115 else
55118 ac_ext=cpp
55119 ac_cpp='$CXXCPP $CPPFLAGS'
55120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55125 /* end confdefs.h. */
55126 #include <math.h>
55127 #ifdef HAVE_IEEEFP_H
55128 #include <ieeefp.h>
55129 #endif
55132 main ()
55134 log10f(0);
55136 return 0;
55138 _ACEOF
55139 if ac_fn_cxx_try_compile "$LINENO"; then :
55140 glibcxx_cv_func_log10f_use=yes
55141 else
55142 glibcxx_cv_func_log10f_use=no
55144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55145 ac_ext=c
55146 ac_cpp='$CPP $CPPFLAGS'
55147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55156 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55158 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55159 for ac_func in log10f
55160 do :
55161 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55162 if test "x$ac_cv_func_log10f" = x""yes; then :
55163 cat >>confdefs.h <<_ACEOF
55164 #define HAVE_LOG10F 1
55165 _ACEOF
55168 done
55170 else
55172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55173 $as_echo_n "checking for _log10f declaration... " >&6; }
55174 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55175 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55176 $as_echo_n "(cached) " >&6
55177 else
55180 ac_ext=cpp
55181 ac_cpp='$CXXCPP $CPPFLAGS'
55182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55187 /* end confdefs.h. */
55188 #include <math.h>
55189 #ifdef HAVE_IEEEFP_H
55190 #include <ieeefp.h>
55191 #endif
55194 main ()
55196 _log10f(0);
55198 return 0;
55200 _ACEOF
55201 if ac_fn_cxx_try_compile "$LINENO"; then :
55202 glibcxx_cv_func__log10f_use=yes
55203 else
55204 glibcxx_cv_func__log10f_use=no
55206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55207 ac_ext=c
55208 ac_cpp='$CPP $CPPFLAGS'
55209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55218 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55220 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55221 for ac_func in _log10f
55222 do :
55223 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55224 if test "x$ac_cv_func__log10f" = x""yes; then :
55225 cat >>confdefs.h <<_ACEOF
55226 #define HAVE__LOG10F 1
55227 _ACEOF
55230 done
55239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55240 $as_echo_n "checking for modff declaration... " >&6; }
55241 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55242 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55243 $as_echo_n "(cached) " >&6
55244 else
55247 ac_ext=cpp
55248 ac_cpp='$CXXCPP $CPPFLAGS'
55249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55254 /* end confdefs.h. */
55255 #include <math.h>
55257 main ()
55259 modff(0, 0);
55261 return 0;
55263 _ACEOF
55264 if ac_fn_cxx_try_compile "$LINENO"; then :
55265 glibcxx_cv_func_modff_use=yes
55266 else
55267 glibcxx_cv_func_modff_use=no
55269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55270 ac_ext=c
55271 ac_cpp='$CPP $CPPFLAGS'
55272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55281 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55283 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55284 for ac_func in modff
55285 do :
55286 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55287 if test "x$ac_cv_func_modff" = x""yes; then :
55288 cat >>confdefs.h <<_ACEOF
55289 #define HAVE_MODFF 1
55290 _ACEOF
55293 done
55295 else
55297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55298 $as_echo_n "checking for _modff declaration... " >&6; }
55299 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55300 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55301 $as_echo_n "(cached) " >&6
55302 else
55305 ac_ext=cpp
55306 ac_cpp='$CXXCPP $CPPFLAGS'
55307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55312 /* end confdefs.h. */
55313 #include <math.h>
55315 main ()
55317 _modff(0, 0);
55319 return 0;
55321 _ACEOF
55322 if ac_fn_cxx_try_compile "$LINENO"; then :
55323 glibcxx_cv_func__modff_use=yes
55324 else
55325 glibcxx_cv_func__modff_use=no
55327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55328 ac_ext=c
55329 ac_cpp='$CPP $CPPFLAGS'
55330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55339 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55341 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55342 for ac_func in _modff
55343 do :
55344 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55345 if test "x$ac_cv_func__modff" = x""yes; then :
55346 cat >>confdefs.h <<_ACEOF
55347 #define HAVE__MODFF 1
55348 _ACEOF
55351 done
55360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55361 $as_echo_n "checking for modf declaration... " >&6; }
55362 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55363 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55364 $as_echo_n "(cached) " >&6
55365 else
55368 ac_ext=cpp
55369 ac_cpp='$CXXCPP $CPPFLAGS'
55370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55375 /* end confdefs.h. */
55376 #include <math.h>
55378 main ()
55380 modf(0, 0);
55382 return 0;
55384 _ACEOF
55385 if ac_fn_cxx_try_compile "$LINENO"; then :
55386 glibcxx_cv_func_modf_use=yes
55387 else
55388 glibcxx_cv_func_modf_use=no
55390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55391 ac_ext=c
55392 ac_cpp='$CPP $CPPFLAGS'
55393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55402 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55404 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55405 for ac_func in modf
55406 do :
55407 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55408 if test "x$ac_cv_func_modf" = x""yes; then :
55409 cat >>confdefs.h <<_ACEOF
55410 #define HAVE_MODF 1
55411 _ACEOF
55414 done
55416 else
55418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55419 $as_echo_n "checking for _modf declaration... " >&6; }
55420 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55421 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55422 $as_echo_n "(cached) " >&6
55423 else
55426 ac_ext=cpp
55427 ac_cpp='$CXXCPP $CPPFLAGS'
55428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55433 /* end confdefs.h. */
55434 #include <math.h>
55436 main ()
55438 _modf(0, 0);
55440 return 0;
55442 _ACEOF
55443 if ac_fn_cxx_try_compile "$LINENO"; then :
55444 glibcxx_cv_func__modf_use=yes
55445 else
55446 glibcxx_cv_func__modf_use=no
55448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55449 ac_ext=c
55450 ac_cpp='$CPP $CPPFLAGS'
55451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55460 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55462 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55463 for ac_func in _modf
55464 do :
55465 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55466 if test "x$ac_cv_func__modf" = x""yes; then :
55467 cat >>confdefs.h <<_ACEOF
55468 #define HAVE__MODF 1
55469 _ACEOF
55472 done
55481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55482 $as_echo_n "checking for powf declaration... " >&6; }
55483 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55484 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55485 $as_echo_n "(cached) " >&6
55486 else
55489 ac_ext=cpp
55490 ac_cpp='$CXXCPP $CPPFLAGS'
55491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55496 /* end confdefs.h. */
55497 #include <math.h>
55499 main ()
55501 powf(0, 0);
55503 return 0;
55505 _ACEOF
55506 if ac_fn_cxx_try_compile "$LINENO"; then :
55507 glibcxx_cv_func_powf_use=yes
55508 else
55509 glibcxx_cv_func_powf_use=no
55511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55512 ac_ext=c
55513 ac_cpp='$CPP $CPPFLAGS'
55514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55523 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55525 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55526 for ac_func in powf
55527 do :
55528 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55529 if test "x$ac_cv_func_powf" = x""yes; then :
55530 cat >>confdefs.h <<_ACEOF
55531 #define HAVE_POWF 1
55532 _ACEOF
55535 done
55537 else
55539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55540 $as_echo_n "checking for _powf declaration... " >&6; }
55541 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55542 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55543 $as_echo_n "(cached) " >&6
55544 else
55547 ac_ext=cpp
55548 ac_cpp='$CXXCPP $CPPFLAGS'
55549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55554 /* end confdefs.h. */
55555 #include <math.h>
55557 main ()
55559 _powf(0, 0);
55561 return 0;
55563 _ACEOF
55564 if ac_fn_cxx_try_compile "$LINENO"; then :
55565 glibcxx_cv_func__powf_use=yes
55566 else
55567 glibcxx_cv_func__powf_use=no
55569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55570 ac_ext=c
55571 ac_cpp='$CPP $CPPFLAGS'
55572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55581 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55583 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55584 for ac_func in _powf
55585 do :
55586 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55587 if test "x$ac_cv_func__powf" = x""yes; then :
55588 cat >>confdefs.h <<_ACEOF
55589 #define HAVE__POWF 1
55590 _ACEOF
55593 done
55602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55603 $as_echo_n "checking for sqrtf declaration... " >&6; }
55604 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55605 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55606 $as_echo_n "(cached) " >&6
55607 else
55610 ac_ext=cpp
55611 ac_cpp='$CXXCPP $CPPFLAGS'
55612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55617 /* end confdefs.h. */
55618 #include <math.h>
55619 #ifdef HAVE_IEEEFP_H
55620 #include <ieeefp.h>
55621 #endif
55624 main ()
55626 sqrtf(0);
55628 return 0;
55630 _ACEOF
55631 if ac_fn_cxx_try_compile "$LINENO"; then :
55632 glibcxx_cv_func_sqrtf_use=yes
55633 else
55634 glibcxx_cv_func_sqrtf_use=no
55636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55637 ac_ext=c
55638 ac_cpp='$CPP $CPPFLAGS'
55639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55648 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55650 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55651 for ac_func in sqrtf
55652 do :
55653 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55654 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55655 cat >>confdefs.h <<_ACEOF
55656 #define HAVE_SQRTF 1
55657 _ACEOF
55660 done
55662 else
55664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55665 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55666 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55667 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55668 $as_echo_n "(cached) " >&6
55669 else
55672 ac_ext=cpp
55673 ac_cpp='$CXXCPP $CPPFLAGS'
55674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55679 /* end confdefs.h. */
55680 #include <math.h>
55681 #ifdef HAVE_IEEEFP_H
55682 #include <ieeefp.h>
55683 #endif
55686 main ()
55688 _sqrtf(0);
55690 return 0;
55692 _ACEOF
55693 if ac_fn_cxx_try_compile "$LINENO"; then :
55694 glibcxx_cv_func__sqrtf_use=yes
55695 else
55696 glibcxx_cv_func__sqrtf_use=no
55698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55699 ac_ext=c
55700 ac_cpp='$CPP $CPPFLAGS'
55701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55710 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55712 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55713 for ac_func in _sqrtf
55714 do :
55715 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55716 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55717 cat >>confdefs.h <<_ACEOF
55718 #define HAVE__SQRTF 1
55719 _ACEOF
55722 done
55731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55732 $as_echo_n "checking for sincosf declaration... " >&6; }
55733 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55734 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55735 $as_echo_n "(cached) " >&6
55736 else
55739 ac_ext=cpp
55740 ac_cpp='$CXXCPP $CPPFLAGS'
55741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55746 /* end confdefs.h. */
55747 #include <math.h>
55749 main ()
55751 sincosf(0, 0, 0);
55753 return 0;
55755 _ACEOF
55756 if ac_fn_cxx_try_compile "$LINENO"; then :
55757 glibcxx_cv_func_sincosf_use=yes
55758 else
55759 glibcxx_cv_func_sincosf_use=no
55761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55762 ac_ext=c
55763 ac_cpp='$CPP $CPPFLAGS'
55764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55773 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55775 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55776 for ac_func in sincosf
55777 do :
55778 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55779 if test "x$ac_cv_func_sincosf" = x""yes; then :
55780 cat >>confdefs.h <<_ACEOF
55781 #define HAVE_SINCOSF 1
55782 _ACEOF
55785 done
55787 else
55789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55790 $as_echo_n "checking for _sincosf declaration... " >&6; }
55791 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55792 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55793 $as_echo_n "(cached) " >&6
55794 else
55797 ac_ext=cpp
55798 ac_cpp='$CXXCPP $CPPFLAGS'
55799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55804 /* end confdefs.h. */
55805 #include <math.h>
55807 main ()
55809 _sincosf(0, 0, 0);
55811 return 0;
55813 _ACEOF
55814 if ac_fn_cxx_try_compile "$LINENO"; then :
55815 glibcxx_cv_func__sincosf_use=yes
55816 else
55817 glibcxx_cv_func__sincosf_use=no
55819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55820 ac_ext=c
55821 ac_cpp='$CPP $CPPFLAGS'
55822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55831 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55833 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55834 for ac_func in _sincosf
55835 do :
55836 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55837 if test "x$ac_cv_func__sincosf" = x""yes; then :
55838 cat >>confdefs.h <<_ACEOF
55839 #define HAVE__SINCOSF 1
55840 _ACEOF
55843 done
55852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55853 $as_echo_n "checking for finitef declaration... " >&6; }
55854 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55855 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55856 $as_echo_n "(cached) " >&6
55857 else
55860 ac_ext=cpp
55861 ac_cpp='$CXXCPP $CPPFLAGS'
55862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55867 /* end confdefs.h. */
55868 #include <math.h>
55869 #ifdef HAVE_IEEEFP_H
55870 #include <ieeefp.h>
55871 #endif
55874 main ()
55876 finitef(0);
55878 return 0;
55880 _ACEOF
55881 if ac_fn_cxx_try_compile "$LINENO"; then :
55882 glibcxx_cv_func_finitef_use=yes
55883 else
55884 glibcxx_cv_func_finitef_use=no
55886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55887 ac_ext=c
55888 ac_cpp='$CPP $CPPFLAGS'
55889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55898 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55900 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55901 for ac_func in finitef
55902 do :
55903 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55904 if test "x$ac_cv_func_finitef" = x""yes; then :
55905 cat >>confdefs.h <<_ACEOF
55906 #define HAVE_FINITEF 1
55907 _ACEOF
55910 done
55912 else
55914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55915 $as_echo_n "checking for _finitef declaration... " >&6; }
55916 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55917 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55918 $as_echo_n "(cached) " >&6
55919 else
55922 ac_ext=cpp
55923 ac_cpp='$CXXCPP $CPPFLAGS'
55924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55929 /* end confdefs.h. */
55930 #include <math.h>
55931 #ifdef HAVE_IEEEFP_H
55932 #include <ieeefp.h>
55933 #endif
55936 main ()
55938 _finitef(0);
55940 return 0;
55942 _ACEOF
55943 if ac_fn_cxx_try_compile "$LINENO"; then :
55944 glibcxx_cv_func__finitef_use=yes
55945 else
55946 glibcxx_cv_func__finitef_use=no
55948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55949 ac_ext=c
55950 ac_cpp='$CPP $CPPFLAGS'
55951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55960 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55962 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55963 for ac_func in _finitef
55964 do :
55965 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55966 if test "x$ac_cv_func__finitef" = x""yes; then :
55967 cat >>confdefs.h <<_ACEOF
55968 #define HAVE__FINITEF 1
55969 _ACEOF
55972 done
55981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55982 $as_echo_n "checking for long double trig functions... " >&6; }
55983 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55984 $as_echo_n "(cached) " >&6
55985 else
55988 ac_ext=cpp
55989 ac_cpp='$CXXCPP $CPPFLAGS'
55990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55995 /* end confdefs.h. */
55996 #include <math.h>
55998 main ()
56000 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56002 return 0;
56004 _ACEOF
56005 if ac_fn_cxx_try_compile "$LINENO"; then :
56006 glibcxx_cv_func_long_double_trig_use=yes
56007 else
56008 glibcxx_cv_func_long_double_trig_use=no
56010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56011 ac_ext=c
56012 ac_cpp='$CPP $CPPFLAGS'
56013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56020 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56021 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56022 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56023 do :
56024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56026 eval as_val=\$$as_ac_var
56027 if test "x$as_val" = x""yes; then :
56028 cat >>confdefs.h <<_ACEOF
56029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56030 _ACEOF
56033 done
56035 else
56036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56037 $as_echo_n "checking for _long double trig functions... " >&6; }
56038 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56039 $as_echo_n "(cached) " >&6
56040 else
56043 ac_ext=cpp
56044 ac_cpp='$CXXCPP $CPPFLAGS'
56045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56050 /* end confdefs.h. */
56051 #include <math.h>
56053 main ()
56055 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56057 return 0;
56059 _ACEOF
56060 if ac_fn_cxx_try_compile "$LINENO"; then :
56061 glibcxx_cv_func__long_double_trig_use=yes
56062 else
56063 glibcxx_cv_func__long_double_trig_use=no
56065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56066 ac_ext=c
56067 ac_cpp='$CPP $CPPFLAGS'
56068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56075 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56076 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56077 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56078 do :
56079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56081 eval as_val=\$$as_ac_var
56082 if test "x$as_val" = x""yes; then :
56083 cat >>confdefs.h <<_ACEOF
56084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56085 _ACEOF
56088 done
56097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56098 $as_echo_n "checking for long double round functions... " >&6; }
56099 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56100 $as_echo_n "(cached) " >&6
56101 else
56104 ac_ext=cpp
56105 ac_cpp='$CXXCPP $CPPFLAGS'
56106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56111 /* end confdefs.h. */
56112 #include <math.h>
56114 main ()
56116 ceill (0); floorl (0);
56118 return 0;
56120 _ACEOF
56121 if ac_fn_cxx_try_compile "$LINENO"; then :
56122 glibcxx_cv_func_long_double_round_use=yes
56123 else
56124 glibcxx_cv_func_long_double_round_use=no
56126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56127 ac_ext=c
56128 ac_cpp='$CPP $CPPFLAGS'
56129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56136 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56137 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56138 for ac_func in ceill floorl
56139 do :
56140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56142 eval as_val=\$$as_ac_var
56143 if test "x$as_val" = x""yes; then :
56144 cat >>confdefs.h <<_ACEOF
56145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56146 _ACEOF
56149 done
56151 else
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56153 $as_echo_n "checking for _long double round functions... " >&6; }
56154 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56155 $as_echo_n "(cached) " >&6
56156 else
56159 ac_ext=cpp
56160 ac_cpp='$CXXCPP $CPPFLAGS'
56161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56166 /* end confdefs.h. */
56167 #include <math.h>
56169 main ()
56171 _ceill (0); _floorl (0);
56173 return 0;
56175 _ACEOF
56176 if ac_fn_cxx_try_compile "$LINENO"; then :
56177 glibcxx_cv_func__long_double_round_use=yes
56178 else
56179 glibcxx_cv_func__long_double_round_use=no
56181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56182 ac_ext=c
56183 ac_cpp='$CPP $CPPFLAGS'
56184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56191 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56192 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56193 for ac_func in _ceill _floorl
56194 do :
56195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56197 eval as_val=\$$as_ac_var
56198 if test "x$as_val" = x""yes; then :
56199 cat >>confdefs.h <<_ACEOF
56200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56201 _ACEOF
56204 done
56214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56215 $as_echo_n "checking for isnanl declaration... " >&6; }
56216 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56217 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56218 $as_echo_n "(cached) " >&6
56219 else
56222 ac_ext=cpp
56223 ac_cpp='$CXXCPP $CPPFLAGS'
56224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56229 /* end confdefs.h. */
56230 #include <math.h>
56231 #ifdef HAVE_IEEEFP_H
56232 #include <ieeefp.h>
56233 #endif
56236 main ()
56238 isnanl(0);
56240 return 0;
56242 _ACEOF
56243 if ac_fn_cxx_try_compile "$LINENO"; then :
56244 glibcxx_cv_func_isnanl_use=yes
56245 else
56246 glibcxx_cv_func_isnanl_use=no
56248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56249 ac_ext=c
56250 ac_cpp='$CPP $CPPFLAGS'
56251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56260 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56262 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56263 for ac_func in isnanl
56264 do :
56265 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56266 if test "x$ac_cv_func_isnanl" = x""yes; then :
56267 cat >>confdefs.h <<_ACEOF
56268 #define HAVE_ISNANL 1
56269 _ACEOF
56272 done
56274 else
56276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56277 $as_echo_n "checking for _isnanl declaration... " >&6; }
56278 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56279 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56280 $as_echo_n "(cached) " >&6
56281 else
56284 ac_ext=cpp
56285 ac_cpp='$CXXCPP $CPPFLAGS'
56286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56291 /* end confdefs.h. */
56292 #include <math.h>
56293 #ifdef HAVE_IEEEFP_H
56294 #include <ieeefp.h>
56295 #endif
56298 main ()
56300 _isnanl(0);
56302 return 0;
56304 _ACEOF
56305 if ac_fn_cxx_try_compile "$LINENO"; then :
56306 glibcxx_cv_func__isnanl_use=yes
56307 else
56308 glibcxx_cv_func__isnanl_use=no
56310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56311 ac_ext=c
56312 ac_cpp='$CPP $CPPFLAGS'
56313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56322 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56324 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56325 for ac_func in _isnanl
56326 do :
56327 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56328 if test "x$ac_cv_func__isnanl" = x""yes; then :
56329 cat >>confdefs.h <<_ACEOF
56330 #define HAVE__ISNANL 1
56331 _ACEOF
56334 done
56343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56344 $as_echo_n "checking for isinfl declaration... " >&6; }
56345 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56346 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56347 $as_echo_n "(cached) " >&6
56348 else
56351 ac_ext=cpp
56352 ac_cpp='$CXXCPP $CPPFLAGS'
56353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56358 /* end confdefs.h. */
56359 #include <math.h>
56360 #ifdef HAVE_IEEEFP_H
56361 #include <ieeefp.h>
56362 #endif
56365 main ()
56367 isinfl(0);
56369 return 0;
56371 _ACEOF
56372 if ac_fn_cxx_try_compile "$LINENO"; then :
56373 glibcxx_cv_func_isinfl_use=yes
56374 else
56375 glibcxx_cv_func_isinfl_use=no
56377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56378 ac_ext=c
56379 ac_cpp='$CPP $CPPFLAGS'
56380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56389 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56391 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56392 for ac_func in isinfl
56393 do :
56394 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56395 if test "x$ac_cv_func_isinfl" = x""yes; then :
56396 cat >>confdefs.h <<_ACEOF
56397 #define HAVE_ISINFL 1
56398 _ACEOF
56401 done
56403 else
56405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56406 $as_echo_n "checking for _isinfl declaration... " >&6; }
56407 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56408 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56409 $as_echo_n "(cached) " >&6
56410 else
56413 ac_ext=cpp
56414 ac_cpp='$CXXCPP $CPPFLAGS'
56415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56420 /* end confdefs.h. */
56421 #include <math.h>
56422 #ifdef HAVE_IEEEFP_H
56423 #include <ieeefp.h>
56424 #endif
56427 main ()
56429 _isinfl(0);
56431 return 0;
56433 _ACEOF
56434 if ac_fn_cxx_try_compile "$LINENO"; then :
56435 glibcxx_cv_func__isinfl_use=yes
56436 else
56437 glibcxx_cv_func__isinfl_use=no
56439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56440 ac_ext=c
56441 ac_cpp='$CPP $CPPFLAGS'
56442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56451 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56453 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56454 for ac_func in _isinfl
56455 do :
56456 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56457 if test "x$ac_cv_func__isinfl" = x""yes; then :
56458 cat >>confdefs.h <<_ACEOF
56459 #define HAVE__ISINFL 1
56460 _ACEOF
56463 done
56472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56473 $as_echo_n "checking for atan2l declaration... " >&6; }
56474 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56475 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56476 $as_echo_n "(cached) " >&6
56477 else
56480 ac_ext=cpp
56481 ac_cpp='$CXXCPP $CPPFLAGS'
56482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56487 /* end confdefs.h. */
56488 #include <math.h>
56490 main ()
56492 atan2l(0, 0);
56494 return 0;
56496 _ACEOF
56497 if ac_fn_cxx_try_compile "$LINENO"; then :
56498 glibcxx_cv_func_atan2l_use=yes
56499 else
56500 glibcxx_cv_func_atan2l_use=no
56502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56503 ac_ext=c
56504 ac_cpp='$CPP $CPPFLAGS'
56505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56514 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56516 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56517 for ac_func in atan2l
56518 do :
56519 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56520 if test "x$ac_cv_func_atan2l" = x""yes; then :
56521 cat >>confdefs.h <<_ACEOF
56522 #define HAVE_ATAN2L 1
56523 _ACEOF
56526 done
56528 else
56530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56531 $as_echo_n "checking for _atan2l declaration... " >&6; }
56532 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56533 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56534 $as_echo_n "(cached) " >&6
56535 else
56538 ac_ext=cpp
56539 ac_cpp='$CXXCPP $CPPFLAGS'
56540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56545 /* end confdefs.h. */
56546 #include <math.h>
56548 main ()
56550 _atan2l(0, 0);
56552 return 0;
56554 _ACEOF
56555 if ac_fn_cxx_try_compile "$LINENO"; then :
56556 glibcxx_cv_func__atan2l_use=yes
56557 else
56558 glibcxx_cv_func__atan2l_use=no
56560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56561 ac_ext=c
56562 ac_cpp='$CPP $CPPFLAGS'
56563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56572 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56574 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56575 for ac_func in _atan2l
56576 do :
56577 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56578 if test "x$ac_cv_func__atan2l" = x""yes; then :
56579 cat >>confdefs.h <<_ACEOF
56580 #define HAVE__ATAN2L 1
56581 _ACEOF
56584 done
56593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56594 $as_echo_n "checking for expl declaration... " >&6; }
56595 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56596 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56597 $as_echo_n "(cached) " >&6
56598 else
56601 ac_ext=cpp
56602 ac_cpp='$CXXCPP $CPPFLAGS'
56603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56608 /* end confdefs.h. */
56609 #include <math.h>
56610 #ifdef HAVE_IEEEFP_H
56611 #include <ieeefp.h>
56612 #endif
56615 main ()
56617 expl(0);
56619 return 0;
56621 _ACEOF
56622 if ac_fn_cxx_try_compile "$LINENO"; then :
56623 glibcxx_cv_func_expl_use=yes
56624 else
56625 glibcxx_cv_func_expl_use=no
56627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56628 ac_ext=c
56629 ac_cpp='$CPP $CPPFLAGS'
56630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56639 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56641 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56642 for ac_func in expl
56643 do :
56644 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56645 if test "x$ac_cv_func_expl" = x""yes; then :
56646 cat >>confdefs.h <<_ACEOF
56647 #define HAVE_EXPL 1
56648 _ACEOF
56651 done
56653 else
56655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56656 $as_echo_n "checking for _expl declaration... " >&6; }
56657 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56658 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56659 $as_echo_n "(cached) " >&6
56660 else
56663 ac_ext=cpp
56664 ac_cpp='$CXXCPP $CPPFLAGS'
56665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56670 /* end confdefs.h. */
56671 #include <math.h>
56672 #ifdef HAVE_IEEEFP_H
56673 #include <ieeefp.h>
56674 #endif
56677 main ()
56679 _expl(0);
56681 return 0;
56683 _ACEOF
56684 if ac_fn_cxx_try_compile "$LINENO"; then :
56685 glibcxx_cv_func__expl_use=yes
56686 else
56687 glibcxx_cv_func__expl_use=no
56689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56690 ac_ext=c
56691 ac_cpp='$CPP $CPPFLAGS'
56692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56701 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56703 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56704 for ac_func in _expl
56705 do :
56706 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56707 if test "x$ac_cv_func__expl" = x""yes; then :
56708 cat >>confdefs.h <<_ACEOF
56709 #define HAVE__EXPL 1
56710 _ACEOF
56713 done
56722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56723 $as_echo_n "checking for fabsl declaration... " >&6; }
56724 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56725 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56726 $as_echo_n "(cached) " >&6
56727 else
56730 ac_ext=cpp
56731 ac_cpp='$CXXCPP $CPPFLAGS'
56732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56737 /* end confdefs.h. */
56738 #include <math.h>
56739 #ifdef HAVE_IEEEFP_H
56740 #include <ieeefp.h>
56741 #endif
56744 main ()
56746 fabsl(0);
56748 return 0;
56750 _ACEOF
56751 if ac_fn_cxx_try_compile "$LINENO"; then :
56752 glibcxx_cv_func_fabsl_use=yes
56753 else
56754 glibcxx_cv_func_fabsl_use=no
56756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56757 ac_ext=c
56758 ac_cpp='$CPP $CPPFLAGS'
56759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56768 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56770 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56771 for ac_func in fabsl
56772 do :
56773 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56774 if test "x$ac_cv_func_fabsl" = x""yes; then :
56775 cat >>confdefs.h <<_ACEOF
56776 #define HAVE_FABSL 1
56777 _ACEOF
56780 done
56782 else
56784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56785 $as_echo_n "checking for _fabsl declaration... " >&6; }
56786 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56787 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56788 $as_echo_n "(cached) " >&6
56789 else
56792 ac_ext=cpp
56793 ac_cpp='$CXXCPP $CPPFLAGS'
56794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56799 /* end confdefs.h. */
56800 #include <math.h>
56801 #ifdef HAVE_IEEEFP_H
56802 #include <ieeefp.h>
56803 #endif
56806 main ()
56808 _fabsl(0);
56810 return 0;
56812 _ACEOF
56813 if ac_fn_cxx_try_compile "$LINENO"; then :
56814 glibcxx_cv_func__fabsl_use=yes
56815 else
56816 glibcxx_cv_func__fabsl_use=no
56818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56819 ac_ext=c
56820 ac_cpp='$CPP $CPPFLAGS'
56821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56830 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56832 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56833 for ac_func in _fabsl
56834 do :
56835 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56836 if test "x$ac_cv_func__fabsl" = x""yes; then :
56837 cat >>confdefs.h <<_ACEOF
56838 #define HAVE__FABSL 1
56839 _ACEOF
56842 done
56851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56852 $as_echo_n "checking for fmodl declaration... " >&6; }
56853 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56854 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56855 $as_echo_n "(cached) " >&6
56856 else
56859 ac_ext=cpp
56860 ac_cpp='$CXXCPP $CPPFLAGS'
56861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56866 /* end confdefs.h. */
56867 #include <math.h>
56869 main ()
56871 fmodl(0, 0);
56873 return 0;
56875 _ACEOF
56876 if ac_fn_cxx_try_compile "$LINENO"; then :
56877 glibcxx_cv_func_fmodl_use=yes
56878 else
56879 glibcxx_cv_func_fmodl_use=no
56881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56882 ac_ext=c
56883 ac_cpp='$CPP $CPPFLAGS'
56884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56893 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56895 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56896 for ac_func in fmodl
56897 do :
56898 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56899 if test "x$ac_cv_func_fmodl" = x""yes; then :
56900 cat >>confdefs.h <<_ACEOF
56901 #define HAVE_FMODL 1
56902 _ACEOF
56905 done
56907 else
56909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56910 $as_echo_n "checking for _fmodl declaration... " >&6; }
56911 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56912 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56913 $as_echo_n "(cached) " >&6
56914 else
56917 ac_ext=cpp
56918 ac_cpp='$CXXCPP $CPPFLAGS'
56919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56924 /* end confdefs.h. */
56925 #include <math.h>
56927 main ()
56929 _fmodl(0, 0);
56931 return 0;
56933 _ACEOF
56934 if ac_fn_cxx_try_compile "$LINENO"; then :
56935 glibcxx_cv_func__fmodl_use=yes
56936 else
56937 glibcxx_cv_func__fmodl_use=no
56939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56940 ac_ext=c
56941 ac_cpp='$CPP $CPPFLAGS'
56942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56951 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56953 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56954 for ac_func in _fmodl
56955 do :
56956 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56957 if test "x$ac_cv_func__fmodl" = x""yes; then :
56958 cat >>confdefs.h <<_ACEOF
56959 #define HAVE__FMODL 1
56960 _ACEOF
56963 done
56972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56973 $as_echo_n "checking for frexpl declaration... " >&6; }
56974 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56975 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56976 $as_echo_n "(cached) " >&6
56977 else
56980 ac_ext=cpp
56981 ac_cpp='$CXXCPP $CPPFLAGS'
56982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56987 /* end confdefs.h. */
56988 #include <math.h>
56990 main ()
56992 frexpl(0, 0);
56994 return 0;
56996 _ACEOF
56997 if ac_fn_cxx_try_compile "$LINENO"; then :
56998 glibcxx_cv_func_frexpl_use=yes
56999 else
57000 glibcxx_cv_func_frexpl_use=no
57002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57003 ac_ext=c
57004 ac_cpp='$CPP $CPPFLAGS'
57005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57014 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57016 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57017 for ac_func in frexpl
57018 do :
57019 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57020 if test "x$ac_cv_func_frexpl" = x""yes; then :
57021 cat >>confdefs.h <<_ACEOF
57022 #define HAVE_FREXPL 1
57023 _ACEOF
57026 done
57028 else
57030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57031 $as_echo_n "checking for _frexpl declaration... " >&6; }
57032 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57033 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57034 $as_echo_n "(cached) " >&6
57035 else
57038 ac_ext=cpp
57039 ac_cpp='$CXXCPP $CPPFLAGS'
57040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57045 /* end confdefs.h. */
57046 #include <math.h>
57048 main ()
57050 _frexpl(0, 0);
57052 return 0;
57054 _ACEOF
57055 if ac_fn_cxx_try_compile "$LINENO"; then :
57056 glibcxx_cv_func__frexpl_use=yes
57057 else
57058 glibcxx_cv_func__frexpl_use=no
57060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57061 ac_ext=c
57062 ac_cpp='$CPP $CPPFLAGS'
57063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57072 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57074 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57075 for ac_func in _frexpl
57076 do :
57077 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57078 if test "x$ac_cv_func__frexpl" = x""yes; then :
57079 cat >>confdefs.h <<_ACEOF
57080 #define HAVE__FREXPL 1
57081 _ACEOF
57084 done
57093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57094 $as_echo_n "checking for hypotl declaration... " >&6; }
57095 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57096 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57097 $as_echo_n "(cached) " >&6
57098 else
57101 ac_ext=cpp
57102 ac_cpp='$CXXCPP $CPPFLAGS'
57103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57108 /* end confdefs.h. */
57109 #include <math.h>
57111 main ()
57113 hypotl(0, 0);
57115 return 0;
57117 _ACEOF
57118 if ac_fn_cxx_try_compile "$LINENO"; then :
57119 glibcxx_cv_func_hypotl_use=yes
57120 else
57121 glibcxx_cv_func_hypotl_use=no
57123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57124 ac_ext=c
57125 ac_cpp='$CPP $CPPFLAGS'
57126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57135 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57137 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57138 for ac_func in hypotl
57139 do :
57140 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57141 if test "x$ac_cv_func_hypotl" = x""yes; then :
57142 cat >>confdefs.h <<_ACEOF
57143 #define HAVE_HYPOTL 1
57144 _ACEOF
57147 done
57149 else
57151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57152 $as_echo_n "checking for _hypotl declaration... " >&6; }
57153 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57154 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57155 $as_echo_n "(cached) " >&6
57156 else
57159 ac_ext=cpp
57160 ac_cpp='$CXXCPP $CPPFLAGS'
57161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57166 /* end confdefs.h. */
57167 #include <math.h>
57169 main ()
57171 _hypotl(0, 0);
57173 return 0;
57175 _ACEOF
57176 if ac_fn_cxx_try_compile "$LINENO"; then :
57177 glibcxx_cv_func__hypotl_use=yes
57178 else
57179 glibcxx_cv_func__hypotl_use=no
57181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57182 ac_ext=c
57183 ac_cpp='$CPP $CPPFLAGS'
57184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57193 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57195 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57196 for ac_func in _hypotl
57197 do :
57198 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57199 if test "x$ac_cv_func__hypotl" = x""yes; then :
57200 cat >>confdefs.h <<_ACEOF
57201 #define HAVE__HYPOTL 1
57202 _ACEOF
57205 done
57214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57215 $as_echo_n "checking for ldexpl declaration... " >&6; }
57216 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57217 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57218 $as_echo_n "(cached) " >&6
57219 else
57222 ac_ext=cpp
57223 ac_cpp='$CXXCPP $CPPFLAGS'
57224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57229 /* end confdefs.h. */
57230 #include <math.h>
57232 main ()
57234 ldexpl(0, 0);
57236 return 0;
57238 _ACEOF
57239 if ac_fn_cxx_try_compile "$LINENO"; then :
57240 glibcxx_cv_func_ldexpl_use=yes
57241 else
57242 glibcxx_cv_func_ldexpl_use=no
57244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57245 ac_ext=c
57246 ac_cpp='$CPP $CPPFLAGS'
57247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57256 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57258 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57259 for ac_func in ldexpl
57260 do :
57261 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57262 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57263 cat >>confdefs.h <<_ACEOF
57264 #define HAVE_LDEXPL 1
57265 _ACEOF
57268 done
57270 else
57272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57273 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57274 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57275 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57276 $as_echo_n "(cached) " >&6
57277 else
57280 ac_ext=cpp
57281 ac_cpp='$CXXCPP $CPPFLAGS'
57282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57287 /* end confdefs.h. */
57288 #include <math.h>
57290 main ()
57292 _ldexpl(0, 0);
57294 return 0;
57296 _ACEOF
57297 if ac_fn_cxx_try_compile "$LINENO"; then :
57298 glibcxx_cv_func__ldexpl_use=yes
57299 else
57300 glibcxx_cv_func__ldexpl_use=no
57302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57303 ac_ext=c
57304 ac_cpp='$CPP $CPPFLAGS'
57305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57314 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57316 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57317 for ac_func in _ldexpl
57318 do :
57319 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57320 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57321 cat >>confdefs.h <<_ACEOF
57322 #define HAVE__LDEXPL 1
57323 _ACEOF
57326 done
57335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57336 $as_echo_n "checking for logl declaration... " >&6; }
57337 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57338 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57339 $as_echo_n "(cached) " >&6
57340 else
57343 ac_ext=cpp
57344 ac_cpp='$CXXCPP $CPPFLAGS'
57345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57350 /* end confdefs.h. */
57351 #include <math.h>
57352 #ifdef HAVE_IEEEFP_H
57353 #include <ieeefp.h>
57354 #endif
57357 main ()
57359 logl(0);
57361 return 0;
57363 _ACEOF
57364 if ac_fn_cxx_try_compile "$LINENO"; then :
57365 glibcxx_cv_func_logl_use=yes
57366 else
57367 glibcxx_cv_func_logl_use=no
57369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57370 ac_ext=c
57371 ac_cpp='$CPP $CPPFLAGS'
57372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57381 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57383 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57384 for ac_func in logl
57385 do :
57386 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57387 if test "x$ac_cv_func_logl" = x""yes; then :
57388 cat >>confdefs.h <<_ACEOF
57389 #define HAVE_LOGL 1
57390 _ACEOF
57393 done
57395 else
57397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57398 $as_echo_n "checking for _logl declaration... " >&6; }
57399 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57400 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57401 $as_echo_n "(cached) " >&6
57402 else
57405 ac_ext=cpp
57406 ac_cpp='$CXXCPP $CPPFLAGS'
57407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57412 /* end confdefs.h. */
57413 #include <math.h>
57414 #ifdef HAVE_IEEEFP_H
57415 #include <ieeefp.h>
57416 #endif
57419 main ()
57421 _logl(0);
57423 return 0;
57425 _ACEOF
57426 if ac_fn_cxx_try_compile "$LINENO"; then :
57427 glibcxx_cv_func__logl_use=yes
57428 else
57429 glibcxx_cv_func__logl_use=no
57431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57432 ac_ext=c
57433 ac_cpp='$CPP $CPPFLAGS'
57434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57443 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57445 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57446 for ac_func in _logl
57447 do :
57448 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57449 if test "x$ac_cv_func__logl" = x""yes; then :
57450 cat >>confdefs.h <<_ACEOF
57451 #define HAVE__LOGL 1
57452 _ACEOF
57455 done
57464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57465 $as_echo_n "checking for log10l declaration... " >&6; }
57466 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57467 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57468 $as_echo_n "(cached) " >&6
57469 else
57472 ac_ext=cpp
57473 ac_cpp='$CXXCPP $CPPFLAGS'
57474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57479 /* end confdefs.h. */
57480 #include <math.h>
57481 #ifdef HAVE_IEEEFP_H
57482 #include <ieeefp.h>
57483 #endif
57486 main ()
57488 log10l(0);
57490 return 0;
57492 _ACEOF
57493 if ac_fn_cxx_try_compile "$LINENO"; then :
57494 glibcxx_cv_func_log10l_use=yes
57495 else
57496 glibcxx_cv_func_log10l_use=no
57498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57499 ac_ext=c
57500 ac_cpp='$CPP $CPPFLAGS'
57501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57510 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57512 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57513 for ac_func in log10l
57514 do :
57515 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57516 if test "x$ac_cv_func_log10l" = x""yes; then :
57517 cat >>confdefs.h <<_ACEOF
57518 #define HAVE_LOG10L 1
57519 _ACEOF
57522 done
57524 else
57526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57527 $as_echo_n "checking for _log10l declaration... " >&6; }
57528 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57529 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57530 $as_echo_n "(cached) " >&6
57531 else
57534 ac_ext=cpp
57535 ac_cpp='$CXXCPP $CPPFLAGS'
57536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57541 /* end confdefs.h. */
57542 #include <math.h>
57543 #ifdef HAVE_IEEEFP_H
57544 #include <ieeefp.h>
57545 #endif
57548 main ()
57550 _log10l(0);
57552 return 0;
57554 _ACEOF
57555 if ac_fn_cxx_try_compile "$LINENO"; then :
57556 glibcxx_cv_func__log10l_use=yes
57557 else
57558 glibcxx_cv_func__log10l_use=no
57560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57561 ac_ext=c
57562 ac_cpp='$CPP $CPPFLAGS'
57563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57572 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57574 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57575 for ac_func in _log10l
57576 do :
57577 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57578 if test "x$ac_cv_func__log10l" = x""yes; then :
57579 cat >>confdefs.h <<_ACEOF
57580 #define HAVE__LOG10L 1
57581 _ACEOF
57584 done
57593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57594 $as_echo_n "checking for modfl declaration... " >&6; }
57595 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57596 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57597 $as_echo_n "(cached) " >&6
57598 else
57601 ac_ext=cpp
57602 ac_cpp='$CXXCPP $CPPFLAGS'
57603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57608 /* end confdefs.h. */
57609 #include <math.h>
57611 main ()
57613 modfl(0, 0);
57615 return 0;
57617 _ACEOF
57618 if ac_fn_cxx_try_compile "$LINENO"; then :
57619 glibcxx_cv_func_modfl_use=yes
57620 else
57621 glibcxx_cv_func_modfl_use=no
57623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57624 ac_ext=c
57625 ac_cpp='$CPP $CPPFLAGS'
57626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57635 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57637 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57638 for ac_func in modfl
57639 do :
57640 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57641 if test "x$ac_cv_func_modfl" = x""yes; then :
57642 cat >>confdefs.h <<_ACEOF
57643 #define HAVE_MODFL 1
57644 _ACEOF
57647 done
57649 else
57651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57652 $as_echo_n "checking for _modfl declaration... " >&6; }
57653 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57654 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57655 $as_echo_n "(cached) " >&6
57656 else
57659 ac_ext=cpp
57660 ac_cpp='$CXXCPP $CPPFLAGS'
57661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57666 /* end confdefs.h. */
57667 #include <math.h>
57669 main ()
57671 _modfl(0, 0);
57673 return 0;
57675 _ACEOF
57676 if ac_fn_cxx_try_compile "$LINENO"; then :
57677 glibcxx_cv_func__modfl_use=yes
57678 else
57679 glibcxx_cv_func__modfl_use=no
57681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57682 ac_ext=c
57683 ac_cpp='$CPP $CPPFLAGS'
57684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57693 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57695 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57696 for ac_func in _modfl
57697 do :
57698 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57699 if test "x$ac_cv_func__modfl" = x""yes; then :
57700 cat >>confdefs.h <<_ACEOF
57701 #define HAVE__MODFL 1
57702 _ACEOF
57705 done
57714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57715 $as_echo_n "checking for powl declaration... " >&6; }
57716 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57717 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57718 $as_echo_n "(cached) " >&6
57719 else
57722 ac_ext=cpp
57723 ac_cpp='$CXXCPP $CPPFLAGS'
57724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57729 /* end confdefs.h. */
57730 #include <math.h>
57732 main ()
57734 powl(0, 0);
57736 return 0;
57738 _ACEOF
57739 if ac_fn_cxx_try_compile "$LINENO"; then :
57740 glibcxx_cv_func_powl_use=yes
57741 else
57742 glibcxx_cv_func_powl_use=no
57744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57745 ac_ext=c
57746 ac_cpp='$CPP $CPPFLAGS'
57747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57756 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57758 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57759 for ac_func in powl
57760 do :
57761 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57762 if test "x$ac_cv_func_powl" = x""yes; then :
57763 cat >>confdefs.h <<_ACEOF
57764 #define HAVE_POWL 1
57765 _ACEOF
57768 done
57770 else
57772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57773 $as_echo_n "checking for _powl declaration... " >&6; }
57774 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57775 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57776 $as_echo_n "(cached) " >&6
57777 else
57780 ac_ext=cpp
57781 ac_cpp='$CXXCPP $CPPFLAGS'
57782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57787 /* end confdefs.h. */
57788 #include <math.h>
57790 main ()
57792 _powl(0, 0);
57794 return 0;
57796 _ACEOF
57797 if ac_fn_cxx_try_compile "$LINENO"; then :
57798 glibcxx_cv_func__powl_use=yes
57799 else
57800 glibcxx_cv_func__powl_use=no
57802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57803 ac_ext=c
57804 ac_cpp='$CPP $CPPFLAGS'
57805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57814 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57816 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57817 for ac_func in _powl
57818 do :
57819 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57820 if test "x$ac_cv_func__powl" = x""yes; then :
57821 cat >>confdefs.h <<_ACEOF
57822 #define HAVE__POWL 1
57823 _ACEOF
57826 done
57835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57836 $as_echo_n "checking for sqrtl declaration... " >&6; }
57837 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57838 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57839 $as_echo_n "(cached) " >&6
57840 else
57843 ac_ext=cpp
57844 ac_cpp='$CXXCPP $CPPFLAGS'
57845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57850 /* end confdefs.h. */
57851 #include <math.h>
57852 #ifdef HAVE_IEEEFP_H
57853 #include <ieeefp.h>
57854 #endif
57857 main ()
57859 sqrtl(0);
57861 return 0;
57863 _ACEOF
57864 if ac_fn_cxx_try_compile "$LINENO"; then :
57865 glibcxx_cv_func_sqrtl_use=yes
57866 else
57867 glibcxx_cv_func_sqrtl_use=no
57869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57870 ac_ext=c
57871 ac_cpp='$CPP $CPPFLAGS'
57872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57881 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57883 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57884 for ac_func in sqrtl
57885 do :
57886 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57887 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57888 cat >>confdefs.h <<_ACEOF
57889 #define HAVE_SQRTL 1
57890 _ACEOF
57893 done
57895 else
57897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57898 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57899 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57900 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57901 $as_echo_n "(cached) " >&6
57902 else
57905 ac_ext=cpp
57906 ac_cpp='$CXXCPP $CPPFLAGS'
57907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57912 /* end confdefs.h. */
57913 #include <math.h>
57914 #ifdef HAVE_IEEEFP_H
57915 #include <ieeefp.h>
57916 #endif
57919 main ()
57921 _sqrtl(0);
57923 return 0;
57925 _ACEOF
57926 if ac_fn_cxx_try_compile "$LINENO"; then :
57927 glibcxx_cv_func__sqrtl_use=yes
57928 else
57929 glibcxx_cv_func__sqrtl_use=no
57931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57932 ac_ext=c
57933 ac_cpp='$CPP $CPPFLAGS'
57934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57943 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57945 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57946 for ac_func in _sqrtl
57947 do :
57948 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57949 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57950 cat >>confdefs.h <<_ACEOF
57951 #define HAVE__SQRTL 1
57952 _ACEOF
57955 done
57964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57965 $as_echo_n "checking for sincosl declaration... " >&6; }
57966 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57967 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57968 $as_echo_n "(cached) " >&6
57969 else
57972 ac_ext=cpp
57973 ac_cpp='$CXXCPP $CPPFLAGS'
57974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57979 /* end confdefs.h. */
57980 #include <math.h>
57982 main ()
57984 sincosl(0, 0, 0);
57986 return 0;
57988 _ACEOF
57989 if ac_fn_cxx_try_compile "$LINENO"; then :
57990 glibcxx_cv_func_sincosl_use=yes
57991 else
57992 glibcxx_cv_func_sincosl_use=no
57994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57995 ac_ext=c
57996 ac_cpp='$CPP $CPPFLAGS'
57997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58006 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58008 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58009 for ac_func in sincosl
58010 do :
58011 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58012 if test "x$ac_cv_func_sincosl" = x""yes; then :
58013 cat >>confdefs.h <<_ACEOF
58014 #define HAVE_SINCOSL 1
58015 _ACEOF
58018 done
58020 else
58022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58023 $as_echo_n "checking for _sincosl declaration... " >&6; }
58024 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58025 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58026 $as_echo_n "(cached) " >&6
58027 else
58030 ac_ext=cpp
58031 ac_cpp='$CXXCPP $CPPFLAGS'
58032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58037 /* end confdefs.h. */
58038 #include <math.h>
58040 main ()
58042 _sincosl(0, 0, 0);
58044 return 0;
58046 _ACEOF
58047 if ac_fn_cxx_try_compile "$LINENO"; then :
58048 glibcxx_cv_func__sincosl_use=yes
58049 else
58050 glibcxx_cv_func__sincosl_use=no
58052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58053 ac_ext=c
58054 ac_cpp='$CPP $CPPFLAGS'
58055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58064 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58066 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58067 for ac_func in _sincosl
58068 do :
58069 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58070 if test "x$ac_cv_func__sincosl" = x""yes; then :
58071 cat >>confdefs.h <<_ACEOF
58072 #define HAVE__SINCOSL 1
58073 _ACEOF
58076 done
58085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58086 $as_echo_n "checking for finitel declaration... " >&6; }
58087 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58088 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58089 $as_echo_n "(cached) " >&6
58090 else
58093 ac_ext=cpp
58094 ac_cpp='$CXXCPP $CPPFLAGS'
58095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58100 /* end confdefs.h. */
58101 #include <math.h>
58102 #ifdef HAVE_IEEEFP_H
58103 #include <ieeefp.h>
58104 #endif
58107 main ()
58109 finitel(0);
58111 return 0;
58113 _ACEOF
58114 if ac_fn_cxx_try_compile "$LINENO"; then :
58115 glibcxx_cv_func_finitel_use=yes
58116 else
58117 glibcxx_cv_func_finitel_use=no
58119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58120 ac_ext=c
58121 ac_cpp='$CPP $CPPFLAGS'
58122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58131 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58133 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58134 for ac_func in finitel
58135 do :
58136 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58137 if test "x$ac_cv_func_finitel" = x""yes; then :
58138 cat >>confdefs.h <<_ACEOF
58139 #define HAVE_FINITEL 1
58140 _ACEOF
58143 done
58145 else
58147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58148 $as_echo_n "checking for _finitel declaration... " >&6; }
58149 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58150 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58151 $as_echo_n "(cached) " >&6
58152 else
58155 ac_ext=cpp
58156 ac_cpp='$CXXCPP $CPPFLAGS'
58157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58162 /* end confdefs.h. */
58163 #include <math.h>
58164 #ifdef HAVE_IEEEFP_H
58165 #include <ieeefp.h>
58166 #endif
58169 main ()
58171 _finitel(0);
58173 return 0;
58175 _ACEOF
58176 if ac_fn_cxx_try_compile "$LINENO"; then :
58177 glibcxx_cv_func__finitel_use=yes
58178 else
58179 glibcxx_cv_func__finitel_use=no
58181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58182 ac_ext=c
58183 ac_cpp='$CPP $CPPFLAGS'
58184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58193 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58195 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58196 for ac_func in _finitel
58197 do :
58198 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58199 if test "x$ac_cv_func__finitel" = x""yes; then :
58200 cat >>confdefs.h <<_ACEOF
58201 #define HAVE__FINITEL 1
58202 _ACEOF
58205 done
58213 LIBS="$ac_save_LIBS"
58214 CXXFLAGS="$ac_save_CXXFLAGS"
58217 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58218 ac_save_CXXFLAGS="$CXXFLAGS"
58219 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58223 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58224 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58225 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58226 $as_echo_n "(cached) " >&6
58227 else
58230 ac_ext=cpp
58231 ac_cpp='$CXXCPP $CPPFLAGS'
58232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58237 /* end confdefs.h. */
58238 #include <stdlib.h>
58240 main ()
58242 at_quick_exit(0);
58244 return 0;
58246 _ACEOF
58247 if ac_fn_cxx_try_compile "$LINENO"; then :
58248 glibcxx_cv_func_at_quick_exit_use=yes
58249 else
58250 glibcxx_cv_func_at_quick_exit_use=no
58252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58253 ac_ext=c
58254 ac_cpp='$CPP $CPPFLAGS'
58255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58264 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58265 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58266 for ac_func in at_quick_exit
58267 do :
58268 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58269 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58270 cat >>confdefs.h <<_ACEOF
58271 #define HAVE_AT_QUICK_EXIT 1
58272 _ACEOF
58275 done
58280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58281 $as_echo_n "checking for quick_exit declaration... " >&6; }
58282 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58283 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58284 $as_echo_n "(cached) " >&6
58285 else
58288 ac_ext=cpp
58289 ac_cpp='$CXXCPP $CPPFLAGS'
58290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58295 /* end confdefs.h. */
58296 #include <stdlib.h>
58298 main ()
58300 quick_exit(0);
58302 return 0;
58304 _ACEOF
58305 if ac_fn_cxx_try_compile "$LINENO"; then :
58306 glibcxx_cv_func_quick_exit_use=yes
58307 else
58308 glibcxx_cv_func_quick_exit_use=no
58310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58311 ac_ext=c
58312 ac_cpp='$CPP $CPPFLAGS'
58313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58322 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58323 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58324 for ac_func in quick_exit
58325 do :
58326 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58327 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58328 cat >>confdefs.h <<_ACEOF
58329 #define HAVE_QUICK_EXIT 1
58330 _ACEOF
58333 done
58338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58339 $as_echo_n "checking for strtold declaration... " >&6; }
58340 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58341 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58342 $as_echo_n "(cached) " >&6
58343 else
58346 ac_ext=cpp
58347 ac_cpp='$CXXCPP $CPPFLAGS'
58348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58353 /* end confdefs.h. */
58354 #include <stdlib.h>
58356 main ()
58358 strtold(0, 0);
58360 return 0;
58362 _ACEOF
58363 if ac_fn_cxx_try_compile "$LINENO"; then :
58364 glibcxx_cv_func_strtold_use=yes
58365 else
58366 glibcxx_cv_func_strtold_use=no
58368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58369 ac_ext=c
58370 ac_cpp='$CPP $CPPFLAGS'
58371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58380 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58381 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58382 for ac_func in strtold
58383 do :
58384 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58385 if test "x$ac_cv_func_strtold" = x""yes; then :
58386 cat >>confdefs.h <<_ACEOF
58387 #define HAVE_STRTOLD 1
58388 _ACEOF
58391 done
58398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58399 $as_echo_n "checking for strtof declaration... " >&6; }
58400 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58401 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58402 $as_echo_n "(cached) " >&6
58403 else
58406 ac_ext=cpp
58407 ac_cpp='$CXXCPP $CPPFLAGS'
58408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58413 /* end confdefs.h. */
58414 #include <stdlib.h>
58416 main ()
58418 strtof(0, 0);
58420 return 0;
58422 _ACEOF
58423 if ac_fn_cxx_try_compile "$LINENO"; then :
58424 glibcxx_cv_func_strtof_use=yes
58425 else
58426 glibcxx_cv_func_strtof_use=no
58428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58429 ac_ext=c
58430 ac_cpp='$CPP $CPPFLAGS'
58431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58440 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58441 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58442 for ac_func in strtof
58443 do :
58444 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58445 if test "x$ac_cv_func_strtof" = x""yes; then :
58446 cat >>confdefs.h <<_ACEOF
58447 #define HAVE_STRTOF 1
58448 _ACEOF
58451 done
58458 CXXFLAGS="$ac_save_CXXFLAGS"
58460 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58464 # Check whether --enable-tls was given.
58465 if test "${enable_tls+set}" = set; then :
58466 enableval=$enable_tls;
58467 case "$enableval" in
58468 yes|no) ;;
58469 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58470 esac
58472 else
58473 enable_tls=yes
58477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58478 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58479 if test "${gcc_cv_have_tls+set}" = set; then :
58480 $as_echo_n "(cached) " >&6
58481 else
58483 if test "$cross_compiling" = yes; then :
58484 if test x$gcc_no_link = xyes; then
58485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58488 /* end confdefs.h. */
58489 __thread int a; int b; int main() { return a = b; }
58490 _ACEOF
58491 if ac_fn_c_try_link "$LINENO"; then :
58492 chktls_save_LDFLAGS="$LDFLAGS"
58493 case $host in
58494 *-*-linux*)
58495 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58497 esac
58498 chktls_save_CFLAGS="$CFLAGS"
58499 CFLAGS="-fPIC $CFLAGS"
58500 if test x$gcc_no_link = xyes; then
58501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58504 /* end confdefs.h. */
58505 int f() { return 0; }
58506 _ACEOF
58507 if ac_fn_c_try_link "$LINENO"; then :
58508 if test x$gcc_no_link = xyes; then
58509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58512 /* end confdefs.h. */
58513 __thread int a; int b; int f() { return a = b; }
58514 _ACEOF
58515 if ac_fn_c_try_link "$LINENO"; then :
58516 gcc_cv_have_tls=yes
58517 else
58518 gcc_cv_have_tls=no
58520 rm -f core conftest.err conftest.$ac_objext \
58521 conftest$ac_exeext conftest.$ac_ext
58522 else
58523 gcc_cv_have_tls=yes
58525 rm -f core conftest.err conftest.$ac_objext \
58526 conftest$ac_exeext conftest.$ac_ext
58527 CFLAGS="$chktls_save_CFLAGS"
58528 LDFLAGS="$chktls_save_LDFLAGS"
58529 else
58530 gcc_cv_have_tls=no
58532 rm -f core conftest.err conftest.$ac_objext \
58533 conftest$ac_exeext conftest.$ac_ext
58536 else
58537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58538 /* end confdefs.h. */
58539 __thread int a; int b; int main() { return a = b; }
58540 _ACEOF
58541 if ac_fn_c_try_run "$LINENO"; then :
58542 chktls_save_LDFLAGS="$LDFLAGS"
58543 LDFLAGS="-static $LDFLAGS"
58544 if test x$gcc_no_link = xyes; then
58545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58548 /* end confdefs.h. */
58549 int main() { return 0; }
58550 _ACEOF
58551 if ac_fn_c_try_link "$LINENO"; then :
58552 if test "$cross_compiling" = yes; then :
58553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58555 as_fn_error "cannot run test program while cross compiling
58556 See \`config.log' for more details." "$LINENO" 5; }
58557 else
58558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58559 /* end confdefs.h. */
58560 __thread int a; int b; int main() { return a = b; }
58561 _ACEOF
58562 if ac_fn_c_try_run "$LINENO"; then :
58563 gcc_cv_have_tls=yes
58564 else
58565 gcc_cv_have_tls=no
58567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58568 conftest.$ac_objext conftest.beam conftest.$ac_ext
58571 else
58572 gcc_cv_have_tls=yes
58574 rm -f core conftest.err conftest.$ac_objext \
58575 conftest$ac_exeext conftest.$ac_ext
58576 LDFLAGS="$chktls_save_LDFLAGS"
58577 if test $gcc_cv_have_tls = yes; then
58578 chktls_save_CFLAGS="$CFLAGS"
58579 thread_CFLAGS=failed
58580 for flag in '' '-pthread' '-lpthread'; do
58581 CFLAGS="$flag $chktls_save_CFLAGS"
58582 if test x$gcc_no_link = xyes; then
58583 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58586 /* end confdefs.h. */
58587 #include <pthread.h>
58588 void *g(void *d) { return NULL; }
58590 main ()
58592 pthread_t t; pthread_create(&t,NULL,g,NULL);
58594 return 0;
58596 _ACEOF
58597 if ac_fn_c_try_link "$LINENO"; then :
58598 thread_CFLAGS="$flag"
58600 rm -f core conftest.err conftest.$ac_objext \
58601 conftest$ac_exeext conftest.$ac_ext
58602 if test "X$thread_CFLAGS" != Xfailed; then
58603 break
58605 done
58606 CFLAGS="$chktls_save_CFLAGS"
58607 if test "X$thread_CFLAGS" != Xfailed; then
58608 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58609 if test "$cross_compiling" = yes; then :
58610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58612 as_fn_error "cannot run test program while cross compiling
58613 See \`config.log' for more details." "$LINENO" 5; }
58614 else
58615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58616 /* end confdefs.h. */
58617 #include <pthread.h>
58618 __thread int a;
58619 static int *volatile a_in_other_thread;
58620 static void *
58621 thread_func (void *arg)
58623 a_in_other_thread = &a;
58624 return (void *)0;
58627 main ()
58629 pthread_t thread;
58630 void *thread_retval;
58631 int *volatile a_in_main_thread;
58632 a_in_main_thread = &a;
58633 if (pthread_create (&thread, (pthread_attr_t *)0,
58634 thread_func, (void *)0))
58635 return 0;
58636 if (pthread_join (thread, &thread_retval))
58637 return 0;
58638 return (a_in_other_thread == a_in_main_thread);
58640 return 0;
58642 _ACEOF
58643 if ac_fn_c_try_run "$LINENO"; then :
58644 gcc_cv_have_tls=yes
58645 else
58646 gcc_cv_have_tls=no
58648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58649 conftest.$ac_objext conftest.beam conftest.$ac_ext
58652 CFLAGS="$chktls_save_CFLAGS"
58655 else
58656 gcc_cv_have_tls=no
58658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58659 conftest.$ac_objext conftest.beam conftest.$ac_ext
58663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58664 $as_echo "$gcc_cv_have_tls" >&6; }
58665 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58667 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58675 am_save_CPPFLAGS="$CPPFLAGS"
58677 for element in $INCICONV; do
58678 haveit=
58679 for x in $CPPFLAGS; do
58681 acl_save_prefix="$prefix"
58682 prefix="$acl_final_prefix"
58683 acl_save_exec_prefix="$exec_prefix"
58684 exec_prefix="$acl_final_exec_prefix"
58685 eval x=\"$x\"
58686 exec_prefix="$acl_save_exec_prefix"
58687 prefix="$acl_save_prefix"
58689 if test "X$x" = "X$element"; then
58690 haveit=yes
58691 break
58693 done
58694 if test -z "$haveit"; then
58695 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58697 done
58700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58701 $as_echo_n "checking for iconv... " >&6; }
58702 if test "${am_cv_func_iconv+set}" = set; then :
58703 $as_echo_n "(cached) " >&6
58704 else
58706 am_cv_func_iconv="no, consider installing GNU libiconv"
58707 am_cv_lib_iconv=no
58708 if test x$gcc_no_link = xyes; then
58709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58712 /* end confdefs.h. */
58713 #include <stdlib.h>
58714 #include <iconv.h>
58716 main ()
58718 iconv_t cd = iconv_open("","");
58719 iconv(cd,NULL,NULL,NULL,NULL);
58720 iconv_close(cd);
58722 return 0;
58724 _ACEOF
58725 if ac_fn_c_try_link "$LINENO"; then :
58726 am_cv_func_iconv=yes
58728 rm -f core conftest.err conftest.$ac_objext \
58729 conftest$ac_exeext conftest.$ac_ext
58730 if test "$am_cv_func_iconv" != yes; then
58731 am_save_LIBS="$LIBS"
58732 LIBS="$LIBS $LIBICONV"
58733 if test x$gcc_no_link = xyes; then
58734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58737 /* end confdefs.h. */
58738 #include <stdlib.h>
58739 #include <iconv.h>
58741 main ()
58743 iconv_t cd = iconv_open("","");
58744 iconv(cd,NULL,NULL,NULL,NULL);
58745 iconv_close(cd);
58747 return 0;
58749 _ACEOF
58750 if ac_fn_c_try_link "$LINENO"; then :
58751 am_cv_lib_iconv=yes
58752 am_cv_func_iconv=yes
58754 rm -f core conftest.err conftest.$ac_objext \
58755 conftest$ac_exeext conftest.$ac_ext
58756 LIBS="$am_save_LIBS"
58760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58761 $as_echo "$am_cv_func_iconv" >&6; }
58762 if test "$am_cv_func_iconv" = yes; then
58764 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58767 if test "$am_cv_lib_iconv" = yes; then
58768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58769 $as_echo_n "checking how to link with libiconv... " >&6; }
58770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58771 $as_echo "$LIBICONV" >&6; }
58772 else
58773 CPPFLAGS="$am_save_CPPFLAGS"
58774 LIBICONV=
58775 LTLIBICONV=
58780 if test "$am_cv_func_iconv" = yes; then
58781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58782 $as_echo_n "checking for iconv declaration... " >&6; }
58783 if test "${am_cv_proto_iconv+set}" = set; then :
58784 $as_echo_n "(cached) " >&6
58785 else
58787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58788 /* end confdefs.h. */
58790 #include <stdlib.h>
58791 #include <iconv.h>
58792 extern
58793 #ifdef __cplusplus
58795 #endif
58796 #if defined(__STDC__) || defined(__cplusplus)
58797 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58798 #else
58799 size_t iconv();
58800 #endif
58803 main ()
58807 return 0;
58809 _ACEOF
58810 if ac_fn_c_try_compile "$LINENO"; then :
58811 am_cv_proto_iconv_arg1=""
58812 else
58813 am_cv_proto_iconv_arg1="const"
58815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58816 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);"
58819 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58821 }$am_cv_proto_iconv" >&5
58822 $as_echo "${ac_t:-
58823 }$am_cv_proto_iconv" >&6; }
58825 cat >>confdefs.h <<_ACEOF
58826 #define ICONV_CONST $am_cv_proto_iconv_arg1
58827 _ACEOF
58832 *-mingw32*)
58834 # If we're not using GNU ld, then there's no point in even trying these
58835 # tests. Check for that first. We should have already tested for gld
58836 # by now (in libtool), but require it now just to be safe...
58837 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58838 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58842 # The name set by libtool depends on the version of libtool. Shame on us
58843 # for depending on an impl detail, but c'est la vie. Older versions used
58844 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58845 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58846 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58847 # set (hence we're using an older libtool), then set it.
58848 if test x${with_gnu_ld+set} != xset; then
58849 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58850 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58851 with_gnu_ld=no
58852 else
58853 with_gnu_ld=$ac_cv_prog_gnu_ld
58857 # Start by getting the version number. I think the libtool test already
58858 # does some of this, but throws away the result.
58859 glibcxx_ld_is_gold=no
58860 if test x"$with_gnu_ld" = x"yes"; then
58861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58862 $as_echo_n "checking for ld version... " >&6; }
58864 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58865 glibcxx_ld_is_gold=yes
58867 ldver=`$LD --version 2>/dev/null |
58868 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'`
58870 glibcxx_gnu_ld_version=`echo $ldver | \
58871 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58873 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58876 # Set --gc-sections.
58877 glibcxx_have_gc_sections=no
58878 if test "$glibcxx_ld_is_gold" = "yes"; then
58879 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58880 glibcxx_have_gc_sections=yes
58882 else
58883 glibcxx_gcsections_min_ld=21602
58884 if test x"$with_gnu_ld" = x"yes" &&
58885 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58886 glibcxx_have_gc_sections=yes
58889 if test "$glibcxx_have_gc_sections" = "yes"; then
58890 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58891 # NB: This flag only works reliably after 2.16.1. Configure tests
58892 # for this are difficult, so hard wire a value that should work.
58894 ac_test_CFLAGS="${CFLAGS+set}"
58895 ac_save_CFLAGS="$CFLAGS"
58896 CFLAGS='-Wl,--gc-sections'
58898 # Check for -Wl,--gc-sections
58899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58900 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58901 if test x$gcc_no_link = xyes; then
58902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58905 /* end confdefs.h. */
58906 int one(void) { return 1; }
58907 int two(void) { return 2; }
58910 main ()
58912 two();
58914 return 0;
58916 _ACEOF
58917 if ac_fn_c_try_link "$LINENO"; then :
58918 ac_gcsections=yes
58919 else
58920 ac_gcsections=no
58922 rm -f core conftest.err conftest.$ac_objext \
58923 conftest$ac_exeext conftest.$ac_ext
58924 if test "$ac_gcsections" = "yes"; then
58925 rm -f conftest.c
58926 touch conftest.c
58927 if $CC -c conftest.c; then
58928 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58929 grep "Warning: gc-sections option ignored" > /dev/null; then
58930 ac_gcsections=no
58933 rm -f conftest.c conftest.o conftest
58935 if test "$ac_gcsections" = "yes"; then
58936 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58939 $as_echo "$ac_gcsections" >&6; }
58941 if test "$ac_test_CFLAGS" = set; then
58942 CFLAGS="$ac_save_CFLAGS"
58943 else
58944 # this is the suspicious part
58945 CFLAGS=''
58949 # Set -z,relro.
58950 # Note this is only for shared objects.
58951 ac_ld_relro=no
58952 if test x"$with_gnu_ld" = x"yes"; then
58953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58954 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58955 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58956 if test -n "$cxx_z_relo"; then
58957 OPT_LDFLAGS="-Wl,-z,relro"
58958 ac_ld_relro=yes
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58961 $as_echo "$ac_ld_relro" >&6; }
58964 # Set linker optimization flags.
58965 if test x"$with_gnu_ld" = x"yes"; then
58966 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58973 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58974 ac_save_CXXFLAGS="$CXXFLAGS"
58975 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58978 $as_echo_n "checking for sin in -lm... " >&6; }
58979 if test "${ac_cv_lib_m_sin+set}" = set; then :
58980 $as_echo_n "(cached) " >&6
58981 else
58982 ac_check_lib_save_LIBS=$LIBS
58983 LIBS="-lm $LIBS"
58984 if test x$gcc_no_link = xyes; then
58985 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58988 /* end confdefs.h. */
58990 /* Override any GCC internal prototype to avoid an error.
58991 Use char because int might match the return type of a GCC
58992 builtin and then its argument prototype would still apply. */
58993 #ifdef __cplusplus
58994 extern "C"
58995 #endif
58996 char sin ();
58998 main ()
59000 return sin ();
59002 return 0;
59004 _ACEOF
59005 if ac_fn_c_try_link "$LINENO"; then :
59006 ac_cv_lib_m_sin=yes
59007 else
59008 ac_cv_lib_m_sin=no
59010 rm -f core conftest.err conftest.$ac_objext \
59011 conftest$ac_exeext conftest.$ac_ext
59012 LIBS=$ac_check_lib_save_LIBS
59014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59015 $as_echo "$ac_cv_lib_m_sin" >&6; }
59016 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59017 libm="-lm"
59020 ac_save_LIBS="$LIBS"
59021 LIBS="$LIBS $libm"
59025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59026 $as_echo_n "checking for isinf declaration... " >&6; }
59027 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59028 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59029 $as_echo_n "(cached) " >&6
59030 else
59033 ac_ext=cpp
59034 ac_cpp='$CXXCPP $CPPFLAGS'
59035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59040 /* end confdefs.h. */
59041 #include <math.h>
59042 #ifdef HAVE_IEEEFP_H
59043 #include <ieeefp.h>
59044 #endif
59047 main ()
59049 isinf(0);
59051 return 0;
59053 _ACEOF
59054 if ac_fn_cxx_try_compile "$LINENO"; then :
59055 glibcxx_cv_func_isinf_use=yes
59056 else
59057 glibcxx_cv_func_isinf_use=no
59059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59060 ac_ext=c
59061 ac_cpp='$CPP $CPPFLAGS'
59062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59071 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59073 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59074 for ac_func in isinf
59075 do :
59076 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59077 if test "x$ac_cv_func_isinf" = x""yes; then :
59078 cat >>confdefs.h <<_ACEOF
59079 #define HAVE_ISINF 1
59080 _ACEOF
59083 done
59085 else
59087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59088 $as_echo_n "checking for _isinf declaration... " >&6; }
59089 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59090 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59091 $as_echo_n "(cached) " >&6
59092 else
59095 ac_ext=cpp
59096 ac_cpp='$CXXCPP $CPPFLAGS'
59097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59102 /* end confdefs.h. */
59103 #include <math.h>
59104 #ifdef HAVE_IEEEFP_H
59105 #include <ieeefp.h>
59106 #endif
59109 main ()
59111 _isinf(0);
59113 return 0;
59115 _ACEOF
59116 if ac_fn_cxx_try_compile "$LINENO"; then :
59117 glibcxx_cv_func__isinf_use=yes
59118 else
59119 glibcxx_cv_func__isinf_use=no
59121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59122 ac_ext=c
59123 ac_cpp='$CPP $CPPFLAGS'
59124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59133 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59135 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59136 for ac_func in _isinf
59137 do :
59138 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59139 if test "x$ac_cv_func__isinf" = x""yes; then :
59140 cat >>confdefs.h <<_ACEOF
59141 #define HAVE__ISINF 1
59142 _ACEOF
59145 done
59154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59155 $as_echo_n "checking for isnan declaration... " >&6; }
59156 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59157 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59158 $as_echo_n "(cached) " >&6
59159 else
59162 ac_ext=cpp
59163 ac_cpp='$CXXCPP $CPPFLAGS'
59164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59169 /* end confdefs.h. */
59170 #include <math.h>
59171 #ifdef HAVE_IEEEFP_H
59172 #include <ieeefp.h>
59173 #endif
59176 main ()
59178 isnan(0);
59180 return 0;
59182 _ACEOF
59183 if ac_fn_cxx_try_compile "$LINENO"; then :
59184 glibcxx_cv_func_isnan_use=yes
59185 else
59186 glibcxx_cv_func_isnan_use=no
59188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59189 ac_ext=c
59190 ac_cpp='$CPP $CPPFLAGS'
59191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59200 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59202 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59203 for ac_func in isnan
59204 do :
59205 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59206 if test "x$ac_cv_func_isnan" = x""yes; then :
59207 cat >>confdefs.h <<_ACEOF
59208 #define HAVE_ISNAN 1
59209 _ACEOF
59212 done
59214 else
59216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59217 $as_echo_n "checking for _isnan declaration... " >&6; }
59218 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59219 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59220 $as_echo_n "(cached) " >&6
59221 else
59224 ac_ext=cpp
59225 ac_cpp='$CXXCPP $CPPFLAGS'
59226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59231 /* end confdefs.h. */
59232 #include <math.h>
59233 #ifdef HAVE_IEEEFP_H
59234 #include <ieeefp.h>
59235 #endif
59238 main ()
59240 _isnan(0);
59242 return 0;
59244 _ACEOF
59245 if ac_fn_cxx_try_compile "$LINENO"; then :
59246 glibcxx_cv_func__isnan_use=yes
59247 else
59248 glibcxx_cv_func__isnan_use=no
59250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59251 ac_ext=c
59252 ac_cpp='$CPP $CPPFLAGS'
59253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59262 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59264 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59265 for ac_func in _isnan
59266 do :
59267 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59268 if test "x$ac_cv_func__isnan" = x""yes; then :
59269 cat >>confdefs.h <<_ACEOF
59270 #define HAVE__ISNAN 1
59271 _ACEOF
59274 done
59283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59284 $as_echo_n "checking for finite declaration... " >&6; }
59285 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59286 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59287 $as_echo_n "(cached) " >&6
59288 else
59291 ac_ext=cpp
59292 ac_cpp='$CXXCPP $CPPFLAGS'
59293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59298 /* end confdefs.h. */
59299 #include <math.h>
59300 #ifdef HAVE_IEEEFP_H
59301 #include <ieeefp.h>
59302 #endif
59305 main ()
59307 finite(0);
59309 return 0;
59311 _ACEOF
59312 if ac_fn_cxx_try_compile "$LINENO"; then :
59313 glibcxx_cv_func_finite_use=yes
59314 else
59315 glibcxx_cv_func_finite_use=no
59317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59318 ac_ext=c
59319 ac_cpp='$CPP $CPPFLAGS'
59320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59329 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59331 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59332 for ac_func in finite
59333 do :
59334 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59335 if test "x$ac_cv_func_finite" = x""yes; then :
59336 cat >>confdefs.h <<_ACEOF
59337 #define HAVE_FINITE 1
59338 _ACEOF
59341 done
59343 else
59345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59346 $as_echo_n "checking for _finite declaration... " >&6; }
59347 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59348 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59349 $as_echo_n "(cached) " >&6
59350 else
59353 ac_ext=cpp
59354 ac_cpp='$CXXCPP $CPPFLAGS'
59355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59360 /* end confdefs.h. */
59361 #include <math.h>
59362 #ifdef HAVE_IEEEFP_H
59363 #include <ieeefp.h>
59364 #endif
59367 main ()
59369 _finite(0);
59371 return 0;
59373 _ACEOF
59374 if ac_fn_cxx_try_compile "$LINENO"; then :
59375 glibcxx_cv_func__finite_use=yes
59376 else
59377 glibcxx_cv_func__finite_use=no
59379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59380 ac_ext=c
59381 ac_cpp='$CPP $CPPFLAGS'
59382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59391 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59393 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59394 for ac_func in _finite
59395 do :
59396 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59397 if test "x$ac_cv_func__finite" = x""yes; then :
59398 cat >>confdefs.h <<_ACEOF
59399 #define HAVE__FINITE 1
59400 _ACEOF
59403 done
59412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59413 $as_echo_n "checking for sincos declaration... " >&6; }
59414 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59415 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59416 $as_echo_n "(cached) " >&6
59417 else
59420 ac_ext=cpp
59421 ac_cpp='$CXXCPP $CPPFLAGS'
59422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59427 /* end confdefs.h. */
59428 #include <math.h>
59430 main ()
59432 sincos(0, 0, 0);
59434 return 0;
59436 _ACEOF
59437 if ac_fn_cxx_try_compile "$LINENO"; then :
59438 glibcxx_cv_func_sincos_use=yes
59439 else
59440 glibcxx_cv_func_sincos_use=no
59442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59443 ac_ext=c
59444 ac_cpp='$CPP $CPPFLAGS'
59445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59454 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59456 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59457 for ac_func in sincos
59458 do :
59459 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59460 if test "x$ac_cv_func_sincos" = x""yes; then :
59461 cat >>confdefs.h <<_ACEOF
59462 #define HAVE_SINCOS 1
59463 _ACEOF
59466 done
59468 else
59470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59471 $as_echo_n "checking for _sincos declaration... " >&6; }
59472 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59473 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59474 $as_echo_n "(cached) " >&6
59475 else
59478 ac_ext=cpp
59479 ac_cpp='$CXXCPP $CPPFLAGS'
59480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59485 /* end confdefs.h. */
59486 #include <math.h>
59488 main ()
59490 _sincos(0, 0, 0);
59492 return 0;
59494 _ACEOF
59495 if ac_fn_cxx_try_compile "$LINENO"; then :
59496 glibcxx_cv_func__sincos_use=yes
59497 else
59498 glibcxx_cv_func__sincos_use=no
59500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59501 ac_ext=c
59502 ac_cpp='$CPP $CPPFLAGS'
59503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59512 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59514 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59515 for ac_func in _sincos
59516 do :
59517 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59518 if test "x$ac_cv_func__sincos" = x""yes; then :
59519 cat >>confdefs.h <<_ACEOF
59520 #define HAVE__SINCOS 1
59521 _ACEOF
59524 done
59533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59534 $as_echo_n "checking for fpclass declaration... " >&6; }
59535 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59536 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59537 $as_echo_n "(cached) " >&6
59538 else
59541 ac_ext=cpp
59542 ac_cpp='$CXXCPP $CPPFLAGS'
59543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59548 /* end confdefs.h. */
59549 #include <math.h>
59550 #ifdef HAVE_IEEEFP_H
59551 #include <ieeefp.h>
59552 #endif
59555 main ()
59557 fpclass(0);
59559 return 0;
59561 _ACEOF
59562 if ac_fn_cxx_try_compile "$LINENO"; then :
59563 glibcxx_cv_func_fpclass_use=yes
59564 else
59565 glibcxx_cv_func_fpclass_use=no
59567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59568 ac_ext=c
59569 ac_cpp='$CPP $CPPFLAGS'
59570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59579 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59581 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59582 for ac_func in fpclass
59583 do :
59584 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59585 if test "x$ac_cv_func_fpclass" = x""yes; then :
59586 cat >>confdefs.h <<_ACEOF
59587 #define HAVE_FPCLASS 1
59588 _ACEOF
59591 done
59593 else
59595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59596 $as_echo_n "checking for _fpclass declaration... " >&6; }
59597 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59598 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59599 $as_echo_n "(cached) " >&6
59600 else
59603 ac_ext=cpp
59604 ac_cpp='$CXXCPP $CPPFLAGS'
59605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59610 /* end confdefs.h. */
59611 #include <math.h>
59612 #ifdef HAVE_IEEEFP_H
59613 #include <ieeefp.h>
59614 #endif
59617 main ()
59619 _fpclass(0);
59621 return 0;
59623 _ACEOF
59624 if ac_fn_cxx_try_compile "$LINENO"; then :
59625 glibcxx_cv_func__fpclass_use=yes
59626 else
59627 glibcxx_cv_func__fpclass_use=no
59629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59630 ac_ext=c
59631 ac_cpp='$CPP $CPPFLAGS'
59632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59641 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59643 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59644 for ac_func in _fpclass
59645 do :
59646 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59647 if test "x$ac_cv_func__fpclass" = x""yes; then :
59648 cat >>confdefs.h <<_ACEOF
59649 #define HAVE__FPCLASS 1
59650 _ACEOF
59653 done
59662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59663 $as_echo_n "checking for qfpclass declaration... " >&6; }
59664 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59665 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59666 $as_echo_n "(cached) " >&6
59667 else
59670 ac_ext=cpp
59671 ac_cpp='$CXXCPP $CPPFLAGS'
59672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59677 /* end confdefs.h. */
59678 #include <math.h>
59679 #ifdef HAVE_IEEEFP_H
59680 #include <ieeefp.h>
59681 #endif
59684 main ()
59686 qfpclass(0);
59688 return 0;
59690 _ACEOF
59691 if ac_fn_cxx_try_compile "$LINENO"; then :
59692 glibcxx_cv_func_qfpclass_use=yes
59693 else
59694 glibcxx_cv_func_qfpclass_use=no
59696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59697 ac_ext=c
59698 ac_cpp='$CPP $CPPFLAGS'
59699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59708 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59710 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59711 for ac_func in qfpclass
59712 do :
59713 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59714 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59715 cat >>confdefs.h <<_ACEOF
59716 #define HAVE_QFPCLASS 1
59717 _ACEOF
59720 done
59722 else
59724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59725 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59726 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59727 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59728 $as_echo_n "(cached) " >&6
59729 else
59732 ac_ext=cpp
59733 ac_cpp='$CXXCPP $CPPFLAGS'
59734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59739 /* end confdefs.h. */
59740 #include <math.h>
59741 #ifdef HAVE_IEEEFP_H
59742 #include <ieeefp.h>
59743 #endif
59746 main ()
59748 _qfpclass(0);
59750 return 0;
59752 _ACEOF
59753 if ac_fn_cxx_try_compile "$LINENO"; then :
59754 glibcxx_cv_func__qfpclass_use=yes
59755 else
59756 glibcxx_cv_func__qfpclass_use=no
59758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59759 ac_ext=c
59760 ac_cpp='$CPP $CPPFLAGS'
59761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59770 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59772 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59773 for ac_func in _qfpclass
59774 do :
59775 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59776 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59777 cat >>confdefs.h <<_ACEOF
59778 #define HAVE__QFPCLASS 1
59779 _ACEOF
59782 done
59791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59792 $as_echo_n "checking for hypot declaration... " >&6; }
59793 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59794 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59795 $as_echo_n "(cached) " >&6
59796 else
59799 ac_ext=cpp
59800 ac_cpp='$CXXCPP $CPPFLAGS'
59801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59806 /* end confdefs.h. */
59807 #include <math.h>
59809 main ()
59811 hypot(0, 0);
59813 return 0;
59815 _ACEOF
59816 if ac_fn_cxx_try_compile "$LINENO"; then :
59817 glibcxx_cv_func_hypot_use=yes
59818 else
59819 glibcxx_cv_func_hypot_use=no
59821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59822 ac_ext=c
59823 ac_cpp='$CPP $CPPFLAGS'
59824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59833 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59835 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59836 for ac_func in hypot
59837 do :
59838 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59839 if test "x$ac_cv_func_hypot" = x""yes; then :
59840 cat >>confdefs.h <<_ACEOF
59841 #define HAVE_HYPOT 1
59842 _ACEOF
59845 done
59847 else
59849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59850 $as_echo_n "checking for _hypot declaration... " >&6; }
59851 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59852 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59853 $as_echo_n "(cached) " >&6
59854 else
59857 ac_ext=cpp
59858 ac_cpp='$CXXCPP $CPPFLAGS'
59859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59864 /* end confdefs.h. */
59865 #include <math.h>
59867 main ()
59869 _hypot(0, 0);
59871 return 0;
59873 _ACEOF
59874 if ac_fn_cxx_try_compile "$LINENO"; then :
59875 glibcxx_cv_func__hypot_use=yes
59876 else
59877 glibcxx_cv_func__hypot_use=no
59879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59880 ac_ext=c
59881 ac_cpp='$CPP $CPPFLAGS'
59882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59891 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59893 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59894 for ac_func in _hypot
59895 do :
59896 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59897 if test "x$ac_cv_func__hypot" = x""yes; then :
59898 cat >>confdefs.h <<_ACEOF
59899 #define HAVE__HYPOT 1
59900 _ACEOF
59903 done
59912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59913 $as_echo_n "checking for float trig functions... " >&6; }
59914 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59915 $as_echo_n "(cached) " >&6
59916 else
59919 ac_ext=cpp
59920 ac_cpp='$CXXCPP $CPPFLAGS'
59921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59926 /* end confdefs.h. */
59927 #include <math.h>
59929 main ()
59931 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59933 return 0;
59935 _ACEOF
59936 if ac_fn_cxx_try_compile "$LINENO"; then :
59937 glibcxx_cv_func_float_trig_use=yes
59938 else
59939 glibcxx_cv_func_float_trig_use=no
59941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59942 ac_ext=c
59943 ac_cpp='$CPP $CPPFLAGS'
59944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59951 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59952 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59953 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59954 do :
59955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59957 eval as_val=\$$as_ac_var
59958 if test "x$as_val" = x""yes; then :
59959 cat >>confdefs.h <<_ACEOF
59960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59961 _ACEOF
59964 done
59966 else
59967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59968 $as_echo_n "checking for _float trig functions... " >&6; }
59969 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59970 $as_echo_n "(cached) " >&6
59971 else
59974 ac_ext=cpp
59975 ac_cpp='$CXXCPP $CPPFLAGS'
59976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59981 /* end confdefs.h. */
59982 #include <math.h>
59984 main ()
59986 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59988 return 0;
59990 _ACEOF
59991 if ac_fn_cxx_try_compile "$LINENO"; then :
59992 glibcxx_cv_func__float_trig_use=yes
59993 else
59994 glibcxx_cv_func__float_trig_use=no
59996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59997 ac_ext=c
59998 ac_cpp='$CPP $CPPFLAGS'
59999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60006 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60007 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60008 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60009 do :
60010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60012 eval as_val=\$$as_ac_var
60013 if test "x$as_val" = x""yes; then :
60014 cat >>confdefs.h <<_ACEOF
60015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60016 _ACEOF
60019 done
60028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60029 $as_echo_n "checking for float round functions... " >&6; }
60030 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60031 $as_echo_n "(cached) " >&6
60032 else
60035 ac_ext=cpp
60036 ac_cpp='$CXXCPP $CPPFLAGS'
60037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60042 /* end confdefs.h. */
60043 #include <math.h>
60045 main ()
60047 ceilf (0); floorf (0);
60049 return 0;
60051 _ACEOF
60052 if ac_fn_cxx_try_compile "$LINENO"; then :
60053 glibcxx_cv_func_float_round_use=yes
60054 else
60055 glibcxx_cv_func_float_round_use=no
60057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60058 ac_ext=c
60059 ac_cpp='$CPP $CPPFLAGS'
60060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60067 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60068 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60069 for ac_func in ceilf floorf
60070 do :
60071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60073 eval as_val=\$$as_ac_var
60074 if test "x$as_val" = x""yes; then :
60075 cat >>confdefs.h <<_ACEOF
60076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60077 _ACEOF
60080 done
60082 else
60083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60084 $as_echo_n "checking for _float round functions... " >&6; }
60085 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60086 $as_echo_n "(cached) " >&6
60087 else
60090 ac_ext=cpp
60091 ac_cpp='$CXXCPP $CPPFLAGS'
60092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60097 /* end confdefs.h. */
60098 #include <math.h>
60100 main ()
60102 _ceilf (0); _floorf (0);
60104 return 0;
60106 _ACEOF
60107 if ac_fn_cxx_try_compile "$LINENO"; then :
60108 glibcxx_cv_func__float_round_use=yes
60109 else
60110 glibcxx_cv_func__float_round_use=no
60112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60113 ac_ext=c
60114 ac_cpp='$CPP $CPPFLAGS'
60115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60122 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60123 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60124 for ac_func in _ceilf _floorf
60125 do :
60126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60128 eval as_val=\$$as_ac_var
60129 if test "x$as_val" = x""yes; then :
60130 cat >>confdefs.h <<_ACEOF
60131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60132 _ACEOF
60135 done
60145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60146 $as_echo_n "checking for expf declaration... " >&6; }
60147 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60148 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60149 $as_echo_n "(cached) " >&6
60150 else
60153 ac_ext=cpp
60154 ac_cpp='$CXXCPP $CPPFLAGS'
60155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60160 /* end confdefs.h. */
60161 #include <math.h>
60162 #ifdef HAVE_IEEEFP_H
60163 #include <ieeefp.h>
60164 #endif
60167 main ()
60169 expf(0);
60171 return 0;
60173 _ACEOF
60174 if ac_fn_cxx_try_compile "$LINENO"; then :
60175 glibcxx_cv_func_expf_use=yes
60176 else
60177 glibcxx_cv_func_expf_use=no
60179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60180 ac_ext=c
60181 ac_cpp='$CPP $CPPFLAGS'
60182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60191 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60193 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60194 for ac_func in expf
60195 do :
60196 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60197 if test "x$ac_cv_func_expf" = x""yes; then :
60198 cat >>confdefs.h <<_ACEOF
60199 #define HAVE_EXPF 1
60200 _ACEOF
60203 done
60205 else
60207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60208 $as_echo_n "checking for _expf declaration... " >&6; }
60209 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60210 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60211 $as_echo_n "(cached) " >&6
60212 else
60215 ac_ext=cpp
60216 ac_cpp='$CXXCPP $CPPFLAGS'
60217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60222 /* end confdefs.h. */
60223 #include <math.h>
60224 #ifdef HAVE_IEEEFP_H
60225 #include <ieeefp.h>
60226 #endif
60229 main ()
60231 _expf(0);
60233 return 0;
60235 _ACEOF
60236 if ac_fn_cxx_try_compile "$LINENO"; then :
60237 glibcxx_cv_func__expf_use=yes
60238 else
60239 glibcxx_cv_func__expf_use=no
60241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60242 ac_ext=c
60243 ac_cpp='$CPP $CPPFLAGS'
60244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60253 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60255 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60256 for ac_func in _expf
60257 do :
60258 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60259 if test "x$ac_cv_func__expf" = x""yes; then :
60260 cat >>confdefs.h <<_ACEOF
60261 #define HAVE__EXPF 1
60262 _ACEOF
60265 done
60274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60275 $as_echo_n "checking for isnanf declaration... " >&6; }
60276 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60277 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60278 $as_echo_n "(cached) " >&6
60279 else
60282 ac_ext=cpp
60283 ac_cpp='$CXXCPP $CPPFLAGS'
60284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60289 /* end confdefs.h. */
60290 #include <math.h>
60291 #ifdef HAVE_IEEEFP_H
60292 #include <ieeefp.h>
60293 #endif
60296 main ()
60298 isnanf(0);
60300 return 0;
60302 _ACEOF
60303 if ac_fn_cxx_try_compile "$LINENO"; then :
60304 glibcxx_cv_func_isnanf_use=yes
60305 else
60306 glibcxx_cv_func_isnanf_use=no
60308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60309 ac_ext=c
60310 ac_cpp='$CPP $CPPFLAGS'
60311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60320 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60322 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60323 for ac_func in isnanf
60324 do :
60325 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60326 if test "x$ac_cv_func_isnanf" = x""yes; then :
60327 cat >>confdefs.h <<_ACEOF
60328 #define HAVE_ISNANF 1
60329 _ACEOF
60332 done
60334 else
60336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60337 $as_echo_n "checking for _isnanf declaration... " >&6; }
60338 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60339 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60340 $as_echo_n "(cached) " >&6
60341 else
60344 ac_ext=cpp
60345 ac_cpp='$CXXCPP $CPPFLAGS'
60346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60351 /* end confdefs.h. */
60352 #include <math.h>
60353 #ifdef HAVE_IEEEFP_H
60354 #include <ieeefp.h>
60355 #endif
60358 main ()
60360 _isnanf(0);
60362 return 0;
60364 _ACEOF
60365 if ac_fn_cxx_try_compile "$LINENO"; then :
60366 glibcxx_cv_func__isnanf_use=yes
60367 else
60368 glibcxx_cv_func__isnanf_use=no
60370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60371 ac_ext=c
60372 ac_cpp='$CPP $CPPFLAGS'
60373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60382 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60384 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60385 for ac_func in _isnanf
60386 do :
60387 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60388 if test "x$ac_cv_func__isnanf" = x""yes; then :
60389 cat >>confdefs.h <<_ACEOF
60390 #define HAVE__ISNANF 1
60391 _ACEOF
60394 done
60403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60404 $as_echo_n "checking for isinff declaration... " >&6; }
60405 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60406 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60407 $as_echo_n "(cached) " >&6
60408 else
60411 ac_ext=cpp
60412 ac_cpp='$CXXCPP $CPPFLAGS'
60413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60418 /* end confdefs.h. */
60419 #include <math.h>
60420 #ifdef HAVE_IEEEFP_H
60421 #include <ieeefp.h>
60422 #endif
60425 main ()
60427 isinff(0);
60429 return 0;
60431 _ACEOF
60432 if ac_fn_cxx_try_compile "$LINENO"; then :
60433 glibcxx_cv_func_isinff_use=yes
60434 else
60435 glibcxx_cv_func_isinff_use=no
60437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60438 ac_ext=c
60439 ac_cpp='$CPP $CPPFLAGS'
60440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60449 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60451 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60452 for ac_func in isinff
60453 do :
60454 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60455 if test "x$ac_cv_func_isinff" = x""yes; then :
60456 cat >>confdefs.h <<_ACEOF
60457 #define HAVE_ISINFF 1
60458 _ACEOF
60461 done
60463 else
60465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60466 $as_echo_n "checking for _isinff declaration... " >&6; }
60467 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60468 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60469 $as_echo_n "(cached) " >&6
60470 else
60473 ac_ext=cpp
60474 ac_cpp='$CXXCPP $CPPFLAGS'
60475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60480 /* end confdefs.h. */
60481 #include <math.h>
60482 #ifdef HAVE_IEEEFP_H
60483 #include <ieeefp.h>
60484 #endif
60487 main ()
60489 _isinff(0);
60491 return 0;
60493 _ACEOF
60494 if ac_fn_cxx_try_compile "$LINENO"; then :
60495 glibcxx_cv_func__isinff_use=yes
60496 else
60497 glibcxx_cv_func__isinff_use=no
60499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60500 ac_ext=c
60501 ac_cpp='$CPP $CPPFLAGS'
60502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60511 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60513 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60514 for ac_func in _isinff
60515 do :
60516 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60517 if test "x$ac_cv_func__isinff" = x""yes; then :
60518 cat >>confdefs.h <<_ACEOF
60519 #define HAVE__ISINFF 1
60520 _ACEOF
60523 done
60532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60533 $as_echo_n "checking for atan2f declaration... " >&6; }
60534 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60535 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60536 $as_echo_n "(cached) " >&6
60537 else
60540 ac_ext=cpp
60541 ac_cpp='$CXXCPP $CPPFLAGS'
60542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60547 /* end confdefs.h. */
60548 #include <math.h>
60550 main ()
60552 atan2f(0, 0);
60554 return 0;
60556 _ACEOF
60557 if ac_fn_cxx_try_compile "$LINENO"; then :
60558 glibcxx_cv_func_atan2f_use=yes
60559 else
60560 glibcxx_cv_func_atan2f_use=no
60562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60563 ac_ext=c
60564 ac_cpp='$CPP $CPPFLAGS'
60565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60574 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60576 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60577 for ac_func in atan2f
60578 do :
60579 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60580 if test "x$ac_cv_func_atan2f" = x""yes; then :
60581 cat >>confdefs.h <<_ACEOF
60582 #define HAVE_ATAN2F 1
60583 _ACEOF
60586 done
60588 else
60590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60591 $as_echo_n "checking for _atan2f declaration... " >&6; }
60592 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60593 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60594 $as_echo_n "(cached) " >&6
60595 else
60598 ac_ext=cpp
60599 ac_cpp='$CXXCPP $CPPFLAGS'
60600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60605 /* end confdefs.h. */
60606 #include <math.h>
60608 main ()
60610 _atan2f(0, 0);
60612 return 0;
60614 _ACEOF
60615 if ac_fn_cxx_try_compile "$LINENO"; then :
60616 glibcxx_cv_func__atan2f_use=yes
60617 else
60618 glibcxx_cv_func__atan2f_use=no
60620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60621 ac_ext=c
60622 ac_cpp='$CPP $CPPFLAGS'
60623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60632 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60634 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60635 for ac_func in _atan2f
60636 do :
60637 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60638 if test "x$ac_cv_func__atan2f" = x""yes; then :
60639 cat >>confdefs.h <<_ACEOF
60640 #define HAVE__ATAN2F 1
60641 _ACEOF
60644 done
60653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60654 $as_echo_n "checking for fabsf declaration... " >&6; }
60655 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60656 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60657 $as_echo_n "(cached) " >&6
60658 else
60661 ac_ext=cpp
60662 ac_cpp='$CXXCPP $CPPFLAGS'
60663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60668 /* end confdefs.h. */
60669 #include <math.h>
60670 #ifdef HAVE_IEEEFP_H
60671 #include <ieeefp.h>
60672 #endif
60675 main ()
60677 fabsf(0);
60679 return 0;
60681 _ACEOF
60682 if ac_fn_cxx_try_compile "$LINENO"; then :
60683 glibcxx_cv_func_fabsf_use=yes
60684 else
60685 glibcxx_cv_func_fabsf_use=no
60687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60688 ac_ext=c
60689 ac_cpp='$CPP $CPPFLAGS'
60690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60699 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60701 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60702 for ac_func in fabsf
60703 do :
60704 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60705 if test "x$ac_cv_func_fabsf" = x""yes; then :
60706 cat >>confdefs.h <<_ACEOF
60707 #define HAVE_FABSF 1
60708 _ACEOF
60711 done
60713 else
60715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60716 $as_echo_n "checking for _fabsf declaration... " >&6; }
60717 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60718 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60719 $as_echo_n "(cached) " >&6
60720 else
60723 ac_ext=cpp
60724 ac_cpp='$CXXCPP $CPPFLAGS'
60725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60730 /* end confdefs.h. */
60731 #include <math.h>
60732 #ifdef HAVE_IEEEFP_H
60733 #include <ieeefp.h>
60734 #endif
60737 main ()
60739 _fabsf(0);
60741 return 0;
60743 _ACEOF
60744 if ac_fn_cxx_try_compile "$LINENO"; then :
60745 glibcxx_cv_func__fabsf_use=yes
60746 else
60747 glibcxx_cv_func__fabsf_use=no
60749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60750 ac_ext=c
60751 ac_cpp='$CPP $CPPFLAGS'
60752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60761 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60763 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60764 for ac_func in _fabsf
60765 do :
60766 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60767 if test "x$ac_cv_func__fabsf" = x""yes; then :
60768 cat >>confdefs.h <<_ACEOF
60769 #define HAVE__FABSF 1
60770 _ACEOF
60773 done
60782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60783 $as_echo_n "checking for fmodf declaration... " >&6; }
60784 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60785 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60786 $as_echo_n "(cached) " >&6
60787 else
60790 ac_ext=cpp
60791 ac_cpp='$CXXCPP $CPPFLAGS'
60792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60797 /* end confdefs.h. */
60798 #include <math.h>
60800 main ()
60802 fmodf(0, 0);
60804 return 0;
60806 _ACEOF
60807 if ac_fn_cxx_try_compile "$LINENO"; then :
60808 glibcxx_cv_func_fmodf_use=yes
60809 else
60810 glibcxx_cv_func_fmodf_use=no
60812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60813 ac_ext=c
60814 ac_cpp='$CPP $CPPFLAGS'
60815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60824 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60826 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60827 for ac_func in fmodf
60828 do :
60829 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60830 if test "x$ac_cv_func_fmodf" = x""yes; then :
60831 cat >>confdefs.h <<_ACEOF
60832 #define HAVE_FMODF 1
60833 _ACEOF
60836 done
60838 else
60840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60841 $as_echo_n "checking for _fmodf declaration... " >&6; }
60842 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60843 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60844 $as_echo_n "(cached) " >&6
60845 else
60848 ac_ext=cpp
60849 ac_cpp='$CXXCPP $CPPFLAGS'
60850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60855 /* end confdefs.h. */
60856 #include <math.h>
60858 main ()
60860 _fmodf(0, 0);
60862 return 0;
60864 _ACEOF
60865 if ac_fn_cxx_try_compile "$LINENO"; then :
60866 glibcxx_cv_func__fmodf_use=yes
60867 else
60868 glibcxx_cv_func__fmodf_use=no
60870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60871 ac_ext=c
60872 ac_cpp='$CPP $CPPFLAGS'
60873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60882 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60884 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60885 for ac_func in _fmodf
60886 do :
60887 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60888 if test "x$ac_cv_func__fmodf" = x""yes; then :
60889 cat >>confdefs.h <<_ACEOF
60890 #define HAVE__FMODF 1
60891 _ACEOF
60894 done
60903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60904 $as_echo_n "checking for frexpf declaration... " >&6; }
60905 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60906 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60907 $as_echo_n "(cached) " >&6
60908 else
60911 ac_ext=cpp
60912 ac_cpp='$CXXCPP $CPPFLAGS'
60913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60918 /* end confdefs.h. */
60919 #include <math.h>
60921 main ()
60923 frexpf(0, 0);
60925 return 0;
60927 _ACEOF
60928 if ac_fn_cxx_try_compile "$LINENO"; then :
60929 glibcxx_cv_func_frexpf_use=yes
60930 else
60931 glibcxx_cv_func_frexpf_use=no
60933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60934 ac_ext=c
60935 ac_cpp='$CPP $CPPFLAGS'
60936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60945 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60947 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60948 for ac_func in frexpf
60949 do :
60950 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60951 if test "x$ac_cv_func_frexpf" = x""yes; then :
60952 cat >>confdefs.h <<_ACEOF
60953 #define HAVE_FREXPF 1
60954 _ACEOF
60957 done
60959 else
60961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60962 $as_echo_n "checking for _frexpf declaration... " >&6; }
60963 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60964 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60965 $as_echo_n "(cached) " >&6
60966 else
60969 ac_ext=cpp
60970 ac_cpp='$CXXCPP $CPPFLAGS'
60971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60976 /* end confdefs.h. */
60977 #include <math.h>
60979 main ()
60981 _frexpf(0, 0);
60983 return 0;
60985 _ACEOF
60986 if ac_fn_cxx_try_compile "$LINENO"; then :
60987 glibcxx_cv_func__frexpf_use=yes
60988 else
60989 glibcxx_cv_func__frexpf_use=no
60991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60992 ac_ext=c
60993 ac_cpp='$CPP $CPPFLAGS'
60994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61003 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61005 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61006 for ac_func in _frexpf
61007 do :
61008 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61009 if test "x$ac_cv_func__frexpf" = x""yes; then :
61010 cat >>confdefs.h <<_ACEOF
61011 #define HAVE__FREXPF 1
61012 _ACEOF
61015 done
61024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61025 $as_echo_n "checking for hypotf declaration... " >&6; }
61026 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61027 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61028 $as_echo_n "(cached) " >&6
61029 else
61032 ac_ext=cpp
61033 ac_cpp='$CXXCPP $CPPFLAGS'
61034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61039 /* end confdefs.h. */
61040 #include <math.h>
61042 main ()
61044 hypotf(0, 0);
61046 return 0;
61048 _ACEOF
61049 if ac_fn_cxx_try_compile "$LINENO"; then :
61050 glibcxx_cv_func_hypotf_use=yes
61051 else
61052 glibcxx_cv_func_hypotf_use=no
61054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61055 ac_ext=c
61056 ac_cpp='$CPP $CPPFLAGS'
61057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61066 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61068 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61069 for ac_func in hypotf
61070 do :
61071 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61072 if test "x$ac_cv_func_hypotf" = x""yes; then :
61073 cat >>confdefs.h <<_ACEOF
61074 #define HAVE_HYPOTF 1
61075 _ACEOF
61078 done
61080 else
61082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61083 $as_echo_n "checking for _hypotf declaration... " >&6; }
61084 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61085 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61086 $as_echo_n "(cached) " >&6
61087 else
61090 ac_ext=cpp
61091 ac_cpp='$CXXCPP $CPPFLAGS'
61092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61097 /* end confdefs.h. */
61098 #include <math.h>
61100 main ()
61102 _hypotf(0, 0);
61104 return 0;
61106 _ACEOF
61107 if ac_fn_cxx_try_compile "$LINENO"; then :
61108 glibcxx_cv_func__hypotf_use=yes
61109 else
61110 glibcxx_cv_func__hypotf_use=no
61112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61113 ac_ext=c
61114 ac_cpp='$CPP $CPPFLAGS'
61115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61124 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61126 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61127 for ac_func in _hypotf
61128 do :
61129 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61130 if test "x$ac_cv_func__hypotf" = x""yes; then :
61131 cat >>confdefs.h <<_ACEOF
61132 #define HAVE__HYPOTF 1
61133 _ACEOF
61136 done
61145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61146 $as_echo_n "checking for ldexpf declaration... " >&6; }
61147 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61148 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61149 $as_echo_n "(cached) " >&6
61150 else
61153 ac_ext=cpp
61154 ac_cpp='$CXXCPP $CPPFLAGS'
61155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61160 /* end confdefs.h. */
61161 #include <math.h>
61163 main ()
61165 ldexpf(0, 0);
61167 return 0;
61169 _ACEOF
61170 if ac_fn_cxx_try_compile "$LINENO"; then :
61171 glibcxx_cv_func_ldexpf_use=yes
61172 else
61173 glibcxx_cv_func_ldexpf_use=no
61175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61176 ac_ext=c
61177 ac_cpp='$CPP $CPPFLAGS'
61178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61187 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61189 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61190 for ac_func in ldexpf
61191 do :
61192 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61193 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61194 cat >>confdefs.h <<_ACEOF
61195 #define HAVE_LDEXPF 1
61196 _ACEOF
61199 done
61201 else
61203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61204 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61205 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61206 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61207 $as_echo_n "(cached) " >&6
61208 else
61211 ac_ext=cpp
61212 ac_cpp='$CXXCPP $CPPFLAGS'
61213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61218 /* end confdefs.h. */
61219 #include <math.h>
61221 main ()
61223 _ldexpf(0, 0);
61225 return 0;
61227 _ACEOF
61228 if ac_fn_cxx_try_compile "$LINENO"; then :
61229 glibcxx_cv_func__ldexpf_use=yes
61230 else
61231 glibcxx_cv_func__ldexpf_use=no
61233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61234 ac_ext=c
61235 ac_cpp='$CPP $CPPFLAGS'
61236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61245 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61247 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61248 for ac_func in _ldexpf
61249 do :
61250 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61251 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61252 cat >>confdefs.h <<_ACEOF
61253 #define HAVE__LDEXPF 1
61254 _ACEOF
61257 done
61266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61267 $as_echo_n "checking for logf declaration... " >&6; }
61268 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61269 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61270 $as_echo_n "(cached) " >&6
61271 else
61274 ac_ext=cpp
61275 ac_cpp='$CXXCPP $CPPFLAGS'
61276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61281 /* end confdefs.h. */
61282 #include <math.h>
61283 #ifdef HAVE_IEEEFP_H
61284 #include <ieeefp.h>
61285 #endif
61288 main ()
61290 logf(0);
61292 return 0;
61294 _ACEOF
61295 if ac_fn_cxx_try_compile "$LINENO"; then :
61296 glibcxx_cv_func_logf_use=yes
61297 else
61298 glibcxx_cv_func_logf_use=no
61300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61301 ac_ext=c
61302 ac_cpp='$CPP $CPPFLAGS'
61303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61312 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61314 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61315 for ac_func in logf
61316 do :
61317 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61318 if test "x$ac_cv_func_logf" = x""yes; then :
61319 cat >>confdefs.h <<_ACEOF
61320 #define HAVE_LOGF 1
61321 _ACEOF
61324 done
61326 else
61328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61329 $as_echo_n "checking for _logf declaration... " >&6; }
61330 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61331 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61332 $as_echo_n "(cached) " >&6
61333 else
61336 ac_ext=cpp
61337 ac_cpp='$CXXCPP $CPPFLAGS'
61338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61343 /* end confdefs.h. */
61344 #include <math.h>
61345 #ifdef HAVE_IEEEFP_H
61346 #include <ieeefp.h>
61347 #endif
61350 main ()
61352 _logf(0);
61354 return 0;
61356 _ACEOF
61357 if ac_fn_cxx_try_compile "$LINENO"; then :
61358 glibcxx_cv_func__logf_use=yes
61359 else
61360 glibcxx_cv_func__logf_use=no
61362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61363 ac_ext=c
61364 ac_cpp='$CPP $CPPFLAGS'
61365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61374 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61376 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61377 for ac_func in _logf
61378 do :
61379 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61380 if test "x$ac_cv_func__logf" = x""yes; then :
61381 cat >>confdefs.h <<_ACEOF
61382 #define HAVE__LOGF 1
61383 _ACEOF
61386 done
61395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61396 $as_echo_n "checking for log10f declaration... " >&6; }
61397 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61398 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61399 $as_echo_n "(cached) " >&6
61400 else
61403 ac_ext=cpp
61404 ac_cpp='$CXXCPP $CPPFLAGS'
61405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61410 /* end confdefs.h. */
61411 #include <math.h>
61412 #ifdef HAVE_IEEEFP_H
61413 #include <ieeefp.h>
61414 #endif
61417 main ()
61419 log10f(0);
61421 return 0;
61423 _ACEOF
61424 if ac_fn_cxx_try_compile "$LINENO"; then :
61425 glibcxx_cv_func_log10f_use=yes
61426 else
61427 glibcxx_cv_func_log10f_use=no
61429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61430 ac_ext=c
61431 ac_cpp='$CPP $CPPFLAGS'
61432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61441 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61443 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61444 for ac_func in log10f
61445 do :
61446 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61447 if test "x$ac_cv_func_log10f" = x""yes; then :
61448 cat >>confdefs.h <<_ACEOF
61449 #define HAVE_LOG10F 1
61450 _ACEOF
61453 done
61455 else
61457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61458 $as_echo_n "checking for _log10f declaration... " >&6; }
61459 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61460 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61461 $as_echo_n "(cached) " >&6
61462 else
61465 ac_ext=cpp
61466 ac_cpp='$CXXCPP $CPPFLAGS'
61467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61472 /* end confdefs.h. */
61473 #include <math.h>
61474 #ifdef HAVE_IEEEFP_H
61475 #include <ieeefp.h>
61476 #endif
61479 main ()
61481 _log10f(0);
61483 return 0;
61485 _ACEOF
61486 if ac_fn_cxx_try_compile "$LINENO"; then :
61487 glibcxx_cv_func__log10f_use=yes
61488 else
61489 glibcxx_cv_func__log10f_use=no
61491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61492 ac_ext=c
61493 ac_cpp='$CPP $CPPFLAGS'
61494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61503 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61505 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61506 for ac_func in _log10f
61507 do :
61508 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61509 if test "x$ac_cv_func__log10f" = x""yes; then :
61510 cat >>confdefs.h <<_ACEOF
61511 #define HAVE__LOG10F 1
61512 _ACEOF
61515 done
61524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61525 $as_echo_n "checking for modff declaration... " >&6; }
61526 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61527 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61528 $as_echo_n "(cached) " >&6
61529 else
61532 ac_ext=cpp
61533 ac_cpp='$CXXCPP $CPPFLAGS'
61534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61539 /* end confdefs.h. */
61540 #include <math.h>
61542 main ()
61544 modff(0, 0);
61546 return 0;
61548 _ACEOF
61549 if ac_fn_cxx_try_compile "$LINENO"; then :
61550 glibcxx_cv_func_modff_use=yes
61551 else
61552 glibcxx_cv_func_modff_use=no
61554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61555 ac_ext=c
61556 ac_cpp='$CPP $CPPFLAGS'
61557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61566 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61568 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61569 for ac_func in modff
61570 do :
61571 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61572 if test "x$ac_cv_func_modff" = x""yes; then :
61573 cat >>confdefs.h <<_ACEOF
61574 #define HAVE_MODFF 1
61575 _ACEOF
61578 done
61580 else
61582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61583 $as_echo_n "checking for _modff declaration... " >&6; }
61584 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61585 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61586 $as_echo_n "(cached) " >&6
61587 else
61590 ac_ext=cpp
61591 ac_cpp='$CXXCPP $CPPFLAGS'
61592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61597 /* end confdefs.h. */
61598 #include <math.h>
61600 main ()
61602 _modff(0, 0);
61604 return 0;
61606 _ACEOF
61607 if ac_fn_cxx_try_compile "$LINENO"; then :
61608 glibcxx_cv_func__modff_use=yes
61609 else
61610 glibcxx_cv_func__modff_use=no
61612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61613 ac_ext=c
61614 ac_cpp='$CPP $CPPFLAGS'
61615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61624 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61626 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61627 for ac_func in _modff
61628 do :
61629 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61630 if test "x$ac_cv_func__modff" = x""yes; then :
61631 cat >>confdefs.h <<_ACEOF
61632 #define HAVE__MODFF 1
61633 _ACEOF
61636 done
61645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61646 $as_echo_n "checking for modf declaration... " >&6; }
61647 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61648 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61649 $as_echo_n "(cached) " >&6
61650 else
61653 ac_ext=cpp
61654 ac_cpp='$CXXCPP $CPPFLAGS'
61655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61660 /* end confdefs.h. */
61661 #include <math.h>
61663 main ()
61665 modf(0, 0);
61667 return 0;
61669 _ACEOF
61670 if ac_fn_cxx_try_compile "$LINENO"; then :
61671 glibcxx_cv_func_modf_use=yes
61672 else
61673 glibcxx_cv_func_modf_use=no
61675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61676 ac_ext=c
61677 ac_cpp='$CPP $CPPFLAGS'
61678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61687 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61689 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61690 for ac_func in modf
61691 do :
61692 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61693 if test "x$ac_cv_func_modf" = x""yes; then :
61694 cat >>confdefs.h <<_ACEOF
61695 #define HAVE_MODF 1
61696 _ACEOF
61699 done
61701 else
61703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61704 $as_echo_n "checking for _modf declaration... " >&6; }
61705 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61706 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61707 $as_echo_n "(cached) " >&6
61708 else
61711 ac_ext=cpp
61712 ac_cpp='$CXXCPP $CPPFLAGS'
61713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61718 /* end confdefs.h. */
61719 #include <math.h>
61721 main ()
61723 _modf(0, 0);
61725 return 0;
61727 _ACEOF
61728 if ac_fn_cxx_try_compile "$LINENO"; then :
61729 glibcxx_cv_func__modf_use=yes
61730 else
61731 glibcxx_cv_func__modf_use=no
61733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61734 ac_ext=c
61735 ac_cpp='$CPP $CPPFLAGS'
61736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61745 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61747 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61748 for ac_func in _modf
61749 do :
61750 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61751 if test "x$ac_cv_func__modf" = x""yes; then :
61752 cat >>confdefs.h <<_ACEOF
61753 #define HAVE__MODF 1
61754 _ACEOF
61757 done
61766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61767 $as_echo_n "checking for powf declaration... " >&6; }
61768 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61769 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61770 $as_echo_n "(cached) " >&6
61771 else
61774 ac_ext=cpp
61775 ac_cpp='$CXXCPP $CPPFLAGS'
61776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61781 /* end confdefs.h. */
61782 #include <math.h>
61784 main ()
61786 powf(0, 0);
61788 return 0;
61790 _ACEOF
61791 if ac_fn_cxx_try_compile "$LINENO"; then :
61792 glibcxx_cv_func_powf_use=yes
61793 else
61794 glibcxx_cv_func_powf_use=no
61796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61797 ac_ext=c
61798 ac_cpp='$CPP $CPPFLAGS'
61799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61808 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61810 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61811 for ac_func in powf
61812 do :
61813 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61814 if test "x$ac_cv_func_powf" = x""yes; then :
61815 cat >>confdefs.h <<_ACEOF
61816 #define HAVE_POWF 1
61817 _ACEOF
61820 done
61822 else
61824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61825 $as_echo_n "checking for _powf declaration... " >&6; }
61826 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61827 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61828 $as_echo_n "(cached) " >&6
61829 else
61832 ac_ext=cpp
61833 ac_cpp='$CXXCPP $CPPFLAGS'
61834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61839 /* end confdefs.h. */
61840 #include <math.h>
61842 main ()
61844 _powf(0, 0);
61846 return 0;
61848 _ACEOF
61849 if ac_fn_cxx_try_compile "$LINENO"; then :
61850 glibcxx_cv_func__powf_use=yes
61851 else
61852 glibcxx_cv_func__powf_use=no
61854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61855 ac_ext=c
61856 ac_cpp='$CPP $CPPFLAGS'
61857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61866 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61868 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61869 for ac_func in _powf
61870 do :
61871 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61872 if test "x$ac_cv_func__powf" = x""yes; then :
61873 cat >>confdefs.h <<_ACEOF
61874 #define HAVE__POWF 1
61875 _ACEOF
61878 done
61887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61888 $as_echo_n "checking for sqrtf declaration... " >&6; }
61889 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61890 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61891 $as_echo_n "(cached) " >&6
61892 else
61895 ac_ext=cpp
61896 ac_cpp='$CXXCPP $CPPFLAGS'
61897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61902 /* end confdefs.h. */
61903 #include <math.h>
61904 #ifdef HAVE_IEEEFP_H
61905 #include <ieeefp.h>
61906 #endif
61909 main ()
61911 sqrtf(0);
61913 return 0;
61915 _ACEOF
61916 if ac_fn_cxx_try_compile "$LINENO"; then :
61917 glibcxx_cv_func_sqrtf_use=yes
61918 else
61919 glibcxx_cv_func_sqrtf_use=no
61921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61922 ac_ext=c
61923 ac_cpp='$CPP $CPPFLAGS'
61924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61933 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61935 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61936 for ac_func in sqrtf
61937 do :
61938 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61939 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61940 cat >>confdefs.h <<_ACEOF
61941 #define HAVE_SQRTF 1
61942 _ACEOF
61945 done
61947 else
61949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61950 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61951 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61952 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61953 $as_echo_n "(cached) " >&6
61954 else
61957 ac_ext=cpp
61958 ac_cpp='$CXXCPP $CPPFLAGS'
61959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61964 /* end confdefs.h. */
61965 #include <math.h>
61966 #ifdef HAVE_IEEEFP_H
61967 #include <ieeefp.h>
61968 #endif
61971 main ()
61973 _sqrtf(0);
61975 return 0;
61977 _ACEOF
61978 if ac_fn_cxx_try_compile "$LINENO"; then :
61979 glibcxx_cv_func__sqrtf_use=yes
61980 else
61981 glibcxx_cv_func__sqrtf_use=no
61983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61984 ac_ext=c
61985 ac_cpp='$CPP $CPPFLAGS'
61986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61995 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61997 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61998 for ac_func in _sqrtf
61999 do :
62000 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62001 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62002 cat >>confdefs.h <<_ACEOF
62003 #define HAVE__SQRTF 1
62004 _ACEOF
62007 done
62016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62017 $as_echo_n "checking for sincosf declaration... " >&6; }
62018 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62019 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62020 $as_echo_n "(cached) " >&6
62021 else
62024 ac_ext=cpp
62025 ac_cpp='$CXXCPP $CPPFLAGS'
62026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62031 /* end confdefs.h. */
62032 #include <math.h>
62034 main ()
62036 sincosf(0, 0, 0);
62038 return 0;
62040 _ACEOF
62041 if ac_fn_cxx_try_compile "$LINENO"; then :
62042 glibcxx_cv_func_sincosf_use=yes
62043 else
62044 glibcxx_cv_func_sincosf_use=no
62046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62047 ac_ext=c
62048 ac_cpp='$CPP $CPPFLAGS'
62049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62058 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62060 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62061 for ac_func in sincosf
62062 do :
62063 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62064 if test "x$ac_cv_func_sincosf" = x""yes; then :
62065 cat >>confdefs.h <<_ACEOF
62066 #define HAVE_SINCOSF 1
62067 _ACEOF
62070 done
62072 else
62074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62075 $as_echo_n "checking for _sincosf declaration... " >&6; }
62076 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62077 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62078 $as_echo_n "(cached) " >&6
62079 else
62082 ac_ext=cpp
62083 ac_cpp='$CXXCPP $CPPFLAGS'
62084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62089 /* end confdefs.h. */
62090 #include <math.h>
62092 main ()
62094 _sincosf(0, 0, 0);
62096 return 0;
62098 _ACEOF
62099 if ac_fn_cxx_try_compile "$LINENO"; then :
62100 glibcxx_cv_func__sincosf_use=yes
62101 else
62102 glibcxx_cv_func__sincosf_use=no
62104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62105 ac_ext=c
62106 ac_cpp='$CPP $CPPFLAGS'
62107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62116 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62118 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62119 for ac_func in _sincosf
62120 do :
62121 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62122 if test "x$ac_cv_func__sincosf" = x""yes; then :
62123 cat >>confdefs.h <<_ACEOF
62124 #define HAVE__SINCOSF 1
62125 _ACEOF
62128 done
62137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62138 $as_echo_n "checking for finitef declaration... " >&6; }
62139 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62140 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62141 $as_echo_n "(cached) " >&6
62142 else
62145 ac_ext=cpp
62146 ac_cpp='$CXXCPP $CPPFLAGS'
62147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62152 /* end confdefs.h. */
62153 #include <math.h>
62154 #ifdef HAVE_IEEEFP_H
62155 #include <ieeefp.h>
62156 #endif
62159 main ()
62161 finitef(0);
62163 return 0;
62165 _ACEOF
62166 if ac_fn_cxx_try_compile "$LINENO"; then :
62167 glibcxx_cv_func_finitef_use=yes
62168 else
62169 glibcxx_cv_func_finitef_use=no
62171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62172 ac_ext=c
62173 ac_cpp='$CPP $CPPFLAGS'
62174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62183 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62185 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62186 for ac_func in finitef
62187 do :
62188 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62189 if test "x$ac_cv_func_finitef" = x""yes; then :
62190 cat >>confdefs.h <<_ACEOF
62191 #define HAVE_FINITEF 1
62192 _ACEOF
62195 done
62197 else
62199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62200 $as_echo_n "checking for _finitef declaration... " >&6; }
62201 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62202 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62203 $as_echo_n "(cached) " >&6
62204 else
62207 ac_ext=cpp
62208 ac_cpp='$CXXCPP $CPPFLAGS'
62209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62214 /* end confdefs.h. */
62215 #include <math.h>
62216 #ifdef HAVE_IEEEFP_H
62217 #include <ieeefp.h>
62218 #endif
62221 main ()
62223 _finitef(0);
62225 return 0;
62227 _ACEOF
62228 if ac_fn_cxx_try_compile "$LINENO"; then :
62229 glibcxx_cv_func__finitef_use=yes
62230 else
62231 glibcxx_cv_func__finitef_use=no
62233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62234 ac_ext=c
62235 ac_cpp='$CPP $CPPFLAGS'
62236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62245 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62247 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62248 for ac_func in _finitef
62249 do :
62250 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62251 if test "x$ac_cv_func__finitef" = x""yes; then :
62252 cat >>confdefs.h <<_ACEOF
62253 #define HAVE__FINITEF 1
62254 _ACEOF
62257 done
62266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62267 $as_echo_n "checking for long double trig functions... " >&6; }
62268 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62269 $as_echo_n "(cached) " >&6
62270 else
62273 ac_ext=cpp
62274 ac_cpp='$CXXCPP $CPPFLAGS'
62275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62280 /* end confdefs.h. */
62281 #include <math.h>
62283 main ()
62285 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62287 return 0;
62289 _ACEOF
62290 if ac_fn_cxx_try_compile "$LINENO"; then :
62291 glibcxx_cv_func_long_double_trig_use=yes
62292 else
62293 glibcxx_cv_func_long_double_trig_use=no
62295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62296 ac_ext=c
62297 ac_cpp='$CPP $CPPFLAGS'
62298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62305 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62306 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62307 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62308 do :
62309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62311 eval as_val=\$$as_ac_var
62312 if test "x$as_val" = x""yes; then :
62313 cat >>confdefs.h <<_ACEOF
62314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62315 _ACEOF
62318 done
62320 else
62321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62322 $as_echo_n "checking for _long double trig functions... " >&6; }
62323 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62324 $as_echo_n "(cached) " >&6
62325 else
62328 ac_ext=cpp
62329 ac_cpp='$CXXCPP $CPPFLAGS'
62330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62335 /* end confdefs.h. */
62336 #include <math.h>
62338 main ()
62340 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62342 return 0;
62344 _ACEOF
62345 if ac_fn_cxx_try_compile "$LINENO"; then :
62346 glibcxx_cv_func__long_double_trig_use=yes
62347 else
62348 glibcxx_cv_func__long_double_trig_use=no
62350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62351 ac_ext=c
62352 ac_cpp='$CPP $CPPFLAGS'
62353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62360 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62361 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62362 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62363 do :
62364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62366 eval as_val=\$$as_ac_var
62367 if test "x$as_val" = x""yes; then :
62368 cat >>confdefs.h <<_ACEOF
62369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62370 _ACEOF
62373 done
62382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62383 $as_echo_n "checking for long double round functions... " >&6; }
62384 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62385 $as_echo_n "(cached) " >&6
62386 else
62389 ac_ext=cpp
62390 ac_cpp='$CXXCPP $CPPFLAGS'
62391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62396 /* end confdefs.h. */
62397 #include <math.h>
62399 main ()
62401 ceill (0); floorl (0);
62403 return 0;
62405 _ACEOF
62406 if ac_fn_cxx_try_compile "$LINENO"; then :
62407 glibcxx_cv_func_long_double_round_use=yes
62408 else
62409 glibcxx_cv_func_long_double_round_use=no
62411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62412 ac_ext=c
62413 ac_cpp='$CPP $CPPFLAGS'
62414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62421 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62422 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62423 for ac_func in ceill floorl
62424 do :
62425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62427 eval as_val=\$$as_ac_var
62428 if test "x$as_val" = x""yes; then :
62429 cat >>confdefs.h <<_ACEOF
62430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62431 _ACEOF
62434 done
62436 else
62437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62438 $as_echo_n "checking for _long double round functions... " >&6; }
62439 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62440 $as_echo_n "(cached) " >&6
62441 else
62444 ac_ext=cpp
62445 ac_cpp='$CXXCPP $CPPFLAGS'
62446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62451 /* end confdefs.h. */
62452 #include <math.h>
62454 main ()
62456 _ceill (0); _floorl (0);
62458 return 0;
62460 _ACEOF
62461 if ac_fn_cxx_try_compile "$LINENO"; then :
62462 glibcxx_cv_func__long_double_round_use=yes
62463 else
62464 glibcxx_cv_func__long_double_round_use=no
62466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62467 ac_ext=c
62468 ac_cpp='$CPP $CPPFLAGS'
62469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62476 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62477 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62478 for ac_func in _ceill _floorl
62479 do :
62480 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62481 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62482 eval as_val=\$$as_ac_var
62483 if test "x$as_val" = x""yes; then :
62484 cat >>confdefs.h <<_ACEOF
62485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62486 _ACEOF
62489 done
62499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62500 $as_echo_n "checking for isnanl declaration... " >&6; }
62501 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62502 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62503 $as_echo_n "(cached) " >&6
62504 else
62507 ac_ext=cpp
62508 ac_cpp='$CXXCPP $CPPFLAGS'
62509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62514 /* end confdefs.h. */
62515 #include <math.h>
62516 #ifdef HAVE_IEEEFP_H
62517 #include <ieeefp.h>
62518 #endif
62521 main ()
62523 isnanl(0);
62525 return 0;
62527 _ACEOF
62528 if ac_fn_cxx_try_compile "$LINENO"; then :
62529 glibcxx_cv_func_isnanl_use=yes
62530 else
62531 glibcxx_cv_func_isnanl_use=no
62533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62534 ac_ext=c
62535 ac_cpp='$CPP $CPPFLAGS'
62536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62545 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62547 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62548 for ac_func in isnanl
62549 do :
62550 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62551 if test "x$ac_cv_func_isnanl" = x""yes; then :
62552 cat >>confdefs.h <<_ACEOF
62553 #define HAVE_ISNANL 1
62554 _ACEOF
62557 done
62559 else
62561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62562 $as_echo_n "checking for _isnanl declaration... " >&6; }
62563 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62564 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62565 $as_echo_n "(cached) " >&6
62566 else
62569 ac_ext=cpp
62570 ac_cpp='$CXXCPP $CPPFLAGS'
62571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62576 /* end confdefs.h. */
62577 #include <math.h>
62578 #ifdef HAVE_IEEEFP_H
62579 #include <ieeefp.h>
62580 #endif
62583 main ()
62585 _isnanl(0);
62587 return 0;
62589 _ACEOF
62590 if ac_fn_cxx_try_compile "$LINENO"; then :
62591 glibcxx_cv_func__isnanl_use=yes
62592 else
62593 glibcxx_cv_func__isnanl_use=no
62595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62596 ac_ext=c
62597 ac_cpp='$CPP $CPPFLAGS'
62598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62607 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62609 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62610 for ac_func in _isnanl
62611 do :
62612 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62613 if test "x$ac_cv_func__isnanl" = x""yes; then :
62614 cat >>confdefs.h <<_ACEOF
62615 #define HAVE__ISNANL 1
62616 _ACEOF
62619 done
62628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62629 $as_echo_n "checking for isinfl declaration... " >&6; }
62630 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62631 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62632 $as_echo_n "(cached) " >&6
62633 else
62636 ac_ext=cpp
62637 ac_cpp='$CXXCPP $CPPFLAGS'
62638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62643 /* end confdefs.h. */
62644 #include <math.h>
62645 #ifdef HAVE_IEEEFP_H
62646 #include <ieeefp.h>
62647 #endif
62650 main ()
62652 isinfl(0);
62654 return 0;
62656 _ACEOF
62657 if ac_fn_cxx_try_compile "$LINENO"; then :
62658 glibcxx_cv_func_isinfl_use=yes
62659 else
62660 glibcxx_cv_func_isinfl_use=no
62662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62663 ac_ext=c
62664 ac_cpp='$CPP $CPPFLAGS'
62665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62674 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62676 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62677 for ac_func in isinfl
62678 do :
62679 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62680 if test "x$ac_cv_func_isinfl" = x""yes; then :
62681 cat >>confdefs.h <<_ACEOF
62682 #define HAVE_ISINFL 1
62683 _ACEOF
62686 done
62688 else
62690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62691 $as_echo_n "checking for _isinfl declaration... " >&6; }
62692 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62693 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62694 $as_echo_n "(cached) " >&6
62695 else
62698 ac_ext=cpp
62699 ac_cpp='$CXXCPP $CPPFLAGS'
62700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62705 /* end confdefs.h. */
62706 #include <math.h>
62707 #ifdef HAVE_IEEEFP_H
62708 #include <ieeefp.h>
62709 #endif
62712 main ()
62714 _isinfl(0);
62716 return 0;
62718 _ACEOF
62719 if ac_fn_cxx_try_compile "$LINENO"; then :
62720 glibcxx_cv_func__isinfl_use=yes
62721 else
62722 glibcxx_cv_func__isinfl_use=no
62724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62725 ac_ext=c
62726 ac_cpp='$CPP $CPPFLAGS'
62727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62736 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62738 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62739 for ac_func in _isinfl
62740 do :
62741 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62742 if test "x$ac_cv_func__isinfl" = x""yes; then :
62743 cat >>confdefs.h <<_ACEOF
62744 #define HAVE__ISINFL 1
62745 _ACEOF
62748 done
62757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62758 $as_echo_n "checking for atan2l declaration... " >&6; }
62759 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62760 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62761 $as_echo_n "(cached) " >&6
62762 else
62765 ac_ext=cpp
62766 ac_cpp='$CXXCPP $CPPFLAGS'
62767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62772 /* end confdefs.h. */
62773 #include <math.h>
62775 main ()
62777 atan2l(0, 0);
62779 return 0;
62781 _ACEOF
62782 if ac_fn_cxx_try_compile "$LINENO"; then :
62783 glibcxx_cv_func_atan2l_use=yes
62784 else
62785 glibcxx_cv_func_atan2l_use=no
62787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62788 ac_ext=c
62789 ac_cpp='$CPP $CPPFLAGS'
62790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62799 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62801 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62802 for ac_func in atan2l
62803 do :
62804 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62805 if test "x$ac_cv_func_atan2l" = x""yes; then :
62806 cat >>confdefs.h <<_ACEOF
62807 #define HAVE_ATAN2L 1
62808 _ACEOF
62811 done
62813 else
62815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62816 $as_echo_n "checking for _atan2l declaration... " >&6; }
62817 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62818 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62819 $as_echo_n "(cached) " >&6
62820 else
62823 ac_ext=cpp
62824 ac_cpp='$CXXCPP $CPPFLAGS'
62825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62830 /* end confdefs.h. */
62831 #include <math.h>
62833 main ()
62835 _atan2l(0, 0);
62837 return 0;
62839 _ACEOF
62840 if ac_fn_cxx_try_compile "$LINENO"; then :
62841 glibcxx_cv_func__atan2l_use=yes
62842 else
62843 glibcxx_cv_func__atan2l_use=no
62845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62846 ac_ext=c
62847 ac_cpp='$CPP $CPPFLAGS'
62848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62857 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62859 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62860 for ac_func in _atan2l
62861 do :
62862 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62863 if test "x$ac_cv_func__atan2l" = x""yes; then :
62864 cat >>confdefs.h <<_ACEOF
62865 #define HAVE__ATAN2L 1
62866 _ACEOF
62869 done
62878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62879 $as_echo_n "checking for expl declaration... " >&6; }
62880 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62881 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62882 $as_echo_n "(cached) " >&6
62883 else
62886 ac_ext=cpp
62887 ac_cpp='$CXXCPP $CPPFLAGS'
62888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62893 /* end confdefs.h. */
62894 #include <math.h>
62895 #ifdef HAVE_IEEEFP_H
62896 #include <ieeefp.h>
62897 #endif
62900 main ()
62902 expl(0);
62904 return 0;
62906 _ACEOF
62907 if ac_fn_cxx_try_compile "$LINENO"; then :
62908 glibcxx_cv_func_expl_use=yes
62909 else
62910 glibcxx_cv_func_expl_use=no
62912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62913 ac_ext=c
62914 ac_cpp='$CPP $CPPFLAGS'
62915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62924 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62926 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62927 for ac_func in expl
62928 do :
62929 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62930 if test "x$ac_cv_func_expl" = x""yes; then :
62931 cat >>confdefs.h <<_ACEOF
62932 #define HAVE_EXPL 1
62933 _ACEOF
62936 done
62938 else
62940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62941 $as_echo_n "checking for _expl declaration... " >&6; }
62942 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62943 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62944 $as_echo_n "(cached) " >&6
62945 else
62948 ac_ext=cpp
62949 ac_cpp='$CXXCPP $CPPFLAGS'
62950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62955 /* end confdefs.h. */
62956 #include <math.h>
62957 #ifdef HAVE_IEEEFP_H
62958 #include <ieeefp.h>
62959 #endif
62962 main ()
62964 _expl(0);
62966 return 0;
62968 _ACEOF
62969 if ac_fn_cxx_try_compile "$LINENO"; then :
62970 glibcxx_cv_func__expl_use=yes
62971 else
62972 glibcxx_cv_func__expl_use=no
62974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62975 ac_ext=c
62976 ac_cpp='$CPP $CPPFLAGS'
62977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62986 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62988 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62989 for ac_func in _expl
62990 do :
62991 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62992 if test "x$ac_cv_func__expl" = x""yes; then :
62993 cat >>confdefs.h <<_ACEOF
62994 #define HAVE__EXPL 1
62995 _ACEOF
62998 done
63007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63008 $as_echo_n "checking for fabsl declaration... " >&6; }
63009 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63010 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63011 $as_echo_n "(cached) " >&6
63012 else
63015 ac_ext=cpp
63016 ac_cpp='$CXXCPP $CPPFLAGS'
63017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63022 /* end confdefs.h. */
63023 #include <math.h>
63024 #ifdef HAVE_IEEEFP_H
63025 #include <ieeefp.h>
63026 #endif
63029 main ()
63031 fabsl(0);
63033 return 0;
63035 _ACEOF
63036 if ac_fn_cxx_try_compile "$LINENO"; then :
63037 glibcxx_cv_func_fabsl_use=yes
63038 else
63039 glibcxx_cv_func_fabsl_use=no
63041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63042 ac_ext=c
63043 ac_cpp='$CPP $CPPFLAGS'
63044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63053 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63055 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63056 for ac_func in fabsl
63057 do :
63058 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63059 if test "x$ac_cv_func_fabsl" = x""yes; then :
63060 cat >>confdefs.h <<_ACEOF
63061 #define HAVE_FABSL 1
63062 _ACEOF
63065 done
63067 else
63069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63070 $as_echo_n "checking for _fabsl declaration... " >&6; }
63071 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63072 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63073 $as_echo_n "(cached) " >&6
63074 else
63077 ac_ext=cpp
63078 ac_cpp='$CXXCPP $CPPFLAGS'
63079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63084 /* end confdefs.h. */
63085 #include <math.h>
63086 #ifdef HAVE_IEEEFP_H
63087 #include <ieeefp.h>
63088 #endif
63091 main ()
63093 _fabsl(0);
63095 return 0;
63097 _ACEOF
63098 if ac_fn_cxx_try_compile "$LINENO"; then :
63099 glibcxx_cv_func__fabsl_use=yes
63100 else
63101 glibcxx_cv_func__fabsl_use=no
63103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63104 ac_ext=c
63105 ac_cpp='$CPP $CPPFLAGS'
63106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63115 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63117 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63118 for ac_func in _fabsl
63119 do :
63120 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63121 if test "x$ac_cv_func__fabsl" = x""yes; then :
63122 cat >>confdefs.h <<_ACEOF
63123 #define HAVE__FABSL 1
63124 _ACEOF
63127 done
63136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63137 $as_echo_n "checking for fmodl declaration... " >&6; }
63138 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63139 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63140 $as_echo_n "(cached) " >&6
63141 else
63144 ac_ext=cpp
63145 ac_cpp='$CXXCPP $CPPFLAGS'
63146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63151 /* end confdefs.h. */
63152 #include <math.h>
63154 main ()
63156 fmodl(0, 0);
63158 return 0;
63160 _ACEOF
63161 if ac_fn_cxx_try_compile "$LINENO"; then :
63162 glibcxx_cv_func_fmodl_use=yes
63163 else
63164 glibcxx_cv_func_fmodl_use=no
63166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63167 ac_ext=c
63168 ac_cpp='$CPP $CPPFLAGS'
63169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63178 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63180 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63181 for ac_func in fmodl
63182 do :
63183 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63184 if test "x$ac_cv_func_fmodl" = x""yes; then :
63185 cat >>confdefs.h <<_ACEOF
63186 #define HAVE_FMODL 1
63187 _ACEOF
63190 done
63192 else
63194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63195 $as_echo_n "checking for _fmodl declaration... " >&6; }
63196 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63197 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63198 $as_echo_n "(cached) " >&6
63199 else
63202 ac_ext=cpp
63203 ac_cpp='$CXXCPP $CPPFLAGS'
63204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63209 /* end confdefs.h. */
63210 #include <math.h>
63212 main ()
63214 _fmodl(0, 0);
63216 return 0;
63218 _ACEOF
63219 if ac_fn_cxx_try_compile "$LINENO"; then :
63220 glibcxx_cv_func__fmodl_use=yes
63221 else
63222 glibcxx_cv_func__fmodl_use=no
63224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63225 ac_ext=c
63226 ac_cpp='$CPP $CPPFLAGS'
63227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63236 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63238 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63239 for ac_func in _fmodl
63240 do :
63241 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63242 if test "x$ac_cv_func__fmodl" = x""yes; then :
63243 cat >>confdefs.h <<_ACEOF
63244 #define HAVE__FMODL 1
63245 _ACEOF
63248 done
63257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63258 $as_echo_n "checking for frexpl declaration... " >&6; }
63259 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63260 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63261 $as_echo_n "(cached) " >&6
63262 else
63265 ac_ext=cpp
63266 ac_cpp='$CXXCPP $CPPFLAGS'
63267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63272 /* end confdefs.h. */
63273 #include <math.h>
63275 main ()
63277 frexpl(0, 0);
63279 return 0;
63281 _ACEOF
63282 if ac_fn_cxx_try_compile "$LINENO"; then :
63283 glibcxx_cv_func_frexpl_use=yes
63284 else
63285 glibcxx_cv_func_frexpl_use=no
63287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63288 ac_ext=c
63289 ac_cpp='$CPP $CPPFLAGS'
63290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63299 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63301 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63302 for ac_func in frexpl
63303 do :
63304 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63305 if test "x$ac_cv_func_frexpl" = x""yes; then :
63306 cat >>confdefs.h <<_ACEOF
63307 #define HAVE_FREXPL 1
63308 _ACEOF
63311 done
63313 else
63315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63316 $as_echo_n "checking for _frexpl declaration... " >&6; }
63317 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63318 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63319 $as_echo_n "(cached) " >&6
63320 else
63323 ac_ext=cpp
63324 ac_cpp='$CXXCPP $CPPFLAGS'
63325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63330 /* end confdefs.h. */
63331 #include <math.h>
63333 main ()
63335 _frexpl(0, 0);
63337 return 0;
63339 _ACEOF
63340 if ac_fn_cxx_try_compile "$LINENO"; then :
63341 glibcxx_cv_func__frexpl_use=yes
63342 else
63343 glibcxx_cv_func__frexpl_use=no
63345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63346 ac_ext=c
63347 ac_cpp='$CPP $CPPFLAGS'
63348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63357 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63359 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63360 for ac_func in _frexpl
63361 do :
63362 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63363 if test "x$ac_cv_func__frexpl" = x""yes; then :
63364 cat >>confdefs.h <<_ACEOF
63365 #define HAVE__FREXPL 1
63366 _ACEOF
63369 done
63378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63379 $as_echo_n "checking for hypotl declaration... " >&6; }
63380 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63381 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63382 $as_echo_n "(cached) " >&6
63383 else
63386 ac_ext=cpp
63387 ac_cpp='$CXXCPP $CPPFLAGS'
63388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63393 /* end confdefs.h. */
63394 #include <math.h>
63396 main ()
63398 hypotl(0, 0);
63400 return 0;
63402 _ACEOF
63403 if ac_fn_cxx_try_compile "$LINENO"; then :
63404 glibcxx_cv_func_hypotl_use=yes
63405 else
63406 glibcxx_cv_func_hypotl_use=no
63408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63409 ac_ext=c
63410 ac_cpp='$CPP $CPPFLAGS'
63411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63420 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63422 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63423 for ac_func in hypotl
63424 do :
63425 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63426 if test "x$ac_cv_func_hypotl" = x""yes; then :
63427 cat >>confdefs.h <<_ACEOF
63428 #define HAVE_HYPOTL 1
63429 _ACEOF
63432 done
63434 else
63436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63437 $as_echo_n "checking for _hypotl declaration... " >&6; }
63438 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63439 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63440 $as_echo_n "(cached) " >&6
63441 else
63444 ac_ext=cpp
63445 ac_cpp='$CXXCPP $CPPFLAGS'
63446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63451 /* end confdefs.h. */
63452 #include <math.h>
63454 main ()
63456 _hypotl(0, 0);
63458 return 0;
63460 _ACEOF
63461 if ac_fn_cxx_try_compile "$LINENO"; then :
63462 glibcxx_cv_func__hypotl_use=yes
63463 else
63464 glibcxx_cv_func__hypotl_use=no
63466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63467 ac_ext=c
63468 ac_cpp='$CPP $CPPFLAGS'
63469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63478 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63480 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63481 for ac_func in _hypotl
63482 do :
63483 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63484 if test "x$ac_cv_func__hypotl" = x""yes; then :
63485 cat >>confdefs.h <<_ACEOF
63486 #define HAVE__HYPOTL 1
63487 _ACEOF
63490 done
63499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63500 $as_echo_n "checking for ldexpl declaration... " >&6; }
63501 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63502 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63503 $as_echo_n "(cached) " >&6
63504 else
63507 ac_ext=cpp
63508 ac_cpp='$CXXCPP $CPPFLAGS'
63509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63514 /* end confdefs.h. */
63515 #include <math.h>
63517 main ()
63519 ldexpl(0, 0);
63521 return 0;
63523 _ACEOF
63524 if ac_fn_cxx_try_compile "$LINENO"; then :
63525 glibcxx_cv_func_ldexpl_use=yes
63526 else
63527 glibcxx_cv_func_ldexpl_use=no
63529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63530 ac_ext=c
63531 ac_cpp='$CPP $CPPFLAGS'
63532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63541 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63543 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63544 for ac_func in ldexpl
63545 do :
63546 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63547 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63548 cat >>confdefs.h <<_ACEOF
63549 #define HAVE_LDEXPL 1
63550 _ACEOF
63553 done
63555 else
63557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63558 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63559 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63560 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63561 $as_echo_n "(cached) " >&6
63562 else
63565 ac_ext=cpp
63566 ac_cpp='$CXXCPP $CPPFLAGS'
63567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63572 /* end confdefs.h. */
63573 #include <math.h>
63575 main ()
63577 _ldexpl(0, 0);
63579 return 0;
63581 _ACEOF
63582 if ac_fn_cxx_try_compile "$LINENO"; then :
63583 glibcxx_cv_func__ldexpl_use=yes
63584 else
63585 glibcxx_cv_func__ldexpl_use=no
63587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63588 ac_ext=c
63589 ac_cpp='$CPP $CPPFLAGS'
63590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63599 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63601 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63602 for ac_func in _ldexpl
63603 do :
63604 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63605 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63606 cat >>confdefs.h <<_ACEOF
63607 #define HAVE__LDEXPL 1
63608 _ACEOF
63611 done
63620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63621 $as_echo_n "checking for logl declaration... " >&6; }
63622 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63623 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63624 $as_echo_n "(cached) " >&6
63625 else
63628 ac_ext=cpp
63629 ac_cpp='$CXXCPP $CPPFLAGS'
63630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63635 /* end confdefs.h. */
63636 #include <math.h>
63637 #ifdef HAVE_IEEEFP_H
63638 #include <ieeefp.h>
63639 #endif
63642 main ()
63644 logl(0);
63646 return 0;
63648 _ACEOF
63649 if ac_fn_cxx_try_compile "$LINENO"; then :
63650 glibcxx_cv_func_logl_use=yes
63651 else
63652 glibcxx_cv_func_logl_use=no
63654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63655 ac_ext=c
63656 ac_cpp='$CPP $CPPFLAGS'
63657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63666 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63668 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63669 for ac_func in logl
63670 do :
63671 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63672 if test "x$ac_cv_func_logl" = x""yes; then :
63673 cat >>confdefs.h <<_ACEOF
63674 #define HAVE_LOGL 1
63675 _ACEOF
63678 done
63680 else
63682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63683 $as_echo_n "checking for _logl declaration... " >&6; }
63684 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63685 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63686 $as_echo_n "(cached) " >&6
63687 else
63690 ac_ext=cpp
63691 ac_cpp='$CXXCPP $CPPFLAGS'
63692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63697 /* end confdefs.h. */
63698 #include <math.h>
63699 #ifdef HAVE_IEEEFP_H
63700 #include <ieeefp.h>
63701 #endif
63704 main ()
63706 _logl(0);
63708 return 0;
63710 _ACEOF
63711 if ac_fn_cxx_try_compile "$LINENO"; then :
63712 glibcxx_cv_func__logl_use=yes
63713 else
63714 glibcxx_cv_func__logl_use=no
63716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63717 ac_ext=c
63718 ac_cpp='$CPP $CPPFLAGS'
63719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63728 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63730 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63731 for ac_func in _logl
63732 do :
63733 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63734 if test "x$ac_cv_func__logl" = x""yes; then :
63735 cat >>confdefs.h <<_ACEOF
63736 #define HAVE__LOGL 1
63737 _ACEOF
63740 done
63749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63750 $as_echo_n "checking for log10l declaration... " >&6; }
63751 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63752 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63753 $as_echo_n "(cached) " >&6
63754 else
63757 ac_ext=cpp
63758 ac_cpp='$CXXCPP $CPPFLAGS'
63759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63764 /* end confdefs.h. */
63765 #include <math.h>
63766 #ifdef HAVE_IEEEFP_H
63767 #include <ieeefp.h>
63768 #endif
63771 main ()
63773 log10l(0);
63775 return 0;
63777 _ACEOF
63778 if ac_fn_cxx_try_compile "$LINENO"; then :
63779 glibcxx_cv_func_log10l_use=yes
63780 else
63781 glibcxx_cv_func_log10l_use=no
63783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63784 ac_ext=c
63785 ac_cpp='$CPP $CPPFLAGS'
63786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63795 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63797 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63798 for ac_func in log10l
63799 do :
63800 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63801 if test "x$ac_cv_func_log10l" = x""yes; then :
63802 cat >>confdefs.h <<_ACEOF
63803 #define HAVE_LOG10L 1
63804 _ACEOF
63807 done
63809 else
63811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63812 $as_echo_n "checking for _log10l declaration... " >&6; }
63813 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63814 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63815 $as_echo_n "(cached) " >&6
63816 else
63819 ac_ext=cpp
63820 ac_cpp='$CXXCPP $CPPFLAGS'
63821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63826 /* end confdefs.h. */
63827 #include <math.h>
63828 #ifdef HAVE_IEEEFP_H
63829 #include <ieeefp.h>
63830 #endif
63833 main ()
63835 _log10l(0);
63837 return 0;
63839 _ACEOF
63840 if ac_fn_cxx_try_compile "$LINENO"; then :
63841 glibcxx_cv_func__log10l_use=yes
63842 else
63843 glibcxx_cv_func__log10l_use=no
63845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63846 ac_ext=c
63847 ac_cpp='$CPP $CPPFLAGS'
63848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63857 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63859 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63860 for ac_func in _log10l
63861 do :
63862 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63863 if test "x$ac_cv_func__log10l" = x""yes; then :
63864 cat >>confdefs.h <<_ACEOF
63865 #define HAVE__LOG10L 1
63866 _ACEOF
63869 done
63878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63879 $as_echo_n "checking for modfl declaration... " >&6; }
63880 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63881 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63882 $as_echo_n "(cached) " >&6
63883 else
63886 ac_ext=cpp
63887 ac_cpp='$CXXCPP $CPPFLAGS'
63888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63893 /* end confdefs.h. */
63894 #include <math.h>
63896 main ()
63898 modfl(0, 0);
63900 return 0;
63902 _ACEOF
63903 if ac_fn_cxx_try_compile "$LINENO"; then :
63904 glibcxx_cv_func_modfl_use=yes
63905 else
63906 glibcxx_cv_func_modfl_use=no
63908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63909 ac_ext=c
63910 ac_cpp='$CPP $CPPFLAGS'
63911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63920 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63922 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63923 for ac_func in modfl
63924 do :
63925 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63926 if test "x$ac_cv_func_modfl" = x""yes; then :
63927 cat >>confdefs.h <<_ACEOF
63928 #define HAVE_MODFL 1
63929 _ACEOF
63932 done
63934 else
63936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63937 $as_echo_n "checking for _modfl declaration... " >&6; }
63938 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63939 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63940 $as_echo_n "(cached) " >&6
63941 else
63944 ac_ext=cpp
63945 ac_cpp='$CXXCPP $CPPFLAGS'
63946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63951 /* end confdefs.h. */
63952 #include <math.h>
63954 main ()
63956 _modfl(0, 0);
63958 return 0;
63960 _ACEOF
63961 if ac_fn_cxx_try_compile "$LINENO"; then :
63962 glibcxx_cv_func__modfl_use=yes
63963 else
63964 glibcxx_cv_func__modfl_use=no
63966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63967 ac_ext=c
63968 ac_cpp='$CPP $CPPFLAGS'
63969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63978 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63980 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63981 for ac_func in _modfl
63982 do :
63983 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63984 if test "x$ac_cv_func__modfl" = x""yes; then :
63985 cat >>confdefs.h <<_ACEOF
63986 #define HAVE__MODFL 1
63987 _ACEOF
63990 done
63999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64000 $as_echo_n "checking for powl declaration... " >&6; }
64001 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64002 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64003 $as_echo_n "(cached) " >&6
64004 else
64007 ac_ext=cpp
64008 ac_cpp='$CXXCPP $CPPFLAGS'
64009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64014 /* end confdefs.h. */
64015 #include <math.h>
64017 main ()
64019 powl(0, 0);
64021 return 0;
64023 _ACEOF
64024 if ac_fn_cxx_try_compile "$LINENO"; then :
64025 glibcxx_cv_func_powl_use=yes
64026 else
64027 glibcxx_cv_func_powl_use=no
64029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64030 ac_ext=c
64031 ac_cpp='$CPP $CPPFLAGS'
64032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64041 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64043 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64044 for ac_func in powl
64045 do :
64046 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64047 if test "x$ac_cv_func_powl" = x""yes; then :
64048 cat >>confdefs.h <<_ACEOF
64049 #define HAVE_POWL 1
64050 _ACEOF
64053 done
64055 else
64057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64058 $as_echo_n "checking for _powl declaration... " >&6; }
64059 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64060 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64061 $as_echo_n "(cached) " >&6
64062 else
64065 ac_ext=cpp
64066 ac_cpp='$CXXCPP $CPPFLAGS'
64067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64072 /* end confdefs.h. */
64073 #include <math.h>
64075 main ()
64077 _powl(0, 0);
64079 return 0;
64081 _ACEOF
64082 if ac_fn_cxx_try_compile "$LINENO"; then :
64083 glibcxx_cv_func__powl_use=yes
64084 else
64085 glibcxx_cv_func__powl_use=no
64087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64088 ac_ext=c
64089 ac_cpp='$CPP $CPPFLAGS'
64090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64099 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64101 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64102 for ac_func in _powl
64103 do :
64104 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64105 if test "x$ac_cv_func__powl" = x""yes; then :
64106 cat >>confdefs.h <<_ACEOF
64107 #define HAVE__POWL 1
64108 _ACEOF
64111 done
64120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64121 $as_echo_n "checking for sqrtl declaration... " >&6; }
64122 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64123 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64124 $as_echo_n "(cached) " >&6
64125 else
64128 ac_ext=cpp
64129 ac_cpp='$CXXCPP $CPPFLAGS'
64130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64135 /* end confdefs.h. */
64136 #include <math.h>
64137 #ifdef HAVE_IEEEFP_H
64138 #include <ieeefp.h>
64139 #endif
64142 main ()
64144 sqrtl(0);
64146 return 0;
64148 _ACEOF
64149 if ac_fn_cxx_try_compile "$LINENO"; then :
64150 glibcxx_cv_func_sqrtl_use=yes
64151 else
64152 glibcxx_cv_func_sqrtl_use=no
64154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64155 ac_ext=c
64156 ac_cpp='$CPP $CPPFLAGS'
64157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64166 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64168 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64169 for ac_func in sqrtl
64170 do :
64171 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64172 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64173 cat >>confdefs.h <<_ACEOF
64174 #define HAVE_SQRTL 1
64175 _ACEOF
64178 done
64180 else
64182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64183 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64184 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64185 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64186 $as_echo_n "(cached) " >&6
64187 else
64190 ac_ext=cpp
64191 ac_cpp='$CXXCPP $CPPFLAGS'
64192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64197 /* end confdefs.h. */
64198 #include <math.h>
64199 #ifdef HAVE_IEEEFP_H
64200 #include <ieeefp.h>
64201 #endif
64204 main ()
64206 _sqrtl(0);
64208 return 0;
64210 _ACEOF
64211 if ac_fn_cxx_try_compile "$LINENO"; then :
64212 glibcxx_cv_func__sqrtl_use=yes
64213 else
64214 glibcxx_cv_func__sqrtl_use=no
64216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64217 ac_ext=c
64218 ac_cpp='$CPP $CPPFLAGS'
64219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64228 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64230 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64231 for ac_func in _sqrtl
64232 do :
64233 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64234 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64235 cat >>confdefs.h <<_ACEOF
64236 #define HAVE__SQRTL 1
64237 _ACEOF
64240 done
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64250 $as_echo_n "checking for sincosl declaration... " >&6; }
64251 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64252 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64253 $as_echo_n "(cached) " >&6
64254 else
64257 ac_ext=cpp
64258 ac_cpp='$CXXCPP $CPPFLAGS'
64259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64264 /* end confdefs.h. */
64265 #include <math.h>
64267 main ()
64269 sincosl(0, 0, 0);
64271 return 0;
64273 _ACEOF
64274 if ac_fn_cxx_try_compile "$LINENO"; then :
64275 glibcxx_cv_func_sincosl_use=yes
64276 else
64277 glibcxx_cv_func_sincosl_use=no
64279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64280 ac_ext=c
64281 ac_cpp='$CPP $CPPFLAGS'
64282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64291 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64293 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64294 for ac_func in sincosl
64295 do :
64296 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64297 if test "x$ac_cv_func_sincosl" = x""yes; then :
64298 cat >>confdefs.h <<_ACEOF
64299 #define HAVE_SINCOSL 1
64300 _ACEOF
64303 done
64305 else
64307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64308 $as_echo_n "checking for _sincosl declaration... " >&6; }
64309 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64310 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64311 $as_echo_n "(cached) " >&6
64312 else
64315 ac_ext=cpp
64316 ac_cpp='$CXXCPP $CPPFLAGS'
64317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64322 /* end confdefs.h. */
64323 #include <math.h>
64325 main ()
64327 _sincosl(0, 0, 0);
64329 return 0;
64331 _ACEOF
64332 if ac_fn_cxx_try_compile "$LINENO"; then :
64333 glibcxx_cv_func__sincosl_use=yes
64334 else
64335 glibcxx_cv_func__sincosl_use=no
64337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64338 ac_ext=c
64339 ac_cpp='$CPP $CPPFLAGS'
64340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64349 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64351 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64352 for ac_func in _sincosl
64353 do :
64354 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64355 if test "x$ac_cv_func__sincosl" = x""yes; then :
64356 cat >>confdefs.h <<_ACEOF
64357 #define HAVE__SINCOSL 1
64358 _ACEOF
64361 done
64370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64371 $as_echo_n "checking for finitel declaration... " >&6; }
64372 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64373 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64374 $as_echo_n "(cached) " >&6
64375 else
64378 ac_ext=cpp
64379 ac_cpp='$CXXCPP $CPPFLAGS'
64380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64385 /* end confdefs.h. */
64386 #include <math.h>
64387 #ifdef HAVE_IEEEFP_H
64388 #include <ieeefp.h>
64389 #endif
64392 main ()
64394 finitel(0);
64396 return 0;
64398 _ACEOF
64399 if ac_fn_cxx_try_compile "$LINENO"; then :
64400 glibcxx_cv_func_finitel_use=yes
64401 else
64402 glibcxx_cv_func_finitel_use=no
64404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64405 ac_ext=c
64406 ac_cpp='$CPP $CPPFLAGS'
64407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64416 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64418 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64419 for ac_func in finitel
64420 do :
64421 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64422 if test "x$ac_cv_func_finitel" = x""yes; then :
64423 cat >>confdefs.h <<_ACEOF
64424 #define HAVE_FINITEL 1
64425 _ACEOF
64428 done
64430 else
64432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64433 $as_echo_n "checking for _finitel declaration... " >&6; }
64434 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64435 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64436 $as_echo_n "(cached) " >&6
64437 else
64440 ac_ext=cpp
64441 ac_cpp='$CXXCPP $CPPFLAGS'
64442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64447 /* end confdefs.h. */
64448 #include <math.h>
64449 #ifdef HAVE_IEEEFP_H
64450 #include <ieeefp.h>
64451 #endif
64454 main ()
64456 _finitel(0);
64458 return 0;
64460 _ACEOF
64461 if ac_fn_cxx_try_compile "$LINENO"; then :
64462 glibcxx_cv_func__finitel_use=yes
64463 else
64464 glibcxx_cv_func__finitel_use=no
64466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64467 ac_ext=c
64468 ac_cpp='$CPP $CPPFLAGS'
64469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64478 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64480 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64481 for ac_func in _finitel
64482 do :
64483 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64484 if test "x$ac_cv_func__finitel" = x""yes; then :
64485 cat >>confdefs.h <<_ACEOF
64486 #define HAVE__FINITEL 1
64487 _ACEOF
64490 done
64498 LIBS="$ac_save_LIBS"
64499 CXXFLAGS="$ac_save_CXXFLAGS"
64502 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64503 ac_save_CXXFLAGS="$CXXFLAGS"
64504 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64508 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64509 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64510 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64511 $as_echo_n "(cached) " >&6
64512 else
64515 ac_ext=cpp
64516 ac_cpp='$CXXCPP $CPPFLAGS'
64517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64522 /* end confdefs.h. */
64523 #include <stdlib.h>
64525 main ()
64527 at_quick_exit(0);
64529 return 0;
64531 _ACEOF
64532 if ac_fn_cxx_try_compile "$LINENO"; then :
64533 glibcxx_cv_func_at_quick_exit_use=yes
64534 else
64535 glibcxx_cv_func_at_quick_exit_use=no
64537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64538 ac_ext=c
64539 ac_cpp='$CPP $CPPFLAGS'
64540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64549 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64550 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64551 for ac_func in at_quick_exit
64552 do :
64553 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64554 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64555 cat >>confdefs.h <<_ACEOF
64556 #define HAVE_AT_QUICK_EXIT 1
64557 _ACEOF
64560 done
64565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64566 $as_echo_n "checking for quick_exit declaration... " >&6; }
64567 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64568 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64569 $as_echo_n "(cached) " >&6
64570 else
64573 ac_ext=cpp
64574 ac_cpp='$CXXCPP $CPPFLAGS'
64575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64580 /* end confdefs.h. */
64581 #include <stdlib.h>
64583 main ()
64585 quick_exit(0);
64587 return 0;
64589 _ACEOF
64590 if ac_fn_cxx_try_compile "$LINENO"; then :
64591 glibcxx_cv_func_quick_exit_use=yes
64592 else
64593 glibcxx_cv_func_quick_exit_use=no
64595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64596 ac_ext=c
64597 ac_cpp='$CPP $CPPFLAGS'
64598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64607 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64608 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64609 for ac_func in quick_exit
64610 do :
64611 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64612 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64613 cat >>confdefs.h <<_ACEOF
64614 #define HAVE_QUICK_EXIT 1
64615 _ACEOF
64618 done
64623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64624 $as_echo_n "checking for strtold declaration... " >&6; }
64625 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64626 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64627 $as_echo_n "(cached) " >&6
64628 else
64631 ac_ext=cpp
64632 ac_cpp='$CXXCPP $CPPFLAGS'
64633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64638 /* end confdefs.h. */
64639 #include <stdlib.h>
64641 main ()
64643 strtold(0, 0);
64645 return 0;
64647 _ACEOF
64648 if ac_fn_cxx_try_compile "$LINENO"; then :
64649 glibcxx_cv_func_strtold_use=yes
64650 else
64651 glibcxx_cv_func_strtold_use=no
64653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64654 ac_ext=c
64655 ac_cpp='$CPP $CPPFLAGS'
64656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64665 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64666 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64667 for ac_func in strtold
64668 do :
64669 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64670 if test "x$ac_cv_func_strtold" = x""yes; then :
64671 cat >>confdefs.h <<_ACEOF
64672 #define HAVE_STRTOLD 1
64673 _ACEOF
64676 done
64683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64684 $as_echo_n "checking for strtof declaration... " >&6; }
64685 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64686 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64687 $as_echo_n "(cached) " >&6
64688 else
64691 ac_ext=cpp
64692 ac_cpp='$CXXCPP $CPPFLAGS'
64693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64698 /* end confdefs.h. */
64699 #include <stdlib.h>
64701 main ()
64703 strtof(0, 0);
64705 return 0;
64707 _ACEOF
64708 if ac_fn_cxx_try_compile "$LINENO"; then :
64709 glibcxx_cv_func_strtof_use=yes
64710 else
64711 glibcxx_cv_func_strtof_use=no
64713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64714 ac_ext=c
64715 ac_cpp='$CPP $CPPFLAGS'
64716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64725 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64726 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64727 for ac_func in strtof
64728 do :
64729 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64730 if test "x$ac_cv_func_strtof" = x""yes; then :
64731 cat >>confdefs.h <<_ACEOF
64732 #define HAVE_STRTOF 1
64733 _ACEOF
64736 done
64743 CXXFLAGS="$ac_save_CXXFLAGS"
64746 *-netbsd*)
64747 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64750 # If we're not using GNU ld, then there's no point in even trying these
64751 # tests. Check for that first. We should have already tested for gld
64752 # by now (in libtool), but require it now just to be safe...
64753 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64754 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64758 # The name set by libtool depends on the version of libtool. Shame on us
64759 # for depending on an impl detail, but c'est la vie. Older versions used
64760 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64761 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64762 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64763 # set (hence we're using an older libtool), then set it.
64764 if test x${with_gnu_ld+set} != xset; then
64765 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64766 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64767 with_gnu_ld=no
64768 else
64769 with_gnu_ld=$ac_cv_prog_gnu_ld
64773 # Start by getting the version number. I think the libtool test already
64774 # does some of this, but throws away the result.
64775 glibcxx_ld_is_gold=no
64776 if test x"$with_gnu_ld" = x"yes"; then
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64778 $as_echo_n "checking for ld version... " >&6; }
64780 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64781 glibcxx_ld_is_gold=yes
64783 ldver=`$LD --version 2>/dev/null |
64784 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'`
64786 glibcxx_gnu_ld_version=`echo $ldver | \
64787 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64789 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64792 # Set --gc-sections.
64793 glibcxx_have_gc_sections=no
64794 if test "$glibcxx_ld_is_gold" = "yes"; then
64795 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64796 glibcxx_have_gc_sections=yes
64798 else
64799 glibcxx_gcsections_min_ld=21602
64800 if test x"$with_gnu_ld" = x"yes" &&
64801 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64802 glibcxx_have_gc_sections=yes
64805 if test "$glibcxx_have_gc_sections" = "yes"; then
64806 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64807 # NB: This flag only works reliably after 2.16.1. Configure tests
64808 # for this are difficult, so hard wire a value that should work.
64810 ac_test_CFLAGS="${CFLAGS+set}"
64811 ac_save_CFLAGS="$CFLAGS"
64812 CFLAGS='-Wl,--gc-sections'
64814 # Check for -Wl,--gc-sections
64815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64816 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64817 if test x$gcc_no_link = xyes; then
64818 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64821 /* end confdefs.h. */
64822 int one(void) { return 1; }
64823 int two(void) { return 2; }
64826 main ()
64828 two();
64830 return 0;
64832 _ACEOF
64833 if ac_fn_c_try_link "$LINENO"; then :
64834 ac_gcsections=yes
64835 else
64836 ac_gcsections=no
64838 rm -f core conftest.err conftest.$ac_objext \
64839 conftest$ac_exeext conftest.$ac_ext
64840 if test "$ac_gcsections" = "yes"; then
64841 rm -f conftest.c
64842 touch conftest.c
64843 if $CC -c conftest.c; then
64844 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64845 grep "Warning: gc-sections option ignored" > /dev/null; then
64846 ac_gcsections=no
64849 rm -f conftest.c conftest.o conftest
64851 if test "$ac_gcsections" = "yes"; then
64852 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64855 $as_echo "$ac_gcsections" >&6; }
64857 if test "$ac_test_CFLAGS" = set; then
64858 CFLAGS="$ac_save_CFLAGS"
64859 else
64860 # this is the suspicious part
64861 CFLAGS=''
64865 # Set -z,relro.
64866 # Note this is only for shared objects.
64867 ac_ld_relro=no
64868 if test x"$with_gnu_ld" = x"yes"; then
64869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64870 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64871 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64872 if test -n "$cxx_z_relo"; then
64873 OPT_LDFLAGS="-Wl,-z,relro"
64874 ac_ld_relro=yes
64876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64877 $as_echo "$ac_ld_relro" >&6; }
64880 # Set linker optimization flags.
64881 if test x"$with_gnu_ld" = x"yes"; then
64882 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64888 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64890 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64892 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64894 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64896 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64898 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64900 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64902 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64904 if test x"long_double_math_on_this_cpu" = x"yes"; then
64905 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64907 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64909 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64913 *-qnx6.1* | *-qnx6.2*)
64914 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64917 # If we're not using GNU ld, then there's no point in even trying these
64918 # tests. Check for that first. We should have already tested for gld
64919 # by now (in libtool), but require it now just to be safe...
64920 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64921 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64925 # The name set by libtool depends on the version of libtool. Shame on us
64926 # for depending on an impl detail, but c'est la vie. Older versions used
64927 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64928 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64929 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64930 # set (hence we're using an older libtool), then set it.
64931 if test x${with_gnu_ld+set} != xset; then
64932 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64933 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64934 with_gnu_ld=no
64935 else
64936 with_gnu_ld=$ac_cv_prog_gnu_ld
64940 # Start by getting the version number. I think the libtool test already
64941 # does some of this, but throws away the result.
64942 glibcxx_ld_is_gold=no
64943 if test x"$with_gnu_ld" = x"yes"; then
64944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64945 $as_echo_n "checking for ld version... " >&6; }
64947 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64948 glibcxx_ld_is_gold=yes
64950 ldver=`$LD --version 2>/dev/null |
64951 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'`
64953 glibcxx_gnu_ld_version=`echo $ldver | \
64954 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64956 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64959 # Set --gc-sections.
64960 glibcxx_have_gc_sections=no
64961 if test "$glibcxx_ld_is_gold" = "yes"; then
64962 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64963 glibcxx_have_gc_sections=yes
64965 else
64966 glibcxx_gcsections_min_ld=21602
64967 if test x"$with_gnu_ld" = x"yes" &&
64968 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64969 glibcxx_have_gc_sections=yes
64972 if test "$glibcxx_have_gc_sections" = "yes"; then
64973 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64974 # NB: This flag only works reliably after 2.16.1. Configure tests
64975 # for this are difficult, so hard wire a value that should work.
64977 ac_test_CFLAGS="${CFLAGS+set}"
64978 ac_save_CFLAGS="$CFLAGS"
64979 CFLAGS='-Wl,--gc-sections'
64981 # Check for -Wl,--gc-sections
64982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64983 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64984 if test x$gcc_no_link = xyes; then
64985 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64988 /* end confdefs.h. */
64989 int one(void) { return 1; }
64990 int two(void) { return 2; }
64993 main ()
64995 two();
64997 return 0;
64999 _ACEOF
65000 if ac_fn_c_try_link "$LINENO"; then :
65001 ac_gcsections=yes
65002 else
65003 ac_gcsections=no
65005 rm -f core conftest.err conftest.$ac_objext \
65006 conftest$ac_exeext conftest.$ac_ext
65007 if test "$ac_gcsections" = "yes"; then
65008 rm -f conftest.c
65009 touch conftest.c
65010 if $CC -c conftest.c; then
65011 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65012 grep "Warning: gc-sections option ignored" > /dev/null; then
65013 ac_gcsections=no
65016 rm -f conftest.c conftest.o conftest
65018 if test "$ac_gcsections" = "yes"; then
65019 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65022 $as_echo "$ac_gcsections" >&6; }
65024 if test "$ac_test_CFLAGS" = set; then
65025 CFLAGS="$ac_save_CFLAGS"
65026 else
65027 # this is the suspicious part
65028 CFLAGS=''
65032 # Set -z,relro.
65033 # Note this is only for shared objects.
65034 ac_ld_relro=no
65035 if test x"$with_gnu_ld" = x"yes"; then
65036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65037 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65038 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65039 if test -n "$cxx_z_relo"; then
65040 OPT_LDFLAGS="-Wl,-z,relro"
65041 ac_ld_relro=yes
65043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65044 $as_echo "$ac_ld_relro" >&6; }
65047 # Set linker optimization flags.
65048 if test x"$with_gnu_ld" = x"yes"; then
65049 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65055 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65057 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65059 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65061 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65063 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65065 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65067 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65069 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65071 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65073 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65075 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65077 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65080 *-rtems*)
65082 # All these tests are for C++; save the language and the compiler flags.
65083 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65084 # found in GLIBCXX_CONFIGURE.
65086 ac_ext=cpp
65087 ac_cpp='$CXXCPP $CPPFLAGS'
65088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65092 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65093 ac_save_CXXFLAGS="$CXXFLAGS"
65095 # Check for maintainer-mode bits.
65096 if test x"$USE_MAINTAINER_MODE" = xno; then
65097 WERROR=''
65098 else
65099 WERROR='-Werror'
65102 # Check for -ffunction-sections -fdata-sections
65103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65104 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65105 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65107 /* end confdefs.h. */
65108 int foo; void bar() { };
65110 main ()
65114 return 0;
65116 _ACEOF
65117 if ac_fn_cxx_try_compile "$LINENO"; then :
65118 ac_fdsections=yes
65119 else
65120 ac_fdsections=no
65122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65123 if test "$ac_test_CXXFLAGS" = set; then
65124 CXXFLAGS="$ac_save_CXXFLAGS"
65125 else
65126 # this is the suspicious part
65127 CXXFLAGS=''
65129 if test x"$ac_fdsections" = x"yes"; then
65130 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65133 $as_echo "$ac_fdsections" >&6; }
65135 ac_ext=c
65136 ac_cpp='$CPP $CPPFLAGS'
65137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65145 # If we're not using GNU ld, then there's no point in even trying these
65146 # tests. Check for that first. We should have already tested for gld
65147 # by now (in libtool), but require it now just to be safe...
65148 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65149 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65153 # The name set by libtool depends on the version of libtool. Shame on us
65154 # for depending on an impl detail, but c'est la vie. Older versions used
65155 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65156 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65157 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65158 # set (hence we're using an older libtool), then set it.
65159 if test x${with_gnu_ld+set} != xset; then
65160 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65161 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65162 with_gnu_ld=no
65163 else
65164 with_gnu_ld=$ac_cv_prog_gnu_ld
65168 # Start by getting the version number. I think the libtool test already
65169 # does some of this, but throws away the result.
65170 glibcxx_ld_is_gold=no
65171 if test x"$with_gnu_ld" = x"yes"; then
65172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65173 $as_echo_n "checking for ld version... " >&6; }
65175 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65176 glibcxx_ld_is_gold=yes
65178 ldver=`$LD --version 2>/dev/null |
65179 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'`
65181 glibcxx_gnu_ld_version=`echo $ldver | \
65182 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65184 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65187 # Set --gc-sections.
65188 glibcxx_have_gc_sections=no
65189 if test "$glibcxx_ld_is_gold" = "yes"; then
65190 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65191 glibcxx_have_gc_sections=yes
65193 else
65194 glibcxx_gcsections_min_ld=21602
65195 if test x"$with_gnu_ld" = x"yes" &&
65196 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65197 glibcxx_have_gc_sections=yes
65200 if test "$glibcxx_have_gc_sections" = "yes"; then
65201 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65202 # NB: This flag only works reliably after 2.16.1. Configure tests
65203 # for this are difficult, so hard wire a value that should work.
65205 ac_test_CFLAGS="${CFLAGS+set}"
65206 ac_save_CFLAGS="$CFLAGS"
65207 CFLAGS='-Wl,--gc-sections'
65209 # Check for -Wl,--gc-sections
65210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65211 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65212 if test x$gcc_no_link = xyes; then
65213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65216 /* end confdefs.h. */
65217 int one(void) { return 1; }
65218 int two(void) { return 2; }
65221 main ()
65223 two();
65225 return 0;
65227 _ACEOF
65228 if ac_fn_c_try_link "$LINENO"; then :
65229 ac_gcsections=yes
65230 else
65231 ac_gcsections=no
65233 rm -f core conftest.err conftest.$ac_objext \
65234 conftest$ac_exeext conftest.$ac_ext
65235 if test "$ac_gcsections" = "yes"; then
65236 rm -f conftest.c
65237 touch conftest.c
65238 if $CC -c conftest.c; then
65239 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65240 grep "Warning: gc-sections option ignored" > /dev/null; then
65241 ac_gcsections=no
65244 rm -f conftest.c conftest.o conftest
65246 if test "$ac_gcsections" = "yes"; then
65247 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65250 $as_echo "$ac_gcsections" >&6; }
65252 if test "$ac_test_CFLAGS" = set; then
65253 CFLAGS="$ac_save_CFLAGS"
65254 else
65255 # this is the suspicious part
65256 CFLAGS=''
65260 # Set -z,relro.
65261 # Note this is only for shared objects.
65262 ac_ld_relro=no
65263 if test x"$with_gnu_ld" = x"yes"; then
65264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65265 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65266 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65267 if test -n "$cxx_z_relo"; then
65268 OPT_LDFLAGS="-Wl,-z,relro"
65269 ac_ld_relro=yes
65271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65272 $as_echo "$ac_ld_relro" >&6; }
65275 # Set linker optimization flags.
65276 if test x"$with_gnu_ld" = x"yes"; then
65277 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65284 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65285 ac_save_CXXFLAGS="$CXXFLAGS"
65286 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65289 $as_echo_n "checking for sin in -lm... " >&6; }
65290 if test "${ac_cv_lib_m_sin+set}" = set; then :
65291 $as_echo_n "(cached) " >&6
65292 else
65293 ac_check_lib_save_LIBS=$LIBS
65294 LIBS="-lm $LIBS"
65295 if test x$gcc_no_link = xyes; then
65296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65299 /* end confdefs.h. */
65301 /* Override any GCC internal prototype to avoid an error.
65302 Use char because int might match the return type of a GCC
65303 builtin and then its argument prototype would still apply. */
65304 #ifdef __cplusplus
65305 extern "C"
65306 #endif
65307 char sin ();
65309 main ()
65311 return sin ();
65313 return 0;
65315 _ACEOF
65316 if ac_fn_c_try_link "$LINENO"; then :
65317 ac_cv_lib_m_sin=yes
65318 else
65319 ac_cv_lib_m_sin=no
65321 rm -f core conftest.err conftest.$ac_objext \
65322 conftest$ac_exeext conftest.$ac_ext
65323 LIBS=$ac_check_lib_save_LIBS
65325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65326 $as_echo "$ac_cv_lib_m_sin" >&6; }
65327 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65328 libm="-lm"
65331 ac_save_LIBS="$LIBS"
65332 LIBS="$LIBS $libm"
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65337 $as_echo_n "checking for isinf declaration... " >&6; }
65338 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65339 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65340 $as_echo_n "(cached) " >&6
65341 else
65344 ac_ext=cpp
65345 ac_cpp='$CXXCPP $CPPFLAGS'
65346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65351 /* end confdefs.h. */
65352 #include <math.h>
65353 #ifdef HAVE_IEEEFP_H
65354 #include <ieeefp.h>
65355 #endif
65358 main ()
65360 isinf(0);
65362 return 0;
65364 _ACEOF
65365 if ac_fn_cxx_try_compile "$LINENO"; then :
65366 glibcxx_cv_func_isinf_use=yes
65367 else
65368 glibcxx_cv_func_isinf_use=no
65370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65371 ac_ext=c
65372 ac_cpp='$CPP $CPPFLAGS'
65373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65382 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65384 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65385 for ac_func in isinf
65386 do :
65387 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65388 if test "x$ac_cv_func_isinf" = x""yes; then :
65389 cat >>confdefs.h <<_ACEOF
65390 #define HAVE_ISINF 1
65391 _ACEOF
65394 done
65396 else
65398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65399 $as_echo_n "checking for _isinf declaration... " >&6; }
65400 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65401 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65402 $as_echo_n "(cached) " >&6
65403 else
65406 ac_ext=cpp
65407 ac_cpp='$CXXCPP $CPPFLAGS'
65408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65413 /* end confdefs.h. */
65414 #include <math.h>
65415 #ifdef HAVE_IEEEFP_H
65416 #include <ieeefp.h>
65417 #endif
65420 main ()
65422 _isinf(0);
65424 return 0;
65426 _ACEOF
65427 if ac_fn_cxx_try_compile "$LINENO"; then :
65428 glibcxx_cv_func__isinf_use=yes
65429 else
65430 glibcxx_cv_func__isinf_use=no
65432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65433 ac_ext=c
65434 ac_cpp='$CPP $CPPFLAGS'
65435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65444 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65446 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65447 for ac_func in _isinf
65448 do :
65449 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65450 if test "x$ac_cv_func__isinf" = x""yes; then :
65451 cat >>confdefs.h <<_ACEOF
65452 #define HAVE__ISINF 1
65453 _ACEOF
65456 done
65465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65466 $as_echo_n "checking for isnan declaration... " >&6; }
65467 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65468 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65469 $as_echo_n "(cached) " >&6
65470 else
65473 ac_ext=cpp
65474 ac_cpp='$CXXCPP $CPPFLAGS'
65475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65480 /* end confdefs.h. */
65481 #include <math.h>
65482 #ifdef HAVE_IEEEFP_H
65483 #include <ieeefp.h>
65484 #endif
65487 main ()
65489 isnan(0);
65491 return 0;
65493 _ACEOF
65494 if ac_fn_cxx_try_compile "$LINENO"; then :
65495 glibcxx_cv_func_isnan_use=yes
65496 else
65497 glibcxx_cv_func_isnan_use=no
65499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65500 ac_ext=c
65501 ac_cpp='$CPP $CPPFLAGS'
65502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65511 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65513 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65514 for ac_func in isnan
65515 do :
65516 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65517 if test "x$ac_cv_func_isnan" = x""yes; then :
65518 cat >>confdefs.h <<_ACEOF
65519 #define HAVE_ISNAN 1
65520 _ACEOF
65523 done
65525 else
65527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65528 $as_echo_n "checking for _isnan declaration... " >&6; }
65529 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65530 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65531 $as_echo_n "(cached) " >&6
65532 else
65535 ac_ext=cpp
65536 ac_cpp='$CXXCPP $CPPFLAGS'
65537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65542 /* end confdefs.h. */
65543 #include <math.h>
65544 #ifdef HAVE_IEEEFP_H
65545 #include <ieeefp.h>
65546 #endif
65549 main ()
65551 _isnan(0);
65553 return 0;
65555 _ACEOF
65556 if ac_fn_cxx_try_compile "$LINENO"; then :
65557 glibcxx_cv_func__isnan_use=yes
65558 else
65559 glibcxx_cv_func__isnan_use=no
65561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65562 ac_ext=c
65563 ac_cpp='$CPP $CPPFLAGS'
65564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65573 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65575 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65576 for ac_func in _isnan
65577 do :
65578 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65579 if test "x$ac_cv_func__isnan" = x""yes; then :
65580 cat >>confdefs.h <<_ACEOF
65581 #define HAVE__ISNAN 1
65582 _ACEOF
65585 done
65594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65595 $as_echo_n "checking for finite declaration... " >&6; }
65596 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65597 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65598 $as_echo_n "(cached) " >&6
65599 else
65602 ac_ext=cpp
65603 ac_cpp='$CXXCPP $CPPFLAGS'
65604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65609 /* end confdefs.h. */
65610 #include <math.h>
65611 #ifdef HAVE_IEEEFP_H
65612 #include <ieeefp.h>
65613 #endif
65616 main ()
65618 finite(0);
65620 return 0;
65622 _ACEOF
65623 if ac_fn_cxx_try_compile "$LINENO"; then :
65624 glibcxx_cv_func_finite_use=yes
65625 else
65626 glibcxx_cv_func_finite_use=no
65628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65629 ac_ext=c
65630 ac_cpp='$CPP $CPPFLAGS'
65631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65640 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65642 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65643 for ac_func in finite
65644 do :
65645 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65646 if test "x$ac_cv_func_finite" = x""yes; then :
65647 cat >>confdefs.h <<_ACEOF
65648 #define HAVE_FINITE 1
65649 _ACEOF
65652 done
65654 else
65656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65657 $as_echo_n "checking for _finite declaration... " >&6; }
65658 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65659 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65660 $as_echo_n "(cached) " >&6
65661 else
65664 ac_ext=cpp
65665 ac_cpp='$CXXCPP $CPPFLAGS'
65666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65671 /* end confdefs.h. */
65672 #include <math.h>
65673 #ifdef HAVE_IEEEFP_H
65674 #include <ieeefp.h>
65675 #endif
65678 main ()
65680 _finite(0);
65682 return 0;
65684 _ACEOF
65685 if ac_fn_cxx_try_compile "$LINENO"; then :
65686 glibcxx_cv_func__finite_use=yes
65687 else
65688 glibcxx_cv_func__finite_use=no
65690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65691 ac_ext=c
65692 ac_cpp='$CPP $CPPFLAGS'
65693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65702 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65704 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65705 for ac_func in _finite
65706 do :
65707 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65708 if test "x$ac_cv_func__finite" = x""yes; then :
65709 cat >>confdefs.h <<_ACEOF
65710 #define HAVE__FINITE 1
65711 _ACEOF
65714 done
65723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65724 $as_echo_n "checking for sincos declaration... " >&6; }
65725 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65726 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65727 $as_echo_n "(cached) " >&6
65728 else
65731 ac_ext=cpp
65732 ac_cpp='$CXXCPP $CPPFLAGS'
65733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65738 /* end confdefs.h. */
65739 #include <math.h>
65741 main ()
65743 sincos(0, 0, 0);
65745 return 0;
65747 _ACEOF
65748 if ac_fn_cxx_try_compile "$LINENO"; then :
65749 glibcxx_cv_func_sincos_use=yes
65750 else
65751 glibcxx_cv_func_sincos_use=no
65753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65754 ac_ext=c
65755 ac_cpp='$CPP $CPPFLAGS'
65756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65765 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65767 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65768 for ac_func in sincos
65769 do :
65770 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65771 if test "x$ac_cv_func_sincos" = x""yes; then :
65772 cat >>confdefs.h <<_ACEOF
65773 #define HAVE_SINCOS 1
65774 _ACEOF
65777 done
65779 else
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65782 $as_echo_n "checking for _sincos declaration... " >&6; }
65783 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65784 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65785 $as_echo_n "(cached) " >&6
65786 else
65789 ac_ext=cpp
65790 ac_cpp='$CXXCPP $CPPFLAGS'
65791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65796 /* end confdefs.h. */
65797 #include <math.h>
65799 main ()
65801 _sincos(0, 0, 0);
65803 return 0;
65805 _ACEOF
65806 if ac_fn_cxx_try_compile "$LINENO"; then :
65807 glibcxx_cv_func__sincos_use=yes
65808 else
65809 glibcxx_cv_func__sincos_use=no
65811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65812 ac_ext=c
65813 ac_cpp='$CPP $CPPFLAGS'
65814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65823 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65825 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65826 for ac_func in _sincos
65827 do :
65828 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65829 if test "x$ac_cv_func__sincos" = x""yes; then :
65830 cat >>confdefs.h <<_ACEOF
65831 #define HAVE__SINCOS 1
65832 _ACEOF
65835 done
65844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65845 $as_echo_n "checking for fpclass declaration... " >&6; }
65846 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65847 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65848 $as_echo_n "(cached) " >&6
65849 else
65852 ac_ext=cpp
65853 ac_cpp='$CXXCPP $CPPFLAGS'
65854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65859 /* end confdefs.h. */
65860 #include <math.h>
65861 #ifdef HAVE_IEEEFP_H
65862 #include <ieeefp.h>
65863 #endif
65866 main ()
65868 fpclass(0);
65870 return 0;
65872 _ACEOF
65873 if ac_fn_cxx_try_compile "$LINENO"; then :
65874 glibcxx_cv_func_fpclass_use=yes
65875 else
65876 glibcxx_cv_func_fpclass_use=no
65878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65879 ac_ext=c
65880 ac_cpp='$CPP $CPPFLAGS'
65881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65890 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65892 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65893 for ac_func in fpclass
65894 do :
65895 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65896 if test "x$ac_cv_func_fpclass" = x""yes; then :
65897 cat >>confdefs.h <<_ACEOF
65898 #define HAVE_FPCLASS 1
65899 _ACEOF
65902 done
65904 else
65906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65907 $as_echo_n "checking for _fpclass declaration... " >&6; }
65908 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65909 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65910 $as_echo_n "(cached) " >&6
65911 else
65914 ac_ext=cpp
65915 ac_cpp='$CXXCPP $CPPFLAGS'
65916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65921 /* end confdefs.h. */
65922 #include <math.h>
65923 #ifdef HAVE_IEEEFP_H
65924 #include <ieeefp.h>
65925 #endif
65928 main ()
65930 _fpclass(0);
65932 return 0;
65934 _ACEOF
65935 if ac_fn_cxx_try_compile "$LINENO"; then :
65936 glibcxx_cv_func__fpclass_use=yes
65937 else
65938 glibcxx_cv_func__fpclass_use=no
65940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65941 ac_ext=c
65942 ac_cpp='$CPP $CPPFLAGS'
65943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65952 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65954 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65955 for ac_func in _fpclass
65956 do :
65957 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65958 if test "x$ac_cv_func__fpclass" = x""yes; then :
65959 cat >>confdefs.h <<_ACEOF
65960 #define HAVE__FPCLASS 1
65961 _ACEOF
65964 done
65973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65974 $as_echo_n "checking for qfpclass declaration... " >&6; }
65975 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65976 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65977 $as_echo_n "(cached) " >&6
65978 else
65981 ac_ext=cpp
65982 ac_cpp='$CXXCPP $CPPFLAGS'
65983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65988 /* end confdefs.h. */
65989 #include <math.h>
65990 #ifdef HAVE_IEEEFP_H
65991 #include <ieeefp.h>
65992 #endif
65995 main ()
65997 qfpclass(0);
65999 return 0;
66001 _ACEOF
66002 if ac_fn_cxx_try_compile "$LINENO"; then :
66003 glibcxx_cv_func_qfpclass_use=yes
66004 else
66005 glibcxx_cv_func_qfpclass_use=no
66007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66008 ac_ext=c
66009 ac_cpp='$CPP $CPPFLAGS'
66010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66019 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66021 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66022 for ac_func in qfpclass
66023 do :
66024 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66025 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66026 cat >>confdefs.h <<_ACEOF
66027 #define HAVE_QFPCLASS 1
66028 _ACEOF
66031 done
66033 else
66035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66036 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66037 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66038 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66039 $as_echo_n "(cached) " >&6
66040 else
66043 ac_ext=cpp
66044 ac_cpp='$CXXCPP $CPPFLAGS'
66045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66050 /* end confdefs.h. */
66051 #include <math.h>
66052 #ifdef HAVE_IEEEFP_H
66053 #include <ieeefp.h>
66054 #endif
66057 main ()
66059 _qfpclass(0);
66061 return 0;
66063 _ACEOF
66064 if ac_fn_cxx_try_compile "$LINENO"; then :
66065 glibcxx_cv_func__qfpclass_use=yes
66066 else
66067 glibcxx_cv_func__qfpclass_use=no
66069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66070 ac_ext=c
66071 ac_cpp='$CPP $CPPFLAGS'
66072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66081 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66083 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66084 for ac_func in _qfpclass
66085 do :
66086 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66087 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66088 cat >>confdefs.h <<_ACEOF
66089 #define HAVE__QFPCLASS 1
66090 _ACEOF
66093 done
66102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66103 $as_echo_n "checking for hypot declaration... " >&6; }
66104 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66105 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66106 $as_echo_n "(cached) " >&6
66107 else
66110 ac_ext=cpp
66111 ac_cpp='$CXXCPP $CPPFLAGS'
66112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66117 /* end confdefs.h. */
66118 #include <math.h>
66120 main ()
66122 hypot(0, 0);
66124 return 0;
66126 _ACEOF
66127 if ac_fn_cxx_try_compile "$LINENO"; then :
66128 glibcxx_cv_func_hypot_use=yes
66129 else
66130 glibcxx_cv_func_hypot_use=no
66132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66133 ac_ext=c
66134 ac_cpp='$CPP $CPPFLAGS'
66135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66144 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66146 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66147 for ac_func in hypot
66148 do :
66149 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66150 if test "x$ac_cv_func_hypot" = x""yes; then :
66151 cat >>confdefs.h <<_ACEOF
66152 #define HAVE_HYPOT 1
66153 _ACEOF
66156 done
66158 else
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66161 $as_echo_n "checking for _hypot declaration... " >&6; }
66162 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66163 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66164 $as_echo_n "(cached) " >&6
66165 else
66168 ac_ext=cpp
66169 ac_cpp='$CXXCPP $CPPFLAGS'
66170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66175 /* end confdefs.h. */
66176 #include <math.h>
66178 main ()
66180 _hypot(0, 0);
66182 return 0;
66184 _ACEOF
66185 if ac_fn_cxx_try_compile "$LINENO"; then :
66186 glibcxx_cv_func__hypot_use=yes
66187 else
66188 glibcxx_cv_func__hypot_use=no
66190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66191 ac_ext=c
66192 ac_cpp='$CPP $CPPFLAGS'
66193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66202 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66204 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66205 for ac_func in _hypot
66206 do :
66207 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66208 if test "x$ac_cv_func__hypot" = x""yes; then :
66209 cat >>confdefs.h <<_ACEOF
66210 #define HAVE__HYPOT 1
66211 _ACEOF
66214 done
66223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66224 $as_echo_n "checking for float trig functions... " >&6; }
66225 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66226 $as_echo_n "(cached) " >&6
66227 else
66230 ac_ext=cpp
66231 ac_cpp='$CXXCPP $CPPFLAGS'
66232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66237 /* end confdefs.h. */
66238 #include <math.h>
66240 main ()
66242 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66244 return 0;
66246 _ACEOF
66247 if ac_fn_cxx_try_compile "$LINENO"; then :
66248 glibcxx_cv_func_float_trig_use=yes
66249 else
66250 glibcxx_cv_func_float_trig_use=no
66252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66253 ac_ext=c
66254 ac_cpp='$CPP $CPPFLAGS'
66255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66262 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66263 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66264 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66265 do :
66266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66268 eval as_val=\$$as_ac_var
66269 if test "x$as_val" = x""yes; then :
66270 cat >>confdefs.h <<_ACEOF
66271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66272 _ACEOF
66275 done
66277 else
66278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66279 $as_echo_n "checking for _float trig functions... " >&6; }
66280 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66281 $as_echo_n "(cached) " >&6
66282 else
66285 ac_ext=cpp
66286 ac_cpp='$CXXCPP $CPPFLAGS'
66287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66292 /* end confdefs.h. */
66293 #include <math.h>
66295 main ()
66297 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66299 return 0;
66301 _ACEOF
66302 if ac_fn_cxx_try_compile "$LINENO"; then :
66303 glibcxx_cv_func__float_trig_use=yes
66304 else
66305 glibcxx_cv_func__float_trig_use=no
66307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66308 ac_ext=c
66309 ac_cpp='$CPP $CPPFLAGS'
66310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66317 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66318 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66319 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66320 do :
66321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66323 eval as_val=\$$as_ac_var
66324 if test "x$as_val" = x""yes; then :
66325 cat >>confdefs.h <<_ACEOF
66326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66327 _ACEOF
66330 done
66339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66340 $as_echo_n "checking for float round functions... " >&6; }
66341 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66342 $as_echo_n "(cached) " >&6
66343 else
66346 ac_ext=cpp
66347 ac_cpp='$CXXCPP $CPPFLAGS'
66348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66353 /* end confdefs.h. */
66354 #include <math.h>
66356 main ()
66358 ceilf (0); floorf (0);
66360 return 0;
66362 _ACEOF
66363 if ac_fn_cxx_try_compile "$LINENO"; then :
66364 glibcxx_cv_func_float_round_use=yes
66365 else
66366 glibcxx_cv_func_float_round_use=no
66368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66369 ac_ext=c
66370 ac_cpp='$CPP $CPPFLAGS'
66371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66378 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66379 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66380 for ac_func in ceilf floorf
66381 do :
66382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66384 eval as_val=\$$as_ac_var
66385 if test "x$as_val" = x""yes; then :
66386 cat >>confdefs.h <<_ACEOF
66387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66388 _ACEOF
66391 done
66393 else
66394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66395 $as_echo_n "checking for _float round functions... " >&6; }
66396 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66397 $as_echo_n "(cached) " >&6
66398 else
66401 ac_ext=cpp
66402 ac_cpp='$CXXCPP $CPPFLAGS'
66403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66408 /* end confdefs.h. */
66409 #include <math.h>
66411 main ()
66413 _ceilf (0); _floorf (0);
66415 return 0;
66417 _ACEOF
66418 if ac_fn_cxx_try_compile "$LINENO"; then :
66419 glibcxx_cv_func__float_round_use=yes
66420 else
66421 glibcxx_cv_func__float_round_use=no
66423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66424 ac_ext=c
66425 ac_cpp='$CPP $CPPFLAGS'
66426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66433 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66434 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66435 for ac_func in _ceilf _floorf
66436 do :
66437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66439 eval as_val=\$$as_ac_var
66440 if test "x$as_val" = x""yes; then :
66441 cat >>confdefs.h <<_ACEOF
66442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66443 _ACEOF
66446 done
66456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66457 $as_echo_n "checking for expf declaration... " >&6; }
66458 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66459 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66460 $as_echo_n "(cached) " >&6
66461 else
66464 ac_ext=cpp
66465 ac_cpp='$CXXCPP $CPPFLAGS'
66466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66471 /* end confdefs.h. */
66472 #include <math.h>
66473 #ifdef HAVE_IEEEFP_H
66474 #include <ieeefp.h>
66475 #endif
66478 main ()
66480 expf(0);
66482 return 0;
66484 _ACEOF
66485 if ac_fn_cxx_try_compile "$LINENO"; then :
66486 glibcxx_cv_func_expf_use=yes
66487 else
66488 glibcxx_cv_func_expf_use=no
66490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66491 ac_ext=c
66492 ac_cpp='$CPP $CPPFLAGS'
66493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66502 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66504 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66505 for ac_func in expf
66506 do :
66507 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66508 if test "x$ac_cv_func_expf" = x""yes; then :
66509 cat >>confdefs.h <<_ACEOF
66510 #define HAVE_EXPF 1
66511 _ACEOF
66514 done
66516 else
66518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66519 $as_echo_n "checking for _expf declaration... " >&6; }
66520 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66521 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66522 $as_echo_n "(cached) " >&6
66523 else
66526 ac_ext=cpp
66527 ac_cpp='$CXXCPP $CPPFLAGS'
66528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66533 /* end confdefs.h. */
66534 #include <math.h>
66535 #ifdef HAVE_IEEEFP_H
66536 #include <ieeefp.h>
66537 #endif
66540 main ()
66542 _expf(0);
66544 return 0;
66546 _ACEOF
66547 if ac_fn_cxx_try_compile "$LINENO"; then :
66548 glibcxx_cv_func__expf_use=yes
66549 else
66550 glibcxx_cv_func__expf_use=no
66552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66553 ac_ext=c
66554 ac_cpp='$CPP $CPPFLAGS'
66555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66564 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66566 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66567 for ac_func in _expf
66568 do :
66569 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66570 if test "x$ac_cv_func__expf" = x""yes; then :
66571 cat >>confdefs.h <<_ACEOF
66572 #define HAVE__EXPF 1
66573 _ACEOF
66576 done
66585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66586 $as_echo_n "checking for isnanf declaration... " >&6; }
66587 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66588 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66589 $as_echo_n "(cached) " >&6
66590 else
66593 ac_ext=cpp
66594 ac_cpp='$CXXCPP $CPPFLAGS'
66595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66600 /* end confdefs.h. */
66601 #include <math.h>
66602 #ifdef HAVE_IEEEFP_H
66603 #include <ieeefp.h>
66604 #endif
66607 main ()
66609 isnanf(0);
66611 return 0;
66613 _ACEOF
66614 if ac_fn_cxx_try_compile "$LINENO"; then :
66615 glibcxx_cv_func_isnanf_use=yes
66616 else
66617 glibcxx_cv_func_isnanf_use=no
66619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66620 ac_ext=c
66621 ac_cpp='$CPP $CPPFLAGS'
66622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66631 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66633 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66634 for ac_func in isnanf
66635 do :
66636 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66637 if test "x$ac_cv_func_isnanf" = x""yes; then :
66638 cat >>confdefs.h <<_ACEOF
66639 #define HAVE_ISNANF 1
66640 _ACEOF
66643 done
66645 else
66647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66648 $as_echo_n "checking for _isnanf declaration... " >&6; }
66649 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66650 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66651 $as_echo_n "(cached) " >&6
66652 else
66655 ac_ext=cpp
66656 ac_cpp='$CXXCPP $CPPFLAGS'
66657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66662 /* end confdefs.h. */
66663 #include <math.h>
66664 #ifdef HAVE_IEEEFP_H
66665 #include <ieeefp.h>
66666 #endif
66669 main ()
66671 _isnanf(0);
66673 return 0;
66675 _ACEOF
66676 if ac_fn_cxx_try_compile "$LINENO"; then :
66677 glibcxx_cv_func__isnanf_use=yes
66678 else
66679 glibcxx_cv_func__isnanf_use=no
66681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66682 ac_ext=c
66683 ac_cpp='$CPP $CPPFLAGS'
66684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66693 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66695 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66696 for ac_func in _isnanf
66697 do :
66698 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66699 if test "x$ac_cv_func__isnanf" = x""yes; then :
66700 cat >>confdefs.h <<_ACEOF
66701 #define HAVE__ISNANF 1
66702 _ACEOF
66705 done
66714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66715 $as_echo_n "checking for isinff declaration... " >&6; }
66716 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66717 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66718 $as_echo_n "(cached) " >&6
66719 else
66722 ac_ext=cpp
66723 ac_cpp='$CXXCPP $CPPFLAGS'
66724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66729 /* end confdefs.h. */
66730 #include <math.h>
66731 #ifdef HAVE_IEEEFP_H
66732 #include <ieeefp.h>
66733 #endif
66736 main ()
66738 isinff(0);
66740 return 0;
66742 _ACEOF
66743 if ac_fn_cxx_try_compile "$LINENO"; then :
66744 glibcxx_cv_func_isinff_use=yes
66745 else
66746 glibcxx_cv_func_isinff_use=no
66748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66749 ac_ext=c
66750 ac_cpp='$CPP $CPPFLAGS'
66751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66760 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66762 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66763 for ac_func in isinff
66764 do :
66765 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66766 if test "x$ac_cv_func_isinff" = x""yes; then :
66767 cat >>confdefs.h <<_ACEOF
66768 #define HAVE_ISINFF 1
66769 _ACEOF
66772 done
66774 else
66776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66777 $as_echo_n "checking for _isinff declaration... " >&6; }
66778 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66779 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66780 $as_echo_n "(cached) " >&6
66781 else
66784 ac_ext=cpp
66785 ac_cpp='$CXXCPP $CPPFLAGS'
66786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66791 /* end confdefs.h. */
66792 #include <math.h>
66793 #ifdef HAVE_IEEEFP_H
66794 #include <ieeefp.h>
66795 #endif
66798 main ()
66800 _isinff(0);
66802 return 0;
66804 _ACEOF
66805 if ac_fn_cxx_try_compile "$LINENO"; then :
66806 glibcxx_cv_func__isinff_use=yes
66807 else
66808 glibcxx_cv_func__isinff_use=no
66810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66811 ac_ext=c
66812 ac_cpp='$CPP $CPPFLAGS'
66813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66822 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66824 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66825 for ac_func in _isinff
66826 do :
66827 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66828 if test "x$ac_cv_func__isinff" = x""yes; then :
66829 cat >>confdefs.h <<_ACEOF
66830 #define HAVE__ISINFF 1
66831 _ACEOF
66834 done
66843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66844 $as_echo_n "checking for atan2f declaration... " >&6; }
66845 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66846 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66847 $as_echo_n "(cached) " >&6
66848 else
66851 ac_ext=cpp
66852 ac_cpp='$CXXCPP $CPPFLAGS'
66853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66858 /* end confdefs.h. */
66859 #include <math.h>
66861 main ()
66863 atan2f(0, 0);
66865 return 0;
66867 _ACEOF
66868 if ac_fn_cxx_try_compile "$LINENO"; then :
66869 glibcxx_cv_func_atan2f_use=yes
66870 else
66871 glibcxx_cv_func_atan2f_use=no
66873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66874 ac_ext=c
66875 ac_cpp='$CPP $CPPFLAGS'
66876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66885 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66887 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66888 for ac_func in atan2f
66889 do :
66890 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66891 if test "x$ac_cv_func_atan2f" = x""yes; then :
66892 cat >>confdefs.h <<_ACEOF
66893 #define HAVE_ATAN2F 1
66894 _ACEOF
66897 done
66899 else
66901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66902 $as_echo_n "checking for _atan2f declaration... " >&6; }
66903 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66904 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66905 $as_echo_n "(cached) " >&6
66906 else
66909 ac_ext=cpp
66910 ac_cpp='$CXXCPP $CPPFLAGS'
66911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66916 /* end confdefs.h. */
66917 #include <math.h>
66919 main ()
66921 _atan2f(0, 0);
66923 return 0;
66925 _ACEOF
66926 if ac_fn_cxx_try_compile "$LINENO"; then :
66927 glibcxx_cv_func__atan2f_use=yes
66928 else
66929 glibcxx_cv_func__atan2f_use=no
66931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66932 ac_ext=c
66933 ac_cpp='$CPP $CPPFLAGS'
66934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66943 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66945 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66946 for ac_func in _atan2f
66947 do :
66948 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66949 if test "x$ac_cv_func__atan2f" = x""yes; then :
66950 cat >>confdefs.h <<_ACEOF
66951 #define HAVE__ATAN2F 1
66952 _ACEOF
66955 done
66964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66965 $as_echo_n "checking for fabsf declaration... " >&6; }
66966 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66967 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66968 $as_echo_n "(cached) " >&6
66969 else
66972 ac_ext=cpp
66973 ac_cpp='$CXXCPP $CPPFLAGS'
66974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66979 /* end confdefs.h. */
66980 #include <math.h>
66981 #ifdef HAVE_IEEEFP_H
66982 #include <ieeefp.h>
66983 #endif
66986 main ()
66988 fabsf(0);
66990 return 0;
66992 _ACEOF
66993 if ac_fn_cxx_try_compile "$LINENO"; then :
66994 glibcxx_cv_func_fabsf_use=yes
66995 else
66996 glibcxx_cv_func_fabsf_use=no
66998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66999 ac_ext=c
67000 ac_cpp='$CPP $CPPFLAGS'
67001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67010 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67012 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67013 for ac_func in fabsf
67014 do :
67015 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67016 if test "x$ac_cv_func_fabsf" = x""yes; then :
67017 cat >>confdefs.h <<_ACEOF
67018 #define HAVE_FABSF 1
67019 _ACEOF
67022 done
67024 else
67026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67027 $as_echo_n "checking for _fabsf declaration... " >&6; }
67028 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67029 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67030 $as_echo_n "(cached) " >&6
67031 else
67034 ac_ext=cpp
67035 ac_cpp='$CXXCPP $CPPFLAGS'
67036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67041 /* end confdefs.h. */
67042 #include <math.h>
67043 #ifdef HAVE_IEEEFP_H
67044 #include <ieeefp.h>
67045 #endif
67048 main ()
67050 _fabsf(0);
67052 return 0;
67054 _ACEOF
67055 if ac_fn_cxx_try_compile "$LINENO"; then :
67056 glibcxx_cv_func__fabsf_use=yes
67057 else
67058 glibcxx_cv_func__fabsf_use=no
67060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67061 ac_ext=c
67062 ac_cpp='$CPP $CPPFLAGS'
67063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67072 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67074 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67075 for ac_func in _fabsf
67076 do :
67077 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67078 if test "x$ac_cv_func__fabsf" = x""yes; then :
67079 cat >>confdefs.h <<_ACEOF
67080 #define HAVE__FABSF 1
67081 _ACEOF
67084 done
67093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67094 $as_echo_n "checking for fmodf declaration... " >&6; }
67095 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67096 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67097 $as_echo_n "(cached) " >&6
67098 else
67101 ac_ext=cpp
67102 ac_cpp='$CXXCPP $CPPFLAGS'
67103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67108 /* end confdefs.h. */
67109 #include <math.h>
67111 main ()
67113 fmodf(0, 0);
67115 return 0;
67117 _ACEOF
67118 if ac_fn_cxx_try_compile "$LINENO"; then :
67119 glibcxx_cv_func_fmodf_use=yes
67120 else
67121 glibcxx_cv_func_fmodf_use=no
67123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67124 ac_ext=c
67125 ac_cpp='$CPP $CPPFLAGS'
67126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67135 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67137 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67138 for ac_func in fmodf
67139 do :
67140 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67141 if test "x$ac_cv_func_fmodf" = x""yes; then :
67142 cat >>confdefs.h <<_ACEOF
67143 #define HAVE_FMODF 1
67144 _ACEOF
67147 done
67149 else
67151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67152 $as_echo_n "checking for _fmodf declaration... " >&6; }
67153 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67154 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67155 $as_echo_n "(cached) " >&6
67156 else
67159 ac_ext=cpp
67160 ac_cpp='$CXXCPP $CPPFLAGS'
67161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67166 /* end confdefs.h. */
67167 #include <math.h>
67169 main ()
67171 _fmodf(0, 0);
67173 return 0;
67175 _ACEOF
67176 if ac_fn_cxx_try_compile "$LINENO"; then :
67177 glibcxx_cv_func__fmodf_use=yes
67178 else
67179 glibcxx_cv_func__fmodf_use=no
67181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67182 ac_ext=c
67183 ac_cpp='$CPP $CPPFLAGS'
67184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67193 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67195 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67196 for ac_func in _fmodf
67197 do :
67198 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67199 if test "x$ac_cv_func__fmodf" = x""yes; then :
67200 cat >>confdefs.h <<_ACEOF
67201 #define HAVE__FMODF 1
67202 _ACEOF
67205 done
67214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67215 $as_echo_n "checking for frexpf declaration... " >&6; }
67216 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67217 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67218 $as_echo_n "(cached) " >&6
67219 else
67222 ac_ext=cpp
67223 ac_cpp='$CXXCPP $CPPFLAGS'
67224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67229 /* end confdefs.h. */
67230 #include <math.h>
67232 main ()
67234 frexpf(0, 0);
67236 return 0;
67238 _ACEOF
67239 if ac_fn_cxx_try_compile "$LINENO"; then :
67240 glibcxx_cv_func_frexpf_use=yes
67241 else
67242 glibcxx_cv_func_frexpf_use=no
67244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67245 ac_ext=c
67246 ac_cpp='$CPP $CPPFLAGS'
67247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67256 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67258 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67259 for ac_func in frexpf
67260 do :
67261 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67262 if test "x$ac_cv_func_frexpf" = x""yes; then :
67263 cat >>confdefs.h <<_ACEOF
67264 #define HAVE_FREXPF 1
67265 _ACEOF
67268 done
67270 else
67272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67273 $as_echo_n "checking for _frexpf declaration... " >&6; }
67274 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67275 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67276 $as_echo_n "(cached) " >&6
67277 else
67280 ac_ext=cpp
67281 ac_cpp='$CXXCPP $CPPFLAGS'
67282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67287 /* end confdefs.h. */
67288 #include <math.h>
67290 main ()
67292 _frexpf(0, 0);
67294 return 0;
67296 _ACEOF
67297 if ac_fn_cxx_try_compile "$LINENO"; then :
67298 glibcxx_cv_func__frexpf_use=yes
67299 else
67300 glibcxx_cv_func__frexpf_use=no
67302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67303 ac_ext=c
67304 ac_cpp='$CPP $CPPFLAGS'
67305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67314 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67316 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67317 for ac_func in _frexpf
67318 do :
67319 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67320 if test "x$ac_cv_func__frexpf" = x""yes; then :
67321 cat >>confdefs.h <<_ACEOF
67322 #define HAVE__FREXPF 1
67323 _ACEOF
67326 done
67335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67336 $as_echo_n "checking for hypotf declaration... " >&6; }
67337 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67338 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67339 $as_echo_n "(cached) " >&6
67340 else
67343 ac_ext=cpp
67344 ac_cpp='$CXXCPP $CPPFLAGS'
67345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67350 /* end confdefs.h. */
67351 #include <math.h>
67353 main ()
67355 hypotf(0, 0);
67357 return 0;
67359 _ACEOF
67360 if ac_fn_cxx_try_compile "$LINENO"; then :
67361 glibcxx_cv_func_hypotf_use=yes
67362 else
67363 glibcxx_cv_func_hypotf_use=no
67365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67366 ac_ext=c
67367 ac_cpp='$CPP $CPPFLAGS'
67368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67377 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67379 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67380 for ac_func in hypotf
67381 do :
67382 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67383 if test "x$ac_cv_func_hypotf" = x""yes; then :
67384 cat >>confdefs.h <<_ACEOF
67385 #define HAVE_HYPOTF 1
67386 _ACEOF
67389 done
67391 else
67393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67394 $as_echo_n "checking for _hypotf declaration... " >&6; }
67395 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67396 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67397 $as_echo_n "(cached) " >&6
67398 else
67401 ac_ext=cpp
67402 ac_cpp='$CXXCPP $CPPFLAGS'
67403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67408 /* end confdefs.h. */
67409 #include <math.h>
67411 main ()
67413 _hypotf(0, 0);
67415 return 0;
67417 _ACEOF
67418 if ac_fn_cxx_try_compile "$LINENO"; then :
67419 glibcxx_cv_func__hypotf_use=yes
67420 else
67421 glibcxx_cv_func__hypotf_use=no
67423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67424 ac_ext=c
67425 ac_cpp='$CPP $CPPFLAGS'
67426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67435 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67437 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67438 for ac_func in _hypotf
67439 do :
67440 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67441 if test "x$ac_cv_func__hypotf" = x""yes; then :
67442 cat >>confdefs.h <<_ACEOF
67443 #define HAVE__HYPOTF 1
67444 _ACEOF
67447 done
67456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67457 $as_echo_n "checking for ldexpf declaration... " >&6; }
67458 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67459 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67460 $as_echo_n "(cached) " >&6
67461 else
67464 ac_ext=cpp
67465 ac_cpp='$CXXCPP $CPPFLAGS'
67466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67471 /* end confdefs.h. */
67472 #include <math.h>
67474 main ()
67476 ldexpf(0, 0);
67478 return 0;
67480 _ACEOF
67481 if ac_fn_cxx_try_compile "$LINENO"; then :
67482 glibcxx_cv_func_ldexpf_use=yes
67483 else
67484 glibcxx_cv_func_ldexpf_use=no
67486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67487 ac_ext=c
67488 ac_cpp='$CPP $CPPFLAGS'
67489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67498 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67500 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67501 for ac_func in ldexpf
67502 do :
67503 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67504 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67505 cat >>confdefs.h <<_ACEOF
67506 #define HAVE_LDEXPF 1
67507 _ACEOF
67510 done
67512 else
67514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67515 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67516 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67517 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67518 $as_echo_n "(cached) " >&6
67519 else
67522 ac_ext=cpp
67523 ac_cpp='$CXXCPP $CPPFLAGS'
67524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67529 /* end confdefs.h. */
67530 #include <math.h>
67532 main ()
67534 _ldexpf(0, 0);
67536 return 0;
67538 _ACEOF
67539 if ac_fn_cxx_try_compile "$LINENO"; then :
67540 glibcxx_cv_func__ldexpf_use=yes
67541 else
67542 glibcxx_cv_func__ldexpf_use=no
67544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67545 ac_ext=c
67546 ac_cpp='$CPP $CPPFLAGS'
67547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67556 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67558 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67559 for ac_func in _ldexpf
67560 do :
67561 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67562 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67563 cat >>confdefs.h <<_ACEOF
67564 #define HAVE__LDEXPF 1
67565 _ACEOF
67568 done
67577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67578 $as_echo_n "checking for logf declaration... " >&6; }
67579 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67580 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67581 $as_echo_n "(cached) " >&6
67582 else
67585 ac_ext=cpp
67586 ac_cpp='$CXXCPP $CPPFLAGS'
67587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67592 /* end confdefs.h. */
67593 #include <math.h>
67594 #ifdef HAVE_IEEEFP_H
67595 #include <ieeefp.h>
67596 #endif
67599 main ()
67601 logf(0);
67603 return 0;
67605 _ACEOF
67606 if ac_fn_cxx_try_compile "$LINENO"; then :
67607 glibcxx_cv_func_logf_use=yes
67608 else
67609 glibcxx_cv_func_logf_use=no
67611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67612 ac_ext=c
67613 ac_cpp='$CPP $CPPFLAGS'
67614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67623 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67625 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67626 for ac_func in logf
67627 do :
67628 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67629 if test "x$ac_cv_func_logf" = x""yes; then :
67630 cat >>confdefs.h <<_ACEOF
67631 #define HAVE_LOGF 1
67632 _ACEOF
67635 done
67637 else
67639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67640 $as_echo_n "checking for _logf declaration... " >&6; }
67641 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67642 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67643 $as_echo_n "(cached) " >&6
67644 else
67647 ac_ext=cpp
67648 ac_cpp='$CXXCPP $CPPFLAGS'
67649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67654 /* end confdefs.h. */
67655 #include <math.h>
67656 #ifdef HAVE_IEEEFP_H
67657 #include <ieeefp.h>
67658 #endif
67661 main ()
67663 _logf(0);
67665 return 0;
67667 _ACEOF
67668 if ac_fn_cxx_try_compile "$LINENO"; then :
67669 glibcxx_cv_func__logf_use=yes
67670 else
67671 glibcxx_cv_func__logf_use=no
67673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67674 ac_ext=c
67675 ac_cpp='$CPP $CPPFLAGS'
67676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67685 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67687 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67688 for ac_func in _logf
67689 do :
67690 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67691 if test "x$ac_cv_func__logf" = x""yes; then :
67692 cat >>confdefs.h <<_ACEOF
67693 #define HAVE__LOGF 1
67694 _ACEOF
67697 done
67706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67707 $as_echo_n "checking for log10f declaration... " >&6; }
67708 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67709 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67710 $as_echo_n "(cached) " >&6
67711 else
67714 ac_ext=cpp
67715 ac_cpp='$CXXCPP $CPPFLAGS'
67716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67721 /* end confdefs.h. */
67722 #include <math.h>
67723 #ifdef HAVE_IEEEFP_H
67724 #include <ieeefp.h>
67725 #endif
67728 main ()
67730 log10f(0);
67732 return 0;
67734 _ACEOF
67735 if ac_fn_cxx_try_compile "$LINENO"; then :
67736 glibcxx_cv_func_log10f_use=yes
67737 else
67738 glibcxx_cv_func_log10f_use=no
67740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67741 ac_ext=c
67742 ac_cpp='$CPP $CPPFLAGS'
67743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67752 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67754 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67755 for ac_func in log10f
67756 do :
67757 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67758 if test "x$ac_cv_func_log10f" = x""yes; then :
67759 cat >>confdefs.h <<_ACEOF
67760 #define HAVE_LOG10F 1
67761 _ACEOF
67764 done
67766 else
67768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67769 $as_echo_n "checking for _log10f declaration... " >&6; }
67770 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67771 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67772 $as_echo_n "(cached) " >&6
67773 else
67776 ac_ext=cpp
67777 ac_cpp='$CXXCPP $CPPFLAGS'
67778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67783 /* end confdefs.h. */
67784 #include <math.h>
67785 #ifdef HAVE_IEEEFP_H
67786 #include <ieeefp.h>
67787 #endif
67790 main ()
67792 _log10f(0);
67794 return 0;
67796 _ACEOF
67797 if ac_fn_cxx_try_compile "$LINENO"; then :
67798 glibcxx_cv_func__log10f_use=yes
67799 else
67800 glibcxx_cv_func__log10f_use=no
67802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67803 ac_ext=c
67804 ac_cpp='$CPP $CPPFLAGS'
67805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67814 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67816 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67817 for ac_func in _log10f
67818 do :
67819 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67820 if test "x$ac_cv_func__log10f" = x""yes; then :
67821 cat >>confdefs.h <<_ACEOF
67822 #define HAVE__LOG10F 1
67823 _ACEOF
67826 done
67835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67836 $as_echo_n "checking for modff declaration... " >&6; }
67837 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67838 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67839 $as_echo_n "(cached) " >&6
67840 else
67843 ac_ext=cpp
67844 ac_cpp='$CXXCPP $CPPFLAGS'
67845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67850 /* end confdefs.h. */
67851 #include <math.h>
67853 main ()
67855 modff(0, 0);
67857 return 0;
67859 _ACEOF
67860 if ac_fn_cxx_try_compile "$LINENO"; then :
67861 glibcxx_cv_func_modff_use=yes
67862 else
67863 glibcxx_cv_func_modff_use=no
67865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67866 ac_ext=c
67867 ac_cpp='$CPP $CPPFLAGS'
67868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67877 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67879 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67880 for ac_func in modff
67881 do :
67882 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67883 if test "x$ac_cv_func_modff" = x""yes; then :
67884 cat >>confdefs.h <<_ACEOF
67885 #define HAVE_MODFF 1
67886 _ACEOF
67889 done
67891 else
67893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67894 $as_echo_n "checking for _modff declaration... " >&6; }
67895 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67896 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67897 $as_echo_n "(cached) " >&6
67898 else
67901 ac_ext=cpp
67902 ac_cpp='$CXXCPP $CPPFLAGS'
67903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67908 /* end confdefs.h. */
67909 #include <math.h>
67911 main ()
67913 _modff(0, 0);
67915 return 0;
67917 _ACEOF
67918 if ac_fn_cxx_try_compile "$LINENO"; then :
67919 glibcxx_cv_func__modff_use=yes
67920 else
67921 glibcxx_cv_func__modff_use=no
67923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67924 ac_ext=c
67925 ac_cpp='$CPP $CPPFLAGS'
67926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67935 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67937 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67938 for ac_func in _modff
67939 do :
67940 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67941 if test "x$ac_cv_func__modff" = x""yes; then :
67942 cat >>confdefs.h <<_ACEOF
67943 #define HAVE__MODFF 1
67944 _ACEOF
67947 done
67956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67957 $as_echo_n "checking for modf declaration... " >&6; }
67958 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67959 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67960 $as_echo_n "(cached) " >&6
67961 else
67964 ac_ext=cpp
67965 ac_cpp='$CXXCPP $CPPFLAGS'
67966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67971 /* end confdefs.h. */
67972 #include <math.h>
67974 main ()
67976 modf(0, 0);
67978 return 0;
67980 _ACEOF
67981 if ac_fn_cxx_try_compile "$LINENO"; then :
67982 glibcxx_cv_func_modf_use=yes
67983 else
67984 glibcxx_cv_func_modf_use=no
67986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67987 ac_ext=c
67988 ac_cpp='$CPP $CPPFLAGS'
67989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67998 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68000 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68001 for ac_func in modf
68002 do :
68003 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68004 if test "x$ac_cv_func_modf" = x""yes; then :
68005 cat >>confdefs.h <<_ACEOF
68006 #define HAVE_MODF 1
68007 _ACEOF
68010 done
68012 else
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68015 $as_echo_n "checking for _modf declaration... " >&6; }
68016 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68017 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68018 $as_echo_n "(cached) " >&6
68019 else
68022 ac_ext=cpp
68023 ac_cpp='$CXXCPP $CPPFLAGS'
68024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68029 /* end confdefs.h. */
68030 #include <math.h>
68032 main ()
68034 _modf(0, 0);
68036 return 0;
68038 _ACEOF
68039 if ac_fn_cxx_try_compile "$LINENO"; then :
68040 glibcxx_cv_func__modf_use=yes
68041 else
68042 glibcxx_cv_func__modf_use=no
68044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68045 ac_ext=c
68046 ac_cpp='$CPP $CPPFLAGS'
68047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68056 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68058 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68059 for ac_func in _modf
68060 do :
68061 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68062 if test "x$ac_cv_func__modf" = x""yes; then :
68063 cat >>confdefs.h <<_ACEOF
68064 #define HAVE__MODF 1
68065 _ACEOF
68068 done
68077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68078 $as_echo_n "checking for powf declaration... " >&6; }
68079 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68080 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68081 $as_echo_n "(cached) " >&6
68082 else
68085 ac_ext=cpp
68086 ac_cpp='$CXXCPP $CPPFLAGS'
68087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68092 /* end confdefs.h. */
68093 #include <math.h>
68095 main ()
68097 powf(0, 0);
68099 return 0;
68101 _ACEOF
68102 if ac_fn_cxx_try_compile "$LINENO"; then :
68103 glibcxx_cv_func_powf_use=yes
68104 else
68105 glibcxx_cv_func_powf_use=no
68107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68108 ac_ext=c
68109 ac_cpp='$CPP $CPPFLAGS'
68110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68119 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68121 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68122 for ac_func in powf
68123 do :
68124 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68125 if test "x$ac_cv_func_powf" = x""yes; then :
68126 cat >>confdefs.h <<_ACEOF
68127 #define HAVE_POWF 1
68128 _ACEOF
68131 done
68133 else
68135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68136 $as_echo_n "checking for _powf declaration... " >&6; }
68137 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68138 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68139 $as_echo_n "(cached) " >&6
68140 else
68143 ac_ext=cpp
68144 ac_cpp='$CXXCPP $CPPFLAGS'
68145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68150 /* end confdefs.h. */
68151 #include <math.h>
68153 main ()
68155 _powf(0, 0);
68157 return 0;
68159 _ACEOF
68160 if ac_fn_cxx_try_compile "$LINENO"; then :
68161 glibcxx_cv_func__powf_use=yes
68162 else
68163 glibcxx_cv_func__powf_use=no
68165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68166 ac_ext=c
68167 ac_cpp='$CPP $CPPFLAGS'
68168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68177 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68179 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68180 for ac_func in _powf
68181 do :
68182 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68183 if test "x$ac_cv_func__powf" = x""yes; then :
68184 cat >>confdefs.h <<_ACEOF
68185 #define HAVE__POWF 1
68186 _ACEOF
68189 done
68198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68199 $as_echo_n "checking for sqrtf declaration... " >&6; }
68200 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68201 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68202 $as_echo_n "(cached) " >&6
68203 else
68206 ac_ext=cpp
68207 ac_cpp='$CXXCPP $CPPFLAGS'
68208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68213 /* end confdefs.h. */
68214 #include <math.h>
68215 #ifdef HAVE_IEEEFP_H
68216 #include <ieeefp.h>
68217 #endif
68220 main ()
68222 sqrtf(0);
68224 return 0;
68226 _ACEOF
68227 if ac_fn_cxx_try_compile "$LINENO"; then :
68228 glibcxx_cv_func_sqrtf_use=yes
68229 else
68230 glibcxx_cv_func_sqrtf_use=no
68232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68233 ac_ext=c
68234 ac_cpp='$CPP $CPPFLAGS'
68235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68244 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68246 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68247 for ac_func in sqrtf
68248 do :
68249 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68250 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68251 cat >>confdefs.h <<_ACEOF
68252 #define HAVE_SQRTF 1
68253 _ACEOF
68256 done
68258 else
68260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68261 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68262 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68263 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68264 $as_echo_n "(cached) " >&6
68265 else
68268 ac_ext=cpp
68269 ac_cpp='$CXXCPP $CPPFLAGS'
68270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68275 /* end confdefs.h. */
68276 #include <math.h>
68277 #ifdef HAVE_IEEEFP_H
68278 #include <ieeefp.h>
68279 #endif
68282 main ()
68284 _sqrtf(0);
68286 return 0;
68288 _ACEOF
68289 if ac_fn_cxx_try_compile "$LINENO"; then :
68290 glibcxx_cv_func__sqrtf_use=yes
68291 else
68292 glibcxx_cv_func__sqrtf_use=no
68294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68295 ac_ext=c
68296 ac_cpp='$CPP $CPPFLAGS'
68297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68306 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68308 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68309 for ac_func in _sqrtf
68310 do :
68311 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68312 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68313 cat >>confdefs.h <<_ACEOF
68314 #define HAVE__SQRTF 1
68315 _ACEOF
68318 done
68327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68328 $as_echo_n "checking for sincosf declaration... " >&6; }
68329 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68330 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68331 $as_echo_n "(cached) " >&6
68332 else
68335 ac_ext=cpp
68336 ac_cpp='$CXXCPP $CPPFLAGS'
68337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68342 /* end confdefs.h. */
68343 #include <math.h>
68345 main ()
68347 sincosf(0, 0, 0);
68349 return 0;
68351 _ACEOF
68352 if ac_fn_cxx_try_compile "$LINENO"; then :
68353 glibcxx_cv_func_sincosf_use=yes
68354 else
68355 glibcxx_cv_func_sincosf_use=no
68357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68358 ac_ext=c
68359 ac_cpp='$CPP $CPPFLAGS'
68360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68369 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68371 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68372 for ac_func in sincosf
68373 do :
68374 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68375 if test "x$ac_cv_func_sincosf" = x""yes; then :
68376 cat >>confdefs.h <<_ACEOF
68377 #define HAVE_SINCOSF 1
68378 _ACEOF
68381 done
68383 else
68385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68386 $as_echo_n "checking for _sincosf declaration... " >&6; }
68387 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68388 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68389 $as_echo_n "(cached) " >&6
68390 else
68393 ac_ext=cpp
68394 ac_cpp='$CXXCPP $CPPFLAGS'
68395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68400 /* end confdefs.h. */
68401 #include <math.h>
68403 main ()
68405 _sincosf(0, 0, 0);
68407 return 0;
68409 _ACEOF
68410 if ac_fn_cxx_try_compile "$LINENO"; then :
68411 glibcxx_cv_func__sincosf_use=yes
68412 else
68413 glibcxx_cv_func__sincosf_use=no
68415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68416 ac_ext=c
68417 ac_cpp='$CPP $CPPFLAGS'
68418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68427 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68429 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68430 for ac_func in _sincosf
68431 do :
68432 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68433 if test "x$ac_cv_func__sincosf" = x""yes; then :
68434 cat >>confdefs.h <<_ACEOF
68435 #define HAVE__SINCOSF 1
68436 _ACEOF
68439 done
68448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68449 $as_echo_n "checking for finitef declaration... " >&6; }
68450 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68451 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68452 $as_echo_n "(cached) " >&6
68453 else
68456 ac_ext=cpp
68457 ac_cpp='$CXXCPP $CPPFLAGS'
68458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68463 /* end confdefs.h. */
68464 #include <math.h>
68465 #ifdef HAVE_IEEEFP_H
68466 #include <ieeefp.h>
68467 #endif
68470 main ()
68472 finitef(0);
68474 return 0;
68476 _ACEOF
68477 if ac_fn_cxx_try_compile "$LINENO"; then :
68478 glibcxx_cv_func_finitef_use=yes
68479 else
68480 glibcxx_cv_func_finitef_use=no
68482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68483 ac_ext=c
68484 ac_cpp='$CPP $CPPFLAGS'
68485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68494 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68496 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68497 for ac_func in finitef
68498 do :
68499 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68500 if test "x$ac_cv_func_finitef" = x""yes; then :
68501 cat >>confdefs.h <<_ACEOF
68502 #define HAVE_FINITEF 1
68503 _ACEOF
68506 done
68508 else
68510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68511 $as_echo_n "checking for _finitef declaration... " >&6; }
68512 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68513 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68514 $as_echo_n "(cached) " >&6
68515 else
68518 ac_ext=cpp
68519 ac_cpp='$CXXCPP $CPPFLAGS'
68520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68525 /* end confdefs.h. */
68526 #include <math.h>
68527 #ifdef HAVE_IEEEFP_H
68528 #include <ieeefp.h>
68529 #endif
68532 main ()
68534 _finitef(0);
68536 return 0;
68538 _ACEOF
68539 if ac_fn_cxx_try_compile "$LINENO"; then :
68540 glibcxx_cv_func__finitef_use=yes
68541 else
68542 glibcxx_cv_func__finitef_use=no
68544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68545 ac_ext=c
68546 ac_cpp='$CPP $CPPFLAGS'
68547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68556 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68558 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68559 for ac_func in _finitef
68560 do :
68561 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68562 if test "x$ac_cv_func__finitef" = x""yes; then :
68563 cat >>confdefs.h <<_ACEOF
68564 #define HAVE__FINITEF 1
68565 _ACEOF
68568 done
68577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68578 $as_echo_n "checking for long double trig functions... " >&6; }
68579 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68580 $as_echo_n "(cached) " >&6
68581 else
68584 ac_ext=cpp
68585 ac_cpp='$CXXCPP $CPPFLAGS'
68586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68591 /* end confdefs.h. */
68592 #include <math.h>
68594 main ()
68596 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68598 return 0;
68600 _ACEOF
68601 if ac_fn_cxx_try_compile "$LINENO"; then :
68602 glibcxx_cv_func_long_double_trig_use=yes
68603 else
68604 glibcxx_cv_func_long_double_trig_use=no
68606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68607 ac_ext=c
68608 ac_cpp='$CPP $CPPFLAGS'
68609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68616 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68617 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68618 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68619 do :
68620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68622 eval as_val=\$$as_ac_var
68623 if test "x$as_val" = x""yes; then :
68624 cat >>confdefs.h <<_ACEOF
68625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68626 _ACEOF
68629 done
68631 else
68632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68633 $as_echo_n "checking for _long double trig functions... " >&6; }
68634 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68635 $as_echo_n "(cached) " >&6
68636 else
68639 ac_ext=cpp
68640 ac_cpp='$CXXCPP $CPPFLAGS'
68641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68646 /* end confdefs.h. */
68647 #include <math.h>
68649 main ()
68651 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68653 return 0;
68655 _ACEOF
68656 if ac_fn_cxx_try_compile "$LINENO"; then :
68657 glibcxx_cv_func__long_double_trig_use=yes
68658 else
68659 glibcxx_cv_func__long_double_trig_use=no
68661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68662 ac_ext=c
68663 ac_cpp='$CPP $CPPFLAGS'
68664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68671 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68672 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68673 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68674 do :
68675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68677 eval as_val=\$$as_ac_var
68678 if test "x$as_val" = x""yes; then :
68679 cat >>confdefs.h <<_ACEOF
68680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68681 _ACEOF
68684 done
68693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68694 $as_echo_n "checking for long double round functions... " >&6; }
68695 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68696 $as_echo_n "(cached) " >&6
68697 else
68700 ac_ext=cpp
68701 ac_cpp='$CXXCPP $CPPFLAGS'
68702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68707 /* end confdefs.h. */
68708 #include <math.h>
68710 main ()
68712 ceill (0); floorl (0);
68714 return 0;
68716 _ACEOF
68717 if ac_fn_cxx_try_compile "$LINENO"; then :
68718 glibcxx_cv_func_long_double_round_use=yes
68719 else
68720 glibcxx_cv_func_long_double_round_use=no
68722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68723 ac_ext=c
68724 ac_cpp='$CPP $CPPFLAGS'
68725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68732 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68733 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68734 for ac_func in ceill floorl
68735 do :
68736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68738 eval as_val=\$$as_ac_var
68739 if test "x$as_val" = x""yes; then :
68740 cat >>confdefs.h <<_ACEOF
68741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68742 _ACEOF
68745 done
68747 else
68748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68749 $as_echo_n "checking for _long double round functions... " >&6; }
68750 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68751 $as_echo_n "(cached) " >&6
68752 else
68755 ac_ext=cpp
68756 ac_cpp='$CXXCPP $CPPFLAGS'
68757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68762 /* end confdefs.h. */
68763 #include <math.h>
68765 main ()
68767 _ceill (0); _floorl (0);
68769 return 0;
68771 _ACEOF
68772 if ac_fn_cxx_try_compile "$LINENO"; then :
68773 glibcxx_cv_func__long_double_round_use=yes
68774 else
68775 glibcxx_cv_func__long_double_round_use=no
68777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68778 ac_ext=c
68779 ac_cpp='$CPP $CPPFLAGS'
68780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68787 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68788 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68789 for ac_func in _ceill _floorl
68790 do :
68791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68793 eval as_val=\$$as_ac_var
68794 if test "x$as_val" = x""yes; then :
68795 cat >>confdefs.h <<_ACEOF
68796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68797 _ACEOF
68800 done
68810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68811 $as_echo_n "checking for isnanl declaration... " >&6; }
68812 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68813 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68814 $as_echo_n "(cached) " >&6
68815 else
68818 ac_ext=cpp
68819 ac_cpp='$CXXCPP $CPPFLAGS'
68820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68825 /* end confdefs.h. */
68826 #include <math.h>
68827 #ifdef HAVE_IEEEFP_H
68828 #include <ieeefp.h>
68829 #endif
68832 main ()
68834 isnanl(0);
68836 return 0;
68838 _ACEOF
68839 if ac_fn_cxx_try_compile "$LINENO"; then :
68840 glibcxx_cv_func_isnanl_use=yes
68841 else
68842 glibcxx_cv_func_isnanl_use=no
68844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68845 ac_ext=c
68846 ac_cpp='$CPP $CPPFLAGS'
68847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68856 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68858 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68859 for ac_func in isnanl
68860 do :
68861 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68862 if test "x$ac_cv_func_isnanl" = x""yes; then :
68863 cat >>confdefs.h <<_ACEOF
68864 #define HAVE_ISNANL 1
68865 _ACEOF
68868 done
68870 else
68872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68873 $as_echo_n "checking for _isnanl declaration... " >&6; }
68874 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68875 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68876 $as_echo_n "(cached) " >&6
68877 else
68880 ac_ext=cpp
68881 ac_cpp='$CXXCPP $CPPFLAGS'
68882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68887 /* end confdefs.h. */
68888 #include <math.h>
68889 #ifdef HAVE_IEEEFP_H
68890 #include <ieeefp.h>
68891 #endif
68894 main ()
68896 _isnanl(0);
68898 return 0;
68900 _ACEOF
68901 if ac_fn_cxx_try_compile "$LINENO"; then :
68902 glibcxx_cv_func__isnanl_use=yes
68903 else
68904 glibcxx_cv_func__isnanl_use=no
68906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68907 ac_ext=c
68908 ac_cpp='$CPP $CPPFLAGS'
68909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68918 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68920 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68921 for ac_func in _isnanl
68922 do :
68923 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68924 if test "x$ac_cv_func__isnanl" = x""yes; then :
68925 cat >>confdefs.h <<_ACEOF
68926 #define HAVE__ISNANL 1
68927 _ACEOF
68930 done
68939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68940 $as_echo_n "checking for isinfl declaration... " >&6; }
68941 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68942 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68943 $as_echo_n "(cached) " >&6
68944 else
68947 ac_ext=cpp
68948 ac_cpp='$CXXCPP $CPPFLAGS'
68949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68954 /* end confdefs.h. */
68955 #include <math.h>
68956 #ifdef HAVE_IEEEFP_H
68957 #include <ieeefp.h>
68958 #endif
68961 main ()
68963 isinfl(0);
68965 return 0;
68967 _ACEOF
68968 if ac_fn_cxx_try_compile "$LINENO"; then :
68969 glibcxx_cv_func_isinfl_use=yes
68970 else
68971 glibcxx_cv_func_isinfl_use=no
68973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68974 ac_ext=c
68975 ac_cpp='$CPP $CPPFLAGS'
68976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68985 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68987 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68988 for ac_func in isinfl
68989 do :
68990 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68991 if test "x$ac_cv_func_isinfl" = x""yes; then :
68992 cat >>confdefs.h <<_ACEOF
68993 #define HAVE_ISINFL 1
68994 _ACEOF
68997 done
68999 else
69001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69002 $as_echo_n "checking for _isinfl declaration... " >&6; }
69003 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69004 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69005 $as_echo_n "(cached) " >&6
69006 else
69009 ac_ext=cpp
69010 ac_cpp='$CXXCPP $CPPFLAGS'
69011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69016 /* end confdefs.h. */
69017 #include <math.h>
69018 #ifdef HAVE_IEEEFP_H
69019 #include <ieeefp.h>
69020 #endif
69023 main ()
69025 _isinfl(0);
69027 return 0;
69029 _ACEOF
69030 if ac_fn_cxx_try_compile "$LINENO"; then :
69031 glibcxx_cv_func__isinfl_use=yes
69032 else
69033 glibcxx_cv_func__isinfl_use=no
69035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69036 ac_ext=c
69037 ac_cpp='$CPP $CPPFLAGS'
69038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69047 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69049 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69050 for ac_func in _isinfl
69051 do :
69052 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69053 if test "x$ac_cv_func__isinfl" = x""yes; then :
69054 cat >>confdefs.h <<_ACEOF
69055 #define HAVE__ISINFL 1
69056 _ACEOF
69059 done
69068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69069 $as_echo_n "checking for atan2l declaration... " >&6; }
69070 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69071 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69072 $as_echo_n "(cached) " >&6
69073 else
69076 ac_ext=cpp
69077 ac_cpp='$CXXCPP $CPPFLAGS'
69078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69083 /* end confdefs.h. */
69084 #include <math.h>
69086 main ()
69088 atan2l(0, 0);
69090 return 0;
69092 _ACEOF
69093 if ac_fn_cxx_try_compile "$LINENO"; then :
69094 glibcxx_cv_func_atan2l_use=yes
69095 else
69096 glibcxx_cv_func_atan2l_use=no
69098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69099 ac_ext=c
69100 ac_cpp='$CPP $CPPFLAGS'
69101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69110 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69112 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69113 for ac_func in atan2l
69114 do :
69115 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69116 if test "x$ac_cv_func_atan2l" = x""yes; then :
69117 cat >>confdefs.h <<_ACEOF
69118 #define HAVE_ATAN2L 1
69119 _ACEOF
69122 done
69124 else
69126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69127 $as_echo_n "checking for _atan2l declaration... " >&6; }
69128 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69129 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69130 $as_echo_n "(cached) " >&6
69131 else
69134 ac_ext=cpp
69135 ac_cpp='$CXXCPP $CPPFLAGS'
69136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69141 /* end confdefs.h. */
69142 #include <math.h>
69144 main ()
69146 _atan2l(0, 0);
69148 return 0;
69150 _ACEOF
69151 if ac_fn_cxx_try_compile "$LINENO"; then :
69152 glibcxx_cv_func__atan2l_use=yes
69153 else
69154 glibcxx_cv_func__atan2l_use=no
69156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69157 ac_ext=c
69158 ac_cpp='$CPP $CPPFLAGS'
69159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69168 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69170 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69171 for ac_func in _atan2l
69172 do :
69173 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69174 if test "x$ac_cv_func__atan2l" = x""yes; then :
69175 cat >>confdefs.h <<_ACEOF
69176 #define HAVE__ATAN2L 1
69177 _ACEOF
69180 done
69189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69190 $as_echo_n "checking for expl declaration... " >&6; }
69191 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69192 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69193 $as_echo_n "(cached) " >&6
69194 else
69197 ac_ext=cpp
69198 ac_cpp='$CXXCPP $CPPFLAGS'
69199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69204 /* end confdefs.h. */
69205 #include <math.h>
69206 #ifdef HAVE_IEEEFP_H
69207 #include <ieeefp.h>
69208 #endif
69211 main ()
69213 expl(0);
69215 return 0;
69217 _ACEOF
69218 if ac_fn_cxx_try_compile "$LINENO"; then :
69219 glibcxx_cv_func_expl_use=yes
69220 else
69221 glibcxx_cv_func_expl_use=no
69223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69224 ac_ext=c
69225 ac_cpp='$CPP $CPPFLAGS'
69226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69235 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69237 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69238 for ac_func in expl
69239 do :
69240 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69241 if test "x$ac_cv_func_expl" = x""yes; then :
69242 cat >>confdefs.h <<_ACEOF
69243 #define HAVE_EXPL 1
69244 _ACEOF
69247 done
69249 else
69251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69252 $as_echo_n "checking for _expl declaration... " >&6; }
69253 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69254 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69255 $as_echo_n "(cached) " >&6
69256 else
69259 ac_ext=cpp
69260 ac_cpp='$CXXCPP $CPPFLAGS'
69261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69266 /* end confdefs.h. */
69267 #include <math.h>
69268 #ifdef HAVE_IEEEFP_H
69269 #include <ieeefp.h>
69270 #endif
69273 main ()
69275 _expl(0);
69277 return 0;
69279 _ACEOF
69280 if ac_fn_cxx_try_compile "$LINENO"; then :
69281 glibcxx_cv_func__expl_use=yes
69282 else
69283 glibcxx_cv_func__expl_use=no
69285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69286 ac_ext=c
69287 ac_cpp='$CPP $CPPFLAGS'
69288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69297 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69299 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69300 for ac_func in _expl
69301 do :
69302 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69303 if test "x$ac_cv_func__expl" = x""yes; then :
69304 cat >>confdefs.h <<_ACEOF
69305 #define HAVE__EXPL 1
69306 _ACEOF
69309 done
69318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69319 $as_echo_n "checking for fabsl declaration... " >&6; }
69320 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69321 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69322 $as_echo_n "(cached) " >&6
69323 else
69326 ac_ext=cpp
69327 ac_cpp='$CXXCPP $CPPFLAGS'
69328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69333 /* end confdefs.h. */
69334 #include <math.h>
69335 #ifdef HAVE_IEEEFP_H
69336 #include <ieeefp.h>
69337 #endif
69340 main ()
69342 fabsl(0);
69344 return 0;
69346 _ACEOF
69347 if ac_fn_cxx_try_compile "$LINENO"; then :
69348 glibcxx_cv_func_fabsl_use=yes
69349 else
69350 glibcxx_cv_func_fabsl_use=no
69352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69353 ac_ext=c
69354 ac_cpp='$CPP $CPPFLAGS'
69355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69364 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69366 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69367 for ac_func in fabsl
69368 do :
69369 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69370 if test "x$ac_cv_func_fabsl" = x""yes; then :
69371 cat >>confdefs.h <<_ACEOF
69372 #define HAVE_FABSL 1
69373 _ACEOF
69376 done
69378 else
69380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69381 $as_echo_n "checking for _fabsl declaration... " >&6; }
69382 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69383 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69384 $as_echo_n "(cached) " >&6
69385 else
69388 ac_ext=cpp
69389 ac_cpp='$CXXCPP $CPPFLAGS'
69390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69395 /* end confdefs.h. */
69396 #include <math.h>
69397 #ifdef HAVE_IEEEFP_H
69398 #include <ieeefp.h>
69399 #endif
69402 main ()
69404 _fabsl(0);
69406 return 0;
69408 _ACEOF
69409 if ac_fn_cxx_try_compile "$LINENO"; then :
69410 glibcxx_cv_func__fabsl_use=yes
69411 else
69412 glibcxx_cv_func__fabsl_use=no
69414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69415 ac_ext=c
69416 ac_cpp='$CPP $CPPFLAGS'
69417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69426 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69428 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69429 for ac_func in _fabsl
69430 do :
69431 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69432 if test "x$ac_cv_func__fabsl" = x""yes; then :
69433 cat >>confdefs.h <<_ACEOF
69434 #define HAVE__FABSL 1
69435 _ACEOF
69438 done
69447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69448 $as_echo_n "checking for fmodl declaration... " >&6; }
69449 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69450 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69451 $as_echo_n "(cached) " >&6
69452 else
69455 ac_ext=cpp
69456 ac_cpp='$CXXCPP $CPPFLAGS'
69457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69462 /* end confdefs.h. */
69463 #include <math.h>
69465 main ()
69467 fmodl(0, 0);
69469 return 0;
69471 _ACEOF
69472 if ac_fn_cxx_try_compile "$LINENO"; then :
69473 glibcxx_cv_func_fmodl_use=yes
69474 else
69475 glibcxx_cv_func_fmodl_use=no
69477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69478 ac_ext=c
69479 ac_cpp='$CPP $CPPFLAGS'
69480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69489 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69491 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69492 for ac_func in fmodl
69493 do :
69494 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69495 if test "x$ac_cv_func_fmodl" = x""yes; then :
69496 cat >>confdefs.h <<_ACEOF
69497 #define HAVE_FMODL 1
69498 _ACEOF
69501 done
69503 else
69505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69506 $as_echo_n "checking for _fmodl declaration... " >&6; }
69507 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69508 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69509 $as_echo_n "(cached) " >&6
69510 else
69513 ac_ext=cpp
69514 ac_cpp='$CXXCPP $CPPFLAGS'
69515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69520 /* end confdefs.h. */
69521 #include <math.h>
69523 main ()
69525 _fmodl(0, 0);
69527 return 0;
69529 _ACEOF
69530 if ac_fn_cxx_try_compile "$LINENO"; then :
69531 glibcxx_cv_func__fmodl_use=yes
69532 else
69533 glibcxx_cv_func__fmodl_use=no
69535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69536 ac_ext=c
69537 ac_cpp='$CPP $CPPFLAGS'
69538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69547 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69549 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69550 for ac_func in _fmodl
69551 do :
69552 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69553 if test "x$ac_cv_func__fmodl" = x""yes; then :
69554 cat >>confdefs.h <<_ACEOF
69555 #define HAVE__FMODL 1
69556 _ACEOF
69559 done
69568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69569 $as_echo_n "checking for frexpl declaration... " >&6; }
69570 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69571 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69572 $as_echo_n "(cached) " >&6
69573 else
69576 ac_ext=cpp
69577 ac_cpp='$CXXCPP $CPPFLAGS'
69578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69583 /* end confdefs.h. */
69584 #include <math.h>
69586 main ()
69588 frexpl(0, 0);
69590 return 0;
69592 _ACEOF
69593 if ac_fn_cxx_try_compile "$LINENO"; then :
69594 glibcxx_cv_func_frexpl_use=yes
69595 else
69596 glibcxx_cv_func_frexpl_use=no
69598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69599 ac_ext=c
69600 ac_cpp='$CPP $CPPFLAGS'
69601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69610 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69612 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69613 for ac_func in frexpl
69614 do :
69615 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69616 if test "x$ac_cv_func_frexpl" = x""yes; then :
69617 cat >>confdefs.h <<_ACEOF
69618 #define HAVE_FREXPL 1
69619 _ACEOF
69622 done
69624 else
69626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69627 $as_echo_n "checking for _frexpl declaration... " >&6; }
69628 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69629 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69630 $as_echo_n "(cached) " >&6
69631 else
69634 ac_ext=cpp
69635 ac_cpp='$CXXCPP $CPPFLAGS'
69636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69641 /* end confdefs.h. */
69642 #include <math.h>
69644 main ()
69646 _frexpl(0, 0);
69648 return 0;
69650 _ACEOF
69651 if ac_fn_cxx_try_compile "$LINENO"; then :
69652 glibcxx_cv_func__frexpl_use=yes
69653 else
69654 glibcxx_cv_func__frexpl_use=no
69656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69657 ac_ext=c
69658 ac_cpp='$CPP $CPPFLAGS'
69659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69668 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69670 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69671 for ac_func in _frexpl
69672 do :
69673 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69674 if test "x$ac_cv_func__frexpl" = x""yes; then :
69675 cat >>confdefs.h <<_ACEOF
69676 #define HAVE__FREXPL 1
69677 _ACEOF
69680 done
69689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69690 $as_echo_n "checking for hypotl declaration... " >&6; }
69691 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69692 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69693 $as_echo_n "(cached) " >&6
69694 else
69697 ac_ext=cpp
69698 ac_cpp='$CXXCPP $CPPFLAGS'
69699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69704 /* end confdefs.h. */
69705 #include <math.h>
69707 main ()
69709 hypotl(0, 0);
69711 return 0;
69713 _ACEOF
69714 if ac_fn_cxx_try_compile "$LINENO"; then :
69715 glibcxx_cv_func_hypotl_use=yes
69716 else
69717 glibcxx_cv_func_hypotl_use=no
69719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69720 ac_ext=c
69721 ac_cpp='$CPP $CPPFLAGS'
69722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69731 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69733 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69734 for ac_func in hypotl
69735 do :
69736 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69737 if test "x$ac_cv_func_hypotl" = x""yes; then :
69738 cat >>confdefs.h <<_ACEOF
69739 #define HAVE_HYPOTL 1
69740 _ACEOF
69743 done
69745 else
69747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69748 $as_echo_n "checking for _hypotl declaration... " >&6; }
69749 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69750 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69751 $as_echo_n "(cached) " >&6
69752 else
69755 ac_ext=cpp
69756 ac_cpp='$CXXCPP $CPPFLAGS'
69757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69762 /* end confdefs.h. */
69763 #include <math.h>
69765 main ()
69767 _hypotl(0, 0);
69769 return 0;
69771 _ACEOF
69772 if ac_fn_cxx_try_compile "$LINENO"; then :
69773 glibcxx_cv_func__hypotl_use=yes
69774 else
69775 glibcxx_cv_func__hypotl_use=no
69777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69778 ac_ext=c
69779 ac_cpp='$CPP $CPPFLAGS'
69780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69789 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69791 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69792 for ac_func in _hypotl
69793 do :
69794 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69795 if test "x$ac_cv_func__hypotl" = x""yes; then :
69796 cat >>confdefs.h <<_ACEOF
69797 #define HAVE__HYPOTL 1
69798 _ACEOF
69801 done
69810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69811 $as_echo_n "checking for ldexpl declaration... " >&6; }
69812 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69813 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69814 $as_echo_n "(cached) " >&6
69815 else
69818 ac_ext=cpp
69819 ac_cpp='$CXXCPP $CPPFLAGS'
69820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69825 /* end confdefs.h. */
69826 #include <math.h>
69828 main ()
69830 ldexpl(0, 0);
69832 return 0;
69834 _ACEOF
69835 if ac_fn_cxx_try_compile "$LINENO"; then :
69836 glibcxx_cv_func_ldexpl_use=yes
69837 else
69838 glibcxx_cv_func_ldexpl_use=no
69840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69841 ac_ext=c
69842 ac_cpp='$CPP $CPPFLAGS'
69843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69852 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69854 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69855 for ac_func in ldexpl
69856 do :
69857 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69858 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69859 cat >>confdefs.h <<_ACEOF
69860 #define HAVE_LDEXPL 1
69861 _ACEOF
69864 done
69866 else
69868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69869 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69870 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69871 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69872 $as_echo_n "(cached) " >&6
69873 else
69876 ac_ext=cpp
69877 ac_cpp='$CXXCPP $CPPFLAGS'
69878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69883 /* end confdefs.h. */
69884 #include <math.h>
69886 main ()
69888 _ldexpl(0, 0);
69890 return 0;
69892 _ACEOF
69893 if ac_fn_cxx_try_compile "$LINENO"; then :
69894 glibcxx_cv_func__ldexpl_use=yes
69895 else
69896 glibcxx_cv_func__ldexpl_use=no
69898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69899 ac_ext=c
69900 ac_cpp='$CPP $CPPFLAGS'
69901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69910 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69912 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69913 for ac_func in _ldexpl
69914 do :
69915 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69916 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69917 cat >>confdefs.h <<_ACEOF
69918 #define HAVE__LDEXPL 1
69919 _ACEOF
69922 done
69931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69932 $as_echo_n "checking for logl declaration... " >&6; }
69933 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69934 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69935 $as_echo_n "(cached) " >&6
69936 else
69939 ac_ext=cpp
69940 ac_cpp='$CXXCPP $CPPFLAGS'
69941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69946 /* end confdefs.h. */
69947 #include <math.h>
69948 #ifdef HAVE_IEEEFP_H
69949 #include <ieeefp.h>
69950 #endif
69953 main ()
69955 logl(0);
69957 return 0;
69959 _ACEOF
69960 if ac_fn_cxx_try_compile "$LINENO"; then :
69961 glibcxx_cv_func_logl_use=yes
69962 else
69963 glibcxx_cv_func_logl_use=no
69965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69966 ac_ext=c
69967 ac_cpp='$CPP $CPPFLAGS'
69968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69977 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69979 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69980 for ac_func in logl
69981 do :
69982 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69983 if test "x$ac_cv_func_logl" = x""yes; then :
69984 cat >>confdefs.h <<_ACEOF
69985 #define HAVE_LOGL 1
69986 _ACEOF
69989 done
69991 else
69993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69994 $as_echo_n "checking for _logl declaration... " >&6; }
69995 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69996 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69997 $as_echo_n "(cached) " >&6
69998 else
70001 ac_ext=cpp
70002 ac_cpp='$CXXCPP $CPPFLAGS'
70003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70008 /* end confdefs.h. */
70009 #include <math.h>
70010 #ifdef HAVE_IEEEFP_H
70011 #include <ieeefp.h>
70012 #endif
70015 main ()
70017 _logl(0);
70019 return 0;
70021 _ACEOF
70022 if ac_fn_cxx_try_compile "$LINENO"; then :
70023 glibcxx_cv_func__logl_use=yes
70024 else
70025 glibcxx_cv_func__logl_use=no
70027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70028 ac_ext=c
70029 ac_cpp='$CPP $CPPFLAGS'
70030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70039 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70041 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70042 for ac_func in _logl
70043 do :
70044 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70045 if test "x$ac_cv_func__logl" = x""yes; then :
70046 cat >>confdefs.h <<_ACEOF
70047 #define HAVE__LOGL 1
70048 _ACEOF
70051 done
70060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70061 $as_echo_n "checking for log10l declaration... " >&6; }
70062 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70063 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70064 $as_echo_n "(cached) " >&6
70065 else
70068 ac_ext=cpp
70069 ac_cpp='$CXXCPP $CPPFLAGS'
70070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70075 /* end confdefs.h. */
70076 #include <math.h>
70077 #ifdef HAVE_IEEEFP_H
70078 #include <ieeefp.h>
70079 #endif
70082 main ()
70084 log10l(0);
70086 return 0;
70088 _ACEOF
70089 if ac_fn_cxx_try_compile "$LINENO"; then :
70090 glibcxx_cv_func_log10l_use=yes
70091 else
70092 glibcxx_cv_func_log10l_use=no
70094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70095 ac_ext=c
70096 ac_cpp='$CPP $CPPFLAGS'
70097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70106 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70108 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70109 for ac_func in log10l
70110 do :
70111 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70112 if test "x$ac_cv_func_log10l" = x""yes; then :
70113 cat >>confdefs.h <<_ACEOF
70114 #define HAVE_LOG10L 1
70115 _ACEOF
70118 done
70120 else
70122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70123 $as_echo_n "checking for _log10l declaration... " >&6; }
70124 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70125 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70126 $as_echo_n "(cached) " >&6
70127 else
70130 ac_ext=cpp
70131 ac_cpp='$CXXCPP $CPPFLAGS'
70132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70137 /* end confdefs.h. */
70138 #include <math.h>
70139 #ifdef HAVE_IEEEFP_H
70140 #include <ieeefp.h>
70141 #endif
70144 main ()
70146 _log10l(0);
70148 return 0;
70150 _ACEOF
70151 if ac_fn_cxx_try_compile "$LINENO"; then :
70152 glibcxx_cv_func__log10l_use=yes
70153 else
70154 glibcxx_cv_func__log10l_use=no
70156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70157 ac_ext=c
70158 ac_cpp='$CPP $CPPFLAGS'
70159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70168 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70170 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70171 for ac_func in _log10l
70172 do :
70173 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70174 if test "x$ac_cv_func__log10l" = x""yes; then :
70175 cat >>confdefs.h <<_ACEOF
70176 #define HAVE__LOG10L 1
70177 _ACEOF
70180 done
70189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70190 $as_echo_n "checking for modfl declaration... " >&6; }
70191 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70192 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70193 $as_echo_n "(cached) " >&6
70194 else
70197 ac_ext=cpp
70198 ac_cpp='$CXXCPP $CPPFLAGS'
70199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70204 /* end confdefs.h. */
70205 #include <math.h>
70207 main ()
70209 modfl(0, 0);
70211 return 0;
70213 _ACEOF
70214 if ac_fn_cxx_try_compile "$LINENO"; then :
70215 glibcxx_cv_func_modfl_use=yes
70216 else
70217 glibcxx_cv_func_modfl_use=no
70219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70220 ac_ext=c
70221 ac_cpp='$CPP $CPPFLAGS'
70222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70231 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70233 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70234 for ac_func in modfl
70235 do :
70236 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70237 if test "x$ac_cv_func_modfl" = x""yes; then :
70238 cat >>confdefs.h <<_ACEOF
70239 #define HAVE_MODFL 1
70240 _ACEOF
70243 done
70245 else
70247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70248 $as_echo_n "checking for _modfl declaration... " >&6; }
70249 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70250 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70251 $as_echo_n "(cached) " >&6
70252 else
70255 ac_ext=cpp
70256 ac_cpp='$CXXCPP $CPPFLAGS'
70257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70262 /* end confdefs.h. */
70263 #include <math.h>
70265 main ()
70267 _modfl(0, 0);
70269 return 0;
70271 _ACEOF
70272 if ac_fn_cxx_try_compile "$LINENO"; then :
70273 glibcxx_cv_func__modfl_use=yes
70274 else
70275 glibcxx_cv_func__modfl_use=no
70277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70278 ac_ext=c
70279 ac_cpp='$CPP $CPPFLAGS'
70280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70289 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70291 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70292 for ac_func in _modfl
70293 do :
70294 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70295 if test "x$ac_cv_func__modfl" = x""yes; then :
70296 cat >>confdefs.h <<_ACEOF
70297 #define HAVE__MODFL 1
70298 _ACEOF
70301 done
70310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70311 $as_echo_n "checking for powl declaration... " >&6; }
70312 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70313 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70314 $as_echo_n "(cached) " >&6
70315 else
70318 ac_ext=cpp
70319 ac_cpp='$CXXCPP $CPPFLAGS'
70320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70325 /* end confdefs.h. */
70326 #include <math.h>
70328 main ()
70330 powl(0, 0);
70332 return 0;
70334 _ACEOF
70335 if ac_fn_cxx_try_compile "$LINENO"; then :
70336 glibcxx_cv_func_powl_use=yes
70337 else
70338 glibcxx_cv_func_powl_use=no
70340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70341 ac_ext=c
70342 ac_cpp='$CPP $CPPFLAGS'
70343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70352 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70354 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70355 for ac_func in powl
70356 do :
70357 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70358 if test "x$ac_cv_func_powl" = x""yes; then :
70359 cat >>confdefs.h <<_ACEOF
70360 #define HAVE_POWL 1
70361 _ACEOF
70364 done
70366 else
70368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70369 $as_echo_n "checking for _powl declaration... " >&6; }
70370 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70371 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70372 $as_echo_n "(cached) " >&6
70373 else
70376 ac_ext=cpp
70377 ac_cpp='$CXXCPP $CPPFLAGS'
70378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70383 /* end confdefs.h. */
70384 #include <math.h>
70386 main ()
70388 _powl(0, 0);
70390 return 0;
70392 _ACEOF
70393 if ac_fn_cxx_try_compile "$LINENO"; then :
70394 glibcxx_cv_func__powl_use=yes
70395 else
70396 glibcxx_cv_func__powl_use=no
70398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70399 ac_ext=c
70400 ac_cpp='$CPP $CPPFLAGS'
70401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70410 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70412 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70413 for ac_func in _powl
70414 do :
70415 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70416 if test "x$ac_cv_func__powl" = x""yes; then :
70417 cat >>confdefs.h <<_ACEOF
70418 #define HAVE__POWL 1
70419 _ACEOF
70422 done
70431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70432 $as_echo_n "checking for sqrtl declaration... " >&6; }
70433 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70434 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70435 $as_echo_n "(cached) " >&6
70436 else
70439 ac_ext=cpp
70440 ac_cpp='$CXXCPP $CPPFLAGS'
70441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70446 /* end confdefs.h. */
70447 #include <math.h>
70448 #ifdef HAVE_IEEEFP_H
70449 #include <ieeefp.h>
70450 #endif
70453 main ()
70455 sqrtl(0);
70457 return 0;
70459 _ACEOF
70460 if ac_fn_cxx_try_compile "$LINENO"; then :
70461 glibcxx_cv_func_sqrtl_use=yes
70462 else
70463 glibcxx_cv_func_sqrtl_use=no
70465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70466 ac_ext=c
70467 ac_cpp='$CPP $CPPFLAGS'
70468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70477 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70479 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70480 for ac_func in sqrtl
70481 do :
70482 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70483 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70484 cat >>confdefs.h <<_ACEOF
70485 #define HAVE_SQRTL 1
70486 _ACEOF
70489 done
70491 else
70493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70494 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70495 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70496 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70497 $as_echo_n "(cached) " >&6
70498 else
70501 ac_ext=cpp
70502 ac_cpp='$CXXCPP $CPPFLAGS'
70503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70508 /* end confdefs.h. */
70509 #include <math.h>
70510 #ifdef HAVE_IEEEFP_H
70511 #include <ieeefp.h>
70512 #endif
70515 main ()
70517 _sqrtl(0);
70519 return 0;
70521 _ACEOF
70522 if ac_fn_cxx_try_compile "$LINENO"; then :
70523 glibcxx_cv_func__sqrtl_use=yes
70524 else
70525 glibcxx_cv_func__sqrtl_use=no
70527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70528 ac_ext=c
70529 ac_cpp='$CPP $CPPFLAGS'
70530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70539 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70541 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70542 for ac_func in _sqrtl
70543 do :
70544 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70545 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70546 cat >>confdefs.h <<_ACEOF
70547 #define HAVE__SQRTL 1
70548 _ACEOF
70551 done
70560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70561 $as_echo_n "checking for sincosl declaration... " >&6; }
70562 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70563 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70564 $as_echo_n "(cached) " >&6
70565 else
70568 ac_ext=cpp
70569 ac_cpp='$CXXCPP $CPPFLAGS'
70570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70575 /* end confdefs.h. */
70576 #include <math.h>
70578 main ()
70580 sincosl(0, 0, 0);
70582 return 0;
70584 _ACEOF
70585 if ac_fn_cxx_try_compile "$LINENO"; then :
70586 glibcxx_cv_func_sincosl_use=yes
70587 else
70588 glibcxx_cv_func_sincosl_use=no
70590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70591 ac_ext=c
70592 ac_cpp='$CPP $CPPFLAGS'
70593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70602 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70604 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70605 for ac_func in sincosl
70606 do :
70607 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70608 if test "x$ac_cv_func_sincosl" = x""yes; then :
70609 cat >>confdefs.h <<_ACEOF
70610 #define HAVE_SINCOSL 1
70611 _ACEOF
70614 done
70616 else
70618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70619 $as_echo_n "checking for _sincosl declaration... " >&6; }
70620 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70621 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70622 $as_echo_n "(cached) " >&6
70623 else
70626 ac_ext=cpp
70627 ac_cpp='$CXXCPP $CPPFLAGS'
70628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70633 /* end confdefs.h. */
70634 #include <math.h>
70636 main ()
70638 _sincosl(0, 0, 0);
70640 return 0;
70642 _ACEOF
70643 if ac_fn_cxx_try_compile "$LINENO"; then :
70644 glibcxx_cv_func__sincosl_use=yes
70645 else
70646 glibcxx_cv_func__sincosl_use=no
70648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70649 ac_ext=c
70650 ac_cpp='$CPP $CPPFLAGS'
70651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70660 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70662 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70663 for ac_func in _sincosl
70664 do :
70665 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70666 if test "x$ac_cv_func__sincosl" = x""yes; then :
70667 cat >>confdefs.h <<_ACEOF
70668 #define HAVE__SINCOSL 1
70669 _ACEOF
70672 done
70681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70682 $as_echo_n "checking for finitel declaration... " >&6; }
70683 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70684 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70685 $as_echo_n "(cached) " >&6
70686 else
70689 ac_ext=cpp
70690 ac_cpp='$CXXCPP $CPPFLAGS'
70691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70696 /* end confdefs.h. */
70697 #include <math.h>
70698 #ifdef HAVE_IEEEFP_H
70699 #include <ieeefp.h>
70700 #endif
70703 main ()
70705 finitel(0);
70707 return 0;
70709 _ACEOF
70710 if ac_fn_cxx_try_compile "$LINENO"; then :
70711 glibcxx_cv_func_finitel_use=yes
70712 else
70713 glibcxx_cv_func_finitel_use=no
70715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70716 ac_ext=c
70717 ac_cpp='$CPP $CPPFLAGS'
70718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70727 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70729 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70730 for ac_func in finitel
70731 do :
70732 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70733 if test "x$ac_cv_func_finitel" = x""yes; then :
70734 cat >>confdefs.h <<_ACEOF
70735 #define HAVE_FINITEL 1
70736 _ACEOF
70739 done
70741 else
70743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70744 $as_echo_n "checking for _finitel declaration... " >&6; }
70745 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70746 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70747 $as_echo_n "(cached) " >&6
70748 else
70751 ac_ext=cpp
70752 ac_cpp='$CXXCPP $CPPFLAGS'
70753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70758 /* end confdefs.h. */
70759 #include <math.h>
70760 #ifdef HAVE_IEEEFP_H
70761 #include <ieeefp.h>
70762 #endif
70765 main ()
70767 _finitel(0);
70769 return 0;
70771 _ACEOF
70772 if ac_fn_cxx_try_compile "$LINENO"; then :
70773 glibcxx_cv_func__finitel_use=yes
70774 else
70775 glibcxx_cv_func__finitel_use=no
70777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70778 ac_ext=c
70779 ac_cpp='$CPP $CPPFLAGS'
70780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70789 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70791 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70792 for ac_func in _finitel
70793 do :
70794 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70795 if test "x$ac_cv_func__finitel" = x""yes; then :
70796 cat >>confdefs.h <<_ACEOF
70797 #define HAVE__FINITEL 1
70798 _ACEOF
70801 done
70809 LIBS="$ac_save_LIBS"
70810 CXXFLAGS="$ac_save_CXXFLAGS"
70813 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70814 ac_save_CXXFLAGS="$CXXFLAGS"
70815 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70819 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70820 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70821 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70822 $as_echo_n "(cached) " >&6
70823 else
70826 ac_ext=cpp
70827 ac_cpp='$CXXCPP $CPPFLAGS'
70828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70833 /* end confdefs.h. */
70834 #include <stdlib.h>
70836 main ()
70838 at_quick_exit(0);
70840 return 0;
70842 _ACEOF
70843 if ac_fn_cxx_try_compile "$LINENO"; then :
70844 glibcxx_cv_func_at_quick_exit_use=yes
70845 else
70846 glibcxx_cv_func_at_quick_exit_use=no
70848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70849 ac_ext=c
70850 ac_cpp='$CPP $CPPFLAGS'
70851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70860 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70861 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70862 for ac_func in at_quick_exit
70863 do :
70864 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70865 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70866 cat >>confdefs.h <<_ACEOF
70867 #define HAVE_AT_QUICK_EXIT 1
70868 _ACEOF
70871 done
70876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70877 $as_echo_n "checking for quick_exit declaration... " >&6; }
70878 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70879 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70880 $as_echo_n "(cached) " >&6
70881 else
70884 ac_ext=cpp
70885 ac_cpp='$CXXCPP $CPPFLAGS'
70886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70891 /* end confdefs.h. */
70892 #include <stdlib.h>
70894 main ()
70896 quick_exit(0);
70898 return 0;
70900 _ACEOF
70901 if ac_fn_cxx_try_compile "$LINENO"; then :
70902 glibcxx_cv_func_quick_exit_use=yes
70903 else
70904 glibcxx_cv_func_quick_exit_use=no
70906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70907 ac_ext=c
70908 ac_cpp='$CPP $CPPFLAGS'
70909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70918 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70919 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70920 for ac_func in quick_exit
70921 do :
70922 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70923 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70924 cat >>confdefs.h <<_ACEOF
70925 #define HAVE_QUICK_EXIT 1
70926 _ACEOF
70929 done
70934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70935 $as_echo_n "checking for strtold declaration... " >&6; }
70936 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70937 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70938 $as_echo_n "(cached) " >&6
70939 else
70942 ac_ext=cpp
70943 ac_cpp='$CXXCPP $CPPFLAGS'
70944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70949 /* end confdefs.h. */
70950 #include <stdlib.h>
70952 main ()
70954 strtold(0, 0);
70956 return 0;
70958 _ACEOF
70959 if ac_fn_cxx_try_compile "$LINENO"; then :
70960 glibcxx_cv_func_strtold_use=yes
70961 else
70962 glibcxx_cv_func_strtold_use=no
70964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70965 ac_ext=c
70966 ac_cpp='$CPP $CPPFLAGS'
70967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70976 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70977 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70978 for ac_func in strtold
70979 do :
70980 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70981 if test "x$ac_cv_func_strtold" = x""yes; then :
70982 cat >>confdefs.h <<_ACEOF
70983 #define HAVE_STRTOLD 1
70984 _ACEOF
70987 done
70994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70995 $as_echo_n "checking for strtof declaration... " >&6; }
70996 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70997 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70998 $as_echo_n "(cached) " >&6
70999 else
71002 ac_ext=cpp
71003 ac_cpp='$CXXCPP $CPPFLAGS'
71004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71009 /* end confdefs.h. */
71010 #include <stdlib.h>
71012 main ()
71014 strtof(0, 0);
71016 return 0;
71018 _ACEOF
71019 if ac_fn_cxx_try_compile "$LINENO"; then :
71020 glibcxx_cv_func_strtof_use=yes
71021 else
71022 glibcxx_cv_func_strtof_use=no
71024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71025 ac_ext=c
71026 ac_cpp='$CPP $CPPFLAGS'
71027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71036 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71037 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71038 for ac_func in strtof
71039 do :
71040 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71041 if test "x$ac_cv_func_strtof" = x""yes; then :
71042 cat >>confdefs.h <<_ACEOF
71043 #define HAVE_STRTOF 1
71044 _ACEOF
71047 done
71054 CXXFLAGS="$ac_save_CXXFLAGS"
71057 *-solaris*)
71058 case "$target" in
71059 *-solaris2.9 | *-solaris2.10)
71061 # If we're not using GNU ld, then there's no point in even trying these
71062 # tests. Check for that first. We should have already tested for gld
71063 # by now (in libtool), but require it now just to be safe...
71064 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71065 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71069 # The name set by libtool depends on the version of libtool. Shame on us
71070 # for depending on an impl detail, but c'est la vie. Older versions used
71071 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71072 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71073 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71074 # set (hence we're using an older libtool), then set it.
71075 if test x${with_gnu_ld+set} != xset; then
71076 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71077 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71078 with_gnu_ld=no
71079 else
71080 with_gnu_ld=$ac_cv_prog_gnu_ld
71084 # Start by getting the version number. I think the libtool test already
71085 # does some of this, but throws away the result.
71086 glibcxx_ld_is_gold=no
71087 if test x"$with_gnu_ld" = x"yes"; then
71088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71089 $as_echo_n "checking for ld version... " >&6; }
71091 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71092 glibcxx_ld_is_gold=yes
71094 ldver=`$LD --version 2>/dev/null |
71095 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'`
71097 glibcxx_gnu_ld_version=`echo $ldver | \
71098 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71100 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71103 # Set --gc-sections.
71104 glibcxx_have_gc_sections=no
71105 if test "$glibcxx_ld_is_gold" = "yes"; then
71106 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71107 glibcxx_have_gc_sections=yes
71109 else
71110 glibcxx_gcsections_min_ld=21602
71111 if test x"$with_gnu_ld" = x"yes" &&
71112 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71113 glibcxx_have_gc_sections=yes
71116 if test "$glibcxx_have_gc_sections" = "yes"; then
71117 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71118 # NB: This flag only works reliably after 2.16.1. Configure tests
71119 # for this are difficult, so hard wire a value that should work.
71121 ac_test_CFLAGS="${CFLAGS+set}"
71122 ac_save_CFLAGS="$CFLAGS"
71123 CFLAGS='-Wl,--gc-sections'
71125 # Check for -Wl,--gc-sections
71126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71127 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71128 if test x$gcc_no_link = xyes; then
71129 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71132 /* end confdefs.h. */
71133 int one(void) { return 1; }
71134 int two(void) { return 2; }
71137 main ()
71139 two();
71141 return 0;
71143 _ACEOF
71144 if ac_fn_c_try_link "$LINENO"; then :
71145 ac_gcsections=yes
71146 else
71147 ac_gcsections=no
71149 rm -f core conftest.err conftest.$ac_objext \
71150 conftest$ac_exeext conftest.$ac_ext
71151 if test "$ac_gcsections" = "yes"; then
71152 rm -f conftest.c
71153 touch conftest.c
71154 if $CC -c conftest.c; then
71155 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71156 grep "Warning: gc-sections option ignored" > /dev/null; then
71157 ac_gcsections=no
71160 rm -f conftest.c conftest.o conftest
71162 if test "$ac_gcsections" = "yes"; then
71163 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71166 $as_echo "$ac_gcsections" >&6; }
71168 if test "$ac_test_CFLAGS" = set; then
71169 CFLAGS="$ac_save_CFLAGS"
71170 else
71171 # this is the suspicious part
71172 CFLAGS=''
71176 # Set -z,relro.
71177 # Note this is only for shared objects.
71178 ac_ld_relro=no
71179 if test x"$with_gnu_ld" = x"yes"; then
71180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71181 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71182 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71183 if test -n "$cxx_z_relo"; then
71184 OPT_LDFLAGS="-Wl,-z,relro"
71185 ac_ld_relro=yes
71187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71188 $as_echo "$ac_ld_relro" >&6; }
71191 # Set linker optimization flags.
71192 if test x"$with_gnu_ld" = x"yes"; then
71193 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71199 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71201 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71203 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71205 # All of the dependencies for wide character support are here, so
71206 # turn it on.
71207 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71210 esac
71211 case "$target" in
71212 *-*-solaris2.10)
71213 # These two C99 functions are present only in Solaris >= 10
71214 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71216 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71219 esac
71220 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71222 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71224 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71226 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71229 *-tpf)
71230 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71231 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71233 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71235 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71237 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71239 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71241 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71243 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71245 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71247 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71249 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71251 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71253 if test x"long_double_math_on_this_cpu" = x"yes"; then
71254 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71256 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71258 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71260 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71264 *-*vms*)
71265 # Check for available headers.
71266 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71268 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71269 ac_save_CXXFLAGS="$CXXFLAGS"
71270 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71273 $as_echo_n "checking for sin in -lm... " >&6; }
71274 if test "${ac_cv_lib_m_sin+set}" = set; then :
71275 $as_echo_n "(cached) " >&6
71276 else
71277 ac_check_lib_save_LIBS=$LIBS
71278 LIBS="-lm $LIBS"
71279 if test x$gcc_no_link = xyes; then
71280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71283 /* end confdefs.h. */
71285 /* Override any GCC internal prototype to avoid an error.
71286 Use char because int might match the return type of a GCC
71287 builtin and then its argument prototype would still apply. */
71288 #ifdef __cplusplus
71289 extern "C"
71290 #endif
71291 char sin ();
71293 main ()
71295 return sin ();
71297 return 0;
71299 _ACEOF
71300 if ac_fn_c_try_link "$LINENO"; then :
71301 ac_cv_lib_m_sin=yes
71302 else
71303 ac_cv_lib_m_sin=no
71305 rm -f core conftest.err conftest.$ac_objext \
71306 conftest$ac_exeext conftest.$ac_ext
71307 LIBS=$ac_check_lib_save_LIBS
71309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71310 $as_echo "$ac_cv_lib_m_sin" >&6; }
71311 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71312 libm="-lm"
71315 ac_save_LIBS="$LIBS"
71316 LIBS="$LIBS $libm"
71320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71321 $as_echo_n "checking for isinf declaration... " >&6; }
71322 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71323 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71324 $as_echo_n "(cached) " >&6
71325 else
71328 ac_ext=cpp
71329 ac_cpp='$CXXCPP $CPPFLAGS'
71330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71335 /* end confdefs.h. */
71336 #include <math.h>
71337 #ifdef HAVE_IEEEFP_H
71338 #include <ieeefp.h>
71339 #endif
71342 main ()
71344 isinf(0);
71346 return 0;
71348 _ACEOF
71349 if ac_fn_cxx_try_compile "$LINENO"; then :
71350 glibcxx_cv_func_isinf_use=yes
71351 else
71352 glibcxx_cv_func_isinf_use=no
71354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71355 ac_ext=c
71356 ac_cpp='$CPP $CPPFLAGS'
71357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71366 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71368 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71369 for ac_func in isinf
71370 do :
71371 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71372 if test "x$ac_cv_func_isinf" = x""yes; then :
71373 cat >>confdefs.h <<_ACEOF
71374 #define HAVE_ISINF 1
71375 _ACEOF
71378 done
71380 else
71382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71383 $as_echo_n "checking for _isinf declaration... " >&6; }
71384 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71385 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71386 $as_echo_n "(cached) " >&6
71387 else
71390 ac_ext=cpp
71391 ac_cpp='$CXXCPP $CPPFLAGS'
71392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71397 /* end confdefs.h. */
71398 #include <math.h>
71399 #ifdef HAVE_IEEEFP_H
71400 #include <ieeefp.h>
71401 #endif
71404 main ()
71406 _isinf(0);
71408 return 0;
71410 _ACEOF
71411 if ac_fn_cxx_try_compile "$LINENO"; then :
71412 glibcxx_cv_func__isinf_use=yes
71413 else
71414 glibcxx_cv_func__isinf_use=no
71416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71417 ac_ext=c
71418 ac_cpp='$CPP $CPPFLAGS'
71419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71428 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71430 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71431 for ac_func in _isinf
71432 do :
71433 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71434 if test "x$ac_cv_func__isinf" = x""yes; then :
71435 cat >>confdefs.h <<_ACEOF
71436 #define HAVE__ISINF 1
71437 _ACEOF
71440 done
71449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71450 $as_echo_n "checking for isnan declaration... " >&6; }
71451 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71452 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71453 $as_echo_n "(cached) " >&6
71454 else
71457 ac_ext=cpp
71458 ac_cpp='$CXXCPP $CPPFLAGS'
71459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71464 /* end confdefs.h. */
71465 #include <math.h>
71466 #ifdef HAVE_IEEEFP_H
71467 #include <ieeefp.h>
71468 #endif
71471 main ()
71473 isnan(0);
71475 return 0;
71477 _ACEOF
71478 if ac_fn_cxx_try_compile "$LINENO"; then :
71479 glibcxx_cv_func_isnan_use=yes
71480 else
71481 glibcxx_cv_func_isnan_use=no
71483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71484 ac_ext=c
71485 ac_cpp='$CPP $CPPFLAGS'
71486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71495 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71497 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71498 for ac_func in isnan
71499 do :
71500 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71501 if test "x$ac_cv_func_isnan" = x""yes; then :
71502 cat >>confdefs.h <<_ACEOF
71503 #define HAVE_ISNAN 1
71504 _ACEOF
71507 done
71509 else
71511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71512 $as_echo_n "checking for _isnan declaration... " >&6; }
71513 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71514 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71515 $as_echo_n "(cached) " >&6
71516 else
71519 ac_ext=cpp
71520 ac_cpp='$CXXCPP $CPPFLAGS'
71521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71526 /* end confdefs.h. */
71527 #include <math.h>
71528 #ifdef HAVE_IEEEFP_H
71529 #include <ieeefp.h>
71530 #endif
71533 main ()
71535 _isnan(0);
71537 return 0;
71539 _ACEOF
71540 if ac_fn_cxx_try_compile "$LINENO"; then :
71541 glibcxx_cv_func__isnan_use=yes
71542 else
71543 glibcxx_cv_func__isnan_use=no
71545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71546 ac_ext=c
71547 ac_cpp='$CPP $CPPFLAGS'
71548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71557 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71559 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71560 for ac_func in _isnan
71561 do :
71562 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71563 if test "x$ac_cv_func__isnan" = x""yes; then :
71564 cat >>confdefs.h <<_ACEOF
71565 #define HAVE__ISNAN 1
71566 _ACEOF
71569 done
71578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71579 $as_echo_n "checking for finite declaration... " >&6; }
71580 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71581 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71582 $as_echo_n "(cached) " >&6
71583 else
71586 ac_ext=cpp
71587 ac_cpp='$CXXCPP $CPPFLAGS'
71588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71593 /* end confdefs.h. */
71594 #include <math.h>
71595 #ifdef HAVE_IEEEFP_H
71596 #include <ieeefp.h>
71597 #endif
71600 main ()
71602 finite(0);
71604 return 0;
71606 _ACEOF
71607 if ac_fn_cxx_try_compile "$LINENO"; then :
71608 glibcxx_cv_func_finite_use=yes
71609 else
71610 glibcxx_cv_func_finite_use=no
71612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71613 ac_ext=c
71614 ac_cpp='$CPP $CPPFLAGS'
71615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71624 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71626 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71627 for ac_func in finite
71628 do :
71629 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71630 if test "x$ac_cv_func_finite" = x""yes; then :
71631 cat >>confdefs.h <<_ACEOF
71632 #define HAVE_FINITE 1
71633 _ACEOF
71636 done
71638 else
71640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71641 $as_echo_n "checking for _finite declaration... " >&6; }
71642 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71643 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71644 $as_echo_n "(cached) " >&6
71645 else
71648 ac_ext=cpp
71649 ac_cpp='$CXXCPP $CPPFLAGS'
71650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71655 /* end confdefs.h. */
71656 #include <math.h>
71657 #ifdef HAVE_IEEEFP_H
71658 #include <ieeefp.h>
71659 #endif
71662 main ()
71664 _finite(0);
71666 return 0;
71668 _ACEOF
71669 if ac_fn_cxx_try_compile "$LINENO"; then :
71670 glibcxx_cv_func__finite_use=yes
71671 else
71672 glibcxx_cv_func__finite_use=no
71674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71675 ac_ext=c
71676 ac_cpp='$CPP $CPPFLAGS'
71677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71686 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71688 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71689 for ac_func in _finite
71690 do :
71691 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71692 if test "x$ac_cv_func__finite" = x""yes; then :
71693 cat >>confdefs.h <<_ACEOF
71694 #define HAVE__FINITE 1
71695 _ACEOF
71698 done
71707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71708 $as_echo_n "checking for sincos declaration... " >&6; }
71709 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71710 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71711 $as_echo_n "(cached) " >&6
71712 else
71715 ac_ext=cpp
71716 ac_cpp='$CXXCPP $CPPFLAGS'
71717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71722 /* end confdefs.h. */
71723 #include <math.h>
71725 main ()
71727 sincos(0, 0, 0);
71729 return 0;
71731 _ACEOF
71732 if ac_fn_cxx_try_compile "$LINENO"; then :
71733 glibcxx_cv_func_sincos_use=yes
71734 else
71735 glibcxx_cv_func_sincos_use=no
71737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71738 ac_ext=c
71739 ac_cpp='$CPP $CPPFLAGS'
71740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71749 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71751 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71752 for ac_func in sincos
71753 do :
71754 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71755 if test "x$ac_cv_func_sincos" = x""yes; then :
71756 cat >>confdefs.h <<_ACEOF
71757 #define HAVE_SINCOS 1
71758 _ACEOF
71761 done
71763 else
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71766 $as_echo_n "checking for _sincos declaration... " >&6; }
71767 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71768 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71769 $as_echo_n "(cached) " >&6
71770 else
71773 ac_ext=cpp
71774 ac_cpp='$CXXCPP $CPPFLAGS'
71775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71780 /* end confdefs.h. */
71781 #include <math.h>
71783 main ()
71785 _sincos(0, 0, 0);
71787 return 0;
71789 _ACEOF
71790 if ac_fn_cxx_try_compile "$LINENO"; then :
71791 glibcxx_cv_func__sincos_use=yes
71792 else
71793 glibcxx_cv_func__sincos_use=no
71795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71796 ac_ext=c
71797 ac_cpp='$CPP $CPPFLAGS'
71798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71807 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71809 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71810 for ac_func in _sincos
71811 do :
71812 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71813 if test "x$ac_cv_func__sincos" = x""yes; then :
71814 cat >>confdefs.h <<_ACEOF
71815 #define HAVE__SINCOS 1
71816 _ACEOF
71819 done
71828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71829 $as_echo_n "checking for fpclass declaration... " >&6; }
71830 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71831 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71832 $as_echo_n "(cached) " >&6
71833 else
71836 ac_ext=cpp
71837 ac_cpp='$CXXCPP $CPPFLAGS'
71838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71843 /* end confdefs.h. */
71844 #include <math.h>
71845 #ifdef HAVE_IEEEFP_H
71846 #include <ieeefp.h>
71847 #endif
71850 main ()
71852 fpclass(0);
71854 return 0;
71856 _ACEOF
71857 if ac_fn_cxx_try_compile "$LINENO"; then :
71858 glibcxx_cv_func_fpclass_use=yes
71859 else
71860 glibcxx_cv_func_fpclass_use=no
71862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71863 ac_ext=c
71864 ac_cpp='$CPP $CPPFLAGS'
71865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71874 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71876 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71877 for ac_func in fpclass
71878 do :
71879 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71880 if test "x$ac_cv_func_fpclass" = x""yes; then :
71881 cat >>confdefs.h <<_ACEOF
71882 #define HAVE_FPCLASS 1
71883 _ACEOF
71886 done
71888 else
71890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71891 $as_echo_n "checking for _fpclass declaration... " >&6; }
71892 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71893 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71894 $as_echo_n "(cached) " >&6
71895 else
71898 ac_ext=cpp
71899 ac_cpp='$CXXCPP $CPPFLAGS'
71900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71905 /* end confdefs.h. */
71906 #include <math.h>
71907 #ifdef HAVE_IEEEFP_H
71908 #include <ieeefp.h>
71909 #endif
71912 main ()
71914 _fpclass(0);
71916 return 0;
71918 _ACEOF
71919 if ac_fn_cxx_try_compile "$LINENO"; then :
71920 glibcxx_cv_func__fpclass_use=yes
71921 else
71922 glibcxx_cv_func__fpclass_use=no
71924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71925 ac_ext=c
71926 ac_cpp='$CPP $CPPFLAGS'
71927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71936 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71938 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71939 for ac_func in _fpclass
71940 do :
71941 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71942 if test "x$ac_cv_func__fpclass" = x""yes; then :
71943 cat >>confdefs.h <<_ACEOF
71944 #define HAVE__FPCLASS 1
71945 _ACEOF
71948 done
71957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71958 $as_echo_n "checking for qfpclass declaration... " >&6; }
71959 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71960 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71961 $as_echo_n "(cached) " >&6
71962 else
71965 ac_ext=cpp
71966 ac_cpp='$CXXCPP $CPPFLAGS'
71967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71972 /* end confdefs.h. */
71973 #include <math.h>
71974 #ifdef HAVE_IEEEFP_H
71975 #include <ieeefp.h>
71976 #endif
71979 main ()
71981 qfpclass(0);
71983 return 0;
71985 _ACEOF
71986 if ac_fn_cxx_try_compile "$LINENO"; then :
71987 glibcxx_cv_func_qfpclass_use=yes
71988 else
71989 glibcxx_cv_func_qfpclass_use=no
71991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71992 ac_ext=c
71993 ac_cpp='$CPP $CPPFLAGS'
71994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72003 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72005 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72006 for ac_func in qfpclass
72007 do :
72008 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72009 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72010 cat >>confdefs.h <<_ACEOF
72011 #define HAVE_QFPCLASS 1
72012 _ACEOF
72015 done
72017 else
72019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72020 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72021 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72022 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72023 $as_echo_n "(cached) " >&6
72024 else
72027 ac_ext=cpp
72028 ac_cpp='$CXXCPP $CPPFLAGS'
72029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72034 /* end confdefs.h. */
72035 #include <math.h>
72036 #ifdef HAVE_IEEEFP_H
72037 #include <ieeefp.h>
72038 #endif
72041 main ()
72043 _qfpclass(0);
72045 return 0;
72047 _ACEOF
72048 if ac_fn_cxx_try_compile "$LINENO"; then :
72049 glibcxx_cv_func__qfpclass_use=yes
72050 else
72051 glibcxx_cv_func__qfpclass_use=no
72053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72054 ac_ext=c
72055 ac_cpp='$CPP $CPPFLAGS'
72056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72065 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72067 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72068 for ac_func in _qfpclass
72069 do :
72070 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72071 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72072 cat >>confdefs.h <<_ACEOF
72073 #define HAVE__QFPCLASS 1
72074 _ACEOF
72077 done
72086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72087 $as_echo_n "checking for hypot declaration... " >&6; }
72088 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72089 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72090 $as_echo_n "(cached) " >&6
72091 else
72094 ac_ext=cpp
72095 ac_cpp='$CXXCPP $CPPFLAGS'
72096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72101 /* end confdefs.h. */
72102 #include <math.h>
72104 main ()
72106 hypot(0, 0);
72108 return 0;
72110 _ACEOF
72111 if ac_fn_cxx_try_compile "$LINENO"; then :
72112 glibcxx_cv_func_hypot_use=yes
72113 else
72114 glibcxx_cv_func_hypot_use=no
72116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72117 ac_ext=c
72118 ac_cpp='$CPP $CPPFLAGS'
72119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72128 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72130 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72131 for ac_func in hypot
72132 do :
72133 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72134 if test "x$ac_cv_func_hypot" = x""yes; then :
72135 cat >>confdefs.h <<_ACEOF
72136 #define HAVE_HYPOT 1
72137 _ACEOF
72140 done
72142 else
72144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72145 $as_echo_n "checking for _hypot declaration... " >&6; }
72146 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72147 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72148 $as_echo_n "(cached) " >&6
72149 else
72152 ac_ext=cpp
72153 ac_cpp='$CXXCPP $CPPFLAGS'
72154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72159 /* end confdefs.h. */
72160 #include <math.h>
72162 main ()
72164 _hypot(0, 0);
72166 return 0;
72168 _ACEOF
72169 if ac_fn_cxx_try_compile "$LINENO"; then :
72170 glibcxx_cv_func__hypot_use=yes
72171 else
72172 glibcxx_cv_func__hypot_use=no
72174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72175 ac_ext=c
72176 ac_cpp='$CPP $CPPFLAGS'
72177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72186 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72188 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72189 for ac_func in _hypot
72190 do :
72191 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72192 if test "x$ac_cv_func__hypot" = x""yes; then :
72193 cat >>confdefs.h <<_ACEOF
72194 #define HAVE__HYPOT 1
72195 _ACEOF
72198 done
72207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72208 $as_echo_n "checking for float trig functions... " >&6; }
72209 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72210 $as_echo_n "(cached) " >&6
72211 else
72214 ac_ext=cpp
72215 ac_cpp='$CXXCPP $CPPFLAGS'
72216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72221 /* end confdefs.h. */
72222 #include <math.h>
72224 main ()
72226 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72228 return 0;
72230 _ACEOF
72231 if ac_fn_cxx_try_compile "$LINENO"; then :
72232 glibcxx_cv_func_float_trig_use=yes
72233 else
72234 glibcxx_cv_func_float_trig_use=no
72236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72237 ac_ext=c
72238 ac_cpp='$CPP $CPPFLAGS'
72239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72246 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72247 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72248 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72249 do :
72250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72252 eval as_val=\$$as_ac_var
72253 if test "x$as_val" = x""yes; then :
72254 cat >>confdefs.h <<_ACEOF
72255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72256 _ACEOF
72259 done
72261 else
72262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72263 $as_echo_n "checking for _float trig functions... " >&6; }
72264 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72265 $as_echo_n "(cached) " >&6
72266 else
72269 ac_ext=cpp
72270 ac_cpp='$CXXCPP $CPPFLAGS'
72271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72276 /* end confdefs.h. */
72277 #include <math.h>
72279 main ()
72281 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72283 return 0;
72285 _ACEOF
72286 if ac_fn_cxx_try_compile "$LINENO"; then :
72287 glibcxx_cv_func__float_trig_use=yes
72288 else
72289 glibcxx_cv_func__float_trig_use=no
72291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72292 ac_ext=c
72293 ac_cpp='$CPP $CPPFLAGS'
72294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72301 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72302 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72303 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72304 do :
72305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72307 eval as_val=\$$as_ac_var
72308 if test "x$as_val" = x""yes; then :
72309 cat >>confdefs.h <<_ACEOF
72310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72311 _ACEOF
72314 done
72323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72324 $as_echo_n "checking for float round functions... " >&6; }
72325 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72326 $as_echo_n "(cached) " >&6
72327 else
72330 ac_ext=cpp
72331 ac_cpp='$CXXCPP $CPPFLAGS'
72332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72337 /* end confdefs.h. */
72338 #include <math.h>
72340 main ()
72342 ceilf (0); floorf (0);
72344 return 0;
72346 _ACEOF
72347 if ac_fn_cxx_try_compile "$LINENO"; then :
72348 glibcxx_cv_func_float_round_use=yes
72349 else
72350 glibcxx_cv_func_float_round_use=no
72352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72353 ac_ext=c
72354 ac_cpp='$CPP $CPPFLAGS'
72355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72362 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72363 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72364 for ac_func in ceilf floorf
72365 do :
72366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72368 eval as_val=\$$as_ac_var
72369 if test "x$as_val" = x""yes; then :
72370 cat >>confdefs.h <<_ACEOF
72371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72372 _ACEOF
72375 done
72377 else
72378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72379 $as_echo_n "checking for _float round functions... " >&6; }
72380 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72381 $as_echo_n "(cached) " >&6
72382 else
72385 ac_ext=cpp
72386 ac_cpp='$CXXCPP $CPPFLAGS'
72387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72392 /* end confdefs.h. */
72393 #include <math.h>
72395 main ()
72397 _ceilf (0); _floorf (0);
72399 return 0;
72401 _ACEOF
72402 if ac_fn_cxx_try_compile "$LINENO"; then :
72403 glibcxx_cv_func__float_round_use=yes
72404 else
72405 glibcxx_cv_func__float_round_use=no
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72408 ac_ext=c
72409 ac_cpp='$CPP $CPPFLAGS'
72410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72417 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72418 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72419 for ac_func in _ceilf _floorf
72420 do :
72421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72423 eval as_val=\$$as_ac_var
72424 if test "x$as_val" = x""yes; then :
72425 cat >>confdefs.h <<_ACEOF
72426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72427 _ACEOF
72430 done
72440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72441 $as_echo_n "checking for expf declaration... " >&6; }
72442 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72443 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72444 $as_echo_n "(cached) " >&6
72445 else
72448 ac_ext=cpp
72449 ac_cpp='$CXXCPP $CPPFLAGS'
72450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72455 /* end confdefs.h. */
72456 #include <math.h>
72457 #ifdef HAVE_IEEEFP_H
72458 #include <ieeefp.h>
72459 #endif
72462 main ()
72464 expf(0);
72466 return 0;
72468 _ACEOF
72469 if ac_fn_cxx_try_compile "$LINENO"; then :
72470 glibcxx_cv_func_expf_use=yes
72471 else
72472 glibcxx_cv_func_expf_use=no
72474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72475 ac_ext=c
72476 ac_cpp='$CPP $CPPFLAGS'
72477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72486 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72488 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72489 for ac_func in expf
72490 do :
72491 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72492 if test "x$ac_cv_func_expf" = x""yes; then :
72493 cat >>confdefs.h <<_ACEOF
72494 #define HAVE_EXPF 1
72495 _ACEOF
72498 done
72500 else
72502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72503 $as_echo_n "checking for _expf declaration... " >&6; }
72504 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72505 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72506 $as_echo_n "(cached) " >&6
72507 else
72510 ac_ext=cpp
72511 ac_cpp='$CXXCPP $CPPFLAGS'
72512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72517 /* end confdefs.h. */
72518 #include <math.h>
72519 #ifdef HAVE_IEEEFP_H
72520 #include <ieeefp.h>
72521 #endif
72524 main ()
72526 _expf(0);
72528 return 0;
72530 _ACEOF
72531 if ac_fn_cxx_try_compile "$LINENO"; then :
72532 glibcxx_cv_func__expf_use=yes
72533 else
72534 glibcxx_cv_func__expf_use=no
72536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72537 ac_ext=c
72538 ac_cpp='$CPP $CPPFLAGS'
72539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72548 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72550 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72551 for ac_func in _expf
72552 do :
72553 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72554 if test "x$ac_cv_func__expf" = x""yes; then :
72555 cat >>confdefs.h <<_ACEOF
72556 #define HAVE__EXPF 1
72557 _ACEOF
72560 done
72569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72570 $as_echo_n "checking for isnanf declaration... " >&6; }
72571 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72572 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72573 $as_echo_n "(cached) " >&6
72574 else
72577 ac_ext=cpp
72578 ac_cpp='$CXXCPP $CPPFLAGS'
72579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72584 /* end confdefs.h. */
72585 #include <math.h>
72586 #ifdef HAVE_IEEEFP_H
72587 #include <ieeefp.h>
72588 #endif
72591 main ()
72593 isnanf(0);
72595 return 0;
72597 _ACEOF
72598 if ac_fn_cxx_try_compile "$LINENO"; then :
72599 glibcxx_cv_func_isnanf_use=yes
72600 else
72601 glibcxx_cv_func_isnanf_use=no
72603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72604 ac_ext=c
72605 ac_cpp='$CPP $CPPFLAGS'
72606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72615 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72617 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72618 for ac_func in isnanf
72619 do :
72620 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72621 if test "x$ac_cv_func_isnanf" = x""yes; then :
72622 cat >>confdefs.h <<_ACEOF
72623 #define HAVE_ISNANF 1
72624 _ACEOF
72627 done
72629 else
72631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72632 $as_echo_n "checking for _isnanf declaration... " >&6; }
72633 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72634 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72635 $as_echo_n "(cached) " >&6
72636 else
72639 ac_ext=cpp
72640 ac_cpp='$CXXCPP $CPPFLAGS'
72641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72646 /* end confdefs.h. */
72647 #include <math.h>
72648 #ifdef HAVE_IEEEFP_H
72649 #include <ieeefp.h>
72650 #endif
72653 main ()
72655 _isnanf(0);
72657 return 0;
72659 _ACEOF
72660 if ac_fn_cxx_try_compile "$LINENO"; then :
72661 glibcxx_cv_func__isnanf_use=yes
72662 else
72663 glibcxx_cv_func__isnanf_use=no
72665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72666 ac_ext=c
72667 ac_cpp='$CPP $CPPFLAGS'
72668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72677 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72679 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72680 for ac_func in _isnanf
72681 do :
72682 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72683 if test "x$ac_cv_func__isnanf" = x""yes; then :
72684 cat >>confdefs.h <<_ACEOF
72685 #define HAVE__ISNANF 1
72686 _ACEOF
72689 done
72698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72699 $as_echo_n "checking for isinff declaration... " >&6; }
72700 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72701 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72702 $as_echo_n "(cached) " >&6
72703 else
72706 ac_ext=cpp
72707 ac_cpp='$CXXCPP $CPPFLAGS'
72708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72713 /* end confdefs.h. */
72714 #include <math.h>
72715 #ifdef HAVE_IEEEFP_H
72716 #include <ieeefp.h>
72717 #endif
72720 main ()
72722 isinff(0);
72724 return 0;
72726 _ACEOF
72727 if ac_fn_cxx_try_compile "$LINENO"; then :
72728 glibcxx_cv_func_isinff_use=yes
72729 else
72730 glibcxx_cv_func_isinff_use=no
72732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72733 ac_ext=c
72734 ac_cpp='$CPP $CPPFLAGS'
72735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72744 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72746 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72747 for ac_func in isinff
72748 do :
72749 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72750 if test "x$ac_cv_func_isinff" = x""yes; then :
72751 cat >>confdefs.h <<_ACEOF
72752 #define HAVE_ISINFF 1
72753 _ACEOF
72756 done
72758 else
72760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72761 $as_echo_n "checking for _isinff declaration... " >&6; }
72762 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72763 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72764 $as_echo_n "(cached) " >&6
72765 else
72768 ac_ext=cpp
72769 ac_cpp='$CXXCPP $CPPFLAGS'
72770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72775 /* end confdefs.h. */
72776 #include <math.h>
72777 #ifdef HAVE_IEEEFP_H
72778 #include <ieeefp.h>
72779 #endif
72782 main ()
72784 _isinff(0);
72786 return 0;
72788 _ACEOF
72789 if ac_fn_cxx_try_compile "$LINENO"; then :
72790 glibcxx_cv_func__isinff_use=yes
72791 else
72792 glibcxx_cv_func__isinff_use=no
72794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72795 ac_ext=c
72796 ac_cpp='$CPP $CPPFLAGS'
72797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72806 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72808 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72809 for ac_func in _isinff
72810 do :
72811 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72812 if test "x$ac_cv_func__isinff" = x""yes; then :
72813 cat >>confdefs.h <<_ACEOF
72814 #define HAVE__ISINFF 1
72815 _ACEOF
72818 done
72827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72828 $as_echo_n "checking for atan2f declaration... " >&6; }
72829 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72830 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72831 $as_echo_n "(cached) " >&6
72832 else
72835 ac_ext=cpp
72836 ac_cpp='$CXXCPP $CPPFLAGS'
72837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72842 /* end confdefs.h. */
72843 #include <math.h>
72845 main ()
72847 atan2f(0, 0);
72849 return 0;
72851 _ACEOF
72852 if ac_fn_cxx_try_compile "$LINENO"; then :
72853 glibcxx_cv_func_atan2f_use=yes
72854 else
72855 glibcxx_cv_func_atan2f_use=no
72857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72858 ac_ext=c
72859 ac_cpp='$CPP $CPPFLAGS'
72860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72869 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72871 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72872 for ac_func in atan2f
72873 do :
72874 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72875 if test "x$ac_cv_func_atan2f" = x""yes; then :
72876 cat >>confdefs.h <<_ACEOF
72877 #define HAVE_ATAN2F 1
72878 _ACEOF
72881 done
72883 else
72885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72886 $as_echo_n "checking for _atan2f declaration... " >&6; }
72887 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72888 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72889 $as_echo_n "(cached) " >&6
72890 else
72893 ac_ext=cpp
72894 ac_cpp='$CXXCPP $CPPFLAGS'
72895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72900 /* end confdefs.h. */
72901 #include <math.h>
72903 main ()
72905 _atan2f(0, 0);
72907 return 0;
72909 _ACEOF
72910 if ac_fn_cxx_try_compile "$LINENO"; then :
72911 glibcxx_cv_func__atan2f_use=yes
72912 else
72913 glibcxx_cv_func__atan2f_use=no
72915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72916 ac_ext=c
72917 ac_cpp='$CPP $CPPFLAGS'
72918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72927 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72929 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72930 for ac_func in _atan2f
72931 do :
72932 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72933 if test "x$ac_cv_func__atan2f" = x""yes; then :
72934 cat >>confdefs.h <<_ACEOF
72935 #define HAVE__ATAN2F 1
72936 _ACEOF
72939 done
72948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72949 $as_echo_n "checking for fabsf declaration... " >&6; }
72950 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72951 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72952 $as_echo_n "(cached) " >&6
72953 else
72956 ac_ext=cpp
72957 ac_cpp='$CXXCPP $CPPFLAGS'
72958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72963 /* end confdefs.h. */
72964 #include <math.h>
72965 #ifdef HAVE_IEEEFP_H
72966 #include <ieeefp.h>
72967 #endif
72970 main ()
72972 fabsf(0);
72974 return 0;
72976 _ACEOF
72977 if ac_fn_cxx_try_compile "$LINENO"; then :
72978 glibcxx_cv_func_fabsf_use=yes
72979 else
72980 glibcxx_cv_func_fabsf_use=no
72982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72983 ac_ext=c
72984 ac_cpp='$CPP $CPPFLAGS'
72985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
72994 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
72996 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
72997 for ac_func in fabsf
72998 do :
72999 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73000 if test "x$ac_cv_func_fabsf" = x""yes; then :
73001 cat >>confdefs.h <<_ACEOF
73002 #define HAVE_FABSF 1
73003 _ACEOF
73006 done
73008 else
73010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73011 $as_echo_n "checking for _fabsf declaration... " >&6; }
73012 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73013 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73014 $as_echo_n "(cached) " >&6
73015 else
73018 ac_ext=cpp
73019 ac_cpp='$CXXCPP $CPPFLAGS'
73020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73025 /* end confdefs.h. */
73026 #include <math.h>
73027 #ifdef HAVE_IEEEFP_H
73028 #include <ieeefp.h>
73029 #endif
73032 main ()
73034 _fabsf(0);
73036 return 0;
73038 _ACEOF
73039 if ac_fn_cxx_try_compile "$LINENO"; then :
73040 glibcxx_cv_func__fabsf_use=yes
73041 else
73042 glibcxx_cv_func__fabsf_use=no
73044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73045 ac_ext=c
73046 ac_cpp='$CPP $CPPFLAGS'
73047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73056 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73058 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73059 for ac_func in _fabsf
73060 do :
73061 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73062 if test "x$ac_cv_func__fabsf" = x""yes; then :
73063 cat >>confdefs.h <<_ACEOF
73064 #define HAVE__FABSF 1
73065 _ACEOF
73068 done
73077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73078 $as_echo_n "checking for fmodf declaration... " >&6; }
73079 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73080 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73081 $as_echo_n "(cached) " >&6
73082 else
73085 ac_ext=cpp
73086 ac_cpp='$CXXCPP $CPPFLAGS'
73087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73092 /* end confdefs.h. */
73093 #include <math.h>
73095 main ()
73097 fmodf(0, 0);
73099 return 0;
73101 _ACEOF
73102 if ac_fn_cxx_try_compile "$LINENO"; then :
73103 glibcxx_cv_func_fmodf_use=yes
73104 else
73105 glibcxx_cv_func_fmodf_use=no
73107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73108 ac_ext=c
73109 ac_cpp='$CPP $CPPFLAGS'
73110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73119 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73121 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73122 for ac_func in fmodf
73123 do :
73124 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73125 if test "x$ac_cv_func_fmodf" = x""yes; then :
73126 cat >>confdefs.h <<_ACEOF
73127 #define HAVE_FMODF 1
73128 _ACEOF
73131 done
73133 else
73135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73136 $as_echo_n "checking for _fmodf declaration... " >&6; }
73137 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73138 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73139 $as_echo_n "(cached) " >&6
73140 else
73143 ac_ext=cpp
73144 ac_cpp='$CXXCPP $CPPFLAGS'
73145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73150 /* end confdefs.h. */
73151 #include <math.h>
73153 main ()
73155 _fmodf(0, 0);
73157 return 0;
73159 _ACEOF
73160 if ac_fn_cxx_try_compile "$LINENO"; then :
73161 glibcxx_cv_func__fmodf_use=yes
73162 else
73163 glibcxx_cv_func__fmodf_use=no
73165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73166 ac_ext=c
73167 ac_cpp='$CPP $CPPFLAGS'
73168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73177 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73179 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73180 for ac_func in _fmodf
73181 do :
73182 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73183 if test "x$ac_cv_func__fmodf" = x""yes; then :
73184 cat >>confdefs.h <<_ACEOF
73185 #define HAVE__FMODF 1
73186 _ACEOF
73189 done
73198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73199 $as_echo_n "checking for frexpf declaration... " >&6; }
73200 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73201 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73202 $as_echo_n "(cached) " >&6
73203 else
73206 ac_ext=cpp
73207 ac_cpp='$CXXCPP $CPPFLAGS'
73208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73213 /* end confdefs.h. */
73214 #include <math.h>
73216 main ()
73218 frexpf(0, 0);
73220 return 0;
73222 _ACEOF
73223 if ac_fn_cxx_try_compile "$LINENO"; then :
73224 glibcxx_cv_func_frexpf_use=yes
73225 else
73226 glibcxx_cv_func_frexpf_use=no
73228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73229 ac_ext=c
73230 ac_cpp='$CPP $CPPFLAGS'
73231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73240 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73242 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73243 for ac_func in frexpf
73244 do :
73245 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73246 if test "x$ac_cv_func_frexpf" = x""yes; then :
73247 cat >>confdefs.h <<_ACEOF
73248 #define HAVE_FREXPF 1
73249 _ACEOF
73252 done
73254 else
73256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73257 $as_echo_n "checking for _frexpf declaration... " >&6; }
73258 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73259 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73260 $as_echo_n "(cached) " >&6
73261 else
73264 ac_ext=cpp
73265 ac_cpp='$CXXCPP $CPPFLAGS'
73266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73271 /* end confdefs.h. */
73272 #include <math.h>
73274 main ()
73276 _frexpf(0, 0);
73278 return 0;
73280 _ACEOF
73281 if ac_fn_cxx_try_compile "$LINENO"; then :
73282 glibcxx_cv_func__frexpf_use=yes
73283 else
73284 glibcxx_cv_func__frexpf_use=no
73286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73287 ac_ext=c
73288 ac_cpp='$CPP $CPPFLAGS'
73289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73298 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73300 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73301 for ac_func in _frexpf
73302 do :
73303 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73304 if test "x$ac_cv_func__frexpf" = x""yes; then :
73305 cat >>confdefs.h <<_ACEOF
73306 #define HAVE__FREXPF 1
73307 _ACEOF
73310 done
73319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73320 $as_echo_n "checking for hypotf declaration... " >&6; }
73321 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73322 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73323 $as_echo_n "(cached) " >&6
73324 else
73327 ac_ext=cpp
73328 ac_cpp='$CXXCPP $CPPFLAGS'
73329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73334 /* end confdefs.h. */
73335 #include <math.h>
73337 main ()
73339 hypotf(0, 0);
73341 return 0;
73343 _ACEOF
73344 if ac_fn_cxx_try_compile "$LINENO"; then :
73345 glibcxx_cv_func_hypotf_use=yes
73346 else
73347 glibcxx_cv_func_hypotf_use=no
73349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73350 ac_ext=c
73351 ac_cpp='$CPP $CPPFLAGS'
73352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73361 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73363 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73364 for ac_func in hypotf
73365 do :
73366 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73367 if test "x$ac_cv_func_hypotf" = x""yes; then :
73368 cat >>confdefs.h <<_ACEOF
73369 #define HAVE_HYPOTF 1
73370 _ACEOF
73373 done
73375 else
73377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73378 $as_echo_n "checking for _hypotf declaration... " >&6; }
73379 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73380 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73381 $as_echo_n "(cached) " >&6
73382 else
73385 ac_ext=cpp
73386 ac_cpp='$CXXCPP $CPPFLAGS'
73387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73392 /* end confdefs.h. */
73393 #include <math.h>
73395 main ()
73397 _hypotf(0, 0);
73399 return 0;
73401 _ACEOF
73402 if ac_fn_cxx_try_compile "$LINENO"; then :
73403 glibcxx_cv_func__hypotf_use=yes
73404 else
73405 glibcxx_cv_func__hypotf_use=no
73407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73408 ac_ext=c
73409 ac_cpp='$CPP $CPPFLAGS'
73410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73419 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73421 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73422 for ac_func in _hypotf
73423 do :
73424 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73425 if test "x$ac_cv_func__hypotf" = x""yes; then :
73426 cat >>confdefs.h <<_ACEOF
73427 #define HAVE__HYPOTF 1
73428 _ACEOF
73431 done
73440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73441 $as_echo_n "checking for ldexpf declaration... " >&6; }
73442 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73443 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73444 $as_echo_n "(cached) " >&6
73445 else
73448 ac_ext=cpp
73449 ac_cpp='$CXXCPP $CPPFLAGS'
73450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73455 /* end confdefs.h. */
73456 #include <math.h>
73458 main ()
73460 ldexpf(0, 0);
73462 return 0;
73464 _ACEOF
73465 if ac_fn_cxx_try_compile "$LINENO"; then :
73466 glibcxx_cv_func_ldexpf_use=yes
73467 else
73468 glibcxx_cv_func_ldexpf_use=no
73470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73471 ac_ext=c
73472 ac_cpp='$CPP $CPPFLAGS'
73473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73482 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73484 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73485 for ac_func in ldexpf
73486 do :
73487 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73488 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73489 cat >>confdefs.h <<_ACEOF
73490 #define HAVE_LDEXPF 1
73491 _ACEOF
73494 done
73496 else
73498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73499 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73500 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73501 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73502 $as_echo_n "(cached) " >&6
73503 else
73506 ac_ext=cpp
73507 ac_cpp='$CXXCPP $CPPFLAGS'
73508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73513 /* end confdefs.h. */
73514 #include <math.h>
73516 main ()
73518 _ldexpf(0, 0);
73520 return 0;
73522 _ACEOF
73523 if ac_fn_cxx_try_compile "$LINENO"; then :
73524 glibcxx_cv_func__ldexpf_use=yes
73525 else
73526 glibcxx_cv_func__ldexpf_use=no
73528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73529 ac_ext=c
73530 ac_cpp='$CPP $CPPFLAGS'
73531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73540 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73542 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73543 for ac_func in _ldexpf
73544 do :
73545 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73546 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73547 cat >>confdefs.h <<_ACEOF
73548 #define HAVE__LDEXPF 1
73549 _ACEOF
73552 done
73561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73562 $as_echo_n "checking for logf declaration... " >&6; }
73563 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73564 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73565 $as_echo_n "(cached) " >&6
73566 else
73569 ac_ext=cpp
73570 ac_cpp='$CXXCPP $CPPFLAGS'
73571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73576 /* end confdefs.h. */
73577 #include <math.h>
73578 #ifdef HAVE_IEEEFP_H
73579 #include <ieeefp.h>
73580 #endif
73583 main ()
73585 logf(0);
73587 return 0;
73589 _ACEOF
73590 if ac_fn_cxx_try_compile "$LINENO"; then :
73591 glibcxx_cv_func_logf_use=yes
73592 else
73593 glibcxx_cv_func_logf_use=no
73595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73596 ac_ext=c
73597 ac_cpp='$CPP $CPPFLAGS'
73598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73607 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73609 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73610 for ac_func in logf
73611 do :
73612 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73613 if test "x$ac_cv_func_logf" = x""yes; then :
73614 cat >>confdefs.h <<_ACEOF
73615 #define HAVE_LOGF 1
73616 _ACEOF
73619 done
73621 else
73623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73624 $as_echo_n "checking for _logf declaration... " >&6; }
73625 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73626 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73627 $as_echo_n "(cached) " >&6
73628 else
73631 ac_ext=cpp
73632 ac_cpp='$CXXCPP $CPPFLAGS'
73633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73638 /* end confdefs.h. */
73639 #include <math.h>
73640 #ifdef HAVE_IEEEFP_H
73641 #include <ieeefp.h>
73642 #endif
73645 main ()
73647 _logf(0);
73649 return 0;
73651 _ACEOF
73652 if ac_fn_cxx_try_compile "$LINENO"; then :
73653 glibcxx_cv_func__logf_use=yes
73654 else
73655 glibcxx_cv_func__logf_use=no
73657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73658 ac_ext=c
73659 ac_cpp='$CPP $CPPFLAGS'
73660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73669 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73671 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73672 for ac_func in _logf
73673 do :
73674 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73675 if test "x$ac_cv_func__logf" = x""yes; then :
73676 cat >>confdefs.h <<_ACEOF
73677 #define HAVE__LOGF 1
73678 _ACEOF
73681 done
73690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73691 $as_echo_n "checking for log10f declaration... " >&6; }
73692 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73693 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73694 $as_echo_n "(cached) " >&6
73695 else
73698 ac_ext=cpp
73699 ac_cpp='$CXXCPP $CPPFLAGS'
73700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73705 /* end confdefs.h. */
73706 #include <math.h>
73707 #ifdef HAVE_IEEEFP_H
73708 #include <ieeefp.h>
73709 #endif
73712 main ()
73714 log10f(0);
73716 return 0;
73718 _ACEOF
73719 if ac_fn_cxx_try_compile "$LINENO"; then :
73720 glibcxx_cv_func_log10f_use=yes
73721 else
73722 glibcxx_cv_func_log10f_use=no
73724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73725 ac_ext=c
73726 ac_cpp='$CPP $CPPFLAGS'
73727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73736 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73738 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73739 for ac_func in log10f
73740 do :
73741 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73742 if test "x$ac_cv_func_log10f" = x""yes; then :
73743 cat >>confdefs.h <<_ACEOF
73744 #define HAVE_LOG10F 1
73745 _ACEOF
73748 done
73750 else
73752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73753 $as_echo_n "checking for _log10f declaration... " >&6; }
73754 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73755 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73756 $as_echo_n "(cached) " >&6
73757 else
73760 ac_ext=cpp
73761 ac_cpp='$CXXCPP $CPPFLAGS'
73762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73767 /* end confdefs.h. */
73768 #include <math.h>
73769 #ifdef HAVE_IEEEFP_H
73770 #include <ieeefp.h>
73771 #endif
73774 main ()
73776 _log10f(0);
73778 return 0;
73780 _ACEOF
73781 if ac_fn_cxx_try_compile "$LINENO"; then :
73782 glibcxx_cv_func__log10f_use=yes
73783 else
73784 glibcxx_cv_func__log10f_use=no
73786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73787 ac_ext=c
73788 ac_cpp='$CPP $CPPFLAGS'
73789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73798 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73800 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73801 for ac_func in _log10f
73802 do :
73803 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73804 if test "x$ac_cv_func__log10f" = x""yes; then :
73805 cat >>confdefs.h <<_ACEOF
73806 #define HAVE__LOG10F 1
73807 _ACEOF
73810 done
73819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73820 $as_echo_n "checking for modff declaration... " >&6; }
73821 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73822 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73823 $as_echo_n "(cached) " >&6
73824 else
73827 ac_ext=cpp
73828 ac_cpp='$CXXCPP $CPPFLAGS'
73829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73834 /* end confdefs.h. */
73835 #include <math.h>
73837 main ()
73839 modff(0, 0);
73841 return 0;
73843 _ACEOF
73844 if ac_fn_cxx_try_compile "$LINENO"; then :
73845 glibcxx_cv_func_modff_use=yes
73846 else
73847 glibcxx_cv_func_modff_use=no
73849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73850 ac_ext=c
73851 ac_cpp='$CPP $CPPFLAGS'
73852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73861 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73863 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73864 for ac_func in modff
73865 do :
73866 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73867 if test "x$ac_cv_func_modff" = x""yes; then :
73868 cat >>confdefs.h <<_ACEOF
73869 #define HAVE_MODFF 1
73870 _ACEOF
73873 done
73875 else
73877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73878 $as_echo_n "checking for _modff declaration... " >&6; }
73879 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73880 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73881 $as_echo_n "(cached) " >&6
73882 else
73885 ac_ext=cpp
73886 ac_cpp='$CXXCPP $CPPFLAGS'
73887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73892 /* end confdefs.h. */
73893 #include <math.h>
73895 main ()
73897 _modff(0, 0);
73899 return 0;
73901 _ACEOF
73902 if ac_fn_cxx_try_compile "$LINENO"; then :
73903 glibcxx_cv_func__modff_use=yes
73904 else
73905 glibcxx_cv_func__modff_use=no
73907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73908 ac_ext=c
73909 ac_cpp='$CPP $CPPFLAGS'
73910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73919 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73921 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73922 for ac_func in _modff
73923 do :
73924 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73925 if test "x$ac_cv_func__modff" = x""yes; then :
73926 cat >>confdefs.h <<_ACEOF
73927 #define HAVE__MODFF 1
73928 _ACEOF
73931 done
73940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73941 $as_echo_n "checking for modf declaration... " >&6; }
73942 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73943 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73944 $as_echo_n "(cached) " >&6
73945 else
73948 ac_ext=cpp
73949 ac_cpp='$CXXCPP $CPPFLAGS'
73950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73955 /* end confdefs.h. */
73956 #include <math.h>
73958 main ()
73960 modf(0, 0);
73962 return 0;
73964 _ACEOF
73965 if ac_fn_cxx_try_compile "$LINENO"; then :
73966 glibcxx_cv_func_modf_use=yes
73967 else
73968 glibcxx_cv_func_modf_use=no
73970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73971 ac_ext=c
73972 ac_cpp='$CPP $CPPFLAGS'
73973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73982 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73984 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73985 for ac_func in modf
73986 do :
73987 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73988 if test "x$ac_cv_func_modf" = x""yes; then :
73989 cat >>confdefs.h <<_ACEOF
73990 #define HAVE_MODF 1
73991 _ACEOF
73994 done
73996 else
73998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
73999 $as_echo_n "checking for _modf declaration... " >&6; }
74000 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74001 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74002 $as_echo_n "(cached) " >&6
74003 else
74006 ac_ext=cpp
74007 ac_cpp='$CXXCPP $CPPFLAGS'
74008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74013 /* end confdefs.h. */
74014 #include <math.h>
74016 main ()
74018 _modf(0, 0);
74020 return 0;
74022 _ACEOF
74023 if ac_fn_cxx_try_compile "$LINENO"; then :
74024 glibcxx_cv_func__modf_use=yes
74025 else
74026 glibcxx_cv_func__modf_use=no
74028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74029 ac_ext=c
74030 ac_cpp='$CPP $CPPFLAGS'
74031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74040 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74042 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74043 for ac_func in _modf
74044 do :
74045 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74046 if test "x$ac_cv_func__modf" = x""yes; then :
74047 cat >>confdefs.h <<_ACEOF
74048 #define HAVE__MODF 1
74049 _ACEOF
74052 done
74061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74062 $as_echo_n "checking for powf declaration... " >&6; }
74063 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74064 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74065 $as_echo_n "(cached) " >&6
74066 else
74069 ac_ext=cpp
74070 ac_cpp='$CXXCPP $CPPFLAGS'
74071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74076 /* end confdefs.h. */
74077 #include <math.h>
74079 main ()
74081 powf(0, 0);
74083 return 0;
74085 _ACEOF
74086 if ac_fn_cxx_try_compile "$LINENO"; then :
74087 glibcxx_cv_func_powf_use=yes
74088 else
74089 glibcxx_cv_func_powf_use=no
74091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74092 ac_ext=c
74093 ac_cpp='$CPP $CPPFLAGS'
74094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74103 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74105 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74106 for ac_func in powf
74107 do :
74108 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74109 if test "x$ac_cv_func_powf" = x""yes; then :
74110 cat >>confdefs.h <<_ACEOF
74111 #define HAVE_POWF 1
74112 _ACEOF
74115 done
74117 else
74119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74120 $as_echo_n "checking for _powf declaration... " >&6; }
74121 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74122 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74123 $as_echo_n "(cached) " >&6
74124 else
74127 ac_ext=cpp
74128 ac_cpp='$CXXCPP $CPPFLAGS'
74129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74134 /* end confdefs.h. */
74135 #include <math.h>
74137 main ()
74139 _powf(0, 0);
74141 return 0;
74143 _ACEOF
74144 if ac_fn_cxx_try_compile "$LINENO"; then :
74145 glibcxx_cv_func__powf_use=yes
74146 else
74147 glibcxx_cv_func__powf_use=no
74149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74150 ac_ext=c
74151 ac_cpp='$CPP $CPPFLAGS'
74152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74161 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74163 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74164 for ac_func in _powf
74165 do :
74166 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74167 if test "x$ac_cv_func__powf" = x""yes; then :
74168 cat >>confdefs.h <<_ACEOF
74169 #define HAVE__POWF 1
74170 _ACEOF
74173 done
74182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74183 $as_echo_n "checking for sqrtf declaration... " >&6; }
74184 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74185 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74186 $as_echo_n "(cached) " >&6
74187 else
74190 ac_ext=cpp
74191 ac_cpp='$CXXCPP $CPPFLAGS'
74192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74197 /* end confdefs.h. */
74198 #include <math.h>
74199 #ifdef HAVE_IEEEFP_H
74200 #include <ieeefp.h>
74201 #endif
74204 main ()
74206 sqrtf(0);
74208 return 0;
74210 _ACEOF
74211 if ac_fn_cxx_try_compile "$LINENO"; then :
74212 glibcxx_cv_func_sqrtf_use=yes
74213 else
74214 glibcxx_cv_func_sqrtf_use=no
74216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74217 ac_ext=c
74218 ac_cpp='$CPP $CPPFLAGS'
74219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74228 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74230 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74231 for ac_func in sqrtf
74232 do :
74233 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74234 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74235 cat >>confdefs.h <<_ACEOF
74236 #define HAVE_SQRTF 1
74237 _ACEOF
74240 done
74242 else
74244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74245 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74246 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74247 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74248 $as_echo_n "(cached) " >&6
74249 else
74252 ac_ext=cpp
74253 ac_cpp='$CXXCPP $CPPFLAGS'
74254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74259 /* end confdefs.h. */
74260 #include <math.h>
74261 #ifdef HAVE_IEEEFP_H
74262 #include <ieeefp.h>
74263 #endif
74266 main ()
74268 _sqrtf(0);
74270 return 0;
74272 _ACEOF
74273 if ac_fn_cxx_try_compile "$LINENO"; then :
74274 glibcxx_cv_func__sqrtf_use=yes
74275 else
74276 glibcxx_cv_func__sqrtf_use=no
74278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74279 ac_ext=c
74280 ac_cpp='$CPP $CPPFLAGS'
74281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74290 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74292 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74293 for ac_func in _sqrtf
74294 do :
74295 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74296 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74297 cat >>confdefs.h <<_ACEOF
74298 #define HAVE__SQRTF 1
74299 _ACEOF
74302 done
74311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74312 $as_echo_n "checking for sincosf declaration... " >&6; }
74313 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74314 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74315 $as_echo_n "(cached) " >&6
74316 else
74319 ac_ext=cpp
74320 ac_cpp='$CXXCPP $CPPFLAGS'
74321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74326 /* end confdefs.h. */
74327 #include <math.h>
74329 main ()
74331 sincosf(0, 0, 0);
74333 return 0;
74335 _ACEOF
74336 if ac_fn_cxx_try_compile "$LINENO"; then :
74337 glibcxx_cv_func_sincosf_use=yes
74338 else
74339 glibcxx_cv_func_sincosf_use=no
74341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74342 ac_ext=c
74343 ac_cpp='$CPP $CPPFLAGS'
74344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74353 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74355 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74356 for ac_func in sincosf
74357 do :
74358 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74359 if test "x$ac_cv_func_sincosf" = x""yes; then :
74360 cat >>confdefs.h <<_ACEOF
74361 #define HAVE_SINCOSF 1
74362 _ACEOF
74365 done
74367 else
74369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74370 $as_echo_n "checking for _sincosf declaration... " >&6; }
74371 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74372 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74373 $as_echo_n "(cached) " >&6
74374 else
74377 ac_ext=cpp
74378 ac_cpp='$CXXCPP $CPPFLAGS'
74379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74384 /* end confdefs.h. */
74385 #include <math.h>
74387 main ()
74389 _sincosf(0, 0, 0);
74391 return 0;
74393 _ACEOF
74394 if ac_fn_cxx_try_compile "$LINENO"; then :
74395 glibcxx_cv_func__sincosf_use=yes
74396 else
74397 glibcxx_cv_func__sincosf_use=no
74399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74400 ac_ext=c
74401 ac_cpp='$CPP $CPPFLAGS'
74402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74411 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74413 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74414 for ac_func in _sincosf
74415 do :
74416 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74417 if test "x$ac_cv_func__sincosf" = x""yes; then :
74418 cat >>confdefs.h <<_ACEOF
74419 #define HAVE__SINCOSF 1
74420 _ACEOF
74423 done
74432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74433 $as_echo_n "checking for finitef declaration... " >&6; }
74434 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74435 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74436 $as_echo_n "(cached) " >&6
74437 else
74440 ac_ext=cpp
74441 ac_cpp='$CXXCPP $CPPFLAGS'
74442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74447 /* end confdefs.h. */
74448 #include <math.h>
74449 #ifdef HAVE_IEEEFP_H
74450 #include <ieeefp.h>
74451 #endif
74454 main ()
74456 finitef(0);
74458 return 0;
74460 _ACEOF
74461 if ac_fn_cxx_try_compile "$LINENO"; then :
74462 glibcxx_cv_func_finitef_use=yes
74463 else
74464 glibcxx_cv_func_finitef_use=no
74466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74467 ac_ext=c
74468 ac_cpp='$CPP $CPPFLAGS'
74469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74478 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74480 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74481 for ac_func in finitef
74482 do :
74483 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74484 if test "x$ac_cv_func_finitef" = x""yes; then :
74485 cat >>confdefs.h <<_ACEOF
74486 #define HAVE_FINITEF 1
74487 _ACEOF
74490 done
74492 else
74494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74495 $as_echo_n "checking for _finitef declaration... " >&6; }
74496 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74497 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74498 $as_echo_n "(cached) " >&6
74499 else
74502 ac_ext=cpp
74503 ac_cpp='$CXXCPP $CPPFLAGS'
74504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74509 /* end confdefs.h. */
74510 #include <math.h>
74511 #ifdef HAVE_IEEEFP_H
74512 #include <ieeefp.h>
74513 #endif
74516 main ()
74518 _finitef(0);
74520 return 0;
74522 _ACEOF
74523 if ac_fn_cxx_try_compile "$LINENO"; then :
74524 glibcxx_cv_func__finitef_use=yes
74525 else
74526 glibcxx_cv_func__finitef_use=no
74528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74529 ac_ext=c
74530 ac_cpp='$CPP $CPPFLAGS'
74531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74540 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74542 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74543 for ac_func in _finitef
74544 do :
74545 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74546 if test "x$ac_cv_func__finitef" = x""yes; then :
74547 cat >>confdefs.h <<_ACEOF
74548 #define HAVE__FINITEF 1
74549 _ACEOF
74552 done
74561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74562 $as_echo_n "checking for long double trig functions... " >&6; }
74563 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74564 $as_echo_n "(cached) " >&6
74565 else
74568 ac_ext=cpp
74569 ac_cpp='$CXXCPP $CPPFLAGS'
74570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74575 /* end confdefs.h. */
74576 #include <math.h>
74578 main ()
74580 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74582 return 0;
74584 _ACEOF
74585 if ac_fn_cxx_try_compile "$LINENO"; then :
74586 glibcxx_cv_func_long_double_trig_use=yes
74587 else
74588 glibcxx_cv_func_long_double_trig_use=no
74590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74591 ac_ext=c
74592 ac_cpp='$CPP $CPPFLAGS'
74593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74600 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74601 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74602 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74603 do :
74604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74606 eval as_val=\$$as_ac_var
74607 if test "x$as_val" = x""yes; then :
74608 cat >>confdefs.h <<_ACEOF
74609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74610 _ACEOF
74613 done
74615 else
74616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74617 $as_echo_n "checking for _long double trig functions... " >&6; }
74618 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74619 $as_echo_n "(cached) " >&6
74620 else
74623 ac_ext=cpp
74624 ac_cpp='$CXXCPP $CPPFLAGS'
74625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74630 /* end confdefs.h. */
74631 #include <math.h>
74633 main ()
74635 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74637 return 0;
74639 _ACEOF
74640 if ac_fn_cxx_try_compile "$LINENO"; then :
74641 glibcxx_cv_func__long_double_trig_use=yes
74642 else
74643 glibcxx_cv_func__long_double_trig_use=no
74645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74646 ac_ext=c
74647 ac_cpp='$CPP $CPPFLAGS'
74648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74655 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74656 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74657 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74658 do :
74659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74661 eval as_val=\$$as_ac_var
74662 if test "x$as_val" = x""yes; then :
74663 cat >>confdefs.h <<_ACEOF
74664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74665 _ACEOF
74668 done
74677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74678 $as_echo_n "checking for long double round functions... " >&6; }
74679 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74680 $as_echo_n "(cached) " >&6
74681 else
74684 ac_ext=cpp
74685 ac_cpp='$CXXCPP $CPPFLAGS'
74686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74691 /* end confdefs.h. */
74692 #include <math.h>
74694 main ()
74696 ceill (0); floorl (0);
74698 return 0;
74700 _ACEOF
74701 if ac_fn_cxx_try_compile "$LINENO"; then :
74702 glibcxx_cv_func_long_double_round_use=yes
74703 else
74704 glibcxx_cv_func_long_double_round_use=no
74706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74707 ac_ext=c
74708 ac_cpp='$CPP $CPPFLAGS'
74709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74716 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74717 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74718 for ac_func in ceill floorl
74719 do :
74720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74722 eval as_val=\$$as_ac_var
74723 if test "x$as_val" = x""yes; then :
74724 cat >>confdefs.h <<_ACEOF
74725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74726 _ACEOF
74729 done
74731 else
74732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74733 $as_echo_n "checking for _long double round functions... " >&6; }
74734 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74735 $as_echo_n "(cached) " >&6
74736 else
74739 ac_ext=cpp
74740 ac_cpp='$CXXCPP $CPPFLAGS'
74741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74746 /* end confdefs.h. */
74747 #include <math.h>
74749 main ()
74751 _ceill (0); _floorl (0);
74753 return 0;
74755 _ACEOF
74756 if ac_fn_cxx_try_compile "$LINENO"; then :
74757 glibcxx_cv_func__long_double_round_use=yes
74758 else
74759 glibcxx_cv_func__long_double_round_use=no
74761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74762 ac_ext=c
74763 ac_cpp='$CPP $CPPFLAGS'
74764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74771 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74772 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74773 for ac_func in _ceill _floorl
74774 do :
74775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74777 eval as_val=\$$as_ac_var
74778 if test "x$as_val" = x""yes; then :
74779 cat >>confdefs.h <<_ACEOF
74780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74781 _ACEOF
74784 done
74794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74795 $as_echo_n "checking for isnanl declaration... " >&6; }
74796 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74797 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74798 $as_echo_n "(cached) " >&6
74799 else
74802 ac_ext=cpp
74803 ac_cpp='$CXXCPP $CPPFLAGS'
74804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74809 /* end confdefs.h. */
74810 #include <math.h>
74811 #ifdef HAVE_IEEEFP_H
74812 #include <ieeefp.h>
74813 #endif
74816 main ()
74818 isnanl(0);
74820 return 0;
74822 _ACEOF
74823 if ac_fn_cxx_try_compile "$LINENO"; then :
74824 glibcxx_cv_func_isnanl_use=yes
74825 else
74826 glibcxx_cv_func_isnanl_use=no
74828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74829 ac_ext=c
74830 ac_cpp='$CPP $CPPFLAGS'
74831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74840 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74842 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74843 for ac_func in isnanl
74844 do :
74845 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74846 if test "x$ac_cv_func_isnanl" = x""yes; then :
74847 cat >>confdefs.h <<_ACEOF
74848 #define HAVE_ISNANL 1
74849 _ACEOF
74852 done
74854 else
74856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74857 $as_echo_n "checking for _isnanl declaration... " >&6; }
74858 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74859 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74860 $as_echo_n "(cached) " >&6
74861 else
74864 ac_ext=cpp
74865 ac_cpp='$CXXCPP $CPPFLAGS'
74866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74871 /* end confdefs.h. */
74872 #include <math.h>
74873 #ifdef HAVE_IEEEFP_H
74874 #include <ieeefp.h>
74875 #endif
74878 main ()
74880 _isnanl(0);
74882 return 0;
74884 _ACEOF
74885 if ac_fn_cxx_try_compile "$LINENO"; then :
74886 glibcxx_cv_func__isnanl_use=yes
74887 else
74888 glibcxx_cv_func__isnanl_use=no
74890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74891 ac_ext=c
74892 ac_cpp='$CPP $CPPFLAGS'
74893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74902 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74904 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74905 for ac_func in _isnanl
74906 do :
74907 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74908 if test "x$ac_cv_func__isnanl" = x""yes; then :
74909 cat >>confdefs.h <<_ACEOF
74910 #define HAVE__ISNANL 1
74911 _ACEOF
74914 done
74923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74924 $as_echo_n "checking for isinfl declaration... " >&6; }
74925 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74926 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74927 $as_echo_n "(cached) " >&6
74928 else
74931 ac_ext=cpp
74932 ac_cpp='$CXXCPP $CPPFLAGS'
74933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74938 /* end confdefs.h. */
74939 #include <math.h>
74940 #ifdef HAVE_IEEEFP_H
74941 #include <ieeefp.h>
74942 #endif
74945 main ()
74947 isinfl(0);
74949 return 0;
74951 _ACEOF
74952 if ac_fn_cxx_try_compile "$LINENO"; then :
74953 glibcxx_cv_func_isinfl_use=yes
74954 else
74955 glibcxx_cv_func_isinfl_use=no
74957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74958 ac_ext=c
74959 ac_cpp='$CPP $CPPFLAGS'
74960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74969 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74971 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74972 for ac_func in isinfl
74973 do :
74974 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74975 if test "x$ac_cv_func_isinfl" = x""yes; then :
74976 cat >>confdefs.h <<_ACEOF
74977 #define HAVE_ISINFL 1
74978 _ACEOF
74981 done
74983 else
74985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74986 $as_echo_n "checking for _isinfl declaration... " >&6; }
74987 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74988 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74989 $as_echo_n "(cached) " >&6
74990 else
74993 ac_ext=cpp
74994 ac_cpp='$CXXCPP $CPPFLAGS'
74995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75000 /* end confdefs.h. */
75001 #include <math.h>
75002 #ifdef HAVE_IEEEFP_H
75003 #include <ieeefp.h>
75004 #endif
75007 main ()
75009 _isinfl(0);
75011 return 0;
75013 _ACEOF
75014 if ac_fn_cxx_try_compile "$LINENO"; then :
75015 glibcxx_cv_func__isinfl_use=yes
75016 else
75017 glibcxx_cv_func__isinfl_use=no
75019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75020 ac_ext=c
75021 ac_cpp='$CPP $CPPFLAGS'
75022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75031 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75033 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75034 for ac_func in _isinfl
75035 do :
75036 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75037 if test "x$ac_cv_func__isinfl" = x""yes; then :
75038 cat >>confdefs.h <<_ACEOF
75039 #define HAVE__ISINFL 1
75040 _ACEOF
75043 done
75052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75053 $as_echo_n "checking for atan2l declaration... " >&6; }
75054 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75055 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75056 $as_echo_n "(cached) " >&6
75057 else
75060 ac_ext=cpp
75061 ac_cpp='$CXXCPP $CPPFLAGS'
75062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75067 /* end confdefs.h. */
75068 #include <math.h>
75070 main ()
75072 atan2l(0, 0);
75074 return 0;
75076 _ACEOF
75077 if ac_fn_cxx_try_compile "$LINENO"; then :
75078 glibcxx_cv_func_atan2l_use=yes
75079 else
75080 glibcxx_cv_func_atan2l_use=no
75082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75083 ac_ext=c
75084 ac_cpp='$CPP $CPPFLAGS'
75085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75094 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75096 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75097 for ac_func in atan2l
75098 do :
75099 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75100 if test "x$ac_cv_func_atan2l" = x""yes; then :
75101 cat >>confdefs.h <<_ACEOF
75102 #define HAVE_ATAN2L 1
75103 _ACEOF
75106 done
75108 else
75110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75111 $as_echo_n "checking for _atan2l declaration... " >&6; }
75112 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75113 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75114 $as_echo_n "(cached) " >&6
75115 else
75118 ac_ext=cpp
75119 ac_cpp='$CXXCPP $CPPFLAGS'
75120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75125 /* end confdefs.h. */
75126 #include <math.h>
75128 main ()
75130 _atan2l(0, 0);
75132 return 0;
75134 _ACEOF
75135 if ac_fn_cxx_try_compile "$LINENO"; then :
75136 glibcxx_cv_func__atan2l_use=yes
75137 else
75138 glibcxx_cv_func__atan2l_use=no
75140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75141 ac_ext=c
75142 ac_cpp='$CPP $CPPFLAGS'
75143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75152 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75154 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75155 for ac_func in _atan2l
75156 do :
75157 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75158 if test "x$ac_cv_func__atan2l" = x""yes; then :
75159 cat >>confdefs.h <<_ACEOF
75160 #define HAVE__ATAN2L 1
75161 _ACEOF
75164 done
75173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75174 $as_echo_n "checking for expl declaration... " >&6; }
75175 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75176 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75177 $as_echo_n "(cached) " >&6
75178 else
75181 ac_ext=cpp
75182 ac_cpp='$CXXCPP $CPPFLAGS'
75183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75188 /* end confdefs.h. */
75189 #include <math.h>
75190 #ifdef HAVE_IEEEFP_H
75191 #include <ieeefp.h>
75192 #endif
75195 main ()
75197 expl(0);
75199 return 0;
75201 _ACEOF
75202 if ac_fn_cxx_try_compile "$LINENO"; then :
75203 glibcxx_cv_func_expl_use=yes
75204 else
75205 glibcxx_cv_func_expl_use=no
75207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75208 ac_ext=c
75209 ac_cpp='$CPP $CPPFLAGS'
75210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75219 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75221 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75222 for ac_func in expl
75223 do :
75224 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75225 if test "x$ac_cv_func_expl" = x""yes; then :
75226 cat >>confdefs.h <<_ACEOF
75227 #define HAVE_EXPL 1
75228 _ACEOF
75231 done
75233 else
75235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75236 $as_echo_n "checking for _expl declaration... " >&6; }
75237 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75238 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75239 $as_echo_n "(cached) " >&6
75240 else
75243 ac_ext=cpp
75244 ac_cpp='$CXXCPP $CPPFLAGS'
75245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75250 /* end confdefs.h. */
75251 #include <math.h>
75252 #ifdef HAVE_IEEEFP_H
75253 #include <ieeefp.h>
75254 #endif
75257 main ()
75259 _expl(0);
75261 return 0;
75263 _ACEOF
75264 if ac_fn_cxx_try_compile "$LINENO"; then :
75265 glibcxx_cv_func__expl_use=yes
75266 else
75267 glibcxx_cv_func__expl_use=no
75269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75270 ac_ext=c
75271 ac_cpp='$CPP $CPPFLAGS'
75272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75281 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75283 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75284 for ac_func in _expl
75285 do :
75286 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75287 if test "x$ac_cv_func__expl" = x""yes; then :
75288 cat >>confdefs.h <<_ACEOF
75289 #define HAVE__EXPL 1
75290 _ACEOF
75293 done
75302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75303 $as_echo_n "checking for fabsl declaration... " >&6; }
75304 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75305 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75306 $as_echo_n "(cached) " >&6
75307 else
75310 ac_ext=cpp
75311 ac_cpp='$CXXCPP $CPPFLAGS'
75312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75317 /* end confdefs.h. */
75318 #include <math.h>
75319 #ifdef HAVE_IEEEFP_H
75320 #include <ieeefp.h>
75321 #endif
75324 main ()
75326 fabsl(0);
75328 return 0;
75330 _ACEOF
75331 if ac_fn_cxx_try_compile "$LINENO"; then :
75332 glibcxx_cv_func_fabsl_use=yes
75333 else
75334 glibcxx_cv_func_fabsl_use=no
75336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75337 ac_ext=c
75338 ac_cpp='$CPP $CPPFLAGS'
75339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75348 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75350 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75351 for ac_func in fabsl
75352 do :
75353 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75354 if test "x$ac_cv_func_fabsl" = x""yes; then :
75355 cat >>confdefs.h <<_ACEOF
75356 #define HAVE_FABSL 1
75357 _ACEOF
75360 done
75362 else
75364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75365 $as_echo_n "checking for _fabsl declaration... " >&6; }
75366 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75367 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75368 $as_echo_n "(cached) " >&6
75369 else
75372 ac_ext=cpp
75373 ac_cpp='$CXXCPP $CPPFLAGS'
75374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75379 /* end confdefs.h. */
75380 #include <math.h>
75381 #ifdef HAVE_IEEEFP_H
75382 #include <ieeefp.h>
75383 #endif
75386 main ()
75388 _fabsl(0);
75390 return 0;
75392 _ACEOF
75393 if ac_fn_cxx_try_compile "$LINENO"; then :
75394 glibcxx_cv_func__fabsl_use=yes
75395 else
75396 glibcxx_cv_func__fabsl_use=no
75398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75399 ac_ext=c
75400 ac_cpp='$CPP $CPPFLAGS'
75401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75410 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75412 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75413 for ac_func in _fabsl
75414 do :
75415 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75416 if test "x$ac_cv_func__fabsl" = x""yes; then :
75417 cat >>confdefs.h <<_ACEOF
75418 #define HAVE__FABSL 1
75419 _ACEOF
75422 done
75431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75432 $as_echo_n "checking for fmodl declaration... " >&6; }
75433 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75434 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75435 $as_echo_n "(cached) " >&6
75436 else
75439 ac_ext=cpp
75440 ac_cpp='$CXXCPP $CPPFLAGS'
75441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75446 /* end confdefs.h. */
75447 #include <math.h>
75449 main ()
75451 fmodl(0, 0);
75453 return 0;
75455 _ACEOF
75456 if ac_fn_cxx_try_compile "$LINENO"; then :
75457 glibcxx_cv_func_fmodl_use=yes
75458 else
75459 glibcxx_cv_func_fmodl_use=no
75461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75462 ac_ext=c
75463 ac_cpp='$CPP $CPPFLAGS'
75464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75473 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75475 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75476 for ac_func in fmodl
75477 do :
75478 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75479 if test "x$ac_cv_func_fmodl" = x""yes; then :
75480 cat >>confdefs.h <<_ACEOF
75481 #define HAVE_FMODL 1
75482 _ACEOF
75485 done
75487 else
75489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75490 $as_echo_n "checking for _fmodl declaration... " >&6; }
75491 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75492 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75493 $as_echo_n "(cached) " >&6
75494 else
75497 ac_ext=cpp
75498 ac_cpp='$CXXCPP $CPPFLAGS'
75499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75504 /* end confdefs.h. */
75505 #include <math.h>
75507 main ()
75509 _fmodl(0, 0);
75511 return 0;
75513 _ACEOF
75514 if ac_fn_cxx_try_compile "$LINENO"; then :
75515 glibcxx_cv_func__fmodl_use=yes
75516 else
75517 glibcxx_cv_func__fmodl_use=no
75519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75520 ac_ext=c
75521 ac_cpp='$CPP $CPPFLAGS'
75522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75531 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75533 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75534 for ac_func in _fmodl
75535 do :
75536 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75537 if test "x$ac_cv_func__fmodl" = x""yes; then :
75538 cat >>confdefs.h <<_ACEOF
75539 #define HAVE__FMODL 1
75540 _ACEOF
75543 done
75552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75553 $as_echo_n "checking for frexpl declaration... " >&6; }
75554 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75555 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75556 $as_echo_n "(cached) " >&6
75557 else
75560 ac_ext=cpp
75561 ac_cpp='$CXXCPP $CPPFLAGS'
75562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75567 /* end confdefs.h. */
75568 #include <math.h>
75570 main ()
75572 frexpl(0, 0);
75574 return 0;
75576 _ACEOF
75577 if ac_fn_cxx_try_compile "$LINENO"; then :
75578 glibcxx_cv_func_frexpl_use=yes
75579 else
75580 glibcxx_cv_func_frexpl_use=no
75582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75583 ac_ext=c
75584 ac_cpp='$CPP $CPPFLAGS'
75585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75594 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75596 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75597 for ac_func in frexpl
75598 do :
75599 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75600 if test "x$ac_cv_func_frexpl" = x""yes; then :
75601 cat >>confdefs.h <<_ACEOF
75602 #define HAVE_FREXPL 1
75603 _ACEOF
75606 done
75608 else
75610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75611 $as_echo_n "checking for _frexpl declaration... " >&6; }
75612 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75613 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75614 $as_echo_n "(cached) " >&6
75615 else
75618 ac_ext=cpp
75619 ac_cpp='$CXXCPP $CPPFLAGS'
75620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75625 /* end confdefs.h. */
75626 #include <math.h>
75628 main ()
75630 _frexpl(0, 0);
75632 return 0;
75634 _ACEOF
75635 if ac_fn_cxx_try_compile "$LINENO"; then :
75636 glibcxx_cv_func__frexpl_use=yes
75637 else
75638 glibcxx_cv_func__frexpl_use=no
75640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75641 ac_ext=c
75642 ac_cpp='$CPP $CPPFLAGS'
75643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75652 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75654 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75655 for ac_func in _frexpl
75656 do :
75657 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75658 if test "x$ac_cv_func__frexpl" = x""yes; then :
75659 cat >>confdefs.h <<_ACEOF
75660 #define HAVE__FREXPL 1
75661 _ACEOF
75664 done
75673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75674 $as_echo_n "checking for hypotl declaration... " >&6; }
75675 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75676 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75677 $as_echo_n "(cached) " >&6
75678 else
75681 ac_ext=cpp
75682 ac_cpp='$CXXCPP $CPPFLAGS'
75683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75688 /* end confdefs.h. */
75689 #include <math.h>
75691 main ()
75693 hypotl(0, 0);
75695 return 0;
75697 _ACEOF
75698 if ac_fn_cxx_try_compile "$LINENO"; then :
75699 glibcxx_cv_func_hypotl_use=yes
75700 else
75701 glibcxx_cv_func_hypotl_use=no
75703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75704 ac_ext=c
75705 ac_cpp='$CPP $CPPFLAGS'
75706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75715 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75717 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75718 for ac_func in hypotl
75719 do :
75720 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75721 if test "x$ac_cv_func_hypotl" = x""yes; then :
75722 cat >>confdefs.h <<_ACEOF
75723 #define HAVE_HYPOTL 1
75724 _ACEOF
75727 done
75729 else
75731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75732 $as_echo_n "checking for _hypotl declaration... " >&6; }
75733 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75734 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75735 $as_echo_n "(cached) " >&6
75736 else
75739 ac_ext=cpp
75740 ac_cpp='$CXXCPP $CPPFLAGS'
75741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75746 /* end confdefs.h. */
75747 #include <math.h>
75749 main ()
75751 _hypotl(0, 0);
75753 return 0;
75755 _ACEOF
75756 if ac_fn_cxx_try_compile "$LINENO"; then :
75757 glibcxx_cv_func__hypotl_use=yes
75758 else
75759 glibcxx_cv_func__hypotl_use=no
75761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75762 ac_ext=c
75763 ac_cpp='$CPP $CPPFLAGS'
75764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75773 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75775 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75776 for ac_func in _hypotl
75777 do :
75778 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75779 if test "x$ac_cv_func__hypotl" = x""yes; then :
75780 cat >>confdefs.h <<_ACEOF
75781 #define HAVE__HYPOTL 1
75782 _ACEOF
75785 done
75794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75795 $as_echo_n "checking for ldexpl declaration... " >&6; }
75796 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75797 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75798 $as_echo_n "(cached) " >&6
75799 else
75802 ac_ext=cpp
75803 ac_cpp='$CXXCPP $CPPFLAGS'
75804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75809 /* end confdefs.h. */
75810 #include <math.h>
75812 main ()
75814 ldexpl(0, 0);
75816 return 0;
75818 _ACEOF
75819 if ac_fn_cxx_try_compile "$LINENO"; then :
75820 glibcxx_cv_func_ldexpl_use=yes
75821 else
75822 glibcxx_cv_func_ldexpl_use=no
75824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75825 ac_ext=c
75826 ac_cpp='$CPP $CPPFLAGS'
75827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75836 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75838 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75839 for ac_func in ldexpl
75840 do :
75841 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75842 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75843 cat >>confdefs.h <<_ACEOF
75844 #define HAVE_LDEXPL 1
75845 _ACEOF
75848 done
75850 else
75852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75853 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75854 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75855 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75856 $as_echo_n "(cached) " >&6
75857 else
75860 ac_ext=cpp
75861 ac_cpp='$CXXCPP $CPPFLAGS'
75862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75867 /* end confdefs.h. */
75868 #include <math.h>
75870 main ()
75872 _ldexpl(0, 0);
75874 return 0;
75876 _ACEOF
75877 if ac_fn_cxx_try_compile "$LINENO"; then :
75878 glibcxx_cv_func__ldexpl_use=yes
75879 else
75880 glibcxx_cv_func__ldexpl_use=no
75882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75883 ac_ext=c
75884 ac_cpp='$CPP $CPPFLAGS'
75885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75894 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75896 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75897 for ac_func in _ldexpl
75898 do :
75899 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75900 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75901 cat >>confdefs.h <<_ACEOF
75902 #define HAVE__LDEXPL 1
75903 _ACEOF
75906 done
75915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75916 $as_echo_n "checking for logl declaration... " >&6; }
75917 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75918 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75919 $as_echo_n "(cached) " >&6
75920 else
75923 ac_ext=cpp
75924 ac_cpp='$CXXCPP $CPPFLAGS'
75925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75930 /* end confdefs.h. */
75931 #include <math.h>
75932 #ifdef HAVE_IEEEFP_H
75933 #include <ieeefp.h>
75934 #endif
75937 main ()
75939 logl(0);
75941 return 0;
75943 _ACEOF
75944 if ac_fn_cxx_try_compile "$LINENO"; then :
75945 glibcxx_cv_func_logl_use=yes
75946 else
75947 glibcxx_cv_func_logl_use=no
75949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75950 ac_ext=c
75951 ac_cpp='$CPP $CPPFLAGS'
75952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75961 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75963 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75964 for ac_func in logl
75965 do :
75966 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75967 if test "x$ac_cv_func_logl" = x""yes; then :
75968 cat >>confdefs.h <<_ACEOF
75969 #define HAVE_LOGL 1
75970 _ACEOF
75973 done
75975 else
75977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75978 $as_echo_n "checking for _logl declaration... " >&6; }
75979 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75980 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75981 $as_echo_n "(cached) " >&6
75982 else
75985 ac_ext=cpp
75986 ac_cpp='$CXXCPP $CPPFLAGS'
75987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75992 /* end confdefs.h. */
75993 #include <math.h>
75994 #ifdef HAVE_IEEEFP_H
75995 #include <ieeefp.h>
75996 #endif
75999 main ()
76001 _logl(0);
76003 return 0;
76005 _ACEOF
76006 if ac_fn_cxx_try_compile "$LINENO"; then :
76007 glibcxx_cv_func__logl_use=yes
76008 else
76009 glibcxx_cv_func__logl_use=no
76011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76012 ac_ext=c
76013 ac_cpp='$CPP $CPPFLAGS'
76014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76023 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76025 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76026 for ac_func in _logl
76027 do :
76028 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76029 if test "x$ac_cv_func__logl" = x""yes; then :
76030 cat >>confdefs.h <<_ACEOF
76031 #define HAVE__LOGL 1
76032 _ACEOF
76035 done
76044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76045 $as_echo_n "checking for log10l declaration... " >&6; }
76046 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76047 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76048 $as_echo_n "(cached) " >&6
76049 else
76052 ac_ext=cpp
76053 ac_cpp='$CXXCPP $CPPFLAGS'
76054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76059 /* end confdefs.h. */
76060 #include <math.h>
76061 #ifdef HAVE_IEEEFP_H
76062 #include <ieeefp.h>
76063 #endif
76066 main ()
76068 log10l(0);
76070 return 0;
76072 _ACEOF
76073 if ac_fn_cxx_try_compile "$LINENO"; then :
76074 glibcxx_cv_func_log10l_use=yes
76075 else
76076 glibcxx_cv_func_log10l_use=no
76078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76079 ac_ext=c
76080 ac_cpp='$CPP $CPPFLAGS'
76081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76090 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76092 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76093 for ac_func in log10l
76094 do :
76095 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76096 if test "x$ac_cv_func_log10l" = x""yes; then :
76097 cat >>confdefs.h <<_ACEOF
76098 #define HAVE_LOG10L 1
76099 _ACEOF
76102 done
76104 else
76106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76107 $as_echo_n "checking for _log10l declaration... " >&6; }
76108 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76109 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76110 $as_echo_n "(cached) " >&6
76111 else
76114 ac_ext=cpp
76115 ac_cpp='$CXXCPP $CPPFLAGS'
76116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76121 /* end confdefs.h. */
76122 #include <math.h>
76123 #ifdef HAVE_IEEEFP_H
76124 #include <ieeefp.h>
76125 #endif
76128 main ()
76130 _log10l(0);
76132 return 0;
76134 _ACEOF
76135 if ac_fn_cxx_try_compile "$LINENO"; then :
76136 glibcxx_cv_func__log10l_use=yes
76137 else
76138 glibcxx_cv_func__log10l_use=no
76140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76141 ac_ext=c
76142 ac_cpp='$CPP $CPPFLAGS'
76143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76152 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76154 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76155 for ac_func in _log10l
76156 do :
76157 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76158 if test "x$ac_cv_func__log10l" = x""yes; then :
76159 cat >>confdefs.h <<_ACEOF
76160 #define HAVE__LOG10L 1
76161 _ACEOF
76164 done
76173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76174 $as_echo_n "checking for modfl declaration... " >&6; }
76175 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76176 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76177 $as_echo_n "(cached) " >&6
76178 else
76181 ac_ext=cpp
76182 ac_cpp='$CXXCPP $CPPFLAGS'
76183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76188 /* end confdefs.h. */
76189 #include <math.h>
76191 main ()
76193 modfl(0, 0);
76195 return 0;
76197 _ACEOF
76198 if ac_fn_cxx_try_compile "$LINENO"; then :
76199 glibcxx_cv_func_modfl_use=yes
76200 else
76201 glibcxx_cv_func_modfl_use=no
76203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76204 ac_ext=c
76205 ac_cpp='$CPP $CPPFLAGS'
76206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76215 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76217 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76218 for ac_func in modfl
76219 do :
76220 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76221 if test "x$ac_cv_func_modfl" = x""yes; then :
76222 cat >>confdefs.h <<_ACEOF
76223 #define HAVE_MODFL 1
76224 _ACEOF
76227 done
76229 else
76231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76232 $as_echo_n "checking for _modfl declaration... " >&6; }
76233 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76234 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76235 $as_echo_n "(cached) " >&6
76236 else
76239 ac_ext=cpp
76240 ac_cpp='$CXXCPP $CPPFLAGS'
76241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76246 /* end confdefs.h. */
76247 #include <math.h>
76249 main ()
76251 _modfl(0, 0);
76253 return 0;
76255 _ACEOF
76256 if ac_fn_cxx_try_compile "$LINENO"; then :
76257 glibcxx_cv_func__modfl_use=yes
76258 else
76259 glibcxx_cv_func__modfl_use=no
76261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76262 ac_ext=c
76263 ac_cpp='$CPP $CPPFLAGS'
76264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76273 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76275 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76276 for ac_func in _modfl
76277 do :
76278 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76279 if test "x$ac_cv_func__modfl" = x""yes; then :
76280 cat >>confdefs.h <<_ACEOF
76281 #define HAVE__MODFL 1
76282 _ACEOF
76285 done
76294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76295 $as_echo_n "checking for powl declaration... " >&6; }
76296 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76297 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76298 $as_echo_n "(cached) " >&6
76299 else
76302 ac_ext=cpp
76303 ac_cpp='$CXXCPP $CPPFLAGS'
76304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76309 /* end confdefs.h. */
76310 #include <math.h>
76312 main ()
76314 powl(0, 0);
76316 return 0;
76318 _ACEOF
76319 if ac_fn_cxx_try_compile "$LINENO"; then :
76320 glibcxx_cv_func_powl_use=yes
76321 else
76322 glibcxx_cv_func_powl_use=no
76324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76325 ac_ext=c
76326 ac_cpp='$CPP $CPPFLAGS'
76327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76336 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76338 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76339 for ac_func in powl
76340 do :
76341 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76342 if test "x$ac_cv_func_powl" = x""yes; then :
76343 cat >>confdefs.h <<_ACEOF
76344 #define HAVE_POWL 1
76345 _ACEOF
76348 done
76350 else
76352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76353 $as_echo_n "checking for _powl declaration... " >&6; }
76354 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76355 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76356 $as_echo_n "(cached) " >&6
76357 else
76360 ac_ext=cpp
76361 ac_cpp='$CXXCPP $CPPFLAGS'
76362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76367 /* end confdefs.h. */
76368 #include <math.h>
76370 main ()
76372 _powl(0, 0);
76374 return 0;
76376 _ACEOF
76377 if ac_fn_cxx_try_compile "$LINENO"; then :
76378 glibcxx_cv_func__powl_use=yes
76379 else
76380 glibcxx_cv_func__powl_use=no
76382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76383 ac_ext=c
76384 ac_cpp='$CPP $CPPFLAGS'
76385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76394 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76396 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76397 for ac_func in _powl
76398 do :
76399 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76400 if test "x$ac_cv_func__powl" = x""yes; then :
76401 cat >>confdefs.h <<_ACEOF
76402 #define HAVE__POWL 1
76403 _ACEOF
76406 done
76415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76416 $as_echo_n "checking for sqrtl declaration... " >&6; }
76417 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76418 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76419 $as_echo_n "(cached) " >&6
76420 else
76423 ac_ext=cpp
76424 ac_cpp='$CXXCPP $CPPFLAGS'
76425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76430 /* end confdefs.h. */
76431 #include <math.h>
76432 #ifdef HAVE_IEEEFP_H
76433 #include <ieeefp.h>
76434 #endif
76437 main ()
76439 sqrtl(0);
76441 return 0;
76443 _ACEOF
76444 if ac_fn_cxx_try_compile "$LINENO"; then :
76445 glibcxx_cv_func_sqrtl_use=yes
76446 else
76447 glibcxx_cv_func_sqrtl_use=no
76449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76450 ac_ext=c
76451 ac_cpp='$CPP $CPPFLAGS'
76452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76461 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76463 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76464 for ac_func in sqrtl
76465 do :
76466 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76467 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76468 cat >>confdefs.h <<_ACEOF
76469 #define HAVE_SQRTL 1
76470 _ACEOF
76473 done
76475 else
76477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76478 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76479 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76480 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76481 $as_echo_n "(cached) " >&6
76482 else
76485 ac_ext=cpp
76486 ac_cpp='$CXXCPP $CPPFLAGS'
76487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76492 /* end confdefs.h. */
76493 #include <math.h>
76494 #ifdef HAVE_IEEEFP_H
76495 #include <ieeefp.h>
76496 #endif
76499 main ()
76501 _sqrtl(0);
76503 return 0;
76505 _ACEOF
76506 if ac_fn_cxx_try_compile "$LINENO"; then :
76507 glibcxx_cv_func__sqrtl_use=yes
76508 else
76509 glibcxx_cv_func__sqrtl_use=no
76511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76512 ac_ext=c
76513 ac_cpp='$CPP $CPPFLAGS'
76514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76523 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76525 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76526 for ac_func in _sqrtl
76527 do :
76528 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76529 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76530 cat >>confdefs.h <<_ACEOF
76531 #define HAVE__SQRTL 1
76532 _ACEOF
76535 done
76544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76545 $as_echo_n "checking for sincosl declaration... " >&6; }
76546 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76547 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76548 $as_echo_n "(cached) " >&6
76549 else
76552 ac_ext=cpp
76553 ac_cpp='$CXXCPP $CPPFLAGS'
76554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76559 /* end confdefs.h. */
76560 #include <math.h>
76562 main ()
76564 sincosl(0, 0, 0);
76566 return 0;
76568 _ACEOF
76569 if ac_fn_cxx_try_compile "$LINENO"; then :
76570 glibcxx_cv_func_sincosl_use=yes
76571 else
76572 glibcxx_cv_func_sincosl_use=no
76574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76575 ac_ext=c
76576 ac_cpp='$CPP $CPPFLAGS'
76577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76586 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76588 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76589 for ac_func in sincosl
76590 do :
76591 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76592 if test "x$ac_cv_func_sincosl" = x""yes; then :
76593 cat >>confdefs.h <<_ACEOF
76594 #define HAVE_SINCOSL 1
76595 _ACEOF
76598 done
76600 else
76602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76603 $as_echo_n "checking for _sincosl declaration... " >&6; }
76604 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76605 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76606 $as_echo_n "(cached) " >&6
76607 else
76610 ac_ext=cpp
76611 ac_cpp='$CXXCPP $CPPFLAGS'
76612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76617 /* end confdefs.h. */
76618 #include <math.h>
76620 main ()
76622 _sincosl(0, 0, 0);
76624 return 0;
76626 _ACEOF
76627 if ac_fn_cxx_try_compile "$LINENO"; then :
76628 glibcxx_cv_func__sincosl_use=yes
76629 else
76630 glibcxx_cv_func__sincosl_use=no
76632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76633 ac_ext=c
76634 ac_cpp='$CPP $CPPFLAGS'
76635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76644 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76646 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76647 for ac_func in _sincosl
76648 do :
76649 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76650 if test "x$ac_cv_func__sincosl" = x""yes; then :
76651 cat >>confdefs.h <<_ACEOF
76652 #define HAVE__SINCOSL 1
76653 _ACEOF
76656 done
76665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76666 $as_echo_n "checking for finitel declaration... " >&6; }
76667 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76668 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76669 $as_echo_n "(cached) " >&6
76670 else
76673 ac_ext=cpp
76674 ac_cpp='$CXXCPP $CPPFLAGS'
76675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76680 /* end confdefs.h. */
76681 #include <math.h>
76682 #ifdef HAVE_IEEEFP_H
76683 #include <ieeefp.h>
76684 #endif
76687 main ()
76689 finitel(0);
76691 return 0;
76693 _ACEOF
76694 if ac_fn_cxx_try_compile "$LINENO"; then :
76695 glibcxx_cv_func_finitel_use=yes
76696 else
76697 glibcxx_cv_func_finitel_use=no
76699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76700 ac_ext=c
76701 ac_cpp='$CPP $CPPFLAGS'
76702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76711 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76713 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76714 for ac_func in finitel
76715 do :
76716 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76717 if test "x$ac_cv_func_finitel" = x""yes; then :
76718 cat >>confdefs.h <<_ACEOF
76719 #define HAVE_FINITEL 1
76720 _ACEOF
76723 done
76725 else
76727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76728 $as_echo_n "checking for _finitel declaration... " >&6; }
76729 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76730 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76731 $as_echo_n "(cached) " >&6
76732 else
76735 ac_ext=cpp
76736 ac_cpp='$CXXCPP $CPPFLAGS'
76737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76742 /* end confdefs.h. */
76743 #include <math.h>
76744 #ifdef HAVE_IEEEFP_H
76745 #include <ieeefp.h>
76746 #endif
76749 main ()
76751 _finitel(0);
76753 return 0;
76755 _ACEOF
76756 if ac_fn_cxx_try_compile "$LINENO"; then :
76757 glibcxx_cv_func__finitel_use=yes
76758 else
76759 glibcxx_cv_func__finitel_use=no
76761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76762 ac_ext=c
76763 ac_cpp='$CPP $CPPFLAGS'
76764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76773 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76775 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76776 for ac_func in _finitel
76777 do :
76778 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76779 if test "x$ac_cv_func__finitel" = x""yes; then :
76780 cat >>confdefs.h <<_ACEOF
76781 #define HAVE__FINITEL 1
76782 _ACEOF
76785 done
76793 LIBS="$ac_save_LIBS"
76794 CXXFLAGS="$ac_save_CXXFLAGS"
76797 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76798 ac_save_CXXFLAGS="$CXXFLAGS"
76799 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76803 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76804 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76805 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76806 $as_echo_n "(cached) " >&6
76807 else
76810 ac_ext=cpp
76811 ac_cpp='$CXXCPP $CPPFLAGS'
76812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76817 /* end confdefs.h. */
76818 #include <stdlib.h>
76820 main ()
76822 at_quick_exit(0);
76824 return 0;
76826 _ACEOF
76827 if ac_fn_cxx_try_compile "$LINENO"; then :
76828 glibcxx_cv_func_at_quick_exit_use=yes
76829 else
76830 glibcxx_cv_func_at_quick_exit_use=no
76832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76833 ac_ext=c
76834 ac_cpp='$CPP $CPPFLAGS'
76835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76844 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76845 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76846 for ac_func in at_quick_exit
76847 do :
76848 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76849 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76850 cat >>confdefs.h <<_ACEOF
76851 #define HAVE_AT_QUICK_EXIT 1
76852 _ACEOF
76855 done
76860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76861 $as_echo_n "checking for quick_exit declaration... " >&6; }
76862 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76863 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76864 $as_echo_n "(cached) " >&6
76865 else
76868 ac_ext=cpp
76869 ac_cpp='$CXXCPP $CPPFLAGS'
76870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76875 /* end confdefs.h. */
76876 #include <stdlib.h>
76878 main ()
76880 quick_exit(0);
76882 return 0;
76884 _ACEOF
76885 if ac_fn_cxx_try_compile "$LINENO"; then :
76886 glibcxx_cv_func_quick_exit_use=yes
76887 else
76888 glibcxx_cv_func_quick_exit_use=no
76890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76891 ac_ext=c
76892 ac_cpp='$CPP $CPPFLAGS'
76893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76902 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76903 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76904 for ac_func in quick_exit
76905 do :
76906 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76907 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76908 cat >>confdefs.h <<_ACEOF
76909 #define HAVE_QUICK_EXIT 1
76910 _ACEOF
76913 done
76918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76919 $as_echo_n "checking for strtold declaration... " >&6; }
76920 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76921 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76922 $as_echo_n "(cached) " >&6
76923 else
76926 ac_ext=cpp
76927 ac_cpp='$CXXCPP $CPPFLAGS'
76928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76933 /* end confdefs.h. */
76934 #include <stdlib.h>
76936 main ()
76938 strtold(0, 0);
76940 return 0;
76942 _ACEOF
76943 if ac_fn_cxx_try_compile "$LINENO"; then :
76944 glibcxx_cv_func_strtold_use=yes
76945 else
76946 glibcxx_cv_func_strtold_use=no
76948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76949 ac_ext=c
76950 ac_cpp='$CPP $CPPFLAGS'
76951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76960 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76961 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76962 for ac_func in strtold
76963 do :
76964 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76965 if test "x$ac_cv_func_strtold" = x""yes; then :
76966 cat >>confdefs.h <<_ACEOF
76967 #define HAVE_STRTOLD 1
76968 _ACEOF
76971 done
76978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76979 $as_echo_n "checking for strtof declaration... " >&6; }
76980 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76981 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76982 $as_echo_n "(cached) " >&6
76983 else
76986 ac_ext=cpp
76987 ac_cpp='$CXXCPP $CPPFLAGS'
76988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76993 /* end confdefs.h. */
76994 #include <stdlib.h>
76996 main ()
76998 strtof(0, 0);
77000 return 0;
77002 _ACEOF
77003 if ac_fn_cxx_try_compile "$LINENO"; then :
77004 glibcxx_cv_func_strtof_use=yes
77005 else
77006 glibcxx_cv_func_strtof_use=no
77008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77009 ac_ext=c
77010 ac_cpp='$CPP $CPPFLAGS'
77011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77020 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77021 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77022 for ac_func in strtof
77023 do :
77024 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77025 if test "x$ac_cv_func_strtof" = x""yes; then :
77026 cat >>confdefs.h <<_ACEOF
77027 #define HAVE_STRTOF 1
77028 _ACEOF
77031 done
77038 CXXFLAGS="$ac_save_CXXFLAGS"
77041 *-vxworks)
77042 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77044 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77046 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77048 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77050 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77052 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77054 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77056 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77058 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77060 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77062 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77064 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77066 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77068 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77070 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77072 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77074 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77076 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77078 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77080 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77084 as_fn_error "No support for this host/target combination." "$LINENO" 5
77086 esac
77090 # At some point, we should differentiate between architectures
77091 # like x86, which have long double versions, and alpha/powerpc/etc.,
77092 # which don't. For the time being, punt.
77093 if test x"long_double_math_on_this_cpu" = x"yes"; then
77094 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77096 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77098 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77100 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77102 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77104 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77106 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77108 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77110 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77112 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77114 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77116 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77118 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77120 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77122 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77124 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77126 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77128 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77130 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77132 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77134 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77136 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77138 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77143 # Check for _Unwind_GetIPInfo.
77146 # Check whether --with-system-libunwind was given.
77147 if test "${with_system_libunwind+set}" = set; then :
77148 withval=$with_system_libunwind;
77151 # If system-libunwind was not specifically set, pick a default setting.
77152 if test x$with_system_libunwind = x; then
77153 case ${target} in
77154 ia64-*-hpux*) with_system_libunwind=yes ;;
77155 *) with_system_libunwind=no ;;
77156 esac
77158 # Based on system-libunwind and target, do we have ipinfo?
77159 if test x$with_system_libunwind = xyes; then
77160 case ${target} in
77161 ia64-*-*) have_unwind_getipinfo=no ;;
77162 *) have_unwind_getipinfo=yes ;;
77163 esac
77164 else
77165 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77167 case ${target} in
77168 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77169 *) have_unwind_getipinfo=yes ;;
77170 esac
77174 if test x$have_unwind_getipinfo = xyes; then
77176 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77181 # Check whether --enable-linux-futex was given.
77182 if test "${enable_linux_futex+set}" = set; then :
77183 enableval=$enable_linux_futex;
77184 case "$enableval" in
77185 yes|no|default) ;;
77186 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77187 esac
77189 else
77190 enable_linux_futex=default
77194 case "$target" in
77195 *-linux*)
77196 case "$enable_linux_futex" in
77197 default)
77198 # If headers don't have gettid/futex syscalls definition, then
77199 # default to no, otherwise there will be compile time failures.
77200 # Otherwise, default to yes. If we don't detect we are
77201 # compiled/linked against NPTL and not cross-compiling, check
77202 # if programs are run by default against NPTL and if not, issue
77203 # a warning.
77204 enable_linux_futex=no
77205 if test x$gcc_no_link = xyes; then
77206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77209 /* end confdefs.h. */
77210 #include <sys/syscall.h>
77211 int lk;
77212 #if !defined(SYS_gettid)
77213 #define SYS_gettid __NR_gettid
77214 #endif
77215 #if !defined(SYS_futex)
77216 #define SYS_futex __NR_futex
77217 #endif
77219 main ()
77221 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77223 return 0;
77225 _ACEOF
77226 if ac_fn_c_try_link "$LINENO"; then :
77227 save_LIBS="$LIBS"
77228 LIBS="-lpthread $LIBS"
77229 if test x$gcc_no_link = xyes; then
77230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77233 /* end confdefs.h. */
77234 #ifndef _GNU_SOURCE
77235 #define _GNU_SOURCE 1
77236 #endif
77237 #include <pthread.h>
77238 pthread_t th; void *status;
77240 main ()
77242 pthread_tryjoin_np (th, &status);
77244 return 0;
77246 _ACEOF
77247 if ac_fn_c_try_link "$LINENO"; then :
77248 enable_linux_futex=yes
77249 else
77250 if test x$cross_compiling = xno; then
77251 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77252 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77254 If so, please configure with --disable-linux-futex" >&5
77255 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77256 If so, please configure with --disable-linux-futex" >&2;}
77259 enable_linux_futex=yes
77261 rm -f core conftest.err conftest.$ac_objext \
77262 conftest$ac_exeext conftest.$ac_ext
77263 LIBS="$save_LIBS"
77265 rm -f core conftest.err conftest.$ac_objext \
77266 conftest$ac_exeext conftest.$ac_ext
77268 yes)
77269 if test x$gcc_no_link = xyes; then
77270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77273 /* end confdefs.h. */
77274 #include <sys/syscall.h>
77275 int lk;
77276 #if !defined(SYS_gettid)
77277 #define SYS_gettid __NR_gettid
77278 #endif
77279 #if !defined(SYS_futex)
77280 #define SYS_futex __NR_futex
77281 #endif
77283 main ()
77285 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77287 return 0;
77289 _ACEOF
77290 if ac_fn_c_try_link "$LINENO"; then :
77292 else
77293 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77295 rm -f core conftest.err conftest.$ac_objext \
77296 conftest$ac_exeext conftest.$ac_ext
77298 esac
77301 enable_linux_futex=no
77303 esac
77304 if test x$enable_linux_futex = xyes; then
77306 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77313 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77315 acx_cv_header_stdint=stddef.h
77316 acx_cv_header_stdint_kind="(already complete)"
77317 for i in stdint.h $inttype_headers; do
77318 unset ac_cv_type_uintptr_t
77319 unset ac_cv_type_uintmax_t
77320 unset ac_cv_type_int_least32_t
77321 unset ac_cv_type_int_fast32_t
77322 unset ac_cv_type_uint64_t
77323 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77324 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77325 #include <$i>
77327 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77328 acx_cv_header_stdint=$i
77329 else
77330 continue
77333 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77334 #include <$i>
77336 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77338 else
77339 acx_cv_header_stdint_kind="(mostly complete)"
77342 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77343 #include <$i>
77345 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77347 else
77348 acx_cv_header_stdint_kind="(mostly complete)"
77351 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77352 #include <$i>
77354 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77356 else
77357 acx_cv_header_stdint_kind="(mostly complete)"
77360 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77361 #include <$i>
77363 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77365 else
77366 acx_cv_header_stdint_kind="(lacks uint64_t)"
77369 break
77370 done
77371 if test "$acx_cv_header_stdint" = stddef.h; then
77372 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77373 for i in stdint.h $inttype_headers; do
77374 unset ac_cv_type_uintptr_t
77375 unset ac_cv_type_uint32_t
77376 unset ac_cv_type_uint64_t
77377 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77378 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77379 #include <$i>
77381 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77382 acx_cv_header_stdint=$i
77383 else
77384 continue
77387 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77388 #include <$i>
77390 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77394 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77395 #include <$i>
77397 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77401 break
77402 done
77404 if test "$acx_cv_header_stdint" = stddef.h; then
77405 acx_cv_header_stdint_kind="(u_intXX_t style)"
77406 for i in sys/types.h $inttype_headers; do
77407 unset ac_cv_type_u_int32_t
77408 unset ac_cv_type_u_int64_t
77409 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77410 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77411 #include <$i>
77413 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77414 acx_cv_header_stdint=$i
77415 else
77416 continue
77419 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77420 #include <$i>
77422 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77426 break
77427 done
77429 if test "$acx_cv_header_stdint" = stddef.h; then
77430 acx_cv_header_stdint_kind="(using manual detection)"
77433 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77434 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77435 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77436 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77437 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77439 # ----------------- Summarize what we found so far
77441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77442 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77444 case `$as_basename -- include/gstdint.h ||
77445 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77446 Xinclude/gstdint.h : 'X\(//\)$' \| \
77447 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77448 $as_echo X/include/gstdint.h |
77449 sed '/^.*\/\([^/][^/]*\)\/*$/{
77450 s//\1/
77453 /^X\/\(\/\/\)$/{
77454 s//\1/
77457 /^X\/\(\/\).*/{
77458 s//\1/
77461 s/.*/./; q'` in
77462 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77463 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77464 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77465 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77466 *) ;;
77467 esac
77469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77470 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77472 # ----------------- done included file, check C basic types --------
77474 # Lacking an uintptr_t? Test size of void *
77475 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77476 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77479 # This bug is HP SR number 8606223364.
77480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77481 $as_echo_n "checking size of void *... " >&6; }
77482 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77483 $as_echo_n "(cached) " >&6
77484 else
77485 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77487 else
77488 if test "$ac_cv_type_void_p" = yes; then
77489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77491 { as_fn_set_status 77
77492 as_fn_error "cannot compute sizeof (void *)
77493 See \`config.log' for more details." "$LINENO" 5; }; }
77494 else
77495 ac_cv_sizeof_void_p=0
77500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77501 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77505 cat >>confdefs.h <<_ACEOF
77506 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77507 _ACEOF
77510 esac
77512 # Lacking an uint64_t? Test size of long
77513 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77514 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77515 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77516 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77517 # This bug is HP SR number 8606223364.
77518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77519 $as_echo_n "checking size of long... " >&6; }
77520 if test "${ac_cv_sizeof_long+set}" = set; then :
77521 $as_echo_n "(cached) " >&6
77522 else
77523 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77525 else
77526 if test "$ac_cv_type_long" = yes; then
77527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77529 { as_fn_set_status 77
77530 as_fn_error "cannot compute sizeof (long)
77531 See \`config.log' for more details." "$LINENO" 5; }; }
77532 else
77533 ac_cv_sizeof_long=0
77538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77539 $as_echo "$ac_cv_sizeof_long" >&6; }
77543 cat >>confdefs.h <<_ACEOF
77544 #define SIZEOF_LONG $ac_cv_sizeof_long
77545 _ACEOF
77548 esac
77550 if test $acx_cv_header_stdint = stddef.h; then
77551 # Lacking a good header? Test size of everything and deduce all types.
77552 # The cast to long int works around a bug in the HP C Compiler
77553 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77554 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77555 # This bug is HP SR number 8606223364.
77556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77557 $as_echo_n "checking size of int... " >&6; }
77558 if test "${ac_cv_sizeof_int+set}" = set; then :
77559 $as_echo_n "(cached) " >&6
77560 else
77561 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77563 else
77564 if test "$ac_cv_type_int" = yes; then
77565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77567 { as_fn_set_status 77
77568 as_fn_error "cannot compute sizeof (int)
77569 See \`config.log' for more details." "$LINENO" 5; }; }
77570 else
77571 ac_cv_sizeof_int=0
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77577 $as_echo "$ac_cv_sizeof_int" >&6; }
77581 cat >>confdefs.h <<_ACEOF
77582 #define SIZEOF_INT $ac_cv_sizeof_int
77583 _ACEOF
77586 # The cast to long int works around a bug in the HP C Compiler
77587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77589 # This bug is HP SR number 8606223364.
77590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77591 $as_echo_n "checking size of short... " >&6; }
77592 if test "${ac_cv_sizeof_short+set}" = set; then :
77593 $as_echo_n "(cached) " >&6
77594 else
77595 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77597 else
77598 if test "$ac_cv_type_short" = yes; then
77599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77601 { as_fn_set_status 77
77602 as_fn_error "cannot compute sizeof (short)
77603 See \`config.log' for more details." "$LINENO" 5; }; }
77604 else
77605 ac_cv_sizeof_short=0
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77611 $as_echo "$ac_cv_sizeof_short" >&6; }
77615 cat >>confdefs.h <<_ACEOF
77616 #define SIZEOF_SHORT $ac_cv_sizeof_short
77617 _ACEOF
77620 # The cast to long int works around a bug in the HP C Compiler
77621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77623 # This bug is HP SR number 8606223364.
77624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77625 $as_echo_n "checking size of char... " >&6; }
77626 if test "${ac_cv_sizeof_char+set}" = set; then :
77627 $as_echo_n "(cached) " >&6
77628 else
77629 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77631 else
77632 if test "$ac_cv_type_char" = yes; then
77633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77635 { as_fn_set_status 77
77636 as_fn_error "cannot compute sizeof (char)
77637 See \`config.log' for more details." "$LINENO" 5; }; }
77638 else
77639 ac_cv_sizeof_char=0
77644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77645 $as_echo "$ac_cv_sizeof_char" >&6; }
77649 cat >>confdefs.h <<_ACEOF
77650 #define SIZEOF_CHAR $ac_cv_sizeof_char
77651 _ACEOF
77655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77656 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77657 case "$ac_cv_sizeof_char" in
77658 1) acx_cv_type_int8_t=char ;;
77659 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77660 esac
77661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77662 $as_echo "$acx_cv_type_int8_t" >&6; }
77664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77665 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77666 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77667 2:*) acx_cv_type_int16_t=int ;;
77668 *:2) acx_cv_type_int16_t=short ;;
77669 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77670 esac
77671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77672 $as_echo "$acx_cv_type_int16_t" >&6; }
77674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77675 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77676 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77677 4:*) acx_cv_type_int32_t=int ;;
77678 *:4) acx_cv_type_int32_t=long ;;
77679 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77680 esac
77681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77682 $as_echo "$acx_cv_type_int32_t" >&6; }
77685 # These tests are here to make the output prettier
77687 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77688 case "$ac_cv_sizeof_long" in
77689 8) acx_cv_type_int64_t=long ;;
77690 esac
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77692 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77694 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77697 # Now we can use the above types
77699 if test "$ac_cv_type_uintptr_t" != yes; then
77700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77701 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77702 case $ac_cv_sizeof_void_p in
77703 2) acx_cv_type_intptr_t=int16_t ;;
77704 4) acx_cv_type_intptr_t=int32_t ;;
77705 8) acx_cv_type_intptr_t=int64_t ;;
77706 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77707 esac
77708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77709 $as_echo "$acx_cv_type_intptr_t" >&6; }
77712 # ----------------- done all checks, emit header -------------
77713 ac_config_commands="$ac_config_commands include/gstdint.h"
77719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77720 $as_echo_n "checking for GNU c++filt... " >&6; }
77721 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77722 $as_echo_n "(cached) " >&6
77723 else
77724 if test -z "$CXXFILT"; then
77725 ac_path_CXXFILT_found=false
77726 # Loop through the user's path and test for each of PROGNAME-LIST
77727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77728 for as_dir in $PATH
77730 IFS=$as_save_IFS
77731 test -z "$as_dir" && as_dir=.
77732 for ac_prog in c++filt gc++filt; do
77733 for ac_exec_ext in '' $ac_executable_extensions; do
77734 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77735 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77736 # Check for GNU $ac_path_CXXFILT
77737 case `"$ac_path_CXXFILT" --version 2>&1` in
77738 *GNU*)
77739 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77740 esac
77742 $ac_path_CXXFILT_found && break 3
77743 done
77744 done
77745 done
77746 IFS=$as_save_IFS
77747 if test -z "$ac_cv_path_CXXFILT"; then
77750 else
77751 ac_cv_path_CXXFILT=$CXXFILT
77755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77756 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77757 CXXFILT=$ac_cv_path_CXXFILT
77761 # Check whether --enable-symvers was given.
77762 if test "${enable_symvers+set}" = set; then :
77763 enableval=$enable_symvers;
77764 case "$enableval" in
77765 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77766 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77767 esac
77769 else
77770 enable_symvers=yes
77775 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77776 # don't know enough about $LD to do tricks...
77778 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77779 # with extern "C++" in version scripts.
77782 # Turn a 'yes' into a suitable default.
77783 if test x$enable_symvers = xyes ; then
77784 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77785 enable_symvers=no
77786 else
77787 if test $with_gnu_ld = yes ; then
77788 case ${target_os} in
77789 hpux*)
77790 enable_symvers=no ;;
77792 enable_symvers=gnu ;;
77793 esac
77794 else
77795 case ${target_os} in
77796 darwin*)
77797 enable_symvers=darwin ;;
77798 # Sun symbol versioning exists since Solaris 2.5.
77799 solaris2.[5-9]* | solaris2.1[0-9]*)
77800 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77801 # version scripts, so disable symbol versioning if none can be
77802 # found.
77803 if test -z "$ac_cv_path_CXXFILT"; then
77804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77805 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77807 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77809 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77810 enable_symvers=no
77811 else
77812 enable_symvers=sun
77816 enable_symvers=no ;;
77817 esac
77822 # Check to see if 'darwin' or 'darwin-export' can win.
77823 if test x$enable_symvers = xdarwin-export ; then
77824 enable_symvers=darwin
77827 # Check if 'sun' was requested on non-Solaris 2 platforms.
77828 if test x$enable_symvers = xsun ; then
77829 case ${target_os} in
77830 solaris2*)
77831 # All fine.
77834 # Unlikely to work.
77835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77836 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77838 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77840 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77841 enable_symvers=no
77843 esac
77846 # Check to see if 'gnu' can win.
77847 if test $enable_symvers = gnu ||
77848 test $enable_symvers = gnu-versioned-namespace ||
77849 test $enable_symvers = sun; then
77850 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77852 $as_echo_n "checking for shared libgcc... " >&6; }
77853 ac_save_CFLAGS="$CFLAGS"
77854 CFLAGS=' -lgcc_s'
77855 if test x$gcc_no_link = xyes; then
77856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77859 /* end confdefs.h. */
77862 main ()
77864 return 0;
77866 return 0;
77868 _ACEOF
77869 if ac_fn_c_try_link "$LINENO"; then :
77870 glibcxx_shared_libgcc=yes
77871 else
77872 glibcxx_shared_libgcc=no
77874 rm -f core conftest.err conftest.$ac_objext \
77875 conftest$ac_exeext conftest.$ac_ext
77876 CFLAGS="$ac_save_CFLAGS"
77877 if test $glibcxx_shared_libgcc = no; then
77878 cat > conftest.c <<EOF
77879 int main (void) { return 0; }
77881 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77882 -shared -shared-libgcc -o conftest.so \
77883 conftest.c -v 2>&1 >/dev/null \
77884 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77885 rm -f conftest.c conftest.so
77886 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77887 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77888 if test x$gcc_no_link = xyes; then
77889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77892 /* end confdefs.h. */
77895 main ()
77897 return 0;
77899 return 0;
77901 _ACEOF
77902 if ac_fn_c_try_link "$LINENO"; then :
77903 glibcxx_shared_libgcc=yes
77905 rm -f core conftest.err conftest.$ac_objext \
77906 conftest$ac_exeext conftest.$ac_ext
77907 CFLAGS="$ac_save_CFLAGS"
77910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77911 $as_echo "$glibcxx_shared_libgcc" >&6; }
77913 # For GNU ld, we need at least this version. The format is described in
77914 # GLIBCXX_CHECK_LINKER_FEATURES above.
77915 glibcxx_min_gnu_ld_version=21400
77917 # If no shared libgcc, can't win.
77918 if test $glibcxx_shared_libgcc != yes; then
77919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77920 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77922 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77924 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77925 enable_symvers=no
77926 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77927 : All interesting versions of Sun ld support sun style symbol versioning.
77928 elif test $with_gnu_ld != yes ; then
77929 # just fail for now
77930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77931 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77933 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77935 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77936 enable_symvers=no
77937 elif test $glibcxx_ld_is_gold = yes ; then
77938 : All versions of gold support symbol versioning.
77939 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77940 # The right tools, the right setup, but too old. Fallbacks?
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77942 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77944 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77946 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77948 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77950 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77951 enable_symvers=no
77955 # For libtool versioning info, format is CURRENT:REVISION:AGE
77956 libtool_VERSION=6:20:0
77958 # Everything parsed; figure out what files and settings to use.
77959 case $enable_symvers in
77961 SYMVER_FILE=config/abi/pre/none.ver
77963 gnu)
77964 SYMVER_FILE=config/abi/pre/gnu.ver
77966 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77969 gnu-versioned-namespace)
77970 libtool_VERSION=7:0:0
77971 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77973 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77976 darwin)
77977 SYMVER_FILE=config/abi/pre/gnu.ver
77979 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77982 sun)
77983 SYMVER_FILE=config/abi/pre/gnu.ver
77985 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77988 esac
77990 if test x$enable_symvers != xno ; then
77992 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77997 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77998 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77999 $as_echo_n "(cached) " >&6
78000 else
78002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78003 /* end confdefs.h. */
78004 void foo (void); __asm (".symver foo, bar@SYMVER");
78006 main ()
78010 return 0;
78012 _ACEOF
78013 if ac_fn_c_try_compile "$LINENO"; then :
78014 glibcxx_cv_have_as_symver_directive=yes
78015 else
78016 glibcxx_cv_have_as_symver_directive=no
78018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78021 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78022 if test $glibcxx_cv_have_as_symver_directive = yes; then
78024 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78035 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78036 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78038 if test $enable_symvers != no ; then
78039 case ${target_os} in
78040 # The Solaris 2 runtime linker doesn't support the GNU extension of
78041 # binding the same symbol to different versions
78042 solaris2*)
78044 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78047 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78050 esac
78053 # Now, set up compatibility support, if any.
78054 # In addition, need this to deal with std::size_t mangling in
78055 # src/compatibility.cc. In a perfect world, could use
78056 # typeid(std::size_t).name()[0] to do direct substitution.
78057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78058 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78059 ac_save_CFLAGS="$CFLAGS"
78060 CFLAGS="-Werror"
78061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78062 /* end confdefs.h. */
78065 main ()
78067 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78069 return 0;
78071 _ACEOF
78072 if ac_fn_c_try_compile "$LINENO"; then :
78073 glibcxx_size_t_is_i=yes
78074 else
78075 glibcxx_size_t_is_i=no
78077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78078 CFLAGS=$ac_save_CFLAGS
78079 if test "$glibcxx_size_t_is_i" = yes; then
78081 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78085 $as_echo "$glibcxx_size_t_is_i" >&6; }
78087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78088 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78089 ac_save_CFLAGS="$CFLAGS"
78090 CFLAGS="-Werror"
78091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78092 /* end confdefs.h. */
78095 main ()
78097 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78099 return 0;
78101 _ACEOF
78102 if ac_fn_c_try_compile "$LINENO"; then :
78103 glibcxx_ptrdiff_t_is_i=yes
78104 else
78105 glibcxx_ptrdiff_t_is_i=no
78107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78108 CFLAGS=$ac_save_CFLAGS
78109 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78111 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78115 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78118 case "$target" in
78119 *android*) libtool_version_info_string="-avoid-version" ;;
78120 *) libtool_version_info_string="-version-info $libtool_VERSION"
78121 esac
78124 # Check whether --enable-libstdcxx-visibility was given.
78125 if test "${enable_libstdcxx_visibility+set}" = set; then :
78126 enableval=$enable_libstdcxx_visibility;
78127 case "$enableval" in
78128 yes|no) ;;
78129 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78130 esac
78132 else
78133 enable_libstdcxx_visibility=yes
78138 if test x$enable_libstdcxx_visibility = xyes ; then
78139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78140 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78141 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78142 $as_echo_n "(cached) " >&6
78143 else
78145 save_CFLAGS="$CFLAGS"
78146 CFLAGS="$CFLAGS -Werror"
78147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78148 /* end confdefs.h. */
78149 void __attribute__((visibility("hidden"))) foo(void) { }
78151 main ()
78155 return 0;
78157 _ACEOF
78158 if ac_fn_c_try_compile "$LINENO"; then :
78159 glibcxx_cv_have_attribute_visibility=yes
78160 else
78161 glibcxx_cv_have_attribute_visibility=no
78163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78164 CFLAGS="$save_CFLAGS"
78166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78167 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78168 if test $glibcxx_cv_have_attribute_visibility = no; then
78169 enable_libstdcxx_visibility=no
78174 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78175 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78178 ac_ldbl_compat=no
78179 case "$target" in
78180 powerpc*-*-linux* | \
78181 sparc*-*-linux* | \
78182 s390*-*-linux* | \
78183 alpha*-*-linux*)
78184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78185 /* end confdefs.h. */
78188 main ()
78191 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78192 #error no need for long double compatibility
78193 #endif
78196 return 0;
78198 _ACEOF
78199 if ac_fn_c_try_compile "$LINENO"; then :
78200 ac_ldbl_compat=yes
78201 else
78202 ac_ldbl_compat=no
78204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78205 if test "$ac_ldbl_compat" = yes; then
78207 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78209 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78211 esac
78214 # Check if assembler supports disabling hardware capability support.
78216 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78218 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78219 # with a different meaning.
78220 case ${target_os} in
78221 solaris2*)
78222 ac_save_CFLAGS="$CFLAGS"
78223 CFLAGS="$CFLAGS -Wa,-nH"
78225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78226 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78228 /* end confdefs.h. */
78231 main ()
78233 return 0;
78235 return 0;
78237 _ACEOF
78238 if ac_fn_c_try_compile "$LINENO"; then :
78239 ac_hwcap_flags=yes
78240 else
78241 ac_hwcap_flags=no
78243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78244 if test "$ac_hwcap_flags" = "yes"; then
78245 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78248 $as_echo "$ac_hwcap_flags" >&6; }
78250 CFLAGS="$ac_save_CFLAGS"
78252 esac
78257 # Check if assembler supports rdrand opcode.
78259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78260 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78261 if test "${ac_cv_x86_rdrand+set}" = set; then :
78262 $as_echo_n "(cached) " >&6
78263 else
78265 ac_cv_x86_rdrand=no
78266 case "$target" in
78267 i?86-*-* | \
78268 x86_64-*-*)
78269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78270 /* end confdefs.h. */
78273 main ()
78275 asm("rdrand %eax");
78277 return 0;
78279 _ACEOF
78280 if ac_fn_c_try_compile "$LINENO"; then :
78281 ac_cv_x86_rdrand=yes
78282 else
78283 ac_cv_x86_rdrand=no
78285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78286 esac
78292 if test $ac_cv_x86_rdrand = yes; then
78293 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78297 $as_echo "$ac_cv_x86_rdrand" >&6; }
78300 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78302 if $GLIBCXX_IS_NATIVE ; then
78303 # Do checks for resource limit functions.
78305 setrlimit_have_headers=yes
78306 for ac_header in unistd.h sys/time.h sys/resource.h
78307 do :
78308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78309 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78310 eval as_val=\$$as_ac_Header
78311 if test "x$as_val" = x""yes; then :
78312 cat >>confdefs.h <<_ACEOF
78313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78314 _ACEOF
78316 else
78317 setrlimit_have_headers=no
78320 done
78322 # If don't have the headers, then we can't run the tests now, and we
78323 # won't be seeing any of these during testsuite compilation.
78324 if test $setrlimit_have_headers = yes; then
78325 # Can't do these in a loop, else the resulting syntax is wrong.
78327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78328 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78330 /* end confdefs.h. */
78331 #include <unistd.h>
78332 #include <sys/time.h>
78333 #include <sys/resource.h>
78336 main ()
78338 int f = RLIMIT_DATA ;
78340 return 0;
78342 _ACEOF
78343 if ac_fn_c_try_compile "$LINENO"; then :
78344 glibcxx_mresult=1
78345 else
78346 glibcxx_mresult=0
78348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78350 cat >>confdefs.h <<_ACEOF
78351 #define HAVE_LIMIT_DATA $glibcxx_mresult
78352 _ACEOF
78354 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78356 $as_echo "$res" >&6; }
78359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78360 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78362 /* end confdefs.h. */
78363 #include <unistd.h>
78364 #include <sys/time.h>
78365 #include <sys/resource.h>
78368 main ()
78370 int f = RLIMIT_RSS ;
78372 return 0;
78374 _ACEOF
78375 if ac_fn_c_try_compile "$LINENO"; then :
78376 glibcxx_mresult=1
78377 else
78378 glibcxx_mresult=0
78380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78382 cat >>confdefs.h <<_ACEOF
78383 #define HAVE_LIMIT_RSS $glibcxx_mresult
78384 _ACEOF
78386 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78388 $as_echo "$res" >&6; }
78391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78392 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78394 /* end confdefs.h. */
78395 #include <unistd.h>
78396 #include <sys/time.h>
78397 #include <sys/resource.h>
78400 main ()
78402 int f = RLIMIT_VMEM ;
78404 return 0;
78406 _ACEOF
78407 if ac_fn_c_try_compile "$LINENO"; then :
78408 glibcxx_mresult=1
78409 else
78410 glibcxx_mresult=0
78412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78414 cat >>confdefs.h <<_ACEOF
78415 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78416 _ACEOF
78418 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78420 $as_echo "$res" >&6; }
78423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78424 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78426 /* end confdefs.h. */
78427 #include <unistd.h>
78428 #include <sys/time.h>
78429 #include <sys/resource.h>
78432 main ()
78434 int f = RLIMIT_AS ;
78436 return 0;
78438 _ACEOF
78439 if ac_fn_c_try_compile "$LINENO"; then :
78440 glibcxx_mresult=1
78441 else
78442 glibcxx_mresult=0
78444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78446 cat >>confdefs.h <<_ACEOF
78447 #define HAVE_LIMIT_AS $glibcxx_mresult
78448 _ACEOF
78450 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78452 $as_echo "$res" >&6; }
78455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78456 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78458 /* end confdefs.h. */
78459 #include <unistd.h>
78460 #include <sys/time.h>
78461 #include <sys/resource.h>
78464 main ()
78466 int f = RLIMIT_FSIZE ;
78468 return 0;
78470 _ACEOF
78471 if ac_fn_c_try_compile "$LINENO"; then :
78472 glibcxx_mresult=1
78473 else
78474 glibcxx_mresult=0
78476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78478 cat >>confdefs.h <<_ACEOF
78479 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78480 _ACEOF
78482 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78484 $as_echo "$res" >&6; }
78487 # Check for rlimit, setrlimit.
78488 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78489 $as_echo_n "(cached) " >&6
78490 else
78492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78493 /* end confdefs.h. */
78494 #include <unistd.h>
78495 #include <sys/time.h>
78496 #include <sys/resource.h>
78499 main ()
78501 struct rlimit r;
78502 setrlimit(0, &r);
78504 return 0;
78506 _ACEOF
78507 if ac_fn_c_try_compile "$LINENO"; then :
78508 glibcxx_cv_setrlimit=yes
78509 else
78510 glibcxx_cv_setrlimit=no
78512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78519 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78520 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78521 ac_res_limits=yes
78523 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78525 else
78526 ac_res_limits=no
78528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78529 $as_echo "$ac_res_limits" >&6; }
78532 # Look for setenv, so that extended locale tests can be performed.
78534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78535 $as_echo_n "checking for setenv declaration... " >&6; }
78536 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78537 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78538 $as_echo_n "(cached) " >&6
78539 else
78542 ac_ext=cpp
78543 ac_cpp='$CXXCPP $CPPFLAGS'
78544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78549 /* end confdefs.h. */
78550 #include <stdlib.h>
78552 main ()
78554 setenv(0, 0, 0);
78556 return 0;
78558 _ACEOF
78559 if ac_fn_cxx_try_compile "$LINENO"; then :
78560 glibcxx_cv_func_setenv_use=yes
78561 else
78562 glibcxx_cv_func_setenv_use=no
78564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78565 ac_ext=c
78566 ac_cpp='$CPP $CPPFLAGS'
78567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78576 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78577 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78578 for ac_func in setenv
78579 do :
78580 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78581 if test "x$ac_cv_func_setenv" = x""yes; then :
78582 cat >>confdefs.h <<_ACEOF
78583 #define HAVE_SETENV 1
78584 _ACEOF
78587 done
78593 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78594 test $enable_symvers != no; then
78595 case "$host" in
78596 *-*-cygwin*)
78597 enable_abi_check=no ;;
78599 enable_abi_check=yes ;;
78600 esac
78601 else
78602 # Only build this as native, since automake does not understand
78603 # CXX_FOR_BUILD.
78604 enable_abi_check=no
78607 # Export file names for ABI checking.
78608 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78610 baseline_subdir_switch="$abi_baseline_subdir_switch"
78614 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78616 # Check whether --enable-libstdcxx-threads was given.
78617 if test "${enable_libstdcxx_threads+set}" = set; then :
78618 enableval=$enable_libstdcxx_threads;
78619 case "$enableval" in
78620 yes|no) ;;
78621 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78622 esac
78624 else
78625 enable_libstdcxx_threads=auto
78630 if test x$enable_libstdcxx_threads = xauto ||
78631 test x$enable_libstdcxx_threads = xyes; then
78634 ac_ext=cpp
78635 ac_cpp='$CXXCPP $CPPFLAGS'
78636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78641 ac_save_CXXFLAGS="$CXXFLAGS"
78642 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78643 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78645 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78646 case $target_thread_file in
78647 posix)
78648 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78649 esac
78651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78652 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78655 /* end confdefs.h. */
78656 #include <unistd.h>
78658 main ()
78661 // In case of POSIX threads check _POSIX_TIMEOUTS.
78662 #if (defined(_PTHREADS) \
78663 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78664 #error
78665 #endif
78668 return 0;
78670 _ACEOF
78671 if ac_fn_cxx_try_compile "$LINENO"; then :
78672 ac_gthread_use_mutex_timedlock=1
78673 else
78674 ac_gthread_use_mutex_timedlock=0
78676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78679 cat >>confdefs.h <<_ACEOF
78680 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78681 _ACEOF
78684 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78685 else res_mutex_timedlock=no ; fi
78686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78687 $as_echo "$res_mutex_timedlock" >&6; }
78689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78690 $as_echo_n "checking for gthreads library... " >&6; }
78692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78693 /* end confdefs.h. */
78694 #include "gthr-$target_thread_file.h"
78696 main ()
78699 #ifndef __GTHREADS_CXX0X
78700 #error
78701 #endif
78704 return 0;
78706 _ACEOF
78707 if ac_fn_cxx_try_compile "$LINENO"; then :
78708 case $target_os in
78709 # gthreads support breaks symbol versioning on Solaris 9 (PR
78710 # libstdc++/52189).
78711 solaris2.9*)
78712 if test x$enable_symvers = xno; then
78713 ac_has_gthreads=yes
78714 elif test x$enable_libstdcxx_threads = xyes; then
78715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
78716 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
78717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
78718 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
78719 ac_has_gthreads=yes
78720 else
78721 ac_has_gthreads=no
78725 ac_has_gthreads=yes
78727 esac
78728 else
78729 ac_has_gthreads=no
78731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78732 else
78733 ac_has_gthreads=no
78736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78737 $as_echo "$ac_has_gthreads" >&6; }
78739 if test x"$ac_has_gthreads" = x"yes"; then
78741 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78745 CXXFLAGS="$ac_save_CXXFLAGS"
78746 ac_ext=c
78747 ac_cpp='$CPP $CPPFLAGS'
78748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78754 # Define documentation rules conditionally.
78756 # See if makeinfo has been installed and is modern enough
78757 # that we can use it.
78759 # Extract the first word of "makeinfo", so it can be a program name with args.
78760 set dummy makeinfo; ac_word=$2
78761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78762 $as_echo_n "checking for $ac_word... " >&6; }
78763 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78764 $as_echo_n "(cached) " >&6
78765 else
78766 if test -n "$MAKEINFO"; then
78767 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78768 else
78769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78770 for as_dir in $PATH
78772 IFS=$as_save_IFS
78773 test -z "$as_dir" && as_dir=.
78774 for ac_exec_ext in '' $ac_executable_extensions; do
78775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78776 ac_cv_prog_MAKEINFO="makeinfo"
78777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78778 break 2
78780 done
78781 done
78782 IFS=$as_save_IFS
78786 MAKEINFO=$ac_cv_prog_MAKEINFO
78787 if test -n "$MAKEINFO"; then
78788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78789 $as_echo "$MAKEINFO" >&6; }
78790 else
78791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78792 $as_echo "no" >&6; }
78796 if test -n "$MAKEINFO"; then
78797 # Found it, now check the version.
78798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78799 $as_echo_n "checking for modern makeinfo... " >&6; }
78800 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78801 $as_echo_n "(cached) " >&6
78802 else
78803 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78804 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78806 case $ac_prog_version in
78807 '') gcc_cv_prog_makeinfo_modern=no;;
78808 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78809 *) gcc_cv_prog_makeinfo_modern=no;;
78810 esac
78813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78814 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78815 else
78816 gcc_cv_prog_makeinfo_modern=no
78818 if test $gcc_cv_prog_makeinfo_modern = no; then
78819 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78822 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78823 BUILD_INFO_TRUE=
78824 BUILD_INFO_FALSE='#'
78825 else
78826 BUILD_INFO_TRUE='#'
78827 BUILD_INFO_FALSE=
78831 # Check for doxygen
78832 # Extract the first word of "doxygen", so it can be a program name with args.
78833 set dummy doxygen; ac_word=$2
78834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78835 $as_echo_n "checking for $ac_word... " >&6; }
78836 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78837 $as_echo_n "(cached) " >&6
78838 else
78839 if test -n "$DOXYGEN"; then
78840 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78841 else
78842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78843 for as_dir in $PATH
78845 IFS=$as_save_IFS
78846 test -z "$as_dir" && as_dir=.
78847 for ac_exec_ext in '' $ac_executable_extensions; do
78848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78849 ac_cv_prog_DOXYGEN="yes"
78850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78851 break 2
78853 done
78854 done
78855 IFS=$as_save_IFS
78857 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78860 DOXYGEN=$ac_cv_prog_DOXYGEN
78861 if test -n "$DOXYGEN"; then
78862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78863 $as_echo "$DOXYGEN" >&6; }
78864 else
78865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78866 $as_echo "no" >&6; }
78870 # Extract the first word of "dot", so it can be a program name with args.
78871 set dummy dot; ac_word=$2
78872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78873 $as_echo_n "checking for $ac_word... " >&6; }
78874 if test "${ac_cv_prog_DOT+set}" = set; then :
78875 $as_echo_n "(cached) " >&6
78876 else
78877 if test -n "$DOT"; then
78878 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78879 else
78880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78881 for as_dir in $PATH
78883 IFS=$as_save_IFS
78884 test -z "$as_dir" && as_dir=.
78885 for ac_exec_ext in '' $ac_executable_extensions; do
78886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78887 ac_cv_prog_DOT="yes"
78888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78889 break 2
78891 done
78892 done
78893 IFS=$as_save_IFS
78895 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78898 DOT=$ac_cv_prog_DOT
78899 if test -n "$DOT"; then
78900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78901 $as_echo "$DOT" >&6; }
78902 else
78903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78904 $as_echo "no" >&6; }
78909 # Check for docbook
78910 # Extract the first word of "xsltproc", so it can be a program name with args.
78911 set dummy xsltproc; ac_word=$2
78912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78913 $as_echo_n "checking for $ac_word... " >&6; }
78914 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78915 $as_echo_n "(cached) " >&6
78916 else
78917 if test -n "$XSLTPROC"; then
78918 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78919 else
78920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78921 for as_dir in $PATH
78923 IFS=$as_save_IFS
78924 test -z "$as_dir" && as_dir=.
78925 for ac_exec_ext in '' $ac_executable_extensions; do
78926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78927 ac_cv_prog_XSLTPROC="yes"
78928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78929 break 2
78931 done
78932 done
78933 IFS=$as_save_IFS
78935 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78938 XSLTPROC=$ac_cv_prog_XSLTPROC
78939 if test -n "$XSLTPROC"; then
78940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78941 $as_echo "$XSLTPROC" >&6; }
78942 else
78943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78944 $as_echo "no" >&6; }
78948 # Extract the first word of "xmllint", so it can be a program name with args.
78949 set dummy xmllint; ac_word=$2
78950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78951 $as_echo_n "checking for $ac_word... " >&6; }
78952 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78953 $as_echo_n "(cached) " >&6
78954 else
78955 if test -n "$XMLLINT"; then
78956 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78957 else
78958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78959 for as_dir in $PATH
78961 IFS=$as_save_IFS
78962 test -z "$as_dir" && as_dir=.
78963 for ac_exec_ext in '' $ac_executable_extensions; do
78964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78965 ac_cv_prog_XMLLINT="yes"
78966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78967 break 2
78969 done
78970 done
78971 IFS=$as_save_IFS
78973 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78976 XMLLINT=$ac_cv_prog_XMLLINT
78977 if test -n "$XMLLINT"; then
78978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78979 $as_echo "$XMLLINT" >&6; }
78980 else
78981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78982 $as_echo "no" >&6; }
78988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78989 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78990 glibcxx_stylesheets=no
78991 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
78992 glibcxx_stylesheets=yes
78994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78995 $as_echo "$glibcxx_stylesheets" >&6; }
78997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78998 $as_echo_n "checking for local stylesheet directory... " >&6; }
78999 glibcxx_local_stylesheets=no
79000 if test x"$glibcxx_stylesheets" = x"yes"; then
79001 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79002 glibcxx_local_stylesheets=yes
79003 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79005 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79006 glibcxx_local_stylesheets=yes
79007 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79009 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79010 glibcxx_local_stylesheets=yes
79011 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79015 $as_echo "$glibcxx_local_stylesheets" >&6; }
79017 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79019 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79020 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79021 else
79022 glibcxx_stylesheets=no
79025 # Check for epub3 dependencies.
79026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79027 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79028 glibcxx_epub_stylesheets=no
79029 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79030 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79031 glibcxx_epub_stylesheets=yes
79034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79035 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79036 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79037 BUILD_EPUB_TRUE=
79038 BUILD_EPUB_FALSE='#'
79039 else
79040 BUILD_EPUB_TRUE='#'
79041 BUILD_EPUB_FALSE=
79047 # Check for xml/html dependencies.
79048 if test $ac_cv_prog_DOXYGEN = "yes" &&
79049 test $ac_cv_prog_DOT = "yes" &&
79050 test $ac_cv_prog_XSLTPROC = "yes" &&
79051 test $ac_cv_prog_XMLLINT = "yes" &&
79052 test $glibcxx_stylesheets = "yes"; then
79053 BUILD_XML_TRUE=
79054 BUILD_XML_FALSE='#'
79055 else
79056 BUILD_XML_TRUE='#'
79057 BUILD_XML_FALSE=
79061 if test $ac_cv_prog_DOXYGEN = "yes" &&
79062 test $ac_cv_prog_DOT = "yes" &&
79063 test $ac_cv_prog_XSLTPROC = "yes" &&
79064 test $ac_cv_prog_XMLLINT = "yes" &&
79065 test $glibcxx_stylesheets = "yes"; then
79066 BUILD_HTML_TRUE=
79067 BUILD_HTML_FALSE='#'
79068 else
79069 BUILD_HTML_TRUE='#'
79070 BUILD_HTML_FALSE=
79074 # Check for man dependencies.
79075 if test $ac_cv_prog_DOXYGEN = "yes" &&
79076 test $ac_cv_prog_DOT = "yes"; then
79077 BUILD_MAN_TRUE=
79078 BUILD_MAN_FALSE='#'
79079 else
79080 BUILD_MAN_TRUE='#'
79081 BUILD_MAN_FALSE=
79085 # Check for pdf dependencies.
79086 # Extract the first word of "dblatex", so it can be a program name with args.
79087 set dummy dblatex; ac_word=$2
79088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79089 $as_echo_n "checking for $ac_word... " >&6; }
79090 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79091 $as_echo_n "(cached) " >&6
79092 else
79093 if test -n "$DBLATEX"; then
79094 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79095 else
79096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79097 for as_dir in $PATH
79099 IFS=$as_save_IFS
79100 test -z "$as_dir" && as_dir=.
79101 for ac_exec_ext in '' $ac_executable_extensions; do
79102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79103 ac_cv_prog_DBLATEX="yes"
79104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79105 break 2
79107 done
79108 done
79109 IFS=$as_save_IFS
79111 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79114 DBLATEX=$ac_cv_prog_DBLATEX
79115 if test -n "$DBLATEX"; then
79116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79117 $as_echo "$DBLATEX" >&6; }
79118 else
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79120 $as_echo "no" >&6; }
79124 # Extract the first word of "pdflatex", so it can be a program name with args.
79125 set dummy pdflatex; ac_word=$2
79126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79127 $as_echo_n "checking for $ac_word... " >&6; }
79128 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79129 $as_echo_n "(cached) " >&6
79130 else
79131 if test -n "$PDFLATEX"; then
79132 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79133 else
79134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79135 for as_dir in $PATH
79137 IFS=$as_save_IFS
79138 test -z "$as_dir" && as_dir=.
79139 for ac_exec_ext in '' $ac_executable_extensions; do
79140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79141 ac_cv_prog_PDFLATEX="yes"
79142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79143 break 2
79145 done
79146 done
79147 IFS=$as_save_IFS
79149 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79152 PDFLATEX=$ac_cv_prog_PDFLATEX
79153 if test -n "$PDFLATEX"; then
79154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79155 $as_echo "$PDFLATEX" >&6; }
79156 else
79157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79158 $as_echo "no" >&6; }
79162 if test $ac_cv_prog_DBLATEX = "yes" &&
79163 test $ac_cv_prog_PDFLATEX = "yes"; then
79164 BUILD_PDF_TRUE=
79165 BUILD_PDF_FALSE='#'
79166 else
79167 BUILD_PDF_TRUE='#'
79168 BUILD_PDF_FALSE=
79173 # Propagate the target-specific source directories through the build chain.
79174 ATOMICITY_SRCDIR=config/${atomicity_dir}
79175 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79176 ATOMIC_FLAGS=${atomic_flags}
79177 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79178 OS_INC_SRCDIR=config/${os_include_dir}
79179 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79180 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79181 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79182 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79194 # Determine cross-compile flags and AM_CONDITIONALs.
79195 #AC_SUBST(GLIBCXX_IS_NATIVE)
79196 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79197 if test $is_hosted = yes; then
79198 GLIBCXX_HOSTED_TRUE=
79199 GLIBCXX_HOSTED_FALSE='#'
79200 else
79201 GLIBCXX_HOSTED_TRUE='#'
79202 GLIBCXX_HOSTED_FALSE=
79206 if test $enable_libstdcxx_pch = yes; then
79207 GLIBCXX_BUILD_PCH_TRUE=
79208 GLIBCXX_BUILD_PCH_FALSE='#'
79209 else
79210 GLIBCXX_BUILD_PCH_TRUE='#'
79211 GLIBCXX_BUILD_PCH_FALSE=
79215 if test $enable_cheaders = c; then
79216 GLIBCXX_C_HEADERS_C_TRUE=
79217 GLIBCXX_C_HEADERS_C_FALSE='#'
79218 else
79219 GLIBCXX_C_HEADERS_C_TRUE='#'
79220 GLIBCXX_C_HEADERS_C_FALSE=
79224 if test $enable_cheaders = c_std; then
79225 GLIBCXX_C_HEADERS_C_STD_TRUE=
79226 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79227 else
79228 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79229 GLIBCXX_C_HEADERS_C_STD_FALSE=
79233 if test $enable_cheaders = c_global; then
79234 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79235 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79236 else
79237 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79238 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79242 if test $c_compatibility = yes; then
79243 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79244 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79245 else
79246 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79247 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79251 if test $enable_libstdcxx_debug = yes; then
79252 GLIBCXX_BUILD_DEBUG_TRUE=
79253 GLIBCXX_BUILD_DEBUG_FALSE='#'
79254 else
79255 GLIBCXX_BUILD_DEBUG_TRUE='#'
79256 GLIBCXX_BUILD_DEBUG_FALSE=
79260 if test $enable_extern_template = yes; then
79261 ENABLE_EXTERN_TEMPLATE_TRUE=
79262 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79263 else
79264 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79265 ENABLE_EXTERN_TEMPLATE_FALSE=
79269 if test $python_mod_dir != no; then
79270 ENABLE_PYTHONDIR_TRUE=
79271 ENABLE_PYTHONDIR_FALSE='#'
79272 else
79273 ENABLE_PYTHONDIR_TRUE='#'
79274 ENABLE_PYTHONDIR_FALSE=
79278 if test $enable_werror = yes; then
79279 ENABLE_WERROR_TRUE=
79280 ENABLE_WERROR_FALSE='#'
79281 else
79282 ENABLE_WERROR_TRUE='#'
79283 ENABLE_WERROR_FALSE=
79287 if test $enable_vtable_verify = yes; then
79288 ENABLE_VTABLE_VERIFY_TRUE=
79289 ENABLE_VTABLE_VERIFY_FALSE='#'
79290 else
79291 ENABLE_VTABLE_VERIFY_TRUE='#'
79292 ENABLE_VTABLE_VERIFY_FALSE=
79296 if test $enable_symvers != no; then
79297 ENABLE_SYMVERS_TRUE=
79298 ENABLE_SYMVERS_FALSE='#'
79299 else
79300 ENABLE_SYMVERS_TRUE='#'
79301 ENABLE_SYMVERS_FALSE=
79305 if test $enable_symvers = gnu; then
79306 ENABLE_SYMVERS_GNU_TRUE=
79307 ENABLE_SYMVERS_GNU_FALSE='#'
79308 else
79309 ENABLE_SYMVERS_GNU_TRUE='#'
79310 ENABLE_SYMVERS_GNU_FALSE=
79314 if test $enable_symvers = gnu-versioned-namespace; then
79315 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79316 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79317 else
79318 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79319 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79323 if test $enable_symvers = darwin; then
79324 ENABLE_SYMVERS_DARWIN_TRUE=
79325 ENABLE_SYMVERS_DARWIN_FALSE='#'
79326 else
79327 ENABLE_SYMVERS_DARWIN_TRUE='#'
79328 ENABLE_SYMVERS_DARWIN_FALSE=
79332 if test $enable_symvers = sun; then
79333 ENABLE_SYMVERS_SUN_TRUE=
79334 ENABLE_SYMVERS_SUN_FALSE='#'
79335 else
79336 ENABLE_SYMVERS_SUN_TRUE='#'
79337 ENABLE_SYMVERS_SUN_FALSE=
79341 if test $enable_libstdcxx_visibility = yes; then
79342 ENABLE_VISIBILITY_TRUE=
79343 ENABLE_VISIBILITY_FALSE='#'
79344 else
79345 ENABLE_VISIBILITY_TRUE='#'
79346 ENABLE_VISIBILITY_FALSE=
79350 if test $ac_ldbl_compat = yes; then
79351 GLIBCXX_LDBL_COMPAT_TRUE=
79352 GLIBCXX_LDBL_COMPAT_FALSE='#'
79353 else
79354 GLIBCXX_LDBL_COMPAT_TRUE='#'
79355 GLIBCXX_LDBL_COMPAT_FALSE=
79361 cat >confcache <<\_ACEOF
79362 # This file is a shell script that caches the results of configure
79363 # tests run on this system so they can be shared between configure
79364 # scripts and configure runs, see configure's option --config-cache.
79365 # It is not useful on other systems. If it contains results you don't
79366 # want to keep, you may remove or edit it.
79368 # config.status only pays attention to the cache file if you give it
79369 # the --recheck option to rerun configure.
79371 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79372 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79373 # following values.
79375 _ACEOF
79377 # The following way of writing the cache mishandles newlines in values,
79378 # but we know of no workaround that is simple, portable, and efficient.
79379 # So, we kill variables containing newlines.
79380 # Ultrix sh set writes to stderr and can't be redirected directly,
79381 # and sets the high bit in the cache file unless we assign to the vars.
79383 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79384 eval ac_val=\$$ac_var
79385 case $ac_val in #(
79386 *${as_nl}*)
79387 case $ac_var in #(
79388 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79389 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79390 esac
79391 case $ac_var in #(
79392 _ | IFS | as_nl) ;; #(
79393 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79394 *) { eval $ac_var=; unset $ac_var;} ;;
79395 esac ;;
79396 esac
79397 done
79399 (set) 2>&1 |
79400 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79401 *${as_nl}ac_space=\ *)
79402 # `set' does not quote correctly, so add quotes: double-quote
79403 # substitution turns \\\\ into \\, and sed turns \\ into \.
79404 sed -n \
79405 "s/'/'\\\\''/g;
79406 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79407 ;; #(
79409 # `set' quotes correctly as required by POSIX, so do not add quotes.
79410 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79412 esac |
79413 sort
79415 sed '
79416 /^ac_cv_env_/b end
79417 t clear
79418 :clear
79419 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79420 t end
79421 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79422 :end' >>confcache
79423 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79424 if test -w "$cache_file"; then
79425 test "x$cache_file" != "x/dev/null" &&
79426 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79427 $as_echo "$as_me: updating cache $cache_file" >&6;}
79428 cat confcache >$cache_file
79429 else
79430 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79431 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79434 rm -f confcache
79436 if test ${multilib} = yes; then
79437 multilib_arg="--enable-multilib"
79438 else
79439 multilib_arg=
79442 # Export all the install information.
79444 glibcxx_toolexecdir=no
79445 glibcxx_toolexeclibdir=no
79446 glibcxx_prefixdir=$prefix
79448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79449 $as_echo_n "checking for gxx-include-dir... " >&6; }
79451 # Check whether --with-gxx-include-dir was given.
79452 if test "${with_gxx_include_dir+set}" = set; then :
79453 withval=$with_gxx_include_dir; case "$withval" in
79454 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79455 no) gxx_include_dir=no ;;
79456 *) gxx_include_dir=$withval ;;
79457 esac
79458 else
79459 gxx_include_dir=no
79462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79463 $as_echo "$gxx_include_dir" >&6; }
79465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79466 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79467 # Check whether --enable-version-specific-runtime-libs was given.
79468 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79469 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79470 yes) version_specific_libs=yes ;;
79471 no) version_specific_libs=no ;;
79472 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79473 esac
79474 else
79475 version_specific_libs=no
79478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79479 $as_echo "$version_specific_libs" >&6; }
79481 # Default case for install directory for include files.
79482 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79483 gxx_include_dir='include/c++/${gcc_version}'
79484 if test -n "$with_cross_host" &&
79485 test x"$with_cross_host" != x"no"; then
79486 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79487 else
79488 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79492 # Version-specific runtime libs processing.
79493 if test $version_specific_libs = yes; then
79494 # Need the gcc compiler version to know where to install libraries
79495 # and header files if --enable-version-specific-runtime-libs option
79496 # is selected. FIXME: these variables are misnamed, there are
79497 # no executables installed in _toolexecdir or _toolexeclibdir.
79498 if test x"$gxx_include_dir" = x"no"; then
79499 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79501 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79502 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79505 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79506 # Install a library built with a cross compiler in tooldir, not libdir.
79507 if test x"$glibcxx_toolexecdir" = x"no"; then
79508 if test -n "$with_cross_host" &&
79509 test x"$with_cross_host" != x"no"; then
79510 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79511 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79512 else
79513 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79514 glibcxx_toolexeclibdir='${libdir}'
79516 multi_os_directory=`$CXX -print-multi-os-directory`
79517 case $multi_os_directory in
79518 .) ;; # Avoid trailing /.
79519 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79520 esac
79523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79524 $as_echo_n "checking for install location... " >&6; }
79525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79526 $as_echo "$gxx_include_dir" >&6; }
79534 # Export all the include and flag information to Makefiles.
79536 # Used for every C++ compile we perform.
79537 GLIBCXX_INCLUDES="\
79538 -I$glibcxx_builddir/include/$host_alias \
79539 -I$glibcxx_builddir/include \
79540 -I$glibcxx_srcdir/libsupc++"
79542 # For Canadian crosses, pick this up too.
79543 if test $CANADIAN = yes; then
79544 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79547 # Stuff in the actual top level. Currently only used by libsupc++ to
79548 # get unwind* headers from the libgcc dir.
79549 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79550 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79552 # Now, export this to all the little Makefiles....
79557 # Optimization flags that are probably a good idea for thrill-seekers. Just
79558 # uncomment the lines below and make, everything else is ready to go...
79559 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79560 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79563 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79567 ac_config_files="$ac_config_files Makefile"
79569 ac_config_files="$ac_config_files scripts/testsuite_flags"
79571 ac_config_files="$ac_config_files scripts/extract_symvers"
79573 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79576 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79577 # that multilib installs will end up installed in the correct place.
79578 # The testsuite needs it for multilib-aware ABI baseline files.
79579 # To work around this not being passed down from config-ml.in ->
79580 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79581 # append it here. Only modify Makefiles that have just been created.
79583 # Also, get rid of this simulated-VPATH thing that automake does.
79584 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
79587 ac_config_commands="$ac_config_commands generate-headers"
79590 cat >confcache <<\_ACEOF
79591 # This file is a shell script that caches the results of configure
79592 # tests run on this system so they can be shared between configure
79593 # scripts and configure runs, see configure's option --config-cache.
79594 # It is not useful on other systems. If it contains results you don't
79595 # want to keep, you may remove or edit it.
79597 # config.status only pays attention to the cache file if you give it
79598 # the --recheck option to rerun configure.
79600 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79601 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79602 # following values.
79604 _ACEOF
79606 # The following way of writing the cache mishandles newlines in values,
79607 # but we know of no workaround that is simple, portable, and efficient.
79608 # So, we kill variables containing newlines.
79609 # Ultrix sh set writes to stderr and can't be redirected directly,
79610 # and sets the high bit in the cache file unless we assign to the vars.
79612 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79613 eval ac_val=\$$ac_var
79614 case $ac_val in #(
79615 *${as_nl}*)
79616 case $ac_var in #(
79617 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79618 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79619 esac
79620 case $ac_var in #(
79621 _ | IFS | as_nl) ;; #(
79622 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79623 *) { eval $ac_var=; unset $ac_var;} ;;
79624 esac ;;
79625 esac
79626 done
79628 (set) 2>&1 |
79629 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79630 *${as_nl}ac_space=\ *)
79631 # `set' does not quote correctly, so add quotes: double-quote
79632 # substitution turns \\\\ into \\, and sed turns \\ into \.
79633 sed -n \
79634 "s/'/'\\\\''/g;
79635 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79636 ;; #(
79638 # `set' quotes correctly as required by POSIX, so do not add quotes.
79639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79641 esac |
79642 sort
79644 sed '
79645 /^ac_cv_env_/b end
79646 t clear
79647 :clear
79648 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79649 t end
79650 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79651 :end' >>confcache
79652 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79653 if test -w "$cache_file"; then
79654 test "x$cache_file" != "x/dev/null" &&
79655 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79656 $as_echo "$as_me: updating cache $cache_file" >&6;}
79657 cat confcache >$cache_file
79658 else
79659 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79660 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79663 rm -f confcache
79665 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79666 # Let make expand exec_prefix.
79667 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79669 DEFS=-DHAVE_CONFIG_H
79671 ac_libobjs=
79672 ac_ltlibobjs=
79673 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79674 # 1. Remove the extension, and $U if already installed.
79675 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79676 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79677 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79678 # will be set to the directory where LIBOBJS objects are built.
79679 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79680 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79681 done
79682 LIBOBJS=$ac_libobjs
79684 LTLIBOBJS=$ac_ltlibobjs
79687 if test -n "$EXEEXT"; then
79688 am__EXEEXT_TRUE=
79689 am__EXEEXT_FALSE='#'
79690 else
79691 am__EXEEXT_TRUE='#'
79692 am__EXEEXT_FALSE=
79695 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79696 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79699 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79700 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79703 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79704 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79707 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79708 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79711 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79712 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79715 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79716 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79719 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79720 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79723 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79724 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79727 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79728 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79731 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79732 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79735 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79736 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79739 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79740 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79743 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79744 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79747 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79748 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79751 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79752 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79755 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79756 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79759 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79760 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79763 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79764 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79767 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79768 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79771 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79772 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79775 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79776 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79779 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79780 as_fn_error "conditional \"BUILD_XML\" was never defined.
79781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79783 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79784 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79787 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79788 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79791 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79792 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79796 : ${CONFIG_STATUS=./config.status}
79797 ac_write_fail=0
79798 ac_clean_files_save=$ac_clean_files
79799 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79800 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79801 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79802 as_write_fail=0
79803 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79804 #! $SHELL
79805 # Generated by $as_me.
79806 # Run this file to recreate the current configuration.
79807 # Compiler output produced by configure, useful for debugging
79808 # configure, is in config.log if it exists.
79810 debug=false
79811 ac_cs_recheck=false
79812 ac_cs_silent=false
79814 SHELL=\${CONFIG_SHELL-$SHELL}
79815 export SHELL
79816 _ASEOF
79817 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79818 ## -------------------- ##
79819 ## M4sh Initialization. ##
79820 ## -------------------- ##
79822 # Be more Bourne compatible
79823 DUALCASE=1; export DUALCASE # for MKS sh
79824 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79825 emulate sh
79826 NULLCMD=:
79827 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79828 # is contrary to our usage. Disable this feature.
79829 alias -g '${1+"$@"}'='"$@"'
79830 setopt NO_GLOB_SUBST
79831 else
79832 case `(set -o) 2>/dev/null` in #(
79833 *posix*) :
79834 set -o posix ;; #(
79835 *) :
79837 esac
79841 as_nl='
79843 export as_nl
79844 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79845 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79846 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79847 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79848 # Prefer a ksh shell builtin over an external printf program on Solaris,
79849 # but without wasting forks for bash or zsh.
79850 if test -z "$BASH_VERSION$ZSH_VERSION" \
79851 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79852 as_echo='print -r --'
79853 as_echo_n='print -rn --'
79854 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79855 as_echo='printf %s\n'
79856 as_echo_n='printf %s'
79857 else
79858 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79859 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79860 as_echo_n='/usr/ucb/echo -n'
79861 else
79862 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79863 as_echo_n_body='eval
79864 arg=$1;
79865 case $arg in #(
79866 *"$as_nl"*)
79867 expr "X$arg" : "X\\(.*\\)$as_nl";
79868 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79869 esac;
79870 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79872 export as_echo_n_body
79873 as_echo_n='sh -c $as_echo_n_body as_echo'
79875 export as_echo_body
79876 as_echo='sh -c $as_echo_body as_echo'
79879 # The user is always right.
79880 if test "${PATH_SEPARATOR+set}" != set; then
79881 PATH_SEPARATOR=:
79882 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79883 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79884 PATH_SEPARATOR=';'
79889 # IFS
79890 # We need space, tab and new line, in precisely that order. Quoting is
79891 # there to prevent editors from complaining about space-tab.
79892 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79893 # splitting by setting IFS to empty value.)
79894 IFS=" "" $as_nl"
79896 # Find who we are. Look in the path if we contain no directory separator.
79897 case $0 in #((
79898 *[\\/]* ) as_myself=$0 ;;
79899 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79900 for as_dir in $PATH
79902 IFS=$as_save_IFS
79903 test -z "$as_dir" && as_dir=.
79904 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79905 done
79906 IFS=$as_save_IFS
79909 esac
79910 # We did not find ourselves, most probably we were run as `sh COMMAND'
79911 # in which case we are not to be found in the path.
79912 if test "x$as_myself" = x; then
79913 as_myself=$0
79915 if test ! -f "$as_myself"; then
79916 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79917 exit 1
79920 # Unset variables that we do not need and which cause bugs (e.g. in
79921 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79922 # suppresses any "Segmentation fault" message there. '((' could
79923 # trigger a bug in pdksh 5.2.14.
79924 for as_var in BASH_ENV ENV MAIL MAILPATH
79925 do eval test x\${$as_var+set} = xset \
79926 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79927 done
79928 PS1='$ '
79929 PS2='> '
79930 PS4='+ '
79932 # NLS nuisances.
79933 LC_ALL=C
79934 export LC_ALL
79935 LANGUAGE=C
79936 export LANGUAGE
79938 # CDPATH.
79939 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79942 # as_fn_error ERROR [LINENO LOG_FD]
79943 # ---------------------------------
79944 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79945 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79946 # script with status $?, using 1 if that was 0.
79947 as_fn_error ()
79949 as_status=$?; test $as_status -eq 0 && as_status=1
79950 if test "$3"; then
79951 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79952 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
79954 $as_echo "$as_me: error: $1" >&2
79955 as_fn_exit $as_status
79956 } # as_fn_error
79959 # as_fn_set_status STATUS
79960 # -----------------------
79961 # Set $? to STATUS, without forking.
79962 as_fn_set_status ()
79964 return $1
79965 } # as_fn_set_status
79967 # as_fn_exit STATUS
79968 # -----------------
79969 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79970 as_fn_exit ()
79972 set +e
79973 as_fn_set_status $1
79974 exit $1
79975 } # as_fn_exit
79977 # as_fn_unset VAR
79978 # ---------------
79979 # Portably unset VAR.
79980 as_fn_unset ()
79982 { eval $1=; unset $1;}
79984 as_unset=as_fn_unset
79985 # as_fn_append VAR VALUE
79986 # ----------------------
79987 # Append the text in VALUE to the end of the definition contained in VAR. Take
79988 # advantage of any shell optimizations that allow amortized linear growth over
79989 # repeated appends, instead of the typical quadratic growth present in naive
79990 # implementations.
79991 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79992 eval 'as_fn_append ()
79994 eval $1+=\$2
79996 else
79997 as_fn_append ()
79999 eval $1=\$$1\$2
80001 fi # as_fn_append
80003 # as_fn_arith ARG...
80004 # ------------------
80005 # Perform arithmetic evaluation on the ARGs, and store the result in the
80006 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80007 # must be portable across $(()) and expr.
80008 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80009 eval 'as_fn_arith ()
80011 as_val=$(( $* ))
80013 else
80014 as_fn_arith ()
80016 as_val=`expr "$@" || test $? -eq 1`
80018 fi # as_fn_arith
80021 if expr a : '\(a\)' >/dev/null 2>&1 &&
80022 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80023 as_expr=expr
80024 else
80025 as_expr=false
80028 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80029 as_basename=basename
80030 else
80031 as_basename=false
80034 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80035 as_dirname=dirname
80036 else
80037 as_dirname=false
80040 as_me=`$as_basename -- "$0" ||
80041 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80042 X"$0" : 'X\(//\)$' \| \
80043 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80044 $as_echo X/"$0" |
80045 sed '/^.*\/\([^/][^/]*\)\/*$/{
80046 s//\1/
80049 /^X\/\(\/\/\)$/{
80050 s//\1/
80053 /^X\/\(\/\).*/{
80054 s//\1/
80057 s/.*/./; q'`
80059 # Avoid depending upon Character Ranges.
80060 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80061 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80062 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80063 as_cr_digits='0123456789'
80064 as_cr_alnum=$as_cr_Letters$as_cr_digits
80066 ECHO_C= ECHO_N= ECHO_T=
80067 case `echo -n x` in #(((((
80068 -n*)
80069 case `echo 'xy\c'` in
80070 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80071 xy) ECHO_C='\c';;
80072 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80073 ECHO_T=' ';;
80074 esac;;
80076 ECHO_N='-n';;
80077 esac
80079 rm -f conf$$ conf$$.exe conf$$.file
80080 if test -d conf$$.dir; then
80081 rm -f conf$$.dir/conf$$.file
80082 else
80083 rm -f conf$$.dir
80084 mkdir conf$$.dir 2>/dev/null
80086 if (echo >conf$$.file) 2>/dev/null; then
80087 if ln -s conf$$.file conf$$ 2>/dev/null; then
80088 as_ln_s='ln -s'
80089 # ... but there are two gotchas:
80090 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80091 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80092 # In both cases, we have to default to `cp -p'.
80093 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80094 as_ln_s='cp -p'
80095 elif ln conf$$.file conf$$ 2>/dev/null; then
80096 as_ln_s=ln
80097 else
80098 as_ln_s='cp -p'
80100 else
80101 as_ln_s='cp -p'
80103 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80104 rmdir conf$$.dir 2>/dev/null
80107 # as_fn_mkdir_p
80108 # -------------
80109 # Create "$as_dir" as a directory, including parents if necessary.
80110 as_fn_mkdir_p ()
80113 case $as_dir in #(
80114 -*) as_dir=./$as_dir;;
80115 esac
80116 test -d "$as_dir" || eval $as_mkdir_p || {
80117 as_dirs=
80118 while :; do
80119 case $as_dir in #(
80120 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80121 *) as_qdir=$as_dir;;
80122 esac
80123 as_dirs="'$as_qdir' $as_dirs"
80124 as_dir=`$as_dirname -- "$as_dir" ||
80125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80126 X"$as_dir" : 'X\(//\)[^/]' \| \
80127 X"$as_dir" : 'X\(//\)$' \| \
80128 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80129 $as_echo X"$as_dir" |
80130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80131 s//\1/
80134 /^X\(\/\/\)[^/].*/{
80135 s//\1/
80138 /^X\(\/\/\)$/{
80139 s//\1/
80142 /^X\(\/\).*/{
80143 s//\1/
80146 s/.*/./; q'`
80147 test -d "$as_dir" && break
80148 done
80149 test -z "$as_dirs" || eval "mkdir $as_dirs"
80150 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80153 } # as_fn_mkdir_p
80154 if mkdir -p . 2>/dev/null; then
80155 as_mkdir_p='mkdir -p "$as_dir"'
80156 else
80157 test -d ./-p && rmdir ./-p
80158 as_mkdir_p=false
80161 if test -x / >/dev/null 2>&1; then
80162 as_test_x='test -x'
80163 else
80164 if ls -dL / >/dev/null 2>&1; then
80165 as_ls_L_option=L
80166 else
80167 as_ls_L_option=
80169 as_test_x='
80170 eval sh -c '\''
80171 if test -d "$1"; then
80172 test -d "$1/.";
80173 else
80174 case $1 in #(
80175 -*)set "./$1";;
80176 esac;
80177 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80178 ???[sx]*):;;*)false;;esac;fi
80179 '\'' sh
80182 as_executable_p=$as_test_x
80184 # Sed expression to map a string onto a valid CPP name.
80185 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80187 # Sed expression to map a string onto a valid variable name.
80188 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80191 exec 6>&1
80192 ## ----------------------------------- ##
80193 ## Main body of $CONFIG_STATUS script. ##
80194 ## ----------------------------------- ##
80195 _ASEOF
80196 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80199 # Save the log message, to keep $0 and so on meaningful, and to
80200 # report actual input values of CONFIG_FILES etc. instead of their
80201 # values after options handling.
80202 ac_log="
80203 This file was extended by package-unused $as_me version-unused, which was
80204 generated by GNU Autoconf 2.64. Invocation command line was
80206 CONFIG_FILES = $CONFIG_FILES
80207 CONFIG_HEADERS = $CONFIG_HEADERS
80208 CONFIG_LINKS = $CONFIG_LINKS
80209 CONFIG_COMMANDS = $CONFIG_COMMANDS
80210 $ $0 $@
80212 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80215 _ACEOF
80217 case $ac_config_files in *"
80218 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80219 esac
80221 case $ac_config_headers in *"
80222 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80223 esac
80226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80227 # Files that config.status was made for.
80228 config_files="$ac_config_files"
80229 config_headers="$ac_config_headers"
80230 config_commands="$ac_config_commands"
80232 _ACEOF
80234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80235 ac_cs_usage="\
80236 \`$as_me' instantiates files and other configuration actions
80237 from templates according to the current configuration. Unless the files
80238 and actions are specified as TAGs, all are instantiated by default.
80240 Usage: $0 [OPTION]... [TAG]...
80242 -h, --help print this help, then exit
80243 -V, --version print version number and configuration settings, then exit
80244 -q, --quiet, --silent
80245 do not print progress messages
80246 -d, --debug don't remove temporary files
80247 --recheck update $as_me by reconfiguring in the same conditions
80248 --file=FILE[:TEMPLATE]
80249 instantiate the configuration file FILE
80250 --header=FILE[:TEMPLATE]
80251 instantiate the configuration header FILE
80253 Configuration files:
80254 $config_files
80256 Configuration headers:
80257 $config_headers
80259 Configuration commands:
80260 $config_commands
80262 Report bugs to the package provider."
80264 _ACEOF
80265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80266 ac_cs_version="\\
80267 package-unused config.status version-unused
80268 configured by $0, generated by GNU Autoconf 2.64,
80269 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80271 Copyright (C) 2009 Free Software Foundation, Inc.
80272 This config.status script is free software; the Free Software Foundation
80273 gives unlimited permission to copy, distribute and modify it."
80275 ac_pwd='$ac_pwd'
80276 srcdir='$srcdir'
80277 INSTALL='$INSTALL'
80278 MKDIR_P='$MKDIR_P'
80279 AWK='$AWK'
80280 test -n "\$AWK" || AWK=awk
80281 _ACEOF
80283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80284 # The default lists apply if the user does not specify any file.
80285 ac_need_defaults=:
80286 while test $# != 0
80288 case $1 in
80289 --*=*)
80290 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80291 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80292 ac_shift=:
80295 ac_option=$1
80296 ac_optarg=$2
80297 ac_shift=shift
80299 esac
80301 case $ac_option in
80302 # Handling of the options.
80303 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80304 ac_cs_recheck=: ;;
80305 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80306 $as_echo "$ac_cs_version"; exit ;;
80307 --debug | --debu | --deb | --de | --d | -d )
80308 debug=: ;;
80309 --file | --fil | --fi | --f )
80310 $ac_shift
80311 case $ac_optarg in
80312 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80313 esac
80314 as_fn_append CONFIG_FILES " '$ac_optarg'"
80315 ac_need_defaults=false;;
80316 --header | --heade | --head | --hea )
80317 $ac_shift
80318 case $ac_optarg in
80319 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80320 esac
80321 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80322 ac_need_defaults=false;;
80323 --he | --h)
80324 # Conflict between --help and --header
80325 as_fn_error "ambiguous option: \`$1'
80326 Try \`$0 --help' for more information.";;
80327 --help | --hel | -h )
80328 $as_echo "$ac_cs_usage"; exit ;;
80329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80330 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80331 ac_cs_silent=: ;;
80333 # This is an error.
80334 -*) as_fn_error "unrecognized option: \`$1'
80335 Try \`$0 --help' for more information." ;;
80337 *) as_fn_append ac_config_targets " $1"
80338 ac_need_defaults=false ;;
80340 esac
80341 shift
80342 done
80344 ac_configure_extra_args=
80346 if $ac_cs_silent; then
80347 exec 6>/dev/null
80348 ac_configure_extra_args="$ac_configure_extra_args --silent"
80351 _ACEOF
80352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80353 if \$ac_cs_recheck; then
80354 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80355 shift
80356 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80357 CONFIG_SHELL='$SHELL'
80358 export CONFIG_SHELL
80359 exec "\$@"
80362 _ACEOF
80363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80364 exec 5>>config.log
80366 echo
80367 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80368 ## Running $as_me. ##
80369 _ASBOX
80370 $as_echo "$ac_log"
80371 } >&5
80373 _ACEOF
80374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80376 # INIT-COMMANDS
80379 srcdir="$srcdir"
80380 host="$host"
80381 target="$target"
80382 with_multisubdir="$with_multisubdir"
80383 with_multisrctop="$with_multisrctop"
80384 with_target_subdir="$with_target_subdir"
80385 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80386 multi_basedir="$multi_basedir"
80387 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80388 CC="$CC"
80389 CXX="$CXX"
80390 GFORTRAN="$GFORTRAN"
80391 GCJ="$GCJ"
80394 # The HP-UX ksh and POSIX shell print the target directory to stdout
80395 # if CDPATH is set.
80396 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80398 sed_quote_subst='$sed_quote_subst'
80399 double_quote_subst='$double_quote_subst'
80400 delay_variable_subst='$delay_variable_subst'
80401 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80402 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80403 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80404 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80405 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80406 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80407 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80408 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80409 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80410 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80411 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80412 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80413 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80414 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80415 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80416 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80417 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80418 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80419 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80420 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80421 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80422 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80423 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80424 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80425 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80426 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80427 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80428 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80429 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80430 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80431 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80432 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80433 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80434 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80435 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80436 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80437 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80438 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80439 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80440 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80441 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80442 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80443 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80444 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80445 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80446 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80447 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80448 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80449 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"`'
80450 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80451 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80452 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80453 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80454 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80455 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80456 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80457 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80458 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80459 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80460 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80461 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80462 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80463 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80464 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80465 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80466 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80467 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80468 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80469 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80470 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80471 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80472 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80473 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80474 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80475 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80476 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80477 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80478 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80479 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80480 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80481 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80482 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80483 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80484 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80485 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80486 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80487 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80488 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80489 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80490 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80491 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80492 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80493 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80494 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80495 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80496 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80497 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80498 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80499 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80500 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80501 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80502 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80503 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80504 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80505 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80506 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80507 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80508 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80509 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80510 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80511 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80512 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80513 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80514 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80515 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80516 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80517 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80518 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80519 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80520 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80521 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80522 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80523 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80524 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80525 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80526 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80527 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80528 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80529 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80530 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80531 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80532 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80533 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80534 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80535 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80536 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80537 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80538 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80539 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80540 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80541 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80542 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80543 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80544 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80545 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80546 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80547 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80548 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80549 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80550 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80551 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80552 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80553 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80554 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80555 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80556 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80557 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80558 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80559 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80560 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80561 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80562 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80563 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80564 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80565 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80566 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80567 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80568 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80569 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80570 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80571 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80572 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80573 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80574 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80575 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80577 LTCC='$LTCC'
80578 LTCFLAGS='$LTCFLAGS'
80579 compiler='$compiler_DEFAULT'
80581 # A function that is used when there is no print builtin or printf.
80582 func_fallback_echo ()
80584 eval 'cat <<_LTECHO_EOF
80586 _LTECHO_EOF'
80589 # Quote evaled strings.
80590 for var in SHELL \
80591 ECHO \
80592 SED \
80593 GREP \
80594 EGREP \
80595 FGREP \
80596 LD \
80597 NM \
80598 LN_S \
80599 lt_SP2NL \
80600 lt_NL2SP \
80601 reload_flag \
80602 OBJDUMP \
80603 deplibs_check_method \
80604 file_magic_cmd \
80605 AR \
80606 AR_FLAGS \
80607 STRIP \
80608 RANLIB \
80609 CC \
80610 CFLAGS \
80611 compiler \
80612 lt_cv_sys_global_symbol_pipe \
80613 lt_cv_sys_global_symbol_to_cdecl \
80614 lt_cv_sys_global_symbol_to_c_name_address \
80615 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80616 lt_prog_compiler_no_builtin_flag \
80617 lt_prog_compiler_wl \
80618 lt_prog_compiler_pic \
80619 lt_prog_compiler_static \
80620 lt_cv_prog_compiler_c_o \
80621 need_locks \
80622 DSYMUTIL \
80623 NMEDIT \
80624 LIPO \
80625 OTOOL \
80626 OTOOL64 \
80627 shrext_cmds \
80628 export_dynamic_flag_spec \
80629 whole_archive_flag_spec \
80630 compiler_needs_object \
80631 with_gnu_ld \
80632 allow_undefined_flag \
80633 no_undefined_flag \
80634 hardcode_libdir_flag_spec \
80635 hardcode_libdir_flag_spec_ld \
80636 hardcode_libdir_separator \
80637 fix_srcfile_path \
80638 exclude_expsyms \
80639 include_expsyms \
80640 file_list_spec \
80641 variables_saved_for_relink \
80642 libname_spec \
80643 library_names_spec \
80644 soname_spec \
80645 install_override_mode \
80646 finish_eval \
80647 old_striplib \
80648 striplib \
80649 compiler_lib_search_dirs \
80650 predep_objects \
80651 postdep_objects \
80652 predeps \
80653 postdeps \
80654 compiler_lib_search_path \
80655 LD_CXX \
80656 reload_flag_CXX \
80657 compiler_CXX \
80658 lt_prog_compiler_no_builtin_flag_CXX \
80659 lt_prog_compiler_wl_CXX \
80660 lt_prog_compiler_pic_CXX \
80661 lt_prog_compiler_static_CXX \
80662 lt_cv_prog_compiler_c_o_CXX \
80663 export_dynamic_flag_spec_CXX \
80664 whole_archive_flag_spec_CXX \
80665 compiler_needs_object_CXX \
80666 with_gnu_ld_CXX \
80667 allow_undefined_flag_CXX \
80668 no_undefined_flag_CXX \
80669 hardcode_libdir_flag_spec_CXX \
80670 hardcode_libdir_flag_spec_ld_CXX \
80671 hardcode_libdir_separator_CXX \
80672 fix_srcfile_path_CXX \
80673 exclude_expsyms_CXX \
80674 include_expsyms_CXX \
80675 file_list_spec_CXX \
80676 compiler_lib_search_dirs_CXX \
80677 predep_objects_CXX \
80678 postdep_objects_CXX \
80679 predeps_CXX \
80680 postdeps_CXX \
80681 compiler_lib_search_path_CXX; do
80682 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80683 *[\\\\\\\`\\"\\\$]*)
80684 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80687 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80689 esac
80690 done
80692 # Double-quote double-evaled strings.
80693 for var in reload_cmds \
80694 old_postinstall_cmds \
80695 old_postuninstall_cmds \
80696 old_archive_cmds \
80697 extract_expsyms_cmds \
80698 old_archive_from_new_cmds \
80699 old_archive_from_expsyms_cmds \
80700 archive_cmds \
80701 archive_expsym_cmds \
80702 module_cmds \
80703 module_expsym_cmds \
80704 export_symbols_cmds \
80705 prelink_cmds \
80706 postinstall_cmds \
80707 postuninstall_cmds \
80708 finish_cmds \
80709 sys_lib_search_path_spec \
80710 sys_lib_dlsearch_path_spec \
80711 reload_cmds_CXX \
80712 old_archive_cmds_CXX \
80713 old_archive_from_new_cmds_CXX \
80714 old_archive_from_expsyms_cmds_CXX \
80715 archive_cmds_CXX \
80716 archive_expsym_cmds_CXX \
80717 module_cmds_CXX \
80718 module_expsym_cmds_CXX \
80719 export_symbols_cmds_CXX \
80720 prelink_cmds_CXX; do
80721 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80722 *[\\\\\\\`\\"\\\$]*)
80723 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80726 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80728 esac
80729 done
80731 ac_aux_dir='$ac_aux_dir'
80732 xsi_shell='$xsi_shell'
80733 lt_shell_append='$lt_shell_append'
80735 # See if we are running on zsh, and set the options which allow our
80736 # commands through without removal of \ escapes INIT.
80737 if test -n "\${ZSH_VERSION+set}" ; then
80738 setopt NO_GLOB_SUBST
80742 PACKAGE='$PACKAGE'
80743 VERSION='$VERSION'
80744 TIMESTAMP='$TIMESTAMP'
80745 RM='$RM'
80746 ofile='$ofile'
80753 GCC="$GCC"
80754 CC="$CC"
80755 acx_cv_header_stdint="$acx_cv_header_stdint"
80756 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80757 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80758 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80759 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80760 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80761 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80762 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80763 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80764 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80765 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80766 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80767 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80768 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80771 _ACEOF
80773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80775 # Handling of arguments.
80776 for ac_config_target in $ac_config_targets
80778 case $ac_config_target in
80779 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80780 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80781 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80782 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80783 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80784 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80785 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80786 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80787 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80788 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80789 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80790 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80791 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80792 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80793 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80794 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80795 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80796 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80798 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80799 esac
80800 done
80803 # If the user did not use the arguments to specify the items to instantiate,
80804 # then the envvar interface is used. Set only those that are not.
80805 # We use the long form for the default assignment because of an extremely
80806 # bizarre bug on SunOS 4.1.3.
80807 if $ac_need_defaults; then
80808 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80809 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80810 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80813 # Have a temporary directory for convenience. Make it in the build tree
80814 # simply because there is no reason against having it here, and in addition,
80815 # creating and moving files from /tmp can sometimes cause problems.
80816 # Hook for its removal unless debugging.
80817 # Note that there is a small window in which the directory will not be cleaned:
80818 # after its creation but before its name has been assigned to `$tmp'.
80819 $debug ||
80821 tmp=
80822 trap 'exit_status=$?
80823 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80825 trap 'as_fn_exit 1' 1 2 13 15
80827 # Create a (secure) tmp directory for tmp files.
80830 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80831 test -n "$tmp" && test -d "$tmp"
80832 } ||
80834 tmp=./conf$$-$RANDOM
80835 (umask 077 && mkdir "$tmp")
80836 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80838 # Set up the scripts for CONFIG_FILES section.
80839 # No need to generate them if there are no CONFIG_FILES.
80840 # This happens for instance with `./config.status config.h'.
80841 if test -n "$CONFIG_FILES"; then
80844 ac_cr=`echo X | tr X '\015'`
80845 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80846 # But we know of no other shell where ac_cr would be empty at this
80847 # point, so we can use a bashism as a fallback.
80848 if test "x$ac_cr" = x; then
80849 eval ac_cr=\$\'\\r\'
80851 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80852 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80853 ac_cs_awk_cr='\r'
80854 else
80855 ac_cs_awk_cr=$ac_cr
80858 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80859 _ACEOF
80863 echo "cat >conf$$subs.awk <<_ACEOF" &&
80864 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80865 echo "_ACEOF"
80866 } >conf$$subs.sh ||
80867 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80868 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80869 ac_delim='%!_!# '
80870 for ac_last_try in false false false false false :; do
80871 . ./conf$$subs.sh ||
80872 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80874 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80875 if test $ac_delim_n = $ac_delim_num; then
80876 break
80877 elif $ac_last_try; then
80878 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80879 else
80880 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80882 done
80883 rm -f conf$$subs.sh
80885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80886 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80887 _ACEOF
80888 sed -n '
80890 s/^/S["/; s/!.*/"]=/
80893 s/^[^!]*!//
80894 :repl
80895 t repl
80896 s/'"$ac_delim"'$//
80897 t delim
80900 s/\(.\{148\}\).*/\1/
80901 t more1
80902 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80905 b repl
80906 :more1
80907 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80910 s/.\{148\}//
80911 t nl
80912 :delim
80914 s/\(.\{148\}\).*/\1/
80915 t more2
80916 s/["\\]/\\&/g; s/^/"/; s/$/"/
80919 :more2
80920 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80923 s/.\{148\}//
80924 t delim
80925 ' <conf$$subs.awk | sed '
80926 /^[^""]/{
80928 s/\n//
80930 ' >>$CONFIG_STATUS || ac_write_fail=1
80931 rm -f conf$$subs.awk
80932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80933 _ACAWK
80934 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80935 for (key in S) S_is_set[key] = 1
80936 FS = "\a"
80940 line = $ 0
80941 nfields = split(line, field, "@")
80942 substed = 0
80943 len = length(field[1])
80944 for (i = 2; i < nfields; i++) {
80945 key = field[i]
80946 keylen = length(key)
80947 if (S_is_set[key]) {
80948 value = S[key]
80949 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80950 len += length(value) + length(field[++i])
80951 substed = 1
80952 } else
80953 len += 1 + keylen
80956 print line
80959 _ACAWK
80960 _ACEOF
80961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80962 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80963 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80964 else
80966 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
80967 || as_fn_error "could not setup config files machinery" "$LINENO" 5
80968 _ACEOF
80970 # VPATH may cause trouble with some makes, so we remove $(srcdir),
80971 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
80972 # trailing colons and then remove the whole line if VPATH becomes empty
80973 # (actually we leave an empty line to preserve line numbers).
80974 if test "x$srcdir" = x.; then
80975 ac_vpsub='/^[ ]*VPATH[ ]*=/{
80976 s/:*\$(srcdir):*/:/
80977 s/:*\${srcdir}:*/:/
80978 s/:*@srcdir@:*/:/
80979 s/^\([^=]*=[ ]*\):*/\1/
80980 s/:*$//
80981 s/^[^=]*=[ ]*$//
80985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80986 fi # test -n "$CONFIG_FILES"
80988 # Set up the scripts for CONFIG_HEADERS section.
80989 # No need to generate them if there are no CONFIG_HEADERS.
80990 # This happens for instance with `./config.status Makefile'.
80991 if test -n "$CONFIG_HEADERS"; then
80992 cat >"$tmp/defines.awk" <<\_ACAWK ||
80993 BEGIN {
80994 _ACEOF
80996 # Transform confdefs.h into an awk script `defines.awk', embedded as
80997 # here-document in config.status, that substitutes the proper values into
80998 # config.h.in to produce config.h.
81000 # Create a delimiter string that does not exist in confdefs.h, to ease
81001 # handling of long lines.
81002 ac_delim='%!_!# '
81003 for ac_last_try in false false :; do
81004 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81005 if test -z "$ac_t"; then
81006 break
81007 elif $ac_last_try; then
81008 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81009 else
81010 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81012 done
81014 # For the awk script, D is an array of macro values keyed by name,
81015 # likewise P contains macro parameters if any. Preserve backslash
81016 # newline sequences.
81018 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81019 sed -n '
81020 s/.\{148\}/&'"$ac_delim"'/g
81021 t rset
81022 :rset
81023 s/^[ ]*#[ ]*define[ ][ ]*/ /
81024 t def
81026 :def
81027 s/\\$//
81028 t bsnl
81029 s/["\\]/\\&/g
81030 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81031 D["\1"]=" \3"/p
81032 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81034 :bsnl
81035 s/["\\]/\\&/g
81036 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81037 D["\1"]=" \3\\\\\\n"\\/p
81038 t cont
81039 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81040 t cont
81042 :cont
81044 s/.\{148\}/&'"$ac_delim"'/g
81045 t clear
81046 :clear
81047 s/\\$//
81048 t bsnlc
81049 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81051 :bsnlc
81052 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81053 b cont
81054 ' <confdefs.h | sed '
81055 s/'"$ac_delim"'/"\\\
81056 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81059 for (key in D) D_is_set[key] = 1
81060 FS = "\a"
81062 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81063 line = \$ 0
81064 split(line, arg, " ")
81065 if (arg[1] == "#") {
81066 defundef = arg[2]
81067 mac1 = arg[3]
81068 } else {
81069 defundef = substr(arg[1], 2)
81070 mac1 = arg[2]
81072 split(mac1, mac2, "(") #)
81073 macro = mac2[1]
81074 prefix = substr(line, 1, index(line, defundef) - 1)
81075 if (D_is_set[macro]) {
81076 # Preserve the white space surrounding the "#".
81077 print prefix "define", macro P[macro] D[macro]
81078 next
81079 } else {
81080 # Replace #undef with comments. This is necessary, for example,
81081 # in the case of _POSIX_SOURCE, which is predefined and required
81082 # on some systems where configure will not decide to define it.
81083 if (defundef == "undef") {
81084 print "/*", prefix defundef, macro, "*/"
81085 next
81089 { print }
81090 _ACAWK
81091 _ACEOF
81092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81093 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81094 fi # test -n "$CONFIG_HEADERS"
81097 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81098 shift
81099 for ac_tag
81101 case $ac_tag in
81102 :[FHLC]) ac_mode=$ac_tag; continue;;
81103 esac
81104 case $ac_mode$ac_tag in
81105 :[FHL]*:*);;
81106 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81107 :[FH]-) ac_tag=-:-;;
81108 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81109 esac
81110 ac_save_IFS=$IFS
81111 IFS=:
81112 set x $ac_tag
81113 IFS=$ac_save_IFS
81114 shift
81115 ac_file=$1
81116 shift
81118 case $ac_mode in
81119 :L) ac_source=$1;;
81120 :[FH])
81121 ac_file_inputs=
81122 for ac_f
81124 case $ac_f in
81125 -) ac_f="$tmp/stdin";;
81126 *) # Look for the file first in the build tree, then in the source tree
81127 # (if the path is not absolute). The absolute path cannot be DOS-style,
81128 # because $ac_f cannot contain `:'.
81129 test -f "$ac_f" ||
81130 case $ac_f in
81131 [\\/$]*) false;;
81132 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81133 esac ||
81134 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81135 esac
81136 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81137 as_fn_append ac_file_inputs " '$ac_f'"
81138 done
81140 # Let's still pretend it is `configure' which instantiates (i.e., don't
81141 # use $as_me), people would be surprised to read:
81142 # /* config.h. Generated by config.status. */
81143 configure_input='Generated from '`
81144 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81145 `' by configure.'
81146 if test x"$ac_file" != x-; then
81147 configure_input="$ac_file. $configure_input"
81148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81149 $as_echo "$as_me: creating $ac_file" >&6;}
81151 # Neutralize special characters interpreted by sed in replacement strings.
81152 case $configure_input in #(
81153 *\&* | *\|* | *\\* )
81154 ac_sed_conf_input=`$as_echo "$configure_input" |
81155 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81156 *) ac_sed_conf_input=$configure_input;;
81157 esac
81159 case $ac_tag in
81160 *:-:* | *:-) cat >"$tmp/stdin" \
81161 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81162 esac
81164 esac
81166 ac_dir=`$as_dirname -- "$ac_file" ||
81167 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81168 X"$ac_file" : 'X\(//\)[^/]' \| \
81169 X"$ac_file" : 'X\(//\)$' \| \
81170 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81171 $as_echo X"$ac_file" |
81172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81173 s//\1/
81176 /^X\(\/\/\)[^/].*/{
81177 s//\1/
81180 /^X\(\/\/\)$/{
81181 s//\1/
81184 /^X\(\/\).*/{
81185 s//\1/
81188 s/.*/./; q'`
81189 as_dir="$ac_dir"; as_fn_mkdir_p
81190 ac_builddir=.
81192 case "$ac_dir" in
81193 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81195 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81196 # A ".." for each directory in $ac_dir_suffix.
81197 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81198 case $ac_top_builddir_sub in
81199 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81200 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81201 esac ;;
81202 esac
81203 ac_abs_top_builddir=$ac_pwd
81204 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81205 # for backward compatibility:
81206 ac_top_builddir=$ac_top_build_prefix
81208 case $srcdir in
81209 .) # We are building in place.
81210 ac_srcdir=.
81211 ac_top_srcdir=$ac_top_builddir_sub
81212 ac_abs_top_srcdir=$ac_pwd ;;
81213 [\\/]* | ?:[\\/]* ) # Absolute name.
81214 ac_srcdir=$srcdir$ac_dir_suffix;
81215 ac_top_srcdir=$srcdir
81216 ac_abs_top_srcdir=$srcdir ;;
81217 *) # Relative name.
81218 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81219 ac_top_srcdir=$ac_top_build_prefix$srcdir
81220 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81221 esac
81222 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81225 case $ac_mode in
81228 # CONFIG_FILE
81231 case $INSTALL in
81232 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81233 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81234 esac
81235 ac_MKDIR_P=$MKDIR_P
81236 case $MKDIR_P in
81237 [\\/$]* | ?:[\\/]* ) ;;
81238 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81239 esac
81240 _ACEOF
81242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81243 # If the template does not know about datarootdir, expand it.
81244 # FIXME: This hack should be removed a few years after 2.60.
81245 ac_datarootdir_hack=; ac_datarootdir_seen=
81246 ac_sed_dataroot='
81247 /datarootdir/ {
81251 /@datadir@/p
81252 /@docdir@/p
81253 /@infodir@/p
81254 /@localedir@/p
81255 /@mandir@/p'
81256 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81257 *datarootdir*) ac_datarootdir_seen=yes;;
81258 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81260 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81261 _ACEOF
81262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81263 ac_datarootdir_hack='
81264 s&@datadir@&$datadir&g
81265 s&@docdir@&$docdir&g
81266 s&@infodir@&$infodir&g
81267 s&@localedir@&$localedir&g
81268 s&@mandir@&$mandir&g
81269 s&\\\${datarootdir}&$datarootdir&g' ;;
81270 esac
81271 _ACEOF
81273 # Neutralize VPATH when `$srcdir' = `.'.
81274 # Shell code in configure.ac might set extrasub.
81275 # FIXME: do we really want to maintain this feature?
81276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81277 ac_sed_extra="$ac_vpsub
81278 $extrasub
81279 _ACEOF
81280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81282 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81283 s|@configure_input@|$ac_sed_conf_input|;t t
81284 s&@top_builddir@&$ac_top_builddir_sub&;t t
81285 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81286 s&@srcdir@&$ac_srcdir&;t t
81287 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81288 s&@top_srcdir@&$ac_top_srcdir&;t t
81289 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81290 s&@builddir@&$ac_builddir&;t t
81291 s&@abs_builddir@&$ac_abs_builddir&;t t
81292 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81293 s&@INSTALL@&$ac_INSTALL&;t t
81294 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81295 $ac_datarootdir_hack
81297 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81298 || as_fn_error "could not create $ac_file" "$LINENO" 5
81300 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81301 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81302 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81304 which seems to be undefined. Please make sure it is defined." >&5
81305 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81306 which seems to be undefined. Please make sure it is defined." >&2;}
81308 rm -f "$tmp/stdin"
81309 case $ac_file in
81310 -) cat "$tmp/out" && rm -f "$tmp/out";;
81311 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81312 esac \
81313 || as_fn_error "could not create $ac_file" "$LINENO" 5
81317 # CONFIG_HEADER
81319 if test x"$ac_file" != x-; then
81321 $as_echo "/* $configure_input */" \
81322 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81323 } >"$tmp/config.h" \
81324 || as_fn_error "could not create $ac_file" "$LINENO" 5
81325 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81326 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81327 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81328 else
81329 rm -f "$ac_file"
81330 mv "$tmp/config.h" "$ac_file" \
81331 || as_fn_error "could not create $ac_file" "$LINENO" 5
81333 else
81334 $as_echo "/* $configure_input */" \
81335 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81336 || as_fn_error "could not create -" "$LINENO" 5
81338 # Compute "$ac_file"'s index in $config_headers.
81339 _am_arg="$ac_file"
81340 _am_stamp_count=1
81341 for _am_header in $config_headers :; do
81342 case $_am_header in
81343 $_am_arg | $_am_arg:* )
81344 break ;;
81346 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81347 esac
81348 done
81349 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81350 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81351 X"$_am_arg" : 'X\(//\)[^/]' \| \
81352 X"$_am_arg" : 'X\(//\)$' \| \
81353 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81354 $as_echo X"$_am_arg" |
81355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81356 s//\1/
81359 /^X\(\/\/\)[^/].*/{
81360 s//\1/
81363 /^X\(\/\/\)$/{
81364 s//\1/
81367 /^X\(\/\).*/{
81368 s//\1/
81371 s/.*/./; q'`/stamp-h$_am_stamp_count
81374 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81375 $as_echo "$as_me: executing $ac_file commands" >&6;}
81377 esac
81380 case $ac_file$ac_mode in
81381 "default-1":C)
81382 # Only add multilib support code if we just rebuilt the top-level
81383 # Makefile.
81384 case " $CONFIG_FILES " in
81385 *" Makefile "*)
81386 ac_file=Makefile . ${multi_basedir}/config-ml.in
81388 esac ;;
81389 "libtool":C)
81391 # See if we are running on zsh, and set the options which allow our
81392 # commands through without removal of \ escapes.
81393 if test -n "${ZSH_VERSION+set}" ; then
81394 setopt NO_GLOB_SUBST
81397 cfgfile="${ofile}T"
81398 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81399 $RM "$cfgfile"
81401 cat <<_LT_EOF >> "$cfgfile"
81402 #! $SHELL
81404 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81405 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81406 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81407 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81409 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81410 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81411 # Written by Gordon Matzigkeit, 1996
81413 # This file is part of GNU Libtool.
81415 # GNU Libtool is free software; you can redistribute it and/or
81416 # modify it under the terms of the GNU General Public License as
81417 # published by the Free Software Foundation; either version 2 of
81418 # the License, or (at your option) any later version.
81420 # As a special exception to the GNU General Public License,
81421 # if you distribute this file as part of a program or library that
81422 # is built using GNU Libtool, you may include this file under the
81423 # same distribution terms that you use for the rest of that program.
81425 # GNU Libtool is distributed in the hope that it will be useful,
81426 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81427 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81428 # GNU General Public License for more details.
81430 # You should have received a copy of the GNU General Public License
81431 # along with GNU Libtool; see the file COPYING. If not, a copy
81432 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81433 # obtained by writing to the Free Software Foundation, Inc.,
81434 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81437 # The names of the tagged configurations supported by this script.
81438 available_tags="CXX "
81440 # ### BEGIN LIBTOOL CONFIG
81442 # Which release of libtool.m4 was used?
81443 macro_version=$macro_version
81444 macro_revision=$macro_revision
81446 # Whether or not to build shared libraries.
81447 build_libtool_libs=$enable_shared
81449 # Whether or not to build static libraries.
81450 build_old_libs=$enable_static
81452 # What type of objects to build.
81453 pic_mode=$pic_mode
81455 # Whether or not to optimize for fast installation.
81456 fast_install=$enable_fast_install
81458 # Shell to use when invoking shell scripts.
81459 SHELL=$lt_SHELL
81461 # An echo program that protects backslashes.
81462 ECHO=$lt_ECHO
81464 # The host system.
81465 host_alias=$host_alias
81466 host=$host
81467 host_os=$host_os
81469 # The build system.
81470 build_alias=$build_alias
81471 build=$build
81472 build_os=$build_os
81474 # A sed program that does not truncate output.
81475 SED=$lt_SED
81477 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81478 Xsed="\$SED -e 1s/^X//"
81480 # A grep program that handles long lines.
81481 GREP=$lt_GREP
81483 # An ERE matcher.
81484 EGREP=$lt_EGREP
81486 # A literal string matcher.
81487 FGREP=$lt_FGREP
81489 # A BSD- or MS-compatible name lister.
81490 NM=$lt_NM
81492 # Whether we need soft or hard links.
81493 LN_S=$lt_LN_S
81495 # What is the maximum length of a command?
81496 max_cmd_len=$max_cmd_len
81498 # Object file suffix (normally "o").
81499 objext=$ac_objext
81501 # Executable file suffix (normally "").
81502 exeext=$exeext
81504 # whether the shell understands "unset".
81505 lt_unset=$lt_unset
81507 # turn spaces into newlines.
81508 SP2NL=$lt_lt_SP2NL
81510 # turn newlines into spaces.
81511 NL2SP=$lt_lt_NL2SP
81513 # An object symbol dumper.
81514 OBJDUMP=$lt_OBJDUMP
81516 # Method to check whether dependent libraries are shared objects.
81517 deplibs_check_method=$lt_deplibs_check_method
81519 # Command to use when deplibs_check_method == "file_magic".
81520 file_magic_cmd=$lt_file_magic_cmd
81522 # The archiver.
81523 AR=$lt_AR
81524 AR_FLAGS=$lt_AR_FLAGS
81526 # A symbol stripping program.
81527 STRIP=$lt_STRIP
81529 # Commands used to install an old-style archive.
81530 RANLIB=$lt_RANLIB
81531 old_postinstall_cmds=$lt_old_postinstall_cmds
81532 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81534 # Whether to use a lock for old archive extraction.
81535 lock_old_archive_extraction=$lock_old_archive_extraction
81537 # A C compiler.
81538 LTCC=$lt_CC
81540 # LTCC compiler flags.
81541 LTCFLAGS=$lt_CFLAGS
81543 # Take the output of nm and produce a listing of raw symbols and C names.
81544 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81546 # Transform the output of nm in a proper C declaration.
81547 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81549 # Transform the output of nm in a C name address pair.
81550 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81552 # Transform the output of nm in a C name address pair when lib prefix is needed.
81553 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81555 # The name of the directory that contains temporary libtool files.
81556 objdir=$objdir
81558 # Used to examine libraries when file_magic_cmd begins with "file".
81559 MAGIC_CMD=$MAGIC_CMD
81561 # Must we lock files when doing compilation?
81562 need_locks=$lt_need_locks
81564 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81565 DSYMUTIL=$lt_DSYMUTIL
81567 # Tool to change global to local symbols on Mac OS X.
81568 NMEDIT=$lt_NMEDIT
81570 # Tool to manipulate fat objects and archives on Mac OS X.
81571 LIPO=$lt_LIPO
81573 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81574 OTOOL=$lt_OTOOL
81576 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81577 OTOOL64=$lt_OTOOL64
81579 # Old archive suffix (normally "a").
81580 libext=$libext
81582 # Shared library suffix (normally ".so").
81583 shrext_cmds=$lt_shrext_cmds
81585 # The commands to extract the exported symbol list from a shared archive.
81586 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81588 # Variables whose values should be saved in libtool wrapper scripts and
81589 # restored at link time.
81590 variables_saved_for_relink=$lt_variables_saved_for_relink
81592 # Do we need the "lib" prefix for modules?
81593 need_lib_prefix=$need_lib_prefix
81595 # Do we need a version for libraries?
81596 need_version=$need_version
81598 # Library versioning type.
81599 version_type=$version_type
81601 # Shared library runtime path variable.
81602 runpath_var=$runpath_var
81604 # Shared library path variable.
81605 shlibpath_var=$shlibpath_var
81607 # Is shlibpath searched before the hard-coded library search path?
81608 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81610 # Format of library name prefix.
81611 libname_spec=$lt_libname_spec
81613 # List of archive names. First name is the real one, the rest are links.
81614 # The last name is the one that the linker finds with -lNAME
81615 library_names_spec=$lt_library_names_spec
81617 # The coded name of the library, if different from the real name.
81618 soname_spec=$lt_soname_spec
81620 # Permission mode override for installation of shared libraries.
81621 install_override_mode=$lt_install_override_mode
81623 # Command to use after installation of a shared archive.
81624 postinstall_cmds=$lt_postinstall_cmds
81626 # Command to use after uninstallation of a shared archive.
81627 postuninstall_cmds=$lt_postuninstall_cmds
81629 # Commands used to finish a libtool library installation in a directory.
81630 finish_cmds=$lt_finish_cmds
81632 # As "finish_cmds", except a single script fragment to be evaled but
81633 # not shown.
81634 finish_eval=$lt_finish_eval
81636 # Whether we should hardcode library paths into libraries.
81637 hardcode_into_libs=$hardcode_into_libs
81639 # Compile-time system search path for libraries.
81640 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81642 # Run-time system search path for libraries.
81643 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81645 # Whether dlopen is supported.
81646 dlopen_support=$enable_dlopen
81648 # Whether dlopen of programs is supported.
81649 dlopen_self=$enable_dlopen_self
81651 # Whether dlopen of statically linked programs is supported.
81652 dlopen_self_static=$enable_dlopen_self_static
81654 # Commands to strip libraries.
81655 old_striplib=$lt_old_striplib
81656 striplib=$lt_striplib
81659 # The linker used to build libraries.
81660 LD=$lt_LD
81662 # How to create reloadable object files.
81663 reload_flag=$lt_reload_flag
81664 reload_cmds=$lt_reload_cmds
81666 # Commands used to build an old-style archive.
81667 old_archive_cmds=$lt_old_archive_cmds
81669 # A language specific compiler.
81670 CC=$lt_compiler
81672 # Is the compiler the GNU compiler?
81673 with_gcc=$GCC
81675 # Compiler flag to turn off builtin functions.
81676 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81678 # How to pass a linker flag through the compiler.
81679 wl=$lt_lt_prog_compiler_wl
81681 # Additional compiler flags for building library objects.
81682 pic_flag=$lt_lt_prog_compiler_pic
81684 # Compiler flag to prevent dynamic linking.
81685 link_static_flag=$lt_lt_prog_compiler_static
81687 # Does compiler simultaneously support -c and -o options?
81688 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81690 # Whether or not to add -lc for building shared libraries.
81691 build_libtool_need_lc=$archive_cmds_need_lc
81693 # Whether or not to disallow shared libs when runtime libs are static.
81694 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81696 # Compiler flag to allow reflexive dlopens.
81697 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81699 # Compiler flag to generate shared objects directly from archives.
81700 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81702 # Whether the compiler copes with passing no objects directly.
81703 compiler_needs_object=$lt_compiler_needs_object
81705 # Create an old-style archive from a shared archive.
81706 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81708 # Create a temporary old-style archive to link instead of a shared archive.
81709 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81711 # Commands used to build a shared archive.
81712 archive_cmds=$lt_archive_cmds
81713 archive_expsym_cmds=$lt_archive_expsym_cmds
81715 # Commands used to build a loadable module if different from building
81716 # a shared archive.
81717 module_cmds=$lt_module_cmds
81718 module_expsym_cmds=$lt_module_expsym_cmds
81720 # Whether we are building with GNU ld or not.
81721 with_gnu_ld=$lt_with_gnu_ld
81723 # Flag that allows shared libraries with undefined symbols to be built.
81724 allow_undefined_flag=$lt_allow_undefined_flag
81726 # Flag that enforces no undefined symbols.
81727 no_undefined_flag=$lt_no_undefined_flag
81729 # Flag to hardcode \$libdir into a binary during linking.
81730 # This must work even if \$libdir does not exist
81731 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81733 # If ld is used when linking, flag to hardcode \$libdir into a binary
81734 # during linking. This must work even if \$libdir does not exist.
81735 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81737 # Whether we need a single "-rpath" flag with a separated argument.
81738 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81740 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81741 # DIR into the resulting binary.
81742 hardcode_direct=$hardcode_direct
81744 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81745 # DIR into the resulting binary and the resulting library dependency is
81746 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81747 # library is relocated.
81748 hardcode_direct_absolute=$hardcode_direct_absolute
81750 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81751 # into the resulting binary.
81752 hardcode_minus_L=$hardcode_minus_L
81754 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81755 # into the resulting binary.
81756 hardcode_shlibpath_var=$hardcode_shlibpath_var
81758 # Set to "yes" if building a shared library automatically hardcodes DIR
81759 # into the library and all subsequent libraries and executables linked
81760 # against it.
81761 hardcode_automatic=$hardcode_automatic
81763 # Set to yes if linker adds runtime paths of dependent libraries
81764 # to runtime path list.
81765 inherit_rpath=$inherit_rpath
81767 # Whether libtool must link a program against all its dependency libraries.
81768 link_all_deplibs=$link_all_deplibs
81770 # Fix the shell variable \$srcfile for the compiler.
81771 fix_srcfile_path=$lt_fix_srcfile_path
81773 # Set to "yes" if exported symbols are required.
81774 always_export_symbols=$always_export_symbols
81776 # The commands to list exported symbols.
81777 export_symbols_cmds=$lt_export_symbols_cmds
81779 # Symbols that should not be listed in the preloaded symbols.
81780 exclude_expsyms=$lt_exclude_expsyms
81782 # Symbols that must always be exported.
81783 include_expsyms=$lt_include_expsyms
81785 # Commands necessary for linking programs (against libraries) with templates.
81786 prelink_cmds=$lt_prelink_cmds
81788 # Specify filename containing input files.
81789 file_list_spec=$lt_file_list_spec
81791 # How to hardcode a shared library path into an executable.
81792 hardcode_action=$hardcode_action
81794 # The directories searched by this compiler when creating a shared library.
81795 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81797 # Dependencies to place before and after the objects being linked to
81798 # create a shared library.
81799 predep_objects=$lt_predep_objects
81800 postdep_objects=$lt_postdep_objects
81801 predeps=$lt_predeps
81802 postdeps=$lt_postdeps
81804 # The library search path used internally by the compiler when linking
81805 # a shared library.
81806 compiler_lib_search_path=$lt_compiler_lib_search_path
81808 # ### END LIBTOOL CONFIG
81810 _LT_EOF
81812 case $host_os in
81813 aix3*)
81814 cat <<\_LT_EOF >> "$cfgfile"
81815 # AIX sometimes has problems with the GCC collect2 program. For some
81816 # reason, if we set the COLLECT_NAMES environment variable, the problems
81817 # vanish in a puff of smoke.
81818 if test "X${COLLECT_NAMES+set}" != Xset; then
81819 COLLECT_NAMES=
81820 export COLLECT_NAMES
81822 _LT_EOF
81824 esac
81827 ltmain="$ac_aux_dir/ltmain.sh"
81830 # We use sed instead of cat because bash on DJGPP gets confused if
81831 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81832 # text mode, it properly converts lines to CR/LF. This bash problem
81833 # is reportedly fixed, but why not run on old versions too?
81834 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81835 || (rm -f "$cfgfile"; exit 1)
81837 case $xsi_shell in
81838 yes)
81839 cat << \_LT_EOF >> "$cfgfile"
81841 # func_dirname file append nondir_replacement
81842 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81843 # otherwise set result to NONDIR_REPLACEMENT.
81844 func_dirname ()
81846 case ${1} in
81847 */*) func_dirname_result="${1%/*}${2}" ;;
81848 * ) func_dirname_result="${3}" ;;
81849 esac
81852 # func_basename file
81853 func_basename ()
81855 func_basename_result="${1##*/}"
81858 # func_dirname_and_basename file append nondir_replacement
81859 # perform func_basename and func_dirname in a single function
81860 # call:
81861 # dirname: Compute the dirname of FILE. If nonempty,
81862 # add APPEND to the result, otherwise set result
81863 # to NONDIR_REPLACEMENT.
81864 # value returned in "$func_dirname_result"
81865 # basename: Compute filename of FILE.
81866 # value retuned in "$func_basename_result"
81867 # Implementation must be kept synchronized with func_dirname
81868 # and func_basename. For efficiency, we do not delegate to
81869 # those functions but instead duplicate the functionality here.
81870 func_dirname_and_basename ()
81872 case ${1} in
81873 */*) func_dirname_result="${1%/*}${2}" ;;
81874 * ) func_dirname_result="${3}" ;;
81875 esac
81876 func_basename_result="${1##*/}"
81879 # func_stripname prefix suffix name
81880 # strip PREFIX and SUFFIX off of NAME.
81881 # PREFIX and SUFFIX must not contain globbing or regex special
81882 # characters, hashes, percent signs, but SUFFIX may contain a leading
81883 # dot (in which case that matches only a dot).
81884 func_stripname ()
81886 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81887 # positional parameters, so assign one to ordinary parameter first.
81888 func_stripname_result=${3}
81889 func_stripname_result=${func_stripname_result#"${1}"}
81890 func_stripname_result=${func_stripname_result%"${2}"}
81893 # func_opt_split
81894 func_opt_split ()
81896 func_opt_split_opt=${1%%=*}
81897 func_opt_split_arg=${1#*=}
81900 # func_lo2o object
81901 func_lo2o ()
81903 case ${1} in
81904 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81905 *) func_lo2o_result=${1} ;;
81906 esac
81909 # func_xform libobj-or-source
81910 func_xform ()
81912 func_xform_result=${1%.*}.lo
81915 # func_arith arithmetic-term...
81916 func_arith ()
81918 func_arith_result=$(( $* ))
81921 # func_len string
81922 # STRING may not start with a hyphen.
81923 func_len ()
81925 func_len_result=${#1}
81928 _LT_EOF
81930 *) # Bourne compatible functions.
81931 cat << \_LT_EOF >> "$cfgfile"
81933 # func_dirname file append nondir_replacement
81934 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81935 # otherwise set result to NONDIR_REPLACEMENT.
81936 func_dirname ()
81938 # Extract subdirectory from the argument.
81939 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81940 if test "X$func_dirname_result" = "X${1}"; then
81941 func_dirname_result="${3}"
81942 else
81943 func_dirname_result="$func_dirname_result${2}"
81947 # func_basename file
81948 func_basename ()
81950 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81954 # func_stripname prefix suffix name
81955 # strip PREFIX and SUFFIX off of NAME.
81956 # PREFIX and SUFFIX must not contain globbing or regex special
81957 # characters, hashes, percent signs, but SUFFIX may contain a leading
81958 # dot (in which case that matches only a dot).
81959 # func_strip_suffix prefix name
81960 func_stripname ()
81962 case ${2} in
81963 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81964 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81965 esac
81968 # sed scripts:
81969 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81970 my_sed_long_arg='1s/^-[^=]*=//'
81972 # func_opt_split
81973 func_opt_split ()
81975 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81976 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81979 # func_lo2o object
81980 func_lo2o ()
81982 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81985 # func_xform libobj-or-source
81986 func_xform ()
81988 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81991 # func_arith arithmetic-term...
81992 func_arith ()
81994 func_arith_result=`expr "$@"`
81997 # func_len string
81998 # STRING may not start with a hyphen.
81999 func_len ()
82001 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82004 _LT_EOF
82005 esac
82007 case $lt_shell_append in
82008 yes)
82009 cat << \_LT_EOF >> "$cfgfile"
82011 # func_append var value
82012 # Append VALUE to the end of shell variable VAR.
82013 func_append ()
82015 eval "$1+=\$2"
82017 _LT_EOF
82020 cat << \_LT_EOF >> "$cfgfile"
82022 # func_append var value
82023 # Append VALUE to the end of shell variable VAR.
82024 func_append ()
82026 eval "$1=\$$1\$2"
82029 _LT_EOF
82031 esac
82034 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82035 || (rm -f "$cfgfile"; exit 1)
82037 mv -f "$cfgfile" "$ofile" ||
82038 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82039 chmod +x "$ofile"
82042 cat <<_LT_EOF >> "$ofile"
82044 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82046 # The linker used to build libraries.
82047 LD=$lt_LD_CXX
82049 # How to create reloadable object files.
82050 reload_flag=$lt_reload_flag_CXX
82051 reload_cmds=$lt_reload_cmds_CXX
82053 # Commands used to build an old-style archive.
82054 old_archive_cmds=$lt_old_archive_cmds_CXX
82056 # A language specific compiler.
82057 CC=$lt_compiler_CXX
82059 # Is the compiler the GNU compiler?
82060 with_gcc=$GCC_CXX
82062 # Compiler flag to turn off builtin functions.
82063 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82065 # How to pass a linker flag through the compiler.
82066 wl=$lt_lt_prog_compiler_wl_CXX
82068 # Additional compiler flags for building library objects.
82069 pic_flag=$lt_lt_prog_compiler_pic_CXX
82071 # Compiler flag to prevent dynamic linking.
82072 link_static_flag=$lt_lt_prog_compiler_static_CXX
82074 # Does compiler simultaneously support -c and -o options?
82075 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82077 # Whether or not to add -lc for building shared libraries.
82078 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82080 # Whether or not to disallow shared libs when runtime libs are static.
82081 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82083 # Compiler flag to allow reflexive dlopens.
82084 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82086 # Compiler flag to generate shared objects directly from archives.
82087 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82089 # Whether the compiler copes with passing no objects directly.
82090 compiler_needs_object=$lt_compiler_needs_object_CXX
82092 # Create an old-style archive from a shared archive.
82093 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82095 # Create a temporary old-style archive to link instead of a shared archive.
82096 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82098 # Commands used to build a shared archive.
82099 archive_cmds=$lt_archive_cmds_CXX
82100 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82102 # Commands used to build a loadable module if different from building
82103 # a shared archive.
82104 module_cmds=$lt_module_cmds_CXX
82105 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82107 # Whether we are building with GNU ld or not.
82108 with_gnu_ld=$lt_with_gnu_ld_CXX
82110 # Flag that allows shared libraries with undefined symbols to be built.
82111 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82113 # Flag that enforces no undefined symbols.
82114 no_undefined_flag=$lt_no_undefined_flag_CXX
82116 # Flag to hardcode \$libdir into a binary during linking.
82117 # This must work even if \$libdir does not exist
82118 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82120 # If ld is used when linking, flag to hardcode \$libdir into a binary
82121 # during linking. This must work even if \$libdir does not exist.
82122 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82124 # Whether we need a single "-rpath" flag with a separated argument.
82125 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82127 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82128 # DIR into the resulting binary.
82129 hardcode_direct=$hardcode_direct_CXX
82131 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82132 # DIR into the resulting binary and the resulting library dependency is
82133 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82134 # library is relocated.
82135 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82137 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82138 # into the resulting binary.
82139 hardcode_minus_L=$hardcode_minus_L_CXX
82141 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82142 # into the resulting binary.
82143 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82145 # Set to "yes" if building a shared library automatically hardcodes DIR
82146 # into the library and all subsequent libraries and executables linked
82147 # against it.
82148 hardcode_automatic=$hardcode_automatic_CXX
82150 # Set to yes if linker adds runtime paths of dependent libraries
82151 # to runtime path list.
82152 inherit_rpath=$inherit_rpath_CXX
82154 # Whether libtool must link a program against all its dependency libraries.
82155 link_all_deplibs=$link_all_deplibs_CXX
82157 # Fix the shell variable \$srcfile for the compiler.
82158 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82160 # Set to "yes" if exported symbols are required.
82161 always_export_symbols=$always_export_symbols_CXX
82163 # The commands to list exported symbols.
82164 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82166 # Symbols that should not be listed in the preloaded symbols.
82167 exclude_expsyms=$lt_exclude_expsyms_CXX
82169 # Symbols that must always be exported.
82170 include_expsyms=$lt_include_expsyms_CXX
82172 # Commands necessary for linking programs (against libraries) with templates.
82173 prelink_cmds=$lt_prelink_cmds_CXX
82175 # Specify filename containing input files.
82176 file_list_spec=$lt_file_list_spec_CXX
82178 # How to hardcode a shared library path into an executable.
82179 hardcode_action=$hardcode_action_CXX
82181 # The directories searched by this compiler when creating a shared library.
82182 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82184 # Dependencies to place before and after the objects being linked to
82185 # create a shared library.
82186 predep_objects=$lt_predep_objects_CXX
82187 postdep_objects=$lt_postdep_objects_CXX
82188 predeps=$lt_predeps_CXX
82189 postdeps=$lt_postdeps_CXX
82191 # The library search path used internally by the compiler when linking
82192 # a shared library.
82193 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82195 # ### END LIBTOOL TAG CONFIG: CXX
82196 _LT_EOF
82199 "include/gstdint.h":C)
82200 if test "$GCC" = yes; then
82201 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82202 else
82203 echo "/* generated for $CC */" > tmp-stdint.h
82206 sed 's/^ *//' >> tmp-stdint.h <<EOF
82208 #ifndef GCC_GENERATED_STDINT_H
82209 #define GCC_GENERATED_STDINT_H 1
82211 #include <sys/types.h>
82214 if test "$acx_cv_header_stdint" != stdint.h; then
82215 echo "#include <stddef.h>" >> tmp-stdint.h
82217 if test "$acx_cv_header_stdint" != stddef.h; then
82218 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82221 sed 's/^ *//' >> tmp-stdint.h <<EOF
82222 /* glibc uses these symbols as guards to prevent redefinitions. */
82223 #ifdef __int8_t_defined
82224 #define _INT8_T
82225 #define _INT16_T
82226 #define _INT32_T
82227 #endif
82228 #ifdef __uint32_t_defined
82229 #define _UINT32_T
82230 #endif
82234 # ----------------- done header, emit basic int types -------------
82235 if test "$acx_cv_header_stdint" = stddef.h; then
82236 sed 's/^ *//' >> tmp-stdint.h <<EOF
82238 #ifndef _UINT8_T
82239 #define _UINT8_T
82240 #ifndef __uint8_t_defined
82241 #define __uint8_t_defined
82242 #ifndef uint8_t
82243 typedef unsigned $acx_cv_type_int8_t uint8_t;
82244 #endif
82245 #endif
82246 #endif
82248 #ifndef _UINT16_T
82249 #define _UINT16_T
82250 #ifndef __uint16_t_defined
82251 #define __uint16_t_defined
82252 #ifndef uint16_t
82253 typedef unsigned $acx_cv_type_int16_t uint16_t;
82254 #endif
82255 #endif
82256 #endif
82258 #ifndef _UINT32_T
82259 #define _UINT32_T
82260 #ifndef __uint32_t_defined
82261 #define __uint32_t_defined
82262 #ifndef uint32_t
82263 typedef unsigned $acx_cv_type_int32_t uint32_t;
82264 #endif
82265 #endif
82266 #endif
82268 #ifndef _INT8_T
82269 #define _INT8_T
82270 #ifndef __int8_t_defined
82271 #define __int8_t_defined
82272 #ifndef int8_t
82273 typedef $acx_cv_type_int8_t int8_t;
82274 #endif
82275 #endif
82276 #endif
82278 #ifndef _INT16_T
82279 #define _INT16_T
82280 #ifndef __int16_t_defined
82281 #define __int16_t_defined
82282 #ifndef int16_t
82283 typedef $acx_cv_type_int16_t int16_t;
82284 #endif
82285 #endif
82286 #endif
82288 #ifndef _INT32_T
82289 #define _INT32_T
82290 #ifndef __int32_t_defined
82291 #define __int32_t_defined
82292 #ifndef int32_t
82293 typedef $acx_cv_type_int32_t int32_t;
82294 #endif
82295 #endif
82296 #endif
82298 elif test "$ac_cv_type_u_int32_t" = yes; then
82299 sed 's/^ *//' >> tmp-stdint.h <<EOF
82301 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82302 #ifndef _INT8_T
82303 #define _INT8_T
82304 #endif
82305 #ifndef _INT16_T
82306 #define _INT16_T
82307 #endif
82308 #ifndef _INT32_T
82309 #define _INT32_T
82310 #endif
82312 #ifndef _UINT8_T
82313 #define _UINT8_T
82314 #ifndef __uint8_t_defined
82315 #define __uint8_t_defined
82316 #ifndef uint8_t
82317 typedef u_int8_t uint8_t;
82318 #endif
82319 #endif
82320 #endif
82322 #ifndef _UINT16_T
82323 #define _UINT16_T
82324 #ifndef __uint16_t_defined
82325 #define __uint16_t_defined
82326 #ifndef uint16_t
82327 typedef u_int16_t uint16_t;
82328 #endif
82329 #endif
82330 #endif
82332 #ifndef _UINT32_T
82333 #define _UINT32_T
82334 #ifndef __uint32_t_defined
82335 #define __uint32_t_defined
82336 #ifndef uint32_t
82337 typedef u_int32_t uint32_t;
82338 #endif
82339 #endif
82340 #endif
82342 else
82343 sed 's/^ *//' >> tmp-stdint.h <<EOF
82345 /* Some systems have guard macros to prevent redefinitions, define them. */
82346 #ifndef _INT8_T
82347 #define _INT8_T
82348 #endif
82349 #ifndef _INT16_T
82350 #define _INT16_T
82351 #endif
82352 #ifndef _INT32_T
82353 #define _INT32_T
82354 #endif
82355 #ifndef _UINT8_T
82356 #define _UINT8_T
82357 #endif
82358 #ifndef _UINT16_T
82359 #define _UINT16_T
82360 #endif
82361 #ifndef _UINT32_T
82362 #define _UINT32_T
82363 #endif
82367 # ------------- done basic int types, emit int64_t types ------------
82368 if test "$ac_cv_type_uint64_t" = yes; then
82369 sed 's/^ *//' >> tmp-stdint.h <<EOF
82371 /* system headers have good uint64_t and int64_t */
82372 #ifndef _INT64_T
82373 #define _INT64_T
82374 #endif
82375 #ifndef _UINT64_T
82376 #define _UINT64_T
82377 #endif
82379 elif test "$ac_cv_type_u_int64_t" = yes; then
82380 sed 's/^ *//' >> tmp-stdint.h <<EOF
82382 /* system headers have an u_int64_t (and int64_t) */
82383 #ifndef _INT64_T
82384 #define _INT64_T
82385 #endif
82386 #ifndef _UINT64_T
82387 #define _UINT64_T
82388 #ifndef __uint64_t_defined
82389 #define __uint64_t_defined
82390 #ifndef uint64_t
82391 typedef u_int64_t uint64_t;
82392 #endif
82393 #endif
82394 #endif
82396 elif test -n "$acx_cv_type_int64_t"; then
82397 sed 's/^ *//' >> tmp-stdint.h <<EOF
82399 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82400 #ifndef _INT64_T
82401 #define _INT64_T
82402 #ifndef int64_t
82403 typedef $acx_cv_type_int64_t int64_t;
82404 #endif
82405 #endif
82406 #ifndef _UINT64_T
82407 #define _UINT64_T
82408 #ifndef __uint64_t_defined
82409 #define __uint64_t_defined
82410 #ifndef uint64_t
82411 typedef unsigned $acx_cv_type_int64_t uint64_t;
82412 #endif
82413 #endif
82414 #endif
82416 else
82417 sed 's/^ *//' >> tmp-stdint.h <<EOF
82419 /* some common heuristics for int64_t, using compiler-specific tests */
82420 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82421 #ifndef _INT64_T
82422 #define _INT64_T
82423 #ifndef __int64_t_defined
82424 #ifndef int64_t
82425 typedef long long int64_t;
82426 #endif
82427 #endif
82428 #endif
82429 #ifndef _UINT64_T
82430 #define _UINT64_T
82431 #ifndef uint64_t
82432 typedef unsigned long long uint64_t;
82433 #endif
82434 #endif
82436 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82437 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82438 does not implement __extension__. But that compiler doesn't define
82439 __GNUC_MINOR__. */
82440 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82441 # define __extension__
82442 # endif
82444 # ifndef _INT64_T
82445 # define _INT64_T
82446 # ifndef int64_t
82447 __extension__ typedef long long int64_t;
82448 # endif
82449 # endif
82450 # ifndef _UINT64_T
82451 # define _UINT64_T
82452 # ifndef uint64_t
82453 __extension__ typedef unsigned long long uint64_t;
82454 # endif
82455 # endif
82457 #elif !defined __STRICT_ANSI__
82458 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82460 # ifndef _INT64_T
82461 # define _INT64_T
82462 # ifndef int64_t
82463 typedef __int64 int64_t;
82464 # endif
82465 # endif
82466 # ifndef _UINT64_T
82467 # define _UINT64_T
82468 # ifndef uint64_t
82469 typedef unsigned __int64 uint64_t;
82470 # endif
82471 # endif
82472 # endif /* compiler */
82474 #endif /* ANSI version */
82478 # ------------- done int64_t types, emit intptr types ------------
82479 if test "$ac_cv_type_uintptr_t" != yes; then
82480 sed 's/^ *//' >> tmp-stdint.h <<EOF
82482 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82483 #ifndef __uintptr_t_defined
82484 #ifndef uintptr_t
82485 typedef u$acx_cv_type_intptr_t uintptr_t;
82486 #endif
82487 #endif
82488 #ifndef __intptr_t_defined
82489 #ifndef intptr_t
82490 typedef $acx_cv_type_intptr_t intptr_t;
82491 #endif
82492 #endif
82496 # ------------- done intptr types, emit int_least types ------------
82497 if test "$ac_cv_type_int_least32_t" != yes; then
82498 sed 's/^ *//' >> tmp-stdint.h <<EOF
82500 /* Define int_least types */
82501 typedef int8_t int_least8_t;
82502 typedef int16_t int_least16_t;
82503 typedef int32_t int_least32_t;
82504 #ifdef _INT64_T
82505 typedef int64_t int_least64_t;
82506 #endif
82508 typedef uint8_t uint_least8_t;
82509 typedef uint16_t uint_least16_t;
82510 typedef uint32_t uint_least32_t;
82511 #ifdef _UINT64_T
82512 typedef uint64_t uint_least64_t;
82513 #endif
82517 # ------------- done intptr types, emit int_fast types ------------
82518 if test "$ac_cv_type_int_fast32_t" != yes; then
82519 sed 's/^ *//' >> tmp-stdint.h <<EOF
82521 /* Define int_fast types. short is often slow */
82522 typedef int8_t int_fast8_t;
82523 typedef int int_fast16_t;
82524 typedef int32_t int_fast32_t;
82525 #ifdef _INT64_T
82526 typedef int64_t int_fast64_t;
82527 #endif
82529 typedef uint8_t uint_fast8_t;
82530 typedef unsigned int uint_fast16_t;
82531 typedef uint32_t uint_fast32_t;
82532 #ifdef _UINT64_T
82533 typedef uint64_t uint_fast64_t;
82534 #endif
82538 if test "$ac_cv_type_uintmax_t" != yes; then
82539 sed 's/^ *//' >> tmp-stdint.h <<EOF
82541 /* Define intmax based on what we found */
82542 #ifndef intmax_t
82543 #ifdef _INT64_T
82544 typedef int64_t intmax_t;
82545 #else
82546 typedef long intmax_t;
82547 #endif
82548 #endif
82549 #ifndef uintmax_t
82550 #ifdef _UINT64_T
82551 typedef uint64_t uintmax_t;
82552 #else
82553 typedef unsigned long uintmax_t;
82554 #endif
82555 #endif
82559 sed 's/^ *//' >> tmp-stdint.h <<EOF
82561 #endif /* GCC_GENERATED_STDINT_H */
82564 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82565 rm -f tmp-stdint.h
82566 else
82567 mv -f tmp-stdint.h include/gstdint.h
82571 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82572 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82573 "include/Makefile":F) cat > vpsed$$ << \_EOF
82574 s!`test -f '$<' || echo '$(srcdir)/'`!!
82575 _EOF
82576 sed -f vpsed$$ $ac_file > tmp$$
82577 mv tmp$$ $ac_file
82578 rm vpsed$$
82579 echo 'MULTISUBDIR =' >> $ac_file
82580 ml_norecursion=yes
82581 . ${multi_basedir}/config-ml.in
82582 { ml_norecursion=; unset ml_norecursion;}
82584 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82585 s!`test -f '$<' || echo '$(srcdir)/'`!!
82586 _EOF
82587 sed -f vpsed$$ $ac_file > tmp$$
82588 mv tmp$$ $ac_file
82589 rm vpsed$$
82590 echo 'MULTISUBDIR =' >> $ac_file
82591 ml_norecursion=yes
82592 . ${multi_basedir}/config-ml.in
82593 { ml_norecursion=; unset ml_norecursion;}
82595 "python/Makefile":F) cat > vpsed$$ << \_EOF
82596 s!`test -f '$<' || echo '$(srcdir)/'`!!
82597 _EOF
82598 sed -f vpsed$$ $ac_file > tmp$$
82599 mv tmp$$ $ac_file
82600 rm vpsed$$
82601 echo 'MULTISUBDIR =' >> $ac_file
82602 ml_norecursion=yes
82603 . ${multi_basedir}/config-ml.in
82604 { ml_norecursion=; unset ml_norecursion;}
82606 "src/Makefile":F) cat > vpsed$$ << \_EOF
82607 s!`test -f '$<' || echo '$(srcdir)/'`!!
82608 _EOF
82609 sed -f vpsed$$ $ac_file > tmp$$
82610 mv tmp$$ $ac_file
82611 rm vpsed$$
82612 echo 'MULTISUBDIR =' >> $ac_file
82613 ml_norecursion=yes
82614 . ${multi_basedir}/config-ml.in
82615 { ml_norecursion=; unset ml_norecursion;}
82617 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82618 s!`test -f '$<' || echo '$(srcdir)/'`!!
82619 _EOF
82620 sed -f vpsed$$ $ac_file > tmp$$
82621 mv tmp$$ $ac_file
82622 rm vpsed$$
82623 echo 'MULTISUBDIR =' >> $ac_file
82624 ml_norecursion=yes
82625 . ${multi_basedir}/config-ml.in
82626 { ml_norecursion=; unset ml_norecursion;}
82628 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82629 s!`test -f '$<' || echo '$(srcdir)/'`!!
82630 _EOF
82631 sed -f vpsed$$ $ac_file > tmp$$
82632 mv tmp$$ $ac_file
82633 rm vpsed$$
82634 echo 'MULTISUBDIR =' >> $ac_file
82635 ml_norecursion=yes
82636 . ${multi_basedir}/config-ml.in
82637 { ml_norecursion=; unset ml_norecursion;}
82639 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82640 s!`test -f '$<' || echo '$(srcdir)/'`!!
82641 _EOF
82642 sed -f vpsed$$ $ac_file > tmp$$
82643 mv tmp$$ $ac_file
82644 rm vpsed$$
82645 echo 'MULTISUBDIR =' >> $ac_file
82646 ml_norecursion=yes
82647 . ${multi_basedir}/config-ml.in
82648 { ml_norecursion=; unset ml_norecursion;}
82650 "po/Makefile":F) cat > vpsed$$ << \_EOF
82651 s!`test -f '$<' || echo '$(srcdir)/'`!!
82652 _EOF
82653 sed -f vpsed$$ $ac_file > tmp$$
82654 mv tmp$$ $ac_file
82655 rm vpsed$$
82656 echo 'MULTISUBDIR =' >> $ac_file
82657 ml_norecursion=yes
82658 . ${multi_basedir}/config-ml.in
82659 { ml_norecursion=; unset ml_norecursion;}
82661 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82662 s!`test -f '$<' || echo '$(srcdir)/'`!!
82663 _EOF
82664 sed -f vpsed$$ $ac_file > tmp$$
82665 mv tmp$$ $ac_file
82666 rm vpsed$$
82667 echo 'MULTISUBDIR =' >> $ac_file
82668 ml_norecursion=yes
82669 . ${multi_basedir}/config-ml.in
82670 { ml_norecursion=; unset ml_norecursion;}
82672 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82674 esac
82675 done # for ac_tag
82678 as_fn_exit 0
82679 _ACEOF
82680 ac_clean_files=$ac_clean_files_save
82682 test $ac_write_fail = 0 ||
82683 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82686 # configure is writing to config.log, and then calls config.status.
82687 # config.status does its own redirection, appending to config.log.
82688 # Unfortunately, on DOS this fails, as config.log is still kept open
82689 # by configure, so config.status won't be able to write to it; its
82690 # output is simply discarded. So we exec the FD to /dev/null,
82691 # effectively closing config.log, so it can be properly (re)opened and
82692 # appended to by config.status. When coming back to configure, we
82693 # need to make the FD available again.
82694 if test "$no_create" != yes; then
82695 ac_cs_success=:
82696 ac_config_status_args=
82697 test "$silent" = yes &&
82698 ac_config_status_args="$ac_config_status_args --quiet"
82699 exec 5>/dev/null
82700 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82701 exec 5>>config.log
82702 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82703 # would make configure fail if this is the last instruction.
82704 $ac_cs_success || as_fn_exit $?
82706 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82708 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}